Imported GNU Classpath 0.90
[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.90.
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.90'
273 PACKAGE_STRING='GNU Classpath 0.90'
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 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 nativelibdir 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 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.90 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.90:";;
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
913 Optional Packages:
914 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
915 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
916 --with-native-libdir sets the installation directore for native libraries
917 default='${libdir}/${PACKAGE}'
918 --with-glibj-dir sets the installation directory for glibj.zip
919 default='${libdir}/${PACKAGE}'
920 --with-gnu-ld assume the C compiler uses GNU ld default=no
921 --with-pic try to use only PIC/non-PIC objects default=use both
922 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
923 --without-libiconv-prefix don't search for libiconv in includedir and libdir
924 --with-x use the X Window System
925 --with-qt4dir=DIR Qt4 installation directory used for OS-X. For other
926 systems use pkg-config.
927 --with-javah specify path or name of a javah-like program
928 --with-gcj bytecode compilation with gcj
929 --with-jikes bytecode compilation with jikes
930 --with-kjc bytecode compilation with kjc
931 --with-gcjx bytecode compilation with gcjx
932 --with-ecj bytecode compilation with ecj
933 --with-classpath specify path to a classes.zip like file
934 --with-vm-classes specify path to VM override source files
935 --with-fastjar=PATH define to use a fastjar style tool
936 --with-glibj define what to install (zip|flat|both|none|build)
937 [default=zip]
938 --with-gjdoc generate documentation using gjdoc (default is NO)
939 --with-jay Regenerate the parsers with jay must be given the
940 path to the jay executable
941
942 Some influential environment variables:
943 CC C compiler command
944 CFLAGS C compiler flags
945 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
946 nonstandard directory <lib dir>
947 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
948 headers in a nonstandard directory <include dir>
949 CPP C preprocessor
950 CXX C++ compiler command
951 CXXFLAGS C++ compiler flags
952 CXXCPP C++ preprocessor
953
954 Use these variables to override the choices made by `configure' or to help
955 it to find libraries and programs with nonstandard names/locations.
956
957 Report bugs to <classpath@gnu.org>.
958 _ACEOF
959 fi
960
961 if test "$ac_init_help" = "recursive"; then
962 # If there are subdirs, report their specific --help.
963 ac_popdir=`pwd`
964 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
965 test -d $ac_dir || continue
966 ac_builddir=.
967
968 if test "$ac_dir" != .; then
969 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
970 # A "../" for each directory in $ac_dir_suffix.
971 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
972 else
973 ac_dir_suffix= ac_top_builddir=
974 fi
975
976 case $srcdir in
977 .) # No --srcdir option. We are building in place.
978 ac_srcdir=.
979 if test -z "$ac_top_builddir"; then
980 ac_top_srcdir=.
981 else
982 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
983 fi ;;
984 [\\/]* | ?:[\\/]* ) # Absolute path.
985 ac_srcdir=$srcdir$ac_dir_suffix;
986 ac_top_srcdir=$srcdir ;;
987 *) # Relative path.
988 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
989 ac_top_srcdir=$ac_top_builddir$srcdir ;;
990 esac
991
992 # Do not use `cd foo && pwd` to compute absolute paths, because
993 # the directories may not exist.
994 case `pwd` in
995 .) ac_abs_builddir="$ac_dir";;
996 *)
997 case "$ac_dir" in
998 .) ac_abs_builddir=`pwd`;;
999 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1000 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1001 esac;;
1002 esac
1003 case $ac_abs_builddir in
1004 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1005 *)
1006 case ${ac_top_builddir}. in
1007 .) ac_abs_top_builddir=$ac_abs_builddir;;
1008 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1009 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1010 esac;;
1011 esac
1012 case $ac_abs_builddir in
1013 .) ac_abs_srcdir=$ac_srcdir;;
1014 *)
1015 case $ac_srcdir in
1016 .) ac_abs_srcdir=$ac_abs_builddir;;
1017 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1018 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1019 esac;;
1020 esac
1021 case $ac_abs_builddir in
1022 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1023 *)
1024 case $ac_top_srcdir in
1025 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1026 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1027 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1028 esac;;
1029 esac
1030
1031 cd $ac_dir
1032 # Check for guested configure; otherwise get Cygnus style configure.
1033 if test -f $ac_srcdir/configure.gnu; then
1034 echo
1035 $SHELL $ac_srcdir/configure.gnu --help=recursive
1036 elif test -f $ac_srcdir/configure; then
1037 echo
1038 $SHELL $ac_srcdir/configure --help=recursive
1039 elif test -f $ac_srcdir/configure.ac ||
1040 test -f $ac_srcdir/configure.in; then
1041 echo
1042 $ac_configure --help
1043 else
1044 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1045 fi
1046 cd "$ac_popdir"
1047 done
1048 fi
1049
1050 test -n "$ac_init_help" && exit 0
1051 if $ac_init_version; then
1052 cat <<\_ACEOF
1053 GNU Classpath configure 0.90
1054 generated by GNU Autoconf 2.59
1055
1056 Copyright (C) 2003 Free Software Foundation, Inc.
1057 This configure script is free software; the Free Software Foundation
1058 gives unlimited permission to copy, distribute and modify it.
1059 _ACEOF
1060 exit 0
1061 fi
1062 exec 5>config.log
1063 cat >&5 <<_ACEOF
1064 This file contains any messages produced by compilers while
1065 running configure, to aid debugging if configure makes a mistake.
1066
1067 It was created by GNU Classpath $as_me 0.90, which was
1068 generated by GNU Autoconf 2.59. Invocation command line was
1069
1070 $ $0 $@
1071
1072 _ACEOF
1073 {
1074 cat <<_ASUNAME
1075 ## --------- ##
1076 ## Platform. ##
1077 ## --------- ##
1078
1079 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1080 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1081 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1082 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1083 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1084
1085 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1086 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1087
1088 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1089 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1090 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1091 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1092 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1093 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1094 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1095
1096 _ASUNAME
1097
1098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1099 for as_dir in $PATH
1100 do
1101 IFS=$as_save_IFS
1102 test -z "$as_dir" && as_dir=.
1103 echo "PATH: $as_dir"
1104 done
1105
1106 } >&5
1107
1108 cat >&5 <<_ACEOF
1109
1110
1111 ## ----------- ##
1112 ## Core tests. ##
1113 ## ----------- ##
1114
1115 _ACEOF
1116
1117
1118 # Keep a trace of the command line.
1119 # Strip out --no-create and --no-recursion so they do not pile up.
1120 # Strip out --silent because we don't want to record it for future runs.
1121 # Also quote any args containing shell meta-characters.
1122 # Make two passes to allow for proper duplicate-argument suppression.
1123 ac_configure_args=
1124 ac_configure_args0=
1125 ac_configure_args1=
1126 ac_sep=
1127 ac_must_keep_next=false
1128 for ac_pass in 1 2
1129 do
1130 for ac_arg
1131 do
1132 case $ac_arg in
1133 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1134 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1135 | -silent | --silent | --silen | --sile | --sil)
1136 continue ;;
1137 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1138 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1139 esac
1140 case $ac_pass in
1141 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1142 2)
1143 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1144 if test $ac_must_keep_next = true; then
1145 ac_must_keep_next=false # Got value, back to normal.
1146 else
1147 case $ac_arg in
1148 *=* | --config-cache | -C | -disable-* | --disable-* \
1149 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1150 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1151 | -with-* | --with-* | -without-* | --without-* | --x)
1152 case "$ac_configure_args0 " in
1153 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1154 esac
1155 ;;
1156 -* ) ac_must_keep_next=true ;;
1157 esac
1158 fi
1159 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1160 # Get rid of the leading space.
1161 ac_sep=" "
1162 ;;
1163 esac
1164 done
1165 done
1166 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1167 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1168
1169 # When interrupted or exit'd, cleanup temporary files, and complete
1170 # config.log. We remove comments because anyway the quotes in there
1171 # would cause problems or look ugly.
1172 # WARNING: Be sure not to use single quotes in there, as some shells,
1173 # such as our DU 5.0 friend, will then `close' the trap.
1174 trap 'exit_status=$?
1175 # Save into config.log some information that might help in debugging.
1176 {
1177 echo
1178
1179 cat <<\_ASBOX
1180 ## ---------------- ##
1181 ## Cache variables. ##
1182 ## ---------------- ##
1183 _ASBOX
1184 echo
1185 # The following way of writing the cache mishandles newlines in values,
1186 {
1187 (set) 2>&1 |
1188 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1189 *ac_space=\ *)
1190 sed -n \
1191 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1192 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1193 ;;
1194 *)
1195 sed -n \
1196 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1197 ;;
1198 esac;
1199 }
1200 echo
1201
1202 cat <<\_ASBOX
1203 ## ----------------- ##
1204 ## Output variables. ##
1205 ## ----------------- ##
1206 _ASBOX
1207 echo
1208 for ac_var in $ac_subst_vars
1209 do
1210 eval ac_val=$`echo $ac_var`
1211 echo "$ac_var='"'"'$ac_val'"'"'"
1212 done | sort
1213 echo
1214
1215 if test -n "$ac_subst_files"; then
1216 cat <<\_ASBOX
1217 ## ------------- ##
1218 ## Output files. ##
1219 ## ------------- ##
1220 _ASBOX
1221 echo
1222 for ac_var in $ac_subst_files
1223 do
1224 eval ac_val=$`echo $ac_var`
1225 echo "$ac_var='"'"'$ac_val'"'"'"
1226 done | sort
1227 echo
1228 fi
1229
1230 if test -s confdefs.h; then
1231 cat <<\_ASBOX
1232 ## ----------- ##
1233 ## confdefs.h. ##
1234 ## ----------- ##
1235 _ASBOX
1236 echo
1237 sed "/^$/d" confdefs.h | sort
1238 echo
1239 fi
1240 test "$ac_signal" != 0 &&
1241 echo "$as_me: caught signal $ac_signal"
1242 echo "$as_me: exit $exit_status"
1243 } >&5
1244 rm -f core *.core &&
1245 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1246 exit $exit_status
1247 ' 0
1248 for ac_signal in 1 2 13 15; do
1249 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1250 done
1251 ac_signal=0
1252
1253 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1254 rm -rf conftest* confdefs.h
1255 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1256 echo >confdefs.h
1257
1258 # Predefined preprocessor variables.
1259
1260 cat >>confdefs.h <<_ACEOF
1261 #define PACKAGE_NAME "$PACKAGE_NAME"
1262 _ACEOF
1263
1264
1265 cat >>confdefs.h <<_ACEOF
1266 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1267 _ACEOF
1268
1269
1270 cat >>confdefs.h <<_ACEOF
1271 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1272 _ACEOF
1273
1274
1275 cat >>confdefs.h <<_ACEOF
1276 #define PACKAGE_STRING "$PACKAGE_STRING"
1277 _ACEOF
1278
1279
1280 cat >>confdefs.h <<_ACEOF
1281 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1282 _ACEOF
1283
1284
1285 # Let the site file select an alternate cache file if it wants to.
1286 # Prefer explicitly selected file to automatically selected ones.
1287 if test -z "$CONFIG_SITE"; then
1288 if test "x$prefix" != xNONE; then
1289 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1290 else
1291 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1292 fi
1293 fi
1294 for ac_site_file in $CONFIG_SITE; do
1295 if test -r "$ac_site_file"; then
1296 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1297 echo "$as_me: loading site script $ac_site_file" >&6;}
1298 sed 's/^/| /' "$ac_site_file" >&5
1299 . "$ac_site_file"
1300 fi
1301 done
1302
1303 if test -r "$cache_file"; then
1304 # Some versions of bash will fail to source /dev/null (special
1305 # files actually), so we avoid doing that.
1306 if test -f "$cache_file"; then
1307 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1308 echo "$as_me: loading cache $cache_file" >&6;}
1309 case $cache_file in
1310 [\\/]* | ?:[\\/]* ) . $cache_file;;
1311 *) . ./$cache_file;;
1312 esac
1313 fi
1314 else
1315 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1316 echo "$as_me: creating cache $cache_file" >&6;}
1317 >$cache_file
1318 fi
1319
1320 # Check that the precious variables saved in the cache have kept the same
1321 # value.
1322 ac_cache_corrupted=false
1323 for ac_var in `(set) 2>&1 |
1324 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1325 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1326 eval ac_new_set=\$ac_env_${ac_var}_set
1327 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1328 eval ac_new_val="\$ac_env_${ac_var}_value"
1329 case $ac_old_set,$ac_new_set in
1330 set,)
1331 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1332 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1333 ac_cache_corrupted=: ;;
1334 ,set)
1335 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1336 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1337 ac_cache_corrupted=: ;;
1338 ,);;
1339 *)
1340 if test "x$ac_old_val" != "x$ac_new_val"; then
1341 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1342 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1343 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1344 echo "$as_me: former value: $ac_old_val" >&2;}
1345 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1346 echo "$as_me: current value: $ac_new_val" >&2;}
1347 ac_cache_corrupted=:
1348 fi;;
1349 esac
1350 # Pass precious variables to config.status.
1351 if test "$ac_new_set" = set; then
1352 case $ac_new_val in
1353 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1354 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1355 *) ac_arg=$ac_var=$ac_new_val ;;
1356 esac
1357 case " $ac_configure_args " in
1358 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1359 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1360 esac
1361 fi
1362 done
1363 if $ac_cache_corrupted; then
1364 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1365 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1366 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1367 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1368 { (exit 1); exit 1; }; }
1369 fi
1370
1371 ac_ext=c
1372 ac_cpp='$CPP $CPPFLAGS'
1373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1376
1377
1378
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 ac_aux_dir=
1406 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1407 if test -f $ac_dir/install-sh; then
1408 ac_aux_dir=$ac_dir
1409 ac_install_sh="$ac_aux_dir/install-sh -c"
1410 break
1411 elif test -f $ac_dir/install.sh; then
1412 ac_aux_dir=$ac_dir
1413 ac_install_sh="$ac_aux_dir/install.sh -c"
1414 break
1415 elif test -f $ac_dir/shtool; then
1416 ac_aux_dir=$ac_dir
1417 ac_install_sh="$ac_aux_dir/shtool install -c"
1418 break
1419 fi
1420 done
1421 if test -z "$ac_aux_dir"; then
1422 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1423 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1424 { (exit 1); exit 1; }; }
1425 fi
1426 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1427 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1428 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1429
1430 # Make sure we can run config.sub.
1431 $ac_config_sub sun4 >/dev/null 2>&1 ||
1432 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1433 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1434 { (exit 1); exit 1; }; }
1435
1436 echo "$as_me:$LINENO: checking build system type" >&5
1437 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1438 if test "${ac_cv_build+set}" = set; then
1439 echo $ECHO_N "(cached) $ECHO_C" >&6
1440 else
1441 ac_cv_build_alias=$build_alias
1442 test -z "$ac_cv_build_alias" &&
1443 ac_cv_build_alias=`$ac_config_guess`
1444 test -z "$ac_cv_build_alias" &&
1445 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1446 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1447 { (exit 1); exit 1; }; }
1448 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1449 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1450 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1451 { (exit 1); exit 1; }; }
1452
1453 fi
1454 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1455 echo "${ECHO_T}$ac_cv_build" >&6
1456 build=$ac_cv_build
1457 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1458 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1459 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1460
1461
1462 echo "$as_me:$LINENO: checking host system type" >&5
1463 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1464 if test "${ac_cv_host+set}" = set; then
1465 echo $ECHO_N "(cached) $ECHO_C" >&6
1466 else
1467 ac_cv_host_alias=$host_alias
1468 test -z "$ac_cv_host_alias" &&
1469 ac_cv_host_alias=$ac_cv_build_alias
1470 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1471 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1472 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1473 { (exit 1); exit 1; }; }
1474
1475 fi
1476 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1477 echo "${ECHO_T}$ac_cv_host" >&6
1478 host=$ac_cv_host
1479 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1480 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1481 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1482
1483
1484 echo "$as_me:$LINENO: checking target system type" >&5
1485 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1486 if test "${ac_cv_target+set}" = set; then
1487 echo $ECHO_N "(cached) $ECHO_C" >&6
1488 else
1489 ac_cv_target_alias=$target_alias
1490 test "x$ac_cv_target_alias" = "x" &&
1491 ac_cv_target_alias=$ac_cv_host_alias
1492 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1493 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1494 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1495 { (exit 1); exit 1; }; }
1496
1497 fi
1498 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1499 echo "${ECHO_T}$ac_cv_target" >&6
1500 target=$ac_cv_target
1501 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1502 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1503 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1504
1505
1506 # The aliases save the names the user supplied, while $host etc.
1507 # will get canonicalized.
1508 test -n "$target_alias" &&
1509 test "$program_prefix$program_suffix$program_transform_name" = \
1510 NONENONEs,x,x, &&
1511 program_prefix=${target_alias}-
1512
1513 if expr ${target_cpu} : '.*86' > /dev/null; then target_cpu=x86; fi
1514
1515 LIBVERSION="0:0:0"
1516
1517 case "$host_os" in
1518 darwin*)
1519 cp_module=""
1520 ;;
1521 *)
1522 cp_module="-module"
1523 ;;
1524 esac
1525
1526 CLASSPATH_MODULE="${cp_module} -version-info ${LIBVERSION} -no-undefined"
1527
1528
1529
1530 am__api_version="1.9"
1531 # Find a good install program. We prefer a C program (faster),
1532 # so one script is as good as another. But avoid the broken or
1533 # incompatible versions:
1534 # SysV /etc/install, /usr/sbin/install
1535 # SunOS /usr/etc/install
1536 # IRIX /sbin/install
1537 # AIX /bin/install
1538 # AmigaOS /C/install, which installs bootblocks on floppy discs
1539 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1540 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1541 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1542 # OS/2's system install, which has a completely different semantic
1543 # ./install, which can be erroneously created by make from ./install.sh.
1544 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1545 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1546 if test -z "$INSTALL"; then
1547 if test "${ac_cv_path_install+set}" = set; then
1548 echo $ECHO_N "(cached) $ECHO_C" >&6
1549 else
1550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1551 for as_dir in $PATH
1552 do
1553 IFS=$as_save_IFS
1554 test -z "$as_dir" && as_dir=.
1555 # Account for people who put trailing slashes in PATH elements.
1556 case $as_dir/ in
1557 ./ | .// | /cC/* | \
1558 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1559 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1560 /usr/ucb/* ) ;;
1561 *)
1562 # OSF1 and SCO ODT 3.0 have their own names for install.
1563 # Don't use installbsd from OSF since it installs stuff as root
1564 # by default.
1565 for ac_prog in ginstall scoinst install; do
1566 for ac_exec_ext in '' $ac_executable_extensions; do
1567 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1568 if test $ac_prog = install &&
1569 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1570 # AIX install. It has an incompatible calling convention.
1571 :
1572 elif test $ac_prog = install &&
1573 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1574 # program-specific install script used by HP pwplus--don't use.
1575 :
1576 else
1577 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1578 break 3
1579 fi
1580 fi
1581 done
1582 done
1583 ;;
1584 esac
1585 done
1586
1587
1588 fi
1589 if test "${ac_cv_path_install+set}" = set; then
1590 INSTALL=$ac_cv_path_install
1591 else
1592 # As a last resort, use the slow shell script. We don't cache a
1593 # path for INSTALL within a source directory, because that will
1594 # break other packages using the cache if that directory is
1595 # removed, or if the path is relative.
1596 INSTALL=$ac_install_sh
1597 fi
1598 fi
1599 echo "$as_me:$LINENO: result: $INSTALL" >&5
1600 echo "${ECHO_T}$INSTALL" >&6
1601
1602 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1603 # It thinks the first close brace ends the variable substitution.
1604 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1605
1606 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1607
1608 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1609
1610 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1611 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1612 # Just in case
1613 sleep 1
1614 echo timestamp > conftest.file
1615 # Do `set' in a subshell so we don't clobber the current shell's
1616 # arguments. Must try -L first in case configure is actually a
1617 # symlink; some systems play weird games with the mod time of symlinks
1618 # (eg FreeBSD returns the mod time of the symlink's containing
1619 # directory).
1620 if (
1621 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1622 if test "$*" = "X"; then
1623 # -L didn't work.
1624 set X `ls -t $srcdir/configure conftest.file`
1625 fi
1626 rm -f conftest.file
1627 if test "$*" != "X $srcdir/configure conftest.file" \
1628 && test "$*" != "X conftest.file $srcdir/configure"; then
1629
1630 # If neither matched, then we have a broken ls. This can happen
1631 # if, for instance, CONFIG_SHELL is bash and it inherits a
1632 # broken ls alias from the environment. This has actually
1633 # happened. Such a system could not be considered "sane".
1634 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1635 alias in your environment" >&5
1636 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1637 alias in your environment" >&2;}
1638 { (exit 1); exit 1; }; }
1639 fi
1640
1641 test "$2" = conftest.file
1642 )
1643 then
1644 # Ok.
1645 :
1646 else
1647 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1648 Check your system clock" >&5
1649 echo "$as_me: error: newly created file is older than distributed files!
1650 Check your system clock" >&2;}
1651 { (exit 1); exit 1; }; }
1652 fi
1653 echo "$as_me:$LINENO: result: yes" >&5
1654 echo "${ECHO_T}yes" >&6
1655 test "$program_prefix" != NONE &&
1656 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1657 # Use a double $ so make ignores it.
1658 test "$program_suffix" != NONE &&
1659 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1660 # Double any \ or $. echo might interpret backslashes.
1661 # By default was `s,x,x', remove it if useless.
1662 cat <<\_ACEOF >conftest.sed
1663 s/[\\$]/&&/g;s/;s,x,x,$//
1664 _ACEOF
1665 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1666 rm conftest.sed
1667
1668 # expand $ac_aux_dir to an absolute path
1669 am_aux_dir=`cd $ac_aux_dir && pwd`
1670
1671 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1672 # Use eval to expand $SHELL
1673 if eval "$MISSING --run true"; then
1674 am_missing_run="$MISSING --run "
1675 else
1676 am_missing_run=
1677 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1678 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1679 fi
1680
1681 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1682 # We used to keeping the `.' as first argument, in order to
1683 # allow $(mkdir_p) to be used without argument. As in
1684 # $(mkdir_p) $(somedir)
1685 # where $(somedir) is conditionally defined. However this is wrong
1686 # for two reasons:
1687 # 1. if the package is installed by a user who cannot write `.'
1688 # make install will fail,
1689 # 2. the above comment should most certainly read
1690 # $(mkdir_p) $(DESTDIR)$(somedir)
1691 # so it does not work when $(somedir) is undefined and
1692 # $(DESTDIR) is not.
1693 # To support the latter case, we have to write
1694 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1695 # so the `.' trick is pointless.
1696 mkdir_p='mkdir -p --'
1697 else
1698 # On NextStep and OpenStep, the `mkdir' command does not
1699 # recognize any option. It will interpret all options as
1700 # directories to create, and then abort because `.' already
1701 # exists.
1702 for d in ./-p ./--version;
1703 do
1704 test -d $d && rmdir $d
1705 done
1706 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1707 if test -f "$ac_aux_dir/mkinstalldirs"; then
1708 mkdir_p='$(mkinstalldirs)'
1709 else
1710 mkdir_p='$(install_sh) -d'
1711 fi
1712 fi
1713
1714 for ac_prog in gawk mawk nawk awk
1715 do
1716 # Extract the first word of "$ac_prog", so it can be a program name with args.
1717 set dummy $ac_prog; ac_word=$2
1718 echo "$as_me:$LINENO: checking for $ac_word" >&5
1719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1720 if test "${ac_cv_prog_AWK+set}" = set; then
1721 echo $ECHO_N "(cached) $ECHO_C" >&6
1722 else
1723 if test -n "$AWK"; then
1724 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1725 else
1726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1727 for as_dir in $PATH
1728 do
1729 IFS=$as_save_IFS
1730 test -z "$as_dir" && as_dir=.
1731 for ac_exec_ext in '' $ac_executable_extensions; do
1732 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1733 ac_cv_prog_AWK="$ac_prog"
1734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1735 break 2
1736 fi
1737 done
1738 done
1739
1740 fi
1741 fi
1742 AWK=$ac_cv_prog_AWK
1743 if test -n "$AWK"; then
1744 echo "$as_me:$LINENO: result: $AWK" >&5
1745 echo "${ECHO_T}$AWK" >&6
1746 else
1747 echo "$as_me:$LINENO: result: no" >&5
1748 echo "${ECHO_T}no" >&6
1749 fi
1750
1751 test -n "$AWK" && break
1752 done
1753
1754 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1755 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1756 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1757 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1758 echo $ECHO_N "(cached) $ECHO_C" >&6
1759 else
1760 cat >conftest.make <<\_ACEOF
1761 all:
1762 @echo 'ac_maketemp="$(MAKE)"'
1763 _ACEOF
1764 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1765 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1766 if test -n "$ac_maketemp"; then
1767 eval ac_cv_prog_make_${ac_make}_set=yes
1768 else
1769 eval ac_cv_prog_make_${ac_make}_set=no
1770 fi
1771 rm -f conftest.make
1772 fi
1773 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1774 echo "$as_me:$LINENO: result: yes" >&5
1775 echo "${ECHO_T}yes" >&6
1776 SET_MAKE=
1777 else
1778 echo "$as_me:$LINENO: result: no" >&5
1779 echo "${ECHO_T}no" >&6
1780 SET_MAKE="MAKE=${MAKE-make}"
1781 fi
1782
1783 rm -rf .tst 2>/dev/null
1784 mkdir .tst 2>/dev/null
1785 if test -d .tst; then
1786 am__leading_dot=.
1787 else
1788 am__leading_dot=_
1789 fi
1790 rmdir .tst 2>/dev/null
1791
1792 # test to see if srcdir already configured
1793 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1794 test -f $srcdir/config.status; then
1795 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1796 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1797 { (exit 1); exit 1; }; }
1798 fi
1799
1800 # test whether we have cygpath
1801 if test -z "$CYGPATH_W"; then
1802 if (cygpath --version) >/dev/null 2>/dev/null; then
1803 CYGPATH_W='cygpath -w'
1804 else
1805 CYGPATH_W=echo
1806 fi
1807 fi
1808
1809
1810 # Define the identity of the package.
1811 PACKAGE='classpath'
1812 VERSION='0.90'
1813
1814
1815 cat >>confdefs.h <<_ACEOF
1816 #define PACKAGE "$PACKAGE"
1817 _ACEOF
1818
1819
1820 cat >>confdefs.h <<_ACEOF
1821 #define VERSION "$VERSION"
1822 _ACEOF
1823
1824 # Some tools Automake needs.
1825
1826 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1827
1828
1829 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1830
1831
1832 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1833
1834
1835 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1836
1837
1838 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1839
1840 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1841
1842 # Installed binaries are usually stripped using `strip' when the user
1843 # run `make install-strip'. However `strip' might not be the right
1844 # tool to use in cross-compilation environments, therefore Automake
1845 # will honor the `STRIP' environment variable to overrule this program.
1846 if test "$cross_compiling" != no; then
1847 if test -n "$ac_tool_prefix"; then
1848 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1849 set dummy ${ac_tool_prefix}strip; ac_word=$2
1850 echo "$as_me:$LINENO: checking for $ac_word" >&5
1851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1852 if test "${ac_cv_prog_STRIP+set}" = set; then
1853 echo $ECHO_N "(cached) $ECHO_C" >&6
1854 else
1855 if test -n "$STRIP"; then
1856 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1857 else
1858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1859 for as_dir in $PATH
1860 do
1861 IFS=$as_save_IFS
1862 test -z "$as_dir" && as_dir=.
1863 for ac_exec_ext in '' $ac_executable_extensions; do
1864 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1865 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1867 break 2
1868 fi
1869 done
1870 done
1871
1872 fi
1873 fi
1874 STRIP=$ac_cv_prog_STRIP
1875 if test -n "$STRIP"; then
1876 echo "$as_me:$LINENO: result: $STRIP" >&5
1877 echo "${ECHO_T}$STRIP" >&6
1878 else
1879 echo "$as_me:$LINENO: result: no" >&5
1880 echo "${ECHO_T}no" >&6
1881 fi
1882
1883 fi
1884 if test -z "$ac_cv_prog_STRIP"; then
1885 ac_ct_STRIP=$STRIP
1886 # Extract the first word of "strip", so it can be a program name with args.
1887 set dummy strip; ac_word=$2
1888 echo "$as_me:$LINENO: checking for $ac_word" >&5
1889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1890 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1891 echo $ECHO_N "(cached) $ECHO_C" >&6
1892 else
1893 if test -n "$ac_ct_STRIP"; then
1894 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1895 else
1896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1897 for as_dir in $PATH
1898 do
1899 IFS=$as_save_IFS
1900 test -z "$as_dir" && as_dir=.
1901 for ac_exec_ext in '' $ac_executable_extensions; do
1902 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1903 ac_cv_prog_ac_ct_STRIP="strip"
1904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1905 break 2
1906 fi
1907 done
1908 done
1909
1910 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1911 fi
1912 fi
1913 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1914 if test -n "$ac_ct_STRIP"; then
1915 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1916 echo "${ECHO_T}$ac_ct_STRIP" >&6
1917 else
1918 echo "$as_me:$LINENO: result: no" >&5
1919 echo "${ECHO_T}no" >&6
1920 fi
1921
1922 STRIP=$ac_ct_STRIP
1923 else
1924 STRIP="$ac_cv_prog_STRIP"
1925 fi
1926
1927 fi
1928 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1929
1930 # We need awk for the "check" target. The system "awk" is bad on
1931 # some platforms.
1932 # Always define AMTAR for backward compatibility.
1933
1934 AMTAR=${AMTAR-"${am_missing_run}tar"}
1935
1936
1937 echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
1938 echo $ECHO_N "checking how to create a ustar tar archive... $ECHO_C" >&6
1939 # Loop over all known methods to create a tar archive until one works.
1940 _am_tools='gnutar plaintar pax cpio none'
1941 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
1942 # Do not fold the above two line into one, because Tru64 sh and
1943 # Solaris sh will not grok spaces in the rhs of `-'.
1944 for _am_tool in $_am_tools
1945 do
1946 case $_am_tool in
1947 gnutar)
1948 for _am_tar in tar gnutar gtar;
1949 do
1950 { echo "$as_me:$LINENO: $_am_tar --version" >&5
1951 ($_am_tar --version) >&5 2>&5
1952 ac_status=$?
1953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1954 (exit $ac_status); } && break
1955 done
1956 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
1957 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
1958 am__untar="$_am_tar -xf -"
1959 ;;
1960 plaintar)
1961 # Must skip GNU tar: if it does not support --format= it doesn't create
1962 # ustar tarball either.
1963 (tar --version) >/dev/null 2>&1 && continue
1964 am__tar='tar chf - "$$tardir"'
1965 am__tar_='tar chf - "$tardir"'
1966 am__untar='tar xf -'
1967 ;;
1968 pax)
1969 am__tar='pax -L -x ustar -w "$$tardir"'
1970 am__tar_='pax -L -x ustar -w "$tardir"'
1971 am__untar='pax -r'
1972 ;;
1973 cpio)
1974 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
1975 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
1976 am__untar='cpio -i -H ustar -d'
1977 ;;
1978 none)
1979 am__tar=false
1980 am__tar_=false
1981 am__untar=false
1982 ;;
1983 esac
1984
1985 # If the value was cached, stop now. We just wanted to have am__tar
1986 # and am__untar set.
1987 test -n "${am_cv_prog_tar_ustar}" && break
1988
1989 # tar/untar a dummy directory, and stop if the command works
1990 rm -rf conftest.dir
1991 mkdir conftest.dir
1992 echo GrepMe > conftest.dir/file
1993 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
1994 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
1995 ac_status=$?
1996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1997 (exit $ac_status); }
1998 rm -rf conftest.dir
1999 if test -s conftest.tar; then
2000 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2001 ($am__untar <conftest.tar) >&5 2>&5
2002 ac_status=$?
2003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2004 (exit $ac_status); }
2005 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2006 fi
2007 done
2008 rm -rf conftest.dir
2009
2010 if test "${am_cv_prog_tar_ustar+set}" = set; then
2011 echo $ECHO_N "(cached) $ECHO_C" >&6
2012 else
2013 am_cv_prog_tar_ustar=$_am_tool
2014 fi
2015
2016 echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
2017 echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6
2018
2019
2020
2021
2022
2023 ac_config_headers="$ac_config_headers include/config.h"
2024
2025
2026
2027 # Check whether --enable-collections or --disable-collections was given.
2028 if test "${enable_collections+set}" = set; then
2029 enableval="$enable_collections"
2030 case x"${enableval}" in
2031 xyes) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"gnu/java/util/collections\"" ;;
2032 xno) COMPILE_COLLECTIONS=no ;;
2033 x) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"gnu/java/util/collections\"" ;;
2034 *) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"${enableval}\"" ;;
2035 esac
2036 else
2037 COMPILE_COLLECTIONS=no
2038 fi;
2039
2040
2041 if test "x${COMPILE_COLLECTIONS}" = xyes; then
2042 CREATE_COLLECTIONS_TRUE=
2043 CREATE_COLLECTIONS_FALSE='#'
2044 else
2045 CREATE_COLLECTIONS_TRUE='#'
2046 CREATE_COLLECTIONS_FALSE=
2047 fi
2048
2049
2050 # Check whether --enable-jni or --disable-jni was given.
2051 if test "${enable_jni+set}" = set; then
2052 enableval="$enable_jni"
2053 case "${enableval}" in
2054 yes) COMPILE_JNI=yes; COMPILE_JAVA=yes ;;
2055 no) COMPILE_JNI=no ;;
2056 *) COMPILE_JNI=yes; COMPILE_JAVA=yes ;;
2057 esac
2058 else
2059 COMPILE_JNI=yes
2060 fi;
2061
2062
2063 if test "x${COMPILE_JNI}" = xyes; then
2064 CREATE_JNI_LIBRARIES_TRUE=
2065 CREATE_JNI_LIBRARIES_FALSE='#'
2066 else
2067 CREATE_JNI_LIBRARIES_TRUE='#'
2068 CREATE_JNI_LIBRARIES_FALSE=
2069 fi
2070
2071
2072 # Check whether --enable-core-jni or --disable-core-jni was given.
2073 if test "${enable_core_jni+set}" = set; then
2074 enableval="$enable_core_jni"
2075 case "${enableval}" in
2076 yes) COMPILE_CORE_JNI=yes; COMPILE_JAVA=yes ;;
2077 no) COMPILE_CORE_JNI=no ;;
2078 *) COMPILE_CORE_JNI=yes; COMPILE_JAVA=yes ;;
2079 esac
2080 else
2081 COMPILE_CORE_JNI=yes
2082 fi;
2083
2084
2085 if test "x${COMPILE_CORE_JNI}" = xyes; then
2086 CREATE_CORE_JNI_LIBRARIES_TRUE=
2087 CREATE_CORE_JNI_LIBRARIES_FALSE='#'
2088 else
2089 CREATE_CORE_JNI_LIBRARIES_TRUE='#'
2090 CREATE_CORE_JNI_LIBRARIES_FALSE=
2091 fi
2092
2093
2094 # Check whether --enable-Werror or --disable-Werror was given.
2095 if test "${enable_Werror+set}" = set; then
2096 enableval="$enable_Werror"
2097 case "${enableval}" in
2098 yes) ENABLE_WERROR=yes ;;
2099 no) ENABLE_WERROR=no ;;
2100 *) ENABLE_WERROR=no ;;
2101 esac
2102 else
2103 ENABLE_WERROR=no
2104 fi;
2105
2106 # Check whether --enable-default-toolkit or --disable-default-toolkit was given.
2107 if test "${enable_default_toolkit+set}" = set; then
2108 enableval="$enable_default_toolkit"
2109
2110 fi;
2111 default_toolkit=$enable_default_toolkit
2112 if test "$default_toolkit" = ""; then
2113 default_toolkit=gnu.java.awt.peer.gtk.GtkToolkit
2114 fi
2115
2116
2117 # Check whether --enable-xmlj or --disable-xmlj was given.
2118 if test "${enable_xmlj+set}" = set; then
2119 enableval="$enable_xmlj"
2120 case "${enableval}" in
2121 yes) COMPILE_XMLJ=yes ;;
2122 no) COMPILE_XMLJ=no ;;
2123 *) COMPILE_XMLJ=no ;;
2124 esac
2125 else
2126 COMPILE_XMLJ=no
2127 fi;
2128
2129
2130 if test "x${COMPILE_XMLJ}" = xyes; then
2131 CREATE_XMLJ_LIBRARY_TRUE=
2132 CREATE_XMLJ_LIBRARY_FALSE='#'
2133 else
2134 CREATE_XMLJ_LIBRARY_TRUE='#'
2135 CREATE_XMLJ_LIBRARY_FALSE=
2136 fi
2137
2138
2139 DEPDIR="${am__leading_dot}deps"
2140
2141 ac_config_commands="$ac_config_commands depfiles"
2142
2143
2144 am_make=${MAKE-make}
2145 cat > confinc << 'END'
2146 am__doit:
2147 @echo done
2148 .PHONY: am__doit
2149 END
2150 # If we don't find an include directive, just comment out the code.
2151 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2152 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2153 am__include="#"
2154 am__quote=
2155 _am_result=none
2156 # First try GNU make style include.
2157 echo "include confinc" > confmf
2158 # We grep out `Entering directory' and `Leaving directory'
2159 # messages which can occur if `w' ends up in MAKEFLAGS.
2160 # In particular we don't look at `^make:' because GNU make might
2161 # be invoked under some other name (usually "gmake"), in which
2162 # case it prints its new name instead of `make'.
2163 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2164 am__include=include
2165 am__quote=
2166 _am_result=GNU
2167 fi
2168 # Now try BSD make style include.
2169 if test "$am__include" = "#"; then
2170 echo '.include "confinc"' > confmf
2171 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2172 am__include=.include
2173 am__quote="\""
2174 _am_result=BSD
2175 fi
2176 fi
2177
2178
2179 echo "$as_me:$LINENO: result: $_am_result" >&5
2180 echo "${ECHO_T}$_am_result" >&6
2181 rm -f confinc confmf
2182
2183 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2184 if test "${enable_dependency_tracking+set}" = set; then
2185 enableval="$enable_dependency_tracking"
2186
2187 fi;
2188 if test "x$enable_dependency_tracking" != xno; then
2189 am_depcomp="$ac_aux_dir/depcomp"
2190 AMDEPBACKSLASH='\'
2191 fi
2192
2193
2194 if test "x$enable_dependency_tracking" != xno; then
2195 AMDEP_TRUE=
2196 AMDEP_FALSE='#'
2197 else
2198 AMDEP_TRUE='#'
2199 AMDEP_FALSE=
2200 fi
2201
2202
2203
2204 ac_ext=c
2205 ac_cpp='$CPP $CPPFLAGS'
2206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2209 if test -n "$ac_tool_prefix"; then
2210 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2211 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2212 echo "$as_me:$LINENO: checking for $ac_word" >&5
2213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2214 if test "${ac_cv_prog_CC+set}" = set; then
2215 echo $ECHO_N "(cached) $ECHO_C" >&6
2216 else
2217 if test -n "$CC"; then
2218 ac_cv_prog_CC="$CC" # Let the user override the test.
2219 else
2220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2221 for as_dir in $PATH
2222 do
2223 IFS=$as_save_IFS
2224 test -z "$as_dir" && as_dir=.
2225 for ac_exec_ext in '' $ac_executable_extensions; do
2226 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2227 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2229 break 2
2230 fi
2231 done
2232 done
2233
2234 fi
2235 fi
2236 CC=$ac_cv_prog_CC
2237 if test -n "$CC"; then
2238 echo "$as_me:$LINENO: result: $CC" >&5
2239 echo "${ECHO_T}$CC" >&6
2240 else
2241 echo "$as_me:$LINENO: result: no" >&5
2242 echo "${ECHO_T}no" >&6
2243 fi
2244
2245 fi
2246 if test -z "$ac_cv_prog_CC"; then
2247 ac_ct_CC=$CC
2248 # Extract the first word of "gcc", so it can be a program name with args.
2249 set dummy gcc; ac_word=$2
2250 echo "$as_me:$LINENO: checking for $ac_word" >&5
2251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2252 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2253 echo $ECHO_N "(cached) $ECHO_C" >&6
2254 else
2255 if test -n "$ac_ct_CC"; then
2256 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2257 else
2258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2259 for as_dir in $PATH
2260 do
2261 IFS=$as_save_IFS
2262 test -z "$as_dir" && as_dir=.
2263 for ac_exec_ext in '' $ac_executable_extensions; do
2264 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2265 ac_cv_prog_ac_ct_CC="gcc"
2266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2267 break 2
2268 fi
2269 done
2270 done
2271
2272 fi
2273 fi
2274 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2275 if test -n "$ac_ct_CC"; then
2276 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2277 echo "${ECHO_T}$ac_ct_CC" >&6
2278 else
2279 echo "$as_me:$LINENO: result: no" >&5
2280 echo "${ECHO_T}no" >&6
2281 fi
2282
2283 CC=$ac_ct_CC
2284 else
2285 CC="$ac_cv_prog_CC"
2286 fi
2287
2288 if test -z "$CC"; then
2289 if test -n "$ac_tool_prefix"; then
2290 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2291 set dummy ${ac_tool_prefix}cc; ac_word=$2
2292 echo "$as_me:$LINENO: checking for $ac_word" >&5
2293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2294 if test "${ac_cv_prog_CC+set}" = set; then
2295 echo $ECHO_N "(cached) $ECHO_C" >&6
2296 else
2297 if test -n "$CC"; then
2298 ac_cv_prog_CC="$CC" # Let the user override the test.
2299 else
2300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2301 for as_dir in $PATH
2302 do
2303 IFS=$as_save_IFS
2304 test -z "$as_dir" && as_dir=.
2305 for ac_exec_ext in '' $ac_executable_extensions; do
2306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2307 ac_cv_prog_CC="${ac_tool_prefix}cc"
2308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2309 break 2
2310 fi
2311 done
2312 done
2313
2314 fi
2315 fi
2316 CC=$ac_cv_prog_CC
2317 if test -n "$CC"; then
2318 echo "$as_me:$LINENO: result: $CC" >&5
2319 echo "${ECHO_T}$CC" >&6
2320 else
2321 echo "$as_me:$LINENO: result: no" >&5
2322 echo "${ECHO_T}no" >&6
2323 fi
2324
2325 fi
2326 if test -z "$ac_cv_prog_CC"; then
2327 ac_ct_CC=$CC
2328 # Extract the first word of "cc", so it can be a program name with args.
2329 set dummy cc; ac_word=$2
2330 echo "$as_me:$LINENO: checking for $ac_word" >&5
2331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2332 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2333 echo $ECHO_N "(cached) $ECHO_C" >&6
2334 else
2335 if test -n "$ac_ct_CC"; then
2336 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2337 else
2338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2339 for as_dir in $PATH
2340 do
2341 IFS=$as_save_IFS
2342 test -z "$as_dir" && as_dir=.
2343 for ac_exec_ext in '' $ac_executable_extensions; do
2344 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2345 ac_cv_prog_ac_ct_CC="cc"
2346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2347 break 2
2348 fi
2349 done
2350 done
2351
2352 fi
2353 fi
2354 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2355 if test -n "$ac_ct_CC"; then
2356 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2357 echo "${ECHO_T}$ac_ct_CC" >&6
2358 else
2359 echo "$as_me:$LINENO: result: no" >&5
2360 echo "${ECHO_T}no" >&6
2361 fi
2362
2363 CC=$ac_ct_CC
2364 else
2365 CC="$ac_cv_prog_CC"
2366 fi
2367
2368 fi
2369 if test -z "$CC"; then
2370 # Extract the first word of "cc", so it can be a program name with args.
2371 set dummy cc; ac_word=$2
2372 echo "$as_me:$LINENO: checking for $ac_word" >&5
2373 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2374 if test "${ac_cv_prog_CC+set}" = set; then
2375 echo $ECHO_N "(cached) $ECHO_C" >&6
2376 else
2377 if test -n "$CC"; then
2378 ac_cv_prog_CC="$CC" # Let the user override the test.
2379 else
2380 ac_prog_rejected=no
2381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2382 for as_dir in $PATH
2383 do
2384 IFS=$as_save_IFS
2385 test -z "$as_dir" && as_dir=.
2386 for ac_exec_ext in '' $ac_executable_extensions; do
2387 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2388 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2389 ac_prog_rejected=yes
2390 continue
2391 fi
2392 ac_cv_prog_CC="cc"
2393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2394 break 2
2395 fi
2396 done
2397 done
2398
2399 if test $ac_prog_rejected = yes; then
2400 # We found a bogon in the path, so make sure we never use it.
2401 set dummy $ac_cv_prog_CC
2402 shift
2403 if test $# != 0; then
2404 # We chose a different compiler from the bogus one.
2405 # However, it has the same basename, so the bogon will be chosen
2406 # first if we set CC to just the basename; use the full file name.
2407 shift
2408 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2409 fi
2410 fi
2411 fi
2412 fi
2413 CC=$ac_cv_prog_CC
2414 if test -n "$CC"; then
2415 echo "$as_me:$LINENO: result: $CC" >&5
2416 echo "${ECHO_T}$CC" >&6
2417 else
2418 echo "$as_me:$LINENO: result: no" >&5
2419 echo "${ECHO_T}no" >&6
2420 fi
2421
2422 fi
2423 if test -z "$CC"; then
2424 if test -n "$ac_tool_prefix"; then
2425 for ac_prog in cl
2426 do
2427 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2428 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2429 echo "$as_me:$LINENO: checking for $ac_word" >&5
2430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2431 if test "${ac_cv_prog_CC+set}" = set; then
2432 echo $ECHO_N "(cached) $ECHO_C" >&6
2433 else
2434 if test -n "$CC"; then
2435 ac_cv_prog_CC="$CC" # Let the user override the test.
2436 else
2437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2438 for as_dir in $PATH
2439 do
2440 IFS=$as_save_IFS
2441 test -z "$as_dir" && as_dir=.
2442 for ac_exec_ext in '' $ac_executable_extensions; do
2443 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2444 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2446 break 2
2447 fi
2448 done
2449 done
2450
2451 fi
2452 fi
2453 CC=$ac_cv_prog_CC
2454 if test -n "$CC"; then
2455 echo "$as_me:$LINENO: result: $CC" >&5
2456 echo "${ECHO_T}$CC" >&6
2457 else
2458 echo "$as_me:$LINENO: result: no" >&5
2459 echo "${ECHO_T}no" >&6
2460 fi
2461
2462 test -n "$CC" && break
2463 done
2464 fi
2465 if test -z "$CC"; then
2466 ac_ct_CC=$CC
2467 for ac_prog in cl
2468 do
2469 # Extract the first word of "$ac_prog", so it can be a program name with args.
2470 set dummy $ac_prog; ac_word=$2
2471 echo "$as_me:$LINENO: checking for $ac_word" >&5
2472 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2473 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2474 echo $ECHO_N "(cached) $ECHO_C" >&6
2475 else
2476 if test -n "$ac_ct_CC"; then
2477 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2478 else
2479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2480 for as_dir in $PATH
2481 do
2482 IFS=$as_save_IFS
2483 test -z "$as_dir" && as_dir=.
2484 for ac_exec_ext in '' $ac_executable_extensions; do
2485 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2486 ac_cv_prog_ac_ct_CC="$ac_prog"
2487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2488 break 2
2489 fi
2490 done
2491 done
2492
2493 fi
2494 fi
2495 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2496 if test -n "$ac_ct_CC"; then
2497 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2498 echo "${ECHO_T}$ac_ct_CC" >&6
2499 else
2500 echo "$as_me:$LINENO: result: no" >&5
2501 echo "${ECHO_T}no" >&6
2502 fi
2503
2504 test -n "$ac_ct_CC" && break
2505 done
2506
2507 CC=$ac_ct_CC
2508 fi
2509
2510 fi
2511
2512
2513 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2514 See \`config.log' for more details." >&5
2515 echo "$as_me: error: no acceptable C compiler found in \$PATH
2516 See \`config.log' for more details." >&2;}
2517 { (exit 1); exit 1; }; }
2518
2519 # Provide some information about the compiler.
2520 echo "$as_me:$LINENO:" \
2521 "checking for C compiler version" >&5
2522 ac_compiler=`set X $ac_compile; echo $2`
2523 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2524 (eval $ac_compiler --version </dev/null >&5) 2>&5
2525 ac_status=$?
2526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2527 (exit $ac_status); }
2528 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2529 (eval $ac_compiler -v </dev/null >&5) 2>&5
2530 ac_status=$?
2531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2532 (exit $ac_status); }
2533 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2534 (eval $ac_compiler -V </dev/null >&5) 2>&5
2535 ac_status=$?
2536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2537 (exit $ac_status); }
2538
2539 cat >conftest.$ac_ext <<_ACEOF
2540 /* confdefs.h. */
2541 _ACEOF
2542 cat confdefs.h >>conftest.$ac_ext
2543 cat >>conftest.$ac_ext <<_ACEOF
2544 /* end confdefs.h. */
2545
2546 int
2547 main ()
2548 {
2549
2550 ;
2551 return 0;
2552 }
2553 _ACEOF
2554 ac_clean_files_save=$ac_clean_files
2555 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2556 # Try to create an executable without -o first, disregard a.out.
2557 # It will help us diagnose broken compilers, and finding out an intuition
2558 # of exeext.
2559 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2560 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2561 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2562 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2563 (eval $ac_link_default) 2>&5
2564 ac_status=$?
2565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2566 (exit $ac_status); }; then
2567 # Find the output, starting from the most likely. This scheme is
2568 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2569 # resort.
2570
2571 # Be careful to initialize this variable, since it used to be cached.
2572 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2573 ac_cv_exeext=
2574 # b.out is created by i960 compilers.
2575 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2576 do
2577 test -f "$ac_file" || continue
2578 case $ac_file in
2579 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2580 ;;
2581 conftest.$ac_ext )
2582 # This is the source file.
2583 ;;
2584 [ab].out )
2585 # We found the default executable, but exeext='' is most
2586 # certainly right.
2587 break;;
2588 *.* )
2589 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2590 # FIXME: I believe we export ac_cv_exeext for Libtool,
2591 # but it would be cool to find out if it's true. Does anybody
2592 # maintain Libtool? --akim.
2593 export ac_cv_exeext
2594 break;;
2595 * )
2596 break;;
2597 esac
2598 done
2599 else
2600 echo "$as_me: failed program was:" >&5
2601 sed 's/^/| /' conftest.$ac_ext >&5
2602
2603 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2604 See \`config.log' for more details." >&5
2605 echo "$as_me: error: C compiler cannot create executables
2606 See \`config.log' for more details." >&2;}
2607 { (exit 77); exit 77; }; }
2608 fi
2609
2610 ac_exeext=$ac_cv_exeext
2611 echo "$as_me:$LINENO: result: $ac_file" >&5
2612 echo "${ECHO_T}$ac_file" >&6
2613
2614 # Check the compiler produces executables we can run. If not, either
2615 # the compiler is broken, or we cross compile.
2616 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2617 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2618 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2619 # If not cross compiling, check that we can run a simple program.
2620 if test "$cross_compiling" != yes; then
2621 if { ac_try='./$ac_file'
2622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2623 (eval $ac_try) 2>&5
2624 ac_status=$?
2625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2626 (exit $ac_status); }; }; then
2627 cross_compiling=no
2628 else
2629 if test "$cross_compiling" = maybe; then
2630 cross_compiling=yes
2631 else
2632 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2633 If you meant to cross compile, use \`--host'.
2634 See \`config.log' for more details." >&5
2635 echo "$as_me: error: cannot run C compiled programs.
2636 If you meant to cross compile, use \`--host'.
2637 See \`config.log' for more details." >&2;}
2638 { (exit 1); exit 1; }; }
2639 fi
2640 fi
2641 fi
2642 echo "$as_me:$LINENO: result: yes" >&5
2643 echo "${ECHO_T}yes" >&6
2644
2645 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2646 ac_clean_files=$ac_clean_files_save
2647 # Check the compiler produces executables we can run. If not, either
2648 # the compiler is broken, or we cross compile.
2649 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2650 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2651 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2652 echo "${ECHO_T}$cross_compiling" >&6
2653
2654 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2655 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2657 (eval $ac_link) 2>&5
2658 ac_status=$?
2659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660 (exit $ac_status); }; then
2661 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2662 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2663 # work properly (i.e., refer to `conftest.exe'), while it won't with
2664 # `rm'.
2665 for ac_file in conftest.exe conftest conftest.*; do
2666 test -f "$ac_file" || continue
2667 case $ac_file in
2668 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2669 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2670 export ac_cv_exeext
2671 break;;
2672 * ) break;;
2673 esac
2674 done
2675 else
2676 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2677 See \`config.log' for more details." >&5
2678 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2679 See \`config.log' for more details." >&2;}
2680 { (exit 1); exit 1; }; }
2681 fi
2682
2683 rm -f conftest$ac_cv_exeext
2684 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2685 echo "${ECHO_T}$ac_cv_exeext" >&6
2686
2687 rm -f conftest.$ac_ext
2688 EXEEXT=$ac_cv_exeext
2689 ac_exeext=$EXEEXT
2690 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2691 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2692 if test "${ac_cv_objext+set}" = set; then
2693 echo $ECHO_N "(cached) $ECHO_C" >&6
2694 else
2695 cat >conftest.$ac_ext <<_ACEOF
2696 /* confdefs.h. */
2697 _ACEOF
2698 cat confdefs.h >>conftest.$ac_ext
2699 cat >>conftest.$ac_ext <<_ACEOF
2700 /* end confdefs.h. */
2701
2702 int
2703 main ()
2704 {
2705
2706 ;
2707 return 0;
2708 }
2709 _ACEOF
2710 rm -f conftest.o conftest.obj
2711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2712 (eval $ac_compile) 2>&5
2713 ac_status=$?
2714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2715 (exit $ac_status); }; then
2716 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2717 case $ac_file in
2718 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2719 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2720 break;;
2721 esac
2722 done
2723 else
2724 echo "$as_me: failed program was:" >&5
2725 sed 's/^/| /' conftest.$ac_ext >&5
2726
2727 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2728 See \`config.log' for more details." >&5
2729 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2730 See \`config.log' for more details." >&2;}
2731 { (exit 1); exit 1; }; }
2732 fi
2733
2734 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2735 fi
2736 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2737 echo "${ECHO_T}$ac_cv_objext" >&6
2738 OBJEXT=$ac_cv_objext
2739 ac_objext=$OBJEXT
2740 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2741 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2742 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2743 echo $ECHO_N "(cached) $ECHO_C" >&6
2744 else
2745 cat >conftest.$ac_ext <<_ACEOF
2746 /* confdefs.h. */
2747 _ACEOF
2748 cat confdefs.h >>conftest.$ac_ext
2749 cat >>conftest.$ac_ext <<_ACEOF
2750 /* end confdefs.h. */
2751
2752 int
2753 main ()
2754 {
2755 #ifndef __GNUC__
2756 choke me
2757 #endif
2758
2759 ;
2760 return 0;
2761 }
2762 _ACEOF
2763 rm -f conftest.$ac_objext
2764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2765 (eval $ac_compile) 2>conftest.er1
2766 ac_status=$?
2767 grep -v '^ *+' conftest.er1 >conftest.err
2768 rm -f conftest.er1
2769 cat conftest.err >&5
2770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771 (exit $ac_status); } &&
2772 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2774 (eval $ac_try) 2>&5
2775 ac_status=$?
2776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777 (exit $ac_status); }; } &&
2778 { ac_try='test -s conftest.$ac_objext'
2779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2780 (eval $ac_try) 2>&5
2781 ac_status=$?
2782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783 (exit $ac_status); }; }; then
2784 ac_compiler_gnu=yes
2785 else
2786 echo "$as_me: failed program was:" >&5
2787 sed 's/^/| /' conftest.$ac_ext >&5
2788
2789 ac_compiler_gnu=no
2790 fi
2791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2792 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2793
2794 fi
2795 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2796 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2797 GCC=`test $ac_compiler_gnu = yes && echo yes`
2798 ac_test_CFLAGS=${CFLAGS+set}
2799 ac_save_CFLAGS=$CFLAGS
2800 CFLAGS="-g"
2801 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2802 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2803 if test "${ac_cv_prog_cc_g+set}" = set; then
2804 echo $ECHO_N "(cached) $ECHO_C" >&6
2805 else
2806 cat >conftest.$ac_ext <<_ACEOF
2807 /* confdefs.h. */
2808 _ACEOF
2809 cat confdefs.h >>conftest.$ac_ext
2810 cat >>conftest.$ac_ext <<_ACEOF
2811 /* end confdefs.h. */
2812
2813 int
2814 main ()
2815 {
2816
2817 ;
2818 return 0;
2819 }
2820 _ACEOF
2821 rm -f conftest.$ac_objext
2822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2823 (eval $ac_compile) 2>conftest.er1
2824 ac_status=$?
2825 grep -v '^ *+' conftest.er1 >conftest.err
2826 rm -f conftest.er1
2827 cat conftest.err >&5
2828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2829 (exit $ac_status); } &&
2830 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2832 (eval $ac_try) 2>&5
2833 ac_status=$?
2834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2835 (exit $ac_status); }; } &&
2836 { ac_try='test -s conftest.$ac_objext'
2837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2838 (eval $ac_try) 2>&5
2839 ac_status=$?
2840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2841 (exit $ac_status); }; }; then
2842 ac_cv_prog_cc_g=yes
2843 else
2844 echo "$as_me: failed program was:" >&5
2845 sed 's/^/| /' conftest.$ac_ext >&5
2846
2847 ac_cv_prog_cc_g=no
2848 fi
2849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2850 fi
2851 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2852 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2853 if test "$ac_test_CFLAGS" = set; then
2854 CFLAGS=$ac_save_CFLAGS
2855 elif test $ac_cv_prog_cc_g = yes; then
2856 if test "$GCC" = yes; then
2857 CFLAGS="-g -O2"
2858 else
2859 CFLAGS="-g"
2860 fi
2861 else
2862 if test "$GCC" = yes; then
2863 CFLAGS="-O2"
2864 else
2865 CFLAGS=
2866 fi
2867 fi
2868 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2869 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2870 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2871 echo $ECHO_N "(cached) $ECHO_C" >&6
2872 else
2873 ac_cv_prog_cc_stdc=no
2874 ac_save_CC=$CC
2875 cat >conftest.$ac_ext <<_ACEOF
2876 /* confdefs.h. */
2877 _ACEOF
2878 cat confdefs.h >>conftest.$ac_ext
2879 cat >>conftest.$ac_ext <<_ACEOF
2880 /* end confdefs.h. */
2881 #include <stdarg.h>
2882 #include <stdio.h>
2883 #include <sys/types.h>
2884 #include <sys/stat.h>
2885 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2886 struct buf { int x; };
2887 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2888 static char *e (p, i)
2889 char **p;
2890 int i;
2891 {
2892 return p[i];
2893 }
2894 static char *f (char * (*g) (char **, int), char **p, ...)
2895 {
2896 char *s;
2897 va_list v;
2898 va_start (v,p);
2899 s = g (p, va_arg (v,int));
2900 va_end (v);
2901 return s;
2902 }
2903
2904 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2905 function prototypes and stuff, but not '\xHH' hex character constants.
2906 These don't provoke an error unfortunately, instead are silently treated
2907 as 'x'. The following induces an error, until -std1 is added to get
2908 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2909 array size at least. It's necessary to write '\x00'==0 to get something
2910 that's true only with -std1. */
2911 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2912
2913 int test (int i, double x);
2914 struct s1 {int (*f) (int a);};
2915 struct s2 {int (*f) (double a);};
2916 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2917 int argc;
2918 char **argv;
2919 int
2920 main ()
2921 {
2922 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2923 ;
2924 return 0;
2925 }
2926 _ACEOF
2927 # Don't try gcc -ansi; that turns off useful extensions and
2928 # breaks some systems' header files.
2929 # AIX -qlanglvl=ansi
2930 # Ultrix and OSF/1 -std1
2931 # HP-UX 10.20 and later -Ae
2932 # HP-UX older versions -Aa -D_HPUX_SOURCE
2933 # SVR4 -Xc -D__EXTENSIONS__
2934 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2935 do
2936 CC="$ac_save_CC $ac_arg"
2937 rm -f conftest.$ac_objext
2938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2939 (eval $ac_compile) 2>conftest.er1
2940 ac_status=$?
2941 grep -v '^ *+' conftest.er1 >conftest.err
2942 rm -f conftest.er1
2943 cat conftest.err >&5
2944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2945 (exit $ac_status); } &&
2946 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2948 (eval $ac_try) 2>&5
2949 ac_status=$?
2950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2951 (exit $ac_status); }; } &&
2952 { ac_try='test -s conftest.$ac_objext'
2953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2954 (eval $ac_try) 2>&5
2955 ac_status=$?
2956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2957 (exit $ac_status); }; }; then
2958 ac_cv_prog_cc_stdc=$ac_arg
2959 break
2960 else
2961 echo "$as_me: failed program was:" >&5
2962 sed 's/^/| /' conftest.$ac_ext >&5
2963
2964 fi
2965 rm -f conftest.err conftest.$ac_objext
2966 done
2967 rm -f conftest.$ac_ext conftest.$ac_objext
2968 CC=$ac_save_CC
2969
2970 fi
2971
2972 case "x$ac_cv_prog_cc_stdc" in
2973 x|xno)
2974 echo "$as_me:$LINENO: result: none needed" >&5
2975 echo "${ECHO_T}none needed" >&6 ;;
2976 *)
2977 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2978 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2979 CC="$CC $ac_cv_prog_cc_stdc" ;;
2980 esac
2981
2982 # Some people use a C++ compiler to compile C. Since we use `exit',
2983 # in C++ we need to declare it. In case someone uses the same compiler
2984 # for both compiling C and C++ we need to have the C++ compiler decide
2985 # the declaration of exit, since it's the most demanding environment.
2986 cat >conftest.$ac_ext <<_ACEOF
2987 #ifndef __cplusplus
2988 choke me
2989 #endif
2990 _ACEOF
2991 rm -f conftest.$ac_objext
2992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2993 (eval $ac_compile) 2>conftest.er1
2994 ac_status=$?
2995 grep -v '^ *+' conftest.er1 >conftest.err
2996 rm -f conftest.er1
2997 cat conftest.err >&5
2998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2999 (exit $ac_status); } &&
3000 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3002 (eval $ac_try) 2>&5
3003 ac_status=$?
3004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3005 (exit $ac_status); }; } &&
3006 { ac_try='test -s conftest.$ac_objext'
3007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3008 (eval $ac_try) 2>&5
3009 ac_status=$?
3010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3011 (exit $ac_status); }; }; then
3012 for ac_declaration in \
3013 '' \
3014 'extern "C" void std::exit (int) throw (); using std::exit;' \
3015 'extern "C" void std::exit (int); using std::exit;' \
3016 'extern "C" void exit (int) throw ();' \
3017 'extern "C" void exit (int);' \
3018 'void exit (int);'
3019 do
3020 cat >conftest.$ac_ext <<_ACEOF
3021 /* confdefs.h. */
3022 _ACEOF
3023 cat confdefs.h >>conftest.$ac_ext
3024 cat >>conftest.$ac_ext <<_ACEOF
3025 /* end confdefs.h. */
3026 $ac_declaration
3027 #include <stdlib.h>
3028 int
3029 main ()
3030 {
3031 exit (42);
3032 ;
3033 return 0;
3034 }
3035 _ACEOF
3036 rm -f conftest.$ac_objext
3037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3038 (eval $ac_compile) 2>conftest.er1
3039 ac_status=$?
3040 grep -v '^ *+' conftest.er1 >conftest.err
3041 rm -f conftest.er1
3042 cat conftest.err >&5
3043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3044 (exit $ac_status); } &&
3045 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3047 (eval $ac_try) 2>&5
3048 ac_status=$?
3049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050 (exit $ac_status); }; } &&
3051 { ac_try='test -s conftest.$ac_objext'
3052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3053 (eval $ac_try) 2>&5
3054 ac_status=$?
3055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3056 (exit $ac_status); }; }; then
3057 :
3058 else
3059 echo "$as_me: failed program was:" >&5
3060 sed 's/^/| /' conftest.$ac_ext >&5
3061
3062 continue
3063 fi
3064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3065 cat >conftest.$ac_ext <<_ACEOF
3066 /* confdefs.h. */
3067 _ACEOF
3068 cat confdefs.h >>conftest.$ac_ext
3069 cat >>conftest.$ac_ext <<_ACEOF
3070 /* end confdefs.h. */
3071 $ac_declaration
3072 int
3073 main ()
3074 {
3075 exit (42);
3076 ;
3077 return 0;
3078 }
3079 _ACEOF
3080 rm -f conftest.$ac_objext
3081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3082 (eval $ac_compile) 2>conftest.er1
3083 ac_status=$?
3084 grep -v '^ *+' conftest.er1 >conftest.err
3085 rm -f conftest.er1
3086 cat conftest.err >&5
3087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088 (exit $ac_status); } &&
3089 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3091 (eval $ac_try) 2>&5
3092 ac_status=$?
3093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3094 (exit $ac_status); }; } &&
3095 { ac_try='test -s conftest.$ac_objext'
3096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3097 (eval $ac_try) 2>&5
3098 ac_status=$?
3099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3100 (exit $ac_status); }; }; then
3101 break
3102 else
3103 echo "$as_me: failed program was:" >&5
3104 sed 's/^/| /' conftest.$ac_ext >&5
3105
3106 fi
3107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3108 done
3109 rm -f conftest*
3110 if test -n "$ac_declaration"; then
3111 echo '#ifdef __cplusplus' >>confdefs.h
3112 echo $ac_declaration >>confdefs.h
3113 echo '#endif' >>confdefs.h
3114 fi
3115
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 ac_ext=c
3123 ac_cpp='$CPP $CPPFLAGS'
3124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3127
3128 depcc="$CC" am_compiler_list=
3129
3130 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3131 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3132 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3133 echo $ECHO_N "(cached) $ECHO_C" >&6
3134 else
3135 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3136 # We make a subdir and do the tests there. Otherwise we can end up
3137 # making bogus files that we don't know about and never remove. For
3138 # instance it was reported that on HP-UX the gcc test will end up
3139 # making a dummy file named `D' -- because `-MD' means `put the output
3140 # in D'.
3141 mkdir conftest.dir
3142 # Copy depcomp to subdir because otherwise we won't find it if we're
3143 # using a relative directory.
3144 cp "$am_depcomp" conftest.dir
3145 cd conftest.dir
3146 # We will build objects and dependencies in a subdirectory because
3147 # it helps to detect inapplicable dependency modes. For instance
3148 # both Tru64's cc and ICC support -MD to output dependencies as a
3149 # side effect of compilation, but ICC will put the dependencies in
3150 # the current directory while Tru64 will put them in the object
3151 # directory.
3152 mkdir sub
3153
3154 am_cv_CC_dependencies_compiler_type=none
3155 if test "$am_compiler_list" = ""; then
3156 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3157 fi
3158 for depmode in $am_compiler_list; do
3159 # Setup a source with many dependencies, because some compilers
3160 # like to wrap large dependency lists on column 80 (with \), and
3161 # we should not choose a depcomp mode which is confused by this.
3162 #
3163 # We need to recreate these files for each test, as the compiler may
3164 # overwrite some of them when testing with obscure command lines.
3165 # This happens at least with the AIX C compiler.
3166 : > sub/conftest.c
3167 for i in 1 2 3 4 5 6; do
3168 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3169 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3170 # Solaris 8's {/usr,}/bin/sh.
3171 touch sub/conftst$i.h
3172 done
3173 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3174
3175 case $depmode in
3176 nosideeffect)
3177 # after this tag, mechanisms are not by side-effect, so they'll
3178 # only be used when explicitly requested
3179 if test "x$enable_dependency_tracking" = xyes; then
3180 continue
3181 else
3182 break
3183 fi
3184 ;;
3185 none) break ;;
3186 esac
3187 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3188 # mode. It turns out that the SunPro C++ compiler does not properly
3189 # handle `-M -o', and we need to detect this.
3190 if depmode=$depmode \
3191 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3192 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3193 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3194 >/dev/null 2>conftest.err &&
3195 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3196 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3197 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3198 # icc doesn't choke on unknown options, it will just issue warnings
3199 # or remarks (even with -Werror). So we grep stderr for any message
3200 # that says an option was ignored or not supported.
3201 # When given -MP, icc 7.0 and 7.1 complain thusly:
3202 # icc: Command line warning: ignoring option '-M'; no argument required
3203 # The diagnosis changed in icc 8.0:
3204 # icc: Command line remark: option '-MP' not supported
3205 if (grep 'ignoring option' conftest.err ||
3206 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3207 am_cv_CC_dependencies_compiler_type=$depmode
3208 break
3209 fi
3210 fi
3211 done
3212
3213 cd ..
3214 rm -rf conftest.dir
3215 else
3216 am_cv_CC_dependencies_compiler_type=none
3217 fi
3218
3219 fi
3220 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3221 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3222 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3223
3224
3225
3226 if
3227 test "x$enable_dependency_tracking" != xno \
3228 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3229 am__fastdepCC_TRUE=
3230 am__fastdepCC_FALSE='#'
3231 else
3232 am__fastdepCC_TRUE='#'
3233 am__fastdepCC_FALSE=
3234 fi
3235
3236
3237
3238 ac_ext=c
3239 ac_cpp='$CPP $CPPFLAGS'
3240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3243 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3244 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3245 # On Suns, sometimes $CPP names a directory.
3246 if test -n "$CPP" && test -d "$CPP"; then
3247 CPP=
3248 fi
3249 if test -z "$CPP"; then
3250 if test "${ac_cv_prog_CPP+set}" = set; then
3251 echo $ECHO_N "(cached) $ECHO_C" >&6
3252 else
3253 # Double quotes because CPP needs to be expanded
3254 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3255 do
3256 ac_preproc_ok=false
3257 for ac_c_preproc_warn_flag in '' yes
3258 do
3259 # Use a header file that comes with gcc, so configuring glibc
3260 # with a fresh cross-compiler works.
3261 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3262 # <limits.h> exists even on freestanding compilers.
3263 # On the NeXT, cc -E runs the code through the compiler's parser,
3264 # not just through cpp. "Syntax error" is here to catch this case.
3265 cat >conftest.$ac_ext <<_ACEOF
3266 /* confdefs.h. */
3267 _ACEOF
3268 cat confdefs.h >>conftest.$ac_ext
3269 cat >>conftest.$ac_ext <<_ACEOF
3270 /* end confdefs.h. */
3271 #ifdef __STDC__
3272 # include <limits.h>
3273 #else
3274 # include <assert.h>
3275 #endif
3276 Syntax error
3277 _ACEOF
3278 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3279 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3280 ac_status=$?
3281 grep -v '^ *+' conftest.er1 >conftest.err
3282 rm -f conftest.er1
3283 cat conftest.err >&5
3284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3285 (exit $ac_status); } >/dev/null; then
3286 if test -s conftest.err; then
3287 ac_cpp_err=$ac_c_preproc_warn_flag
3288 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3289 else
3290 ac_cpp_err=
3291 fi
3292 else
3293 ac_cpp_err=yes
3294 fi
3295 if test -z "$ac_cpp_err"; then
3296 :
3297 else
3298 echo "$as_me: failed program was:" >&5
3299 sed 's/^/| /' conftest.$ac_ext >&5
3300
3301 # Broken: fails on valid input.
3302 continue
3303 fi
3304 rm -f conftest.err conftest.$ac_ext
3305
3306 # OK, works on sane cases. Now check whether non-existent headers
3307 # can be detected and how.
3308 cat >conftest.$ac_ext <<_ACEOF
3309 /* confdefs.h. */
3310 _ACEOF
3311 cat confdefs.h >>conftest.$ac_ext
3312 cat >>conftest.$ac_ext <<_ACEOF
3313 /* end confdefs.h. */
3314 #include <ac_nonexistent.h>
3315 _ACEOF
3316 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3317 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3318 ac_status=$?
3319 grep -v '^ *+' conftest.er1 >conftest.err
3320 rm -f conftest.er1
3321 cat conftest.err >&5
3322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3323 (exit $ac_status); } >/dev/null; then
3324 if test -s conftest.err; then
3325 ac_cpp_err=$ac_c_preproc_warn_flag
3326 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3327 else
3328 ac_cpp_err=
3329 fi
3330 else
3331 ac_cpp_err=yes
3332 fi
3333 if test -z "$ac_cpp_err"; then
3334 # Broken: success on invalid input.
3335 continue
3336 else
3337 echo "$as_me: failed program was:" >&5
3338 sed 's/^/| /' conftest.$ac_ext >&5
3339
3340 # Passes both tests.
3341 ac_preproc_ok=:
3342 break
3343 fi
3344 rm -f conftest.err conftest.$ac_ext
3345
3346 done
3347 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3348 rm -f conftest.err conftest.$ac_ext
3349 if $ac_preproc_ok; then
3350 break
3351 fi
3352
3353 done
3354 ac_cv_prog_CPP=$CPP
3355
3356 fi
3357 CPP=$ac_cv_prog_CPP
3358 else
3359 ac_cv_prog_CPP=$CPP
3360 fi
3361 echo "$as_me:$LINENO: result: $CPP" >&5
3362 echo "${ECHO_T}$CPP" >&6
3363 ac_preproc_ok=false
3364 for ac_c_preproc_warn_flag in '' yes
3365 do
3366 # Use a header file that comes with gcc, so configuring glibc
3367 # with a fresh cross-compiler works.
3368 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3369 # <limits.h> exists even on freestanding compilers.
3370 # On the NeXT, cc -E runs the code through the compiler's parser,
3371 # not just through cpp. "Syntax error" is here to catch this case.
3372 cat >conftest.$ac_ext <<_ACEOF
3373 /* confdefs.h. */
3374 _ACEOF
3375 cat confdefs.h >>conftest.$ac_ext
3376 cat >>conftest.$ac_ext <<_ACEOF
3377 /* end confdefs.h. */
3378 #ifdef __STDC__
3379 # include <limits.h>
3380 #else
3381 # include <assert.h>
3382 #endif
3383 Syntax error
3384 _ACEOF
3385 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3386 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3387 ac_status=$?
3388 grep -v '^ *+' conftest.er1 >conftest.err
3389 rm -f conftest.er1
3390 cat conftest.err >&5
3391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3392 (exit $ac_status); } >/dev/null; then
3393 if test -s conftest.err; then
3394 ac_cpp_err=$ac_c_preproc_warn_flag
3395 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3396 else
3397 ac_cpp_err=
3398 fi
3399 else
3400 ac_cpp_err=yes
3401 fi
3402 if test -z "$ac_cpp_err"; then
3403 :
3404 else
3405 echo "$as_me: failed program was:" >&5
3406 sed 's/^/| /' conftest.$ac_ext >&5
3407
3408 # Broken: fails on valid input.
3409 continue
3410 fi
3411 rm -f conftest.err conftest.$ac_ext
3412
3413 # OK, works on sane cases. Now check whether non-existent headers
3414 # can be detected and how.
3415 cat >conftest.$ac_ext <<_ACEOF
3416 /* confdefs.h. */
3417 _ACEOF
3418 cat confdefs.h >>conftest.$ac_ext
3419 cat >>conftest.$ac_ext <<_ACEOF
3420 /* end confdefs.h. */
3421 #include <ac_nonexistent.h>
3422 _ACEOF
3423 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3424 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3425 ac_status=$?
3426 grep -v '^ *+' conftest.er1 >conftest.err
3427 rm -f conftest.er1
3428 cat conftest.err >&5
3429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3430 (exit $ac_status); } >/dev/null; then
3431 if test -s conftest.err; then
3432 ac_cpp_err=$ac_c_preproc_warn_flag
3433 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3434 else
3435 ac_cpp_err=
3436 fi
3437 else
3438 ac_cpp_err=yes
3439 fi
3440 if test -z "$ac_cpp_err"; then
3441 # Broken: success on invalid input.
3442 continue
3443 else
3444 echo "$as_me: failed program was:" >&5
3445 sed 's/^/| /' conftest.$ac_ext >&5
3446
3447 # Passes both tests.
3448 ac_preproc_ok=:
3449 break
3450 fi
3451 rm -f conftest.err conftest.$ac_ext
3452
3453 done
3454 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3455 rm -f conftest.err conftest.$ac_ext
3456 if $ac_preproc_ok; then
3457 :
3458 else
3459 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3460 See \`config.log' for more details." >&5
3461 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3462 See \`config.log' for more details." >&2;}
3463 { (exit 1); exit 1; }; }
3464 fi
3465
3466 ac_ext=c
3467 ac_cpp='$CPP $CPPFLAGS'
3468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3471
3472
3473 echo "$as_me:$LINENO: checking for egrep" >&5
3474 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3475 if test "${ac_cv_prog_egrep+set}" = set; then
3476 echo $ECHO_N "(cached) $ECHO_C" >&6
3477 else
3478 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3479 then ac_cv_prog_egrep='grep -E'
3480 else ac_cv_prog_egrep='egrep'
3481 fi
3482 fi
3483 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3484 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3485 EGREP=$ac_cv_prog_egrep
3486
3487
3488 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3489 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3490 if test "${ac_cv_header_stdc+set}" = set; then
3491 echo $ECHO_N "(cached) $ECHO_C" >&6
3492 else
3493 cat >conftest.$ac_ext <<_ACEOF
3494 /* confdefs.h. */
3495 _ACEOF
3496 cat confdefs.h >>conftest.$ac_ext
3497 cat >>conftest.$ac_ext <<_ACEOF
3498 /* end confdefs.h. */
3499 #include <stdlib.h>
3500 #include <stdarg.h>
3501 #include <string.h>
3502 #include <float.h>
3503
3504 int
3505 main ()
3506 {
3507
3508 ;
3509 return 0;
3510 }
3511 _ACEOF
3512 rm -f conftest.$ac_objext
3513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3514 (eval $ac_compile) 2>conftest.er1
3515 ac_status=$?
3516 grep -v '^ *+' conftest.er1 >conftest.err
3517 rm -f conftest.er1
3518 cat conftest.err >&5
3519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3520 (exit $ac_status); } &&
3521 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3523 (eval $ac_try) 2>&5
3524 ac_status=$?
3525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3526 (exit $ac_status); }; } &&
3527 { ac_try='test -s conftest.$ac_objext'
3528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3529 (eval $ac_try) 2>&5
3530 ac_status=$?
3531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3532 (exit $ac_status); }; }; then
3533 ac_cv_header_stdc=yes
3534 else
3535 echo "$as_me: failed program was:" >&5
3536 sed 's/^/| /' conftest.$ac_ext >&5
3537
3538 ac_cv_header_stdc=no
3539 fi
3540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3541
3542 if test $ac_cv_header_stdc = yes; then
3543 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3544 cat >conftest.$ac_ext <<_ACEOF
3545 /* confdefs.h. */
3546 _ACEOF
3547 cat confdefs.h >>conftest.$ac_ext
3548 cat >>conftest.$ac_ext <<_ACEOF
3549 /* end confdefs.h. */
3550 #include <string.h>
3551
3552 _ACEOF
3553 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3554 $EGREP "memchr" >/dev/null 2>&1; then
3555 :
3556 else
3557 ac_cv_header_stdc=no
3558 fi
3559 rm -f conftest*
3560
3561 fi
3562
3563 if test $ac_cv_header_stdc = yes; then
3564 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3565 cat >conftest.$ac_ext <<_ACEOF
3566 /* confdefs.h. */
3567 _ACEOF
3568 cat confdefs.h >>conftest.$ac_ext
3569 cat >>conftest.$ac_ext <<_ACEOF
3570 /* end confdefs.h. */
3571 #include <stdlib.h>
3572
3573 _ACEOF
3574 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3575 $EGREP "free" >/dev/null 2>&1; then
3576 :
3577 else
3578 ac_cv_header_stdc=no
3579 fi
3580 rm -f conftest*
3581
3582 fi
3583
3584 if test $ac_cv_header_stdc = yes; then
3585 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3586 if test "$cross_compiling" = yes; then
3587 :
3588 else
3589 cat >conftest.$ac_ext <<_ACEOF
3590 /* confdefs.h. */
3591 _ACEOF
3592 cat confdefs.h >>conftest.$ac_ext
3593 cat >>conftest.$ac_ext <<_ACEOF
3594 /* end confdefs.h. */
3595 #include <ctype.h>
3596 #if ((' ' & 0x0FF) == 0x020)
3597 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3598 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3599 #else
3600 # define ISLOWER(c) \
3601 (('a' <= (c) && (c) <= 'i') \
3602 || ('j' <= (c) && (c) <= 'r') \
3603 || ('s' <= (c) && (c) <= 'z'))
3604 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3605 #endif
3606
3607 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3608 int
3609 main ()
3610 {
3611 int i;
3612 for (i = 0; i < 256; i++)
3613 if (XOR (islower (i), ISLOWER (i))
3614 || toupper (i) != TOUPPER (i))
3615 exit(2);
3616 exit (0);
3617 }
3618 _ACEOF
3619 rm -f conftest$ac_exeext
3620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3621 (eval $ac_link) 2>&5
3622 ac_status=$?
3623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3624 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3626 (eval $ac_try) 2>&5
3627 ac_status=$?
3628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3629 (exit $ac_status); }; }; then
3630 :
3631 else
3632 echo "$as_me: program exited with status $ac_status" >&5
3633 echo "$as_me: failed program was:" >&5
3634 sed 's/^/| /' conftest.$ac_ext >&5
3635
3636 ( exit $ac_status )
3637 ac_cv_header_stdc=no
3638 fi
3639 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3640 fi
3641 fi
3642 fi
3643 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3644 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3645 if test $ac_cv_header_stdc = yes; then
3646
3647 cat >>confdefs.h <<\_ACEOF
3648 #define STDC_HEADERS 1
3649 _ACEOF
3650
3651 fi
3652
3653 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3664 inttypes.h stdint.h unistd.h
3665 do
3666 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3667 echo "$as_me:$LINENO: checking for $ac_header" >&5
3668 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3669 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3670 echo $ECHO_N "(cached) $ECHO_C" >&6
3671 else
3672 cat >conftest.$ac_ext <<_ACEOF
3673 /* confdefs.h. */
3674 _ACEOF
3675 cat confdefs.h >>conftest.$ac_ext
3676 cat >>conftest.$ac_ext <<_ACEOF
3677 /* end confdefs.h. */
3678 $ac_includes_default
3679
3680 #include <$ac_header>
3681 _ACEOF
3682 rm -f conftest.$ac_objext
3683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3684 (eval $ac_compile) 2>conftest.er1
3685 ac_status=$?
3686 grep -v '^ *+' conftest.er1 >conftest.err
3687 rm -f conftest.er1
3688 cat conftest.err >&5
3689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3690 (exit $ac_status); } &&
3691 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3693 (eval $ac_try) 2>&5
3694 ac_status=$?
3695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3696 (exit $ac_status); }; } &&
3697 { ac_try='test -s conftest.$ac_objext'
3698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3699 (eval $ac_try) 2>&5
3700 ac_status=$?
3701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3702 (exit $ac_status); }; }; then
3703 eval "$as_ac_Header=yes"
3704 else
3705 echo "$as_me: failed program was:" >&5
3706 sed 's/^/| /' conftest.$ac_ext >&5
3707
3708 eval "$as_ac_Header=no"
3709 fi
3710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3711 fi
3712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3713 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3714 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3715 cat >>confdefs.h <<_ACEOF
3716 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3717 _ACEOF
3718
3719 fi
3720
3721 done
3722
3723
3724 # Check whether --enable-alsa or --disable-alsa was given.
3725 if test "${enable_alsa+set}" = set; then
3726 enableval="$enable_alsa"
3727 case "${enableval}" in
3728 yes) COMPILE_ALSA=yes ;;
3729 no) COMPILE_ALSA=no ;;
3730 *) COMPILE_ALSA=yes ;;
3731 esac
3732 else
3733
3734 for ac_header in alsa/asoundlib.h
3735 do
3736 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3737 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3738 echo "$as_me:$LINENO: checking for $ac_header" >&5
3739 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3740 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3741 echo $ECHO_N "(cached) $ECHO_C" >&6
3742 fi
3743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3744 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3745 else
3746 # Is the header compilable?
3747 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3748 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3749 cat >conftest.$ac_ext <<_ACEOF
3750 /* confdefs.h. */
3751 _ACEOF
3752 cat confdefs.h >>conftest.$ac_ext
3753 cat >>conftest.$ac_ext <<_ACEOF
3754 /* end confdefs.h. */
3755 $ac_includes_default
3756 #include <$ac_header>
3757 _ACEOF
3758 rm -f conftest.$ac_objext
3759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3760 (eval $ac_compile) 2>conftest.er1
3761 ac_status=$?
3762 grep -v '^ *+' conftest.er1 >conftest.err
3763 rm -f conftest.er1
3764 cat conftest.err >&5
3765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3766 (exit $ac_status); } &&
3767 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3769 (eval $ac_try) 2>&5
3770 ac_status=$?
3771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3772 (exit $ac_status); }; } &&
3773 { ac_try='test -s conftest.$ac_objext'
3774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3775 (eval $ac_try) 2>&5
3776 ac_status=$?
3777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3778 (exit $ac_status); }; }; then
3779 ac_header_compiler=yes
3780 else
3781 echo "$as_me: failed program was:" >&5
3782 sed 's/^/| /' conftest.$ac_ext >&5
3783
3784 ac_header_compiler=no
3785 fi
3786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3787 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3788 echo "${ECHO_T}$ac_header_compiler" >&6
3789
3790 # Is the header present?
3791 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3792 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3793 cat >conftest.$ac_ext <<_ACEOF
3794 /* confdefs.h. */
3795 _ACEOF
3796 cat confdefs.h >>conftest.$ac_ext
3797 cat >>conftest.$ac_ext <<_ACEOF
3798 /* end confdefs.h. */
3799 #include <$ac_header>
3800 _ACEOF
3801 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3802 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3803 ac_status=$?
3804 grep -v '^ *+' conftest.er1 >conftest.err
3805 rm -f conftest.er1
3806 cat conftest.err >&5
3807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3808 (exit $ac_status); } >/dev/null; then
3809 if test -s conftest.err; then
3810 ac_cpp_err=$ac_c_preproc_warn_flag
3811 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3812 else
3813 ac_cpp_err=
3814 fi
3815 else
3816 ac_cpp_err=yes
3817 fi
3818 if test -z "$ac_cpp_err"; then
3819 ac_header_preproc=yes
3820 else
3821 echo "$as_me: failed program was:" >&5
3822 sed 's/^/| /' conftest.$ac_ext >&5
3823
3824 ac_header_preproc=no
3825 fi
3826 rm -f conftest.err conftest.$ac_ext
3827 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3828 echo "${ECHO_T}$ac_header_preproc" >&6
3829
3830 # So? What about this header?
3831 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3832 yes:no: )
3833 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3834 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3835 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3836 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3837 ac_header_preproc=yes
3838 ;;
3839 no:yes:* )
3840 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3841 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3842 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3843 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3844 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3845 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3846 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3847 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3848 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3849 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3850 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3851 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3852 (
3853 cat <<\_ASBOX
3854 ## -------------------------------- ##
3855 ## Report this to classpath@gnu.org ##
3856 ## -------------------------------- ##
3857 _ASBOX
3858 ) |
3859 sed "s/^/$as_me: WARNING: /" >&2
3860 ;;
3861 esac
3862 echo "$as_me:$LINENO: checking for $ac_header" >&5
3863 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3864 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3865 echo $ECHO_N "(cached) $ECHO_C" >&6
3866 else
3867 eval "$as_ac_Header=\$ac_header_preproc"
3868 fi
3869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3870 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3871
3872 fi
3873 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3874 cat >>confdefs.h <<_ACEOF
3875 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3876 _ACEOF
3877 echo "$as_me:$LINENO: checking for snd_seq_open in -lasound" >&5
3878 echo $ECHO_N "checking for snd_seq_open in -lasound... $ECHO_C" >&6
3879 if test "${ac_cv_lib_asound_snd_seq_open+set}" = set; then
3880 echo $ECHO_N "(cached) $ECHO_C" >&6
3881 else
3882 ac_check_lib_save_LIBS=$LIBS
3883 LIBS="-lasound $LIBS"
3884 cat >conftest.$ac_ext <<_ACEOF
3885 /* confdefs.h. */
3886 _ACEOF
3887 cat confdefs.h >>conftest.$ac_ext
3888 cat >>conftest.$ac_ext <<_ACEOF
3889 /* end confdefs.h. */
3890
3891 /* Override any gcc2 internal prototype to avoid an error. */
3892 #ifdef __cplusplus
3893 extern "C"
3894 #endif
3895 /* We use char because int might match the return type of a gcc2
3896 builtin and then its argument prototype would still apply. */
3897 char snd_seq_open ();
3898 int
3899 main ()
3900 {
3901 snd_seq_open ();
3902 ;
3903 return 0;
3904 }
3905 _ACEOF
3906 rm -f conftest.$ac_objext conftest$ac_exeext
3907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3908 (eval $ac_link) 2>conftest.er1
3909 ac_status=$?
3910 grep -v '^ *+' conftest.er1 >conftest.err
3911 rm -f conftest.er1
3912 cat conftest.err >&5
3913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3914 (exit $ac_status); } &&
3915 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3917 (eval $ac_try) 2>&5
3918 ac_status=$?
3919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3920 (exit $ac_status); }; } &&
3921 { ac_try='test -s conftest$ac_exeext'
3922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3923 (eval $ac_try) 2>&5
3924 ac_status=$?
3925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3926 (exit $ac_status); }; }; then
3927 ac_cv_lib_asound_snd_seq_open=yes
3928 else
3929 echo "$as_me: failed program was:" >&5
3930 sed 's/^/| /' conftest.$ac_ext >&5
3931
3932 ac_cv_lib_asound_snd_seq_open=no
3933 fi
3934 rm -f conftest.err conftest.$ac_objext \
3935 conftest$ac_exeext conftest.$ac_ext
3936 LIBS=$ac_check_lib_save_LIBS
3937 fi
3938 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_seq_open" >&5
3939 echo "${ECHO_T}$ac_cv_lib_asound_snd_seq_open" >&6
3940 if test $ac_cv_lib_asound_snd_seq_open = yes; then
3941 COMPILE_ALSA=yes
3942 else
3943 COMPILE_ALSA=no
3944 fi
3945
3946 else
3947 COMPILE_ALSA=no
3948 fi
3949
3950 done
3951
3952 fi;
3953
3954
3955 if test "x${COMPILE_ALSA}" = xyes; then
3956 CREATE_ALSA_LIBRARIES_TRUE=
3957 CREATE_ALSA_LIBRARIES_FALSE='#'
3958 else
3959 CREATE_ALSA_LIBRARIES_TRUE='#'
3960 CREATE_ALSA_LIBRARIES_FALSE=
3961 fi
3962
3963
3964 # Check whether --enable-dssi or --disable-dssi was given.
3965 if test "${enable_dssi+set}" = set; then
3966 enableval="$enable_dssi"
3967 case "${enableval}" in
3968 yes) COMPILE_DSSI=yes ;;
3969 no) COMPILE_DSSI=no ;;
3970 *) COMPILE_DSSI=yes ;;
3971 esac
3972 else
3973
3974 for ac_header in dssi.h
3975 do
3976 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3977 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3978 echo "$as_me:$LINENO: checking for $ac_header" >&5
3979 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3980 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3981 echo $ECHO_N "(cached) $ECHO_C" >&6
3982 fi
3983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3984 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3985 else
3986 # Is the header compilable?
3987 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3988 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3989 cat >conftest.$ac_ext <<_ACEOF
3990 /* confdefs.h. */
3991 _ACEOF
3992 cat confdefs.h >>conftest.$ac_ext
3993 cat >>conftest.$ac_ext <<_ACEOF
3994 /* end confdefs.h. */
3995 $ac_includes_default
3996 #include <$ac_header>
3997 _ACEOF
3998 rm -f conftest.$ac_objext
3999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4000 (eval $ac_compile) 2>conftest.er1
4001 ac_status=$?
4002 grep -v '^ *+' conftest.er1 >conftest.err
4003 rm -f conftest.er1
4004 cat conftest.err >&5
4005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4006 (exit $ac_status); } &&
4007 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4009 (eval $ac_try) 2>&5
4010 ac_status=$?
4011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4012 (exit $ac_status); }; } &&
4013 { ac_try='test -s conftest.$ac_objext'
4014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4015 (eval $ac_try) 2>&5
4016 ac_status=$?
4017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4018 (exit $ac_status); }; }; then
4019 ac_header_compiler=yes
4020 else
4021 echo "$as_me: failed program was:" >&5
4022 sed 's/^/| /' conftest.$ac_ext >&5
4023
4024 ac_header_compiler=no
4025 fi
4026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4027 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4028 echo "${ECHO_T}$ac_header_compiler" >&6
4029
4030 # Is the header present?
4031 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4032 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4033 cat >conftest.$ac_ext <<_ACEOF
4034 /* confdefs.h. */
4035 _ACEOF
4036 cat confdefs.h >>conftest.$ac_ext
4037 cat >>conftest.$ac_ext <<_ACEOF
4038 /* end confdefs.h. */
4039 #include <$ac_header>
4040 _ACEOF
4041 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4042 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4043 ac_status=$?
4044 grep -v '^ *+' conftest.er1 >conftest.err
4045 rm -f conftest.er1
4046 cat conftest.err >&5
4047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4048 (exit $ac_status); } >/dev/null; then
4049 if test -s conftest.err; then
4050 ac_cpp_err=$ac_c_preproc_warn_flag
4051 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4052 else
4053 ac_cpp_err=
4054 fi
4055 else
4056 ac_cpp_err=yes
4057 fi
4058 if test -z "$ac_cpp_err"; then
4059 ac_header_preproc=yes
4060 else
4061 echo "$as_me: failed program was:" >&5
4062 sed 's/^/| /' conftest.$ac_ext >&5
4063
4064 ac_header_preproc=no
4065 fi
4066 rm -f conftest.err conftest.$ac_ext
4067 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4068 echo "${ECHO_T}$ac_header_preproc" >&6
4069
4070 # So? What about this header?
4071 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4072 yes:no: )
4073 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4074 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4075 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4076 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4077 ac_header_preproc=yes
4078 ;;
4079 no:yes:* )
4080 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4081 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4082 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4083 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4084 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4085 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4086 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4087 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4088 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4089 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4090 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4091 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4092 (
4093 cat <<\_ASBOX
4094 ## -------------------------------- ##
4095 ## Report this to classpath@gnu.org ##
4096 ## -------------------------------- ##
4097 _ASBOX
4098 ) |
4099 sed "s/^/$as_me: WARNING: /" >&2
4100 ;;
4101 esac
4102 echo "$as_me:$LINENO: checking for $ac_header" >&5
4103 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4104 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4105 echo $ECHO_N "(cached) $ECHO_C" >&6
4106 else
4107 eval "$as_ac_Header=\$ac_header_preproc"
4108 fi
4109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4110 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4111
4112 fi
4113 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4114 cat >>confdefs.h <<_ACEOF
4115 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4116 _ACEOF
4117 COMPILE_DSSI=yes
4118 else
4119 COMPILE_DSSI=no
4120 fi
4121
4122 done
4123
4124 fi;
4125
4126
4127 if test "x${COMPILE_DSSI}" = xyes; then
4128 CREATE_DSSI_LIBRARIES_TRUE=
4129 CREATE_DSSI_LIBRARIES_FALSE='#'
4130 else
4131 CREATE_DSSI_LIBRARIES_TRUE='#'
4132 CREATE_DSSI_LIBRARIES_FALSE=
4133 fi
4134
4135
4136 # Check whether --enable-gtk-peer or --disable-gtk-peer was given.
4137 if test "${enable_gtk_peer+set}" = set; then
4138 enableval="$enable_gtk_peer"
4139 case "${enableval}" in
4140 yes) COMPILE_GTK_PEER=yes ;;
4141 no) COMPILE_GTK_PEER=no ;;
4142 *) COMPILE_GTK_PEER=yes ;;
4143 esac
4144 else
4145 COMPILE_GTK_PEER=yes
4146 fi;
4147
4148
4149 if test "x${COMPILE_GTK_PEER}" = xyes; then
4150 CREATE_GTK_PEER_LIBRARIES_TRUE=
4151 CREATE_GTK_PEER_LIBRARIES_FALSE='#'
4152 else
4153 CREATE_GTK_PEER_LIBRARIES_TRUE='#'
4154 CREATE_GTK_PEER_LIBRARIES_FALSE=
4155 fi
4156
4157
4158 # Check whether --enable-gtk-peers or --disable-gtk-peers was given.
4159 if test "${enable_gtk_peers+set}" = set; then
4160 enableval="$enable_gtk_peers"
4161 { { echo "$as_me:$LINENO: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&5
4162 echo "$as_me: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&2;}
4163 { (exit 1); exit 1; }; }
4164 fi;
4165
4166 # Check whether --enable-gtk-cairo or --disable-gtk-cairo was given.
4167 if test "${enable_gtk_cairo+set}" = set; then
4168 enableval="$enable_gtk_cairo"
4169 case "${enableval}" in
4170 yes) GTK_CAIRO_ENABLED=true ;;
4171 no) GTK_CAIRO_ENABLED=false ;;
4172 *) GTK_CAIRO_ENABLED=true ;;
4173 esac
4174 else
4175 GTK_CAIRO_ENABLED=false
4176 fi;
4177
4178 if test "x${GTK_CAIRO_ENABLED}" = xtrue; then
4179
4180 cat >>confdefs.h <<\_ACEOF
4181 #define GTK_CAIRO 1
4182 _ACEOF
4183
4184 fi
4185
4186
4187 if test "x${GTK_CAIRO_ENABLED}" = xtrue; then
4188 GTK_CAIRO_TRUE=
4189 GTK_CAIRO_FALSE='#'
4190 else
4191 GTK_CAIRO_TRUE='#'
4192 GTK_CAIRO_FALSE=
4193 fi
4194
4195
4196 # Check whether --enable-qt-peer or --disable-qt-peer was given.
4197 if test "${enable_qt_peer+set}" = set; then
4198 enableval="$enable_qt_peer"
4199 case "${enableval}" in
4200 yes) COMPILE_QT_PEER=yes ;;
4201 no) COMPILE_QT_PEER=no ;;
4202 *) COMPILE_QT_PEER=yes ;;
4203 esac
4204 else
4205 COMPILE_QT_PEER=no
4206 fi;
4207
4208
4209 if test "x${COMPILE_QT_PEER}" = xyes; then
4210 CREATE_QT_PEER_LIBRARIES_TRUE=
4211 CREATE_QT_PEER_LIBRARIES_FALSE='#'
4212 else
4213 CREATE_QT_PEER_LIBRARIES_TRUE='#'
4214 CREATE_QT_PEER_LIBRARIES_FALSE=
4215 fi
4216
4217
4218
4219
4220 # Check whether --with-native-libdir or --without-native-libdir was given.
4221 if test "${with_native_libdir+set}" = set; then
4222 withval="$with_native_libdir"
4223
4224 nativelibdir=${withval}
4225
4226 else
4227
4228 nativelibdir='${libdir}/${PACKAGE}'
4229
4230 fi;
4231
4232
4233
4234
4235 # Check whether --with-glibj-dir or --without-glibj-dir was given.
4236 if test "${with_glibj_dir+set}" = set; then
4237 withval="$with_glibj_dir"
4238
4239 glibjdir=${withval}
4240
4241 else
4242
4243 glibjdir='${datadir}/${PACKAGE}'
4244
4245 fi;
4246
4247
4248
4249 # Check whether --enable-regen-headers or --disable-regen-headers was given.
4250 if test "${enable_regen_headers+set}" = set; then
4251 enableval="$enable_regen_headers"
4252 case "${enableval}" in
4253 yes) REGENERATE_JNI_HEADERS=yes ;;
4254 no) REGENERATE_JNI_HEADERS=no ;;
4255 *) REGENERATE_JNI_HEADERS=no ;;
4256 esac
4257 else
4258 REGENERATE_JNI_HEADERS=no
4259 fi;
4260
4261
4262 if test "x${REGENERATE_JNI_HEADERS}" = xyes; then
4263 CREATE_JNI_HEADERS_TRUE=
4264 CREATE_JNI_HEADERS_FALSE='#'
4265 else
4266 CREATE_JNI_HEADERS_TRUE='#'
4267 CREATE_JNI_HEADERS_FALSE=
4268 fi
4269
4270
4271 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4272 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4273 LN_S=$as_ln_s
4274 if test "$LN_S" = "ln -s"; then
4275 echo "$as_me:$LINENO: result: yes" >&5
4276 echo "${ECHO_T}yes" >&6
4277 else
4278 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4279 echo "${ECHO_T}no, using $LN_S" >&6
4280 fi
4281
4282 # Find a good install program. We prefer a C program (faster),
4283 # so one script is as good as another. But avoid the broken or
4284 # incompatible versions:
4285 # SysV /etc/install, /usr/sbin/install
4286 # SunOS /usr/etc/install
4287 # IRIX /sbin/install
4288 # AIX /bin/install
4289 # AmigaOS /C/install, which installs bootblocks on floppy discs
4290 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4291 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4292 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4293 # OS/2's system install, which has a completely different semantic
4294 # ./install, which can be erroneously created by make from ./install.sh.
4295 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4296 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4297 if test -z "$INSTALL"; then
4298 if test "${ac_cv_path_install+set}" = set; then
4299 echo $ECHO_N "(cached) $ECHO_C" >&6
4300 else
4301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4302 for as_dir in $PATH
4303 do
4304 IFS=$as_save_IFS
4305 test -z "$as_dir" && as_dir=.
4306 # Account for people who put trailing slashes in PATH elements.
4307 case $as_dir/ in
4308 ./ | .// | /cC/* | \
4309 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4310 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4311 /usr/ucb/* ) ;;
4312 *)
4313 # OSF1 and SCO ODT 3.0 have their own names for install.
4314 # Don't use installbsd from OSF since it installs stuff as root
4315 # by default.
4316 for ac_prog in ginstall scoinst install; do
4317 for ac_exec_ext in '' $ac_executable_extensions; do
4318 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4319 if test $ac_prog = install &&
4320 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4321 # AIX install. It has an incompatible calling convention.
4322 :
4323 elif test $ac_prog = install &&
4324 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4325 # program-specific install script used by HP pwplus--don't use.
4326 :
4327 else
4328 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4329 break 3
4330 fi
4331 fi
4332 done
4333 done
4334 ;;
4335 esac
4336 done
4337
4338
4339 fi
4340 if test "${ac_cv_path_install+set}" = set; then
4341 INSTALL=$ac_cv_path_install
4342 else
4343 # As a last resort, use the slow shell script. We don't cache a
4344 # path for INSTALL within a source directory, because that will
4345 # break other packages using the cache if that directory is
4346 # removed, or if the path is relative.
4347 INSTALL=$ac_install_sh
4348 fi
4349 fi
4350 echo "$as_me:$LINENO: result: $INSTALL" >&5
4351 echo "${ECHO_T}$INSTALL" >&6
4352
4353 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4354 # It thinks the first close brace ends the variable substitution.
4355 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4356
4357 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4358
4359 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4360
4361
4362
4363 GCC_NO_EXECUTABLES
4364
4365 # Check whether --enable-static or --disable-static was given.
4366 if test "${enable_static+set}" = set; then
4367 enableval="$enable_static"
4368 p=${PACKAGE-default}
4369 case $enableval in
4370 yes) enable_static=yes ;;
4371 no) enable_static=no ;;
4372 *)
4373 enable_static=no
4374 # Look at the argument we got. We use all the common list separators.
4375 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4376 for pkg in $enableval; do
4377 if test "X$pkg" = "X$p"; then
4378 enable_static=yes
4379 fi
4380 done
4381 IFS="$ac_save_ifs"
4382 ;;
4383 esac
4384 else
4385 enable_static=no
4386 fi;
4387 # Check whether --enable-shared or --disable-shared was given.
4388 if test "${enable_shared+set}" = set; then
4389 enableval="$enable_shared"
4390 p=${PACKAGE-default}
4391 case $enableval in
4392 yes) enable_shared=yes ;;
4393 no) enable_shared=no ;;
4394 *)
4395 enable_shared=no
4396 # Look at the argument we got. We use all the common list separators.
4397 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4398 for pkg in $enableval; do
4399 if test "X$pkg" = "X$p"; then
4400 enable_shared=yes
4401 fi
4402 done
4403 IFS="$ac_save_ifs"
4404 ;;
4405 esac
4406 else
4407 enable_shared=yes
4408 fi;
4409 # Check whether --enable-fast-install or --disable-fast-install was given.
4410 if test "${enable_fast_install+set}" = set; then
4411 enableval="$enable_fast_install"
4412 p=${PACKAGE-default}
4413 case $enableval in
4414 yes) enable_fast_install=yes ;;
4415 no) enable_fast_install=no ;;
4416 *)
4417 enable_fast_install=no
4418 # Look at the argument we got. We use all the common list separators.
4419 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4420 for pkg in $enableval; do
4421 if test "X$pkg" = "X$p"; then
4422 enable_fast_install=yes
4423 fi
4424 done
4425 IFS="$ac_save_ifs"
4426 ;;
4427 esac
4428 else
4429 enable_fast_install=yes
4430 fi;
4431
4432 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4433 if test "${with_gnu_ld+set}" = set; then
4434 withval="$with_gnu_ld"
4435 test "$withval" = no || with_gnu_ld=yes
4436 else
4437 with_gnu_ld=no
4438 fi;
4439 ac_prog=ld
4440 if test "$GCC" = yes; then
4441 # Check if gcc -print-prog-name=ld gives a path.
4442 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4443 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4444 case $host in
4445 *-*-mingw*)
4446 # gcc leaves a trailing carriage return which upsets mingw
4447 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4448 *)
4449 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4450 esac
4451 case $ac_prog in
4452 # Accept absolute paths.
4453 [\\/]* | [A-Za-z]:[\\/]*)
4454 re_direlt='/[^/][^/]*/\.\./'
4455 # Canonicalize the path of ld
4456 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4457 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4458 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4459 done
4460 test -z "$LD" && LD="$ac_prog"
4461 ;;
4462 "")
4463 # If it fails, then pretend we aren't using GCC.
4464 ac_prog=ld
4465 ;;
4466 *)
4467 # If it is relative, then search for the first ld in PATH.
4468 with_gnu_ld=unknown
4469 ;;
4470 esac
4471 elif test "$with_gnu_ld" = yes; then
4472 echo "$as_me:$LINENO: checking for GNU ld" >&5
4473 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4474 else
4475 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4476 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4477 fi
4478 if test "${lt_cv_path_LD+set}" = set; then
4479 echo $ECHO_N "(cached) $ECHO_C" >&6
4480 else
4481 if test -z "$LD"; then
4482 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4483 for ac_dir in $PATH; do
4484 test -z "$ac_dir" && ac_dir=.
4485 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4486 lt_cv_path_LD="$ac_dir/$ac_prog"
4487 # Check to see if the program is GNU ld. I'd rather use --version,
4488 # but apparently some GNU ld's only accept -v.
4489 # Break only if it was the GNU/non-GNU ld that we prefer.
4490 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
4491 test "$with_gnu_ld" != no && break
4492 else
4493 test "$with_gnu_ld" != yes && break
4494 fi
4495 fi
4496 done
4497 IFS="$ac_save_ifs"
4498 else
4499 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4500 fi
4501 fi
4502
4503 LD="$lt_cv_path_LD"
4504 if test -n "$LD"; then
4505 echo "$as_me:$LINENO: result: $LD" >&5
4506 echo "${ECHO_T}$LD" >&6
4507 else
4508 echo "$as_me:$LINENO: result: no" >&5
4509 echo "${ECHO_T}no" >&6
4510 fi
4511 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4512 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4513 { (exit 1); exit 1; }; }
4514 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4515 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4516 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4517 echo $ECHO_N "(cached) $ECHO_C" >&6
4518 else
4519 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4520 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4521 lt_cv_prog_gnu_ld=yes
4522 else
4523 lt_cv_prog_gnu_ld=no
4524 fi
4525 fi
4526 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4527 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4528 with_gnu_ld=$lt_cv_prog_gnu_ld
4529
4530
4531 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4532 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4533 if test "${lt_cv_ld_reload_flag+set}" = set; then
4534 echo $ECHO_N "(cached) $ECHO_C" >&6
4535 else
4536 lt_cv_ld_reload_flag='-r'
4537 fi
4538 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4539 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4540 reload_flag=$lt_cv_ld_reload_flag
4541 test -n "$reload_flag" && reload_flag=" $reload_flag"
4542
4543 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4544 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4545 if test "${lt_cv_path_NM+set}" = set; then
4546 echo $ECHO_N "(cached) $ECHO_C" >&6
4547 else
4548 if test -n "$NM"; then
4549 # Let the user override the test.
4550 lt_cv_path_NM="$NM"
4551 else
4552 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4553 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4554 test -z "$ac_dir" && ac_dir=.
4555 tmp_nm=$ac_dir/${ac_tool_prefix}nm
4556 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
4557 # Check to see if the nm accepts a BSD-compat flag.
4558 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4559 # nm: unknown option "B" ignored
4560 # Tru64's nm complains that /dev/null is an invalid object file
4561 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
4562 lt_cv_path_NM="$tmp_nm -B"
4563 break
4564 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
4565 lt_cv_path_NM="$tmp_nm -p"
4566 break
4567 else
4568 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4569 continue # so that we can try to find one that supports BSD flags
4570 fi
4571 fi
4572 done
4573 IFS="$ac_save_ifs"
4574 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4575 fi
4576 fi
4577
4578 NM="$lt_cv_path_NM"
4579 echo "$as_me:$LINENO: result: $NM" >&5
4580 echo "${ECHO_T}$NM" >&6
4581
4582 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4583 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4584 if test "${lt_cv_deplibs_check_method+set}" = set; then
4585 echo $ECHO_N "(cached) $ECHO_C" >&6
4586 else
4587 lt_cv_file_magic_cmd='$MAGIC_CMD'
4588 lt_cv_file_magic_test_file=
4589 lt_cv_deplibs_check_method='unknown'
4590 # Need to set the preceding variable on all platforms that support
4591 # interlibrary dependencies.
4592 # 'none' -- dependencies not supported.
4593 # `unknown' -- same as none, but documents that we really don't know.
4594 # 'pass_all' -- all dependencies passed with no checks.
4595 # 'test_compile' -- check by making test program.
4596 # 'file_magic [regex]' -- check by looking for files in library path
4597 # which responds to the $file_magic_cmd with a given egrep regex.
4598 # If you have `file' or equivalent on your system and you're not sure
4599 # whether `pass_all' will *always* work, you probably want this one.
4600
4601 case $host_os in
4602 aix*)
4603 lt_cv_deplibs_check_method=pass_all
4604 ;;
4605
4606 beos*)
4607 lt_cv_deplibs_check_method=pass_all
4608 ;;
4609
4610 bsdi4*)
4611 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4612 lt_cv_file_magic_cmd='/usr/bin/file -L'
4613 lt_cv_file_magic_test_file=/shlib/libc.so
4614 ;;
4615
4616 cygwin* | mingw* |pw32*)
4617 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4618 lt_cv_file_magic_cmd='$OBJDUMP -f'
4619 ;;
4620
4621 darwin* | rhapsody*)
4622 # this will be overwritten by pass_all, but leave it in just in case
4623 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4624 lt_cv_file_magic_cmd='/usr/bin/file -L'
4625 case "$host_os" in
4626 rhapsody* | darwin1.012)
4627 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
4628 ;;
4629 *) # Darwin 1.3 on
4630 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4631 ;;
4632 esac
4633 lt_cv_deplibs_check_method=pass_all
4634 ;;
4635
4636 freebsd* | kfreebsd*-gnu)
4637 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4638 case $host_cpu in
4639 i*86 )
4640 # Not sure whether the presence of OpenBSD here was a mistake.
4641 # Let's accept both of them until this is cleared up.
4642 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4643 lt_cv_file_magic_cmd=/usr/bin/file
4644 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4645 ;;
4646 esac
4647 else
4648 lt_cv_deplibs_check_method=pass_all
4649 fi
4650 ;;
4651
4652 gnu*)
4653 lt_cv_deplibs_check_method=pass_all
4654 ;;
4655
4656 hpux10.20*|hpux11*)
4657 case $host_cpu in
4658 hppa*)
4659 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4660 lt_cv_file_magic_cmd=/usr/bin/file
4661 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4662 ;;
4663 ia64*)
4664 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4665 lt_cv_file_magic_cmd=/usr/bin/file
4666 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4667 ;;
4668 esac
4669 ;;
4670
4671 irix5* | irix6*)
4672 case $host_os in
4673 irix5*)
4674 # this will be overridden with pass_all, but let us keep it just in case
4675 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4676 ;;
4677 *)
4678 case $LD in
4679 *-32|*"-32 ") libmagic=32-bit;;
4680 *-n32|*"-n32 ") libmagic=N32;;
4681 *-64|*"-64 ") libmagic=64-bit;;
4682 *) libmagic=never-match;;
4683 esac
4684 # this will be overridden with pass_all, but let us keep it just in case
4685 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4686 ;;
4687 esac
4688 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4689 lt_cv_deplibs_check_method=pass_all
4690 ;;
4691
4692 # This must be Linux ELF.
4693 linux-gnu*)
4694 lt_cv_deplibs_check_method=pass_all
4695 ;;
4696
4697 netbsd* | knetbsd*-gnu)
4698 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4699 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4700 else
4701 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4702 fi
4703 ;;
4704
4705 newsos6)
4706 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4707 lt_cv_file_magic_cmd=/usr/bin/file
4708 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4709 ;;
4710
4711 osf3* | osf4* | osf5*)
4712 # this will be overridden with pass_all, but let us keep it just in case
4713 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4714 lt_cv_file_magic_test_file=/shlib/libc.so
4715 lt_cv_deplibs_check_method=pass_all
4716 ;;
4717
4718 sco3.2v5*)
4719 lt_cv_deplibs_check_method=pass_all
4720 ;;
4721
4722 solaris*)
4723 lt_cv_deplibs_check_method=pass_all
4724 lt_cv_file_magic_test_file=/lib/libc.so
4725 ;;
4726
4727 sysv5uw[78]* | sysv4*uw2*)
4728 lt_cv_deplibs_check_method=pass_all
4729 ;;
4730
4731 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4732 case $host_vendor in
4733 ncr)
4734 lt_cv_deplibs_check_method=pass_all
4735 ;;
4736 motorola)
4737 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]'
4738 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4739 ;;
4740 esac
4741 ;;
4742 esac
4743
4744 fi
4745 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4746 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4747 file_magic_cmd=$lt_cv_file_magic_cmd
4748 deplibs_check_method=$lt_cv_deplibs_check_method
4749
4750
4751
4752
4753 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4754
4755 # find the maximum length of command line arguments
4756 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4757 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4758 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4759 echo $ECHO_N "(cached) $ECHO_C" >&6
4760 else
4761 i=0
4762 teststring="ABCD"
4763
4764 case $build_os in
4765 msdosdjgpp*)
4766 # On DJGPP, this test can blow up pretty badly due to problems in libc
4767 # (any single argument exceeding 2000 bytes causes a buffer overrun
4768 # during glob expansion). Even if it were fixed, the result of this
4769 # check would be larger than it should be.
4770 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4771 ;;
4772
4773 cygwin* | mingw*)
4774 # On Win9x/ME, this test blows up -- it succeeds, but takes
4775 # about 5 minutes as the teststring grows exponentially.
4776 # Worse, since 9x/ME are not pre-emptively multitasking,
4777 # you end up with a "frozen" computer, even though with patience
4778 # the test eventually succeeds (with a max line length of 256k).
4779 # Instead, let's just punt: use the minimum linelength reported by
4780 # all of the supported platforms: 8192 (on NT/2K/XP).
4781 lt_cv_sys_max_cmd_len=8192;
4782 ;;
4783
4784 amigaos*)
4785 # On AmigaOS with pdksh, this test takes hours, literally.
4786 # So we just punt and use a minimum line length of 8192.
4787 lt_cv_sys_max_cmd_len=8192;
4788 ;;
4789
4790 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4791 # This has been around since 386BSD, at least. Likely further.
4792 if test -x /sbin/sysctl; then
4793 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4794 elif test -x /usr/sbin/sysctl; then
4795 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4796 else
4797 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
4798 fi
4799 # And add a safety zone
4800 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4801 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4802 ;;
4803 esac
4804
4805 fi
4806
4807 if test -n "$lt_cv_sys_max_cmd_len" ; then
4808 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4809 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4810 else
4811 echo "$as_me:$LINENO: result: none" >&5
4812 echo "${ECHO_T}none" >&6
4813 fi
4814
4815
4816 # Only perform the check for file, if the check method requires it
4817 case $deplibs_check_method in
4818 file_magic*)
4819 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4820 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4821 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4822 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4823 echo $ECHO_N "(cached) $ECHO_C" >&6
4824 else
4825 case $MAGIC_CMD in
4826 /*)
4827 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4828 ;;
4829 ?:/*)
4830 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4831 ;;
4832 *)
4833 ac_save_MAGIC_CMD="$MAGIC_CMD"
4834 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4835 ac_dummy="/usr/bin:$PATH"
4836 for ac_dir in $ac_dummy; do
4837 test -z "$ac_dir" && ac_dir=.
4838 if test -f $ac_dir/${ac_tool_prefix}file; then
4839 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4840 if test -n "$file_magic_test_file"; then
4841 case $deplibs_check_method in
4842 "file_magic "*)
4843 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4844 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4845 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4846 egrep "$file_magic_regex" > /dev/null; then
4847 :
4848 else
4849 cat <<EOF 1>&2
4850
4851 *** Warning: the command libtool uses to detect shared libraries,
4852 *** $file_magic_cmd, produces output that libtool cannot recognize.
4853 *** The result is that libtool may fail to recognize shared libraries
4854 *** as such. This will affect the creation of libtool libraries that
4855 *** depend on shared libraries, but programs linked with such libtool
4856 *** libraries will work regardless of this problem. Nevertheless, you
4857 *** may want to report the problem to your system manager and/or to
4858 *** bug-libtool@gnu.org
4859
4860 EOF
4861 fi ;;
4862 esac
4863 fi
4864 break
4865 fi
4866 done
4867 IFS="$ac_save_ifs"
4868 MAGIC_CMD="$ac_save_MAGIC_CMD"
4869 ;;
4870 esac
4871 fi
4872
4873 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4874 if test -n "$MAGIC_CMD"; then
4875 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4876 echo "${ECHO_T}$MAGIC_CMD" >&6
4877 else
4878 echo "$as_me:$LINENO: result: no" >&5
4879 echo "${ECHO_T}no" >&6
4880 fi
4881
4882 if test -z "$lt_cv_path_MAGIC_CMD"; then
4883 if test -n "$ac_tool_prefix"; then
4884 echo "$as_me:$LINENO: checking for file" >&5
4885 echo $ECHO_N "checking for file... $ECHO_C" >&6
4886 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4887 echo $ECHO_N "(cached) $ECHO_C" >&6
4888 else
4889 case $MAGIC_CMD in
4890 /*)
4891 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4892 ;;
4893 ?:/*)
4894 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4895 ;;
4896 *)
4897 ac_save_MAGIC_CMD="$MAGIC_CMD"
4898 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4899 ac_dummy="/usr/bin:$PATH"
4900 for ac_dir in $ac_dummy; do
4901 test -z "$ac_dir" && ac_dir=.
4902 if test -f $ac_dir/file; then
4903 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4904 if test -n "$file_magic_test_file"; then
4905 case $deplibs_check_method in
4906 "file_magic "*)
4907 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4908 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4909 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4910 egrep "$file_magic_regex" > /dev/null; then
4911 :
4912 else
4913 cat <<EOF 1>&2
4914
4915 *** Warning: the command libtool uses to detect shared libraries,
4916 *** $file_magic_cmd, produces output that libtool cannot recognize.
4917 *** The result is that libtool may fail to recognize shared libraries
4918 *** as such. This will affect the creation of libtool libraries that
4919 *** depend on shared libraries, but programs linked with such libtool
4920 *** libraries will work regardless of this problem. Nevertheless, you
4921 *** may want to report the problem to your system manager and/or to
4922 *** bug-libtool@gnu.org
4923
4924 EOF
4925 fi ;;
4926 esac
4927 fi
4928 break
4929 fi
4930 done
4931 IFS="$ac_save_ifs"
4932 MAGIC_CMD="$ac_save_MAGIC_CMD"
4933 ;;
4934 esac
4935 fi
4936
4937 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4938 if test -n "$MAGIC_CMD"; then
4939 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4940 echo "${ECHO_T}$MAGIC_CMD" >&6
4941 else
4942 echo "$as_me:$LINENO: result: no" >&5
4943 echo "${ECHO_T}no" >&6
4944 fi
4945
4946 else
4947 MAGIC_CMD=:
4948 fi
4949 fi
4950
4951 fi
4952 ;;
4953 esac
4954
4955 if test -n "$ac_tool_prefix"; then
4956 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4957 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4958 echo "$as_me:$LINENO: checking for $ac_word" >&5
4959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4960 if test "${ac_cv_prog_RANLIB+set}" = set; then
4961 echo $ECHO_N "(cached) $ECHO_C" >&6
4962 else
4963 if test -n "$RANLIB"; then
4964 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4965 else
4966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4967 for as_dir in $PATH
4968 do
4969 IFS=$as_save_IFS
4970 test -z "$as_dir" && as_dir=.
4971 for ac_exec_ext in '' $ac_executable_extensions; do
4972 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4973 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4975 break 2
4976 fi
4977 done
4978 done
4979
4980 fi
4981 fi
4982 RANLIB=$ac_cv_prog_RANLIB
4983 if test -n "$RANLIB"; then
4984 echo "$as_me:$LINENO: result: $RANLIB" >&5
4985 echo "${ECHO_T}$RANLIB" >&6
4986 else
4987 echo "$as_me:$LINENO: result: no" >&5
4988 echo "${ECHO_T}no" >&6
4989 fi
4990
4991 fi
4992 if test -z "$ac_cv_prog_RANLIB"; then
4993 ac_ct_RANLIB=$RANLIB
4994 # Extract the first word of "ranlib", so it can be a program name with args.
4995 set dummy ranlib; ac_word=$2
4996 echo "$as_me:$LINENO: checking for $ac_word" >&5
4997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4998 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4999 echo $ECHO_N "(cached) $ECHO_C" >&6
5000 else
5001 if test -n "$ac_ct_RANLIB"; then
5002 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5003 else
5004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5005 for as_dir in $PATH
5006 do
5007 IFS=$as_save_IFS
5008 test -z "$as_dir" && as_dir=.
5009 for ac_exec_ext in '' $ac_executable_extensions; do
5010 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5011 ac_cv_prog_ac_ct_RANLIB="ranlib"
5012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5013 break 2
5014 fi
5015 done
5016 done
5017
5018 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5019 fi
5020 fi
5021 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5022 if test -n "$ac_ct_RANLIB"; then
5023 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5024 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5025 else
5026 echo "$as_me:$LINENO: result: no" >&5
5027 echo "${ECHO_T}no" >&6
5028 fi
5029
5030 RANLIB=$ac_ct_RANLIB
5031 else
5032 RANLIB="$ac_cv_prog_RANLIB"
5033 fi
5034
5035 if test -n "$ac_tool_prefix"; then
5036 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5037 set dummy ${ac_tool_prefix}strip; ac_word=$2
5038 echo "$as_me:$LINENO: checking for $ac_word" >&5
5039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5040 if test "${ac_cv_prog_STRIP+set}" = set; then
5041 echo $ECHO_N "(cached) $ECHO_C" >&6
5042 else
5043 if test -n "$STRIP"; then
5044 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5045 else
5046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5047 for as_dir in $PATH
5048 do
5049 IFS=$as_save_IFS
5050 test -z "$as_dir" && as_dir=.
5051 for ac_exec_ext in '' $ac_executable_extensions; do
5052 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5053 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5055 break 2
5056 fi
5057 done
5058 done
5059
5060 fi
5061 fi
5062 STRIP=$ac_cv_prog_STRIP
5063 if test -n "$STRIP"; then
5064 echo "$as_me:$LINENO: result: $STRIP" >&5
5065 echo "${ECHO_T}$STRIP" >&6
5066 else
5067 echo "$as_me:$LINENO: result: no" >&5
5068 echo "${ECHO_T}no" >&6
5069 fi
5070
5071 fi
5072 if test -z "$ac_cv_prog_STRIP"; then
5073 ac_ct_STRIP=$STRIP
5074 # Extract the first word of "strip", so it can be a program name with args.
5075 set dummy strip; ac_word=$2
5076 echo "$as_me:$LINENO: checking for $ac_word" >&5
5077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5078 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5079 echo $ECHO_N "(cached) $ECHO_C" >&6
5080 else
5081 if test -n "$ac_ct_STRIP"; then
5082 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5083 else
5084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5085 for as_dir in $PATH
5086 do
5087 IFS=$as_save_IFS
5088 test -z "$as_dir" && as_dir=.
5089 for ac_exec_ext in '' $ac_executable_extensions; do
5090 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5091 ac_cv_prog_ac_ct_STRIP="strip"
5092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5093 break 2
5094 fi
5095 done
5096 done
5097
5098 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5099 fi
5100 fi
5101 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5102 if test -n "$ac_ct_STRIP"; then
5103 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5104 echo "${ECHO_T}$ac_ct_STRIP" >&6
5105 else
5106 echo "$as_me:$LINENO: result: no" >&5
5107 echo "${ECHO_T}no" >&6
5108 fi
5109
5110 STRIP=$ac_ct_STRIP
5111 else
5112 STRIP="$ac_cv_prog_STRIP"
5113 fi
5114
5115
5116 # Check for any special flags to pass to ltconfig.
5117 libtool_flags="--cache-file=$cache_file"
5118 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
5119 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
5120 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
5121 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
5122 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
5123
5124
5125 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5126 if test "${enable_libtool_lock+set}" = set; then
5127 enableval="$enable_libtool_lock"
5128
5129 fi;
5130 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
5131 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
5132
5133
5134 # Check whether --with-pic or --without-pic was given.
5135 if test "${with_pic+set}" = set; then
5136 withval="$with_pic"
5137 pic_mode="$withval"
5138 else
5139 pic_mode=default
5140 fi;
5141 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
5142 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
5143
5144 # Some flags need to be propagated to the compiler or linker for good
5145 # libtool support.
5146 case $host in
5147 *-*-irix6*)
5148 # Find out which ABI we are using.
5149 echo '#line 5149 "configure"' > conftest.$ac_ext
5150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5151 (eval $ac_compile) 2>&5
5152 ac_status=$?
5153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5154 (exit $ac_status); }; then
5155 if test "$lt_cv_prog_gnu_ld" = yes; then
5156 case `/usr/bin/file conftest.$ac_objext` in
5157 *32-bit*)
5158 LD="${LD-ld} -melf32bsmip"
5159 ;;
5160 *N32*)
5161 LD="${LD-ld} -melf32bmipn32"
5162 ;;
5163 *64-bit*)
5164 LD="${LD-ld} -melf64bmip"
5165 ;;
5166 esac
5167 else
5168 case `/usr/bin/file conftest.$ac_objext` in
5169 *32-bit*)
5170 LD="${LD-ld} -32"
5171 ;;
5172 *N32*)
5173 LD="${LD-ld} -n32"
5174 ;;
5175 *64-bit*)
5176 LD="${LD-ld} -64"
5177 ;;
5178 esac
5179 fi
5180 fi
5181 rm -rf conftest*
5182 ;;
5183
5184 ia64-*-hpux*)
5185 # Find out which ABI we are using.
5186 echo 'int i;' > conftest.$ac_ext
5187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5188 (eval $ac_compile) 2>&5
5189 ac_status=$?
5190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5191 (exit $ac_status); }; then
5192 case "`/usr/bin/file conftest.o`" in
5193 *ELF-32*)
5194 HPUX_IA64_MODE="32"
5195 ;;
5196 *ELF-64*)
5197 HPUX_IA64_MODE="64"
5198 ;;
5199 esac
5200 fi
5201 rm -rf conftest*
5202 ;;
5203
5204 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
5205 # Find out which ABI we are using.
5206 echo 'int i;' > conftest.$ac_ext
5207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5208 (eval $ac_compile) 2>&5
5209 ac_status=$?
5210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5211 (exit $ac_status); }; then
5212 case "`/usr/bin/file conftest.o`" in
5213 *32-bit*)
5214 case $host in
5215 x86_64-*linux*)
5216 LD="${LD-ld} -m elf_i386"
5217 ;;
5218 ppc64-*linux*|powerpc64-*linux*)
5219 LD="${LD-ld} -m elf32ppclinux"
5220 ;;
5221 s390x-*linux*)
5222 LD="${LD-ld} -m elf_s390"
5223 ;;
5224 sparc64-*linux*)
5225 LD="${LD-ld} -m elf32_sparc"
5226 ;;
5227 esac
5228 ;;
5229 *64-bit*)
5230 case $host in
5231 x86_64-*linux*)
5232 LD="${LD-ld} -m elf_x86_64"
5233 ;;
5234 ppc*-*linux*|powerpc*-*linux*)
5235 LD="${LD-ld} -m elf64ppc"
5236 ;;
5237 s390*-*linux*)
5238 LD="${LD-ld} -m elf64_s390"
5239 ;;
5240 sparc*-*linux*)
5241 LD="${LD-ld} -m elf64_sparc"
5242 ;;
5243 esac
5244 ;;
5245 esac
5246 fi
5247 rm -rf conftest*
5248 ;;
5249
5250 *-*-sco3.2v5*)
5251 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5252 SAVE_CFLAGS="$CFLAGS"
5253 CFLAGS="$CFLAGS -belf"
5254 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5255 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5256 if test "${lt_cv_cc_needs_belf+set}" = set; then
5257 echo $ECHO_N "(cached) $ECHO_C" >&6
5258 else
5259
5260
5261 ac_ext=c
5262 ac_cpp='$CPP $CPPFLAGS'
5263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5266
5267 cat >conftest.$ac_ext <<_ACEOF
5268 /* confdefs.h. */
5269 _ACEOF
5270 cat confdefs.h >>conftest.$ac_ext
5271 cat >>conftest.$ac_ext <<_ACEOF
5272 /* end confdefs.h. */
5273
5274 int
5275 main ()
5276 {
5277
5278 ;
5279 return 0;
5280 }
5281 _ACEOF
5282 rm -f conftest.$ac_objext conftest$ac_exeext
5283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5284 (eval $ac_link) 2>conftest.er1
5285 ac_status=$?
5286 grep -v '^ *+' conftest.er1 >conftest.err
5287 rm -f conftest.er1
5288 cat conftest.err >&5
5289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5290 (exit $ac_status); } &&
5291 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5293 (eval $ac_try) 2>&5
5294 ac_status=$?
5295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5296 (exit $ac_status); }; } &&
5297 { ac_try='test -s conftest$ac_exeext'
5298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5299 (eval $ac_try) 2>&5
5300 ac_status=$?
5301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5302 (exit $ac_status); }; }; then
5303 lt_cv_cc_needs_belf=yes
5304 else
5305 echo "$as_me: failed program was:" >&5
5306 sed 's/^/| /' conftest.$ac_ext >&5
5307
5308 lt_cv_cc_needs_belf=no
5309 fi
5310 rm -f conftest.err conftest.$ac_objext \
5311 conftest$ac_exeext conftest.$ac_ext
5312 ac_ext=c
5313 ac_cpp='$CPP $CPPFLAGS'
5314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5317
5318 fi
5319 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5320 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5321 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5322 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5323 CFLAGS="$SAVE_CFLAGS"
5324 fi
5325 ;;
5326
5327
5328 esac
5329
5330
5331 # Save cache, so that ltconfig can load it
5332 cat >confcache <<\_ACEOF
5333 # This file is a shell script that caches the results of configure
5334 # tests run on this system so they can be shared between configure
5335 # scripts and configure runs, see configure's option --config-cache.
5336 # It is not useful on other systems. If it contains results you don't
5337 # want to keep, you may remove or edit it.
5338 #
5339 # config.status only pays attention to the cache file if you give it
5340 # the --recheck option to rerun configure.
5341 #
5342 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5343 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5344 # following values.
5345
5346 _ACEOF
5347
5348 # The following way of writing the cache mishandles newlines in values,
5349 # but we know of no workaround that is simple, portable, and efficient.
5350 # So, don't put newlines in cache variables' values.
5351 # Ultrix sh set writes to stderr and can't be redirected directly,
5352 # and sets the high bit in the cache file unless we assign to the vars.
5353 {
5354 (set) 2>&1 |
5355 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5356 *ac_space=\ *)
5357 # `set' does not quote correctly, so add quotes (double-quote
5358 # substitution turns \\\\ into \\, and sed turns \\ into \).
5359 sed -n \
5360 "s/'/'\\\\''/g;
5361 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5362 ;;
5363 *)
5364 # `set' quotes correctly as required by POSIX, so do not add quotes.
5365 sed -n \
5366 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5367 ;;
5368 esac;
5369 } |
5370 sed '
5371 t clear
5372 : clear
5373 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5374 t end
5375 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5376 : end' >>confcache
5377 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5378 if test -w $cache_file; then
5379 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5380 cat confcache >$cache_file
5381 else
5382 echo "not updating unwritable cache $cache_file"
5383 fi
5384 fi
5385 rm -f confcache
5386
5387 # Actually configure libtool. ac_aux_dir is where install-sh is found.
5388 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
5389 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
5390 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
5391 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
5392 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
5393 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
5394 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
5395 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
5396 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
5397 echo "$as_me: error: libtool configure failed" >&2;}
5398 { (exit 1); exit 1; }; }
5399
5400 # Reload cache, that may have been modified by ltconfig
5401 if test -r "$cache_file"; then
5402 # Some versions of bash will fail to source /dev/null (special
5403 # files actually), so we avoid doing that.
5404 if test -f "$cache_file"; then
5405 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
5406 echo "$as_me: loading cache $cache_file" >&6;}
5407 case $cache_file in
5408 [\\/]* | ?:[\\/]* ) . $cache_file;;
5409 *) . ./$cache_file;;
5410 esac
5411 fi
5412 else
5413 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5414 echo "$as_me: creating cache $cache_file" >&6;}
5415 >$cache_file
5416 fi
5417
5418
5419 # This can be used to rebuild libtool when needed
5420 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5421
5422 # Always use our own libtool.
5423 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
5424
5425 # Redirect the config.log output again, so that the ltconfig log is not
5426 # clobbered by the next message.
5427 exec 5>>./config.log
5428
5429
5430
5431
5432
5433
5434 ac_ext=c
5435 ac_cpp='$CPP $CPPFLAGS'
5436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5439 if test -n "$ac_tool_prefix"; then
5440 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5441 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5442 echo "$as_me:$LINENO: checking for $ac_word" >&5
5443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5444 if test "${ac_cv_prog_CC+set}" = set; then
5445 echo $ECHO_N "(cached) $ECHO_C" >&6
5446 else
5447 if test -n "$CC"; then
5448 ac_cv_prog_CC="$CC" # Let the user override the test.
5449 else
5450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5451 for as_dir in $PATH
5452 do
5453 IFS=$as_save_IFS
5454 test -z "$as_dir" && as_dir=.
5455 for ac_exec_ext in '' $ac_executable_extensions; do
5456 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5457 ac_cv_prog_CC="${ac_tool_prefix}gcc"
5458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5459 break 2
5460 fi
5461 done
5462 done
5463
5464 fi
5465 fi
5466 CC=$ac_cv_prog_CC
5467 if test -n "$CC"; then
5468 echo "$as_me:$LINENO: result: $CC" >&5
5469 echo "${ECHO_T}$CC" >&6
5470 else
5471 echo "$as_me:$LINENO: result: no" >&5
5472 echo "${ECHO_T}no" >&6
5473 fi
5474
5475 fi
5476 if test -z "$ac_cv_prog_CC"; then
5477 ac_ct_CC=$CC
5478 # Extract the first word of "gcc", so it can be a program name with args.
5479 set dummy gcc; ac_word=$2
5480 echo "$as_me:$LINENO: checking for $ac_word" >&5
5481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5482 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5483 echo $ECHO_N "(cached) $ECHO_C" >&6
5484 else
5485 if test -n "$ac_ct_CC"; then
5486 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5487 else
5488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5489 for as_dir in $PATH
5490 do
5491 IFS=$as_save_IFS
5492 test -z "$as_dir" && as_dir=.
5493 for ac_exec_ext in '' $ac_executable_extensions; do
5494 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5495 ac_cv_prog_ac_ct_CC="gcc"
5496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5497 break 2
5498 fi
5499 done
5500 done
5501
5502 fi
5503 fi
5504 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5505 if test -n "$ac_ct_CC"; then
5506 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5507 echo "${ECHO_T}$ac_ct_CC" >&6
5508 else
5509 echo "$as_me:$LINENO: result: no" >&5
5510 echo "${ECHO_T}no" >&6
5511 fi
5512
5513 CC=$ac_ct_CC
5514 else
5515 CC="$ac_cv_prog_CC"
5516 fi
5517
5518 if test -z "$CC"; then
5519 if test -n "$ac_tool_prefix"; then
5520 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5521 set dummy ${ac_tool_prefix}cc; ac_word=$2
5522 echo "$as_me:$LINENO: checking for $ac_word" >&5
5523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5524 if test "${ac_cv_prog_CC+set}" = set; then
5525 echo $ECHO_N "(cached) $ECHO_C" >&6
5526 else
5527 if test -n "$CC"; then
5528 ac_cv_prog_CC="$CC" # Let the user override the test.
5529 else
5530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5531 for as_dir in $PATH
5532 do
5533 IFS=$as_save_IFS
5534 test -z "$as_dir" && as_dir=.
5535 for ac_exec_ext in '' $ac_executable_extensions; do
5536 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5537 ac_cv_prog_CC="${ac_tool_prefix}cc"
5538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5539 break 2
5540 fi
5541 done
5542 done
5543
5544 fi
5545 fi
5546 CC=$ac_cv_prog_CC
5547 if test -n "$CC"; then
5548 echo "$as_me:$LINENO: result: $CC" >&5
5549 echo "${ECHO_T}$CC" >&6
5550 else
5551 echo "$as_me:$LINENO: result: no" >&5
5552 echo "${ECHO_T}no" >&6
5553 fi
5554
5555 fi
5556 if test -z "$ac_cv_prog_CC"; then
5557 ac_ct_CC=$CC
5558 # Extract the first word of "cc", so it can be a program name with args.
5559 set dummy cc; ac_word=$2
5560 echo "$as_me:$LINENO: checking for $ac_word" >&5
5561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5562 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5563 echo $ECHO_N "(cached) $ECHO_C" >&6
5564 else
5565 if test -n "$ac_ct_CC"; then
5566 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5567 else
5568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5569 for as_dir in $PATH
5570 do
5571 IFS=$as_save_IFS
5572 test -z "$as_dir" && as_dir=.
5573 for ac_exec_ext in '' $ac_executable_extensions; do
5574 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5575 ac_cv_prog_ac_ct_CC="cc"
5576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5577 break 2
5578 fi
5579 done
5580 done
5581
5582 fi
5583 fi
5584 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5585 if test -n "$ac_ct_CC"; then
5586 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5587 echo "${ECHO_T}$ac_ct_CC" >&6
5588 else
5589 echo "$as_me:$LINENO: result: no" >&5
5590 echo "${ECHO_T}no" >&6
5591 fi
5592
5593 CC=$ac_ct_CC
5594 else
5595 CC="$ac_cv_prog_CC"
5596 fi
5597
5598 fi
5599 if test -z "$CC"; then
5600 # Extract the first word of "cc", so it can be a program name with args.
5601 set dummy cc; ac_word=$2
5602 echo "$as_me:$LINENO: checking for $ac_word" >&5
5603 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5604 if test "${ac_cv_prog_CC+set}" = set; then
5605 echo $ECHO_N "(cached) $ECHO_C" >&6
5606 else
5607 if test -n "$CC"; then
5608 ac_cv_prog_CC="$CC" # Let the user override the test.
5609 else
5610 ac_prog_rejected=no
5611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5612 for as_dir in $PATH
5613 do
5614 IFS=$as_save_IFS
5615 test -z "$as_dir" && as_dir=.
5616 for ac_exec_ext in '' $ac_executable_extensions; do
5617 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5618 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5619 ac_prog_rejected=yes
5620 continue
5621 fi
5622 ac_cv_prog_CC="cc"
5623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5624 break 2
5625 fi
5626 done
5627 done
5628
5629 if test $ac_prog_rejected = yes; then
5630 # We found a bogon in the path, so make sure we never use it.
5631 set dummy $ac_cv_prog_CC
5632 shift
5633 if test $# != 0; then
5634 # We chose a different compiler from the bogus one.
5635 # However, it has the same basename, so the bogon will be chosen
5636 # first if we set CC to just the basename; use the full file name.
5637 shift
5638 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5639 fi
5640 fi
5641 fi
5642 fi
5643 CC=$ac_cv_prog_CC
5644 if test -n "$CC"; then
5645 echo "$as_me:$LINENO: result: $CC" >&5
5646 echo "${ECHO_T}$CC" >&6
5647 else
5648 echo "$as_me:$LINENO: result: no" >&5
5649 echo "${ECHO_T}no" >&6
5650 fi
5651
5652 fi
5653 if test -z "$CC"; then
5654 if test -n "$ac_tool_prefix"; then
5655 for ac_prog in cl
5656 do
5657 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5658 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5659 echo "$as_me:$LINENO: checking for $ac_word" >&5
5660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5661 if test "${ac_cv_prog_CC+set}" = set; then
5662 echo $ECHO_N "(cached) $ECHO_C" >&6
5663 else
5664 if test -n "$CC"; then
5665 ac_cv_prog_CC="$CC" # Let the user override the test.
5666 else
5667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5668 for as_dir in $PATH
5669 do
5670 IFS=$as_save_IFS
5671 test -z "$as_dir" && as_dir=.
5672 for ac_exec_ext in '' $ac_executable_extensions; do
5673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5674 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5676 break 2
5677 fi
5678 done
5679 done
5680
5681 fi
5682 fi
5683 CC=$ac_cv_prog_CC
5684 if test -n "$CC"; then
5685 echo "$as_me:$LINENO: result: $CC" >&5
5686 echo "${ECHO_T}$CC" >&6
5687 else
5688 echo "$as_me:$LINENO: result: no" >&5
5689 echo "${ECHO_T}no" >&6
5690 fi
5691
5692 test -n "$CC" && break
5693 done
5694 fi
5695 if test -z "$CC"; then
5696 ac_ct_CC=$CC
5697 for ac_prog in cl
5698 do
5699 # Extract the first word of "$ac_prog", so it can be a program name with args.
5700 set dummy $ac_prog; ac_word=$2
5701 echo "$as_me:$LINENO: checking for $ac_word" >&5
5702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5703 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5704 echo $ECHO_N "(cached) $ECHO_C" >&6
5705 else
5706 if test -n "$ac_ct_CC"; then
5707 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5708 else
5709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5710 for as_dir in $PATH
5711 do
5712 IFS=$as_save_IFS
5713 test -z "$as_dir" && as_dir=.
5714 for ac_exec_ext in '' $ac_executable_extensions; do
5715 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5716 ac_cv_prog_ac_ct_CC="$ac_prog"
5717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5718 break 2
5719 fi
5720 done
5721 done
5722
5723 fi
5724 fi
5725 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5726 if test -n "$ac_ct_CC"; then
5727 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5728 echo "${ECHO_T}$ac_ct_CC" >&6
5729 else
5730 echo "$as_me:$LINENO: result: no" >&5
5731 echo "${ECHO_T}no" >&6
5732 fi
5733
5734 test -n "$ac_ct_CC" && break
5735 done
5736
5737 CC=$ac_ct_CC
5738 fi
5739
5740 fi
5741
5742
5743 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5744 See \`config.log' for more details." >&5
5745 echo "$as_me: error: no acceptable C compiler found in \$PATH
5746 See \`config.log' for more details." >&2;}
5747 { (exit 1); exit 1; }; }
5748
5749 # Provide some information about the compiler.
5750 echo "$as_me:$LINENO:" \
5751 "checking for C compiler version" >&5
5752 ac_compiler=`set X $ac_compile; echo $2`
5753 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5754 (eval $ac_compiler --version </dev/null >&5) 2>&5
5755 ac_status=$?
5756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5757 (exit $ac_status); }
5758 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5759 (eval $ac_compiler -v </dev/null >&5) 2>&5
5760 ac_status=$?
5761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5762 (exit $ac_status); }
5763 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5764 (eval $ac_compiler -V </dev/null >&5) 2>&5
5765 ac_status=$?
5766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5767 (exit $ac_status); }
5768
5769 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5770 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
5771 if test "${ac_cv_c_compiler_gnu+set}" = set; then
5772 echo $ECHO_N "(cached) $ECHO_C" >&6
5773 else
5774 cat >conftest.$ac_ext <<_ACEOF
5775 /* confdefs.h. */
5776 _ACEOF
5777 cat confdefs.h >>conftest.$ac_ext
5778 cat >>conftest.$ac_ext <<_ACEOF
5779 /* end confdefs.h. */
5780
5781 int
5782 main ()
5783 {
5784 #ifndef __GNUC__
5785 choke me
5786 #endif
5787
5788 ;
5789 return 0;
5790 }
5791 _ACEOF
5792 rm -f conftest.$ac_objext
5793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5794 (eval $ac_compile) 2>conftest.er1
5795 ac_status=$?
5796 grep -v '^ *+' conftest.er1 >conftest.err
5797 rm -f conftest.er1
5798 cat conftest.err >&5
5799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5800 (exit $ac_status); } &&
5801 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5803 (eval $ac_try) 2>&5
5804 ac_status=$?
5805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5806 (exit $ac_status); }; } &&
5807 { ac_try='test -s conftest.$ac_objext'
5808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5809 (eval $ac_try) 2>&5
5810 ac_status=$?
5811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5812 (exit $ac_status); }; }; then
5813 ac_compiler_gnu=yes
5814 else
5815 echo "$as_me: failed program was:" >&5
5816 sed 's/^/| /' conftest.$ac_ext >&5
5817
5818 ac_compiler_gnu=no
5819 fi
5820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5821 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5822
5823 fi
5824 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5825 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
5826 GCC=`test $ac_compiler_gnu = yes && echo yes`
5827 ac_test_CFLAGS=${CFLAGS+set}
5828 ac_save_CFLAGS=$CFLAGS
5829 CFLAGS="-g"
5830 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5831 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
5832 if test "${ac_cv_prog_cc_g+set}" = set; then
5833 echo $ECHO_N "(cached) $ECHO_C" >&6
5834 else
5835 cat >conftest.$ac_ext <<_ACEOF
5836 /* confdefs.h. */
5837 _ACEOF
5838 cat confdefs.h >>conftest.$ac_ext
5839 cat >>conftest.$ac_ext <<_ACEOF
5840 /* end confdefs.h. */
5841
5842 int
5843 main ()
5844 {
5845
5846 ;
5847 return 0;
5848 }
5849 _ACEOF
5850 rm -f conftest.$ac_objext
5851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5852 (eval $ac_compile) 2>conftest.er1
5853 ac_status=$?
5854 grep -v '^ *+' conftest.er1 >conftest.err
5855 rm -f conftest.er1
5856 cat conftest.err >&5
5857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5858 (exit $ac_status); } &&
5859 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5861 (eval $ac_try) 2>&5
5862 ac_status=$?
5863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5864 (exit $ac_status); }; } &&
5865 { ac_try='test -s conftest.$ac_objext'
5866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5867 (eval $ac_try) 2>&5
5868 ac_status=$?
5869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5870 (exit $ac_status); }; }; then
5871 ac_cv_prog_cc_g=yes
5872 else
5873 echo "$as_me: failed program was:" >&5
5874 sed 's/^/| /' conftest.$ac_ext >&5
5875
5876 ac_cv_prog_cc_g=no
5877 fi
5878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5879 fi
5880 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5881 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
5882 if test "$ac_test_CFLAGS" = set; then
5883 CFLAGS=$ac_save_CFLAGS
5884 elif test $ac_cv_prog_cc_g = yes; then
5885 if test "$GCC" = yes; then
5886 CFLAGS="-g -O2"
5887 else
5888 CFLAGS="-g"
5889 fi
5890 else
5891 if test "$GCC" = yes; then
5892 CFLAGS="-O2"
5893 else
5894 CFLAGS=
5895 fi
5896 fi
5897 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
5898 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
5899 if test "${ac_cv_prog_cc_stdc+set}" = set; then
5900 echo $ECHO_N "(cached) $ECHO_C" >&6
5901 else
5902 ac_cv_prog_cc_stdc=no
5903 ac_save_CC=$CC
5904 cat >conftest.$ac_ext <<_ACEOF
5905 /* confdefs.h. */
5906 _ACEOF
5907 cat confdefs.h >>conftest.$ac_ext
5908 cat >>conftest.$ac_ext <<_ACEOF
5909 /* end confdefs.h. */
5910 #include <stdarg.h>
5911 #include <stdio.h>
5912 #include <sys/types.h>
5913 #include <sys/stat.h>
5914 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5915 struct buf { int x; };
5916 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5917 static char *e (p, i)
5918 char **p;
5919 int i;
5920 {
5921 return p[i];
5922 }
5923 static char *f (char * (*g) (char **, int), char **p, ...)
5924 {
5925 char *s;
5926 va_list v;
5927 va_start (v,p);
5928 s = g (p, va_arg (v,int));
5929 va_end (v);
5930 return s;
5931 }
5932
5933 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5934 function prototypes and stuff, but not '\xHH' hex character constants.
5935 These don't provoke an error unfortunately, instead are silently treated
5936 as 'x'. The following induces an error, until -std1 is added to get
5937 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5938 array size at least. It's necessary to write '\x00'==0 to get something
5939 that's true only with -std1. */
5940 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5941
5942 int test (int i, double x);
5943 struct s1 {int (*f) (int a);};
5944 struct s2 {int (*f) (double a);};
5945 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5946 int argc;
5947 char **argv;
5948 int
5949 main ()
5950 {
5951 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5952 ;
5953 return 0;
5954 }
5955 _ACEOF
5956 # Don't try gcc -ansi; that turns off useful extensions and
5957 # breaks some systems' header files.
5958 # AIX -qlanglvl=ansi
5959 # Ultrix and OSF/1 -std1
5960 # HP-UX 10.20 and later -Ae
5961 # HP-UX older versions -Aa -D_HPUX_SOURCE
5962 # SVR4 -Xc -D__EXTENSIONS__
5963 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5964 do
5965 CC="$ac_save_CC $ac_arg"
5966 rm -f conftest.$ac_objext
5967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5968 (eval $ac_compile) 2>conftest.er1
5969 ac_status=$?
5970 grep -v '^ *+' conftest.er1 >conftest.err
5971 rm -f conftest.er1
5972 cat conftest.err >&5
5973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5974 (exit $ac_status); } &&
5975 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5977 (eval $ac_try) 2>&5
5978 ac_status=$?
5979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5980 (exit $ac_status); }; } &&
5981 { ac_try='test -s conftest.$ac_objext'
5982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5983 (eval $ac_try) 2>&5
5984 ac_status=$?
5985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5986 (exit $ac_status); }; }; then
5987 ac_cv_prog_cc_stdc=$ac_arg
5988 break
5989 else
5990 echo "$as_me: failed program was:" >&5
5991 sed 's/^/| /' conftest.$ac_ext >&5
5992
5993 fi
5994 rm -f conftest.err conftest.$ac_objext
5995 done
5996 rm -f conftest.$ac_ext conftest.$ac_objext
5997 CC=$ac_save_CC
5998
5999 fi
6000
6001 case "x$ac_cv_prog_cc_stdc" in
6002 x|xno)
6003 echo "$as_me:$LINENO: result: none needed" >&5
6004 echo "${ECHO_T}none needed" >&6 ;;
6005 *)
6006 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
6007 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
6008 CC="$CC $ac_cv_prog_cc_stdc" ;;
6009 esac
6010
6011 # Some people use a C++ compiler to compile C. Since we use `exit',
6012 # in C++ we need to declare it. In case someone uses the same compiler
6013 # for both compiling C and C++ we need to have the C++ compiler decide
6014 # the declaration of exit, since it's the most demanding environment.
6015 cat >conftest.$ac_ext <<_ACEOF
6016 #ifndef __cplusplus
6017 choke me
6018 #endif
6019 _ACEOF
6020 rm -f conftest.$ac_objext
6021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6022 (eval $ac_compile) 2>conftest.er1
6023 ac_status=$?
6024 grep -v '^ *+' conftest.er1 >conftest.err
6025 rm -f conftest.er1
6026 cat conftest.err >&5
6027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6028 (exit $ac_status); } &&
6029 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6031 (eval $ac_try) 2>&5
6032 ac_status=$?
6033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6034 (exit $ac_status); }; } &&
6035 { ac_try='test -s conftest.$ac_objext'
6036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6037 (eval $ac_try) 2>&5
6038 ac_status=$?
6039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6040 (exit $ac_status); }; }; then
6041 for ac_declaration in \
6042 '' \
6043 'extern "C" void std::exit (int) throw (); using std::exit;' \
6044 'extern "C" void std::exit (int); using std::exit;' \
6045 'extern "C" void exit (int) throw ();' \
6046 'extern "C" void exit (int);' \
6047 'void exit (int);'
6048 do
6049 cat >conftest.$ac_ext <<_ACEOF
6050 /* confdefs.h. */
6051 _ACEOF
6052 cat confdefs.h >>conftest.$ac_ext
6053 cat >>conftest.$ac_ext <<_ACEOF
6054 /* end confdefs.h. */
6055 $ac_declaration
6056 #include <stdlib.h>
6057 int
6058 main ()
6059 {
6060 exit (42);
6061 ;
6062 return 0;
6063 }
6064 _ACEOF
6065 rm -f conftest.$ac_objext
6066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6067 (eval $ac_compile) 2>conftest.er1
6068 ac_status=$?
6069 grep -v '^ *+' conftest.er1 >conftest.err
6070 rm -f conftest.er1
6071 cat conftest.err >&5
6072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6073 (exit $ac_status); } &&
6074 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6076 (eval $ac_try) 2>&5
6077 ac_status=$?
6078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6079 (exit $ac_status); }; } &&
6080 { ac_try='test -s conftest.$ac_objext'
6081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6082 (eval $ac_try) 2>&5
6083 ac_status=$?
6084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6085 (exit $ac_status); }; }; then
6086 :
6087 else
6088 echo "$as_me: failed program was:" >&5
6089 sed 's/^/| /' conftest.$ac_ext >&5
6090
6091 continue
6092 fi
6093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6094 cat >conftest.$ac_ext <<_ACEOF
6095 /* confdefs.h. */
6096 _ACEOF
6097 cat confdefs.h >>conftest.$ac_ext
6098 cat >>conftest.$ac_ext <<_ACEOF
6099 /* end confdefs.h. */
6100 $ac_declaration
6101 int
6102 main ()
6103 {
6104 exit (42);
6105 ;
6106 return 0;
6107 }
6108 _ACEOF
6109 rm -f conftest.$ac_objext
6110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6111 (eval $ac_compile) 2>conftest.er1
6112 ac_status=$?
6113 grep -v '^ *+' conftest.er1 >conftest.err
6114 rm -f conftest.er1
6115 cat conftest.err >&5
6116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6117 (exit $ac_status); } &&
6118 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6120 (eval $ac_try) 2>&5
6121 ac_status=$?
6122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6123 (exit $ac_status); }; } &&
6124 { ac_try='test -s conftest.$ac_objext'
6125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6126 (eval $ac_try) 2>&5
6127 ac_status=$?
6128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6129 (exit $ac_status); }; }; then
6130 break
6131 else
6132 echo "$as_me: failed program was:" >&5
6133 sed 's/^/| /' conftest.$ac_ext >&5
6134
6135 fi
6136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6137 done
6138 rm -f conftest*
6139 if test -n "$ac_declaration"; then
6140 echo '#ifdef __cplusplus' >>confdefs.h
6141 echo $ac_declaration >>confdefs.h
6142 echo '#endif' >>confdefs.h
6143 fi
6144
6145 else
6146 echo "$as_me: failed program was:" >&5
6147 sed 's/^/| /' conftest.$ac_ext >&5
6148
6149 fi
6150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6151 ac_ext=c
6152 ac_cpp='$CPP $CPPFLAGS'
6153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6156
6157 depcc="$CC" am_compiler_list=
6158
6159 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6160 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6161 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
6162 echo $ECHO_N "(cached) $ECHO_C" >&6
6163 else
6164 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6165 # We make a subdir and do the tests there. Otherwise we can end up
6166 # making bogus files that we don't know about and never remove. For
6167 # instance it was reported that on HP-UX the gcc test will end up
6168 # making a dummy file named `D' -- because `-MD' means `put the output
6169 # in D'.
6170 mkdir conftest.dir
6171 # Copy depcomp to subdir because otherwise we won't find it if we're
6172 # using a relative directory.
6173 cp "$am_depcomp" conftest.dir
6174 cd conftest.dir
6175 # We will build objects and dependencies in a subdirectory because
6176 # it helps to detect inapplicable dependency modes. For instance
6177 # both Tru64's cc and ICC support -MD to output dependencies as a
6178 # side effect of compilation, but ICC will put the dependencies in
6179 # the current directory while Tru64 will put them in the object
6180 # directory.
6181 mkdir sub
6182
6183 am_cv_CC_dependencies_compiler_type=none
6184 if test "$am_compiler_list" = ""; then
6185 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6186 fi
6187 for depmode in $am_compiler_list; do
6188 # Setup a source with many dependencies, because some compilers
6189 # like to wrap large dependency lists on column 80 (with \), and
6190 # we should not choose a depcomp mode which is confused by this.
6191 #
6192 # We need to recreate these files for each test, as the compiler may
6193 # overwrite some of them when testing with obscure command lines.
6194 # This happens at least with the AIX C compiler.
6195 : > sub/conftest.c
6196 for i in 1 2 3 4 5 6; do
6197 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6198 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6199 # Solaris 8's {/usr,}/bin/sh.
6200 touch sub/conftst$i.h
6201 done
6202 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6203
6204 case $depmode in
6205 nosideeffect)
6206 # after this tag, mechanisms are not by side-effect, so they'll
6207 # only be used when explicitly requested
6208 if test "x$enable_dependency_tracking" = xyes; then
6209 continue
6210 else
6211 break
6212 fi
6213 ;;
6214 none) break ;;
6215 esac
6216 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6217 # mode. It turns out that the SunPro C++ compiler does not properly
6218 # handle `-M -o', and we need to detect this.
6219 if depmode=$depmode \
6220 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6221 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6222 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6223 >/dev/null 2>conftest.err &&
6224 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6225 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6226 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6227 # icc doesn't choke on unknown options, it will just issue warnings
6228 # or remarks (even with -Werror). So we grep stderr for any message
6229 # that says an option was ignored or not supported.
6230 # When given -MP, icc 7.0 and 7.1 complain thusly:
6231 # icc: Command line warning: ignoring option '-M'; no argument required
6232 # The diagnosis changed in icc 8.0:
6233 # icc: Command line remark: option '-MP' not supported
6234 if (grep 'ignoring option' conftest.err ||
6235 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6236 am_cv_CC_dependencies_compiler_type=$depmode
6237 break
6238 fi
6239 fi
6240 done
6241
6242 cd ..
6243 rm -rf conftest.dir
6244 else
6245 am_cv_CC_dependencies_compiler_type=none
6246 fi
6247
6248 fi
6249 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
6250 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
6251 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6252
6253
6254
6255 if
6256 test "x$enable_dependency_tracking" != xno \
6257 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6258 am__fastdepCC_TRUE=
6259 am__fastdepCC_FALSE='#'
6260 else
6261 am__fastdepCC_TRUE='#'
6262 am__fastdepCC_FALSE=
6263 fi
6264
6265
6266 ac_ext=c
6267 ac_cpp='$CPP $CPPFLAGS'
6268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6271 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6272 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
6273 # On Suns, sometimes $CPP names a directory.
6274 if test -n "$CPP" && test -d "$CPP"; then
6275 CPP=
6276 fi
6277 if test -z "$CPP"; then
6278 if test "${ac_cv_prog_CPP+set}" = set; then
6279 echo $ECHO_N "(cached) $ECHO_C" >&6
6280 else
6281 # Double quotes because CPP needs to be expanded
6282 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6283 do
6284 ac_preproc_ok=false
6285 for ac_c_preproc_warn_flag in '' yes
6286 do
6287 # Use a header file that comes with gcc, so configuring glibc
6288 # with a fresh cross-compiler works.
6289 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6290 # <limits.h> exists even on freestanding compilers.
6291 # On the NeXT, cc -E runs the code through the compiler's parser,
6292 # not just through cpp. "Syntax error" is here to catch this case.
6293 cat >conftest.$ac_ext <<_ACEOF
6294 /* confdefs.h. */
6295 _ACEOF
6296 cat confdefs.h >>conftest.$ac_ext
6297 cat >>conftest.$ac_ext <<_ACEOF
6298 /* end confdefs.h. */
6299 #ifdef __STDC__
6300 # include <limits.h>
6301 #else
6302 # include <assert.h>
6303 #endif
6304 Syntax error
6305 _ACEOF
6306 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6307 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6308 ac_status=$?
6309 grep -v '^ *+' conftest.er1 >conftest.err
6310 rm -f conftest.er1
6311 cat conftest.err >&5
6312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6313 (exit $ac_status); } >/dev/null; then
6314 if test -s conftest.err; then
6315 ac_cpp_err=$ac_c_preproc_warn_flag
6316 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6317 else
6318 ac_cpp_err=
6319 fi
6320 else
6321 ac_cpp_err=yes
6322 fi
6323 if test -z "$ac_cpp_err"; then
6324 :
6325 else
6326 echo "$as_me: failed program was:" >&5
6327 sed 's/^/| /' conftest.$ac_ext >&5
6328
6329 # Broken: fails on valid input.
6330 continue
6331 fi
6332 rm -f conftest.err conftest.$ac_ext
6333
6334 # OK, works on sane cases. Now check whether non-existent headers
6335 # can be detected and how.
6336 cat >conftest.$ac_ext <<_ACEOF
6337 /* confdefs.h. */
6338 _ACEOF
6339 cat confdefs.h >>conftest.$ac_ext
6340 cat >>conftest.$ac_ext <<_ACEOF
6341 /* end confdefs.h. */
6342 #include <ac_nonexistent.h>
6343 _ACEOF
6344 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6345 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6346 ac_status=$?
6347 grep -v '^ *+' conftest.er1 >conftest.err
6348 rm -f conftest.er1
6349 cat conftest.err >&5
6350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6351 (exit $ac_status); } >/dev/null; then
6352 if test -s conftest.err; then
6353 ac_cpp_err=$ac_c_preproc_warn_flag
6354 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6355 else
6356 ac_cpp_err=
6357 fi
6358 else
6359 ac_cpp_err=yes
6360 fi
6361 if test -z "$ac_cpp_err"; then
6362 # Broken: success on invalid input.
6363 continue
6364 else
6365 echo "$as_me: failed program was:" >&5
6366 sed 's/^/| /' conftest.$ac_ext >&5
6367
6368 # Passes both tests.
6369 ac_preproc_ok=:
6370 break
6371 fi
6372 rm -f conftest.err conftest.$ac_ext
6373
6374 done
6375 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6376 rm -f conftest.err conftest.$ac_ext
6377 if $ac_preproc_ok; then
6378 break
6379 fi
6380
6381 done
6382 ac_cv_prog_CPP=$CPP
6383
6384 fi
6385 CPP=$ac_cv_prog_CPP
6386 else
6387 ac_cv_prog_CPP=$CPP
6388 fi
6389 echo "$as_me:$LINENO: result: $CPP" >&5
6390 echo "${ECHO_T}$CPP" >&6
6391 ac_preproc_ok=false
6392 for ac_c_preproc_warn_flag in '' yes
6393 do
6394 # Use a header file that comes with gcc, so configuring glibc
6395 # with a fresh cross-compiler works.
6396 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6397 # <limits.h> exists even on freestanding compilers.
6398 # On the NeXT, cc -E runs the code through the compiler's parser,
6399 # not just through cpp. "Syntax error" is here to catch this case.
6400 cat >conftest.$ac_ext <<_ACEOF
6401 /* confdefs.h. */
6402 _ACEOF
6403 cat confdefs.h >>conftest.$ac_ext
6404 cat >>conftest.$ac_ext <<_ACEOF
6405 /* end confdefs.h. */
6406 #ifdef __STDC__
6407 # include <limits.h>
6408 #else
6409 # include <assert.h>
6410 #endif
6411 Syntax error
6412 _ACEOF
6413 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6414 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6415 ac_status=$?
6416 grep -v '^ *+' conftest.er1 >conftest.err
6417 rm -f conftest.er1
6418 cat conftest.err >&5
6419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6420 (exit $ac_status); } >/dev/null; then
6421 if test -s conftest.err; then
6422 ac_cpp_err=$ac_c_preproc_warn_flag
6423 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6424 else
6425 ac_cpp_err=
6426 fi
6427 else
6428 ac_cpp_err=yes
6429 fi
6430 if test -z "$ac_cpp_err"; then
6431 :
6432 else
6433 echo "$as_me: failed program was:" >&5
6434 sed 's/^/| /' conftest.$ac_ext >&5
6435
6436 # Broken: fails on valid input.
6437 continue
6438 fi
6439 rm -f conftest.err conftest.$ac_ext
6440
6441 # OK, works on sane cases. Now check whether non-existent headers
6442 # can be detected and how.
6443 cat >conftest.$ac_ext <<_ACEOF
6444 /* confdefs.h. */
6445 _ACEOF
6446 cat confdefs.h >>conftest.$ac_ext
6447 cat >>conftest.$ac_ext <<_ACEOF
6448 /* end confdefs.h. */
6449 #include <ac_nonexistent.h>
6450 _ACEOF
6451 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6452 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6453 ac_status=$?
6454 grep -v '^ *+' conftest.er1 >conftest.err
6455 rm -f conftest.er1
6456 cat conftest.err >&5
6457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6458 (exit $ac_status); } >/dev/null; then
6459 if test -s conftest.err; then
6460 ac_cpp_err=$ac_c_preproc_warn_flag
6461 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6462 else
6463 ac_cpp_err=
6464 fi
6465 else
6466 ac_cpp_err=yes
6467 fi
6468 if test -z "$ac_cpp_err"; then
6469 # Broken: success on invalid input.
6470 continue
6471 else
6472 echo "$as_me: failed program was:" >&5
6473 sed 's/^/| /' conftest.$ac_ext >&5
6474
6475 # Passes both tests.
6476 ac_preproc_ok=:
6477 break
6478 fi
6479 rm -f conftest.err conftest.$ac_ext
6480
6481 done
6482 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6483 rm -f conftest.err conftest.$ac_ext
6484 if $ac_preproc_ok; then
6485 :
6486 else
6487 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6488 See \`config.log' for more details." >&5
6489 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6490 See \`config.log' for more details." >&2;}
6491 { (exit 1); exit 1; }; }
6492 fi
6493
6494 ac_ext=c
6495 ac_cpp='$CPP $CPPFLAGS'
6496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6499
6500 ac_ext=cc
6501 ac_cpp='$CXXCPP $CPPFLAGS'
6502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6505 if test -n "$ac_tool_prefix"; then
6506 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6507 do
6508 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6509 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6510 echo "$as_me:$LINENO: checking for $ac_word" >&5
6511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6512 if test "${ac_cv_prog_CXX+set}" = set; then
6513 echo $ECHO_N "(cached) $ECHO_C" >&6
6514 else
6515 if test -n "$CXX"; then
6516 ac_cv_prog_CXX="$CXX" # Let the user override the test.
6517 else
6518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6519 for as_dir in $PATH
6520 do
6521 IFS=$as_save_IFS
6522 test -z "$as_dir" && as_dir=.
6523 for ac_exec_ext in '' $ac_executable_extensions; do
6524 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6525 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6527 break 2
6528 fi
6529 done
6530 done
6531
6532 fi
6533 fi
6534 CXX=$ac_cv_prog_CXX
6535 if test -n "$CXX"; then
6536 echo "$as_me:$LINENO: result: $CXX" >&5
6537 echo "${ECHO_T}$CXX" >&6
6538 else
6539 echo "$as_me:$LINENO: result: no" >&5
6540 echo "${ECHO_T}no" >&6
6541 fi
6542
6543 test -n "$CXX" && break
6544 done
6545 fi
6546 if test -z "$CXX"; then
6547 ac_ct_CXX=$CXX
6548 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6549 do
6550 # Extract the first word of "$ac_prog", so it can be a program name with args.
6551 set dummy $ac_prog; ac_word=$2
6552 echo "$as_me:$LINENO: checking for $ac_word" >&5
6553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6554 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6555 echo $ECHO_N "(cached) $ECHO_C" >&6
6556 else
6557 if test -n "$ac_ct_CXX"; then
6558 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6559 else
6560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6561 for as_dir in $PATH
6562 do
6563 IFS=$as_save_IFS
6564 test -z "$as_dir" && as_dir=.
6565 for ac_exec_ext in '' $ac_executable_extensions; do
6566 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6567 ac_cv_prog_ac_ct_CXX="$ac_prog"
6568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6569 break 2
6570 fi
6571 done
6572 done
6573
6574 fi
6575 fi
6576 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6577 if test -n "$ac_ct_CXX"; then
6578 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6579 echo "${ECHO_T}$ac_ct_CXX" >&6
6580 else
6581 echo "$as_me:$LINENO: result: no" >&5
6582 echo "${ECHO_T}no" >&6
6583 fi
6584
6585 test -n "$ac_ct_CXX" && break
6586 done
6587 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
6588
6589 CXX=$ac_ct_CXX
6590 fi
6591
6592
6593 # Provide some information about the compiler.
6594 echo "$as_me:$LINENO:" \
6595 "checking for C++ compiler version" >&5
6596 ac_compiler=`set X $ac_compile; echo $2`
6597 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6598 (eval $ac_compiler --version </dev/null >&5) 2>&5
6599 ac_status=$?
6600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6601 (exit $ac_status); }
6602 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6603 (eval $ac_compiler -v </dev/null >&5) 2>&5
6604 ac_status=$?
6605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6606 (exit $ac_status); }
6607 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6608 (eval $ac_compiler -V </dev/null >&5) 2>&5
6609 ac_status=$?
6610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6611 (exit $ac_status); }
6612
6613 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6614 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6615 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6616 echo $ECHO_N "(cached) $ECHO_C" >&6
6617 else
6618 cat >conftest.$ac_ext <<_ACEOF
6619 /* confdefs.h. */
6620 _ACEOF
6621 cat confdefs.h >>conftest.$ac_ext
6622 cat >>conftest.$ac_ext <<_ACEOF
6623 /* end confdefs.h. */
6624
6625 int
6626 main ()
6627 {
6628 #ifndef __GNUC__
6629 choke me
6630 #endif
6631
6632 ;
6633 return 0;
6634 }
6635 _ACEOF
6636 rm -f conftest.$ac_objext
6637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6638 (eval $ac_compile) 2>conftest.er1
6639 ac_status=$?
6640 grep -v '^ *+' conftest.er1 >conftest.err
6641 rm -f conftest.er1
6642 cat conftest.err >&5
6643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6644 (exit $ac_status); } &&
6645 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6647 (eval $ac_try) 2>&5
6648 ac_status=$?
6649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6650 (exit $ac_status); }; } &&
6651 { ac_try='test -s conftest.$ac_objext'
6652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6653 (eval $ac_try) 2>&5
6654 ac_status=$?
6655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6656 (exit $ac_status); }; }; then
6657 ac_compiler_gnu=yes
6658 else
6659 echo "$as_me: failed program was:" >&5
6660 sed 's/^/| /' conftest.$ac_ext >&5
6661
6662 ac_compiler_gnu=no
6663 fi
6664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6665 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6666
6667 fi
6668 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6669 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6670 GXX=`test $ac_compiler_gnu = yes && echo yes`
6671 ac_test_CXXFLAGS=${CXXFLAGS+set}
6672 ac_save_CXXFLAGS=$CXXFLAGS
6673 CXXFLAGS="-g"
6674 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6675 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6676 if test "${ac_cv_prog_cxx_g+set}" = set; then
6677 echo $ECHO_N "(cached) $ECHO_C" >&6
6678 else
6679 cat >conftest.$ac_ext <<_ACEOF
6680 /* confdefs.h. */
6681 _ACEOF
6682 cat confdefs.h >>conftest.$ac_ext
6683 cat >>conftest.$ac_ext <<_ACEOF
6684 /* end confdefs.h. */
6685
6686 int
6687 main ()
6688 {
6689
6690 ;
6691 return 0;
6692 }
6693 _ACEOF
6694 rm -f conftest.$ac_objext
6695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6696 (eval $ac_compile) 2>conftest.er1
6697 ac_status=$?
6698 grep -v '^ *+' conftest.er1 >conftest.err
6699 rm -f conftest.er1
6700 cat conftest.err >&5
6701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6702 (exit $ac_status); } &&
6703 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6705 (eval $ac_try) 2>&5
6706 ac_status=$?
6707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6708 (exit $ac_status); }; } &&
6709 { ac_try='test -s conftest.$ac_objext'
6710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6711 (eval $ac_try) 2>&5
6712 ac_status=$?
6713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6714 (exit $ac_status); }; }; then
6715 ac_cv_prog_cxx_g=yes
6716 else
6717 echo "$as_me: failed program was:" >&5
6718 sed 's/^/| /' conftest.$ac_ext >&5
6719
6720 ac_cv_prog_cxx_g=no
6721 fi
6722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6723 fi
6724 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6725 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6726 if test "$ac_test_CXXFLAGS" = set; then
6727 CXXFLAGS=$ac_save_CXXFLAGS
6728 elif test $ac_cv_prog_cxx_g = yes; then
6729 if test "$GXX" = yes; then
6730 CXXFLAGS="-g -O2"
6731 else
6732 CXXFLAGS="-g"
6733 fi
6734 else
6735 if test "$GXX" = yes; then
6736 CXXFLAGS="-O2"
6737 else
6738 CXXFLAGS=
6739 fi
6740 fi
6741 for ac_declaration in \
6742 '' \
6743 'extern "C" void std::exit (int) throw (); using std::exit;' \
6744 'extern "C" void std::exit (int); using std::exit;' \
6745 'extern "C" void exit (int) throw ();' \
6746 'extern "C" void exit (int);' \
6747 'void exit (int);'
6748 do
6749 cat >conftest.$ac_ext <<_ACEOF
6750 /* confdefs.h. */
6751 _ACEOF
6752 cat confdefs.h >>conftest.$ac_ext
6753 cat >>conftest.$ac_ext <<_ACEOF
6754 /* end confdefs.h. */
6755 $ac_declaration
6756 #include <stdlib.h>
6757 int
6758 main ()
6759 {
6760 exit (42);
6761 ;
6762 return 0;
6763 }
6764 _ACEOF
6765 rm -f conftest.$ac_objext
6766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6767 (eval $ac_compile) 2>conftest.er1
6768 ac_status=$?
6769 grep -v '^ *+' conftest.er1 >conftest.err
6770 rm -f conftest.er1
6771 cat conftest.err >&5
6772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6773 (exit $ac_status); } &&
6774 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6776 (eval $ac_try) 2>&5
6777 ac_status=$?
6778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6779 (exit $ac_status); }; } &&
6780 { ac_try='test -s conftest.$ac_objext'
6781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6782 (eval $ac_try) 2>&5
6783 ac_status=$?
6784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6785 (exit $ac_status); }; }; then
6786 :
6787 else
6788 echo "$as_me: failed program was:" >&5
6789 sed 's/^/| /' conftest.$ac_ext >&5
6790
6791 continue
6792 fi
6793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6794 cat >conftest.$ac_ext <<_ACEOF
6795 /* confdefs.h. */
6796 _ACEOF
6797 cat confdefs.h >>conftest.$ac_ext
6798 cat >>conftest.$ac_ext <<_ACEOF
6799 /* end confdefs.h. */
6800 $ac_declaration
6801 int
6802 main ()
6803 {
6804 exit (42);
6805 ;
6806 return 0;
6807 }
6808 _ACEOF
6809 rm -f conftest.$ac_objext
6810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6811 (eval $ac_compile) 2>conftest.er1
6812 ac_status=$?
6813 grep -v '^ *+' conftest.er1 >conftest.err
6814 rm -f conftest.er1
6815 cat conftest.err >&5
6816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6817 (exit $ac_status); } &&
6818 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6820 (eval $ac_try) 2>&5
6821 ac_status=$?
6822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6823 (exit $ac_status); }; } &&
6824 { ac_try='test -s conftest.$ac_objext'
6825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6826 (eval $ac_try) 2>&5
6827 ac_status=$?
6828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6829 (exit $ac_status); }; }; then
6830 break
6831 else
6832 echo "$as_me: failed program was:" >&5
6833 sed 's/^/| /' conftest.$ac_ext >&5
6834
6835 fi
6836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6837 done
6838 rm -f conftest*
6839 if test -n "$ac_declaration"; then
6840 echo '#ifdef __cplusplus' >>confdefs.h
6841 echo $ac_declaration >>confdefs.h
6842 echo '#endif' >>confdefs.h
6843 fi
6844
6845 ac_ext=c
6846 ac_cpp='$CPP $CPPFLAGS'
6847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6850
6851 depcc="$CXX" am_compiler_list=
6852
6853 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6854 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6855 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6856 echo $ECHO_N "(cached) $ECHO_C" >&6
6857 else
6858 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6859 # We make a subdir and do the tests there. Otherwise we can end up
6860 # making bogus files that we don't know about and never remove. For
6861 # instance it was reported that on HP-UX the gcc test will end up
6862 # making a dummy file named `D' -- because `-MD' means `put the output
6863 # in D'.
6864 mkdir conftest.dir
6865 # Copy depcomp to subdir because otherwise we won't find it if we're
6866 # using a relative directory.
6867 cp "$am_depcomp" conftest.dir
6868 cd conftest.dir
6869 # We will build objects and dependencies in a subdirectory because
6870 # it helps to detect inapplicable dependency modes. For instance
6871 # both Tru64's cc and ICC support -MD to output dependencies as a
6872 # side effect of compilation, but ICC will put the dependencies in
6873 # the current directory while Tru64 will put them in the object
6874 # directory.
6875 mkdir sub
6876
6877 am_cv_CXX_dependencies_compiler_type=none
6878 if test "$am_compiler_list" = ""; then
6879 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6880 fi
6881 for depmode in $am_compiler_list; do
6882 # Setup a source with many dependencies, because some compilers
6883 # like to wrap large dependency lists on column 80 (with \), and
6884 # we should not choose a depcomp mode which is confused by this.
6885 #
6886 # We need to recreate these files for each test, as the compiler may
6887 # overwrite some of them when testing with obscure command lines.
6888 # This happens at least with the AIX C compiler.
6889 : > sub/conftest.c
6890 for i in 1 2 3 4 5 6; do
6891 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6892 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6893 # Solaris 8's {/usr,}/bin/sh.
6894 touch sub/conftst$i.h
6895 done
6896 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6897
6898 case $depmode in
6899 nosideeffect)
6900 # after this tag, mechanisms are not by side-effect, so they'll
6901 # only be used when explicitly requested
6902 if test "x$enable_dependency_tracking" = xyes; then
6903 continue
6904 else
6905 break
6906 fi
6907 ;;
6908 none) break ;;
6909 esac
6910 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6911 # mode. It turns out that the SunPro C++ compiler does not properly
6912 # handle `-M -o', and we need to detect this.
6913 if depmode=$depmode \
6914 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6915 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6916 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6917 >/dev/null 2>conftest.err &&
6918 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6919 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6920 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6921 # icc doesn't choke on unknown options, it will just issue warnings
6922 # or remarks (even with -Werror). So we grep stderr for any message
6923 # that says an option was ignored or not supported.
6924 # When given -MP, icc 7.0 and 7.1 complain thusly:
6925 # icc: Command line warning: ignoring option '-M'; no argument required
6926 # The diagnosis changed in icc 8.0:
6927 # icc: Command line remark: option '-MP' not supported
6928 if (grep 'ignoring option' conftest.err ||
6929 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6930 am_cv_CXX_dependencies_compiler_type=$depmode
6931 break
6932 fi
6933 fi
6934 done
6935
6936 cd ..
6937 rm -rf conftest.dir
6938 else
6939 am_cv_CXX_dependencies_compiler_type=none
6940 fi
6941
6942 fi
6943 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6944 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
6945 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6946
6947
6948
6949 if
6950 test "x$enable_dependency_tracking" != xno \
6951 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6952 am__fastdepCXX_TRUE=
6953 am__fastdepCXX_FALSE='#'
6954 else
6955 am__fastdepCXX_TRUE='#'
6956 am__fastdepCXX_FALSE=
6957 fi
6958
6959 ac_ext=cc
6960 ac_cpp='$CXXCPP $CPPFLAGS'
6961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6964 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6965 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6966 if test -z "$CXXCPP"; then
6967 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6968 echo $ECHO_N "(cached) $ECHO_C" >&6
6969 else
6970 # Double quotes because CXXCPP needs to be expanded
6971 for CXXCPP in "$CXX -E" "/lib/cpp"
6972 do
6973 ac_preproc_ok=false
6974 for ac_cxx_preproc_warn_flag in '' yes
6975 do
6976 # Use a header file that comes with gcc, so configuring glibc
6977 # with a fresh cross-compiler works.
6978 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6979 # <limits.h> exists even on freestanding compilers.
6980 # On the NeXT, cc -E runs the code through the compiler's parser,
6981 # not just through cpp. "Syntax error" is here to catch this case.
6982 cat >conftest.$ac_ext <<_ACEOF
6983 /* confdefs.h. */
6984 _ACEOF
6985 cat confdefs.h >>conftest.$ac_ext
6986 cat >>conftest.$ac_ext <<_ACEOF
6987 /* end confdefs.h. */
6988 #ifdef __STDC__
6989 # include <limits.h>
6990 #else
6991 # include <assert.h>
6992 #endif
6993 Syntax error
6994 _ACEOF
6995 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6996 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6997 ac_status=$?
6998 grep -v '^ *+' conftest.er1 >conftest.err
6999 rm -f conftest.er1
7000 cat conftest.err >&5
7001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7002 (exit $ac_status); } >/dev/null; then
7003 if test -s conftest.err; then
7004 ac_cpp_err=$ac_cxx_preproc_warn_flag
7005 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7006 else
7007 ac_cpp_err=
7008 fi
7009 else
7010 ac_cpp_err=yes
7011 fi
7012 if test -z "$ac_cpp_err"; then
7013 :
7014 else
7015 echo "$as_me: failed program was:" >&5
7016 sed 's/^/| /' conftest.$ac_ext >&5
7017
7018 # Broken: fails on valid input.
7019 continue
7020 fi
7021 rm -f conftest.err conftest.$ac_ext
7022
7023 # OK, works on sane cases. Now check whether non-existent headers
7024 # can be detected and how.
7025 cat >conftest.$ac_ext <<_ACEOF
7026 /* confdefs.h. */
7027 _ACEOF
7028 cat confdefs.h >>conftest.$ac_ext
7029 cat >>conftest.$ac_ext <<_ACEOF
7030 /* end confdefs.h. */
7031 #include <ac_nonexistent.h>
7032 _ACEOF
7033 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7034 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7035 ac_status=$?
7036 grep -v '^ *+' conftest.er1 >conftest.err
7037 rm -f conftest.er1
7038 cat conftest.err >&5
7039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7040 (exit $ac_status); } >/dev/null; then
7041 if test -s conftest.err; then
7042 ac_cpp_err=$ac_cxx_preproc_warn_flag
7043 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7044 else
7045 ac_cpp_err=
7046 fi
7047 else
7048 ac_cpp_err=yes
7049 fi
7050 if test -z "$ac_cpp_err"; then
7051 # Broken: success on invalid input.
7052 continue
7053 else
7054 echo "$as_me: failed program was:" >&5
7055 sed 's/^/| /' conftest.$ac_ext >&5
7056
7057 # Passes both tests.
7058 ac_preproc_ok=:
7059 break
7060 fi
7061 rm -f conftest.err conftest.$ac_ext
7062
7063 done
7064 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7065 rm -f conftest.err conftest.$ac_ext
7066 if $ac_preproc_ok; then
7067 break
7068 fi
7069
7070 done
7071 ac_cv_prog_CXXCPP=$CXXCPP
7072
7073 fi
7074 CXXCPP=$ac_cv_prog_CXXCPP
7075 else
7076 ac_cv_prog_CXXCPP=$CXXCPP
7077 fi
7078 echo "$as_me:$LINENO: result: $CXXCPP" >&5
7079 echo "${ECHO_T}$CXXCPP" >&6
7080 ac_preproc_ok=false
7081 for ac_cxx_preproc_warn_flag in '' yes
7082 do
7083 # Use a header file that comes with gcc, so configuring glibc
7084 # with a fresh cross-compiler works.
7085 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7086 # <limits.h> exists even on freestanding compilers.
7087 # On the NeXT, cc -E runs the code through the compiler's parser,
7088 # not just through cpp. "Syntax error" is here to catch this case.
7089 cat >conftest.$ac_ext <<_ACEOF
7090 /* confdefs.h. */
7091 _ACEOF
7092 cat confdefs.h >>conftest.$ac_ext
7093 cat >>conftest.$ac_ext <<_ACEOF
7094 /* end confdefs.h. */
7095 #ifdef __STDC__
7096 # include <limits.h>
7097 #else
7098 # include <assert.h>
7099 #endif
7100 Syntax error
7101 _ACEOF
7102 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7103 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7104 ac_status=$?
7105 grep -v '^ *+' conftest.er1 >conftest.err
7106 rm -f conftest.er1
7107 cat conftest.err >&5
7108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7109 (exit $ac_status); } >/dev/null; then
7110 if test -s conftest.err; then
7111 ac_cpp_err=$ac_cxx_preproc_warn_flag
7112 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7113 else
7114 ac_cpp_err=
7115 fi
7116 else
7117 ac_cpp_err=yes
7118 fi
7119 if test -z "$ac_cpp_err"; then
7120 :
7121 else
7122 echo "$as_me: failed program was:" >&5
7123 sed 's/^/| /' conftest.$ac_ext >&5
7124
7125 # Broken: fails on valid input.
7126 continue
7127 fi
7128 rm -f conftest.err conftest.$ac_ext
7129
7130 # OK, works on sane cases. Now check whether non-existent headers
7131 # can be detected and how.
7132 cat >conftest.$ac_ext <<_ACEOF
7133 /* confdefs.h. */
7134 _ACEOF
7135 cat confdefs.h >>conftest.$ac_ext
7136 cat >>conftest.$ac_ext <<_ACEOF
7137 /* end confdefs.h. */
7138 #include <ac_nonexistent.h>
7139 _ACEOF
7140 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7141 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7142 ac_status=$?
7143 grep -v '^ *+' conftest.er1 >conftest.err
7144 rm -f conftest.er1
7145 cat conftest.err >&5
7146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7147 (exit $ac_status); } >/dev/null; then
7148 if test -s conftest.err; then
7149 ac_cpp_err=$ac_cxx_preproc_warn_flag
7150 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7151 else
7152 ac_cpp_err=
7153 fi
7154 else
7155 ac_cpp_err=yes
7156 fi
7157 if test -z "$ac_cpp_err"; then
7158 # Broken: success on invalid input.
7159 continue
7160 else
7161 echo "$as_me: failed program was:" >&5
7162 sed 's/^/| /' conftest.$ac_ext >&5
7163
7164 # Passes both tests.
7165 ac_preproc_ok=:
7166 break
7167 fi
7168 rm -f conftest.err conftest.$ac_ext
7169
7170 done
7171 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7172 rm -f conftest.err conftest.$ac_ext
7173 if $ac_preproc_ok; then
7174 :
7175 else
7176 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7177 See \`config.log' for more details." >&5
7178 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7179 See \`config.log' for more details." >&2;}
7180 { (exit 1); exit 1; }; }
7181 fi
7182
7183 ac_ext=c
7184 ac_cpp='$CPP $CPPFLAGS'
7185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7188
7189
7190
7191 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
7192 lt_save_CC="$CC"
7193 lt_save_CFLAGS="$CFLAGS"
7194 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
7195 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
7196 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
7197 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
7198 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
7199 deplibs_check_method="$deplibs_check_method" \
7200 file_magic_cmd="$file_magic_cmd" \
7201 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
7202 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
7203 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
7204 echo "$as_me: error: libtool tag configuration failed" >&2;}
7205 { (exit 1); exit 1; }; }
7206 CC="$lt_save_CC"
7207 CFLAGS="$lt_save_CFLAGS"
7208
7209 # Redirect the config.log output again, so that the ltconfig log is not
7210 # clobbered by the next message.
7211 exec 5>>./config.log
7212
7213
7214
7215
7216 if test "x${COMPILE_COLLECTIONS}" = xyes; then
7217 # Extract the first word of "perl", so it can be a program name with args.
7218 set dummy perl; ac_word=$2
7219 echo "$as_me:$LINENO: checking for $ac_word" >&5
7220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7221 if test "${ac_cv_path_PERL+set}" = set; then
7222 echo $ECHO_N "(cached) $ECHO_C" >&6
7223 else
7224 case $PERL in
7225 [\\/]* | ?:[\\/]*)
7226 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
7227 ;;
7228 *)
7229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7230 for as_dir in $PATH
7231 do
7232 IFS=$as_save_IFS
7233 test -z "$as_dir" && as_dir=.
7234 for ac_exec_ext in '' $ac_executable_extensions; do
7235 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7236 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
7237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7238 break 2
7239 fi
7240 done
7241 done
7242
7243 ;;
7244 esac
7245 fi
7246 PERL=$ac_cv_path_PERL
7247
7248 if test -n "$PERL"; then
7249 echo "$as_me:$LINENO: result: $PERL" >&5
7250 echo "${ECHO_T}$PERL" >&6
7251 else
7252 echo "$as_me:$LINENO: result: no" >&5
7253 echo "${ECHO_T}no" >&6
7254 fi
7255
7256
7257
7258 ac_config_files="$ac_config_files lib/mkcollections.pl"
7259
7260 ac_config_commands="$ac_config_commands mkcollections.pl"
7261
7262 fi
7263
7264 if test "x${COMPILE_JNI}" = xyes; then
7265 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7266 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7267 if test "${ac_cv_header_stdc+set}" = set; then
7268 echo $ECHO_N "(cached) $ECHO_C" >&6
7269 else
7270 cat >conftest.$ac_ext <<_ACEOF
7271 /* confdefs.h. */
7272 _ACEOF
7273 cat confdefs.h >>conftest.$ac_ext
7274 cat >>conftest.$ac_ext <<_ACEOF
7275 /* end confdefs.h. */
7276 #include <stdlib.h>
7277 #include <stdarg.h>
7278 #include <string.h>
7279 #include <float.h>
7280
7281 int
7282 main ()
7283 {
7284
7285 ;
7286 return 0;
7287 }
7288 _ACEOF
7289 rm -f conftest.$ac_objext
7290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7291 (eval $ac_compile) 2>conftest.er1
7292 ac_status=$?
7293 grep -v '^ *+' conftest.er1 >conftest.err
7294 rm -f conftest.er1
7295 cat conftest.err >&5
7296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7297 (exit $ac_status); } &&
7298 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7300 (eval $ac_try) 2>&5
7301 ac_status=$?
7302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7303 (exit $ac_status); }; } &&
7304 { ac_try='test -s conftest.$ac_objext'
7305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7306 (eval $ac_try) 2>&5
7307 ac_status=$?
7308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7309 (exit $ac_status); }; }; then
7310 ac_cv_header_stdc=yes
7311 else
7312 echo "$as_me: failed program was:" >&5
7313 sed 's/^/| /' conftest.$ac_ext >&5
7314
7315 ac_cv_header_stdc=no
7316 fi
7317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7318
7319 if test $ac_cv_header_stdc = yes; then
7320 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7321 cat >conftest.$ac_ext <<_ACEOF
7322 /* confdefs.h. */
7323 _ACEOF
7324 cat confdefs.h >>conftest.$ac_ext
7325 cat >>conftest.$ac_ext <<_ACEOF
7326 /* end confdefs.h. */
7327 #include <string.h>
7328
7329 _ACEOF
7330 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7331 $EGREP "memchr" >/dev/null 2>&1; then
7332 :
7333 else
7334 ac_cv_header_stdc=no
7335 fi
7336 rm -f conftest*
7337
7338 fi
7339
7340 if test $ac_cv_header_stdc = yes; then
7341 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7342 cat >conftest.$ac_ext <<_ACEOF
7343 /* confdefs.h. */
7344 _ACEOF
7345 cat confdefs.h >>conftest.$ac_ext
7346 cat >>conftest.$ac_ext <<_ACEOF
7347 /* end confdefs.h. */
7348 #include <stdlib.h>
7349
7350 _ACEOF
7351 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7352 $EGREP "free" >/dev/null 2>&1; then
7353 :
7354 else
7355 ac_cv_header_stdc=no
7356 fi
7357 rm -f conftest*
7358
7359 fi
7360
7361 if test $ac_cv_header_stdc = yes; then
7362 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7363 if test "$cross_compiling" = yes; then
7364 :
7365 else
7366 cat >conftest.$ac_ext <<_ACEOF
7367 /* confdefs.h. */
7368 _ACEOF
7369 cat confdefs.h >>conftest.$ac_ext
7370 cat >>conftest.$ac_ext <<_ACEOF
7371 /* end confdefs.h. */
7372 #include <ctype.h>
7373 #if ((' ' & 0x0FF) == 0x020)
7374 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7375 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7376 #else
7377 # define ISLOWER(c) \
7378 (('a' <= (c) && (c) <= 'i') \
7379 || ('j' <= (c) && (c) <= 'r') \
7380 || ('s' <= (c) && (c) <= 'z'))
7381 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7382 #endif
7383
7384 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7385 int
7386 main ()
7387 {
7388 int i;
7389 for (i = 0; i < 256; i++)
7390 if (XOR (islower (i), ISLOWER (i))
7391 || toupper (i) != TOUPPER (i))
7392 exit(2);
7393 exit (0);
7394 }
7395 _ACEOF
7396 rm -f conftest$ac_exeext
7397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7398 (eval $ac_link) 2>&5
7399 ac_status=$?
7400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7401 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7403 (eval $ac_try) 2>&5
7404 ac_status=$?
7405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7406 (exit $ac_status); }; }; then
7407 :
7408 else
7409 echo "$as_me: program exited with status $ac_status" >&5
7410 echo "$as_me: failed program was:" >&5
7411 sed 's/^/| /' conftest.$ac_ext >&5
7412
7413 ( exit $ac_status )
7414 ac_cv_header_stdc=no
7415 fi
7416 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7417 fi
7418 fi
7419 fi
7420 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7421 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7422 if test $ac_cv_header_stdc = yes; then
7423
7424 cat >>confdefs.h <<\_ACEOF
7425 #define STDC_HEADERS 1
7426 _ACEOF
7427
7428 fi
7429
7430
7431 echo "$as_me:$LINENO: checking size of void *" >&5
7432 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
7433 if test "${ac_cv_sizeof_void_p+set}" = set; then
7434 echo $ECHO_N "(cached) $ECHO_C" >&6
7435 else
7436 for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
7437 cat >conftest.$ac_ext <<_ACEOF
7438 /* confdefs.h. */
7439 _ACEOF
7440 cat confdefs.h >>conftest.$ac_ext
7441 cat >>conftest.$ac_ext <<_ACEOF
7442 /* end confdefs.h. */
7443 #include "confdefs.h"
7444 #include <sys/types.h>
7445
7446
7447 int
7448 main ()
7449 {
7450 switch (0) case 0: case (sizeof (void *) == $ac_size):;
7451 ;
7452 return 0;
7453 }
7454 _ACEOF
7455 rm -f conftest.$ac_objext
7456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7457 (eval $ac_compile) 2>conftest.er1
7458 ac_status=$?
7459 grep -v '^ *+' conftest.er1 >conftest.err
7460 rm -f conftest.er1
7461 cat conftest.err >&5
7462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7463 (exit $ac_status); } &&
7464 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7466 (eval $ac_try) 2>&5
7467 ac_status=$?
7468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7469 (exit $ac_status); }; } &&
7470 { ac_try='test -s conftest.$ac_objext'
7471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7472 (eval $ac_try) 2>&5
7473 ac_status=$?
7474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7475 (exit $ac_status); }; }; then
7476 ac_cv_sizeof_void_p=$ac_size
7477 else
7478 echo "$as_me: failed program was:" >&5
7479 sed 's/^/| /' conftest.$ac_ext >&5
7480
7481 fi
7482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7483 if test x$ac_cv_sizeof_void_p != x ; then break; fi
7484 done
7485
7486 fi
7487
7488 if test x$ac_cv_sizeof_void_p = x ; then
7489 { { echo "$as_me:$LINENO: error: cannot determine a size for void *" >&5
7490 echo "$as_me: error: cannot determine a size for void *" >&2;}
7491 { (exit 1); exit 1; }; }
7492 fi
7493 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
7494 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
7495
7496 cat >>confdefs.h <<_ACEOF
7497 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
7498 _ACEOF
7499
7500
7501
7502 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
7503 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
7504 if test "${ac_cv_c_bigendian+set}" = set; then
7505 echo $ECHO_N "(cached) $ECHO_C" >&6
7506 else
7507 ac_cv_c_bigendian=unknown
7508 # See if sys/param.h defines the BYTE_ORDER macro.
7509 cat >conftest.$ac_ext <<_ACEOF
7510 /* confdefs.h. */
7511 _ACEOF
7512 cat confdefs.h >>conftest.$ac_ext
7513 cat >>conftest.$ac_ext <<_ACEOF
7514 /* end confdefs.h. */
7515 #include <sys/types.h>
7516 #include <sys/param.h>
7517 int
7518 main ()
7519 {
7520
7521 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
7522 bogus endian macros
7523 #endif
7524 ;
7525 return 0;
7526 }
7527 _ACEOF
7528 rm -f conftest.$ac_objext
7529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7530 (eval $ac_compile) 2>conftest.er1
7531 ac_status=$?
7532 grep -v '^ *+' conftest.er1 >conftest.err
7533 rm -f conftest.er1
7534 cat conftest.err >&5
7535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7536 (exit $ac_status); } &&
7537 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7539 (eval $ac_try) 2>&5
7540 ac_status=$?
7541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7542 (exit $ac_status); }; } &&
7543 { ac_try='test -s conftest.$ac_objext'
7544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7545 (eval $ac_try) 2>&5
7546 ac_status=$?
7547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7548 (exit $ac_status); }; }; then
7549 # It does; now see whether it defined to BIG_ENDIAN or not.
7550 cat >conftest.$ac_ext <<_ACEOF
7551 /* confdefs.h. */
7552 _ACEOF
7553 cat confdefs.h >>conftest.$ac_ext
7554 cat >>conftest.$ac_ext <<_ACEOF
7555 /* end confdefs.h. */
7556 #include <sys/types.h>
7557 #include <sys/param.h>
7558 int
7559 main ()
7560 {
7561
7562 #if BYTE_ORDER != BIG_ENDIAN
7563 not big endian
7564 #endif
7565 ;
7566 return 0;
7567 }
7568 _ACEOF
7569 rm -f conftest.$ac_objext
7570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7571 (eval $ac_compile) 2>conftest.er1
7572 ac_status=$?
7573 grep -v '^ *+' conftest.er1 >conftest.err
7574 rm -f conftest.er1
7575 cat conftest.err >&5
7576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7577 (exit $ac_status); } &&
7578 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7580 (eval $ac_try) 2>&5
7581 ac_status=$?
7582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7583 (exit $ac_status); }; } &&
7584 { ac_try='test -s conftest.$ac_objext'
7585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7586 (eval $ac_try) 2>&5
7587 ac_status=$?
7588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7589 (exit $ac_status); }; }; then
7590 ac_cv_c_bigendian=yes
7591 else
7592 echo "$as_me: failed program was:" >&5
7593 sed 's/^/| /' conftest.$ac_ext >&5
7594
7595 ac_cv_c_bigendian=no
7596 fi
7597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7598 else
7599 echo "$as_me: failed program was:" >&5
7600 sed 's/^/| /' conftest.$ac_ext >&5
7601
7602 fi
7603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7604 if test $ac_cv_c_bigendian = unknown; then
7605 if test "$cross_compiling" = yes; then
7606 echo $ac_n "cross-compiling... " 2>&6
7607 else
7608 cat >conftest.$ac_ext <<_ACEOF
7609 /* confdefs.h. */
7610 _ACEOF
7611 cat confdefs.h >>conftest.$ac_ext
7612 cat >>conftest.$ac_ext <<_ACEOF
7613 /* end confdefs.h. */
7614 main () {
7615 /* Are we little or big endian? From Harbison&Steele. */
7616 union
7617 {
7618 long l;
7619 char c[sizeof (long)];
7620 } u;
7621 u.l = 1;
7622 exit (u.c[sizeof (long) - 1] == 1);
7623 }
7624 _ACEOF
7625 rm -f conftest$ac_exeext
7626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7627 (eval $ac_link) 2>&5
7628 ac_status=$?
7629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7630 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7632 (eval $ac_try) 2>&5
7633 ac_status=$?
7634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7635 (exit $ac_status); }; }; then
7636 ac_cv_c_bigendian=no
7637 else
7638 echo "$as_me: program exited with status $ac_status" >&5
7639 echo "$as_me: failed program was:" >&5
7640 sed 's/^/| /' conftest.$ac_ext >&5
7641
7642 ( exit $ac_status )
7643 ac_cv_c_bigendian=yes
7644 fi
7645 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7646 fi
7647 fi
7648 fi
7649 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
7650 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
7651 if test $ac_cv_c_bigendian = unknown; then
7652 echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
7653 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6
7654
7655 cat >conftest.c <<EOF
7656 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
7657 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
7658 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
7659 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
7660 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
7661 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
7662 int main() { _ascii (); _ebcdic (); return 0; }
7663 EOF
7664 if test -f conftest.c ; then
7665 if ${CC-cc} ${CFLAGS} -c conftest.c -o conftest.o && test -f conftest.o ; then
7666 if test `grep -l BIGenDianSyS conftest.o` ; then
7667 echo $ac_n ' big endian probe OK, ' 1>&6
7668 ac_cv_c_bigendian=yes
7669 fi
7670 if test `grep -l LiTTleEnDian conftest.o` ; then
7671 echo $ac_n ' little endian probe OK, ' 1>&6
7672 if test $ac_cv_c_bigendian = yes ; then
7673 ac_cv_c_bigendian=unknown;
7674 else
7675 ac_cv_c_bigendian=no
7676 fi
7677 fi
7678 echo $ac_n 'guessing bigendian ... ' >&6
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 fi
7684 if test $ac_cv_c_bigendian = yes; then
7685
7686 cat >>confdefs.h <<\_ACEOF
7687 #define WORDS_BIGENDIAN 1
7688 _ACEOF
7689
7690
7691 cat >>confdefs.h <<\_ACEOF
7692 #define HOST_WORDS_BIG_ENDIAN 1
7693 _ACEOF
7694
7695 BYTEORDER=4321
7696 else
7697 BYTEORDER=1234
7698 fi
7699
7700 cat >>confdefs.h <<_ACEOF
7701 #define BYTEORDER $BYTEORDER
7702 _ACEOF
7703
7704 if test $ac_cv_c_bigendian = unknown; then
7705 { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5
7706 echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;}
7707 { (exit 1); exit 1; }; }
7708 fi
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726 for ac_header in unistd.h sys/types.h sys/config.h sys/ioctl.h \
7727 asm/ioctls.h \
7728 inttypes.h stdint.h utime.h sys/utime.h sys/filio.h \
7729 sys/time.h \
7730 sys/select.h \
7731 crt_externs.h \
7732 fcntl.h \
7733 sys/mman.h
7734 do
7735 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7736 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7737 echo "$as_me:$LINENO: checking for $ac_header" >&5
7738 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7739 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7740 echo $ECHO_N "(cached) $ECHO_C" >&6
7741 fi
7742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7743 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7744 else
7745 # Is the header compilable?
7746 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7747 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7748 cat >conftest.$ac_ext <<_ACEOF
7749 /* confdefs.h. */
7750 _ACEOF
7751 cat confdefs.h >>conftest.$ac_ext
7752 cat >>conftest.$ac_ext <<_ACEOF
7753 /* end confdefs.h. */
7754 $ac_includes_default
7755 #include <$ac_header>
7756 _ACEOF
7757 rm -f conftest.$ac_objext
7758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7759 (eval $ac_compile) 2>conftest.er1
7760 ac_status=$?
7761 grep -v '^ *+' conftest.er1 >conftest.err
7762 rm -f conftest.er1
7763 cat conftest.err >&5
7764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7765 (exit $ac_status); } &&
7766 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7768 (eval $ac_try) 2>&5
7769 ac_status=$?
7770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7771 (exit $ac_status); }; } &&
7772 { ac_try='test -s conftest.$ac_objext'
7773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7774 (eval $ac_try) 2>&5
7775 ac_status=$?
7776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7777 (exit $ac_status); }; }; then
7778 ac_header_compiler=yes
7779 else
7780 echo "$as_me: failed program was:" >&5
7781 sed 's/^/| /' conftest.$ac_ext >&5
7782
7783 ac_header_compiler=no
7784 fi
7785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7786 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7787 echo "${ECHO_T}$ac_header_compiler" >&6
7788
7789 # Is the header present?
7790 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7791 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7792 cat >conftest.$ac_ext <<_ACEOF
7793 /* confdefs.h. */
7794 _ACEOF
7795 cat confdefs.h >>conftest.$ac_ext
7796 cat >>conftest.$ac_ext <<_ACEOF
7797 /* end confdefs.h. */
7798 #include <$ac_header>
7799 _ACEOF
7800 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7801 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7802 ac_status=$?
7803 grep -v '^ *+' conftest.er1 >conftest.err
7804 rm -f conftest.er1
7805 cat conftest.err >&5
7806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7807 (exit $ac_status); } >/dev/null; then
7808 if test -s conftest.err; then
7809 ac_cpp_err=$ac_c_preproc_warn_flag
7810 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7811 else
7812 ac_cpp_err=
7813 fi
7814 else
7815 ac_cpp_err=yes
7816 fi
7817 if test -z "$ac_cpp_err"; then
7818 ac_header_preproc=yes
7819 else
7820 echo "$as_me: failed program was:" >&5
7821 sed 's/^/| /' conftest.$ac_ext >&5
7822
7823 ac_header_preproc=no
7824 fi
7825 rm -f conftest.err conftest.$ac_ext
7826 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7827 echo "${ECHO_T}$ac_header_preproc" >&6
7828
7829 # So? What about this header?
7830 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7831 yes:no: )
7832 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7833 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7834 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7835 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7836 ac_header_preproc=yes
7837 ;;
7838 no:yes:* )
7839 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7840 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7841 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7842 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7843 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7844 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7845 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7846 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7847 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7848 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7849 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7850 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7851 (
7852 cat <<\_ASBOX
7853 ## -------------------------------- ##
7854 ## Report this to classpath@gnu.org ##
7855 ## -------------------------------- ##
7856 _ASBOX
7857 ) |
7858 sed "s/^/$as_me: WARNING: /" >&2
7859 ;;
7860 esac
7861 echo "$as_me:$LINENO: checking for $ac_header" >&5
7862 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7863 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7864 echo $ECHO_N "(cached) $ECHO_C" >&6
7865 else
7866 eval "$as_ac_Header=\$ac_header_preproc"
7867 fi
7868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7869 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7870
7871 fi
7872 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7873 cat >>confdefs.h <<_ACEOF
7874 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7875 _ACEOF
7876
7877 fi
7878
7879 done
7880
7881
7882 cat >conftest.$ac_ext <<_ACEOF
7883 /* confdefs.h. */
7884 _ACEOF
7885 cat confdefs.h >>conftest.$ac_ext
7886 cat >>conftest.$ac_ext <<_ACEOF
7887 /* end confdefs.h. */
7888 #include <stdint.h>
7889
7890 _ACEOF
7891 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7892 $EGREP "uint32_t" >/dev/null 2>&1; then
7893
7894 cat >>confdefs.h <<\_ACEOF
7895 #define HAVE_INT32_DEFINED 1
7896 _ACEOF
7897
7898 fi
7899 rm -f conftest*
7900
7901 cat >conftest.$ac_ext <<_ACEOF
7902 /* confdefs.h. */
7903 _ACEOF
7904 cat confdefs.h >>conftest.$ac_ext
7905 cat >>conftest.$ac_ext <<_ACEOF
7906 /* end confdefs.h. */
7907 #include <inttypes.h>
7908
7909 _ACEOF
7910 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7911 $EGREP "uint32_t" >/dev/null 2>&1; then
7912
7913 cat >>confdefs.h <<\_ACEOF
7914 #define HAVE_INT32_DEFINED 1
7915 _ACEOF
7916
7917 fi
7918 rm -f conftest*
7919
7920 cat >conftest.$ac_ext <<_ACEOF
7921 /* confdefs.h. */
7922 _ACEOF
7923 cat confdefs.h >>conftest.$ac_ext
7924 cat >>conftest.$ac_ext <<_ACEOF
7925 /* end confdefs.h. */
7926 #include <sys/types.h>
7927
7928 _ACEOF
7929 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7930 $EGREP "u_int32_t" >/dev/null 2>&1; then
7931
7932 cat >>confdefs.h <<\_ACEOF
7933 #define HAVE_BSD_INT32_DEFINED 1
7934 _ACEOF
7935
7936 fi
7937 rm -f conftest*
7938
7939 cat >conftest.$ac_ext <<_ACEOF
7940 /* confdefs.h. */
7941 _ACEOF
7942 cat confdefs.h >>conftest.$ac_ext
7943 cat >>conftest.$ac_ext <<_ACEOF
7944 /* end confdefs.h. */
7945 #include <sys/config.h>
7946
7947 _ACEOF
7948 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7949 $EGREP "u_int32_t" >/dev/null 2>&1; then
7950
7951 cat >>confdefs.h <<\_ACEOF
7952 #define HAVE_BSD_INT32_DEFINED 1
7953 _ACEOF
7954
7955 fi
7956 rm -f conftest*
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001 for ac_func in ftruncate fsync select \
8002 gethostname socket strerror fork pipe execve open close \
8003 lseek fstat read write htonl memset htons connect \
8004 getsockname getpeername bind listen accept \
8005 recvfrom send sendto setsockopt getsockopt time mktime \
8006 localtime_r \
8007 strerror_r \
8008 fcntl \
8009 mmap munmap mincore msync madvise getpagesize sysconf \
8010 isnan
8011 do
8012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8013 echo "$as_me:$LINENO: checking for $ac_func" >&5
8014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8015 if eval "test \"\${$as_ac_var+set}\" = set"; then
8016 echo $ECHO_N "(cached) $ECHO_C" >&6
8017 else
8018 cat >conftest.$ac_ext <<_ACEOF
8019 /* confdefs.h. */
8020 _ACEOF
8021 cat confdefs.h >>conftest.$ac_ext
8022 cat >>conftest.$ac_ext <<_ACEOF
8023 /* end confdefs.h. */
8024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8026 #define $ac_func innocuous_$ac_func
8027
8028 /* System header to define __stub macros and hopefully few prototypes,
8029 which can conflict with char $ac_func (); below.
8030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8031 <limits.h> exists even on freestanding compilers. */
8032
8033 #ifdef __STDC__
8034 # include <limits.h>
8035 #else
8036 # include <assert.h>
8037 #endif
8038
8039 #undef $ac_func
8040
8041 /* Override any gcc2 internal prototype to avoid an error. */
8042 #ifdef __cplusplus
8043 extern "C"
8044 {
8045 #endif
8046 /* We use char because int might match the return type of a gcc2
8047 builtin and then its argument prototype would still apply. */
8048 char $ac_func ();
8049 /* The GNU C library defines this for functions which it implements
8050 to always fail with ENOSYS. Some functions are actually named
8051 something starting with __ and the normal name is an alias. */
8052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8053 choke me
8054 #else
8055 char (*f) () = $ac_func;
8056 #endif
8057 #ifdef __cplusplus
8058 }
8059 #endif
8060
8061 int
8062 main ()
8063 {
8064 return f != $ac_func;
8065 ;
8066 return 0;
8067 }
8068 _ACEOF
8069 rm -f conftest.$ac_objext conftest$ac_exeext
8070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8071 (eval $ac_link) 2>conftest.er1
8072 ac_status=$?
8073 grep -v '^ *+' conftest.er1 >conftest.err
8074 rm -f conftest.er1
8075 cat conftest.err >&5
8076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8077 (exit $ac_status); } &&
8078 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8080 (eval $ac_try) 2>&5
8081 ac_status=$?
8082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8083 (exit $ac_status); }; } &&
8084 { ac_try='test -s conftest$ac_exeext'
8085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8086 (eval $ac_try) 2>&5
8087 ac_status=$?
8088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8089 (exit $ac_status); }; }; then
8090 eval "$as_ac_var=yes"
8091 else
8092 echo "$as_me: failed program was:" >&5
8093 sed 's/^/| /' conftest.$ac_ext >&5
8094
8095 eval "$as_ac_var=no"
8096 fi
8097 rm -f conftest.err conftest.$ac_objext \
8098 conftest$ac_exeext conftest.$ac_ext
8099 fi
8100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8102 if test `eval echo '${'$as_ac_var'}'` = yes; then
8103 cat >>confdefs.h <<_ACEOF
8104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8105 _ACEOF
8106
8107 fi
8108 done
8109
8110
8111 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
8112 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
8113 if test "${ac_cv_header_time+set}" = set; then
8114 echo $ECHO_N "(cached) $ECHO_C" >&6
8115 else
8116 cat >conftest.$ac_ext <<_ACEOF
8117 /* confdefs.h. */
8118 _ACEOF
8119 cat confdefs.h >>conftest.$ac_ext
8120 cat >>conftest.$ac_ext <<_ACEOF
8121 /* end confdefs.h. */
8122 #include <sys/types.h>
8123 #include <sys/time.h>
8124 #include <time.h>
8125
8126 int
8127 main ()
8128 {
8129 if ((struct tm *) 0)
8130 return 0;
8131 ;
8132 return 0;
8133 }
8134 _ACEOF
8135 rm -f conftest.$ac_objext
8136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8137 (eval $ac_compile) 2>conftest.er1
8138 ac_status=$?
8139 grep -v '^ *+' conftest.er1 >conftest.err
8140 rm -f conftest.er1
8141 cat conftest.err >&5
8142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8143 (exit $ac_status); } &&
8144 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8146 (eval $ac_try) 2>&5
8147 ac_status=$?
8148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8149 (exit $ac_status); }; } &&
8150 { ac_try='test -s conftest.$ac_objext'
8151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8152 (eval $ac_try) 2>&5
8153 ac_status=$?
8154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8155 (exit $ac_status); }; }; then
8156 ac_cv_header_time=yes
8157 else
8158 echo "$as_me: failed program was:" >&5
8159 sed 's/^/| /' conftest.$ac_ext >&5
8160
8161 ac_cv_header_time=no
8162 fi
8163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8164 fi
8165 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
8166 echo "${ECHO_T}$ac_cv_header_time" >&6
8167 if test $ac_cv_header_time = yes; then
8168
8169 cat >>confdefs.h <<\_ACEOF
8170 #define TIME_WITH_SYS_TIME 1
8171 _ACEOF
8172
8173 fi
8174
8175 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
8176 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
8177 if test "${ac_cv_struct_tm+set}" = set; then
8178 echo $ECHO_N "(cached) $ECHO_C" >&6
8179 else
8180 cat >conftest.$ac_ext <<_ACEOF
8181 /* confdefs.h. */
8182 _ACEOF
8183 cat confdefs.h >>conftest.$ac_ext
8184 cat >>conftest.$ac_ext <<_ACEOF
8185 /* end confdefs.h. */
8186 #include <sys/types.h>
8187 #include <time.h>
8188
8189 int
8190 main ()
8191 {
8192 struct tm *tp; tp->tm_sec;
8193 ;
8194 return 0;
8195 }
8196 _ACEOF
8197 rm -f conftest.$ac_objext
8198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8199 (eval $ac_compile) 2>conftest.er1
8200 ac_status=$?
8201 grep -v '^ *+' conftest.er1 >conftest.err
8202 rm -f conftest.er1
8203 cat conftest.err >&5
8204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8205 (exit $ac_status); } &&
8206 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8208 (eval $ac_try) 2>&5
8209 ac_status=$?
8210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8211 (exit $ac_status); }; } &&
8212 { ac_try='test -s conftest.$ac_objext'
8213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8214 (eval $ac_try) 2>&5
8215 ac_status=$?
8216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8217 (exit $ac_status); }; }; then
8218 ac_cv_struct_tm=time.h
8219 else
8220 echo "$as_me: failed program was:" >&5
8221 sed 's/^/| /' conftest.$ac_ext >&5
8222
8223 ac_cv_struct_tm=sys/time.h
8224 fi
8225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8226 fi
8227 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
8228 echo "${ECHO_T}$ac_cv_struct_tm" >&6
8229 if test $ac_cv_struct_tm = sys/time.h; then
8230
8231 cat >>confdefs.h <<\_ACEOF
8232 #define TM_IN_SYS_TIME 1
8233 _ACEOF
8234
8235 fi
8236
8237 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
8238 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
8239 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
8240 echo $ECHO_N "(cached) $ECHO_C" >&6
8241 else
8242 cat >conftest.$ac_ext <<_ACEOF
8243 /* confdefs.h. */
8244 _ACEOF
8245 cat confdefs.h >>conftest.$ac_ext
8246 cat >>conftest.$ac_ext <<_ACEOF
8247 /* end confdefs.h. */
8248 #include <sys/types.h>
8249 #include <$ac_cv_struct_tm>
8250
8251
8252 int
8253 main ()
8254 {
8255 static struct tm ac_aggr;
8256 if (ac_aggr.tm_zone)
8257 return 0;
8258 ;
8259 return 0;
8260 }
8261 _ACEOF
8262 rm -f conftest.$ac_objext
8263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8264 (eval $ac_compile) 2>conftest.er1
8265 ac_status=$?
8266 grep -v '^ *+' conftest.er1 >conftest.err
8267 rm -f conftest.er1
8268 cat conftest.err >&5
8269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8270 (exit $ac_status); } &&
8271 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8273 (eval $ac_try) 2>&5
8274 ac_status=$?
8275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8276 (exit $ac_status); }; } &&
8277 { ac_try='test -s conftest.$ac_objext'
8278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8279 (eval $ac_try) 2>&5
8280 ac_status=$?
8281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8282 (exit $ac_status); }; }; then
8283 ac_cv_member_struct_tm_tm_zone=yes
8284 else
8285 echo "$as_me: failed program was:" >&5
8286 sed 's/^/| /' conftest.$ac_ext >&5
8287
8288 cat >conftest.$ac_ext <<_ACEOF
8289 /* confdefs.h. */
8290 _ACEOF
8291 cat confdefs.h >>conftest.$ac_ext
8292 cat >>conftest.$ac_ext <<_ACEOF
8293 /* end confdefs.h. */
8294 #include <sys/types.h>
8295 #include <$ac_cv_struct_tm>
8296
8297
8298 int
8299 main ()
8300 {
8301 static struct tm ac_aggr;
8302 if (sizeof ac_aggr.tm_zone)
8303 return 0;
8304 ;
8305 return 0;
8306 }
8307 _ACEOF
8308 rm -f conftest.$ac_objext
8309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8310 (eval $ac_compile) 2>conftest.er1
8311 ac_status=$?
8312 grep -v '^ *+' conftest.er1 >conftest.err
8313 rm -f conftest.er1
8314 cat conftest.err >&5
8315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8316 (exit $ac_status); } &&
8317 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8319 (eval $ac_try) 2>&5
8320 ac_status=$?
8321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8322 (exit $ac_status); }; } &&
8323 { ac_try='test -s conftest.$ac_objext'
8324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8325 (eval $ac_try) 2>&5
8326 ac_status=$?
8327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8328 (exit $ac_status); }; }; then
8329 ac_cv_member_struct_tm_tm_zone=yes
8330 else
8331 echo "$as_me: failed program was:" >&5
8332 sed 's/^/| /' conftest.$ac_ext >&5
8333
8334 ac_cv_member_struct_tm_tm_zone=no
8335 fi
8336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8337 fi
8338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8339 fi
8340 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
8341 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
8342 if test $ac_cv_member_struct_tm_tm_zone = yes; then
8343
8344 cat >>confdefs.h <<_ACEOF
8345 #define HAVE_STRUCT_TM_TM_ZONE 1
8346 _ACEOF
8347
8348
8349 fi
8350
8351 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
8352
8353 cat >>confdefs.h <<\_ACEOF
8354 #define HAVE_TM_ZONE 1
8355 _ACEOF
8356
8357 else
8358 echo "$as_me:$LINENO: checking for tzname" >&5
8359 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
8360 if test "${ac_cv_var_tzname+set}" = set; then
8361 echo $ECHO_N "(cached) $ECHO_C" >&6
8362 else
8363 cat >conftest.$ac_ext <<_ACEOF
8364 /* confdefs.h. */
8365 _ACEOF
8366 cat confdefs.h >>conftest.$ac_ext
8367 cat >>conftest.$ac_ext <<_ACEOF
8368 /* end confdefs.h. */
8369 #include <time.h>
8370 #ifndef tzname /* For SGI. */
8371 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
8372 #endif
8373
8374 int
8375 main ()
8376 {
8377 atoi(*tzname);
8378 ;
8379 return 0;
8380 }
8381 _ACEOF
8382 rm -f conftest.$ac_objext conftest$ac_exeext
8383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8384 (eval $ac_link) 2>conftest.er1
8385 ac_status=$?
8386 grep -v '^ *+' conftest.er1 >conftest.err
8387 rm -f conftest.er1
8388 cat conftest.err >&5
8389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8390 (exit $ac_status); } &&
8391 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8393 (eval $ac_try) 2>&5
8394 ac_status=$?
8395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8396 (exit $ac_status); }; } &&
8397 { ac_try='test -s conftest$ac_exeext'
8398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8399 (eval $ac_try) 2>&5
8400 ac_status=$?
8401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8402 (exit $ac_status); }; }; then
8403 ac_cv_var_tzname=yes
8404 else
8405 echo "$as_me: failed program was:" >&5
8406 sed 's/^/| /' conftest.$ac_ext >&5
8407
8408 ac_cv_var_tzname=no
8409 fi
8410 rm -f conftest.err conftest.$ac_objext \
8411 conftest$ac_exeext conftest.$ac_ext
8412 fi
8413 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
8414 echo "${ECHO_T}$ac_cv_var_tzname" >&6
8415 if test $ac_cv_var_tzname = yes; then
8416
8417 cat >>confdefs.h <<\_ACEOF
8418 #define HAVE_TZNAME 1
8419 _ACEOF
8420
8421 fi
8422 fi
8423
8424
8425 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
8426 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
8427 cat >conftest.$ac_ext <<_ACEOF
8428 /* confdefs.h. */
8429 _ACEOF
8430 cat confdefs.h >>conftest.$ac_ext
8431 cat >>conftest.$ac_ext <<_ACEOF
8432 /* end confdefs.h. */
8433 #include <time.h>
8434 int
8435 main ()
8436 {
8437 struct tm tim; tim.tm_gmtoff = 0;
8438 ;
8439 return 0;
8440 }
8441 _ACEOF
8442 rm -f conftest.$ac_objext
8443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8444 (eval $ac_compile) 2>conftest.er1
8445 ac_status=$?
8446 grep -v '^ *+' conftest.er1 >conftest.err
8447 rm -f conftest.er1
8448 cat conftest.err >&5
8449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8450 (exit $ac_status); } &&
8451 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8453 (eval $ac_try) 2>&5
8454 ac_status=$?
8455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8456 (exit $ac_status); }; } &&
8457 { ac_try='test -s conftest.$ac_objext'
8458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8459 (eval $ac_try) 2>&5
8460 ac_status=$?
8461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8462 (exit $ac_status); }; }; then
8463
8464 cat >>confdefs.h <<\_ACEOF
8465 #define STRUCT_TM_HAS_GMTOFF 1
8466 _ACEOF
8467
8468 echo "$as_me:$LINENO: result: yes" >&5
8469 echo "${ECHO_T}yes" >&6
8470 else
8471 echo "$as_me: failed program was:" >&5
8472 sed 's/^/| /' conftest.$ac_ext >&5
8473
8474 echo "$as_me:$LINENO: result: no" >&5
8475 echo "${ECHO_T}no" >&6
8476 echo "$as_me:$LINENO: checking for global timezone variable" >&5
8477 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
8478 cat >conftest.$ac_ext <<_ACEOF
8479 /* confdefs.h. */
8480 _ACEOF
8481 cat confdefs.h >>conftest.$ac_ext
8482 cat >>conftest.$ac_ext <<_ACEOF
8483 /* end confdefs.h. */
8484 #include <time.h>
8485 int
8486 main ()
8487 {
8488 void i(){long z2 = 2*timezone;}
8489 ;
8490 return 0;
8491 }
8492 _ACEOF
8493 rm -f conftest.$ac_objext
8494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8495 (eval $ac_compile) 2>conftest.er1
8496 ac_status=$?
8497 grep -v '^ *+' conftest.er1 >conftest.err
8498 rm -f conftest.er1
8499 cat conftest.err >&5
8500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8501 (exit $ac_status); } &&
8502 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8504 (eval $ac_try) 2>&5
8505 ac_status=$?
8506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8507 (exit $ac_status); }; } &&
8508 { ac_try='test -s conftest.$ac_objext'
8509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8510 (eval $ac_try) 2>&5
8511 ac_status=$?
8512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8513 (exit $ac_status); }; }; then
8514
8515 cat >>confdefs.h <<\_ACEOF
8516 #define HAVE_TIMEZONE 1
8517 _ACEOF
8518
8519 echo "$as_me:$LINENO: result: yes" >&5
8520 echo "${ECHO_T}yes" >&6
8521 else
8522 echo "$as_me: failed program was:" >&5
8523 sed 's/^/| /' conftest.$ac_ext >&5
8524
8525 echo "$as_me:$LINENO: result: no" >&5
8526 echo "${ECHO_T}no" >&6
8527 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
8528 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
8529 cat >conftest.$ac_ext <<_ACEOF
8530 /* confdefs.h. */
8531 _ACEOF
8532 cat confdefs.h >>conftest.$ac_ext
8533 cat >>conftest.$ac_ext <<_ACEOF
8534 /* end confdefs.h. */
8535 #include <time.h>
8536 int
8537 main ()
8538 {
8539 long z2 = _timezone;
8540 ;
8541 return 0;
8542 }
8543 _ACEOF
8544 rm -f conftest.$ac_objext
8545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8546 (eval $ac_compile) 2>conftest.er1
8547 ac_status=$?
8548 grep -v '^ *+' conftest.er1 >conftest.err
8549 rm -f conftest.er1
8550 cat conftest.err >&5
8551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8552 (exit $ac_status); } &&
8553 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8555 (eval $ac_try) 2>&5
8556 ac_status=$?
8557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8558 (exit $ac_status); }; } &&
8559 { ac_try='test -s conftest.$ac_objext'
8560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8561 (eval $ac_try) 2>&5
8562 ac_status=$?
8563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8564 (exit $ac_status); }; }; then
8565
8566 cat >>confdefs.h <<\_ACEOF
8567 #define HAVE_UNDERSCORE_TIMEZONE 1
8568 _ACEOF
8569
8570 echo "$as_me:$LINENO: result: yes" >&5
8571 echo "${ECHO_T}yes" >&6
8572 else
8573 echo "$as_me: failed program was:" >&5
8574 sed 's/^/| /' conftest.$ac_ext >&5
8575
8576 echo "$as_me:$LINENO: result: no" >&5
8577 echo "${ECHO_T}no" >&6
8578 fi
8579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8580 fi
8581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8582 fi
8583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8584
8585 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
8586 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
8587 if test "${ac_cv_c_const+set}" = set; then
8588 echo $ECHO_N "(cached) $ECHO_C" >&6
8589 else
8590 cat >conftest.$ac_ext <<_ACEOF
8591 /* confdefs.h. */
8592 _ACEOF
8593 cat confdefs.h >>conftest.$ac_ext
8594 cat >>conftest.$ac_ext <<_ACEOF
8595 /* end confdefs.h. */
8596
8597 int
8598 main ()
8599 {
8600 /* FIXME: Include the comments suggested by Paul. */
8601 #ifndef __cplusplus
8602 /* Ultrix mips cc rejects this. */
8603 typedef int charset[2];
8604 const charset x;
8605 /* SunOS 4.1.1 cc rejects this. */
8606 char const *const *ccp;
8607 char **p;
8608 /* NEC SVR4.0.2 mips cc rejects this. */
8609 struct point {int x, y;};
8610 static struct point const zero = {0,0};
8611 /* AIX XL C 1.02.0.0 rejects this.
8612 It does not let you subtract one const X* pointer from another in
8613 an arm of an if-expression whose if-part is not a constant
8614 expression */
8615 const char *g = "string";
8616 ccp = &g + (g ? g-g : 0);
8617 /* HPUX 7.0 cc rejects these. */
8618 ++ccp;
8619 p = (char**) ccp;
8620 ccp = (char const *const *) p;
8621 { /* SCO 3.2v4 cc rejects this. */
8622 char *t;
8623 char const *s = 0 ? (char *) 0 : (char const *) 0;
8624
8625 *t++ = 0;
8626 }
8627 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8628 int x[] = {25, 17};
8629 const int *foo = &x[0];
8630 ++foo;
8631 }
8632 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8633 typedef const int *iptr;
8634 iptr p = 0;
8635 ++p;
8636 }
8637 { /* AIX XL C 1.02.0.0 rejects this saying
8638 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8639 struct s { int j; const int *ap[3]; };
8640 struct s *b; b->j = 5;
8641 }
8642 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8643 const int foo = 10;
8644 }
8645 #endif
8646
8647 ;
8648 return 0;
8649 }
8650 _ACEOF
8651 rm -f conftest.$ac_objext
8652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8653 (eval $ac_compile) 2>conftest.er1
8654 ac_status=$?
8655 grep -v '^ *+' conftest.er1 >conftest.err
8656 rm -f conftest.er1
8657 cat conftest.err >&5
8658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8659 (exit $ac_status); } &&
8660 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8662 (eval $ac_try) 2>&5
8663 ac_status=$?
8664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8665 (exit $ac_status); }; } &&
8666 { ac_try='test -s conftest.$ac_objext'
8667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8668 (eval $ac_try) 2>&5
8669 ac_status=$?
8670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8671 (exit $ac_status); }; }; then
8672 ac_cv_c_const=yes
8673 else
8674 echo "$as_me: failed program was:" >&5
8675 sed 's/^/| /' conftest.$ac_ext >&5
8676
8677 ac_cv_c_const=no
8678 fi
8679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8680 fi
8681 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
8682 echo "${ECHO_T}$ac_cv_c_const" >&6
8683 if test $ac_cv_c_const = no; then
8684
8685 cat >>confdefs.h <<\_ACEOF
8686 #define const
8687 _ACEOF
8688
8689 fi
8690
8691 echo "$as_me:$LINENO: checking for __attribute__" >&5
8692 echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
8693 if test "${ac_cv_c_attribute+set}" = set; then
8694 echo $ECHO_N "(cached) $ECHO_C" >&6
8695 else
8696
8697 cat >conftest.$ac_ext <<_ACEOF
8698 /* confdefs.h. */
8699 _ACEOF
8700 cat confdefs.h >>conftest.$ac_ext
8701 cat >>conftest.$ac_ext <<_ACEOF
8702 /* end confdefs.h. */
8703 void foo(void) __attribute__ ((__noreturn__));
8704
8705 _ACEOF
8706 rm -f conftest.$ac_objext
8707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8708 (eval $ac_compile) 2>conftest.er1
8709 ac_status=$?
8710 grep -v '^ *+' conftest.er1 >conftest.err
8711 rm -f conftest.er1
8712 cat conftest.err >&5
8713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8714 (exit $ac_status); } &&
8715 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8717 (eval $ac_try) 2>&5
8718 ac_status=$?
8719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8720 (exit $ac_status); }; } &&
8721 { ac_try='test -s conftest.$ac_objext'
8722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8723 (eval $ac_try) 2>&5
8724 ac_status=$?
8725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8726 (exit $ac_status); }; }; then
8727 ac_cv_c_attribute=yes
8728 else
8729 echo "$as_me: failed program was:" >&5
8730 sed 's/^/| /' conftest.$ac_ext >&5
8731
8732 ac_cv_c_attribute=no
8733
8734 fi
8735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8736
8737 fi
8738 echo "$as_me:$LINENO: result: $ac_cv_c_attribute" >&5
8739 echo "${ECHO_T}$ac_cv_c_attribute" >&6
8740
8741
8742 case $ac_cv_c_attribute in
8743 yes) ;;
8744 no)
8745 cat >>confdefs.h <<_ACEOF
8746 #define __attribute__(x) /* nothing */
8747 _ACEOF
8748 ;;
8749 esac
8750
8751
8752
8753 if test "X$prefix" = "XNONE"; then
8754 acl_final_prefix="$ac_default_prefix"
8755 else
8756 acl_final_prefix="$prefix"
8757 fi
8758 if test "X$exec_prefix" = "XNONE"; then
8759 acl_final_exec_prefix='${prefix}'
8760 else
8761 acl_final_exec_prefix="$exec_prefix"
8762 fi
8763 acl_save_prefix="$prefix"
8764 prefix="$acl_final_prefix"
8765 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
8766 prefix="$acl_save_prefix"
8767
8768
8769 # Check whether --with-gnu-ld or --without-gnu-ld was given.
8770 if test "${with_gnu_ld+set}" = set; then
8771 withval="$with_gnu_ld"
8772 test "$withval" = no || with_gnu_ld=yes
8773 else
8774 with_gnu_ld=no
8775 fi;
8776 # Prepare PATH_SEPARATOR.
8777 # The user is always right.
8778 if test "${PATH_SEPARATOR+set}" != set; then
8779 echo "#! /bin/sh" >conf$$.sh
8780 echo "exit 0" >>conf$$.sh
8781 chmod +x conf$$.sh
8782 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
8783 PATH_SEPARATOR=';'
8784 else
8785 PATH_SEPARATOR=:
8786 fi
8787 rm -f conf$$.sh
8788 fi
8789 ac_prog=ld
8790 if test "$GCC" = yes; then
8791 # Check if gcc -print-prog-name=ld gives a path.
8792 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
8793 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
8794 case $host in
8795 *-*-mingw*)
8796 # gcc leaves a trailing carriage return which upsets mingw
8797 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
8798 *)
8799 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
8800 esac
8801 case $ac_prog in
8802 # Accept absolute paths.
8803 [\\/]* | [A-Za-z]:[\\/]*)
8804 re_direlt='/[^/][^/]*/\.\./'
8805 # Canonicalize the path of ld
8806 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
8807 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
8808 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
8809 done
8810 test -z "$LD" && LD="$ac_prog"
8811 ;;
8812 "")
8813 # If it fails, then pretend we aren't using GCC.
8814 ac_prog=ld
8815 ;;
8816 *)
8817 # If it is relative, then search for the first ld in PATH.
8818 with_gnu_ld=unknown
8819 ;;
8820 esac
8821 elif test "$with_gnu_ld" = yes; then
8822 echo "$as_me:$LINENO: checking for GNU ld" >&5
8823 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
8824 else
8825 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
8826 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
8827 fi
8828 if test "${acl_cv_path_LD+set}" = set; then
8829 echo $ECHO_N "(cached) $ECHO_C" >&6
8830 else
8831 if test -z "$LD"; then
8832 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
8833 for ac_dir in $PATH; do
8834 test -z "$ac_dir" && ac_dir=.
8835 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
8836 acl_cv_path_LD="$ac_dir/$ac_prog"
8837 # Check to see if the program is GNU ld. I'd rather use --version,
8838 # but apparently some GNU ld's only accept -v.
8839 # Break only if it was the GNU/non-GNU ld that we prefer.
8840 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
8841 test "$with_gnu_ld" != no && break
8842 else
8843 test "$with_gnu_ld" != yes && break
8844 fi
8845 fi
8846 done
8847 IFS="$ac_save_ifs"
8848 else
8849 acl_cv_path_LD="$LD" # Let the user override the test with a path.
8850 fi
8851 fi
8852
8853 LD="$acl_cv_path_LD"
8854 if test -n "$LD"; then
8855 echo "$as_me:$LINENO: result: $LD" >&5
8856 echo "${ECHO_T}$LD" >&6
8857 else
8858 echo "$as_me:$LINENO: result: no" >&5
8859 echo "${ECHO_T}no" >&6
8860 fi
8861 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
8862 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
8863 { (exit 1); exit 1; }; }
8864 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
8865 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
8866 if test "${acl_cv_prog_gnu_ld+set}" = set; then
8867 echo $ECHO_N "(cached) $ECHO_C" >&6
8868 else
8869 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
8870 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
8871 acl_cv_prog_gnu_ld=yes
8872 else
8873 acl_cv_prog_gnu_ld=no
8874 fi
8875 fi
8876 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
8877 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
8878 with_gnu_ld=$acl_cv_prog_gnu_ld
8879
8880
8881
8882 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
8883 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
8884 if test "${acl_cv_rpath+set}" = set; then
8885 echo $ECHO_N "(cached) $ECHO_C" >&6
8886 else
8887
8888 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
8889 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
8890 . ./conftest.sh
8891 rm -f ./conftest.sh
8892 acl_cv_rpath=done
8893
8894 fi
8895 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
8896 echo "${ECHO_T}$acl_cv_rpath" >&6
8897 wl="$acl_cv_wl"
8898 libext="$acl_cv_libext"
8899 shlibext="$acl_cv_shlibext"
8900 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
8901 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
8902 hardcode_direct="$acl_cv_hardcode_direct"
8903 hardcode_minus_L="$acl_cv_hardcode_minus_L"
8904 # Check whether --enable-rpath or --disable-rpath was given.
8905 if test "${enable_rpath+set}" = set; then
8906 enableval="$enable_rpath"
8907 :
8908 else
8909 enable_rpath=yes
8910 fi;
8911
8912
8913
8914
8915
8916
8917
8918 use_additional=yes
8919
8920 acl_save_prefix="$prefix"
8921 prefix="$acl_final_prefix"
8922 acl_save_exec_prefix="$exec_prefix"
8923 exec_prefix="$acl_final_exec_prefix"
8924
8925 eval additional_includedir=\"$includedir\"
8926 eval additional_libdir=\"$libdir\"
8927
8928 exec_prefix="$acl_save_exec_prefix"
8929 prefix="$acl_save_prefix"
8930
8931
8932 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
8933 if test "${with_libiconv_prefix+set}" = set; then
8934 withval="$with_libiconv_prefix"
8935
8936 if test "X$withval" = "Xno"; then
8937 use_additional=no
8938 else
8939 if test "X$withval" = "X"; then
8940
8941 acl_save_prefix="$prefix"
8942 prefix="$acl_final_prefix"
8943 acl_save_exec_prefix="$exec_prefix"
8944 exec_prefix="$acl_final_exec_prefix"
8945
8946 eval additional_includedir=\"$includedir\"
8947 eval additional_libdir=\"$libdir\"
8948
8949 exec_prefix="$acl_save_exec_prefix"
8950 prefix="$acl_save_prefix"
8951
8952 else
8953 additional_includedir="$withval/include"
8954 additional_libdir="$withval/lib"
8955 fi
8956 fi
8957
8958 fi;
8959 LIBICONV=
8960 LTLIBICONV=
8961 INCICONV=
8962 rpathdirs=
8963 ltrpathdirs=
8964 names_already_handled=
8965 names_next_round='iconv '
8966 while test -n "$names_next_round"; do
8967 names_this_round="$names_next_round"
8968 names_next_round=
8969 for name in $names_this_round; do
8970 already_handled=
8971 for n in $names_already_handled; do
8972 if test "$n" = "$name"; then
8973 already_handled=yes
8974 break
8975 fi
8976 done
8977 if test -z "$already_handled"; then
8978 names_already_handled="$names_already_handled $name"
8979 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
8980 eval value=\"\$HAVE_LIB$uppername\"
8981 if test -n "$value"; then
8982 if test "$value" = yes; then
8983 eval value=\"\$LIB$uppername\"
8984 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
8985 eval value=\"\$LTLIB$uppername\"
8986 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
8987 else
8988 :
8989 fi
8990 else
8991 found_dir=
8992 found_la=
8993 found_so=
8994 found_a=
8995 if test $use_additional = yes; then
8996 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
8997 found_dir="$additional_libdir"
8998 found_so="$additional_libdir/lib$name.$shlibext"
8999 if test -f "$additional_libdir/lib$name.la"; then
9000 found_la="$additional_libdir/lib$name.la"
9001 fi
9002 else
9003 if test -f "$additional_libdir/lib$name.$libext"; then
9004 found_dir="$additional_libdir"
9005 found_a="$additional_libdir/lib$name.$libext"
9006 if test -f "$additional_libdir/lib$name.la"; then
9007 found_la="$additional_libdir/lib$name.la"
9008 fi
9009 fi
9010 fi
9011 fi
9012 if test "X$found_dir" = "X"; then
9013 for x in $LDFLAGS $LTLIBICONV; do
9014
9015 acl_save_prefix="$prefix"
9016 prefix="$acl_final_prefix"
9017 acl_save_exec_prefix="$exec_prefix"
9018 exec_prefix="$acl_final_exec_prefix"
9019 eval x=\"$x\"
9020 exec_prefix="$acl_save_exec_prefix"
9021 prefix="$acl_save_prefix"
9022
9023 case "$x" in
9024 -L*)
9025 dir=`echo "X$x" | sed -e 's/^X-L//'`
9026 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
9027 found_dir="$dir"
9028 found_so="$dir/lib$name.$shlibext"
9029 if test -f "$dir/lib$name.la"; then
9030 found_la="$dir/lib$name.la"
9031 fi
9032 else
9033 if test -f "$dir/lib$name.$libext"; then
9034 found_dir="$dir"
9035 found_a="$dir/lib$name.$libext"
9036 if test -f "$dir/lib$name.la"; then
9037 found_la="$dir/lib$name.la"
9038 fi
9039 fi
9040 fi
9041 ;;
9042 esac
9043 if test "X$found_dir" != "X"; then
9044 break
9045 fi
9046 done
9047 fi
9048 if test "X$found_dir" != "X"; then
9049 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
9050 if test "X$found_so" != "X"; then
9051 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
9052 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
9053 else
9054 haveit=
9055 for x in $ltrpathdirs; do
9056 if test "X$x" = "X$found_dir"; then
9057 haveit=yes
9058 break
9059 fi
9060 done
9061 if test -z "$haveit"; then
9062 ltrpathdirs="$ltrpathdirs $found_dir"
9063 fi
9064 if test "$hardcode_direct" = yes; then
9065 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
9066 else
9067 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
9068 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
9069 haveit=
9070 for x in $rpathdirs; do
9071 if test "X$x" = "X$found_dir"; then
9072 haveit=yes
9073 break
9074 fi
9075 done
9076 if test -z "$haveit"; then
9077 rpathdirs="$rpathdirs $found_dir"
9078 fi
9079 else
9080 haveit=
9081 for x in $LDFLAGS $LIBICONV; do
9082
9083 acl_save_prefix="$prefix"
9084 prefix="$acl_final_prefix"
9085 acl_save_exec_prefix="$exec_prefix"
9086 exec_prefix="$acl_final_exec_prefix"
9087 eval x=\"$x\"
9088 exec_prefix="$acl_save_exec_prefix"
9089 prefix="$acl_save_prefix"
9090
9091 if test "X$x" = "X-L$found_dir"; then
9092 haveit=yes
9093 break
9094 fi
9095 done
9096 if test -z "$haveit"; then
9097 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
9098 fi
9099 if test "$hardcode_minus_L" != no; then
9100 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
9101 else
9102 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
9103 fi
9104 fi
9105 fi
9106 fi
9107 else
9108 if test "X$found_a" != "X"; then
9109 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
9110 else
9111 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
9112 fi
9113 fi
9114 additional_includedir=
9115 case "$found_dir" in
9116 */lib | */lib/)
9117 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
9118 additional_includedir="$basedir/include"
9119 ;;
9120 esac
9121 if test "X$additional_includedir" != "X"; then
9122 if test "X$additional_includedir" != "X/usr/include"; then
9123 haveit=
9124 if test "X$additional_includedir" = "X/usr/local/include"; then
9125 if test -n "$GCC"; then
9126 case $host_os in
9127 linux*) haveit=yes;;
9128 esac
9129 fi
9130 fi
9131 if test -z "$haveit"; then
9132 for x in $CPPFLAGS $INCICONV; do
9133
9134 acl_save_prefix="$prefix"
9135 prefix="$acl_final_prefix"
9136 acl_save_exec_prefix="$exec_prefix"
9137 exec_prefix="$acl_final_exec_prefix"
9138 eval x=\"$x\"
9139 exec_prefix="$acl_save_exec_prefix"
9140 prefix="$acl_save_prefix"
9141
9142 if test "X$x" = "X-I$additional_includedir"; then
9143 haveit=yes
9144 break
9145 fi
9146 done
9147 if test -z "$haveit"; then
9148 if test -d "$additional_includedir"; then
9149 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
9150 fi
9151 fi
9152 fi
9153 fi
9154 fi
9155 if test -n "$found_la"; then
9156 save_libdir="$libdir"
9157 case "$found_la" in
9158 */* | *\\*) . "$found_la" ;;
9159 *) . "./$found_la" ;;
9160 esac
9161 libdir="$save_libdir"
9162 for dep in $dependency_libs; do
9163 case "$dep" in
9164 -L*)
9165 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
9166 if test "X$additional_libdir" != "X/usr/lib"; then
9167 haveit=
9168 if test "X$additional_libdir" = "X/usr/local/lib"; then
9169 if test -n "$GCC"; then
9170 case $host_os in
9171 linux*) haveit=yes;;
9172 esac
9173 fi
9174 fi
9175 if test -z "$haveit"; then
9176 haveit=
9177 for x in $LDFLAGS $LIBICONV; do
9178
9179 acl_save_prefix="$prefix"
9180 prefix="$acl_final_prefix"
9181 acl_save_exec_prefix="$exec_prefix"
9182 exec_prefix="$acl_final_exec_prefix"
9183 eval x=\"$x\"
9184 exec_prefix="$acl_save_exec_prefix"
9185 prefix="$acl_save_prefix"
9186
9187 if test "X$x" = "X-L$additional_libdir"; then
9188 haveit=yes
9189 break
9190 fi
9191 done
9192 if test -z "$haveit"; then
9193 if test -d "$additional_libdir"; then
9194 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
9195 fi
9196 fi
9197 haveit=
9198 for x in $LDFLAGS $LTLIBICONV; do
9199
9200 acl_save_prefix="$prefix"
9201 prefix="$acl_final_prefix"
9202 acl_save_exec_prefix="$exec_prefix"
9203 exec_prefix="$acl_final_exec_prefix"
9204 eval x=\"$x\"
9205 exec_prefix="$acl_save_exec_prefix"
9206 prefix="$acl_save_prefix"
9207
9208 if test "X$x" = "X-L$additional_libdir"; then
9209 haveit=yes
9210 break
9211 fi
9212 done
9213 if test -z "$haveit"; then
9214 if test -d "$additional_libdir"; then
9215 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
9216 fi
9217 fi
9218 fi
9219 fi
9220 ;;
9221 -R*)
9222 dir=`echo "X$dep" | sed -e 's/^X-R//'`
9223 if test "$enable_rpath" != no; then
9224 haveit=
9225 for x in $rpathdirs; do
9226 if test "X$x" = "X$dir"; then
9227 haveit=yes
9228 break
9229 fi
9230 done
9231 if test -z "$haveit"; then
9232 rpathdirs="$rpathdirs $dir"
9233 fi
9234 haveit=
9235 for x in $ltrpathdirs; do
9236 if test "X$x" = "X$dir"; then
9237 haveit=yes
9238 break
9239 fi
9240 done
9241 if test -z "$haveit"; then
9242 ltrpathdirs="$ltrpathdirs $dir"
9243 fi
9244 fi
9245 ;;
9246 -l*)
9247 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
9248 ;;
9249 *.la)
9250 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
9251 ;;
9252 *)
9253 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
9254 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
9255 ;;
9256 esac
9257 done
9258 fi
9259 else
9260 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
9261 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
9262 fi
9263 fi
9264 fi
9265 done
9266 done
9267 if test "X$rpathdirs" != "X"; then
9268 if test -n "$hardcode_libdir_separator"; then
9269 alldirs=
9270 for found_dir in $rpathdirs; do
9271 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
9272 done
9273 acl_save_libdir="$libdir"
9274 libdir="$alldirs"
9275 eval flag=\"$hardcode_libdir_flag_spec\"
9276 libdir="$acl_save_libdir"
9277 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
9278 else
9279 for found_dir in $rpathdirs; do
9280 acl_save_libdir="$libdir"
9281 libdir="$found_dir"
9282 eval flag=\"$hardcode_libdir_flag_spec\"
9283 libdir="$acl_save_libdir"
9284 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
9285 done
9286 fi
9287 fi
9288 if test "X$ltrpathdirs" != "X"; then
9289 for found_dir in $ltrpathdirs; do
9290 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
9291 done
9292 fi
9293
9294
9295
9296
9297
9298
9299
9300 am_save_CPPFLAGS="$CPPFLAGS"
9301
9302 for element in $INCICONV; do
9303 haveit=
9304 for x in $CPPFLAGS; do
9305
9306 acl_save_prefix="$prefix"
9307 prefix="$acl_final_prefix"
9308 acl_save_exec_prefix="$exec_prefix"
9309 exec_prefix="$acl_final_exec_prefix"
9310 eval x=\"$x\"
9311 exec_prefix="$acl_save_exec_prefix"
9312 prefix="$acl_save_prefix"
9313
9314 if test "X$x" = "X$element"; then
9315 haveit=yes
9316 break
9317 fi
9318 done
9319 if test -z "$haveit"; then
9320 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
9321 fi
9322 done
9323
9324
9325 echo "$as_me:$LINENO: checking for iconv" >&5
9326 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
9327 if test "${am_cv_func_iconv+set}" = set; then
9328 echo $ECHO_N "(cached) $ECHO_C" >&6
9329 else
9330
9331 am_cv_func_iconv="no, consider installing GNU libiconv"
9332 am_cv_lib_iconv=no
9333 cat >conftest.$ac_ext <<_ACEOF
9334 /* confdefs.h. */
9335 _ACEOF
9336 cat confdefs.h >>conftest.$ac_ext
9337 cat >>conftest.$ac_ext <<_ACEOF
9338 /* end confdefs.h. */
9339 #include <stdlib.h>
9340 #include <iconv.h>
9341 int
9342 main ()
9343 {
9344 iconv_t cd = iconv_open("","");
9345 iconv(cd,NULL,NULL,NULL,NULL);
9346 iconv_close(cd);
9347 ;
9348 return 0;
9349 }
9350 _ACEOF
9351 rm -f conftest.$ac_objext conftest$ac_exeext
9352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9353 (eval $ac_link) 2>conftest.er1
9354 ac_status=$?
9355 grep -v '^ *+' conftest.er1 >conftest.err
9356 rm -f conftest.er1
9357 cat conftest.err >&5
9358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9359 (exit $ac_status); } &&
9360 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9362 (eval $ac_try) 2>&5
9363 ac_status=$?
9364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9365 (exit $ac_status); }; } &&
9366 { ac_try='test -s conftest$ac_exeext'
9367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9368 (eval $ac_try) 2>&5
9369 ac_status=$?
9370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9371 (exit $ac_status); }; }; then
9372 am_cv_func_iconv=yes
9373 else
9374 echo "$as_me: failed program was:" >&5
9375 sed 's/^/| /' conftest.$ac_ext >&5
9376
9377 fi
9378 rm -f conftest.err conftest.$ac_objext \
9379 conftest$ac_exeext conftest.$ac_ext
9380 if test "$am_cv_func_iconv" != yes; then
9381 am_save_LIBS="$LIBS"
9382 LIBS="$LIBS $LIBICONV"
9383 cat >conftest.$ac_ext <<_ACEOF
9384 /* confdefs.h. */
9385 _ACEOF
9386 cat confdefs.h >>conftest.$ac_ext
9387 cat >>conftest.$ac_ext <<_ACEOF
9388 /* end confdefs.h. */
9389 #include <stdlib.h>
9390 #include <iconv.h>
9391 int
9392 main ()
9393 {
9394 iconv_t cd = iconv_open("","");
9395 iconv(cd,NULL,NULL,NULL,NULL);
9396 iconv_close(cd);
9397 ;
9398 return 0;
9399 }
9400 _ACEOF
9401 rm -f conftest.$ac_objext conftest$ac_exeext
9402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9403 (eval $ac_link) 2>conftest.er1
9404 ac_status=$?
9405 grep -v '^ *+' conftest.er1 >conftest.err
9406 rm -f conftest.er1
9407 cat conftest.err >&5
9408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9409 (exit $ac_status); } &&
9410 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
9416 { ac_try='test -s conftest$ac_exeext'
9417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9418 (eval $ac_try) 2>&5
9419 ac_status=$?
9420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9421 (exit $ac_status); }; }; then
9422 am_cv_lib_iconv=yes
9423 am_cv_func_iconv=yes
9424 else
9425 echo "$as_me: failed program was:" >&5
9426 sed 's/^/| /' conftest.$ac_ext >&5
9427
9428 fi
9429 rm -f conftest.err conftest.$ac_objext \
9430 conftest$ac_exeext conftest.$ac_ext
9431 LIBS="$am_save_LIBS"
9432 fi
9433
9434 fi
9435 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
9436 echo "${ECHO_T}$am_cv_func_iconv" >&6
9437 if test "$am_cv_func_iconv" = yes; then
9438
9439 cat >>confdefs.h <<\_ACEOF
9440 #define HAVE_ICONV 1
9441 _ACEOF
9442
9443 fi
9444 if test "$am_cv_lib_iconv" = yes; then
9445 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
9446 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
9447 echo "$as_me:$LINENO: result: $LIBICONV" >&5
9448 echo "${ECHO_T}$LIBICONV" >&6
9449 else
9450 CPPFLAGS="$am_save_CPPFLAGS"
9451 LIBICONV=
9452 LTLIBICONV=
9453 fi
9454
9455
9456
9457 if test "$am_cv_func_iconv" = yes; then
9458 echo "$as_me:$LINENO: checking for iconv declaration" >&5
9459 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
9460 if test "${am_cv_proto_iconv+set}" = set; then
9461 echo $ECHO_N "(cached) $ECHO_C" >&6
9462 else
9463
9464 cat >conftest.$ac_ext <<_ACEOF
9465 /* confdefs.h. */
9466 _ACEOF
9467 cat confdefs.h >>conftest.$ac_ext
9468 cat >>conftest.$ac_ext <<_ACEOF
9469 /* end confdefs.h. */
9470
9471 #include <stdlib.h>
9472 #include <iconv.h>
9473 extern
9474 #ifdef __cplusplus
9475 "C"
9476 #endif
9477 #if defined(__STDC__) || defined(__cplusplus)
9478 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
9479 #else
9480 size_t iconv();
9481 #endif
9482
9483 int
9484 main ()
9485 {
9486
9487 ;
9488 return 0;
9489 }
9490 _ACEOF
9491 rm -f conftest.$ac_objext
9492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9493 (eval $ac_compile) 2>conftest.er1
9494 ac_status=$?
9495 grep -v '^ *+' conftest.er1 >conftest.err
9496 rm -f conftest.er1
9497 cat conftest.err >&5
9498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9499 (exit $ac_status); } &&
9500 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9502 (eval $ac_try) 2>&5
9503 ac_status=$?
9504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9505 (exit $ac_status); }; } &&
9506 { ac_try='test -s conftest.$ac_objext'
9507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9508 (eval $ac_try) 2>&5
9509 ac_status=$?
9510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9511 (exit $ac_status); }; }; then
9512 am_cv_proto_iconv_arg1=""
9513 else
9514 echo "$as_me: failed program was:" >&5
9515 sed 's/^/| /' conftest.$ac_ext >&5
9516
9517 am_cv_proto_iconv_arg1="const"
9518 fi
9519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9520 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);"
9521 fi
9522
9523 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
9524 echo "$as_me:$LINENO: result: ${ac_t:-
9525 }$am_cv_proto_iconv" >&5
9526 echo "${ECHO_T}${ac_t:-
9527 }$am_cv_proto_iconv" >&6
9528
9529 cat >>confdefs.h <<_ACEOF
9530 #define ICONV_CONST $am_cv_proto_iconv_arg1
9531 _ACEOF
9532
9533 fi
9534
9535
9536 if test "x${GCC}" = xyes; then
9537
9538 WARNING_CFLAGS='-pedantic -W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long'
9539
9540
9541 STRICT_WARNING_CFLAGS=-Wstrict-prototypes
9542
9543
9544 ERROR_CFLAGS=
9545 if test "x${ENABLE_WERROR}" = xyes; then
9546 ERROR_CFLAGS='-Werror'
9547 fi
9548
9549 fi
9550
9551 if test "x${COMPILE_XMLJ}" = xyes; then
9552
9553 succeeded=no
9554
9555 if test -z "$PKG_CONFIG"; then
9556 # Extract the first word of "pkg-config", so it can be a program name with args.
9557 set dummy pkg-config; ac_word=$2
9558 echo "$as_me:$LINENO: checking for $ac_word" >&5
9559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9560 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9561 echo $ECHO_N "(cached) $ECHO_C" >&6
9562 else
9563 case $PKG_CONFIG in
9564 [\\/]* | ?:[\\/]*)
9565 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9566 ;;
9567 *)
9568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9569 for as_dir in $PATH
9570 do
9571 IFS=$as_save_IFS
9572 test -z "$as_dir" && as_dir=.
9573 for ac_exec_ext in '' $ac_executable_extensions; do
9574 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9575 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9577 break 2
9578 fi
9579 done
9580 done
9581
9582 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
9583 ;;
9584 esac
9585 fi
9586 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9587
9588 if test -n "$PKG_CONFIG"; then
9589 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9590 echo "${ECHO_T}$PKG_CONFIG" >&6
9591 else
9592 echo "$as_me:$LINENO: result: no" >&5
9593 echo "${ECHO_T}no" >&6
9594 fi
9595
9596 fi
9597
9598 if test "$PKG_CONFIG" = "no" ; then
9599 echo "*** The pkg-config script could not be found. Make sure it is"
9600 echo "*** in your path, or set the PKG_CONFIG environment variable"
9601 echo "*** to the full path to pkg-config."
9602 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
9603 else
9604 PKG_CONFIG_MIN_VERSION=0.9.0
9605 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9606 echo "$as_me:$LINENO: checking for libxml-2.0 >= 2.6.8" >&5
9607 echo $ECHO_N "checking for libxml-2.0 >= 2.6.8... $ECHO_C" >&6
9608
9609 if $PKG_CONFIG --exists "libxml-2.0 >= 2.6.8" ; then
9610 echo "$as_me:$LINENO: result: yes" >&5
9611 echo "${ECHO_T}yes" >&6
9612 succeeded=yes
9613
9614 echo "$as_me:$LINENO: checking XML_CFLAGS" >&5
9615 echo $ECHO_N "checking XML_CFLAGS... $ECHO_C" >&6
9616 XML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.8"`
9617 echo "$as_me:$LINENO: result: $XML_CFLAGS" >&5
9618 echo "${ECHO_T}$XML_CFLAGS" >&6
9619
9620 echo "$as_me:$LINENO: checking XML_LIBS" >&5
9621 echo $ECHO_N "checking XML_LIBS... $ECHO_C" >&6
9622 XML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.8"`
9623 echo "$as_me:$LINENO: result: $XML_LIBS" >&5
9624 echo "${ECHO_T}$XML_LIBS" >&6
9625 else
9626 XML_CFLAGS=""
9627 XML_LIBS=""
9628 ## If we have a custom action on failure, don't print errors, but
9629 ## do set a variable so people can do so.
9630 XML_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= 2.6.8"`
9631 echo $XML_PKG_ERRORS
9632 fi
9633
9634
9635
9636 else
9637 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
9638 echo "*** See http://www.freedesktop.org/software/pkgconfig"
9639 fi
9640 fi
9641
9642 if test $succeeded = yes; then
9643 :
9644 else
9645 { { 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
9646 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;}
9647 { (exit 1); exit 1; }; }
9648 fi
9649
9650
9651 succeeded=no
9652
9653 if test -z "$PKG_CONFIG"; then
9654 # Extract the first word of "pkg-config", so it can be a program name with args.
9655 set dummy pkg-config; ac_word=$2
9656 echo "$as_me:$LINENO: checking for $ac_word" >&5
9657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9658 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9659 echo $ECHO_N "(cached) $ECHO_C" >&6
9660 else
9661 case $PKG_CONFIG in
9662 [\\/]* | ?:[\\/]*)
9663 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9664 ;;
9665 *)
9666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9667 for as_dir in $PATH
9668 do
9669 IFS=$as_save_IFS
9670 test -z "$as_dir" && as_dir=.
9671 for ac_exec_ext in '' $ac_executable_extensions; do
9672 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9673 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9675 break 2
9676 fi
9677 done
9678 done
9679
9680 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
9681 ;;
9682 esac
9683 fi
9684 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9685
9686 if test -n "$PKG_CONFIG"; then
9687 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9688 echo "${ECHO_T}$PKG_CONFIG" >&6
9689 else
9690 echo "$as_me:$LINENO: result: no" >&5
9691 echo "${ECHO_T}no" >&6
9692 fi
9693
9694 fi
9695
9696 if test "$PKG_CONFIG" = "no" ; then
9697 echo "*** The pkg-config script could not be found. Make sure it is"
9698 echo "*** in your path, or set the PKG_CONFIG environment variable"
9699 echo "*** to the full path to pkg-config."
9700 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
9701 else
9702 PKG_CONFIG_MIN_VERSION=0.9.0
9703 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9704 echo "$as_me:$LINENO: checking for libxslt >= 1.1.11" >&5
9705 echo $ECHO_N "checking for libxslt >= 1.1.11... $ECHO_C" >&6
9706
9707 if $PKG_CONFIG --exists "libxslt >= 1.1.11" ; then
9708 echo "$as_me:$LINENO: result: yes" >&5
9709 echo "${ECHO_T}yes" >&6
9710 succeeded=yes
9711
9712 echo "$as_me:$LINENO: checking XSLT_CFLAGS" >&5
9713 echo $ECHO_N "checking XSLT_CFLAGS... $ECHO_C" >&6
9714 XSLT_CFLAGS=`$PKG_CONFIG --cflags "libxslt >= 1.1.11"`
9715 echo "$as_me:$LINENO: result: $XSLT_CFLAGS" >&5
9716 echo "${ECHO_T}$XSLT_CFLAGS" >&6
9717
9718 echo "$as_me:$LINENO: checking XSLT_LIBS" >&5
9719 echo $ECHO_N "checking XSLT_LIBS... $ECHO_C" >&6
9720 XSLT_LIBS=`$PKG_CONFIG --libs "libxslt >= 1.1.11"`
9721 echo "$as_me:$LINENO: result: $XSLT_LIBS" >&5
9722 echo "${ECHO_T}$XSLT_LIBS" >&6
9723 else
9724 XSLT_CFLAGS=""
9725 XSLT_LIBS=""
9726 ## If we have a custom action on failure, don't print errors, but
9727 ## do set a variable so people can do so.
9728 XSLT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxslt >= 1.1.11"`
9729 echo $XSLT_PKG_ERRORS
9730 fi
9731
9732
9733
9734 else
9735 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
9736 echo "*** See http://www.freedesktop.org/software/pkgconfig"
9737 fi
9738 fi
9739
9740 if test $succeeded = yes; then
9741 :
9742 else
9743 { { 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
9744 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;}
9745 { (exit 1); exit 1; }; }
9746 fi
9747
9748
9749
9750
9751
9752 fi
9753
9754 if test "x${COMPILE_GTK_PEER}" = xyes; then
9755
9756 if test "x$ac_path_x_has_been_run" != xyes; then
9757 echo "$as_me:$LINENO: checking for X" >&5
9758 echo $ECHO_N "checking for X... $ECHO_C" >&6
9759
9760 ac_path_x_has_been_run=yes
9761
9762 # Check whether --with-x or --without-x was given.
9763 if test "${with_x+set}" = set; then
9764 withval="$with_x"
9765
9766 fi;
9767 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9768 if test "x$with_x" = xno; then
9769 # The user explicitly disabled X.
9770 have_x=disabled
9771 else
9772 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
9773 # Both variables are already set.
9774 have_x=yes
9775 else
9776 if test "${ac_cv_have_x+set}" = set; then
9777 echo $ECHO_N "(cached) $ECHO_C" >&6
9778 else
9779 # One or both of the vars are not set, and there is no cached value.
9780 ac_x_includes=no ac_x_libraries=no
9781 rm -fr conftest.dir
9782 if mkdir conftest.dir; then
9783 cd conftest.dir
9784 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
9785 cat >Imakefile <<'_ACEOF'
9786 acfindx:
9787 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
9788 _ACEOF
9789 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
9790 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9791 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
9792 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9793 for ac_extension in a so sl; do
9794 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
9795 test -f $ac_im_libdir/libX11.$ac_extension; then
9796 ac_im_usrlibdir=$ac_im_libdir; break
9797 fi
9798 done
9799 # Screen out bogus values from the imake configuration. They are
9800 # bogus both because they are the default anyway, and because
9801 # using them would break gcc on systems where it needs fixed includes.
9802 case $ac_im_incroot in
9803 /usr/include) ;;
9804 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9805 esac
9806 case $ac_im_usrlibdir in
9807 /usr/lib | /lib) ;;
9808 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9809 esac
9810 fi
9811 cd ..
9812 rm -fr conftest.dir
9813 fi
9814
9815 # Standard set of common directories for X headers.
9816 # Check X11 before X11Rn because it is often a symlink to the current release.
9817 ac_x_header_dirs='
9818 /usr/X11/include
9819 /usr/X11R6/include
9820 /usr/X11R5/include
9821 /usr/X11R4/include
9822
9823 /usr/include/X11
9824 /usr/include/X11R6
9825 /usr/include/X11R5
9826 /usr/include/X11R4
9827
9828 /usr/local/X11/include
9829 /usr/local/X11R6/include
9830 /usr/local/X11R5/include
9831 /usr/local/X11R4/include
9832
9833 /usr/local/include/X11
9834 /usr/local/include/X11R6
9835 /usr/local/include/X11R5
9836 /usr/local/include/X11R4
9837
9838 /usr/X386/include
9839 /usr/x386/include
9840 /usr/XFree86/include/X11
9841
9842 /usr/include
9843 /usr/local/include
9844 /usr/unsupported/include
9845 /usr/athena/include
9846 /usr/local/x11r5/include
9847 /usr/lpp/Xamples/include
9848
9849 /usr/openwin/include
9850 /usr/openwin/share/include'
9851
9852 if test "$ac_x_includes" = no; then
9853 # Guess where to find include files, by looking for a specified header file.
9854 # First, try using that file with no special directory specified.
9855 cat >conftest.$ac_ext <<_ACEOF
9856 /* confdefs.h. */
9857 _ACEOF
9858 cat confdefs.h >>conftest.$ac_ext
9859 cat >>conftest.$ac_ext <<_ACEOF
9860 /* end confdefs.h. */
9861 #include <X11/Xlib.h>
9862 _ACEOF
9863 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9864 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9865 ac_status=$?
9866 grep -v '^ *+' conftest.er1 >conftest.err
9867 rm -f conftest.er1
9868 cat conftest.err >&5
9869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9870 (exit $ac_status); } >/dev/null; then
9871 if test -s conftest.err; then
9872 ac_cpp_err=$ac_c_preproc_warn_flag
9873 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9874 else
9875 ac_cpp_err=
9876 fi
9877 else
9878 ac_cpp_err=yes
9879 fi
9880 if test -z "$ac_cpp_err"; then
9881 # We can compile using X headers with no special include directory.
9882 ac_x_includes=
9883 else
9884 echo "$as_me: failed program was:" >&5
9885 sed 's/^/| /' conftest.$ac_ext >&5
9886
9887 for ac_dir in $ac_x_header_dirs; do
9888 if test -r "$ac_dir/X11/Xlib.h"; then
9889 ac_x_includes=$ac_dir
9890 break
9891 fi
9892 done
9893 fi
9894 rm -f conftest.err conftest.$ac_ext
9895 fi # $ac_x_includes = no
9896
9897 if test "$ac_x_libraries" = no; then
9898 # Check for the libraries.
9899 # See if we find them without any special options.
9900 # Don't add to $LIBS permanently.
9901 ac_save_LIBS=$LIBS
9902 LIBS="-lX11 $LIBS"
9903 cat >conftest.$ac_ext <<_ACEOF
9904 /* confdefs.h. */
9905 _ACEOF
9906 cat confdefs.h >>conftest.$ac_ext
9907 cat >>conftest.$ac_ext <<_ACEOF
9908 /* end confdefs.h. */
9909 #include <X11/Xlib.h>
9910 int
9911 main ()
9912 {
9913 XrmInitialize ()
9914 ;
9915 return 0;
9916 }
9917 _ACEOF
9918 rm -f conftest.$ac_objext conftest$ac_exeext
9919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9920 (eval $ac_link) 2>conftest.er1
9921 ac_status=$?
9922 grep -v '^ *+' conftest.er1 >conftest.err
9923 rm -f conftest.er1
9924 cat conftest.err >&5
9925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9926 (exit $ac_status); } &&
9927 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9929 (eval $ac_try) 2>&5
9930 ac_status=$?
9931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9932 (exit $ac_status); }; } &&
9933 { ac_try='test -s conftest$ac_exeext'
9934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9935 (eval $ac_try) 2>&5
9936 ac_status=$?
9937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9938 (exit $ac_status); }; }; then
9939 LIBS=$ac_save_LIBS
9940 # We can link X programs with no special library path.
9941 ac_x_libraries=
9942 else
9943 echo "$as_me: failed program was:" >&5
9944 sed 's/^/| /' conftest.$ac_ext >&5
9945
9946 LIBS=$ac_save_LIBS
9947 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9948 do
9949 # Don't even attempt the hair of trying to link an X program!
9950 for ac_extension in a so sl; do
9951 if test -r $ac_dir/libX11.$ac_extension; then
9952 ac_x_libraries=$ac_dir
9953 break 2
9954 fi
9955 done
9956 done
9957 fi
9958 rm -f conftest.err conftest.$ac_objext \
9959 conftest$ac_exeext conftest.$ac_ext
9960 fi # $ac_x_libraries = no
9961
9962 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
9963 # Didn't find X anywhere. Cache the known absence of X.
9964 ac_cv_have_x="have_x=no"
9965 else
9966 # Record where we found X for the cache.
9967 ac_cv_have_x="have_x=yes \
9968 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
9969 fi
9970 fi
9971
9972 fi
9973 eval "$ac_cv_have_x"
9974 fi # $with_x != no
9975
9976 if test "$have_x" != yes; then
9977 echo "$as_me:$LINENO: result: $have_x" >&5
9978 echo "${ECHO_T}$have_x" >&6
9979 no_x=yes
9980 else
9981 # If each of the values was on the command line, it overrides each guess.
9982 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9983 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9984 # Update the cache value to reflect the command line values.
9985 ac_cv_have_x="have_x=yes \
9986 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9987 # It might be that x_includes is empty (headers are found in the
9988 # standard search path. Then output the corresponding message
9989 ac_out_x_includes=$x_includes
9990 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
9991 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
9992 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
9993 fi
9994
9995 fi
9996 if test "$no_x" = yes; then
9997 # Not all programs may use this symbol, but it does not hurt to define it.
9998
9999 cat >>confdefs.h <<\_ACEOF
10000 #define X_DISPLAY_MISSING 1
10001 _ACEOF
10002
10003 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10004 else
10005 if test -n "$x_includes"; then
10006 X_CFLAGS="$X_CFLAGS -I$x_includes"
10007 fi
10008
10009 # It would also be nice to do this for all -L options, not just this one.
10010 if test -n "$x_libraries"; then
10011 X_LIBS="$X_LIBS -L$x_libraries"
10012 # For Solaris; some versions of Sun CC require a space after -R and
10013 # others require no space. Words are not sufficient . . . .
10014 case `(uname -sr) 2>/dev/null` in
10015 "SunOS 5"*)
10016 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
10017 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
10018 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10019 cat >conftest.$ac_ext <<_ACEOF
10020 /* confdefs.h. */
10021 _ACEOF
10022 cat confdefs.h >>conftest.$ac_ext
10023 cat >>conftest.$ac_ext <<_ACEOF
10024 /* end confdefs.h. */
10025
10026 int
10027 main ()
10028 {
10029
10030 ;
10031 return 0;
10032 }
10033 _ACEOF
10034 rm -f conftest.$ac_objext conftest$ac_exeext
10035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10036 (eval $ac_link) 2>conftest.er1
10037 ac_status=$?
10038 grep -v '^ *+' conftest.er1 >conftest.err
10039 rm -f conftest.er1
10040 cat conftest.err >&5
10041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10042 (exit $ac_status); } &&
10043 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10045 (eval $ac_try) 2>&5
10046 ac_status=$?
10047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10048 (exit $ac_status); }; } &&
10049 { ac_try='test -s conftest$ac_exeext'
10050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10051 (eval $ac_try) 2>&5
10052 ac_status=$?
10053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10054 (exit $ac_status); }; }; then
10055 ac_R_nospace=yes
10056 else
10057 echo "$as_me: failed program was:" >&5
10058 sed 's/^/| /' conftest.$ac_ext >&5
10059
10060 ac_R_nospace=no
10061 fi
10062 rm -f conftest.err conftest.$ac_objext \
10063 conftest$ac_exeext conftest.$ac_ext
10064 if test $ac_R_nospace = yes; then
10065 echo "$as_me:$LINENO: result: no" >&5
10066 echo "${ECHO_T}no" >&6
10067 X_LIBS="$X_LIBS -R$x_libraries"
10068 else
10069 LIBS="$ac_xsave_LIBS -R $x_libraries"
10070 cat >conftest.$ac_ext <<_ACEOF
10071 /* confdefs.h. */
10072 _ACEOF
10073 cat confdefs.h >>conftest.$ac_ext
10074 cat >>conftest.$ac_ext <<_ACEOF
10075 /* end confdefs.h. */
10076
10077 int
10078 main ()
10079 {
10080
10081 ;
10082 return 0;
10083 }
10084 _ACEOF
10085 rm -f conftest.$ac_objext conftest$ac_exeext
10086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10087 (eval $ac_link) 2>conftest.er1
10088 ac_status=$?
10089 grep -v '^ *+' conftest.er1 >conftest.err
10090 rm -f conftest.er1
10091 cat conftest.err >&5
10092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10093 (exit $ac_status); } &&
10094 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10096 (eval $ac_try) 2>&5
10097 ac_status=$?
10098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10099 (exit $ac_status); }; } &&
10100 { ac_try='test -s conftest$ac_exeext'
10101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10102 (eval $ac_try) 2>&5
10103 ac_status=$?
10104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10105 (exit $ac_status); }; }; then
10106 ac_R_space=yes
10107 else
10108 echo "$as_me: failed program was:" >&5
10109 sed 's/^/| /' conftest.$ac_ext >&5
10110
10111 ac_R_space=no
10112 fi
10113 rm -f conftest.err conftest.$ac_objext \
10114 conftest$ac_exeext conftest.$ac_ext
10115 if test $ac_R_space = yes; then
10116 echo "$as_me:$LINENO: result: yes" >&5
10117 echo "${ECHO_T}yes" >&6
10118 X_LIBS="$X_LIBS -R $x_libraries"
10119 else
10120 echo "$as_me:$LINENO: result: neither works" >&5
10121 echo "${ECHO_T}neither works" >&6
10122 fi
10123 fi
10124 LIBS=$ac_xsave_LIBS
10125 esac
10126 fi
10127
10128 # Check for system-dependent libraries X programs must link with.
10129 # Do this before checking for the system-independent R6 libraries
10130 # (-lICE), since we may need -lsocket or whatever for X linking.
10131
10132 if test "$ISC" = yes; then
10133 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10134 else
10135 # Martyn Johnson says this is needed for Ultrix, if the X
10136 # libraries were built with DECnet support. And Karl Berry says
10137 # the Alpha needs dnet_stub (dnet does not exist).
10138 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10139 cat >conftest.$ac_ext <<_ACEOF
10140 /* confdefs.h. */
10141 _ACEOF
10142 cat confdefs.h >>conftest.$ac_ext
10143 cat >>conftest.$ac_ext <<_ACEOF
10144 /* end confdefs.h. */
10145
10146 /* Override any gcc2 internal prototype to avoid an error. */
10147 #ifdef __cplusplus
10148 extern "C"
10149 #endif
10150 /* We use char because int might match the return type of a gcc2
10151 builtin and then its argument prototype would still apply. */
10152 char XOpenDisplay ();
10153 int
10154 main ()
10155 {
10156 XOpenDisplay ();
10157 ;
10158 return 0;
10159 }
10160 _ACEOF
10161 rm -f conftest.$ac_objext conftest$ac_exeext
10162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10163 (eval $ac_link) 2>conftest.er1
10164 ac_status=$?
10165 grep -v '^ *+' conftest.er1 >conftest.err
10166 rm -f conftest.er1
10167 cat conftest.err >&5
10168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10169 (exit $ac_status); } &&
10170 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10172 (eval $ac_try) 2>&5
10173 ac_status=$?
10174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10175 (exit $ac_status); }; } &&
10176 { ac_try='test -s conftest$ac_exeext'
10177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10178 (eval $ac_try) 2>&5
10179 ac_status=$?
10180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10181 (exit $ac_status); }; }; then
10182 :
10183 else
10184 echo "$as_me: failed program was:" >&5
10185 sed 's/^/| /' conftest.$ac_ext >&5
10186
10187 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
10188 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
10189 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
10190 echo $ECHO_N "(cached) $ECHO_C" >&6
10191 else
10192 ac_check_lib_save_LIBS=$LIBS
10193 LIBS="-ldnet $LIBS"
10194 cat >conftest.$ac_ext <<_ACEOF
10195 /* confdefs.h. */
10196 _ACEOF
10197 cat confdefs.h >>conftest.$ac_ext
10198 cat >>conftest.$ac_ext <<_ACEOF
10199 /* end confdefs.h. */
10200
10201 /* Override any gcc2 internal prototype to avoid an error. */
10202 #ifdef __cplusplus
10203 extern "C"
10204 #endif
10205 /* We use char because int might match the return type of a gcc2
10206 builtin and then its argument prototype would still apply. */
10207 char dnet_ntoa ();
10208 int
10209 main ()
10210 {
10211 dnet_ntoa ();
10212 ;
10213 return 0;
10214 }
10215 _ACEOF
10216 rm -f conftest.$ac_objext conftest$ac_exeext
10217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10218 (eval $ac_link) 2>conftest.er1
10219 ac_status=$?
10220 grep -v '^ *+' conftest.er1 >conftest.err
10221 rm -f conftest.er1
10222 cat conftest.err >&5
10223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10224 (exit $ac_status); } &&
10225 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10227 (eval $ac_try) 2>&5
10228 ac_status=$?
10229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10230 (exit $ac_status); }; } &&
10231 { ac_try='test -s conftest$ac_exeext'
10232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10233 (eval $ac_try) 2>&5
10234 ac_status=$?
10235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10236 (exit $ac_status); }; }; then
10237 ac_cv_lib_dnet_dnet_ntoa=yes
10238 else
10239 echo "$as_me: failed program was:" >&5
10240 sed 's/^/| /' conftest.$ac_ext >&5
10241
10242 ac_cv_lib_dnet_dnet_ntoa=no
10243 fi
10244 rm -f conftest.err conftest.$ac_objext \
10245 conftest$ac_exeext conftest.$ac_ext
10246 LIBS=$ac_check_lib_save_LIBS
10247 fi
10248 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10249 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
10250 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
10251 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10252 fi
10253
10254 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10255 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
10256 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
10257 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
10258 echo $ECHO_N "(cached) $ECHO_C" >&6
10259 else
10260 ac_check_lib_save_LIBS=$LIBS
10261 LIBS="-ldnet_stub $LIBS"
10262 cat >conftest.$ac_ext <<_ACEOF
10263 /* confdefs.h. */
10264 _ACEOF
10265 cat confdefs.h >>conftest.$ac_ext
10266 cat >>conftest.$ac_ext <<_ACEOF
10267 /* end confdefs.h. */
10268
10269 /* Override any gcc2 internal prototype to avoid an error. */
10270 #ifdef __cplusplus
10271 extern "C"
10272 #endif
10273 /* We use char because int might match the return type of a gcc2
10274 builtin and then its argument prototype would still apply. */
10275 char dnet_ntoa ();
10276 int
10277 main ()
10278 {
10279 dnet_ntoa ();
10280 ;
10281 return 0;
10282 }
10283 _ACEOF
10284 rm -f conftest.$ac_objext conftest$ac_exeext
10285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10286 (eval $ac_link) 2>conftest.er1
10287 ac_status=$?
10288 grep -v '^ *+' conftest.er1 >conftest.err
10289 rm -f conftest.er1
10290 cat conftest.err >&5
10291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10292 (exit $ac_status); } &&
10293 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10295 (eval $ac_try) 2>&5
10296 ac_status=$?
10297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10298 (exit $ac_status); }; } &&
10299 { ac_try='test -s conftest$ac_exeext'
10300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10301 (eval $ac_try) 2>&5
10302 ac_status=$?
10303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10304 (exit $ac_status); }; }; then
10305 ac_cv_lib_dnet_stub_dnet_ntoa=yes
10306 else
10307 echo "$as_me: failed program was:" >&5
10308 sed 's/^/| /' conftest.$ac_ext >&5
10309
10310 ac_cv_lib_dnet_stub_dnet_ntoa=no
10311 fi
10312 rm -f conftest.err conftest.$ac_objext \
10313 conftest$ac_exeext conftest.$ac_ext
10314 LIBS=$ac_check_lib_save_LIBS
10315 fi
10316 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10317 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
10318 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
10319 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10320 fi
10321
10322 fi
10323 fi
10324 rm -f conftest.err conftest.$ac_objext \
10325 conftest$ac_exeext conftest.$ac_ext
10326 LIBS="$ac_xsave_LIBS"
10327
10328 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10329 # to get the SysV transport functions.
10330 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10331 # needs -lnsl.
10332 # The nsl library prevents programs from opening the X display
10333 # on Irix 5.2, according to T.E. Dickey.
10334 # The functions gethostbyname, getservbyname, and inet_addr are
10335 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10336 echo "$as_me:$LINENO: checking for gethostbyname" >&5
10337 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
10338 if test "${ac_cv_func_gethostbyname+set}" = set; then
10339 echo $ECHO_N "(cached) $ECHO_C" >&6
10340 else
10341 cat >conftest.$ac_ext <<_ACEOF
10342 /* confdefs.h. */
10343 _ACEOF
10344 cat confdefs.h >>conftest.$ac_ext
10345 cat >>conftest.$ac_ext <<_ACEOF
10346 /* end confdefs.h. */
10347 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
10348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10349 #define gethostbyname innocuous_gethostbyname
10350
10351 /* System header to define __stub macros and hopefully few prototypes,
10352 which can conflict with char gethostbyname (); below.
10353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10354 <limits.h> exists even on freestanding compilers. */
10355
10356 #ifdef __STDC__
10357 # include <limits.h>
10358 #else
10359 # include <assert.h>
10360 #endif
10361
10362 #undef gethostbyname
10363
10364 /* Override any gcc2 internal prototype to avoid an error. */
10365 #ifdef __cplusplus
10366 extern "C"
10367 {
10368 #endif
10369 /* We use char because int might match the return type of a gcc2
10370 builtin and then its argument prototype would still apply. */
10371 char gethostbyname ();
10372 /* The GNU C library defines this for functions which it implements
10373 to always fail with ENOSYS. Some functions are actually named
10374 something starting with __ and the normal name is an alias. */
10375 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
10376 choke me
10377 #else
10378 char (*f) () = gethostbyname;
10379 #endif
10380 #ifdef __cplusplus
10381 }
10382 #endif
10383
10384 int
10385 main ()
10386 {
10387 return f != gethostbyname;
10388 ;
10389 return 0;
10390 }
10391 _ACEOF
10392 rm -f conftest.$ac_objext conftest$ac_exeext
10393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10394 (eval $ac_link) 2>conftest.er1
10395 ac_status=$?
10396 grep -v '^ *+' conftest.er1 >conftest.err
10397 rm -f conftest.er1
10398 cat conftest.err >&5
10399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10400 (exit $ac_status); } &&
10401 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10403 (eval $ac_try) 2>&5
10404 ac_status=$?
10405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10406 (exit $ac_status); }; } &&
10407 { ac_try='test -s conftest$ac_exeext'
10408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10409 (eval $ac_try) 2>&5
10410 ac_status=$?
10411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10412 (exit $ac_status); }; }; then
10413 ac_cv_func_gethostbyname=yes
10414 else
10415 echo "$as_me: failed program was:" >&5
10416 sed 's/^/| /' conftest.$ac_ext >&5
10417
10418 ac_cv_func_gethostbyname=no
10419 fi
10420 rm -f conftest.err conftest.$ac_objext \
10421 conftest$ac_exeext conftest.$ac_ext
10422 fi
10423 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
10424 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
10425
10426 if test $ac_cv_func_gethostbyname = no; then
10427 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
10428 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
10429 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
10430 echo $ECHO_N "(cached) $ECHO_C" >&6
10431 else
10432 ac_check_lib_save_LIBS=$LIBS
10433 LIBS="-lnsl $LIBS"
10434 cat >conftest.$ac_ext <<_ACEOF
10435 /* confdefs.h. */
10436 _ACEOF
10437 cat confdefs.h >>conftest.$ac_ext
10438 cat >>conftest.$ac_ext <<_ACEOF
10439 /* end confdefs.h. */
10440
10441 /* Override any gcc2 internal prototype to avoid an error. */
10442 #ifdef __cplusplus
10443 extern "C"
10444 #endif
10445 /* We use char because int might match the return type of a gcc2
10446 builtin and then its argument prototype would still apply. */
10447 char gethostbyname ();
10448 int
10449 main ()
10450 {
10451 gethostbyname ();
10452 ;
10453 return 0;
10454 }
10455 _ACEOF
10456 rm -f conftest.$ac_objext conftest$ac_exeext
10457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10458 (eval $ac_link) 2>conftest.er1
10459 ac_status=$?
10460 grep -v '^ *+' conftest.er1 >conftest.err
10461 rm -f conftest.er1
10462 cat conftest.err >&5
10463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10464 (exit $ac_status); } &&
10465 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10467 (eval $ac_try) 2>&5
10468 ac_status=$?
10469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10470 (exit $ac_status); }; } &&
10471 { ac_try='test -s conftest$ac_exeext'
10472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10473 (eval $ac_try) 2>&5
10474 ac_status=$?
10475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10476 (exit $ac_status); }; }; then
10477 ac_cv_lib_nsl_gethostbyname=yes
10478 else
10479 echo "$as_me: failed program was:" >&5
10480 sed 's/^/| /' conftest.$ac_ext >&5
10481
10482 ac_cv_lib_nsl_gethostbyname=no
10483 fi
10484 rm -f conftest.err conftest.$ac_objext \
10485 conftest$ac_exeext conftest.$ac_ext
10486 LIBS=$ac_check_lib_save_LIBS
10487 fi
10488 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
10489 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
10490 if test $ac_cv_lib_nsl_gethostbyname = yes; then
10491 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10492 fi
10493
10494 if test $ac_cv_lib_nsl_gethostbyname = no; then
10495 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
10496 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
10497 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
10498 echo $ECHO_N "(cached) $ECHO_C" >&6
10499 else
10500 ac_check_lib_save_LIBS=$LIBS
10501 LIBS="-lbsd $LIBS"
10502 cat >conftest.$ac_ext <<_ACEOF
10503 /* confdefs.h. */
10504 _ACEOF
10505 cat confdefs.h >>conftest.$ac_ext
10506 cat >>conftest.$ac_ext <<_ACEOF
10507 /* end confdefs.h. */
10508
10509 /* Override any gcc2 internal prototype to avoid an error. */
10510 #ifdef __cplusplus
10511 extern "C"
10512 #endif
10513 /* We use char because int might match the return type of a gcc2
10514 builtin and then its argument prototype would still apply. */
10515 char gethostbyname ();
10516 int
10517 main ()
10518 {
10519 gethostbyname ();
10520 ;
10521 return 0;
10522 }
10523 _ACEOF
10524 rm -f conftest.$ac_objext conftest$ac_exeext
10525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10526 (eval $ac_link) 2>conftest.er1
10527 ac_status=$?
10528 grep -v '^ *+' conftest.er1 >conftest.err
10529 rm -f conftest.er1
10530 cat conftest.err >&5
10531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10532 (exit $ac_status); } &&
10533 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10535 (eval $ac_try) 2>&5
10536 ac_status=$?
10537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10538 (exit $ac_status); }; } &&
10539 { ac_try='test -s conftest$ac_exeext'
10540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10541 (eval $ac_try) 2>&5
10542 ac_status=$?
10543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10544 (exit $ac_status); }; }; then
10545 ac_cv_lib_bsd_gethostbyname=yes
10546 else
10547 echo "$as_me: failed program was:" >&5
10548 sed 's/^/| /' conftest.$ac_ext >&5
10549
10550 ac_cv_lib_bsd_gethostbyname=no
10551 fi
10552 rm -f conftest.err conftest.$ac_objext \
10553 conftest$ac_exeext conftest.$ac_ext
10554 LIBS=$ac_check_lib_save_LIBS
10555 fi
10556 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
10557 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
10558 if test $ac_cv_lib_bsd_gethostbyname = yes; then
10559 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
10560 fi
10561
10562 fi
10563 fi
10564
10565 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10566 # socket/setsockopt and other routines are undefined under SCO ODT
10567 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10568 # on later versions), says Simon Leinen: it contains gethostby*
10569 # variants that don't use the name server (or something). -lsocket
10570 # must be given before -lnsl if both are needed. We assume that
10571 # if connect needs -lnsl, so does gethostbyname.
10572 echo "$as_me:$LINENO: checking for connect" >&5
10573 echo $ECHO_N "checking for connect... $ECHO_C" >&6
10574 if test "${ac_cv_func_connect+set}" = set; then
10575 echo $ECHO_N "(cached) $ECHO_C" >&6
10576 else
10577 cat >conftest.$ac_ext <<_ACEOF
10578 /* confdefs.h. */
10579 _ACEOF
10580 cat confdefs.h >>conftest.$ac_ext
10581 cat >>conftest.$ac_ext <<_ACEOF
10582 /* end confdefs.h. */
10583 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
10584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10585 #define connect innocuous_connect
10586
10587 /* System header to define __stub macros and hopefully few prototypes,
10588 which can conflict with char connect (); below.
10589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10590 <limits.h> exists even on freestanding compilers. */
10591
10592 #ifdef __STDC__
10593 # include <limits.h>
10594 #else
10595 # include <assert.h>
10596 #endif
10597
10598 #undef connect
10599
10600 /* Override any gcc2 internal prototype to avoid an error. */
10601 #ifdef __cplusplus
10602 extern "C"
10603 {
10604 #endif
10605 /* We use char because int might match the return type of a gcc2
10606 builtin and then its argument prototype would still apply. */
10607 char connect ();
10608 /* The GNU C library defines this for functions which it implements
10609 to always fail with ENOSYS. Some functions are actually named
10610 something starting with __ and the normal name is an alias. */
10611 #if defined (__stub_connect) || defined (__stub___connect)
10612 choke me
10613 #else
10614 char (*f) () = connect;
10615 #endif
10616 #ifdef __cplusplus
10617 }
10618 #endif
10619
10620 int
10621 main ()
10622 {
10623 return f != connect;
10624 ;
10625 return 0;
10626 }
10627 _ACEOF
10628 rm -f conftest.$ac_objext conftest$ac_exeext
10629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10630 (eval $ac_link) 2>conftest.er1
10631 ac_status=$?
10632 grep -v '^ *+' conftest.er1 >conftest.err
10633 rm -f conftest.er1
10634 cat conftest.err >&5
10635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10636 (exit $ac_status); } &&
10637 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10639 (eval $ac_try) 2>&5
10640 ac_status=$?
10641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10642 (exit $ac_status); }; } &&
10643 { ac_try='test -s conftest$ac_exeext'
10644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10645 (eval $ac_try) 2>&5
10646 ac_status=$?
10647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10648 (exit $ac_status); }; }; then
10649 ac_cv_func_connect=yes
10650 else
10651 echo "$as_me: failed program was:" >&5
10652 sed 's/^/| /' conftest.$ac_ext >&5
10653
10654 ac_cv_func_connect=no
10655 fi
10656 rm -f conftest.err conftest.$ac_objext \
10657 conftest$ac_exeext conftest.$ac_ext
10658 fi
10659 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
10660 echo "${ECHO_T}$ac_cv_func_connect" >&6
10661
10662 if test $ac_cv_func_connect = no; then
10663 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
10664 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
10665 if test "${ac_cv_lib_socket_connect+set}" = set; then
10666 echo $ECHO_N "(cached) $ECHO_C" >&6
10667 else
10668 ac_check_lib_save_LIBS=$LIBS
10669 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
10670 cat >conftest.$ac_ext <<_ACEOF
10671 /* confdefs.h. */
10672 _ACEOF
10673 cat confdefs.h >>conftest.$ac_ext
10674 cat >>conftest.$ac_ext <<_ACEOF
10675 /* end confdefs.h. */
10676
10677 /* Override any gcc2 internal prototype to avoid an error. */
10678 #ifdef __cplusplus
10679 extern "C"
10680 #endif
10681 /* We use char because int might match the return type of a gcc2
10682 builtin and then its argument prototype would still apply. */
10683 char connect ();
10684 int
10685 main ()
10686 {
10687 connect ();
10688 ;
10689 return 0;
10690 }
10691 _ACEOF
10692 rm -f conftest.$ac_objext conftest$ac_exeext
10693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10694 (eval $ac_link) 2>conftest.er1
10695 ac_status=$?
10696 grep -v '^ *+' conftest.er1 >conftest.err
10697 rm -f conftest.er1
10698 cat conftest.err >&5
10699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10700 (exit $ac_status); } &&
10701 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10703 (eval $ac_try) 2>&5
10704 ac_status=$?
10705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10706 (exit $ac_status); }; } &&
10707 { ac_try='test -s conftest$ac_exeext'
10708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10709 (eval $ac_try) 2>&5
10710 ac_status=$?
10711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10712 (exit $ac_status); }; }; then
10713 ac_cv_lib_socket_connect=yes
10714 else
10715 echo "$as_me: failed program was:" >&5
10716 sed 's/^/| /' conftest.$ac_ext >&5
10717
10718 ac_cv_lib_socket_connect=no
10719 fi
10720 rm -f conftest.err conftest.$ac_objext \
10721 conftest$ac_exeext conftest.$ac_ext
10722 LIBS=$ac_check_lib_save_LIBS
10723 fi
10724 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
10725 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
10726 if test $ac_cv_lib_socket_connect = yes; then
10727 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
10728 fi
10729
10730 fi
10731
10732 # Guillermo Gomez says -lposix is necessary on A/UX.
10733 echo "$as_me:$LINENO: checking for remove" >&5
10734 echo $ECHO_N "checking for remove... $ECHO_C" >&6
10735 if test "${ac_cv_func_remove+set}" = set; then
10736 echo $ECHO_N "(cached) $ECHO_C" >&6
10737 else
10738 cat >conftest.$ac_ext <<_ACEOF
10739 /* confdefs.h. */
10740 _ACEOF
10741 cat confdefs.h >>conftest.$ac_ext
10742 cat >>conftest.$ac_ext <<_ACEOF
10743 /* end confdefs.h. */
10744 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
10745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10746 #define remove innocuous_remove
10747
10748 /* System header to define __stub macros and hopefully few prototypes,
10749 which can conflict with char remove (); below.
10750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10751 <limits.h> exists even on freestanding compilers. */
10752
10753 #ifdef __STDC__
10754 # include <limits.h>
10755 #else
10756 # include <assert.h>
10757 #endif
10758
10759 #undef remove
10760
10761 /* Override any gcc2 internal prototype to avoid an error. */
10762 #ifdef __cplusplus
10763 extern "C"
10764 {
10765 #endif
10766 /* We use char because int might match the return type of a gcc2
10767 builtin and then its argument prototype would still apply. */
10768 char remove ();
10769 /* The GNU C library defines this for functions which it implements
10770 to always fail with ENOSYS. Some functions are actually named
10771 something starting with __ and the normal name is an alias. */
10772 #if defined (__stub_remove) || defined (__stub___remove)
10773 choke me
10774 #else
10775 char (*f) () = remove;
10776 #endif
10777 #ifdef __cplusplus
10778 }
10779 #endif
10780
10781 int
10782 main ()
10783 {
10784 return f != remove;
10785 ;
10786 return 0;
10787 }
10788 _ACEOF
10789 rm -f conftest.$ac_objext conftest$ac_exeext
10790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10791 (eval $ac_link) 2>conftest.er1
10792 ac_status=$?
10793 grep -v '^ *+' conftest.er1 >conftest.err
10794 rm -f conftest.er1
10795 cat conftest.err >&5
10796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10797 (exit $ac_status); } &&
10798 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10800 (eval $ac_try) 2>&5
10801 ac_status=$?
10802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10803 (exit $ac_status); }; } &&
10804 { ac_try='test -s conftest$ac_exeext'
10805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10806 (eval $ac_try) 2>&5
10807 ac_status=$?
10808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10809 (exit $ac_status); }; }; then
10810 ac_cv_func_remove=yes
10811 else
10812 echo "$as_me: failed program was:" >&5
10813 sed 's/^/| /' conftest.$ac_ext >&5
10814
10815 ac_cv_func_remove=no
10816 fi
10817 rm -f conftest.err conftest.$ac_objext \
10818 conftest$ac_exeext conftest.$ac_ext
10819 fi
10820 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
10821 echo "${ECHO_T}$ac_cv_func_remove" >&6
10822
10823 if test $ac_cv_func_remove = no; then
10824 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
10825 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
10826 if test "${ac_cv_lib_posix_remove+set}" = set; then
10827 echo $ECHO_N "(cached) $ECHO_C" >&6
10828 else
10829 ac_check_lib_save_LIBS=$LIBS
10830 LIBS="-lposix $LIBS"
10831 cat >conftest.$ac_ext <<_ACEOF
10832 /* confdefs.h. */
10833 _ACEOF
10834 cat confdefs.h >>conftest.$ac_ext
10835 cat >>conftest.$ac_ext <<_ACEOF
10836 /* end confdefs.h. */
10837
10838 /* Override any gcc2 internal prototype to avoid an error. */
10839 #ifdef __cplusplus
10840 extern "C"
10841 #endif
10842 /* We use char because int might match the return type of a gcc2
10843 builtin and then its argument prototype would still apply. */
10844 char remove ();
10845 int
10846 main ()
10847 {
10848 remove ();
10849 ;
10850 return 0;
10851 }
10852 _ACEOF
10853 rm -f conftest.$ac_objext conftest$ac_exeext
10854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10855 (eval $ac_link) 2>conftest.er1
10856 ac_status=$?
10857 grep -v '^ *+' conftest.er1 >conftest.err
10858 rm -f conftest.er1
10859 cat conftest.err >&5
10860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10861 (exit $ac_status); } &&
10862 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10864 (eval $ac_try) 2>&5
10865 ac_status=$?
10866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10867 (exit $ac_status); }; } &&
10868 { ac_try='test -s conftest$ac_exeext'
10869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10870 (eval $ac_try) 2>&5
10871 ac_status=$?
10872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10873 (exit $ac_status); }; }; then
10874 ac_cv_lib_posix_remove=yes
10875 else
10876 echo "$as_me: failed program was:" >&5
10877 sed 's/^/| /' conftest.$ac_ext >&5
10878
10879 ac_cv_lib_posix_remove=no
10880 fi
10881 rm -f conftest.err conftest.$ac_objext \
10882 conftest$ac_exeext conftest.$ac_ext
10883 LIBS=$ac_check_lib_save_LIBS
10884 fi
10885 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
10886 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
10887 if test $ac_cv_lib_posix_remove = yes; then
10888 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
10889 fi
10890
10891 fi
10892
10893 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10894 echo "$as_me:$LINENO: checking for shmat" >&5
10895 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
10896 if test "${ac_cv_func_shmat+set}" = set; then
10897 echo $ECHO_N "(cached) $ECHO_C" >&6
10898 else
10899 cat >conftest.$ac_ext <<_ACEOF
10900 /* confdefs.h. */
10901 _ACEOF
10902 cat confdefs.h >>conftest.$ac_ext
10903 cat >>conftest.$ac_ext <<_ACEOF
10904 /* end confdefs.h. */
10905 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
10906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10907 #define shmat innocuous_shmat
10908
10909 /* System header to define __stub macros and hopefully few prototypes,
10910 which can conflict with char shmat (); below.
10911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10912 <limits.h> exists even on freestanding compilers. */
10913
10914 #ifdef __STDC__
10915 # include <limits.h>
10916 #else
10917 # include <assert.h>
10918 #endif
10919
10920 #undef shmat
10921
10922 /* Override any gcc2 internal prototype to avoid an error. */
10923 #ifdef __cplusplus
10924 extern "C"
10925 {
10926 #endif
10927 /* We use char because int might match the return type of a gcc2
10928 builtin and then its argument prototype would still apply. */
10929 char shmat ();
10930 /* The GNU C library defines this for functions which it implements
10931 to always fail with ENOSYS. Some functions are actually named
10932 something starting with __ and the normal name is an alias. */
10933 #if defined (__stub_shmat) || defined (__stub___shmat)
10934 choke me
10935 #else
10936 char (*f) () = shmat;
10937 #endif
10938 #ifdef __cplusplus
10939 }
10940 #endif
10941
10942 int
10943 main ()
10944 {
10945 return f != shmat;
10946 ;
10947 return 0;
10948 }
10949 _ACEOF
10950 rm -f conftest.$ac_objext conftest$ac_exeext
10951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10952 (eval $ac_link) 2>conftest.er1
10953 ac_status=$?
10954 grep -v '^ *+' conftest.er1 >conftest.err
10955 rm -f conftest.er1
10956 cat conftest.err >&5
10957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10958 (exit $ac_status); } &&
10959 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10961 (eval $ac_try) 2>&5
10962 ac_status=$?
10963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10964 (exit $ac_status); }; } &&
10965 { ac_try='test -s conftest$ac_exeext'
10966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10967 (eval $ac_try) 2>&5
10968 ac_status=$?
10969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10970 (exit $ac_status); }; }; then
10971 ac_cv_func_shmat=yes
10972 else
10973 echo "$as_me: failed program was:" >&5
10974 sed 's/^/| /' conftest.$ac_ext >&5
10975
10976 ac_cv_func_shmat=no
10977 fi
10978 rm -f conftest.err conftest.$ac_objext \
10979 conftest$ac_exeext conftest.$ac_ext
10980 fi
10981 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
10982 echo "${ECHO_T}$ac_cv_func_shmat" >&6
10983
10984 if test $ac_cv_func_shmat = no; then
10985 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
10986 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
10987 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
10988 echo $ECHO_N "(cached) $ECHO_C" >&6
10989 else
10990 ac_check_lib_save_LIBS=$LIBS
10991 LIBS="-lipc $LIBS"
10992 cat >conftest.$ac_ext <<_ACEOF
10993 /* confdefs.h. */
10994 _ACEOF
10995 cat confdefs.h >>conftest.$ac_ext
10996 cat >>conftest.$ac_ext <<_ACEOF
10997 /* end confdefs.h. */
10998
10999 /* Override any gcc2 internal prototype to avoid an error. */
11000 #ifdef __cplusplus
11001 extern "C"
11002 #endif
11003 /* We use char because int might match the return type of a gcc2
11004 builtin and then its argument prototype would still apply. */
11005 char shmat ();
11006 int
11007 main ()
11008 {
11009 shmat ();
11010 ;
11011 return 0;
11012 }
11013 _ACEOF
11014 rm -f conftest.$ac_objext conftest$ac_exeext
11015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11016 (eval $ac_link) 2>conftest.er1
11017 ac_status=$?
11018 grep -v '^ *+' conftest.er1 >conftest.err
11019 rm -f conftest.er1
11020 cat conftest.err >&5
11021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11022 (exit $ac_status); } &&
11023 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11025 (eval $ac_try) 2>&5
11026 ac_status=$?
11027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11028 (exit $ac_status); }; } &&
11029 { ac_try='test -s conftest$ac_exeext'
11030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11031 (eval $ac_try) 2>&5
11032 ac_status=$?
11033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11034 (exit $ac_status); }; }; then
11035 ac_cv_lib_ipc_shmat=yes
11036 else
11037 echo "$as_me: failed program was:" >&5
11038 sed 's/^/| /' conftest.$ac_ext >&5
11039
11040 ac_cv_lib_ipc_shmat=no
11041 fi
11042 rm -f conftest.err conftest.$ac_objext \
11043 conftest$ac_exeext conftest.$ac_ext
11044 LIBS=$ac_check_lib_save_LIBS
11045 fi
11046 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
11047 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
11048 if test $ac_cv_lib_ipc_shmat = yes; then
11049 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11050 fi
11051
11052 fi
11053 fi
11054
11055 # Check for libraries that X11R6 Xt/Xaw programs need.
11056 ac_save_LDFLAGS=$LDFLAGS
11057 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11058 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11059 # check for ICE first), but we must link in the order -lSM -lICE or
11060 # we get undefined symbols. So assume we have SM if we have ICE.
11061 # These have to be linked with before -lX11, unlike the other
11062 # libraries we check for below, so use a different variable.
11063 # John Interrante, Karl Berry
11064 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
11065 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
11066 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
11067 echo $ECHO_N "(cached) $ECHO_C" >&6
11068 else
11069 ac_check_lib_save_LIBS=$LIBS
11070 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11071 cat >conftest.$ac_ext <<_ACEOF
11072 /* confdefs.h. */
11073 _ACEOF
11074 cat confdefs.h >>conftest.$ac_ext
11075 cat >>conftest.$ac_ext <<_ACEOF
11076 /* end confdefs.h. */
11077
11078 /* Override any gcc2 internal prototype to avoid an error. */
11079 #ifdef __cplusplus
11080 extern "C"
11081 #endif
11082 /* We use char because int might match the return type of a gcc2
11083 builtin and then its argument prototype would still apply. */
11084 char IceConnectionNumber ();
11085 int
11086 main ()
11087 {
11088 IceConnectionNumber ();
11089 ;
11090 return 0;
11091 }
11092 _ACEOF
11093 rm -f conftest.$ac_objext conftest$ac_exeext
11094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11095 (eval $ac_link) 2>conftest.er1
11096 ac_status=$?
11097 grep -v '^ *+' conftest.er1 >conftest.err
11098 rm -f conftest.er1
11099 cat conftest.err >&5
11100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11101 (exit $ac_status); } &&
11102 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11104 (eval $ac_try) 2>&5
11105 ac_status=$?
11106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11107 (exit $ac_status); }; } &&
11108 { ac_try='test -s conftest$ac_exeext'
11109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11110 (eval $ac_try) 2>&5
11111 ac_status=$?
11112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11113 (exit $ac_status); }; }; then
11114 ac_cv_lib_ICE_IceConnectionNumber=yes
11115 else
11116 echo "$as_me: failed program was:" >&5
11117 sed 's/^/| /' conftest.$ac_ext >&5
11118
11119 ac_cv_lib_ICE_IceConnectionNumber=no
11120 fi
11121 rm -f conftest.err conftest.$ac_objext \
11122 conftest$ac_exeext conftest.$ac_ext
11123 LIBS=$ac_check_lib_save_LIBS
11124 fi
11125 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11126 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
11127 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
11128 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11129 fi
11130
11131 LDFLAGS=$ac_save_LDFLAGS
11132
11133 fi
11134
11135 if test "$no_x" = yes; then
11136 { { echo "$as_me:$LINENO: error: GTK+ peers requested but no X library available" >&5
11137 echo "$as_me: error: GTK+ peers requested but no X library available" >&2;}
11138 { (exit 1); exit 1; }; }
11139 fi
11140 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
11141 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
11142 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
11143 echo $ECHO_N "(cached) $ECHO_C" >&6
11144 else
11145 ac_check_lib_save_LIBS=$LIBS
11146 LIBS="-lXtst ${X_LIBS} $LIBS"
11147 cat >conftest.$ac_ext <<_ACEOF
11148 /* confdefs.h. */
11149 _ACEOF
11150 cat confdefs.h >>conftest.$ac_ext
11151 cat >>conftest.$ac_ext <<_ACEOF
11152 /* end confdefs.h. */
11153
11154 /* Override any gcc2 internal prototype to avoid an error. */
11155 #ifdef __cplusplus
11156 extern "C"
11157 #endif
11158 /* We use char because int might match the return type of a gcc2
11159 builtin and then its argument prototype would still apply. */
11160 char XTestQueryExtension ();
11161 int
11162 main ()
11163 {
11164 XTestQueryExtension ();
11165 ;
11166 return 0;
11167 }
11168 _ACEOF
11169 rm -f conftest.$ac_objext conftest$ac_exeext
11170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11171 (eval $ac_link) 2>conftest.er1
11172 ac_status=$?
11173 grep -v '^ *+' conftest.er1 >conftest.err
11174 rm -f conftest.er1
11175 cat conftest.err >&5
11176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11177 (exit $ac_status); } &&
11178 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11180 (eval $ac_try) 2>&5
11181 ac_status=$?
11182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11183 (exit $ac_status); }; } &&
11184 { ac_try='test -s conftest$ac_exeext'
11185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11186 (eval $ac_try) 2>&5
11187 ac_status=$?
11188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11189 (exit $ac_status); }; }; then
11190 ac_cv_lib_Xtst_XTestQueryExtension=yes
11191 else
11192 echo "$as_me: failed program was:" >&5
11193 sed 's/^/| /' conftest.$ac_ext >&5
11194
11195 ac_cv_lib_Xtst_XTestQueryExtension=no
11196 fi
11197 rm -f conftest.err conftest.$ac_objext \
11198 conftest$ac_exeext conftest.$ac_ext
11199 LIBS=$ac_check_lib_save_LIBS
11200 fi
11201 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
11202 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
11203 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
11204 true
11205 else
11206 { { echo "$as_me:$LINENO: error: libXtst NOT found, required for GdkRobot" >&5
11207 echo "$as_me: error: libXtst NOT found, required for GdkRobot" >&2;}
11208 { (exit 1); exit 1; }; }
11209 fi
11210
11211
11212 succeeded=no
11213
11214 if test -z "$PKG_CONFIG"; then
11215 # Extract the first word of "pkg-config", so it can be a program name with args.
11216 set dummy pkg-config; ac_word=$2
11217 echo "$as_me:$LINENO: checking for $ac_word" >&5
11218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11219 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11220 echo $ECHO_N "(cached) $ECHO_C" >&6
11221 else
11222 case $PKG_CONFIG in
11223 [\\/]* | ?:[\\/]*)
11224 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11225 ;;
11226 *)
11227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11228 for as_dir in $PATH
11229 do
11230 IFS=$as_save_IFS
11231 test -z "$as_dir" && as_dir=.
11232 for ac_exec_ext in '' $ac_executable_extensions; do
11233 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11234 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11236 break 2
11237 fi
11238 done
11239 done
11240
11241 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
11242 ;;
11243 esac
11244 fi
11245 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11246
11247 if test -n "$PKG_CONFIG"; then
11248 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11249 echo "${ECHO_T}$PKG_CONFIG" >&6
11250 else
11251 echo "$as_me:$LINENO: result: no" >&5
11252 echo "${ECHO_T}no" >&6
11253 fi
11254
11255 fi
11256
11257 if test "$PKG_CONFIG" = "no" ; then
11258 echo "*** The pkg-config script could not be found. Make sure it is"
11259 echo "*** in your path, or set the PKG_CONFIG environment variable"
11260 echo "*** to the full path to pkg-config."
11261 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11262 else
11263 PKG_CONFIG_MIN_VERSION=0.9.0
11264 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11265 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
11266 echo $ECHO_N "checking for gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... $ECHO_C" >&6
11267
11268 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
11269 echo "$as_me:$LINENO: result: yes" >&5
11270 echo "${ECHO_T}yes" >&6
11271 succeeded=yes
11272
11273 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
11274 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
11275 GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
11276 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
11277 echo "${ECHO_T}$GTK_CFLAGS" >&6
11278
11279 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
11280 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
11281 GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
11282 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
11283 echo "${ECHO_T}$GTK_LIBS" >&6
11284 else
11285 GTK_CFLAGS=""
11286 GTK_LIBS=""
11287 ## If we have a custom action on failure, don't print errors, but
11288 ## do set a variable so people can do so.
11289 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
11290 echo $GTK_PKG_ERRORS
11291 fi
11292
11293
11294
11295 else
11296 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11297 echo "*** See http://www.freedesktop.org/software/pkgconfig"
11298 fi
11299 fi
11300
11301 if test $succeeded = yes; then
11302 :
11303 else
11304 { { 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
11305 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;}
11306 { (exit 1); exit 1; }; }
11307 fi
11308
11309
11310 if test "x${enable_gtk_cairo}" = xyes; then
11311
11312 succeeded=no
11313
11314 if test -z "$PKG_CONFIG"; then
11315 # Extract the first word of "pkg-config", so it can be a program name with args.
11316 set dummy pkg-config; ac_word=$2
11317 echo "$as_me:$LINENO: checking for $ac_word" >&5
11318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11319 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11320 echo $ECHO_N "(cached) $ECHO_C" >&6
11321 else
11322 case $PKG_CONFIG in
11323 [\\/]* | ?:[\\/]*)
11324 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11325 ;;
11326 *)
11327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11328 for as_dir in $PATH
11329 do
11330 IFS=$as_save_IFS
11331 test -z "$as_dir" && as_dir=.
11332 for ac_exec_ext in '' $ac_executable_extensions; do
11333 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11334 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11336 break 2
11337 fi
11338 done
11339 done
11340
11341 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
11342 ;;
11343 esac
11344 fi
11345 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11346
11347 if test -n "$PKG_CONFIG"; then
11348 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11349 echo "${ECHO_T}$PKG_CONFIG" >&6
11350 else
11351 echo "$as_me:$LINENO: result: no" >&5
11352 echo "${ECHO_T}no" >&6
11353 fi
11354
11355 fi
11356
11357 if test "$PKG_CONFIG" = "no" ; then
11358 echo "*** The pkg-config script could not be found. Make sure it is"
11359 echo "*** in your path, or set the PKG_CONFIG environment variable"
11360 echo "*** to the full path to pkg-config."
11361 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11362 else
11363 PKG_CONFIG_MIN_VERSION=0.9.0
11364 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11365 echo "$as_me:$LINENO: checking for cairo >= 0.5.0" >&5
11366 echo $ECHO_N "checking for cairo >= 0.5.0... $ECHO_C" >&6
11367
11368 if $PKG_CONFIG --exists "cairo >= 0.5.0" ; then
11369 echo "$as_me:$LINENO: result: yes" >&5
11370 echo "${ECHO_T}yes" >&6
11371 succeeded=yes
11372
11373 echo "$as_me:$LINENO: checking CAIRO_CFLAGS" >&5
11374 echo $ECHO_N "checking CAIRO_CFLAGS... $ECHO_C" >&6
11375 CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= 0.5.0"`
11376 echo "$as_me:$LINENO: result: $CAIRO_CFLAGS" >&5
11377 echo "${ECHO_T}$CAIRO_CFLAGS" >&6
11378
11379 echo "$as_me:$LINENO: checking CAIRO_LIBS" >&5
11380 echo $ECHO_N "checking CAIRO_LIBS... $ECHO_C" >&6
11381 CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= 0.5.0"`
11382 echo "$as_me:$LINENO: result: $CAIRO_LIBS" >&5
11383 echo "${ECHO_T}$CAIRO_LIBS" >&6
11384 else
11385 CAIRO_CFLAGS=""
11386 CAIRO_LIBS=""
11387 ## If we have a custom action on failure, don't print errors, but
11388 ## do set a variable so people can do so.
11389 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo >= 0.5.0"`
11390 echo $CAIRO_PKG_ERRORS
11391 fi
11392
11393
11394
11395 else
11396 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11397 echo "*** See http://www.freedesktop.org/software/pkgconfig"
11398 fi
11399 fi
11400
11401 if test $succeeded = yes; then
11402 :
11403 else
11404 { { 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
11405 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;}
11406 { (exit 1); exit 1; }; }
11407 fi
11408
11409 fi
11410
11411
11412 succeeded=no
11413
11414 if test -z "$PKG_CONFIG"; then
11415 # Extract the first word of "pkg-config", so it can be a program name with args.
11416 set dummy pkg-config; ac_word=$2
11417 echo "$as_me:$LINENO: checking for $ac_word" >&5
11418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11419 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11420 echo $ECHO_N "(cached) $ECHO_C" >&6
11421 else
11422 case $PKG_CONFIG in
11423 [\\/]* | ?:[\\/]*)
11424 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11425 ;;
11426 *)
11427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11428 for as_dir in $PATH
11429 do
11430 IFS=$as_save_IFS
11431 test -z "$as_dir" && as_dir=.
11432 for ac_exec_ext in '' $ac_executable_extensions; do
11433 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11434 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11435 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11436 break 2
11437 fi
11438 done
11439 done
11440
11441 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
11442 ;;
11443 esac
11444 fi
11445 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11446
11447 if test -n "$PKG_CONFIG"; then
11448 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11449 echo "${ECHO_T}$PKG_CONFIG" >&6
11450 else
11451 echo "$as_me:$LINENO: result: no" >&5
11452 echo "${ECHO_T}no" >&6
11453 fi
11454
11455 fi
11456
11457 if test "$PKG_CONFIG" = "no" ; then
11458 echo "*** The pkg-config script could not be found. Make sure it is"
11459 echo "*** in your path, or set the PKG_CONFIG environment variable"
11460 echo "*** to the full path to pkg-config."
11461 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11462 else
11463 PKG_CONFIG_MIN_VERSION=0.9.0
11464 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11465 echo "$as_me:$LINENO: checking for freetype2" >&5
11466 echo $ECHO_N "checking for freetype2... $ECHO_C" >&6
11467
11468 if $PKG_CONFIG --exists "freetype2" ; then
11469 echo "$as_me:$LINENO: result: yes" >&5
11470 echo "${ECHO_T}yes" >&6
11471 succeeded=yes
11472
11473 echo "$as_me:$LINENO: checking FREETYPE2_CFLAGS" >&5
11474 echo $ECHO_N "checking FREETYPE2_CFLAGS... $ECHO_C" >&6
11475 FREETYPE2_CFLAGS=`$PKG_CONFIG --cflags "freetype2"`
11476 echo "$as_me:$LINENO: result: $FREETYPE2_CFLAGS" >&5
11477 echo "${ECHO_T}$FREETYPE2_CFLAGS" >&6
11478
11479 echo "$as_me:$LINENO: checking FREETYPE2_LIBS" >&5
11480 echo $ECHO_N "checking FREETYPE2_LIBS... $ECHO_C" >&6
11481 FREETYPE2_LIBS=`$PKG_CONFIG --libs "freetype2"`
11482 echo "$as_me:$LINENO: result: $FREETYPE2_LIBS" >&5
11483 echo "${ECHO_T}$FREETYPE2_LIBS" >&6
11484 else
11485 FREETYPE2_CFLAGS=""
11486 FREETYPE2_LIBS=""
11487 ## If we have a custom action on failure, don't print errors, but
11488 ## do set a variable so people can do so.
11489 FREETYPE2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"`
11490 echo $FREETYPE2_PKG_ERRORS
11491 fi
11492
11493
11494
11495 else
11496 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11497 echo "*** See http://www.freedesktop.org/software/pkgconfig"
11498 fi
11499 fi
11500
11501 if test $succeeded = yes; then
11502 :
11503 else
11504 { { 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
11505 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;}
11506 { (exit 1); exit 1; }; }
11507 fi
11508
11509
11510 succeeded=no
11511
11512 if test -z "$PKG_CONFIG"; then
11513 # Extract the first word of "pkg-config", so it can be a program name with args.
11514 set dummy pkg-config; ac_word=$2
11515 echo "$as_me:$LINENO: checking for $ac_word" >&5
11516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11517 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11518 echo $ECHO_N "(cached) $ECHO_C" >&6
11519 else
11520 case $PKG_CONFIG in
11521 [\\/]* | ?:[\\/]*)
11522 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11523 ;;
11524 *)
11525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11526 for as_dir in $PATH
11527 do
11528 IFS=$as_save_IFS
11529 test -z "$as_dir" && as_dir=.
11530 for ac_exec_ext in '' $ac_executable_extensions; do
11531 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11532 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11534 break 2
11535 fi
11536 done
11537 done
11538
11539 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
11540 ;;
11541 esac
11542 fi
11543 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11544
11545 if test -n "$PKG_CONFIG"; then
11546 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11547 echo "${ECHO_T}$PKG_CONFIG" >&6
11548 else
11549 echo "$as_me:$LINENO: result: no" >&5
11550 echo "${ECHO_T}no" >&6
11551 fi
11552
11553 fi
11554
11555 if test "$PKG_CONFIG" = "no" ; then
11556 echo "*** The pkg-config script could not be found. Make sure it is"
11557 echo "*** in your path, or set the PKG_CONFIG environment variable"
11558 echo "*** to the full path to pkg-config."
11559 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11560 else
11561 PKG_CONFIG_MIN_VERSION=0.9.0
11562 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11563 echo "$as_me:$LINENO: checking for pangoft2" >&5
11564 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
11565
11566 if $PKG_CONFIG --exists "pangoft2" ; then
11567 echo "$as_me:$LINENO: result: yes" >&5
11568 echo "${ECHO_T}yes" >&6
11569 succeeded=yes
11570
11571 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
11572 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
11573 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
11574 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
11575 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
11576
11577 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
11578 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
11579 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
11580 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
11581 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
11582 else
11583 PANGOFT2_CFLAGS=""
11584 PANGOFT2_LIBS=""
11585 ## If we have a custom action on failure, don't print errors, but
11586 ## do set a variable so people can do so.
11587 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
11588 echo $PANGOFT2_PKG_ERRORS
11589 fi
11590
11591
11592
11593 else
11594 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11595 echo "*** See http://www.freedesktop.org/software/pkgconfig"
11596 fi
11597 fi
11598
11599 if test $succeeded = yes; then
11600 :
11601 else
11602 { { 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
11603 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;}
11604 { (exit 1); exit 1; }; }
11605 fi
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616 fi
11617
11618 if test "x${COMPILE_QT_PEER}" = xyes; then
11619
11620 succeeded=no
11621
11622 if test -z "$PKG_CONFIG"; then
11623 # Extract the first word of "pkg-config", so it can be a program name with args.
11624 set dummy pkg-config; ac_word=$2
11625 echo "$as_me:$LINENO: checking for $ac_word" >&5
11626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11627 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11628 echo $ECHO_N "(cached) $ECHO_C" >&6
11629 else
11630 case $PKG_CONFIG in
11631 [\\/]* | ?:[\\/]*)
11632 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11633 ;;
11634 *)
11635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11636 for as_dir in $PATH
11637 do
11638 IFS=$as_save_IFS
11639 test -z "$as_dir" && as_dir=.
11640 for ac_exec_ext in '' $ac_executable_extensions; do
11641 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11642 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11644 break 2
11645 fi
11646 done
11647 done
11648
11649 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
11650 ;;
11651 esac
11652 fi
11653 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11654
11655 if test -n "$PKG_CONFIG"; then
11656 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11657 echo "${ECHO_T}$PKG_CONFIG" >&6
11658 else
11659 echo "$as_me:$LINENO: result: no" >&5
11660 echo "${ECHO_T}no" >&6
11661 fi
11662
11663 fi
11664
11665 if test "$PKG_CONFIG" = "no" ; then
11666 echo "*** The pkg-config script could not be found. Make sure it is"
11667 echo "*** in your path, or set the PKG_CONFIG environment variable"
11668 echo "*** to the full path to pkg-config."
11669 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11670 else
11671 PKG_CONFIG_MIN_VERSION=0.9.0
11672 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11673 echo "$as_me:$LINENO: checking for QtCore QtGui >= 4.1.0" >&5
11674 echo $ECHO_N "checking for QtCore QtGui >= 4.1.0... $ECHO_C" >&6
11675
11676 if $PKG_CONFIG --exists "QtCore QtGui >= 4.1.0" ; then
11677 echo "$as_me:$LINENO: result: yes" >&5
11678 echo "${ECHO_T}yes" >&6
11679 succeeded=yes
11680
11681 echo "$as_me:$LINENO: checking QT_CFLAGS" >&5
11682 echo $ECHO_N "checking QT_CFLAGS... $ECHO_C" >&6
11683 QT_CFLAGS=`$PKG_CONFIG --cflags "QtCore QtGui >= 4.1.0"`
11684 echo "$as_me:$LINENO: result: $QT_CFLAGS" >&5
11685 echo "${ECHO_T}$QT_CFLAGS" >&6
11686
11687 echo "$as_me:$LINENO: checking QT_LIBS" >&5
11688 echo $ECHO_N "checking QT_LIBS... $ECHO_C" >&6
11689 QT_LIBS=`$PKG_CONFIG --libs "QtCore QtGui >= 4.1.0"`
11690 echo "$as_me:$LINENO: result: $QT_LIBS" >&5
11691 echo "${ECHO_T}$QT_LIBS" >&6
11692 else
11693 QT_CFLAGS=""
11694 QT_LIBS=""
11695 ## If we have a custom action on failure, don't print errors, but
11696 ## do set a variable so people can do so.
11697 QT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtCore QtGui >= 4.1.0"`
11698
11699 fi
11700
11701
11702
11703 else
11704 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11705 echo "*** See http://www.freedesktop.org/software/pkgconfig"
11706 fi
11707 fi
11708
11709 if test $succeeded = yes; then
11710 HAVE_QT4="yes"
11711 else
11712 HAVE_QT4="no"
11713 fi
11714
11715 if test "x$HAVE_QT4" = "xyes"; then
11716 QT_INCLUDE_DIR=$($PKG_CONFIG --variable=includedir QtGui)
11717 EXTRA_QT_INCLUDE_DIR="$QT_INCLUDE_DIR/Qt"
11718 as_ac_File=`echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
11719 echo "$as_me:$LINENO: checking for $QT_INCLUDE_DIR/QWidget" >&5
11720 echo $ECHO_N "checking for $QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
11721 if eval "test \"\${$as_ac_File+set}\" = set"; then
11722 echo $ECHO_N "(cached) $ECHO_C" >&6
11723 else
11724 test "$cross_compiling" = yes &&
11725 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
11726 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
11727 { (exit 1); exit 1; }; }
11728 if test -r "$QT_INCLUDE_DIR/QWidget"; then
11729 eval "$as_ac_File=yes"
11730 else
11731 eval "$as_ac_File=no"
11732 fi
11733 fi
11734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
11735 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
11736 if test `eval echo '${'$as_ac_File'}'` = yes; then
11737 { echo "$as_me:$LINENO: No extra QT_INCLUDE_DIR needed" >&5
11738 echo "$as_me: No extra QT_INCLUDE_DIR needed" >&6;}
11739 else
11740 as_ac_File=`echo "ac_cv_file_$EXTRA_QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
11741 echo "$as_me:$LINENO: checking for $EXTRA_QT_INCLUDE_DIR/QWidget" >&5
11742 echo $ECHO_N "checking for $EXTRA_QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
11743 if eval "test \"\${$as_ac_File+set}\" = set"; then
11744 echo $ECHO_N "(cached) $ECHO_C" >&6
11745 else
11746 test "$cross_compiling" = yes &&
11747 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
11748 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
11749 { (exit 1); exit 1; }; }
11750 if test -r "$EXTRA_QT_INCLUDE_DIR/QWidget"; then
11751 eval "$as_ac_File=yes"
11752 else
11753 eval "$as_ac_File=no"
11754 fi
11755 fi
11756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
11757 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
11758 if test `eval echo '${'$as_ac_File'}'` = yes; then
11759 QT_CFLAGS="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR"
11760 else
11761 { echo "$as_me:$LINENO: WARNING: QWidget not found" >&5
11762 echo "$as_me: WARNING: QWidget not found" >&2;}
11763 fi
11764
11765 fi
11766
11767 # Extract the first word of "moc", so it can be a program name with args.
11768 set dummy moc; ac_word=$2
11769 echo "$as_me:$LINENO: checking for $ac_word" >&5
11770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11771 if test "${ac_cv_prog_MOC+set}" = set; then
11772 echo $ECHO_N "(cached) $ECHO_C" >&6
11773 else
11774 if test -n "$MOC"; then
11775 ac_cv_prog_MOC="$MOC" # Let the user override the test.
11776 else
11777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11778 for as_dir in $PATH
11779 do
11780 IFS=$as_save_IFS
11781 test -z "$as_dir" && as_dir=.
11782 for ac_exec_ext in '' $ac_executable_extensions; do
11783 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11784 ac_cv_prog_MOC="moc"
11785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11786 break 2
11787 fi
11788 done
11789 done
11790
11791 fi
11792 fi
11793 MOC=$ac_cv_prog_MOC
11794 if test -n "$MOC"; then
11795 echo "$as_me:$LINENO: result: $MOC" >&5
11796 echo "${ECHO_T}$MOC" >&6
11797 else
11798 echo "$as_me:$LINENO: result: no" >&5
11799 echo "${ECHO_T}no" >&6
11800 fi
11801
11802 fi
11803 if test "x$HAVE_QT4" = "xno"; then
11804 { echo "$as_me:$LINENO: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&5
11805 echo "$as_me: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&6;}
11806 case "$host_os" in
11807 darwin*)
11808
11809 # Check whether --with-qt4dir or --without-qt4dir was given.
11810 if test "${with_qt4dir+set}" = set; then
11811 withval="$with_qt4dir"
11812 QT4DIR=$withval
11813
11814 fi;
11815 if test x"$QT4DIR" = x ; then
11816 { { echo "$as_me:$LINENO: error: *** No path for Qt4 --with-qt4dir option given" >&5
11817 echo "$as_me: error: *** No path for Qt4 --with-qt4dir option given" >&2;}
11818 { (exit 1); exit 1; }; }
11819 fi
11820 echo "$as_me:$LINENO: result: QT4DIR... $QT4DIR" >&5
11821 echo "${ECHO_T}QT4DIR... $QT4DIR" >&6
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 $QT4DIR/bin
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="$QT4DIR/bin/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 if test x"$MOC" = x; then
11858 { { echo "$as_me:$LINENO: error: *** This is not the right Qt installation" >&5
11859 echo "$as_me: error: *** This is not the right Qt installation" >&2;}
11860 { (exit 1); exit 1; }; }
11861 fi
11862 QT_CFLAGS="-F$QT4DIR/lib -I$QT4DIR/lib/QtCore.framework/Headers"
11863 QT_CFLAGS="$QT_CFLAGS -I$QT4DIR/lib/QtGui.framework/Headers"
11864 QT_LIBS="-Xlinker -F$QT4DIR/lib -Xlinker -framework -Xlinker QtCore"
11865 QT_LIBS="$QT_LIBS -Xlinker -framework -Xlinker QtGui"
11866 ;;
11867 *)
11868 { { echo "$as_me:$LINENO: error: *** Please check PKG_CONFIG_PATH or the version
11869 of your installed Qt4 installation." >&5
11870 echo "$as_me: error: *** Please check PKG_CONFIG_PATH or the version
11871 of your installed Qt4 installation." >&2;}
11872 { (exit 1); exit 1; }; }
11873 ;;
11874 esac
11875 fi
11876 { echo "$as_me:$LINENO: Set QT_CFLAGS... $QT_CFLAGS" >&5
11877 echo "$as_me: Set QT_CFLAGS... $QT_CFLAGS" >&6;}
11878
11879
11880 fi
11881 fi
11882
11883
11884
11885 # Check whether --with-javah or --without-javah was given.
11886 if test "${with_javah+set}" = set; then
11887 withval="$with_javah"
11888
11889 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
11890
11891 if test "x${withval}" != x; then
11892 if test -f "${withval}"; then
11893 USER_JAVAH="${withval}"
11894 else
11895 # Extract the first word of ""${withval}"", so it can be a program name with args.
11896 set dummy "${withval}"; ac_word=$2
11897 echo "$as_me:$LINENO: checking for $ac_word" >&5
11898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11899 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
11900 echo $ECHO_N "(cached) $ECHO_C" >&6
11901 else
11902 case $USER_JAVAH in
11903 [\\/]* | ?:[\\/]*)
11904 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
11905 ;;
11906 *)
11907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11908 for as_dir in $PATH
11909 do
11910 IFS=$as_save_IFS
11911 test -z "$as_dir" && as_dir=.
11912 for ac_exec_ext in '' $ac_executable_extensions; do
11913 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11914 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
11915 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11916 break 2
11917 fi
11918 done
11919 done
11920
11921 ;;
11922 esac
11923 fi
11924 USER_JAVAH=$ac_cv_path_USER_JAVAH
11925
11926 if test -n "$USER_JAVAH"; then
11927 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
11928 echo "${ECHO_T}$USER_JAVAH" >&6
11929 else
11930 echo "$as_me:$LINENO: result: no" >&5
11931 echo "${ECHO_T}no" >&6
11932 fi
11933
11934 fi
11935 else
11936 for javah_name in gcjh javah; do
11937 # Extract the first word of ""$javah_name"", so it can be a program name with args.
11938 set dummy "$javah_name"; ac_word=$2
11939 echo "$as_me:$LINENO: checking for $ac_word" >&5
11940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11941 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
11942 echo $ECHO_N "(cached) $ECHO_C" >&6
11943 else
11944 case $USER_JAVAH in
11945 [\\/]* | ?:[\\/]*)
11946 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
11947 ;;
11948 *)
11949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11950 for as_dir in $PATH
11951 do
11952 IFS=$as_save_IFS
11953 test -z "$as_dir" && as_dir=.
11954 for ac_exec_ext in '' $ac_executable_extensions; do
11955 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11956 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
11957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11958 break 2
11959 fi
11960 done
11961 done
11962
11963 ;;
11964 esac
11965 fi
11966 USER_JAVAH=$ac_cv_path_USER_JAVAH
11967
11968 if test -n "$USER_JAVAH"; then
11969 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
11970 echo "${ECHO_T}$USER_JAVAH" >&6
11971 else
11972 echo "$as_me:$LINENO: result: no" >&5
11973 echo "${ECHO_T}no" >&6
11974 fi
11975
11976 if test "x${USER_JAVAH}" != x; then
11977 break
11978 fi
11979 done
11980 fi
11981
11982 # if test "x${USER_JAVAH}" = x; then
11983 # echo "configure: cannot find javah" 1>&2
11984 # exit 1
11985 # fi
11986
11987 else
11988
11989 if test "x" != x; then
11990 if test -f ""; then
11991 USER_JAVAH=""
11992 else
11993 # Extract the first word of """", so it can be a program name with args.
11994 set dummy ""; ac_word=$2
11995 echo "$as_me:$LINENO: checking for $ac_word" >&5
11996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11997 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
11998 echo $ECHO_N "(cached) $ECHO_C" >&6
11999 else
12000 case $USER_JAVAH in
12001 [\\/]* | ?:[\\/]*)
12002 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
12003 ;;
12004 *)
12005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12006 for as_dir in $PATH
12007 do
12008 IFS=$as_save_IFS
12009 test -z "$as_dir" && as_dir=.
12010 for ac_exec_ext in '' $ac_executable_extensions; do
12011 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12012 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
12013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12014 break 2
12015 fi
12016 done
12017 done
12018
12019 ;;
12020 esac
12021 fi
12022 USER_JAVAH=$ac_cv_path_USER_JAVAH
12023
12024 if test -n "$USER_JAVAH"; then
12025 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
12026 echo "${ECHO_T}$USER_JAVAH" >&6
12027 else
12028 echo "$as_me:$LINENO: result: no" >&5
12029 echo "${ECHO_T}no" >&6
12030 fi
12031
12032 fi
12033 else
12034 for javah_name in gcjh javah; do
12035 # Extract the first word of ""$javah_name"", so it can be a program name with args.
12036 set dummy "$javah_name"; ac_word=$2
12037 echo "$as_me:$LINENO: checking for $ac_word" >&5
12038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12039 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
12040 echo $ECHO_N "(cached) $ECHO_C" >&6
12041 else
12042 case $USER_JAVAH in
12043 [\\/]* | ?:[\\/]*)
12044 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
12045 ;;
12046 *)
12047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12048 for as_dir in $PATH
12049 do
12050 IFS=$as_save_IFS
12051 test -z "$as_dir" && as_dir=.
12052 for ac_exec_ext in '' $ac_executable_extensions; do
12053 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12054 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
12055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12056 break 2
12057 fi
12058 done
12059 done
12060
12061 ;;
12062 esac
12063 fi
12064 USER_JAVAH=$ac_cv_path_USER_JAVAH
12065
12066 if test -n "$USER_JAVAH"; then
12067 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
12068 echo "${ECHO_T}$USER_JAVAH" >&6
12069 else
12070 echo "$as_me:$LINENO: result: no" >&5
12071 echo "${ECHO_T}no" >&6
12072 fi
12073
12074 if test "x${USER_JAVAH}" != x; then
12075 break
12076 fi
12077 done
12078 fi
12079
12080 # if test "x${USER_JAVAH}" = x; then
12081 # echo "configure: cannot find javah" 1>&2
12082 # exit 1
12083 # fi
12084
12085 fi
12086
12087 else
12088
12089
12090 if test "x" != x; then
12091 if test -f ""; then
12092 USER_JAVAH=""
12093 else
12094 # Extract the first word of """", so it can be a program name with args.
12095 set dummy ""; ac_word=$2
12096 echo "$as_me:$LINENO: checking for $ac_word" >&5
12097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12098 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
12099 echo $ECHO_N "(cached) $ECHO_C" >&6
12100 else
12101 case $USER_JAVAH in
12102 [\\/]* | ?:[\\/]*)
12103 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
12104 ;;
12105 *)
12106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12107 for as_dir in $PATH
12108 do
12109 IFS=$as_save_IFS
12110 test -z "$as_dir" && as_dir=.
12111 for ac_exec_ext in '' $ac_executable_extensions; do
12112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12113 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
12114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12115 break 2
12116 fi
12117 done
12118 done
12119
12120 ;;
12121 esac
12122 fi
12123 USER_JAVAH=$ac_cv_path_USER_JAVAH
12124
12125 if test -n "$USER_JAVAH"; then
12126 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
12127 echo "${ECHO_T}$USER_JAVAH" >&6
12128 else
12129 echo "$as_me:$LINENO: result: no" >&5
12130 echo "${ECHO_T}no" >&6
12131 fi
12132
12133 fi
12134 else
12135 for javah_name in gcjh javah; do
12136 # Extract the first word of ""$javah_name"", so it can be a program name with args.
12137 set dummy "$javah_name"; ac_word=$2
12138 echo "$as_me:$LINENO: checking for $ac_word" >&5
12139 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12140 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
12141 echo $ECHO_N "(cached) $ECHO_C" >&6
12142 else
12143 case $USER_JAVAH in
12144 [\\/]* | ?:[\\/]*)
12145 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
12146 ;;
12147 *)
12148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12149 for as_dir in $PATH
12150 do
12151 IFS=$as_save_IFS
12152 test -z "$as_dir" && as_dir=.
12153 for ac_exec_ext in '' $ac_executable_extensions; do
12154 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12155 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
12156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12157 break 2
12158 fi
12159 done
12160 done
12161
12162 ;;
12163 esac
12164 fi
12165 USER_JAVAH=$ac_cv_path_USER_JAVAH
12166
12167 if test -n "$USER_JAVAH"; then
12168 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
12169 echo "${ECHO_T}$USER_JAVAH" >&6
12170 else
12171 echo "$as_me:$LINENO: result: no" >&5
12172 echo "${ECHO_T}no" >&6
12173 fi
12174
12175 if test "x${USER_JAVAH}" != x; then
12176 break
12177 fi
12178 done
12179 fi
12180
12181 # if test "x${USER_JAVAH}" = x; then
12182 # echo "configure: cannot find javah" 1>&2
12183 # exit 1
12184 # fi
12185
12186
12187 fi;
12188
12189
12190 if test "x${USER_JAVAH}" != x; then
12191 USER_SPECIFIED_JAVAH_TRUE=
12192 USER_SPECIFIED_JAVAH_FALSE='#'
12193 else
12194 USER_SPECIFIED_JAVAH_TRUE='#'
12195 USER_SPECIFIED_JAVAH_FALSE=
12196 fi
12197
12198
12199
12200
12201 CLASSPATH_INCLUDES="-I\$(top_srcdir)/include -I\$(top_srcdir)/native/jni/classpath -I\$(top_srcdir)/native/target/Linux -I\$(top_srcdir)/native/target/generic"
12202
12203
12204 if test "x${COMPILE_JNI}" = xyes; then
12205 echo "$as_me:$LINENO: checking jni_md.h support" >&5
12206 echo $ECHO_N "checking jni_md.h support... $ECHO_C" >&6
12207 if test -f ${srcdir}/include/jni_md-${target_cpu}-${target_os}.h; then
12208 echo "$as_me:$LINENO: result: yes" >&5
12209 echo "${ECHO_T}yes" >&6
12210 else
12211 target_cpu=x86
12212 target_os=linux-gnu
12213 { echo "$as_me:$LINENO: WARNING: no" >&5
12214 echo "$as_me: WARNING: no" >&2;}
12215 fi
12216 ac_sources="include/jni_md-${target_cpu}-${target_os}.h"
12217 ac_dests="include/jni_md.h"
12218 while test -n "$ac_sources"; do
12219 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
12220 set $ac_sources; ac_source=$1; shift; ac_sources=$*
12221 ac_config_links_1="$ac_config_links_1 $ac_dest:$ac_source"
12222 done
12223 ac_config_links="$ac_config_links $ac_config_links_1"
12224
12225 fi
12226
12227
12228 user_specified_javac=
12229
12230
12231
12232 # Check whether --with-gcj or --without-gcj was given.
12233 if test "${with_gcj+set}" = set; then
12234 withval="$with_gcj"
12235
12236 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
12237
12238 if test "x${withval}" != x; then
12239 if test -f "${withval}"; then
12240 GCJ="${withval}"
12241 else
12242 # Extract the first word of ""${withval}"", so it can be a program name with args.
12243 set dummy "${withval}"; ac_word=$2
12244 echo "$as_me:$LINENO: checking for $ac_word" >&5
12245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12246 if test "${ac_cv_path_GCJ+set}" = set; then
12247 echo $ECHO_N "(cached) $ECHO_C" >&6
12248 else
12249 case $GCJ in
12250 [\\/]* | ?:[\\/]*)
12251 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
12252 ;;
12253 *)
12254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12255 for as_dir in $PATH
12256 do
12257 IFS=$as_save_IFS
12258 test -z "$as_dir" && as_dir=.
12259 for ac_exec_ext in '' $ac_executable_extensions; do
12260 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12261 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
12262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12263 break 2
12264 fi
12265 done
12266 done
12267
12268 ;;
12269 esac
12270 fi
12271 GCJ=$ac_cv_path_GCJ
12272
12273 if test -n "$GCJ"; then
12274 echo "$as_me:$LINENO: result: $GCJ" >&5
12275 echo "${ECHO_T}$GCJ" >&6
12276 else
12277 echo "$as_me:$LINENO: result: no" >&5
12278 echo "${ECHO_T}no" >&6
12279 fi
12280
12281 fi
12282 else
12283 # Extract the first word of ""gcj"", so it can be a program name with args.
12284 set dummy "gcj"; ac_word=$2
12285 echo "$as_me:$LINENO: checking for $ac_word" >&5
12286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12287 if test "${ac_cv_path_GCJ+set}" = set; then
12288 echo $ECHO_N "(cached) $ECHO_C" >&6
12289 else
12290 case $GCJ in
12291 [\\/]* | ?:[\\/]*)
12292 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
12293 ;;
12294 *)
12295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12296 for as_dir in $PATH
12297 do
12298 IFS=$as_save_IFS
12299 test -z "$as_dir" && as_dir=.
12300 for ac_exec_ext in '' $ac_executable_extensions; do
12301 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12302 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
12303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12304 break 2
12305 fi
12306 done
12307 done
12308
12309 ;;
12310 esac
12311 fi
12312 GCJ=$ac_cv_path_GCJ
12313
12314 if test -n "$GCJ"; then
12315 echo "$as_me:$LINENO: result: $GCJ" >&5
12316 echo "${ECHO_T}$GCJ" >&6
12317 else
12318 echo "$as_me:$LINENO: result: no" >&5
12319 echo "${ECHO_T}no" >&6
12320 fi
12321
12322 fi
12323 if test "x$GCJ" != x; then
12324 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
12325 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
12326 ac_ext=c
12327 ac_cpp='$CPP $CPPFLAGS'
12328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12331
12332 cat >conftest.$ac_ext <<_ACEOF
12333 #if __GNUC__ <= 3
12334 #error GCJ 4.0.0 or higher is required
12335 #endif
12336
12337 _ACEOF
12338 $GCJ -E conftest.c > /dev/null
12339 gcj_4_result=$?
12340 if test "x$gcj_4_result" = "x0"; then
12341 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
12342 echo "${ECHO_T}4.0 or higher found" >&6
12343 else
12344 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
12345 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
12346 fi
12347 ac_ext=c
12348 ac_cpp='$CPP $CPPFLAGS'
12349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12352
12353 fi
12354
12355 else
12356 if test "x${withval}" != xno; then
12357
12358 if test "x" != x; then
12359 if test -f ""; then
12360 GCJ=""
12361 else
12362 # Extract the first word of """", so it can be a program name with args.
12363 set dummy ""; ac_word=$2
12364 echo "$as_me:$LINENO: checking for $ac_word" >&5
12365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12366 if test "${ac_cv_path_GCJ+set}" = set; then
12367 echo $ECHO_N "(cached) $ECHO_C" >&6
12368 else
12369 case $GCJ in
12370 [\\/]* | ?:[\\/]*)
12371 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
12372 ;;
12373 *)
12374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12375 for as_dir in $PATH
12376 do
12377 IFS=$as_save_IFS
12378 test -z "$as_dir" && as_dir=.
12379 for ac_exec_ext in '' $ac_executable_extensions; do
12380 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12381 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
12382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12383 break 2
12384 fi
12385 done
12386 done
12387
12388 ;;
12389 esac
12390 fi
12391 GCJ=$ac_cv_path_GCJ
12392
12393 if test -n "$GCJ"; then
12394 echo "$as_me:$LINENO: result: $GCJ" >&5
12395 echo "${ECHO_T}$GCJ" >&6
12396 else
12397 echo "$as_me:$LINENO: result: no" >&5
12398 echo "${ECHO_T}no" >&6
12399 fi
12400
12401 fi
12402 else
12403 # Extract the first word of ""gcj"", so it can be a program name with args.
12404 set dummy "gcj"; ac_word=$2
12405 echo "$as_me:$LINENO: checking for $ac_word" >&5
12406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12407 if test "${ac_cv_path_GCJ+set}" = set; then
12408 echo $ECHO_N "(cached) $ECHO_C" >&6
12409 else
12410 case $GCJ in
12411 [\\/]* | ?:[\\/]*)
12412 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
12413 ;;
12414 *)
12415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12416 for as_dir in $PATH
12417 do
12418 IFS=$as_save_IFS
12419 test -z "$as_dir" && as_dir=.
12420 for ac_exec_ext in '' $ac_executable_extensions; do
12421 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12422 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
12423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12424 break 2
12425 fi
12426 done
12427 done
12428
12429 ;;
12430 esac
12431 fi
12432 GCJ=$ac_cv_path_GCJ
12433
12434 if test -n "$GCJ"; then
12435 echo "$as_me:$LINENO: result: $GCJ" >&5
12436 echo "${ECHO_T}$GCJ" >&6
12437 else
12438 echo "$as_me:$LINENO: result: no" >&5
12439 echo "${ECHO_T}no" >&6
12440 fi
12441
12442 fi
12443 if test "x$GCJ" != x; then
12444 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
12445 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
12446 ac_ext=c
12447 ac_cpp='$CPP $CPPFLAGS'
12448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12451
12452 cat >conftest.$ac_ext <<_ACEOF
12453 #if __GNUC__ <= 3
12454 #error GCJ 4.0.0 or higher is required
12455 #endif
12456
12457 _ACEOF
12458 $GCJ -E conftest.c > /dev/null
12459 gcj_4_result=$?
12460 if test "x$gcj_4_result" = "x0"; then
12461 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
12462 echo "${ECHO_T}4.0 or higher found" >&6
12463 else
12464 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
12465 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
12466 fi
12467 ac_ext=c
12468 ac_cpp='$CPP $CPPFLAGS'
12469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12472
12473 fi
12474
12475 fi
12476 fi
12477 user_specified_javac=gcj
12478
12479 else
12480
12481
12482 if test "x" != x; then
12483 if test -f ""; then
12484 GCJ=""
12485 else
12486 # Extract the first word of """", so it can be a program name with args.
12487 set dummy ""; ac_word=$2
12488 echo "$as_me:$LINENO: checking for $ac_word" >&5
12489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12490 if test "${ac_cv_path_GCJ+set}" = set; then
12491 echo $ECHO_N "(cached) $ECHO_C" >&6
12492 else
12493 case $GCJ in
12494 [\\/]* | ?:[\\/]*)
12495 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
12496 ;;
12497 *)
12498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12499 for as_dir in $PATH
12500 do
12501 IFS=$as_save_IFS
12502 test -z "$as_dir" && as_dir=.
12503 for ac_exec_ext in '' $ac_executable_extensions; do
12504 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12505 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
12506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12507 break 2
12508 fi
12509 done
12510 done
12511
12512 ;;
12513 esac
12514 fi
12515 GCJ=$ac_cv_path_GCJ
12516
12517 if test -n "$GCJ"; then
12518 echo "$as_me:$LINENO: result: $GCJ" >&5
12519 echo "${ECHO_T}$GCJ" >&6
12520 else
12521 echo "$as_me:$LINENO: result: no" >&5
12522 echo "${ECHO_T}no" >&6
12523 fi
12524
12525 fi
12526 else
12527 # Extract the first word of ""gcj"", so it can be a program name with args.
12528 set dummy "gcj"; ac_word=$2
12529 echo "$as_me:$LINENO: checking for $ac_word" >&5
12530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12531 if test "${ac_cv_path_GCJ+set}" = set; then
12532 echo $ECHO_N "(cached) $ECHO_C" >&6
12533 else
12534 case $GCJ in
12535 [\\/]* | ?:[\\/]*)
12536 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
12537 ;;
12538 *)
12539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12540 for as_dir in $PATH
12541 do
12542 IFS=$as_save_IFS
12543 test -z "$as_dir" && as_dir=.
12544 for ac_exec_ext in '' $ac_executable_extensions; do
12545 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12546 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
12547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12548 break 2
12549 fi
12550 done
12551 done
12552
12553 ;;
12554 esac
12555 fi
12556 GCJ=$ac_cv_path_GCJ
12557
12558 if test -n "$GCJ"; then
12559 echo "$as_me:$LINENO: result: $GCJ" >&5
12560 echo "${ECHO_T}$GCJ" >&6
12561 else
12562 echo "$as_me:$LINENO: result: no" >&5
12563 echo "${ECHO_T}no" >&6
12564 fi
12565
12566 fi
12567 if test "x$GCJ" != x; then
12568 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
12569 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
12570 ac_ext=c
12571 ac_cpp='$CPP $CPPFLAGS'
12572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12575
12576 cat >conftest.$ac_ext <<_ACEOF
12577 #if __GNUC__ <= 3
12578 #error GCJ 4.0.0 or higher is required
12579 #endif
12580
12581 _ACEOF
12582 $GCJ -E conftest.c > /dev/null
12583 gcj_4_result=$?
12584 if test "x$gcj_4_result" = "x0"; then
12585 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
12586 echo "${ECHO_T}4.0 or higher found" >&6
12587 else
12588 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
12589 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
12590 fi
12591 ac_ext=c
12592 ac_cpp='$CPP $CPPFLAGS'
12593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12596
12597 fi
12598
12599
12600 fi;
12601
12602
12603
12604
12605 # Check whether --with-jikes or --without-jikes was given.
12606 if test "${with_jikes+set}" = set; then
12607 withval="$with_jikes"
12608
12609 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
12610
12611 if test "x${withval}" != x; then
12612 if test -f "${withval}"; then
12613 JIKES="${withval}"
12614 else
12615 # Extract the first word of ""${withval}"", so it can be a program name with args.
12616 set dummy "${withval}"; ac_word=$2
12617 echo "$as_me:$LINENO: checking for $ac_word" >&5
12618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12619 if test "${ac_cv_path_JIKES+set}" = set; then
12620 echo $ECHO_N "(cached) $ECHO_C" >&6
12621 else
12622 case $JIKES in
12623 [\\/]* | ?:[\\/]*)
12624 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
12625 ;;
12626 *)
12627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12628 for as_dir in $PATH
12629 do
12630 IFS=$as_save_IFS
12631 test -z "$as_dir" && as_dir=.
12632 for ac_exec_ext in '' $ac_executable_extensions; do
12633 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12634 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
12635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12636 break 2
12637 fi
12638 done
12639 done
12640
12641 ;;
12642 esac
12643 fi
12644 JIKES=$ac_cv_path_JIKES
12645
12646 if test -n "$JIKES"; then
12647 echo "$as_me:$LINENO: result: $JIKES" >&5
12648 echo "${ECHO_T}$JIKES" >&6
12649 else
12650 echo "$as_me:$LINENO: result: no" >&5
12651 echo "${ECHO_T}no" >&6
12652 fi
12653
12654 fi
12655 else
12656 # Extract the first word of ""jikes"", so it can be a program name with args.
12657 set dummy "jikes"; ac_word=$2
12658 echo "$as_me:$LINENO: checking for $ac_word" >&5
12659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12660 if test "${ac_cv_path_JIKES+set}" = set; then
12661 echo $ECHO_N "(cached) $ECHO_C" >&6
12662 else
12663 case $JIKES in
12664 [\\/]* | ?:[\\/]*)
12665 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
12666 ;;
12667 *)
12668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12669 for as_dir in $PATH
12670 do
12671 IFS=$as_save_IFS
12672 test -z "$as_dir" && as_dir=.
12673 for ac_exec_ext in '' $ac_executable_extensions; do
12674 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12675 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
12676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12677 break 2
12678 fi
12679 done
12680 done
12681
12682 ;;
12683 esac
12684 fi
12685 JIKES=$ac_cv_path_JIKES
12686
12687 if test -n "$JIKES"; then
12688 echo "$as_me:$LINENO: result: $JIKES" >&5
12689 echo "${ECHO_T}$JIKES" >&6
12690 else
12691 echo "$as_me:$LINENO: result: no" >&5
12692 echo "${ECHO_T}no" >&6
12693 fi
12694
12695 fi
12696 if test "x$JIKES" != "x"; then
12697 echo "$as_me:$LINENO: checking jikes version" >&5
12698 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
12699 JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
12700 JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
12701 JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
12702 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then
12703 if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then
12704 JIKES=""
12705 fi
12706 fi
12707 if test "x$JIKES" != "x"; then
12708 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
12709 echo "${ECHO_T}$JIKES_VERSION" >&6
12710 else
12711 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
12712 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
12713 fi
12714
12715 JIKESENCODING=
12716 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
12717 JIKESENCODING='-encoding UTF-8'
12718 fi
12719
12720
12721 JIKESWARNINGS="+Pno-switchcheck"
12722 if test "x$JIKES_VERSION_MAJOR" = x"1" ; then
12723 if ! test "x$JIKES_VERSION_MINOR" = x"19"; then
12724 JIKESWARNINGS="$JIKESWARNINGS +Pno-shadow"
12725 fi
12726 fi
12727
12728
12729 fi
12730
12731 else
12732 if test "x${withval}" != xno; then
12733
12734 if test "x" != x; then
12735 if test -f ""; then
12736 JIKES=""
12737 else
12738 # Extract the first word of """", so it can be a program name with args.
12739 set dummy ""; ac_word=$2
12740 echo "$as_me:$LINENO: checking for $ac_word" >&5
12741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12742 if test "${ac_cv_path_JIKES+set}" = set; then
12743 echo $ECHO_N "(cached) $ECHO_C" >&6
12744 else
12745 case $JIKES in
12746 [\\/]* | ?:[\\/]*)
12747 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
12748 ;;
12749 *)
12750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12751 for as_dir in $PATH
12752 do
12753 IFS=$as_save_IFS
12754 test -z "$as_dir" && as_dir=.
12755 for ac_exec_ext in '' $ac_executable_extensions; do
12756 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12757 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
12758 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12759 break 2
12760 fi
12761 done
12762 done
12763
12764 ;;
12765 esac
12766 fi
12767 JIKES=$ac_cv_path_JIKES
12768
12769 if test -n "$JIKES"; then
12770 echo "$as_me:$LINENO: result: $JIKES" >&5
12771 echo "${ECHO_T}$JIKES" >&6
12772 else
12773 echo "$as_me:$LINENO: result: no" >&5
12774 echo "${ECHO_T}no" >&6
12775 fi
12776
12777 fi
12778 else
12779 # Extract the first word of ""jikes"", so it can be a program name with args.
12780 set dummy "jikes"; ac_word=$2
12781 echo "$as_me:$LINENO: checking for $ac_word" >&5
12782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12783 if test "${ac_cv_path_JIKES+set}" = set; then
12784 echo $ECHO_N "(cached) $ECHO_C" >&6
12785 else
12786 case $JIKES in
12787 [\\/]* | ?:[\\/]*)
12788 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
12789 ;;
12790 *)
12791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12792 for as_dir in $PATH
12793 do
12794 IFS=$as_save_IFS
12795 test -z "$as_dir" && as_dir=.
12796 for ac_exec_ext in '' $ac_executable_extensions; do
12797 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12798 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
12799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12800 break 2
12801 fi
12802 done
12803 done
12804
12805 ;;
12806 esac
12807 fi
12808 JIKES=$ac_cv_path_JIKES
12809
12810 if test -n "$JIKES"; then
12811 echo "$as_me:$LINENO: result: $JIKES" >&5
12812 echo "${ECHO_T}$JIKES" >&6
12813 else
12814 echo "$as_me:$LINENO: result: no" >&5
12815 echo "${ECHO_T}no" >&6
12816 fi
12817
12818 fi
12819 if test "x$JIKES" != "x"; then
12820 echo "$as_me:$LINENO: checking jikes version" >&5
12821 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
12822 JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
12823 JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
12824 JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
12825 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then
12826 if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then
12827 JIKES=""
12828 fi
12829 fi
12830 if test "x$JIKES" != "x"; then
12831 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
12832 echo "${ECHO_T}$JIKES_VERSION" >&6
12833 else
12834 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
12835 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
12836 fi
12837
12838 JIKESENCODING=
12839 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
12840 JIKESENCODING='-encoding UTF-8'
12841 fi
12842
12843
12844 JIKESWARNINGS="+Pno-switchcheck"
12845 if test "x$JIKES_VERSION_MAJOR" = x"1" ; then
12846 if ! test "x$JIKES_VERSION_MINOR" = x"19"; then
12847 JIKESWARNINGS="$JIKESWARNINGS +Pno-shadow"
12848 fi
12849 fi
12850
12851
12852 fi
12853
12854 fi
12855 fi
12856 user_specified_javac=jikes
12857
12858 else
12859
12860
12861 if test "x" != x; then
12862 if test -f ""; then
12863 JIKES=""
12864 else
12865 # Extract the first word of """", so it can be a program name with args.
12866 set dummy ""; ac_word=$2
12867 echo "$as_me:$LINENO: checking for $ac_word" >&5
12868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12869 if test "${ac_cv_path_JIKES+set}" = set; then
12870 echo $ECHO_N "(cached) $ECHO_C" >&6
12871 else
12872 case $JIKES in
12873 [\\/]* | ?:[\\/]*)
12874 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
12875 ;;
12876 *)
12877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12878 for as_dir in $PATH
12879 do
12880 IFS=$as_save_IFS
12881 test -z "$as_dir" && as_dir=.
12882 for ac_exec_ext in '' $ac_executable_extensions; do
12883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12884 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
12885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12886 break 2
12887 fi
12888 done
12889 done
12890
12891 ;;
12892 esac
12893 fi
12894 JIKES=$ac_cv_path_JIKES
12895
12896 if test -n "$JIKES"; then
12897 echo "$as_me:$LINENO: result: $JIKES" >&5
12898 echo "${ECHO_T}$JIKES" >&6
12899 else
12900 echo "$as_me:$LINENO: result: no" >&5
12901 echo "${ECHO_T}no" >&6
12902 fi
12903
12904 fi
12905 else
12906 # Extract the first word of ""jikes"", so it can be a program name with args.
12907 set dummy "jikes"; ac_word=$2
12908 echo "$as_me:$LINENO: checking for $ac_word" >&5
12909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12910 if test "${ac_cv_path_JIKES+set}" = set; then
12911 echo $ECHO_N "(cached) $ECHO_C" >&6
12912 else
12913 case $JIKES in
12914 [\\/]* | ?:[\\/]*)
12915 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
12916 ;;
12917 *)
12918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12919 for as_dir in $PATH
12920 do
12921 IFS=$as_save_IFS
12922 test -z "$as_dir" && as_dir=.
12923 for ac_exec_ext in '' $ac_executable_extensions; do
12924 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12925 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
12926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12927 break 2
12928 fi
12929 done
12930 done
12931
12932 ;;
12933 esac
12934 fi
12935 JIKES=$ac_cv_path_JIKES
12936
12937 if test -n "$JIKES"; then
12938 echo "$as_me:$LINENO: result: $JIKES" >&5
12939 echo "${ECHO_T}$JIKES" >&6
12940 else
12941 echo "$as_me:$LINENO: result: no" >&5
12942 echo "${ECHO_T}no" >&6
12943 fi
12944
12945 fi
12946 if test "x$JIKES" != "x"; then
12947 echo "$as_me:$LINENO: checking jikes version" >&5
12948 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
12949 JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
12950 JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
12951 JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
12952 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then
12953 if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then
12954 JIKES=""
12955 fi
12956 fi
12957 if test "x$JIKES" != "x"; then
12958 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
12959 echo "${ECHO_T}$JIKES_VERSION" >&6
12960 else
12961 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
12962 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
12963 fi
12964
12965 JIKESENCODING=
12966 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
12967 JIKESENCODING='-encoding UTF-8'
12968 fi
12969
12970
12971 JIKESWARNINGS="+Pno-switchcheck"
12972 if test "x$JIKES_VERSION_MAJOR" = x"1" ; then
12973 if ! test "x$JIKES_VERSION_MINOR" = x"19"; then
12974 JIKESWARNINGS="$JIKESWARNINGS +Pno-shadow"
12975 fi
12976 fi
12977
12978
12979 fi
12980
12981
12982 fi;
12983
12984
12985
12986
12987 # Check whether --with-kjc or --without-kjc was given.
12988 if test "${with_kjc+set}" = set; then
12989 withval="$with_kjc"
12990
12991 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
12992
12993 if test "x${withval}" != x; then
12994 if test -f "${withval}"; then
12995 KJC="${withval}"
12996 else
12997 # Extract the first word of ""${withval}"", so it can be a program name with args.
12998 set dummy "${withval}"; ac_word=$2
12999 echo "$as_me:$LINENO: checking for $ac_word" >&5
13000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13001 if test "${ac_cv_path_KJC+set}" = set; then
13002 echo $ECHO_N "(cached) $ECHO_C" >&6
13003 else
13004 case $KJC in
13005 [\\/]* | ?:[\\/]*)
13006 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
13007 ;;
13008 *)
13009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13010 for as_dir in $PATH
13011 do
13012 IFS=$as_save_IFS
13013 test -z "$as_dir" && as_dir=.
13014 for ac_exec_ext in '' $ac_executable_extensions; do
13015 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13016 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
13017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13018 break 2
13019 fi
13020 done
13021 done
13022
13023 ;;
13024 esac
13025 fi
13026 KJC=$ac_cv_path_KJC
13027
13028 if test -n "$KJC"; then
13029 echo "$as_me:$LINENO: result: $KJC" >&5
13030 echo "${ECHO_T}$KJC" >&6
13031 else
13032 echo "$as_me:$LINENO: result: no" >&5
13033 echo "${ECHO_T}no" >&6
13034 fi
13035
13036 fi
13037 else
13038 # Extract the first word of ""kJC"", so it can be a program name with args.
13039 set dummy "kJC"; ac_word=$2
13040 echo "$as_me:$LINENO: checking for $ac_word" >&5
13041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13042 if test "${ac_cv_path_KJC+set}" = set; then
13043 echo $ECHO_N "(cached) $ECHO_C" >&6
13044 else
13045 case $KJC in
13046 [\\/]* | ?:[\\/]*)
13047 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
13048 ;;
13049 *)
13050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13051 for as_dir in $PATH
13052 do
13053 IFS=$as_save_IFS
13054 test -z "$as_dir" && as_dir=.
13055 for ac_exec_ext in '' $ac_executable_extensions; do
13056 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13057 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
13058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13059 break 2
13060 fi
13061 done
13062 done
13063
13064 ;;
13065 esac
13066 fi
13067 KJC=$ac_cv_path_KJC
13068
13069 if test -n "$KJC"; then
13070 echo "$as_me:$LINENO: result: $KJC" >&5
13071 echo "${ECHO_T}$KJC" >&6
13072 else
13073 echo "$as_me:$LINENO: result: no" >&5
13074 echo "${ECHO_T}no" >&6
13075 fi
13076
13077 fi
13078
13079 else
13080 if test "x${withval}" != xno; then
13081
13082 if test "x" != x; then
13083 if test -f ""; then
13084 KJC=""
13085 else
13086 # Extract the first word of """", so it can be a program name with args.
13087 set dummy ""; ac_word=$2
13088 echo "$as_me:$LINENO: checking for $ac_word" >&5
13089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13090 if test "${ac_cv_path_KJC+set}" = set; then
13091 echo $ECHO_N "(cached) $ECHO_C" >&6
13092 else
13093 case $KJC in
13094 [\\/]* | ?:[\\/]*)
13095 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
13096 ;;
13097 *)
13098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13099 for as_dir in $PATH
13100 do
13101 IFS=$as_save_IFS
13102 test -z "$as_dir" && as_dir=.
13103 for ac_exec_ext in '' $ac_executable_extensions; do
13104 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13105 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
13106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13107 break 2
13108 fi
13109 done
13110 done
13111
13112 ;;
13113 esac
13114 fi
13115 KJC=$ac_cv_path_KJC
13116
13117 if test -n "$KJC"; then
13118 echo "$as_me:$LINENO: result: $KJC" >&5
13119 echo "${ECHO_T}$KJC" >&6
13120 else
13121 echo "$as_me:$LINENO: result: no" >&5
13122 echo "${ECHO_T}no" >&6
13123 fi
13124
13125 fi
13126 else
13127 # Extract the first word of ""kJC"", so it can be a program name with args.
13128 set dummy "kJC"; ac_word=$2
13129 echo "$as_me:$LINENO: checking for $ac_word" >&5
13130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13131 if test "${ac_cv_path_KJC+set}" = set; then
13132 echo $ECHO_N "(cached) $ECHO_C" >&6
13133 else
13134 case $KJC in
13135 [\\/]* | ?:[\\/]*)
13136 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
13137 ;;
13138 *)
13139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13140 for as_dir in $PATH
13141 do
13142 IFS=$as_save_IFS
13143 test -z "$as_dir" && as_dir=.
13144 for ac_exec_ext in '' $ac_executable_extensions; do
13145 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13146 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
13147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13148 break 2
13149 fi
13150 done
13151 done
13152
13153 ;;
13154 esac
13155 fi
13156 KJC=$ac_cv_path_KJC
13157
13158 if test -n "$KJC"; then
13159 echo "$as_me:$LINENO: result: $KJC" >&5
13160 echo "${ECHO_T}$KJC" >&6
13161 else
13162 echo "$as_me:$LINENO: result: no" >&5
13163 echo "${ECHO_T}no" >&6
13164 fi
13165
13166 fi
13167
13168 fi
13169 fi
13170 user_specified_javac=kjc
13171
13172 else
13173
13174
13175 if test "x" != x; then
13176 if test -f ""; then
13177 KJC=""
13178 else
13179 # Extract the first word of """", so it can be a program name with args.
13180 set dummy ""; ac_word=$2
13181 echo "$as_me:$LINENO: checking for $ac_word" >&5
13182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13183 if test "${ac_cv_path_KJC+set}" = set; then
13184 echo $ECHO_N "(cached) $ECHO_C" >&6
13185 else
13186 case $KJC in
13187 [\\/]* | ?:[\\/]*)
13188 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
13189 ;;
13190 *)
13191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13192 for as_dir in $PATH
13193 do
13194 IFS=$as_save_IFS
13195 test -z "$as_dir" && as_dir=.
13196 for ac_exec_ext in '' $ac_executable_extensions; do
13197 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13198 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
13199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13200 break 2
13201 fi
13202 done
13203 done
13204
13205 ;;
13206 esac
13207 fi
13208 KJC=$ac_cv_path_KJC
13209
13210 if test -n "$KJC"; then
13211 echo "$as_me:$LINENO: result: $KJC" >&5
13212 echo "${ECHO_T}$KJC" >&6
13213 else
13214 echo "$as_me:$LINENO: result: no" >&5
13215 echo "${ECHO_T}no" >&6
13216 fi
13217
13218 fi
13219 else
13220 # Extract the first word of ""kJC"", so it can be a program name with args.
13221 set dummy "kJC"; ac_word=$2
13222 echo "$as_me:$LINENO: checking for $ac_word" >&5
13223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13224 if test "${ac_cv_path_KJC+set}" = set; then
13225 echo $ECHO_N "(cached) $ECHO_C" >&6
13226 else
13227 case $KJC in
13228 [\\/]* | ?:[\\/]*)
13229 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
13230 ;;
13231 *)
13232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13233 for as_dir in $PATH
13234 do
13235 IFS=$as_save_IFS
13236 test -z "$as_dir" && as_dir=.
13237 for ac_exec_ext in '' $ac_executable_extensions; do
13238 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13239 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
13240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13241 break 2
13242 fi
13243 done
13244 done
13245
13246 ;;
13247 esac
13248 fi
13249 KJC=$ac_cv_path_KJC
13250
13251 if test -n "$KJC"; then
13252 echo "$as_me:$LINENO: result: $KJC" >&5
13253 echo "${ECHO_T}$KJC" >&6
13254 else
13255 echo "$as_me:$LINENO: result: no" >&5
13256 echo "${ECHO_T}no" >&6
13257 fi
13258
13259 fi
13260
13261
13262 fi;
13263
13264
13265
13266
13267 # Check whether --with-gcjx or --without-gcjx was given.
13268 if test "${with_gcjx+set}" = set; then
13269 withval="$with_gcjx"
13270
13271 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
13272
13273 if test "x${withval}" != x; then
13274 if test -f "${withval}"; then
13275 GCJX="${withval}"
13276 else
13277 # Extract the first word of ""${withval}"", so it can be a program name with args.
13278 set dummy "${withval}"; ac_word=$2
13279 echo "$as_me:$LINENO: checking for $ac_word" >&5
13280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13281 if test "${ac_cv_path_GCJX+set}" = set; then
13282 echo $ECHO_N "(cached) $ECHO_C" >&6
13283 else
13284 case $GCJX in
13285 [\\/]* | ?:[\\/]*)
13286 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
13287 ;;
13288 *)
13289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13290 for as_dir in $PATH
13291 do
13292 IFS=$as_save_IFS
13293 test -z "$as_dir" && as_dir=.
13294 for ac_exec_ext in '' $ac_executable_extensions; do
13295 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13296 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
13297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13298 break 2
13299 fi
13300 done
13301 done
13302
13303 ;;
13304 esac
13305 fi
13306 GCJX=$ac_cv_path_GCJX
13307
13308 if test -n "$GCJX"; then
13309 echo "$as_me:$LINENO: result: $GCJX" >&5
13310 echo "${ECHO_T}$GCJX" >&6
13311 else
13312 echo "$as_me:$LINENO: result: no" >&5
13313 echo "${ECHO_T}no" >&6
13314 fi
13315
13316 fi
13317 else
13318 # Extract the first word of ""gcjx"", so it can be a program name with args.
13319 set dummy "gcjx"; ac_word=$2
13320 echo "$as_me:$LINENO: checking for $ac_word" >&5
13321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13322 if test "${ac_cv_path_GCJX+set}" = set; then
13323 echo $ECHO_N "(cached) $ECHO_C" >&6
13324 else
13325 case $GCJX in
13326 [\\/]* | ?:[\\/]*)
13327 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
13328 ;;
13329 *)
13330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13331 for as_dir in $PATH
13332 do
13333 IFS=$as_save_IFS
13334 test -z "$as_dir" && as_dir=.
13335 for ac_exec_ext in '' $ac_executable_extensions; do
13336 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13337 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
13338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13339 break 2
13340 fi
13341 done
13342 done
13343
13344 ;;
13345 esac
13346 fi
13347 GCJX=$ac_cv_path_GCJX
13348
13349 if test -n "$GCJX"; then
13350 echo "$as_me:$LINENO: result: $GCJX" >&5
13351 echo "${ECHO_T}$GCJX" >&6
13352 else
13353 echo "$as_me:$LINENO: result: no" >&5
13354 echo "${ECHO_T}no" >&6
13355 fi
13356
13357 fi
13358
13359 else
13360 if test "x${withval}" != xno; then
13361
13362 if test "x" != x; then
13363 if test -f ""; then
13364 GCJX=""
13365 else
13366 # Extract the first word of """", so it can be a program name with args.
13367 set dummy ""; ac_word=$2
13368 echo "$as_me:$LINENO: checking for $ac_word" >&5
13369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13370 if test "${ac_cv_path_GCJX+set}" = set; then
13371 echo $ECHO_N "(cached) $ECHO_C" >&6
13372 else
13373 case $GCJX in
13374 [\\/]* | ?:[\\/]*)
13375 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
13376 ;;
13377 *)
13378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13379 for as_dir in $PATH
13380 do
13381 IFS=$as_save_IFS
13382 test -z "$as_dir" && as_dir=.
13383 for ac_exec_ext in '' $ac_executable_extensions; do
13384 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13385 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
13386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13387 break 2
13388 fi
13389 done
13390 done
13391
13392 ;;
13393 esac
13394 fi
13395 GCJX=$ac_cv_path_GCJX
13396
13397 if test -n "$GCJX"; then
13398 echo "$as_me:$LINENO: result: $GCJX" >&5
13399 echo "${ECHO_T}$GCJX" >&6
13400 else
13401 echo "$as_me:$LINENO: result: no" >&5
13402 echo "${ECHO_T}no" >&6
13403 fi
13404
13405 fi
13406 else
13407 # Extract the first word of ""gcjx"", so it can be a program name with args.
13408 set dummy "gcjx"; ac_word=$2
13409 echo "$as_me:$LINENO: checking for $ac_word" >&5
13410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13411 if test "${ac_cv_path_GCJX+set}" = set; then
13412 echo $ECHO_N "(cached) $ECHO_C" >&6
13413 else
13414 case $GCJX in
13415 [\\/]* | ?:[\\/]*)
13416 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
13417 ;;
13418 *)
13419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13420 for as_dir in $PATH
13421 do
13422 IFS=$as_save_IFS
13423 test -z "$as_dir" && as_dir=.
13424 for ac_exec_ext in '' $ac_executable_extensions; do
13425 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13426 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
13427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13428 break 2
13429 fi
13430 done
13431 done
13432
13433 ;;
13434 esac
13435 fi
13436 GCJX=$ac_cv_path_GCJX
13437
13438 if test -n "$GCJX"; then
13439 echo "$as_me:$LINENO: result: $GCJX" >&5
13440 echo "${ECHO_T}$GCJX" >&6
13441 else
13442 echo "$as_me:$LINENO: result: no" >&5
13443 echo "${ECHO_T}no" >&6
13444 fi
13445
13446 fi
13447
13448 fi
13449 fi
13450 user_specified_javac=gcjx
13451
13452 else
13453
13454
13455 if test "x" != x; then
13456 if test -f ""; then
13457 GCJX=""
13458 else
13459 # Extract the first word of """", so it can be a program name with args.
13460 set dummy ""; ac_word=$2
13461 echo "$as_me:$LINENO: checking for $ac_word" >&5
13462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13463 if test "${ac_cv_path_GCJX+set}" = set; then
13464 echo $ECHO_N "(cached) $ECHO_C" >&6
13465 else
13466 case $GCJX in
13467 [\\/]* | ?:[\\/]*)
13468 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
13469 ;;
13470 *)
13471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13472 for as_dir in $PATH
13473 do
13474 IFS=$as_save_IFS
13475 test -z "$as_dir" && as_dir=.
13476 for ac_exec_ext in '' $ac_executable_extensions; do
13477 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13478 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
13479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13480 break 2
13481 fi
13482 done
13483 done
13484
13485 ;;
13486 esac
13487 fi
13488 GCJX=$ac_cv_path_GCJX
13489
13490 if test -n "$GCJX"; then
13491 echo "$as_me:$LINENO: result: $GCJX" >&5
13492 echo "${ECHO_T}$GCJX" >&6
13493 else
13494 echo "$as_me:$LINENO: result: no" >&5
13495 echo "${ECHO_T}no" >&6
13496 fi
13497
13498 fi
13499 else
13500 # Extract the first word of ""gcjx"", so it can be a program name with args.
13501 set dummy "gcjx"; ac_word=$2
13502 echo "$as_me:$LINENO: checking for $ac_word" >&5
13503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13504 if test "${ac_cv_path_GCJX+set}" = set; then
13505 echo $ECHO_N "(cached) $ECHO_C" >&6
13506 else
13507 case $GCJX in
13508 [\\/]* | ?:[\\/]*)
13509 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
13510 ;;
13511 *)
13512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13513 for as_dir in $PATH
13514 do
13515 IFS=$as_save_IFS
13516 test -z "$as_dir" && as_dir=.
13517 for ac_exec_ext in '' $ac_executable_extensions; do
13518 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13519 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
13520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13521 break 2
13522 fi
13523 done
13524 done
13525
13526 ;;
13527 esac
13528 fi
13529 GCJX=$ac_cv_path_GCJX
13530
13531 if test -n "$GCJX"; then
13532 echo "$as_me:$LINENO: result: $GCJX" >&5
13533 echo "${ECHO_T}$GCJX" >&6
13534 else
13535 echo "$as_me:$LINENO: result: no" >&5
13536 echo "${ECHO_T}no" >&6
13537 fi
13538
13539 fi
13540
13541
13542 fi;
13543
13544
13545
13546
13547 # Check whether --with-ecj or --without-ecj was given.
13548 if test "${with_ecj+set}" = set; then
13549 withval="$with_ecj"
13550
13551 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
13552
13553 if test "x${withval}" != x; then
13554 if test -f "${withval}"; then
13555 ECJ="${withval}"
13556 else
13557 # Extract the first word of ""${withval}"", so it can be a program name with args.
13558 set dummy "${withval}"; ac_word=$2
13559 echo "$as_me:$LINENO: checking for $ac_word" >&5
13560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13561 if test "${ac_cv_path_ECJ+set}" = set; then
13562 echo $ECHO_N "(cached) $ECHO_C" >&6
13563 else
13564 case $ECJ in
13565 [\\/]* | ?:[\\/]*)
13566 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
13567 ;;
13568 *)
13569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13570 for as_dir in $PATH
13571 do
13572 IFS=$as_save_IFS
13573 test -z "$as_dir" && as_dir=.
13574 for ac_exec_ext in '' $ac_executable_extensions; do
13575 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13576 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
13577 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13578 break 2
13579 fi
13580 done
13581 done
13582
13583 ;;
13584 esac
13585 fi
13586 ECJ=$ac_cv_path_ECJ
13587
13588 if test -n "$ECJ"; then
13589 echo "$as_me:$LINENO: result: $ECJ" >&5
13590 echo "${ECHO_T}$ECJ" >&6
13591 else
13592 echo "$as_me:$LINENO: result: no" >&5
13593 echo "${ECHO_T}no" >&6
13594 fi
13595
13596 fi
13597 else
13598 # Extract the first word of ""ecj"", so it can be a program name with args.
13599 set dummy "ecj"; ac_word=$2
13600 echo "$as_me:$LINENO: checking for $ac_word" >&5
13601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13602 if test "${ac_cv_path_ECJ+set}" = set; then
13603 echo $ECHO_N "(cached) $ECHO_C" >&6
13604 else
13605 case $ECJ in
13606 [\\/]* | ?:[\\/]*)
13607 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
13608 ;;
13609 *)
13610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13611 for as_dir in $PATH
13612 do
13613 IFS=$as_save_IFS
13614 test -z "$as_dir" && as_dir=.
13615 for ac_exec_ext in '' $ac_executable_extensions; do
13616 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13617 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
13618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13619 break 2
13620 fi
13621 done
13622 done
13623
13624 ;;
13625 esac
13626 fi
13627 ECJ=$ac_cv_path_ECJ
13628
13629 if test -n "$ECJ"; then
13630 echo "$as_me:$LINENO: result: $ECJ" >&5
13631 echo "${ECHO_T}$ECJ" >&6
13632 else
13633 echo "$as_me:$LINENO: result: no" >&5
13634 echo "${ECHO_T}no" >&6
13635 fi
13636
13637 fi
13638
13639 else
13640 if test "x${withval}" != xno; then
13641
13642 if test "x" != x; then
13643 if test -f ""; then
13644 ECJ=""
13645 else
13646 # Extract the first word of """", so it can be a program name with args.
13647 set dummy ""; ac_word=$2
13648 echo "$as_me:$LINENO: checking for $ac_word" >&5
13649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13650 if test "${ac_cv_path_ECJ+set}" = set; then
13651 echo $ECHO_N "(cached) $ECHO_C" >&6
13652 else
13653 case $ECJ in
13654 [\\/]* | ?:[\\/]*)
13655 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
13656 ;;
13657 *)
13658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13659 for as_dir in $PATH
13660 do
13661 IFS=$as_save_IFS
13662 test -z "$as_dir" && as_dir=.
13663 for ac_exec_ext in '' $ac_executable_extensions; do
13664 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13665 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
13666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13667 break 2
13668 fi
13669 done
13670 done
13671
13672 ;;
13673 esac
13674 fi
13675 ECJ=$ac_cv_path_ECJ
13676
13677 if test -n "$ECJ"; then
13678 echo "$as_me:$LINENO: result: $ECJ" >&5
13679 echo "${ECHO_T}$ECJ" >&6
13680 else
13681 echo "$as_me:$LINENO: result: no" >&5
13682 echo "${ECHO_T}no" >&6
13683 fi
13684
13685 fi
13686 else
13687 # Extract the first word of ""ecj"", so it can be a program name with args.
13688 set dummy "ecj"; ac_word=$2
13689 echo "$as_me:$LINENO: checking for $ac_word" >&5
13690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13691 if test "${ac_cv_path_ECJ+set}" = set; then
13692 echo $ECHO_N "(cached) $ECHO_C" >&6
13693 else
13694 case $ECJ in
13695 [\\/]* | ?:[\\/]*)
13696 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
13697 ;;
13698 *)
13699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13700 for as_dir in $PATH
13701 do
13702 IFS=$as_save_IFS
13703 test -z "$as_dir" && as_dir=.
13704 for ac_exec_ext in '' $ac_executable_extensions; do
13705 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13706 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
13707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13708 break 2
13709 fi
13710 done
13711 done
13712
13713 ;;
13714 esac
13715 fi
13716 ECJ=$ac_cv_path_ECJ
13717
13718 if test -n "$ECJ"; then
13719 echo "$as_me:$LINENO: result: $ECJ" >&5
13720 echo "${ECHO_T}$ECJ" >&6
13721 else
13722 echo "$as_me:$LINENO: result: no" >&5
13723 echo "${ECHO_T}no" >&6
13724 fi
13725
13726 fi
13727
13728 fi
13729 fi
13730 user_specified_javac=ecj
13731
13732 else
13733
13734
13735 if test "x" != x; then
13736 if test -f ""; then
13737 ECJ=""
13738 else
13739 # Extract the first word of """", so it can be a program name with args.
13740 set dummy ""; ac_word=$2
13741 echo "$as_me:$LINENO: checking for $ac_word" >&5
13742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13743 if test "${ac_cv_path_ECJ+set}" = set; then
13744 echo $ECHO_N "(cached) $ECHO_C" >&6
13745 else
13746 case $ECJ in
13747 [\\/]* | ?:[\\/]*)
13748 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
13749 ;;
13750 *)
13751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13752 for as_dir in $PATH
13753 do
13754 IFS=$as_save_IFS
13755 test -z "$as_dir" && as_dir=.
13756 for ac_exec_ext in '' $ac_executable_extensions; do
13757 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13758 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
13759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13760 break 2
13761 fi
13762 done
13763 done
13764
13765 ;;
13766 esac
13767 fi
13768 ECJ=$ac_cv_path_ECJ
13769
13770 if test -n "$ECJ"; then
13771 echo "$as_me:$LINENO: result: $ECJ" >&5
13772 echo "${ECHO_T}$ECJ" >&6
13773 else
13774 echo "$as_me:$LINENO: result: no" >&5
13775 echo "${ECHO_T}no" >&6
13776 fi
13777
13778 fi
13779 else
13780 # Extract the first word of ""ecj"", so it can be a program name with args.
13781 set dummy "ecj"; ac_word=$2
13782 echo "$as_me:$LINENO: checking for $ac_word" >&5
13783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13784 if test "${ac_cv_path_ECJ+set}" = set; then
13785 echo $ECHO_N "(cached) $ECHO_C" >&6
13786 else
13787 case $ECJ in
13788 [\\/]* | ?:[\\/]*)
13789 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
13790 ;;
13791 *)
13792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13793 for as_dir in $PATH
13794 do
13795 IFS=$as_save_IFS
13796 test -z "$as_dir" && as_dir=.
13797 for ac_exec_ext in '' $ac_executable_extensions; do
13798 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13799 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
13800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13801 break 2
13802 fi
13803 done
13804 done
13805
13806 ;;
13807 esac
13808 fi
13809 ECJ=$ac_cv_path_ECJ
13810
13811 if test -n "$ECJ"; then
13812 echo "$as_me:$LINENO: result: $ECJ" >&5
13813 echo "${ECHO_T}$ECJ" >&6
13814 else
13815 echo "$as_me:$LINENO: result: no" >&5
13816 echo "${ECHO_T}no" >&6
13817 fi
13818
13819 fi
13820
13821
13822 fi;
13823
13824
13825
13826 if test "x${user_specified_javac}" = x; then
13827
13828
13829 if test "x${GCJ}" != x; then
13830 FOUND_GCJ_TRUE=
13831 FOUND_GCJ_FALSE='#'
13832 else
13833 FOUND_GCJ_TRUE='#'
13834 FOUND_GCJ_FALSE=
13835 fi
13836
13837
13838
13839 if test "x${JIKES}" != x; then
13840 FOUND_JIKES_TRUE=
13841 FOUND_JIKES_FALSE='#'
13842 else
13843 FOUND_JIKES_TRUE='#'
13844 FOUND_JIKES_FALSE=
13845 fi
13846
13847
13848
13849 if test "x${ECJ}" != x; then
13850 FOUND_ECJ_TRUE=
13851 FOUND_ECJ_FALSE='#'
13852 else
13853 FOUND_ECJ_TRUE='#'
13854 FOUND_ECJ_FALSE=
13855 fi
13856
13857 else
13858
13859
13860 if test "x${user_specified_javac}" = xgcj; then
13861 FOUND_GCJ_TRUE=
13862 FOUND_GCJ_FALSE='#'
13863 else
13864 FOUND_GCJ_TRUE='#'
13865 FOUND_GCJ_FALSE=
13866 fi
13867
13868
13869
13870 if test "x${user_specified_javac}" = xjikes; then
13871 FOUND_JIKES_TRUE=
13872 FOUND_JIKES_FALSE='#'
13873 else
13874 FOUND_JIKES_TRUE='#'
13875 FOUND_JIKES_FALSE=
13876 fi
13877
13878
13879
13880 if test "x${user_specified_javac}" = xecj; then
13881 FOUND_ECJ_TRUE=
13882 FOUND_ECJ_FALSE='#'
13883 else
13884 FOUND_ECJ_TRUE='#'
13885 FOUND_ECJ_FALSE=
13886 fi
13887
13888 fi
13889
13890
13891 if test "x${user_specified_javac}" = xkjc; then
13892 FOUND_KJC_TRUE=
13893 FOUND_KJC_FALSE='#'
13894 else
13895 FOUND_KJC_TRUE='#'
13896 FOUND_KJC_FALSE=
13897 fi
13898
13899
13900
13901 if test "x${user_specified_javac}" = xgcjx; then
13902 FOUND_GCJX_TRUE=
13903 FOUND_GCJX_FALSE='#'
13904 else
13905 FOUND_GCJX_TRUE='#'
13906 FOUND_GCJX_FALSE=
13907 fi
13908
13909
13910 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
13911 # FIXME: use autoconf error function
13912 echo "configure: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx" 1>&2
13913 exit 1
13914 fi
13915
13916
13917
13918
13919 # Check whether --with-classpath or --without-classpath was given.
13920 if test "${with_classpath+set}" = set; then
13921 withval="$with_classpath"
13922
13923 if test "x${withval}" = xyes; then
13924 # set user classpath to CLASSPATH from env
13925 echo "$as_me:$LINENO: checking for classlib" >&5
13926 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
13927 USER_CLASSLIB=${CLASSPATH}
13928
13929 echo "$as_me:$LINENO: result: ${USER_CLASSLIB}" >&5
13930 echo "${ECHO_T}${USER_CLASSLIB}" >&6
13931 conditional_with_classlib=true
13932 elif test "x${withval}" != x && test "x${withval}" != xno; then
13933 # set user classpath to specified value
13934 echo "$as_me:$LINENO: checking for classlib" >&5
13935 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
13936 USER_CLASSLIB=${withval}
13937
13938 echo "$as_me:$LINENO: result: ${withval}" >&5
13939 echo "${ECHO_T}${withval}" >&6
13940 conditional_with_classlib=true
13941 fi
13942
13943 else
13944 conditional_with_classlib=false
13945 fi;
13946
13947
13948 if test "x${conditional_with_classlib}" = xtrue; then
13949 USER_SPECIFIED_CLASSLIB_TRUE=
13950 USER_SPECIFIED_CLASSLIB_FALSE='#'
13951 else
13952 USER_SPECIFIED_CLASSLIB_TRUE='#'
13953 USER_SPECIFIED_CLASSLIB_FALSE=
13954 fi
13955
13956
13957
13958 # Check whether --with-vm-classes or --without-vm-classes was given.
13959 if test "${with_vm_classes+set}" = set; then
13960 withval="$with_vm_classes"
13961 vm_classes="$with_vm_classes"
13962 else
13963 vm_classes='${top_srcdir}/vm/reference'
13964 fi;
13965
13966
13967
13968 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
13969 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
13970 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
13971 if test "${enable_maintainer_mode+set}" = set; then
13972 enableval="$enable_maintainer_mode"
13973 USE_MAINTAINER_MODE=$enableval
13974 else
13975 USE_MAINTAINER_MODE=no
13976 fi;
13977 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
13978 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
13979
13980
13981 if test $USE_MAINTAINER_MODE = yes; then
13982 MAINTAINER_MODE_TRUE=
13983 MAINTAINER_MODE_FALSE='#'
13984 else
13985 MAINTAINER_MODE_TRUE='#'
13986 MAINTAINER_MODE_FALSE=
13987 fi
13988
13989 MAINT=$MAINTAINER_MODE_TRUE
13990
13991
13992
13993 # Check whether --enable-debug or --disable-debug was given.
13994 if test "${enable_debug+set}" = set; then
13995 enableval="$enable_debug"
13996 case "${enableval}" in
13997 yes)
13998 LIBDEBUG="true"
13999
14000 cat >>confdefs.h <<\_ACEOF
14001 #define DEBUG 1
14002 _ACEOF
14003
14004 ;;
14005 no) LIBDEBUG="false" ;;
14006 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
14007 echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
14008 { (exit 1); exit 1; }; } ;;
14009 esac
14010 else
14011 LIBDEBUG="false"
14012 fi;
14013
14014
14015 # Check whether --enable-load-library or --disable-load-library was given.
14016 if test "${enable_load_library+set}" = set; then
14017 enableval="$enable_load_library"
14018 case "${enableval}" in
14019 yes) INIT_LOAD_LIBRARY="true" ;;
14020 no) INIT_LOAD_LIBRARY="false" ;;
14021 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-load-library" >&5
14022 echo "$as_me: error: bad value ${enableval} for --enable-load-library" >&2;}
14023 { (exit 1); exit 1; }; } ;;
14024 esac
14025 else
14026 INIT_LOAD_LIBRARY="true"
14027 fi;
14028
14029
14030
14031 # Check whether --enable-java-lang-system-explicit-initialization or --disable-java-lang-system-explicit-initialization was given.
14032 if test "${enable_java_lang_system_explicit_initialization+set}" = set; then
14033 enableval="$enable_java_lang_system_explicit_initialization"
14034 case "${enableval}" in
14035 yes|true) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="true" ;;
14036 no|false) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="false" ;;
14037 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&5
14038 echo "$as_me: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&2;}
14039 { (exit 1); exit 1; }; } ;;
14040 esac
14041 else
14042 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="false"
14043 fi;
14044
14045
14046
14047 REMOVE=""
14048
14049
14050 # Extract the first word of "mkdir", so it can be a program name with args.
14051 set dummy mkdir; ac_word=$2
14052 echo "$as_me:$LINENO: checking for $ac_word" >&5
14053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14054 if test "${ac_cv_path_MKDIR+set}" = set; then
14055 echo $ECHO_N "(cached) $ECHO_C" >&6
14056 else
14057 case $MKDIR in
14058 [\\/]* | ?:[\\/]*)
14059 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
14060 ;;
14061 *)
14062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14063 for as_dir in $PATH
14064 do
14065 IFS=$as_save_IFS
14066 test -z "$as_dir" && as_dir=.
14067 for ac_exec_ext in '' $ac_executable_extensions; do
14068 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14069 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
14070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14071 break 2
14072 fi
14073 done
14074 done
14075
14076 ;;
14077 esac
14078 fi
14079 MKDIR=$ac_cv_path_MKDIR
14080
14081 if test -n "$MKDIR"; then
14082 echo "$as_me:$LINENO: result: $MKDIR" >&5
14083 echo "${ECHO_T}$MKDIR" >&6
14084 else
14085 echo "$as_me:$LINENO: result: no" >&5
14086 echo "${ECHO_T}no" >&6
14087 fi
14088
14089 # Extract the first word of "cp", so it can be a program name with args.
14090 set dummy cp; ac_word=$2
14091 echo "$as_me:$LINENO: checking for $ac_word" >&5
14092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14093 if test "${ac_cv_path_CP+set}" = set; then
14094 echo $ECHO_N "(cached) $ECHO_C" >&6
14095 else
14096 case $CP in
14097 [\\/]* | ?:[\\/]*)
14098 ac_cv_path_CP="$CP" # Let the user override the test with a path.
14099 ;;
14100 *)
14101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14102 for as_dir in $PATH
14103 do
14104 IFS=$as_save_IFS
14105 test -z "$as_dir" && as_dir=.
14106 for ac_exec_ext in '' $ac_executable_extensions; do
14107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14108 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
14109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14110 break 2
14111 fi
14112 done
14113 done
14114
14115 ;;
14116 esac
14117 fi
14118 CP=$ac_cv_path_CP
14119
14120 if test -n "$CP"; then
14121 echo "$as_me:$LINENO: result: $CP" >&5
14122 echo "${ECHO_T}$CP" >&6
14123 else
14124 echo "$as_me:$LINENO: result: no" >&5
14125 echo "${ECHO_T}no" >&6
14126 fi
14127
14128 # Extract the first word of "date", so it can be a program name with args.
14129 set dummy date; ac_word=$2
14130 echo "$as_me:$LINENO: checking for $ac_word" >&5
14131 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14132 if test "${ac_cv_path_DATE+set}" = set; then
14133 echo $ECHO_N "(cached) $ECHO_C" >&6
14134 else
14135 case $DATE in
14136 [\\/]* | ?:[\\/]*)
14137 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
14138 ;;
14139 *)
14140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14141 for as_dir in $PATH
14142 do
14143 IFS=$as_save_IFS
14144 test -z "$as_dir" && as_dir=.
14145 for ac_exec_ext in '' $ac_executable_extensions; do
14146 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14147 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
14148 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14149 break 2
14150 fi
14151 done
14152 done
14153
14154 ;;
14155 esac
14156 fi
14157 DATE=$ac_cv_path_DATE
14158
14159 if test -n "$DATE"; then
14160 echo "$as_me:$LINENO: result: $DATE" >&5
14161 echo "${ECHO_T}$DATE" >&6
14162 else
14163 echo "$as_me:$LINENO: result: no" >&5
14164 echo "${ECHO_T}no" >&6
14165 fi
14166
14167
14168 # Extract the first word of "find", so it can be a program name with args.
14169 set dummy find; ac_word=$2
14170 echo "$as_me:$LINENO: checking for $ac_word" >&5
14171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14172 if test "${ac_cv_path_FIND+set}" = set; then
14173 echo $ECHO_N "(cached) $ECHO_C" >&6
14174 else
14175 case $FIND in
14176 [\\/]* | ?:[\\/]*)
14177 ac_cv_path_FIND="$FIND" # Let the user override the test with a path.
14178 ;;
14179 *)
14180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14181 for as_dir in $PATH
14182 do
14183 IFS=$as_save_IFS
14184 test -z "$as_dir" && as_dir=.
14185 for ac_exec_ext in '' $ac_executable_extensions; do
14186 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14187 ac_cv_path_FIND="$as_dir/$ac_word$ac_exec_ext"
14188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14189 break 2
14190 fi
14191 done
14192 done
14193
14194 ;;
14195 esac
14196 fi
14197 FIND=$ac_cv_path_FIND
14198
14199 if test -n "$FIND"; then
14200 echo "$as_me:$LINENO: result: $FIND" >&5
14201 echo "${ECHO_T}$FIND" >&6
14202 else
14203 echo "$as_me:$LINENO: result: no" >&5
14204 echo "${ECHO_T}no" >&6
14205 fi
14206
14207
14208
14209 # Extract the first word of "zip", so it can be a program name with args.
14210 set dummy zip; ac_word=$2
14211 echo "$as_me:$LINENO: checking for $ac_word" >&5
14212 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14213 if test "${ac_cv_path_ZIP+set}" = set; then
14214 echo $ECHO_N "(cached) $ECHO_C" >&6
14215 else
14216 case $ZIP in
14217 [\\/]* | ?:[\\/]*)
14218 ac_cv_path_ZIP="$ZIP" # Let the user override the test with a path.
14219 ;;
14220 *)
14221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14222 for as_dir in $PATH
14223 do
14224 IFS=$as_save_IFS
14225 test -z "$as_dir" && as_dir=.
14226 for ac_exec_ext in '' $ac_executable_extensions; do
14227 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14228 ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext"
14229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14230 break 2
14231 fi
14232 done
14233 done
14234
14235 ;;
14236 esac
14237 fi
14238 ZIP=$ac_cv_path_ZIP
14239
14240 if test -n "$ZIP"; then
14241 echo "$as_me:$LINENO: result: $ZIP" >&5
14242 echo "${ECHO_T}$ZIP" >&6
14243 else
14244 echo "$as_me:$LINENO: result: no" >&5
14245 echo "${ECHO_T}no" >&6
14246 fi
14247
14248
14249 # Check whether --with-fastjar or --without-fastjar was given.
14250 if test "${with_fastjar+set}" = set; then
14251 withval="$with_fastjar"
14252
14253 echo "$as_me:$LINENO: checking for user supplied fastjar" >&5
14254 echo $ECHO_N "checking for user supplied fastjar... $ECHO_C" >&6
14255 FASTJAR=${withval}
14256 echo "$as_me:$LINENO: result: ${FASTJAR}" >&5
14257 echo "${ECHO_T}${FASTJAR}" >&6
14258
14259 else
14260 # Extract the first word of "fastjar", so it can be a program name with args.
14261 set dummy fastjar; ac_word=$2
14262 echo "$as_me:$LINENO: checking for $ac_word" >&5
14263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14264 if test "${ac_cv_path_FASTJAR+set}" = set; then
14265 echo $ECHO_N "(cached) $ECHO_C" >&6
14266 else
14267 case $FASTJAR in
14268 [\\/]* | ?:[\\/]*)
14269 ac_cv_path_FASTJAR="$FASTJAR" # Let the user override the test with a path.
14270 ;;
14271 *)
14272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14273 for as_dir in $PATH
14274 do
14275 IFS=$as_save_IFS
14276 test -z "$as_dir" && as_dir=.
14277 for ac_exec_ext in '' $ac_executable_extensions; do
14278 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14279 ac_cv_path_FASTJAR="$as_dir/$ac_word$ac_exec_ext"
14280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14281 break 2
14282 fi
14283 done
14284 done
14285
14286 ;;
14287 esac
14288 fi
14289 FASTJAR=$ac_cv_path_FASTJAR
14290
14291 if test -n "$FASTJAR"; then
14292 echo "$as_me:$LINENO: result: $FASTJAR" >&5
14293 echo "${ECHO_T}$FASTJAR" >&6
14294 else
14295 echo "$as_me:$LINENO: result: no" >&5
14296 echo "${ECHO_T}no" >&6
14297 fi
14298
14299 fi;
14300 if test x"${FASTJAR}" != x; then
14301 ZIP=""
14302 fi
14303
14304
14305 # Check whether --with-glibj or --without-glibj was given.
14306 if test "${with_glibj+set}" = set; then
14307 withval="$with_glibj"
14308
14309 if test "x${withval}" = xyes || test "x${withval}" = xzip; then
14310 install_class_files=no
14311 build_class_files=yes
14312 use_zip=yes
14313 elif test "x${withval}" = xboth; then
14314 install_class_files=yes
14315 build_class_files=yes
14316 use_zip=yes
14317 elif test "x${withval}" = xflat; then
14318 install_class_files=yes
14319 build_class_files=yes
14320 use_zip=no
14321 elif test "x${withval}" = xno || test "x${withval}" = xnone; then
14322 install_class_files=no
14323 build_class_files=no
14324 use_zip=no
14325 elif test "x${withval}" = xbuild; then
14326 install_class_files=no
14327 build_class_files=yes
14328 use_zip=no
14329 else
14330 { { echo "$as_me:$LINENO: error: unknown value given to --with-glibj" >&5
14331 echo "$as_me: error: unknown value given to --with-glibj" >&2;}
14332 { (exit 1); exit 1; }; }
14333 fi
14334
14335 else
14336
14337 install_class_files=no
14338 use_zip=yes
14339
14340 fi;
14341
14342
14343 if test "x${use_zip}" = xyes; then
14344 INSTALL_GLIBJ_ZIP_TRUE=
14345 INSTALL_GLIBJ_ZIP_FALSE='#'
14346 else
14347 INSTALL_GLIBJ_ZIP_TRUE='#'
14348 INSTALL_GLIBJ_ZIP_FALSE=
14349 fi
14350
14351
14352
14353 if test "x${install_class_files}" = xyes; then
14354 INSTALL_CLASS_FILES_TRUE=
14355 INSTALL_CLASS_FILES_FALSE='#'
14356 else
14357 INSTALL_CLASS_FILES_TRUE='#'
14358 INSTALL_CLASS_FILES_FALSE=
14359 fi
14360
14361
14362
14363 if test "x${build_class_files}" = xyes; then
14364 BUILD_CLASS_FILES_TRUE=
14365 BUILD_CLASS_FILES_FALSE='#'
14366 else
14367 BUILD_CLASS_FILES_TRUE='#'
14368 BUILD_CLASS_FILES_FALSE=
14369 fi
14370
14371
14372 # Check whether --enable-examples or --disable-examples was given.
14373 if test "${enable_examples+set}" = set; then
14374 enableval="$enable_examples"
14375 case "${enableval}" in
14376 yes) EXAMPLESDIR="examples" ;;
14377 no) EXAMPLESDIR="" ;;
14378 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-examples" >&5
14379 echo "$as_me: error: bad value ${enableval} for --enable-examples" >&2;}
14380 { (exit 1); exit 1; }; } ;;
14381 esac
14382 else
14383 EXAMPLESDIR="examples"
14384 fi;
14385 if test "x${use_zip}" = xno && test "x${install_class_files}" = xno; then
14386 EXAMPLESDIR=""
14387 fi
14388
14389
14390
14391
14392
14393 # Check whether --with-gjdoc or --without-gjdoc was given.
14394 if test "${with_gjdoc+set}" = set; then
14395 withval="$with_gjdoc"
14396 if test "x${withval}" = xno; then
14397 WITH_GJDOC=no;
14398 elif test "x${withval}" = xyes -o "x{withval}" = x; then
14399 WITH_GJDOC=yes;
14400 # Extract the first word of "gjdoc", so it can be a program name with args.
14401 set dummy gjdoc; ac_word=$2
14402 echo "$as_me:$LINENO: checking for $ac_word" >&5
14403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14404 if test "${ac_cv_path_GJDOC+set}" = set; then
14405 echo $ECHO_N "(cached) $ECHO_C" >&6
14406 else
14407 case $GJDOC in
14408 [\\/]* | ?:[\\/]*)
14409 ac_cv_path_GJDOC="$GJDOC" # Let the user override the test with a path.
14410 ;;
14411 *)
14412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14413 for as_dir in $PATH
14414 do
14415 IFS=$as_save_IFS
14416 test -z "$as_dir" && as_dir=.
14417 for ac_exec_ext in '' $ac_executable_extensions; do
14418 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14419 ac_cv_path_GJDOC="$as_dir/$ac_word$ac_exec_ext"
14420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14421 break 2
14422 fi
14423 done
14424 done
14425
14426 test -z "$ac_cv_path_GJDOC" && ac_cv_path_GJDOC=""no""
14427 ;;
14428 esac
14429 fi
14430 GJDOC=$ac_cv_path_GJDOC
14431
14432 if test -n "$GJDOC"; then
14433 echo "$as_me:$LINENO: result: $GJDOC" >&5
14434 echo "${ECHO_T}$GJDOC" >&6
14435 else
14436 echo "$as_me:$LINENO: result: no" >&5
14437 echo "${ECHO_T}no" >&6
14438 fi
14439
14440 if test "x${GJDOC}" = xno; then
14441 { { echo "$as_me:$LINENO: error: \"gjdoc executable not found\"" >&5
14442 echo "$as_me: error: \"gjdoc executable not found\"" >&2;}
14443 { (exit 1); exit 1; }; };
14444 fi
14445 else
14446 WITH_GJDOC=yes
14447 GJDOC="${withval}"
14448 as_ac_File=`echo "ac_cv_file_${GJDOC}" | $as_tr_sh`
14449 echo "$as_me:$LINENO: checking for ${GJDOC}" >&5
14450 echo $ECHO_N "checking for ${GJDOC}... $ECHO_C" >&6
14451 if eval "test \"\${$as_ac_File+set}\" = set"; then
14452 echo $ECHO_N "(cached) $ECHO_C" >&6
14453 else
14454 test "$cross_compiling" = yes &&
14455 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
14456 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
14457 { (exit 1); exit 1; }; }
14458 if test -r "${GJDOC}"; then
14459 eval "$as_ac_File=yes"
14460 else
14461 eval "$as_ac_File=no"
14462 fi
14463 fi
14464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
14465 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
14466 if test `eval echo '${'$as_ac_File'}'` = yes; then
14467 :
14468 else
14469 { { echo "$as_me:$LINENO: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&5
14470 echo "$as_me: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&2;}
14471 { (exit 1); exit 1; }; }
14472 fi
14473
14474 fi
14475 else
14476 WITH_GJDOC=no
14477 fi;
14478
14479
14480
14481 if test "x${WITH_GJDOC}" = xyes; then
14482 CREATE_API_DOCS_TRUE=
14483 CREATE_API_DOCS_FALSE='#'
14484 else
14485 CREATE_API_DOCS_TRUE='#'
14486 CREATE_API_DOCS_FALSE=
14487 fi
14488
14489
14490
14491
14492
14493 # Check whether --with-jay or --without-jay was given.
14494 if test "${with_jay+set}" = set; then
14495 withval="$with_jay"
14496
14497 if test -d "${withval}"; then
14498 JAY_DIR_PATH="${withval}"
14499 # Extract the first word of "jay", so it can be a program name with args.
14500 set dummy jay; ac_word=$2
14501 echo "$as_me:$LINENO: checking for $ac_word" >&5
14502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14503 if test "${ac_cv_path_JAY+set}" = set; then
14504 echo $ECHO_N "(cached) $ECHO_C" >&6
14505 else
14506 case $JAY in
14507 [\\/]* | ?:[\\/]*)
14508 ac_cv_path_JAY="$JAY" # Let the user override the test with a path.
14509 ;;
14510 *)
14511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14512 for as_dir in ${JAY_DIR_PATH}
14513 do
14514 IFS=$as_save_IFS
14515 test -z "$as_dir" && as_dir=.
14516 for ac_exec_ext in '' $ac_executable_extensions; do
14517 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14518 ac_cv_path_JAY="$as_dir/$ac_word$ac_exec_ext"
14519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14520 break 2
14521 fi
14522 done
14523 done
14524
14525 test -z "$ac_cv_path_JAY" && ac_cv_path_JAY=""no""
14526 ;;
14527 esac
14528 fi
14529 JAY=$ac_cv_path_JAY
14530
14531 if test -n "$JAY"; then
14532 echo "$as_me:$LINENO: result: $JAY" >&5
14533 echo "${ECHO_T}$JAY" >&6
14534 else
14535 echo "$as_me:$LINENO: result: no" >&5
14536 echo "${ECHO_T}no" >&6
14537 fi
14538
14539 if test "x${JAY}" = xno; then
14540 { { echo "$as_me:$LINENO: error: \"jay executable not found\"" >&5
14541 echo "$as_me: error: \"jay executable not found\"" >&2;}
14542 { (exit 1); exit 1; }; };
14543 fi
14544 else
14545 JAY_DIR_PATH=$(dirname "${withval}")
14546 JAY="${withval}"
14547
14548 fi
14549 JAY_SKELETON="${JAY_DIR_PATH}/skeleton"
14550 as_ac_File=`echo "ac_cv_file_${JAY_SKELETON}" | $as_tr_sh`
14551 echo "$as_me:$LINENO: checking for ${JAY_SKELETON}" >&5
14552 echo $ECHO_N "checking for ${JAY_SKELETON}... $ECHO_C" >&6
14553 if eval "test \"\${$as_ac_File+set}\" = set"; then
14554 echo $ECHO_N "(cached) $ECHO_C" >&6
14555 else
14556 test "$cross_compiling" = yes &&
14557 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
14558 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
14559 { (exit 1); exit 1; }; }
14560 if test -r "${JAY_SKELETON}"; then
14561 eval "$as_ac_File=yes"
14562 else
14563 eval "$as_ac_File=no"
14564 fi
14565 fi
14566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
14567 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
14568 if test `eval echo '${'$as_ac_File'}'` = yes; then
14569 :
14570 else
14571 { { echo "$as_me:$LINENO: error: \"Expected skeleton file in $(dirname ${withval})\"" >&5
14572 echo "$as_me: error: \"Expected skeleton file in $(dirname ${withval})\"" >&2;}
14573 { (exit 1); exit 1; }; }
14574 fi
14575
14576 JAY_FOUND=yes
14577
14578 else
14579
14580 JAY_FOUND=no
14581
14582 fi;
14583
14584
14585 if test "x${JAY_FOUND}" = xyes; then
14586 REGEN_PARSERS_TRUE=
14587 REGEN_PARSERS_FALSE='#'
14588 else
14589 REGEN_PARSERS_TRUE='#'
14590 REGEN_PARSERS_FALSE=
14591 fi
14592
14593
14594
14595 # Check whether --enable-portable-native-sync or --disable-portable-native-sync was given.
14596 if test "${enable_portable_native_sync+set}" = set; then
14597 enableval="$enable_portable_native_sync"
14598 case "${enableval}" in
14599 yes)
14600
14601 cat >>confdefs.h <<\_ACEOF
14602 #define PORTABLE_NATIVE_SYNC 1
14603 _ACEOF
14604
14605 ;;
14606 no) ;;
14607 *)
14608 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-portable-native-sync" >&5
14609 echo "$as_me: error: bad value ${enableval} for --enable-portable-native-sync" >&2;}
14610 { (exit 1); exit 1; }; }
14611 ;;
14612 esac
14613 fi;
14614
14615 # ------ AX CREATE STDINT H -------------------------------------
14616 echo "$as_me:$LINENO: checking for stdint types" >&5
14617 echo $ECHO_N "checking for stdint types... $ECHO_C" >&6
14618 ac_stdint_h=`echo include/config-int.h`
14619 # try to shortcircuit - if the default include path of the compiler
14620 # can find a "stdint.h" header then we assume that all compilers can.
14621 if test "${ac_cv_header_stdint_t+set}" = set; then
14622 echo $ECHO_N "(cached) $ECHO_C" >&6
14623 else
14624
14625 old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS=""
14626 old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS=""
14627 old_CFLAGS="$CFLAGS" ; CFLAGS=""
14628 cat >conftest.$ac_ext <<_ACEOF
14629 /* confdefs.h. */
14630 _ACEOF
14631 cat confdefs.h >>conftest.$ac_ext
14632 cat >>conftest.$ac_ext <<_ACEOF
14633 /* end confdefs.h. */
14634 #include <stdint.h>
14635 int
14636 main ()
14637 {
14638 int_least32_t v = 0;
14639 ;
14640 return 0;
14641 }
14642 _ACEOF
14643 rm -f conftest.$ac_objext
14644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14645 (eval $ac_compile) 2>conftest.er1
14646 ac_status=$?
14647 grep -v '^ *+' conftest.er1 >conftest.err
14648 rm -f conftest.er1
14649 cat conftest.err >&5
14650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14651 (exit $ac_status); } &&
14652 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14654 (eval $ac_try) 2>&5
14655 ac_status=$?
14656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14657 (exit $ac_status); }; } &&
14658 { ac_try='test -s conftest.$ac_objext'
14659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14660 (eval $ac_try) 2>&5
14661 ac_status=$?
14662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14663 (exit $ac_status); }; }; then
14664 ac_cv_stdint_result="(assuming C99 compatible system)"
14665 ac_cv_header_stdint_t="stdint.h";
14666 else
14667 echo "$as_me: failed program was:" >&5
14668 sed 's/^/| /' conftest.$ac_ext >&5
14669
14670 ac_cv_header_stdint_t=""
14671 fi
14672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14673 CXXFLAGS="$old_CXXFLAGS"
14674 CPPFLAGS="$old_CPPFLAGS"
14675 CFLAGS="$old_CFLAGS"
14676 fi
14677
14678
14679 v="... $ac_cv_header_stdint_h"
14680 if test "$ac_stdint_h" = "stdint.h" ; then
14681 echo "$as_me:$LINENO: result: (are you sure you want them in ./stdint.h?)" >&5
14682 echo "${ECHO_T}(are you sure you want them in ./stdint.h?)" >&6
14683 elif test "$ac_stdint_h" = "inttypes.h" ; then
14684 echo "$as_me:$LINENO: result: (are you sure you want them in ./inttypes.h?)" >&5
14685 echo "${ECHO_T}(are you sure you want them in ./inttypes.h?)" >&6
14686 elif test "_$ac_cv_header_stdint_t" = "_" ; then
14687 echo "$as_me:$LINENO: result: (putting them into $ac_stdint_h)$v" >&5
14688 echo "${ECHO_T}(putting them into $ac_stdint_h)$v" >&6
14689 else
14690 ac_cv_header_stdint="$ac_cv_header_stdint_t"
14691 echo "$as_me:$LINENO: result: $ac_cv_header_stdint (shortcircuit)" >&5
14692 echo "${ECHO_T}$ac_cv_header_stdint (shortcircuit)" >&6
14693 fi
14694
14695 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
14696
14697
14698 inttype_headers=`echo | sed -e 's/,/ /g'`
14699
14700 ac_cv_stdint_result="(no helpful system typedefs seen)"
14701
14702 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
14703 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
14704 if test "${ac_cv_header_stdint_x+set}" = set; then
14705 echo $ECHO_N "(cached) $ECHO_C" >&6
14706 else
14707
14708 ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
14709 echo "$as_me:$LINENO: result: (..)" >&5
14710 echo "${ECHO_T}(..)" >&6
14711 for i in stdint.h inttypes.h sys/inttypes.h $inttype_headers ; do
14712 unset ac_cv_type_uintptr_t
14713 unset ac_cv_type_uint64_t
14714 echo "$as_me:$LINENO: checking for uintptr_t" >&5
14715 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
14716 if test "${ac_cv_type_uintptr_t+set}" = set; then
14717 echo $ECHO_N "(cached) $ECHO_C" >&6
14718 else
14719 cat >conftest.$ac_ext <<_ACEOF
14720 /* confdefs.h. */
14721 _ACEOF
14722 cat confdefs.h >>conftest.$ac_ext
14723 cat >>conftest.$ac_ext <<_ACEOF
14724 /* end confdefs.h. */
14725 #include <$i>
14726
14727 int
14728 main ()
14729 {
14730 if ((uintptr_t *) 0)
14731 return 0;
14732 if (sizeof (uintptr_t))
14733 return 0;
14734 ;
14735 return 0;
14736 }
14737 _ACEOF
14738 rm -f conftest.$ac_objext
14739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14740 (eval $ac_compile) 2>conftest.er1
14741 ac_status=$?
14742 grep -v '^ *+' conftest.er1 >conftest.err
14743 rm -f conftest.er1
14744 cat conftest.err >&5
14745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14746 (exit $ac_status); } &&
14747 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14749 (eval $ac_try) 2>&5
14750 ac_status=$?
14751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14752 (exit $ac_status); }; } &&
14753 { ac_try='test -s conftest.$ac_objext'
14754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14755 (eval $ac_try) 2>&5
14756 ac_status=$?
14757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14758 (exit $ac_status); }; }; then
14759 ac_cv_type_uintptr_t=yes
14760 else
14761 echo "$as_me: failed program was:" >&5
14762 sed 's/^/| /' conftest.$ac_ext >&5
14763
14764 ac_cv_type_uintptr_t=no
14765 fi
14766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14767 fi
14768 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
14769 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
14770 if test $ac_cv_type_uintptr_t = yes; then
14771 ac_cv_header_stdint_x=$i
14772 else
14773 continue
14774 fi
14775
14776 echo "$as_me:$LINENO: checking for uint64_t" >&5
14777 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
14778 if test "${ac_cv_type_uint64_t+set}" = set; then
14779 echo $ECHO_N "(cached) $ECHO_C" >&6
14780 else
14781 cat >conftest.$ac_ext <<_ACEOF
14782 /* confdefs.h. */
14783 _ACEOF
14784 cat confdefs.h >>conftest.$ac_ext
14785 cat >>conftest.$ac_ext <<_ACEOF
14786 /* end confdefs.h. */
14787 #include<$i>
14788
14789 int
14790 main ()
14791 {
14792 if ((uint64_t *) 0)
14793 return 0;
14794 if (sizeof (uint64_t))
14795 return 0;
14796 ;
14797 return 0;
14798 }
14799 _ACEOF
14800 rm -f conftest.$ac_objext
14801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14802 (eval $ac_compile) 2>conftest.er1
14803 ac_status=$?
14804 grep -v '^ *+' conftest.er1 >conftest.err
14805 rm -f conftest.er1
14806 cat conftest.err >&5
14807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14808 (exit $ac_status); } &&
14809 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14811 (eval $ac_try) 2>&5
14812 ac_status=$?
14813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14814 (exit $ac_status); }; } &&
14815 { ac_try='test -s conftest.$ac_objext'
14816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14817 (eval $ac_try) 2>&5
14818 ac_status=$?
14819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14820 (exit $ac_status); }; }; then
14821 ac_cv_type_uint64_t=yes
14822 else
14823 echo "$as_me: failed program was:" >&5
14824 sed 's/^/| /' conftest.$ac_ext >&5
14825
14826 ac_cv_type_uint64_t=no
14827 fi
14828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14829 fi
14830 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
14831 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
14832 if test $ac_cv_type_uint64_t = yes; then
14833 and64="/uint64_t"
14834 else
14835 and64=""
14836 fi
14837
14838 stdint.h inttypes.h sys/inttypes.h $inttype_headers
14839 break
14840 done
14841 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
14842 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
14843
14844 fi
14845 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_x" >&5
14846 echo "${ECHO_T}$ac_cv_header_stdint_x" >&6
14847
14848
14849 if test "_$ac_cv_header_stdint_x" = "_" ; then
14850
14851 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
14852 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
14853 if test "${ac_cv_header_stdint_o+set}" = set; then
14854 echo $ECHO_N "(cached) $ECHO_C" >&6
14855 else
14856
14857 ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
14858 echo "$as_me:$LINENO: result: (..)" >&5
14859 echo "${ECHO_T}(..)" >&6
14860 for i in inttypes.h sys/inttypes.h stdint.h $inttype_headers ; do
14861 unset ac_cv_type_uint32_t
14862 unset ac_cv_type_uint64_t
14863 echo "$as_me:$LINENO: checking for uint32_t" >&5
14864 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
14865 if test "${ac_cv_type_uint32_t+set}" = set; then
14866 echo $ECHO_N "(cached) $ECHO_C" >&6
14867 else
14868 cat >conftest.$ac_ext <<_ACEOF
14869 /* confdefs.h. */
14870 _ACEOF
14871 cat confdefs.h >>conftest.$ac_ext
14872 cat >>conftest.$ac_ext <<_ACEOF
14873 /* end confdefs.h. */
14874 #include <$i>
14875
14876 int
14877 main ()
14878 {
14879 if ((uint32_t *) 0)
14880 return 0;
14881 if (sizeof (uint32_t))
14882 return 0;
14883 ;
14884 return 0;
14885 }
14886 _ACEOF
14887 rm -f conftest.$ac_objext
14888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14889 (eval $ac_compile) 2>conftest.er1
14890 ac_status=$?
14891 grep -v '^ *+' conftest.er1 >conftest.err
14892 rm -f conftest.er1
14893 cat conftest.err >&5
14894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14895 (exit $ac_status); } &&
14896 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14898 (eval $ac_try) 2>&5
14899 ac_status=$?
14900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14901 (exit $ac_status); }; } &&
14902 { ac_try='test -s conftest.$ac_objext'
14903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14904 (eval $ac_try) 2>&5
14905 ac_status=$?
14906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14907 (exit $ac_status); }; }; then
14908 ac_cv_type_uint32_t=yes
14909 else
14910 echo "$as_me: failed program was:" >&5
14911 sed 's/^/| /' conftest.$ac_ext >&5
14912
14913 ac_cv_type_uint32_t=no
14914 fi
14915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14916 fi
14917 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
14918 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
14919 if test $ac_cv_type_uint32_t = yes; then
14920 ac_cv_header_stdint_o=$i
14921 else
14922 continue
14923 fi
14924
14925 echo "$as_me:$LINENO: checking for uint64_t" >&5
14926 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
14927 if test "${ac_cv_type_uint64_t+set}" = set; then
14928 echo $ECHO_N "(cached) $ECHO_C" >&6
14929 else
14930 cat >conftest.$ac_ext <<_ACEOF
14931 /* confdefs.h. */
14932 _ACEOF
14933 cat confdefs.h >>conftest.$ac_ext
14934 cat >>conftest.$ac_ext <<_ACEOF
14935 /* end confdefs.h. */
14936 #include<$i>
14937
14938 int
14939 main ()
14940 {
14941 if ((uint64_t *) 0)
14942 return 0;
14943 if (sizeof (uint64_t))
14944 return 0;
14945 ;
14946 return 0;
14947 }
14948 _ACEOF
14949 rm -f conftest.$ac_objext
14950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14951 (eval $ac_compile) 2>conftest.er1
14952 ac_status=$?
14953 grep -v '^ *+' conftest.er1 >conftest.err
14954 rm -f conftest.er1
14955 cat conftest.err >&5
14956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14957 (exit $ac_status); } &&
14958 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14960 (eval $ac_try) 2>&5
14961 ac_status=$?
14962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14963 (exit $ac_status); }; } &&
14964 { ac_try='test -s conftest.$ac_objext'
14965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14966 (eval $ac_try) 2>&5
14967 ac_status=$?
14968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14969 (exit $ac_status); }; }; then
14970 ac_cv_type_uint64_t=yes
14971 else
14972 echo "$as_me: failed program was:" >&5
14973 sed 's/^/| /' conftest.$ac_ext >&5
14974
14975 ac_cv_type_uint64_t=no
14976 fi
14977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14978 fi
14979 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
14980 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
14981 if test $ac_cv_type_uint64_t = yes; then
14982 and64="/uint64_t"
14983 else
14984 and64=""
14985 fi
14986
14987 inttypes.h sys/inttypes.h stdint.h $inttype_headers
14988 break
14989 break;
14990 done
14991 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
14992 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
14993
14994 fi
14995 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_o" >&5
14996 echo "${ECHO_T}$ac_cv_header_stdint_o" >&6
14997
14998 fi
14999
15000 if test "_$ac_cv_header_stdint_x" = "_" ; then
15001 if test "_$ac_cv_header_stdint_o" = "_" ; then
15002
15003 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
15004 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
15005 if test "${ac_cv_header_stdint_u+set}" = set; then
15006 echo $ECHO_N "(cached) $ECHO_C" >&6
15007 else
15008
15009 ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
15010 echo "$as_me:$LINENO: result: (..)" >&5
15011 echo "${ECHO_T}(..)" >&6
15012 for i in sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do
15013 unset ac_cv_type_u_int32_t
15014 unset ac_cv_type_u_int64_t
15015 echo "$as_me:$LINENO: checking for u_int32_t" >&5
15016 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
15017 if test "${ac_cv_type_u_int32_t+set}" = set; then
15018 echo $ECHO_N "(cached) $ECHO_C" >&6
15019 else
15020 cat >conftest.$ac_ext <<_ACEOF
15021 /* confdefs.h. */
15022 _ACEOF
15023 cat confdefs.h >>conftest.$ac_ext
15024 cat >>conftest.$ac_ext <<_ACEOF
15025 /* end confdefs.h. */
15026 #include <$i>
15027
15028 int
15029 main ()
15030 {
15031 if ((u_int32_t *) 0)
15032 return 0;
15033 if (sizeof (u_int32_t))
15034 return 0;
15035 ;
15036 return 0;
15037 }
15038 _ACEOF
15039 rm -f conftest.$ac_objext
15040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15041 (eval $ac_compile) 2>conftest.er1
15042 ac_status=$?
15043 grep -v '^ *+' conftest.er1 >conftest.err
15044 rm -f conftest.er1
15045 cat conftest.err >&5
15046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15047 (exit $ac_status); } &&
15048 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15050 (eval $ac_try) 2>&5
15051 ac_status=$?
15052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15053 (exit $ac_status); }; } &&
15054 { ac_try='test -s conftest.$ac_objext'
15055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15056 (eval $ac_try) 2>&5
15057 ac_status=$?
15058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15059 (exit $ac_status); }; }; then
15060 ac_cv_type_u_int32_t=yes
15061 else
15062 echo "$as_me: failed program was:" >&5
15063 sed 's/^/| /' conftest.$ac_ext >&5
15064
15065 ac_cv_type_u_int32_t=no
15066 fi
15067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15068 fi
15069 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
15070 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
15071 if test $ac_cv_type_u_int32_t = yes; then
15072 ac_cv_header_stdint_u=$i
15073 else
15074 continue
15075 fi
15076
15077 echo "$as_me:$LINENO: checking for u_int64_t" >&5
15078 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
15079 if test "${ac_cv_type_u_int64_t+set}" = set; then
15080 echo $ECHO_N "(cached) $ECHO_C" >&6
15081 else
15082 cat >conftest.$ac_ext <<_ACEOF
15083 /* confdefs.h. */
15084 _ACEOF
15085 cat confdefs.h >>conftest.$ac_ext
15086 cat >>conftest.$ac_ext <<_ACEOF
15087 /* end confdefs.h. */
15088 #include<$i>
15089
15090 int
15091 main ()
15092 {
15093 if ((u_int64_t *) 0)
15094 return 0;
15095 if (sizeof (u_int64_t))
15096 return 0;
15097 ;
15098 return 0;
15099 }
15100 _ACEOF
15101 rm -f conftest.$ac_objext
15102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15103 (eval $ac_compile) 2>conftest.er1
15104 ac_status=$?
15105 grep -v '^ *+' conftest.er1 >conftest.err
15106 rm -f conftest.er1
15107 cat conftest.err >&5
15108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15109 (exit $ac_status); } &&
15110 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15112 (eval $ac_try) 2>&5
15113 ac_status=$?
15114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15115 (exit $ac_status); }; } &&
15116 { ac_try='test -s conftest.$ac_objext'
15117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15118 (eval $ac_try) 2>&5
15119 ac_status=$?
15120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15121 (exit $ac_status); }; }; then
15122 ac_cv_type_u_int64_t=yes
15123 else
15124 echo "$as_me: failed program was:" >&5
15125 sed 's/^/| /' conftest.$ac_ext >&5
15126
15127 ac_cv_type_u_int64_t=no
15128 fi
15129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15130 fi
15131 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
15132 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
15133 if test $ac_cv_type_u_int64_t = yes; then
15134 and64="/u_int64_t"
15135 else
15136 and64=""
15137 fi
15138
15139 sys/types.h inttypes.h sys/inttypes.h $inttype_headers
15140 break
15141 break;
15142 done
15143 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
15144 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
15145
15146 fi
15147 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_u" >&5
15148 echo "${ECHO_T}$ac_cv_header_stdint_u" >&6
15149
15150 fi fi
15151
15152 if test "_$ac_cv_header_stdint_x" = "_" ; then
15153 echo "$as_me:$LINENO: checking for stdint datatype model" >&5
15154 echo $ECHO_N "checking for stdint datatype model... $ECHO_C" >&6
15155 echo "$as_me:$LINENO: result: (..)" >&5
15156 echo "${ECHO_T}(..)" >&6
15157
15158 echo "$as_me:$LINENO: checking for char" >&5
15159 echo $ECHO_N "checking for char... $ECHO_C" >&6
15160 if test "${ac_cv_type_char+set}" = set; then
15161 echo $ECHO_N "(cached) $ECHO_C" >&6
15162 else
15163 cat >conftest.$ac_ext <<_ACEOF
15164 /* confdefs.h. */
15165 _ACEOF
15166 cat confdefs.h >>conftest.$ac_ext
15167 cat >>conftest.$ac_ext <<_ACEOF
15168 /* end confdefs.h. */
15169 $ac_includes_default
15170 int
15171 main ()
15172 {
15173 if ((char *) 0)
15174 return 0;
15175 if (sizeof (char))
15176 return 0;
15177 ;
15178 return 0;
15179 }
15180 _ACEOF
15181 rm -f conftest.$ac_objext
15182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15183 (eval $ac_compile) 2>conftest.er1
15184 ac_status=$?
15185 grep -v '^ *+' conftest.er1 >conftest.err
15186 rm -f conftest.er1
15187 cat conftest.err >&5
15188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15189 (exit $ac_status); } &&
15190 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15192 (eval $ac_try) 2>&5
15193 ac_status=$?
15194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15195 (exit $ac_status); }; } &&
15196 { ac_try='test -s conftest.$ac_objext'
15197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15198 (eval $ac_try) 2>&5
15199 ac_status=$?
15200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15201 (exit $ac_status); }; }; then
15202 ac_cv_type_char=yes
15203 else
15204 echo "$as_me: failed program was:" >&5
15205 sed 's/^/| /' conftest.$ac_ext >&5
15206
15207 ac_cv_type_char=no
15208 fi
15209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15210 fi
15211 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15212 echo "${ECHO_T}$ac_cv_type_char" >&6
15213
15214 echo "$as_me:$LINENO: checking size of char" >&5
15215 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15216 if test "${ac_cv_sizeof_char+set}" = set; then
15217 echo $ECHO_N "(cached) $ECHO_C" >&6
15218 else
15219 if test "$ac_cv_type_char" = yes; then
15220 # The cast to unsigned long works around a bug in the HP C Compiler
15221 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15222 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15223 # This bug is HP SR number 8606223364.
15224 if test "$cross_compiling" = yes; then
15225 # Depending upon the size, compute the lo and hi bounds.
15226 cat >conftest.$ac_ext <<_ACEOF
15227 /* confdefs.h. */
15228 _ACEOF
15229 cat confdefs.h >>conftest.$ac_ext
15230 cat >>conftest.$ac_ext <<_ACEOF
15231 /* end confdefs.h. */
15232 $ac_includes_default
15233 int
15234 main ()
15235 {
15236 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15237 test_array [0] = 0
15238
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" || test ! -s conftest.err'
15253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15254 (eval $ac_try) 2>&5
15255 ac_status=$?
15256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15257 (exit $ac_status); }; } &&
15258 { ac_try='test -s conftest.$ac_objext'
15259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15260 (eval $ac_try) 2>&5
15261 ac_status=$?
15262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15263 (exit $ac_status); }; }; then
15264 ac_lo=0 ac_mid=0
15265 while :; do
15266 cat >conftest.$ac_ext <<_ACEOF
15267 /* confdefs.h. */
15268 _ACEOF
15269 cat confdefs.h >>conftest.$ac_ext
15270 cat >>conftest.$ac_ext <<_ACEOF
15271 /* end confdefs.h. */
15272 $ac_includes_default
15273 int
15274 main ()
15275 {
15276 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15277 test_array [0] = 0
15278
15279 ;
15280 return 0;
15281 }
15282 _ACEOF
15283 rm -f conftest.$ac_objext
15284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15285 (eval $ac_compile) 2>conftest.er1
15286 ac_status=$?
15287 grep -v '^ *+' conftest.er1 >conftest.err
15288 rm -f conftest.er1
15289 cat conftest.err >&5
15290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15291 (exit $ac_status); } &&
15292 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15294 (eval $ac_try) 2>&5
15295 ac_status=$?
15296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15297 (exit $ac_status); }; } &&
15298 { ac_try='test -s conftest.$ac_objext'
15299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15300 (eval $ac_try) 2>&5
15301 ac_status=$?
15302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15303 (exit $ac_status); }; }; then
15304 ac_hi=$ac_mid; break
15305 else
15306 echo "$as_me: failed program was:" >&5
15307 sed 's/^/| /' conftest.$ac_ext >&5
15308
15309 ac_lo=`expr $ac_mid + 1`
15310 if test $ac_lo -le $ac_mid; then
15311 ac_lo= ac_hi=
15312 break
15313 fi
15314 ac_mid=`expr 2 '*' $ac_mid + 1`
15315 fi
15316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15317 done
15318 else
15319 echo "$as_me: failed program was:" >&5
15320 sed 's/^/| /' conftest.$ac_ext >&5
15321
15322 cat >conftest.$ac_ext <<_ACEOF
15323 /* confdefs.h. */
15324 _ACEOF
15325 cat confdefs.h >>conftest.$ac_ext
15326 cat >>conftest.$ac_ext <<_ACEOF
15327 /* end confdefs.h. */
15328 $ac_includes_default
15329 int
15330 main ()
15331 {
15332 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15333 test_array [0] = 0
15334
15335 ;
15336 return 0;
15337 }
15338 _ACEOF
15339 rm -f conftest.$ac_objext
15340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15341 (eval $ac_compile) 2>conftest.er1
15342 ac_status=$?
15343 grep -v '^ *+' conftest.er1 >conftest.err
15344 rm -f conftest.er1
15345 cat conftest.err >&5
15346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15347 (exit $ac_status); } &&
15348 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15350 (eval $ac_try) 2>&5
15351 ac_status=$?
15352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15353 (exit $ac_status); }; } &&
15354 { ac_try='test -s conftest.$ac_objext'
15355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15356 (eval $ac_try) 2>&5
15357 ac_status=$?
15358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15359 (exit $ac_status); }; }; then
15360 ac_hi=-1 ac_mid=-1
15361 while :; do
15362 cat >conftest.$ac_ext <<_ACEOF
15363 /* confdefs.h. */
15364 _ACEOF
15365 cat confdefs.h >>conftest.$ac_ext
15366 cat >>conftest.$ac_ext <<_ACEOF
15367 /* end confdefs.h. */
15368 $ac_includes_default
15369 int
15370 main ()
15371 {
15372 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15373 test_array [0] = 0
15374
15375 ;
15376 return 0;
15377 }
15378 _ACEOF
15379 rm -f conftest.$ac_objext
15380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15381 (eval $ac_compile) 2>conftest.er1
15382 ac_status=$?
15383 grep -v '^ *+' conftest.er1 >conftest.err
15384 rm -f conftest.er1
15385 cat conftest.err >&5
15386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15387 (exit $ac_status); } &&
15388 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15390 (eval $ac_try) 2>&5
15391 ac_status=$?
15392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15393 (exit $ac_status); }; } &&
15394 { ac_try='test -s conftest.$ac_objext'
15395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15396 (eval $ac_try) 2>&5
15397 ac_status=$?
15398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15399 (exit $ac_status); }; }; then
15400 ac_lo=$ac_mid; break
15401 else
15402 echo "$as_me: failed program was:" >&5
15403 sed 's/^/| /' conftest.$ac_ext >&5
15404
15405 ac_hi=`expr '(' $ac_mid ')' - 1`
15406 if test $ac_mid -le $ac_hi; then
15407 ac_lo= ac_hi=
15408 break
15409 fi
15410 ac_mid=`expr 2 '*' $ac_mid`
15411 fi
15412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15413 done
15414 else
15415 echo "$as_me: failed program was:" >&5
15416 sed 's/^/| /' conftest.$ac_ext >&5
15417
15418 ac_lo= ac_hi=
15419 fi
15420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15421 fi
15422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15423 # Binary search between lo and hi bounds.
15424 while test "x$ac_lo" != "x$ac_hi"; do
15425 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15426 cat >conftest.$ac_ext <<_ACEOF
15427 /* confdefs.h. */
15428 _ACEOF
15429 cat confdefs.h >>conftest.$ac_ext
15430 cat >>conftest.$ac_ext <<_ACEOF
15431 /* end confdefs.h. */
15432 $ac_includes_default
15433 int
15434 main ()
15435 {
15436 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15437 test_array [0] = 0
15438
15439 ;
15440 return 0;
15441 }
15442 _ACEOF
15443 rm -f conftest.$ac_objext
15444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15445 (eval $ac_compile) 2>conftest.er1
15446 ac_status=$?
15447 grep -v '^ *+' conftest.er1 >conftest.err
15448 rm -f conftest.er1
15449 cat conftest.err >&5
15450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15451 (exit $ac_status); } &&
15452 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15454 (eval $ac_try) 2>&5
15455 ac_status=$?
15456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15457 (exit $ac_status); }; } &&
15458 { ac_try='test -s conftest.$ac_objext'
15459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15460 (eval $ac_try) 2>&5
15461 ac_status=$?
15462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15463 (exit $ac_status); }; }; then
15464 ac_hi=$ac_mid
15465 else
15466 echo "$as_me: failed program was:" >&5
15467 sed 's/^/| /' conftest.$ac_ext >&5
15468
15469 ac_lo=`expr '(' $ac_mid ')' + 1`
15470 fi
15471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15472 done
15473 case $ac_lo in
15474 ?*) ac_cv_sizeof_char=$ac_lo;;
15475 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15476 See \`config.log' for more details." >&5
15477 echo "$as_me: error: cannot compute sizeof (char), 77
15478 See \`config.log' for more details." >&2;}
15479 { (exit 1); exit 1; }; } ;;
15480 esac
15481 else
15482 if test "$cross_compiling" = yes; then
15483 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15484 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15485 { (exit 1); exit 1; }; }
15486 else
15487 cat >conftest.$ac_ext <<_ACEOF
15488 /* confdefs.h. */
15489 _ACEOF
15490 cat confdefs.h >>conftest.$ac_ext
15491 cat >>conftest.$ac_ext <<_ACEOF
15492 /* end confdefs.h. */
15493 $ac_includes_default
15494 long longval () { return (long) (sizeof (char)); }
15495 unsigned long ulongval () { return (long) (sizeof (char)); }
15496 #include <stdio.h>
15497 #include <stdlib.h>
15498 int
15499 main ()
15500 {
15501
15502 FILE *f = fopen ("conftest.val", "w");
15503 if (! f)
15504 exit (1);
15505 if (((long) (sizeof (char))) < 0)
15506 {
15507 long i = longval ();
15508 if (i != ((long) (sizeof (char))))
15509 exit (1);
15510 fprintf (f, "%ld\n", i);
15511 }
15512 else
15513 {
15514 unsigned long i = ulongval ();
15515 if (i != ((long) (sizeof (char))))
15516 exit (1);
15517 fprintf (f, "%lu\n", i);
15518 }
15519 exit (ferror (f) || fclose (f) != 0);
15520
15521 ;
15522 return 0;
15523 }
15524 _ACEOF
15525 rm -f conftest$ac_exeext
15526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15527 (eval $ac_link) 2>&5
15528 ac_status=$?
15529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15530 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15532 (eval $ac_try) 2>&5
15533 ac_status=$?
15534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15535 (exit $ac_status); }; }; then
15536 ac_cv_sizeof_char=`cat conftest.val`
15537 else
15538 echo "$as_me: program exited with status $ac_status" >&5
15539 echo "$as_me: failed program was:" >&5
15540 sed 's/^/| /' conftest.$ac_ext >&5
15541
15542 ( exit $ac_status )
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 fi
15549 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15550 fi
15551 fi
15552 rm -f conftest.val
15553 else
15554 ac_cv_sizeof_char=0
15555 fi
15556 fi
15557 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15558 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15559 cat >>confdefs.h <<_ACEOF
15560 #define SIZEOF_CHAR $ac_cv_sizeof_char
15561 _ACEOF
15562
15563
15564 echo "$as_me:$LINENO: checking for short" >&5
15565 echo $ECHO_N "checking for short... $ECHO_C" >&6
15566 if test "${ac_cv_type_short+set}" = set; then
15567 echo $ECHO_N "(cached) $ECHO_C" >&6
15568 else
15569 cat >conftest.$ac_ext <<_ACEOF
15570 /* confdefs.h. */
15571 _ACEOF
15572 cat confdefs.h >>conftest.$ac_ext
15573 cat >>conftest.$ac_ext <<_ACEOF
15574 /* end confdefs.h. */
15575 $ac_includes_default
15576 int
15577 main ()
15578 {
15579 if ((short *) 0)
15580 return 0;
15581 if (sizeof (short))
15582 return 0;
15583 ;
15584 return 0;
15585 }
15586 _ACEOF
15587 rm -f conftest.$ac_objext
15588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15589 (eval $ac_compile) 2>conftest.er1
15590 ac_status=$?
15591 grep -v '^ *+' conftest.er1 >conftest.err
15592 rm -f conftest.er1
15593 cat conftest.err >&5
15594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15595 (exit $ac_status); } &&
15596 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15598 (eval $ac_try) 2>&5
15599 ac_status=$?
15600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15601 (exit $ac_status); }; } &&
15602 { ac_try='test -s conftest.$ac_objext'
15603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15604 (eval $ac_try) 2>&5
15605 ac_status=$?
15606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15607 (exit $ac_status); }; }; then
15608 ac_cv_type_short=yes
15609 else
15610 echo "$as_me: failed program was:" >&5
15611 sed 's/^/| /' conftest.$ac_ext >&5
15612
15613 ac_cv_type_short=no
15614 fi
15615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15616 fi
15617 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
15618 echo "${ECHO_T}$ac_cv_type_short" >&6
15619
15620 echo "$as_me:$LINENO: checking size of short" >&5
15621 echo $ECHO_N "checking size of short... $ECHO_C" >&6
15622 if test "${ac_cv_sizeof_short+set}" = set; then
15623 echo $ECHO_N "(cached) $ECHO_C" >&6
15624 else
15625 if test "$ac_cv_type_short" = yes; then
15626 # The cast to unsigned long works around a bug in the HP C Compiler
15627 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15628 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15629 # This bug is HP SR number 8606223364.
15630 if test "$cross_compiling" = yes; then
15631 # Depending upon the size, compute the lo and hi bounds.
15632 cat >conftest.$ac_ext <<_ACEOF
15633 /* confdefs.h. */
15634 _ACEOF
15635 cat confdefs.h >>conftest.$ac_ext
15636 cat >>conftest.$ac_ext <<_ACEOF
15637 /* end confdefs.h. */
15638 $ac_includes_default
15639 int
15640 main ()
15641 {
15642 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
15643 test_array [0] = 0
15644
15645 ;
15646 return 0;
15647 }
15648 _ACEOF
15649 rm -f conftest.$ac_objext
15650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15651 (eval $ac_compile) 2>conftest.er1
15652 ac_status=$?
15653 grep -v '^ *+' conftest.er1 >conftest.err
15654 rm -f conftest.er1
15655 cat conftest.err >&5
15656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15657 (exit $ac_status); } &&
15658 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15660 (eval $ac_try) 2>&5
15661 ac_status=$?
15662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15663 (exit $ac_status); }; } &&
15664 { ac_try='test -s conftest.$ac_objext'
15665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15666 (eval $ac_try) 2>&5
15667 ac_status=$?
15668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15669 (exit $ac_status); }; }; then
15670 ac_lo=0 ac_mid=0
15671 while :; do
15672 cat >conftest.$ac_ext <<_ACEOF
15673 /* confdefs.h. */
15674 _ACEOF
15675 cat confdefs.h >>conftest.$ac_ext
15676 cat >>conftest.$ac_ext <<_ACEOF
15677 /* end confdefs.h. */
15678 $ac_includes_default
15679 int
15680 main ()
15681 {
15682 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15683 test_array [0] = 0
15684
15685 ;
15686 return 0;
15687 }
15688 _ACEOF
15689 rm -f conftest.$ac_objext
15690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15691 (eval $ac_compile) 2>conftest.er1
15692 ac_status=$?
15693 grep -v '^ *+' conftest.er1 >conftest.err
15694 rm -f conftest.er1
15695 cat conftest.err >&5
15696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15697 (exit $ac_status); } &&
15698 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15700 (eval $ac_try) 2>&5
15701 ac_status=$?
15702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15703 (exit $ac_status); }; } &&
15704 { ac_try='test -s conftest.$ac_objext'
15705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15706 (eval $ac_try) 2>&5
15707 ac_status=$?
15708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15709 (exit $ac_status); }; }; then
15710 ac_hi=$ac_mid; break
15711 else
15712 echo "$as_me: failed program was:" >&5
15713 sed 's/^/| /' conftest.$ac_ext >&5
15714
15715 ac_lo=`expr $ac_mid + 1`
15716 if test $ac_lo -le $ac_mid; then
15717 ac_lo= ac_hi=
15718 break
15719 fi
15720 ac_mid=`expr 2 '*' $ac_mid + 1`
15721 fi
15722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15723 done
15724 else
15725 echo "$as_me: failed program was:" >&5
15726 sed 's/^/| /' conftest.$ac_ext >&5
15727
15728 cat >conftest.$ac_ext <<_ACEOF
15729 /* confdefs.h. */
15730 _ACEOF
15731 cat confdefs.h >>conftest.$ac_ext
15732 cat >>conftest.$ac_ext <<_ACEOF
15733 /* end confdefs.h. */
15734 $ac_includes_default
15735 int
15736 main ()
15737 {
15738 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15739 test_array [0] = 0
15740
15741 ;
15742 return 0;
15743 }
15744 _ACEOF
15745 rm -f conftest.$ac_objext
15746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15747 (eval $ac_compile) 2>conftest.er1
15748 ac_status=$?
15749 grep -v '^ *+' conftest.er1 >conftest.err
15750 rm -f conftest.er1
15751 cat conftest.err >&5
15752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15753 (exit $ac_status); } &&
15754 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15756 (eval $ac_try) 2>&5
15757 ac_status=$?
15758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15759 (exit $ac_status); }; } &&
15760 { ac_try='test -s conftest.$ac_objext'
15761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15762 (eval $ac_try) 2>&5
15763 ac_status=$?
15764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15765 (exit $ac_status); }; }; then
15766 ac_hi=-1 ac_mid=-1
15767 while :; do
15768 cat >conftest.$ac_ext <<_ACEOF
15769 /* confdefs.h. */
15770 _ACEOF
15771 cat confdefs.h >>conftest.$ac_ext
15772 cat >>conftest.$ac_ext <<_ACEOF
15773 /* end confdefs.h. */
15774 $ac_includes_default
15775 int
15776 main ()
15777 {
15778 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15779 test_array [0] = 0
15780
15781 ;
15782 return 0;
15783 }
15784 _ACEOF
15785 rm -f conftest.$ac_objext
15786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15787 (eval $ac_compile) 2>conftest.er1
15788 ac_status=$?
15789 grep -v '^ *+' conftest.er1 >conftest.err
15790 rm -f conftest.er1
15791 cat conftest.err >&5
15792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15793 (exit $ac_status); } &&
15794 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15796 (eval $ac_try) 2>&5
15797 ac_status=$?
15798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15799 (exit $ac_status); }; } &&
15800 { ac_try='test -s conftest.$ac_objext'
15801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15802 (eval $ac_try) 2>&5
15803 ac_status=$?
15804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15805 (exit $ac_status); }; }; then
15806 ac_lo=$ac_mid; break
15807 else
15808 echo "$as_me: failed program was:" >&5
15809 sed 's/^/| /' conftest.$ac_ext >&5
15810
15811 ac_hi=`expr '(' $ac_mid ')' - 1`
15812 if test $ac_mid -le $ac_hi; then
15813 ac_lo= ac_hi=
15814 break
15815 fi
15816 ac_mid=`expr 2 '*' $ac_mid`
15817 fi
15818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15819 done
15820 else
15821 echo "$as_me: failed program was:" >&5
15822 sed 's/^/| /' conftest.$ac_ext >&5
15823
15824 ac_lo= ac_hi=
15825 fi
15826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15827 fi
15828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15829 # Binary search between lo and hi bounds.
15830 while test "x$ac_lo" != "x$ac_hi"; do
15831 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15832 cat >conftest.$ac_ext <<_ACEOF
15833 /* confdefs.h. */
15834 _ACEOF
15835 cat confdefs.h >>conftest.$ac_ext
15836 cat >>conftest.$ac_ext <<_ACEOF
15837 /* end confdefs.h. */
15838 $ac_includes_default
15839 int
15840 main ()
15841 {
15842 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15843 test_array [0] = 0
15844
15845 ;
15846 return 0;
15847 }
15848 _ACEOF
15849 rm -f conftest.$ac_objext
15850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15851 (eval $ac_compile) 2>conftest.er1
15852 ac_status=$?
15853 grep -v '^ *+' conftest.er1 >conftest.err
15854 rm -f conftest.er1
15855 cat conftest.err >&5
15856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15857 (exit $ac_status); } &&
15858 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15860 (eval $ac_try) 2>&5
15861 ac_status=$?
15862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15863 (exit $ac_status); }; } &&
15864 { ac_try='test -s conftest.$ac_objext'
15865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15866 (eval $ac_try) 2>&5
15867 ac_status=$?
15868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15869 (exit $ac_status); }; }; then
15870 ac_hi=$ac_mid
15871 else
15872 echo "$as_me: failed program was:" >&5
15873 sed 's/^/| /' conftest.$ac_ext >&5
15874
15875 ac_lo=`expr '(' $ac_mid ')' + 1`
15876 fi
15877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15878 done
15879 case $ac_lo in
15880 ?*) ac_cv_sizeof_short=$ac_lo;;
15881 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15882 See \`config.log' for more details." >&5
15883 echo "$as_me: error: cannot compute sizeof (short), 77
15884 See \`config.log' for more details." >&2;}
15885 { (exit 1); exit 1; }; } ;;
15886 esac
15887 else
15888 if test "$cross_compiling" = yes; then
15889 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15890 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15891 { (exit 1); exit 1; }; }
15892 else
15893 cat >conftest.$ac_ext <<_ACEOF
15894 /* confdefs.h. */
15895 _ACEOF
15896 cat confdefs.h >>conftest.$ac_ext
15897 cat >>conftest.$ac_ext <<_ACEOF
15898 /* end confdefs.h. */
15899 $ac_includes_default
15900 long longval () { return (long) (sizeof (short)); }
15901 unsigned long ulongval () { return (long) (sizeof (short)); }
15902 #include <stdio.h>
15903 #include <stdlib.h>
15904 int
15905 main ()
15906 {
15907
15908 FILE *f = fopen ("conftest.val", "w");
15909 if (! f)
15910 exit (1);
15911 if (((long) (sizeof (short))) < 0)
15912 {
15913 long i = longval ();
15914 if (i != ((long) (sizeof (short))))
15915 exit (1);
15916 fprintf (f, "%ld\n", i);
15917 }
15918 else
15919 {
15920 unsigned long i = ulongval ();
15921 if (i != ((long) (sizeof (short))))
15922 exit (1);
15923 fprintf (f, "%lu\n", i);
15924 }
15925 exit (ferror (f) || fclose (f) != 0);
15926
15927 ;
15928 return 0;
15929 }
15930 _ACEOF
15931 rm -f conftest$ac_exeext
15932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15933 (eval $ac_link) 2>&5
15934 ac_status=$?
15935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15936 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15938 (eval $ac_try) 2>&5
15939 ac_status=$?
15940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15941 (exit $ac_status); }; }; then
15942 ac_cv_sizeof_short=`cat conftest.val`
15943 else
15944 echo "$as_me: program exited with status $ac_status" >&5
15945 echo "$as_me: failed program was:" >&5
15946 sed 's/^/| /' conftest.$ac_ext >&5
15947
15948 ( exit $ac_status )
15949 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15950 See \`config.log' for more details." >&5
15951 echo "$as_me: error: cannot compute sizeof (short), 77
15952 See \`config.log' for more details." >&2;}
15953 { (exit 1); exit 1; }; }
15954 fi
15955 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15956 fi
15957 fi
15958 rm -f conftest.val
15959 else
15960 ac_cv_sizeof_short=0
15961 fi
15962 fi
15963 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15964 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15965 cat >>confdefs.h <<_ACEOF
15966 #define SIZEOF_SHORT $ac_cv_sizeof_short
15967 _ACEOF
15968
15969
15970 echo "$as_me:$LINENO: checking for int" >&5
15971 echo $ECHO_N "checking for int... $ECHO_C" >&6
15972 if test "${ac_cv_type_int+set}" = set; then
15973 echo $ECHO_N "(cached) $ECHO_C" >&6
15974 else
15975 cat >conftest.$ac_ext <<_ACEOF
15976 /* confdefs.h. */
15977 _ACEOF
15978 cat confdefs.h >>conftest.$ac_ext
15979 cat >>conftest.$ac_ext <<_ACEOF
15980 /* end confdefs.h. */
15981 $ac_includes_default
15982 int
15983 main ()
15984 {
15985 if ((int *) 0)
15986 return 0;
15987 if (sizeof (int))
15988 return 0;
15989 ;
15990 return 0;
15991 }
15992 _ACEOF
15993 rm -f conftest.$ac_objext
15994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15995 (eval $ac_compile) 2>conftest.er1
15996 ac_status=$?
15997 grep -v '^ *+' conftest.er1 >conftest.err
15998 rm -f conftest.er1
15999 cat conftest.err >&5
16000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16001 (exit $ac_status); } &&
16002 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16004 (eval $ac_try) 2>&5
16005 ac_status=$?
16006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16007 (exit $ac_status); }; } &&
16008 { ac_try='test -s conftest.$ac_objext'
16009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16010 (eval $ac_try) 2>&5
16011 ac_status=$?
16012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16013 (exit $ac_status); }; }; then
16014 ac_cv_type_int=yes
16015 else
16016 echo "$as_me: failed program was:" >&5
16017 sed 's/^/| /' conftest.$ac_ext >&5
16018
16019 ac_cv_type_int=no
16020 fi
16021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16022 fi
16023 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16024 echo "${ECHO_T}$ac_cv_type_int" >&6
16025
16026 echo "$as_me:$LINENO: checking size of int" >&5
16027 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16028 if test "${ac_cv_sizeof_int+set}" = set; then
16029 echo $ECHO_N "(cached) $ECHO_C" >&6
16030 else
16031 if test "$ac_cv_type_int" = yes; then
16032 # The cast to unsigned long works around a bug in the HP C Compiler
16033 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16034 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16035 # This bug is HP SR number 8606223364.
16036 if test "$cross_compiling" = yes; then
16037 # Depending upon the size, compute the lo and hi bounds.
16038 cat >conftest.$ac_ext <<_ACEOF
16039 /* confdefs.h. */
16040 _ACEOF
16041 cat confdefs.h >>conftest.$ac_ext
16042 cat >>conftest.$ac_ext <<_ACEOF
16043 /* end confdefs.h. */
16044 $ac_includes_default
16045 int
16046 main ()
16047 {
16048 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16049 test_array [0] = 0
16050
16051 ;
16052 return 0;
16053 }
16054 _ACEOF
16055 rm -f conftest.$ac_objext
16056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16057 (eval $ac_compile) 2>conftest.er1
16058 ac_status=$?
16059 grep -v '^ *+' conftest.er1 >conftest.err
16060 rm -f conftest.er1
16061 cat conftest.err >&5
16062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16063 (exit $ac_status); } &&
16064 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16066 (eval $ac_try) 2>&5
16067 ac_status=$?
16068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16069 (exit $ac_status); }; } &&
16070 { ac_try='test -s conftest.$ac_objext'
16071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16072 (eval $ac_try) 2>&5
16073 ac_status=$?
16074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16075 (exit $ac_status); }; }; then
16076 ac_lo=0 ac_mid=0
16077 while :; do
16078 cat >conftest.$ac_ext <<_ACEOF
16079 /* confdefs.h. */
16080 _ACEOF
16081 cat confdefs.h >>conftest.$ac_ext
16082 cat >>conftest.$ac_ext <<_ACEOF
16083 /* end confdefs.h. */
16084 $ac_includes_default
16085 int
16086 main ()
16087 {
16088 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16089 test_array [0] = 0
16090
16091 ;
16092 return 0;
16093 }
16094 _ACEOF
16095 rm -f conftest.$ac_objext
16096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16097 (eval $ac_compile) 2>conftest.er1
16098 ac_status=$?
16099 grep -v '^ *+' conftest.er1 >conftest.err
16100 rm -f conftest.er1
16101 cat conftest.err >&5
16102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16103 (exit $ac_status); } &&
16104 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16106 (eval $ac_try) 2>&5
16107 ac_status=$?
16108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16109 (exit $ac_status); }; } &&
16110 { ac_try='test -s conftest.$ac_objext'
16111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16112 (eval $ac_try) 2>&5
16113 ac_status=$?
16114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16115 (exit $ac_status); }; }; then
16116 ac_hi=$ac_mid; break
16117 else
16118 echo "$as_me: failed program was:" >&5
16119 sed 's/^/| /' conftest.$ac_ext >&5
16120
16121 ac_lo=`expr $ac_mid + 1`
16122 if test $ac_lo -le $ac_mid; then
16123 ac_lo= ac_hi=
16124 break
16125 fi
16126 ac_mid=`expr 2 '*' $ac_mid + 1`
16127 fi
16128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16129 done
16130 else
16131 echo "$as_me: failed program was:" >&5
16132 sed 's/^/| /' conftest.$ac_ext >&5
16133
16134 cat >conftest.$ac_ext <<_ACEOF
16135 /* confdefs.h. */
16136 _ACEOF
16137 cat confdefs.h >>conftest.$ac_ext
16138 cat >>conftest.$ac_ext <<_ACEOF
16139 /* end confdefs.h. */
16140 $ac_includes_default
16141 int
16142 main ()
16143 {
16144 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16145 test_array [0] = 0
16146
16147 ;
16148 return 0;
16149 }
16150 _ACEOF
16151 rm -f conftest.$ac_objext
16152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16153 (eval $ac_compile) 2>conftest.er1
16154 ac_status=$?
16155 grep -v '^ *+' conftest.er1 >conftest.err
16156 rm -f conftest.er1
16157 cat conftest.err >&5
16158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16159 (exit $ac_status); } &&
16160 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16162 (eval $ac_try) 2>&5
16163 ac_status=$?
16164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16165 (exit $ac_status); }; } &&
16166 { ac_try='test -s conftest.$ac_objext'
16167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16168 (eval $ac_try) 2>&5
16169 ac_status=$?
16170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16171 (exit $ac_status); }; }; then
16172 ac_hi=-1 ac_mid=-1
16173 while :; do
16174 cat >conftest.$ac_ext <<_ACEOF
16175 /* confdefs.h. */
16176 _ACEOF
16177 cat confdefs.h >>conftest.$ac_ext
16178 cat >>conftest.$ac_ext <<_ACEOF
16179 /* end confdefs.h. */
16180 $ac_includes_default
16181 int
16182 main ()
16183 {
16184 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16185 test_array [0] = 0
16186
16187 ;
16188 return 0;
16189 }
16190 _ACEOF
16191 rm -f conftest.$ac_objext
16192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16193 (eval $ac_compile) 2>conftest.er1
16194 ac_status=$?
16195 grep -v '^ *+' conftest.er1 >conftest.err
16196 rm -f conftest.er1
16197 cat conftest.err >&5
16198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16199 (exit $ac_status); } &&
16200 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16202 (eval $ac_try) 2>&5
16203 ac_status=$?
16204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16205 (exit $ac_status); }; } &&
16206 { ac_try='test -s conftest.$ac_objext'
16207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16208 (eval $ac_try) 2>&5
16209 ac_status=$?
16210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16211 (exit $ac_status); }; }; then
16212 ac_lo=$ac_mid; break
16213 else
16214 echo "$as_me: failed program was:" >&5
16215 sed 's/^/| /' conftest.$ac_ext >&5
16216
16217 ac_hi=`expr '(' $ac_mid ')' - 1`
16218 if test $ac_mid -le $ac_hi; then
16219 ac_lo= ac_hi=
16220 break
16221 fi
16222 ac_mid=`expr 2 '*' $ac_mid`
16223 fi
16224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16225 done
16226 else
16227 echo "$as_me: failed program was:" >&5
16228 sed 's/^/| /' conftest.$ac_ext >&5
16229
16230 ac_lo= ac_hi=
16231 fi
16232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16233 fi
16234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16235 # Binary search between lo and hi bounds.
16236 while test "x$ac_lo" != "x$ac_hi"; do
16237 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16238 cat >conftest.$ac_ext <<_ACEOF
16239 /* confdefs.h. */
16240 _ACEOF
16241 cat confdefs.h >>conftest.$ac_ext
16242 cat >>conftest.$ac_ext <<_ACEOF
16243 /* end confdefs.h. */
16244 $ac_includes_default
16245 int
16246 main ()
16247 {
16248 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16249 test_array [0] = 0
16250
16251 ;
16252 return 0;
16253 }
16254 _ACEOF
16255 rm -f conftest.$ac_objext
16256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16257 (eval $ac_compile) 2>conftest.er1
16258 ac_status=$?
16259 grep -v '^ *+' conftest.er1 >conftest.err
16260 rm -f conftest.er1
16261 cat conftest.err >&5
16262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16263 (exit $ac_status); } &&
16264 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16266 (eval $ac_try) 2>&5
16267 ac_status=$?
16268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16269 (exit $ac_status); }; } &&
16270 { ac_try='test -s conftest.$ac_objext'
16271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16272 (eval $ac_try) 2>&5
16273 ac_status=$?
16274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16275 (exit $ac_status); }; }; then
16276 ac_hi=$ac_mid
16277 else
16278 echo "$as_me: failed program was:" >&5
16279 sed 's/^/| /' conftest.$ac_ext >&5
16280
16281 ac_lo=`expr '(' $ac_mid ')' + 1`
16282 fi
16283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16284 done
16285 case $ac_lo in
16286 ?*) ac_cv_sizeof_int=$ac_lo;;
16287 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16288 See \`config.log' for more details." >&5
16289 echo "$as_me: error: cannot compute sizeof (int), 77
16290 See \`config.log' for more details." >&2;}
16291 { (exit 1); exit 1; }; } ;;
16292 esac
16293 else
16294 if test "$cross_compiling" = yes; then
16295 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16296 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16297 { (exit 1); exit 1; }; }
16298 else
16299 cat >conftest.$ac_ext <<_ACEOF
16300 /* confdefs.h. */
16301 _ACEOF
16302 cat confdefs.h >>conftest.$ac_ext
16303 cat >>conftest.$ac_ext <<_ACEOF
16304 /* end confdefs.h. */
16305 $ac_includes_default
16306 long longval () { return (long) (sizeof (int)); }
16307 unsigned long ulongval () { return (long) (sizeof (int)); }
16308 #include <stdio.h>
16309 #include <stdlib.h>
16310 int
16311 main ()
16312 {
16313
16314 FILE *f = fopen ("conftest.val", "w");
16315 if (! f)
16316 exit (1);
16317 if (((long) (sizeof (int))) < 0)
16318 {
16319 long i = longval ();
16320 if (i != ((long) (sizeof (int))))
16321 exit (1);
16322 fprintf (f, "%ld\n", i);
16323 }
16324 else
16325 {
16326 unsigned long i = ulongval ();
16327 if (i != ((long) (sizeof (int))))
16328 exit (1);
16329 fprintf (f, "%lu\n", i);
16330 }
16331 exit (ferror (f) || fclose (f) != 0);
16332
16333 ;
16334 return 0;
16335 }
16336 _ACEOF
16337 rm -f conftest$ac_exeext
16338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16339 (eval $ac_link) 2>&5
16340 ac_status=$?
16341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16342 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16344 (eval $ac_try) 2>&5
16345 ac_status=$?
16346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16347 (exit $ac_status); }; }; then
16348 ac_cv_sizeof_int=`cat conftest.val`
16349 else
16350 echo "$as_me: program exited with status $ac_status" >&5
16351 echo "$as_me: failed program was:" >&5
16352 sed 's/^/| /' conftest.$ac_ext >&5
16353
16354 ( exit $ac_status )
16355 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16356 See \`config.log' for more details." >&5
16357 echo "$as_me: error: cannot compute sizeof (int), 77
16358 See \`config.log' for more details." >&2;}
16359 { (exit 1); exit 1; }; }
16360 fi
16361 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16362 fi
16363 fi
16364 rm -f conftest.val
16365 else
16366 ac_cv_sizeof_int=0
16367 fi
16368 fi
16369 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16370 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16371 cat >>confdefs.h <<_ACEOF
16372 #define SIZEOF_INT $ac_cv_sizeof_int
16373 _ACEOF
16374
16375
16376 echo "$as_me:$LINENO: checking for long" >&5
16377 echo $ECHO_N "checking for long... $ECHO_C" >&6
16378 if test "${ac_cv_type_long+set}" = set; then
16379 echo $ECHO_N "(cached) $ECHO_C" >&6
16380 else
16381 cat >conftest.$ac_ext <<_ACEOF
16382 /* confdefs.h. */
16383 _ACEOF
16384 cat confdefs.h >>conftest.$ac_ext
16385 cat >>conftest.$ac_ext <<_ACEOF
16386 /* end confdefs.h. */
16387 $ac_includes_default
16388 int
16389 main ()
16390 {
16391 if ((long *) 0)
16392 return 0;
16393 if (sizeof (long))
16394 return 0;
16395 ;
16396 return 0;
16397 }
16398 _ACEOF
16399 rm -f conftest.$ac_objext
16400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16401 (eval $ac_compile) 2>conftest.er1
16402 ac_status=$?
16403 grep -v '^ *+' conftest.er1 >conftest.err
16404 rm -f conftest.er1
16405 cat conftest.err >&5
16406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16407 (exit $ac_status); } &&
16408 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16410 (eval $ac_try) 2>&5
16411 ac_status=$?
16412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16413 (exit $ac_status); }; } &&
16414 { ac_try='test -s conftest.$ac_objext'
16415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16416 (eval $ac_try) 2>&5
16417 ac_status=$?
16418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16419 (exit $ac_status); }; }; then
16420 ac_cv_type_long=yes
16421 else
16422 echo "$as_me: failed program was:" >&5
16423 sed 's/^/| /' conftest.$ac_ext >&5
16424
16425 ac_cv_type_long=no
16426 fi
16427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16428 fi
16429 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16430 echo "${ECHO_T}$ac_cv_type_long" >&6
16431
16432 echo "$as_me:$LINENO: checking size of long" >&5
16433 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16434 if test "${ac_cv_sizeof_long+set}" = set; then
16435 echo $ECHO_N "(cached) $ECHO_C" >&6
16436 else
16437 if test "$ac_cv_type_long" = yes; then
16438 # The cast to unsigned long works around a bug in the HP C Compiler
16439 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16440 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16441 # This bug is HP SR number 8606223364.
16442 if test "$cross_compiling" = yes; then
16443 # Depending upon the size, compute the lo and hi bounds.
16444 cat >conftest.$ac_ext <<_ACEOF
16445 /* confdefs.h. */
16446 _ACEOF
16447 cat confdefs.h >>conftest.$ac_ext
16448 cat >>conftest.$ac_ext <<_ACEOF
16449 /* end confdefs.h. */
16450 $ac_includes_default
16451 int
16452 main ()
16453 {
16454 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16455 test_array [0] = 0
16456
16457 ;
16458 return 0;
16459 }
16460 _ACEOF
16461 rm -f conftest.$ac_objext
16462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16463 (eval $ac_compile) 2>conftest.er1
16464 ac_status=$?
16465 grep -v '^ *+' conftest.er1 >conftest.err
16466 rm -f conftest.er1
16467 cat conftest.err >&5
16468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16469 (exit $ac_status); } &&
16470 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16472 (eval $ac_try) 2>&5
16473 ac_status=$?
16474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16475 (exit $ac_status); }; } &&
16476 { ac_try='test -s conftest.$ac_objext'
16477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16478 (eval $ac_try) 2>&5
16479 ac_status=$?
16480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16481 (exit $ac_status); }; }; then
16482 ac_lo=0 ac_mid=0
16483 while :; do
16484 cat >conftest.$ac_ext <<_ACEOF
16485 /* confdefs.h. */
16486 _ACEOF
16487 cat confdefs.h >>conftest.$ac_ext
16488 cat >>conftest.$ac_ext <<_ACEOF
16489 /* end confdefs.h. */
16490 $ac_includes_default
16491 int
16492 main ()
16493 {
16494 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16495 test_array [0] = 0
16496
16497 ;
16498 return 0;
16499 }
16500 _ACEOF
16501 rm -f conftest.$ac_objext
16502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16503 (eval $ac_compile) 2>conftest.er1
16504 ac_status=$?
16505 grep -v '^ *+' conftest.er1 >conftest.err
16506 rm -f conftest.er1
16507 cat conftest.err >&5
16508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16509 (exit $ac_status); } &&
16510 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16512 (eval $ac_try) 2>&5
16513 ac_status=$?
16514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16515 (exit $ac_status); }; } &&
16516 { ac_try='test -s conftest.$ac_objext'
16517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16518 (eval $ac_try) 2>&5
16519 ac_status=$?
16520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16521 (exit $ac_status); }; }; then
16522 ac_hi=$ac_mid; break
16523 else
16524 echo "$as_me: failed program was:" >&5
16525 sed 's/^/| /' conftest.$ac_ext >&5
16526
16527 ac_lo=`expr $ac_mid + 1`
16528 if test $ac_lo -le $ac_mid; then
16529 ac_lo= ac_hi=
16530 break
16531 fi
16532 ac_mid=`expr 2 '*' $ac_mid + 1`
16533 fi
16534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16535 done
16536 else
16537 echo "$as_me: failed program was:" >&5
16538 sed 's/^/| /' conftest.$ac_ext >&5
16539
16540 cat >conftest.$ac_ext <<_ACEOF
16541 /* confdefs.h. */
16542 _ACEOF
16543 cat confdefs.h >>conftest.$ac_ext
16544 cat >>conftest.$ac_ext <<_ACEOF
16545 /* end confdefs.h. */
16546 $ac_includes_default
16547 int
16548 main ()
16549 {
16550 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16551 test_array [0] = 0
16552
16553 ;
16554 return 0;
16555 }
16556 _ACEOF
16557 rm -f conftest.$ac_objext
16558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16559 (eval $ac_compile) 2>conftest.er1
16560 ac_status=$?
16561 grep -v '^ *+' conftest.er1 >conftest.err
16562 rm -f conftest.er1
16563 cat conftest.err >&5
16564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16565 (exit $ac_status); } &&
16566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16568 (eval $ac_try) 2>&5
16569 ac_status=$?
16570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16571 (exit $ac_status); }; } &&
16572 { ac_try='test -s conftest.$ac_objext'
16573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16574 (eval $ac_try) 2>&5
16575 ac_status=$?
16576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16577 (exit $ac_status); }; }; then
16578 ac_hi=-1 ac_mid=-1
16579 while :; do
16580 cat >conftest.$ac_ext <<_ACEOF
16581 /* confdefs.h. */
16582 _ACEOF
16583 cat confdefs.h >>conftest.$ac_ext
16584 cat >>conftest.$ac_ext <<_ACEOF
16585 /* end confdefs.h. */
16586 $ac_includes_default
16587 int
16588 main ()
16589 {
16590 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16591 test_array [0] = 0
16592
16593 ;
16594 return 0;
16595 }
16596 _ACEOF
16597 rm -f conftest.$ac_objext
16598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16599 (eval $ac_compile) 2>conftest.er1
16600 ac_status=$?
16601 grep -v '^ *+' conftest.er1 >conftest.err
16602 rm -f conftest.er1
16603 cat conftest.err >&5
16604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16605 (exit $ac_status); } &&
16606 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16608 (eval $ac_try) 2>&5
16609 ac_status=$?
16610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16611 (exit $ac_status); }; } &&
16612 { ac_try='test -s conftest.$ac_objext'
16613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16614 (eval $ac_try) 2>&5
16615 ac_status=$?
16616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16617 (exit $ac_status); }; }; then
16618 ac_lo=$ac_mid; break
16619 else
16620 echo "$as_me: failed program was:" >&5
16621 sed 's/^/| /' conftest.$ac_ext >&5
16622
16623 ac_hi=`expr '(' $ac_mid ')' - 1`
16624 if test $ac_mid -le $ac_hi; then
16625 ac_lo= ac_hi=
16626 break
16627 fi
16628 ac_mid=`expr 2 '*' $ac_mid`
16629 fi
16630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16631 done
16632 else
16633 echo "$as_me: failed program was:" >&5
16634 sed 's/^/| /' conftest.$ac_ext >&5
16635
16636 ac_lo= ac_hi=
16637 fi
16638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16639 fi
16640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16641 # Binary search between lo and hi bounds.
16642 while test "x$ac_lo" != "x$ac_hi"; do
16643 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16644 cat >conftest.$ac_ext <<_ACEOF
16645 /* confdefs.h. */
16646 _ACEOF
16647 cat confdefs.h >>conftest.$ac_ext
16648 cat >>conftest.$ac_ext <<_ACEOF
16649 /* end confdefs.h. */
16650 $ac_includes_default
16651 int
16652 main ()
16653 {
16654 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16655 test_array [0] = 0
16656
16657 ;
16658 return 0;
16659 }
16660 _ACEOF
16661 rm -f conftest.$ac_objext
16662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16663 (eval $ac_compile) 2>conftest.er1
16664 ac_status=$?
16665 grep -v '^ *+' conftest.er1 >conftest.err
16666 rm -f conftest.er1
16667 cat conftest.err >&5
16668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16669 (exit $ac_status); } &&
16670 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16672 (eval $ac_try) 2>&5
16673 ac_status=$?
16674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16675 (exit $ac_status); }; } &&
16676 { ac_try='test -s conftest.$ac_objext'
16677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16678 (eval $ac_try) 2>&5
16679 ac_status=$?
16680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16681 (exit $ac_status); }; }; then
16682 ac_hi=$ac_mid
16683 else
16684 echo "$as_me: failed program was:" >&5
16685 sed 's/^/| /' conftest.$ac_ext >&5
16686
16687 ac_lo=`expr '(' $ac_mid ')' + 1`
16688 fi
16689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16690 done
16691 case $ac_lo in
16692 ?*) ac_cv_sizeof_long=$ac_lo;;
16693 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16694 See \`config.log' for more details." >&5
16695 echo "$as_me: error: cannot compute sizeof (long), 77
16696 See \`config.log' for more details." >&2;}
16697 { (exit 1); exit 1; }; } ;;
16698 esac
16699 else
16700 if test "$cross_compiling" = yes; then
16701 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16702 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16703 { (exit 1); exit 1; }; }
16704 else
16705 cat >conftest.$ac_ext <<_ACEOF
16706 /* confdefs.h. */
16707 _ACEOF
16708 cat confdefs.h >>conftest.$ac_ext
16709 cat >>conftest.$ac_ext <<_ACEOF
16710 /* end confdefs.h. */
16711 $ac_includes_default
16712 long longval () { return (long) (sizeof (long)); }
16713 unsigned long ulongval () { return (long) (sizeof (long)); }
16714 #include <stdio.h>
16715 #include <stdlib.h>
16716 int
16717 main ()
16718 {
16719
16720 FILE *f = fopen ("conftest.val", "w");
16721 if (! f)
16722 exit (1);
16723 if (((long) (sizeof (long))) < 0)
16724 {
16725 long i = longval ();
16726 if (i != ((long) (sizeof (long))))
16727 exit (1);
16728 fprintf (f, "%ld\n", i);
16729 }
16730 else
16731 {
16732 unsigned long i = ulongval ();
16733 if (i != ((long) (sizeof (long))))
16734 exit (1);
16735 fprintf (f, "%lu\n", i);
16736 }
16737 exit (ferror (f) || fclose (f) != 0);
16738
16739 ;
16740 return 0;
16741 }
16742 _ACEOF
16743 rm -f conftest$ac_exeext
16744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16745 (eval $ac_link) 2>&5
16746 ac_status=$?
16747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16748 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16750 (eval $ac_try) 2>&5
16751 ac_status=$?
16752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16753 (exit $ac_status); }; }; then
16754 ac_cv_sizeof_long=`cat conftest.val`
16755 else
16756 echo "$as_me: program exited with status $ac_status" >&5
16757 echo "$as_me: failed program was:" >&5
16758 sed 's/^/| /' conftest.$ac_ext >&5
16759
16760 ( exit $ac_status )
16761 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16762 See \`config.log' for more details." >&5
16763 echo "$as_me: error: cannot compute sizeof (long), 77
16764 See \`config.log' for more details." >&2;}
16765 { (exit 1); exit 1; }; }
16766 fi
16767 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16768 fi
16769 fi
16770 rm -f conftest.val
16771 else
16772 ac_cv_sizeof_long=0
16773 fi
16774 fi
16775 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16776 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16777 cat >>confdefs.h <<_ACEOF
16778 #define SIZEOF_LONG $ac_cv_sizeof_long
16779 _ACEOF
16780
16781
16782 echo "$as_me:$LINENO: checking for void*" >&5
16783 echo $ECHO_N "checking for void*... $ECHO_C" >&6
16784 if test "${ac_cv_type_voidp+set}" = set; then
16785 echo $ECHO_N "(cached) $ECHO_C" >&6
16786 else
16787 cat >conftest.$ac_ext <<_ACEOF
16788 /* confdefs.h. */
16789 _ACEOF
16790 cat confdefs.h >>conftest.$ac_ext
16791 cat >>conftest.$ac_ext <<_ACEOF
16792 /* end confdefs.h. */
16793 $ac_includes_default
16794 int
16795 main ()
16796 {
16797 if ((void* *) 0)
16798 return 0;
16799 if (sizeof (void*))
16800 return 0;
16801 ;
16802 return 0;
16803 }
16804 _ACEOF
16805 rm -f conftest.$ac_objext
16806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16807 (eval $ac_compile) 2>conftest.er1
16808 ac_status=$?
16809 grep -v '^ *+' conftest.er1 >conftest.err
16810 rm -f conftest.er1
16811 cat conftest.err >&5
16812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16813 (exit $ac_status); } &&
16814 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16816 (eval $ac_try) 2>&5
16817 ac_status=$?
16818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16819 (exit $ac_status); }; } &&
16820 { ac_try='test -s conftest.$ac_objext'
16821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16822 (eval $ac_try) 2>&5
16823 ac_status=$?
16824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16825 (exit $ac_status); }; }; then
16826 ac_cv_type_voidp=yes
16827 else
16828 echo "$as_me: failed program was:" >&5
16829 sed 's/^/| /' conftest.$ac_ext >&5
16830
16831 ac_cv_type_voidp=no
16832 fi
16833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16834 fi
16835 echo "$as_me:$LINENO: result: $ac_cv_type_voidp" >&5
16836 echo "${ECHO_T}$ac_cv_type_voidp" >&6
16837
16838 echo "$as_me:$LINENO: checking size of void*" >&5
16839 echo $ECHO_N "checking size of void*... $ECHO_C" >&6
16840 if test "${ac_cv_sizeof_voidp+set}" = set; then
16841 echo $ECHO_N "(cached) $ECHO_C" >&6
16842 else
16843 if test "$ac_cv_type_voidp" = yes; then
16844 # The cast to unsigned long works around a bug in the HP C Compiler
16845 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16846 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16847 # This bug is HP SR number 8606223364.
16848 if test "$cross_compiling" = yes; then
16849 # Depending upon the size, compute the lo and hi bounds.
16850 cat >conftest.$ac_ext <<_ACEOF
16851 /* confdefs.h. */
16852 _ACEOF
16853 cat confdefs.h >>conftest.$ac_ext
16854 cat >>conftest.$ac_ext <<_ACEOF
16855 /* end confdefs.h. */
16856 $ac_includes_default
16857 int
16858 main ()
16859 {
16860 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= 0)];
16861 test_array [0] = 0
16862
16863 ;
16864 return 0;
16865 }
16866 _ACEOF
16867 rm -f conftest.$ac_objext
16868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16869 (eval $ac_compile) 2>conftest.er1
16870 ac_status=$?
16871 grep -v '^ *+' conftest.er1 >conftest.err
16872 rm -f conftest.er1
16873 cat conftest.err >&5
16874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16875 (exit $ac_status); } &&
16876 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16878 (eval $ac_try) 2>&5
16879 ac_status=$?
16880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16881 (exit $ac_status); }; } &&
16882 { ac_try='test -s conftest.$ac_objext'
16883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16884 (eval $ac_try) 2>&5
16885 ac_status=$?
16886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16887 (exit $ac_status); }; }; then
16888 ac_lo=0 ac_mid=0
16889 while :; do
16890 cat >conftest.$ac_ext <<_ACEOF
16891 /* confdefs.h. */
16892 _ACEOF
16893 cat confdefs.h >>conftest.$ac_ext
16894 cat >>conftest.$ac_ext <<_ACEOF
16895 /* end confdefs.h. */
16896 $ac_includes_default
16897 int
16898 main ()
16899 {
16900 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
16901 test_array [0] = 0
16902
16903 ;
16904 return 0;
16905 }
16906 _ACEOF
16907 rm -f conftest.$ac_objext
16908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16909 (eval $ac_compile) 2>conftest.er1
16910 ac_status=$?
16911 grep -v '^ *+' conftest.er1 >conftest.err
16912 rm -f conftest.er1
16913 cat conftest.err >&5
16914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16915 (exit $ac_status); } &&
16916 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16918 (eval $ac_try) 2>&5
16919 ac_status=$?
16920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16921 (exit $ac_status); }; } &&
16922 { ac_try='test -s conftest.$ac_objext'
16923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16924 (eval $ac_try) 2>&5
16925 ac_status=$?
16926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16927 (exit $ac_status); }; }; then
16928 ac_hi=$ac_mid; break
16929 else
16930 echo "$as_me: failed program was:" >&5
16931 sed 's/^/| /' conftest.$ac_ext >&5
16932
16933 ac_lo=`expr $ac_mid + 1`
16934 if test $ac_lo -le $ac_mid; then
16935 ac_lo= ac_hi=
16936 break
16937 fi
16938 ac_mid=`expr 2 '*' $ac_mid + 1`
16939 fi
16940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16941 done
16942 else
16943 echo "$as_me: failed program was:" >&5
16944 sed 's/^/| /' conftest.$ac_ext >&5
16945
16946 cat >conftest.$ac_ext <<_ACEOF
16947 /* confdefs.h. */
16948 _ACEOF
16949 cat confdefs.h >>conftest.$ac_ext
16950 cat >>conftest.$ac_ext <<_ACEOF
16951 /* end confdefs.h. */
16952 $ac_includes_default
16953 int
16954 main ()
16955 {
16956 static int test_array [1 - 2 * !(((long) (sizeof (void*))) < 0)];
16957 test_array [0] = 0
16958
16959 ;
16960 return 0;
16961 }
16962 _ACEOF
16963 rm -f conftest.$ac_objext
16964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16965 (eval $ac_compile) 2>conftest.er1
16966 ac_status=$?
16967 grep -v '^ *+' conftest.er1 >conftest.err
16968 rm -f conftest.er1
16969 cat conftest.err >&5
16970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16971 (exit $ac_status); } &&
16972 { ac_try='test -z "$ac_c_werror_flag" || 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_hi=-1 ac_mid=-1
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" || test ! -s conftest.err'
17013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17014 (eval $ac_try) 2>&5
17015 ac_status=$?
17016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17017 (exit $ac_status); }; } &&
17018 { ac_try='test -s conftest.$ac_objext'
17019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17020 (eval $ac_try) 2>&5
17021 ac_status=$?
17022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17023 (exit $ac_status); }; }; then
17024 ac_lo=$ac_mid; break
17025 else
17026 echo "$as_me: failed program was:" >&5
17027 sed 's/^/| /' conftest.$ac_ext >&5
17028
17029 ac_hi=`expr '(' $ac_mid ')' - 1`
17030 if test $ac_mid -le $ac_hi; then
17031 ac_lo= ac_hi=
17032 break
17033 fi
17034 ac_mid=`expr 2 '*' $ac_mid`
17035 fi
17036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17037 done
17038 else
17039 echo "$as_me: failed program was:" >&5
17040 sed 's/^/| /' conftest.$ac_ext >&5
17041
17042 ac_lo= ac_hi=
17043 fi
17044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17045 fi
17046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17047 # Binary search between lo and hi bounds.
17048 while test "x$ac_lo" != "x$ac_hi"; do
17049 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17050 cat >conftest.$ac_ext <<_ACEOF
17051 /* confdefs.h. */
17052 _ACEOF
17053 cat confdefs.h >>conftest.$ac_ext
17054 cat >>conftest.$ac_ext <<_ACEOF
17055 /* end confdefs.h. */
17056 $ac_includes_default
17057 int
17058 main ()
17059 {
17060 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
17061 test_array [0] = 0
17062
17063 ;
17064 return 0;
17065 }
17066 _ACEOF
17067 rm -f conftest.$ac_objext
17068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17069 (eval $ac_compile) 2>conftest.er1
17070 ac_status=$?
17071 grep -v '^ *+' conftest.er1 >conftest.err
17072 rm -f conftest.er1
17073 cat conftest.err >&5
17074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17075 (exit $ac_status); } &&
17076 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
17082 { ac_try='test -s conftest.$ac_objext'
17083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17084 (eval $ac_try) 2>&5
17085 ac_status=$?
17086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17087 (exit $ac_status); }; }; then
17088 ac_hi=$ac_mid
17089 else
17090 echo "$as_me: failed program was:" >&5
17091 sed 's/^/| /' conftest.$ac_ext >&5
17092
17093 ac_lo=`expr '(' $ac_mid ')' + 1`
17094 fi
17095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17096 done
17097 case $ac_lo in
17098 ?*) ac_cv_sizeof_voidp=$ac_lo;;
17099 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
17100 See \`config.log' for more details." >&5
17101 echo "$as_me: error: cannot compute sizeof (void*), 77
17102 See \`config.log' for more details." >&2;}
17103 { (exit 1); exit 1; }; } ;;
17104 esac
17105 else
17106 if test "$cross_compiling" = yes; then
17107 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17108 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17109 { (exit 1); exit 1; }; }
17110 else
17111 cat >conftest.$ac_ext <<_ACEOF
17112 /* confdefs.h. */
17113 _ACEOF
17114 cat confdefs.h >>conftest.$ac_ext
17115 cat >>conftest.$ac_ext <<_ACEOF
17116 /* end confdefs.h. */
17117 $ac_includes_default
17118 long longval () { return (long) (sizeof (void*)); }
17119 unsigned long ulongval () { return (long) (sizeof (void*)); }
17120 #include <stdio.h>
17121 #include <stdlib.h>
17122 int
17123 main ()
17124 {
17125
17126 FILE *f = fopen ("conftest.val", "w");
17127 if (! f)
17128 exit (1);
17129 if (((long) (sizeof (void*))) < 0)
17130 {
17131 long i = longval ();
17132 if (i != ((long) (sizeof (void*))))
17133 exit (1);
17134 fprintf (f, "%ld\n", i);
17135 }
17136 else
17137 {
17138 unsigned long i = ulongval ();
17139 if (i != ((long) (sizeof (void*))))
17140 exit (1);
17141 fprintf (f, "%lu\n", i);
17142 }
17143 exit (ferror (f) || fclose (f) != 0);
17144
17145 ;
17146 return 0;
17147 }
17148 _ACEOF
17149 rm -f conftest$ac_exeext
17150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17151 (eval $ac_link) 2>&5
17152 ac_status=$?
17153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17154 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17156 (eval $ac_try) 2>&5
17157 ac_status=$?
17158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17159 (exit $ac_status); }; }; then
17160 ac_cv_sizeof_voidp=`cat conftest.val`
17161 else
17162 echo "$as_me: program exited with status $ac_status" >&5
17163 echo "$as_me: failed program was:" >&5
17164 sed 's/^/| /' conftest.$ac_ext >&5
17165
17166 ( exit $ac_status )
17167 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
17168 See \`config.log' for more details." >&5
17169 echo "$as_me: error: cannot compute sizeof (void*), 77
17170 See \`config.log' for more details." >&2;}
17171 { (exit 1); exit 1; }; }
17172 fi
17173 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17174 fi
17175 fi
17176 rm -f conftest.val
17177 else
17178 ac_cv_sizeof_voidp=0
17179 fi
17180 fi
17181 echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5
17182 echo "${ECHO_T}$ac_cv_sizeof_voidp" >&6
17183 cat >>confdefs.h <<_ACEOF
17184 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
17185 _ACEOF
17186
17187
17188 ac_cv_char_data_model=""
17189 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char"
17190 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short"
17191 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int"
17192 ac_cv_long_data_model=""
17193 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int"
17194 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long"
17195 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
17196 echo "$as_me:$LINENO: checking data model" >&5
17197 echo $ECHO_N "checking data model... $ECHO_C" >&6
17198 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
17199 122/242) ac_cv_data_model="IP16" ; n="standard 16bit machine" ;;
17200 122/244) ac_cv_data_model="LP32" ; n="standard 32bit machine" ;;
17201 122/*) ac_cv_data_model="i16" ; n="unusual int16 model" ;;
17202 124/444) ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;;
17203 124/488) ac_cv_data_model="LP64" ; n="standard 64bit unixish" ;;
17204 124/448) ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;;
17205 124/*) ac_cv_data_model="i32" ; n="unusual int32 model" ;;
17206 128/888) ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;;
17207 128/*) ac_cv_data_model="i64" ; n="unusual int64 model" ;;
17208 222/*2) ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;;
17209 333/*3) ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;;
17210 444/*4) ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;;
17211 666/*6) ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;;
17212 888/*8) ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;;
17213 222/*|333/*|444/*|666/*|888/*) :
17214 ac_cv_data_model="iDSP" ; n="unusual dsptype" ;;
17215 *) ac_cv_data_model="none" ; n="very unusual model" ;;
17216 esac
17217 echo "$as_me:$LINENO: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
17218 echo "${ECHO_T}$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6
17219
17220 fi
17221
17222 if test "_$ac_cv_header_stdint_x" != "_" ; then
17223 ac_cv_header_stdint="$ac_cv_header_stdint_x"
17224 elif test "_$ac_cv_header_stdint_o" != "_" ; then
17225 ac_cv_header_stdint="$ac_cv_header_stdint_o"
17226 elif test "_$ac_cv_header_stdint_u" != "_" ; then
17227 ac_cv_header_stdint="$ac_cv_header_stdint_u"
17228 else
17229 ac_cv_header_stdint="stddef.h"
17230 fi
17231
17232 echo "$as_me:$LINENO: checking for extra inttypes in chosen header" >&5
17233 echo $ECHO_N "checking for extra inttypes in chosen header... $ECHO_C" >&6
17234 echo "$as_me:$LINENO: result: ($ac_cv_header_stdint)" >&5
17235 echo "${ECHO_T}($ac_cv_header_stdint)" >&6
17236 unset ac_cv_type_int_least32_t
17237 unset ac_cv_type_int_fast32_t
17238 echo "$as_me:$LINENO: checking for int_least32_t" >&5
17239 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
17240 if test "${ac_cv_type_int_least32_t+set}" = set; then
17241 echo $ECHO_N "(cached) $ECHO_C" >&6
17242 else
17243 cat >conftest.$ac_ext <<_ACEOF
17244 /* confdefs.h. */
17245 _ACEOF
17246 cat confdefs.h >>conftest.$ac_ext
17247 cat >>conftest.$ac_ext <<_ACEOF
17248 /* end confdefs.h. */
17249 #include <$ac_cv_header_stdint>
17250
17251 int
17252 main ()
17253 {
17254 if ((int_least32_t *) 0)
17255 return 0;
17256 if (sizeof (int_least32_t))
17257 return 0;
17258 ;
17259 return 0;
17260 }
17261 _ACEOF
17262 rm -f conftest.$ac_objext
17263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17264 (eval $ac_compile) 2>conftest.er1
17265 ac_status=$?
17266 grep -v '^ *+' conftest.er1 >conftest.err
17267 rm -f conftest.er1
17268 cat conftest.err >&5
17269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17270 (exit $ac_status); } &&
17271 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17273 (eval $ac_try) 2>&5
17274 ac_status=$?
17275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17276 (exit $ac_status); }; } &&
17277 { ac_try='test -s conftest.$ac_objext'
17278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17279 (eval $ac_try) 2>&5
17280 ac_status=$?
17281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17282 (exit $ac_status); }; }; then
17283 ac_cv_type_int_least32_t=yes
17284 else
17285 echo "$as_me: failed program was:" >&5
17286 sed 's/^/| /' conftest.$ac_ext >&5
17287
17288 ac_cv_type_int_least32_t=no
17289 fi
17290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17291 fi
17292 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
17293 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
17294
17295 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
17296 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
17297 if test "${ac_cv_type_int_fast32_t+set}" = set; then
17298 echo $ECHO_N "(cached) $ECHO_C" >&6
17299 else
17300 cat >conftest.$ac_ext <<_ACEOF
17301 /* confdefs.h. */
17302 _ACEOF
17303 cat confdefs.h >>conftest.$ac_ext
17304 cat >>conftest.$ac_ext <<_ACEOF
17305 /* end confdefs.h. */
17306 #include<$ac_cv_header_stdint>
17307
17308 int
17309 main ()
17310 {
17311 if ((int_fast32_t *) 0)
17312 return 0;
17313 if (sizeof (int_fast32_t))
17314 return 0;
17315 ;
17316 return 0;
17317 }
17318 _ACEOF
17319 rm -f conftest.$ac_objext
17320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17321 (eval $ac_compile) 2>conftest.er1
17322 ac_status=$?
17323 grep -v '^ *+' conftest.er1 >conftest.err
17324 rm -f conftest.er1
17325 cat conftest.err >&5
17326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17327 (exit $ac_status); } &&
17328 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17330 (eval $ac_try) 2>&5
17331 ac_status=$?
17332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17333 (exit $ac_status); }; } &&
17334 { ac_try='test -s conftest.$ac_objext'
17335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17336 (eval $ac_try) 2>&5
17337 ac_status=$?
17338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17339 (exit $ac_status); }; }; then
17340 ac_cv_type_int_fast32_t=yes
17341 else
17342 echo "$as_me: failed program was:" >&5
17343 sed 's/^/| /' conftest.$ac_ext >&5
17344
17345 ac_cv_type_int_fast32_t=no
17346 fi
17347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17348 fi
17349 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
17350 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
17351
17352 echo "$as_me:$LINENO: checking for intmax_t" >&5
17353 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6
17354 if test "${ac_cv_type_intmax_t+set}" = set; then
17355 echo $ECHO_N "(cached) $ECHO_C" >&6
17356 else
17357 cat >conftest.$ac_ext <<_ACEOF
17358 /* confdefs.h. */
17359 _ACEOF
17360 cat confdefs.h >>conftest.$ac_ext
17361 cat >>conftest.$ac_ext <<_ACEOF
17362 /* end confdefs.h. */
17363 #include <$ac_cv_header_stdint>
17364
17365 int
17366 main ()
17367 {
17368 if ((intmax_t *) 0)
17369 return 0;
17370 if (sizeof (intmax_t))
17371 return 0;
17372 ;
17373 return 0;
17374 }
17375 _ACEOF
17376 rm -f conftest.$ac_objext
17377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17378 (eval $ac_compile) 2>conftest.er1
17379 ac_status=$?
17380 grep -v '^ *+' conftest.er1 >conftest.err
17381 rm -f conftest.er1
17382 cat conftest.err >&5
17383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17384 (exit $ac_status); } &&
17385 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17387 (eval $ac_try) 2>&5
17388 ac_status=$?
17389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17390 (exit $ac_status); }; } &&
17391 { ac_try='test -s conftest.$ac_objext'
17392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17393 (eval $ac_try) 2>&5
17394 ac_status=$?
17395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17396 (exit $ac_status); }; }; then
17397 ac_cv_type_intmax_t=yes
17398 else
17399 echo "$as_me: failed program was:" >&5
17400 sed 's/^/| /' conftest.$ac_ext >&5
17401
17402 ac_cv_type_intmax_t=no
17403 fi
17404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17405 fi
17406 echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5
17407 echo "${ECHO_T}$ac_cv_type_intmax_t" >&6
17408
17409
17410 fi # shortcircut to system "stdint.h"
17411 # ------------------ PREPARE VARIABLES ------------------------------
17412 if test "$GCC" = "yes" ; then
17413 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
17414 else
17415 ac_cv_stdint_message="using $CC"
17416 fi
17417
17418 echo "$as_me:$LINENO: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
17419 echo "${ECHO_T}make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6
17420
17421 # ----------------- DONE inttypes.h checks START header -------------
17422 ac_config_commands="$ac_config_commands $ac_stdint_h"
17423
17424
17425
17426 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 examples/Makefile examples/Makefile.jawt"
17427
17428 ac_config_commands="$ac_config_commands gen-classlist"
17429
17430 ac_config_commands="$ac_config_commands copy-vmresources"
17431
17432 cat >confcache <<\_ACEOF
17433 # This file is a shell script that caches the results of configure
17434 # tests run on this system so they can be shared between configure
17435 # scripts and configure runs, see configure's option --config-cache.
17436 # It is not useful on other systems. If it contains results you don't
17437 # want to keep, you may remove or edit it.
17438 #
17439 # config.status only pays attention to the cache file if you give it
17440 # the --recheck option to rerun configure.
17441 #
17442 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17443 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17444 # following values.
17445
17446 _ACEOF
17447
17448 # The following way of writing the cache mishandles newlines in values,
17449 # but we know of no workaround that is simple, portable, and efficient.
17450 # So, don't put newlines in cache variables' values.
17451 # Ultrix sh set writes to stderr and can't be redirected directly,
17452 # and sets the high bit in the cache file unless we assign to the vars.
17453 {
17454 (set) 2>&1 |
17455 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17456 *ac_space=\ *)
17457 # `set' does not quote correctly, so add quotes (double-quote
17458 # substitution turns \\\\ into \\, and sed turns \\ into \).
17459 sed -n \
17460 "s/'/'\\\\''/g;
17461 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17462 ;;
17463 *)
17464 # `set' quotes correctly as required by POSIX, so do not add quotes.
17465 sed -n \
17466 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17467 ;;
17468 esac;
17469 } |
17470 sed '
17471 t clear
17472 : clear
17473 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17474 t end
17475 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17476 : end' >>confcache
17477 if diff $cache_file confcache >/dev/null 2>&1; then :; else
17478 if test -w $cache_file; then
17479 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17480 cat confcache >$cache_file
17481 else
17482 echo "not updating unwritable cache $cache_file"
17483 fi
17484 fi
17485 rm -f confcache
17486
17487 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17488 # Let make expand exec_prefix.
17489 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17490
17491 # VPATH may cause trouble with some makes, so we remove $(srcdir),
17492 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
17493 # trailing colons and then remove the whole line if VPATH becomes empty
17494 # (actually we leave an empty line to preserve line numbers).
17495 if test "x$srcdir" = x.; then
17496 ac_vpsub='/^[ ]*VPATH[ ]*=/{
17497 s/:*\$(srcdir):*/:/;
17498 s/:*\${srcdir}:*/:/;
17499 s/:*@srcdir@:*/:/;
17500 s/^\([^=]*=[ ]*\):*/\1/;
17501 s/:*$//;
17502 s/^[^=]*=[ ]*$//;
17503 }'
17504 fi
17505
17506 DEFS=-DHAVE_CONFIG_H
17507
17508 ac_libobjs=
17509 ac_ltlibobjs=
17510 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17511 # 1. Remove the extension, and $U if already installed.
17512 ac_i=`echo "$ac_i" |
17513 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
17514 # 2. Add them.
17515 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
17516 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
17517 done
17518 LIBOBJS=$ac_libobjs
17519
17520 LTLIBOBJS=$ac_ltlibobjs
17521
17522
17523 if test -z "${CREATE_COLLECTIONS_TRUE}" && test -z "${CREATE_COLLECTIONS_FALSE}"; then
17524 { { echo "$as_me:$LINENO: error: conditional \"CREATE_COLLECTIONS\" was never defined.
17525 Usually this means the macro was only invoked conditionally." >&5
17526 echo "$as_me: error: conditional \"CREATE_COLLECTIONS\" was never defined.
17527 Usually this means the macro was only invoked conditionally." >&2;}
17528 { (exit 1); exit 1; }; }
17529 fi
17530 if test -z "${CREATE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_JNI_LIBRARIES_FALSE}"; then
17531 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
17532 Usually this means the macro was only invoked conditionally." >&5
17533 echo "$as_me: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
17534 Usually this means the macro was only invoked conditionally." >&2;}
17535 { (exit 1); exit 1; }; }
17536 fi
17537 if test -z "${CREATE_CORE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_CORE_JNI_LIBRARIES_FALSE}"; then
17538 { { echo "$as_me:$LINENO: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
17539 Usually this means the macro was only invoked conditionally." >&5
17540 echo "$as_me: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
17541 Usually this means the macro was only invoked conditionally." >&2;}
17542 { (exit 1); exit 1; }; }
17543 fi
17544 if test -z "${CREATE_XMLJ_LIBRARY_TRUE}" && test -z "${CREATE_XMLJ_LIBRARY_FALSE}"; then
17545 { { echo "$as_me:$LINENO: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
17546 Usually this means the macro was only invoked conditionally." >&5
17547 echo "$as_me: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
17548 Usually this means the macro was only invoked conditionally." >&2;}
17549 { (exit 1); exit 1; }; }
17550 fi
17551 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17552 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
17553 Usually this means the macro was only invoked conditionally." >&5
17554 echo "$as_me: error: conditional \"AMDEP\" was never defined.
17555 Usually this means the macro was only invoked conditionally." >&2;}
17556 { (exit 1); exit 1; }; }
17557 fi
17558 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17559 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
17560 Usually this means the macro was only invoked conditionally." >&5
17561 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
17562 Usually this means the macro was only invoked conditionally." >&2;}
17563 { (exit 1); exit 1; }; }
17564 fi
17565 if test -z "${CREATE_ALSA_LIBRARIES_TRUE}" && test -z "${CREATE_ALSA_LIBRARIES_FALSE}"; then
17566 { { echo "$as_me:$LINENO: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
17567 Usually this means the macro was only invoked conditionally." >&5
17568 echo "$as_me: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
17569 Usually this means the macro was only invoked conditionally." >&2;}
17570 { (exit 1); exit 1; }; }
17571 fi
17572 if test -z "${CREATE_DSSI_LIBRARIES_TRUE}" && test -z "${CREATE_DSSI_LIBRARIES_FALSE}"; then
17573 { { echo "$as_me:$LINENO: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
17574 Usually this means the macro was only invoked conditionally." >&5
17575 echo "$as_me: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
17576 Usually this means the macro was only invoked conditionally." >&2;}
17577 { (exit 1); exit 1; }; }
17578 fi
17579 if test -z "${CREATE_GTK_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GTK_PEER_LIBRARIES_FALSE}"; then
17580 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
17581 Usually this means the macro was only invoked conditionally." >&5
17582 echo "$as_me: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
17583 Usually this means the macro was only invoked conditionally." >&2;}
17584 { (exit 1); exit 1; }; }
17585 fi
17586 if test -z "${GTK_CAIRO_TRUE}" && test -z "${GTK_CAIRO_FALSE}"; then
17587 { { echo "$as_me:$LINENO: error: conditional \"GTK_CAIRO\" was never defined.
17588 Usually this means the macro was only invoked conditionally." >&5
17589 echo "$as_me: error: conditional \"GTK_CAIRO\" was never defined.
17590 Usually this means the macro was only invoked conditionally." >&2;}
17591 { (exit 1); exit 1; }; }
17592 fi
17593 if test -z "${CREATE_QT_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_QT_PEER_LIBRARIES_FALSE}"; then
17594 { { echo "$as_me:$LINENO: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
17595 Usually this means the macro was only invoked conditionally." >&5
17596 echo "$as_me: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
17597 Usually this means the macro was only invoked conditionally." >&2;}
17598 { (exit 1); exit 1; }; }
17599 fi
17600 if test -z "${CREATE_JNI_HEADERS_TRUE}" && test -z "${CREATE_JNI_HEADERS_FALSE}"; then
17601 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
17602 Usually this means the macro was only invoked conditionally." >&5
17603 echo "$as_me: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
17604 Usually this means the macro was only invoked conditionally." >&2;}
17605 { (exit 1); exit 1; }; }
17606 fi
17607 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17608 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
17609 Usually this means the macro was only invoked conditionally." >&5
17610 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
17611 Usually this means the macro was only invoked conditionally." >&2;}
17612 { (exit 1); exit 1; }; }
17613 fi
17614 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17615 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
17616 Usually this means the macro was only invoked conditionally." >&5
17617 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
17618 Usually this means the macro was only invoked conditionally." >&2;}
17619 { (exit 1); exit 1; }; }
17620 fi
17621 if test -z "${USER_SPECIFIED_JAVAH_TRUE}" && test -z "${USER_SPECIFIED_JAVAH_FALSE}"; then
17622 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
17623 Usually this means the macro was only invoked conditionally." >&5
17624 echo "$as_me: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
17625 Usually this means the macro was only invoked conditionally." >&2;}
17626 { (exit 1); exit 1; }; }
17627 fi
17628 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
17629 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
17630 Usually this means the macro was only invoked conditionally." >&5
17631 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
17632 Usually this means the macro was only invoked conditionally." >&2;}
17633 { (exit 1); exit 1; }; }
17634 fi
17635 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
17636 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
17637 Usually this means the macro was only invoked conditionally." >&5
17638 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
17639 Usually this means the macro was only invoked conditionally." >&2;}
17640 { (exit 1); exit 1; }; }
17641 fi
17642 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
17643 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
17644 Usually this means the macro was only invoked conditionally." >&5
17645 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
17646 Usually this means the macro was only invoked conditionally." >&2;}
17647 { (exit 1); exit 1; }; }
17648 fi
17649 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
17650 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
17651 Usually this means the macro was only invoked conditionally." >&5
17652 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
17653 Usually this means the macro was only invoked conditionally." >&2;}
17654 { (exit 1); exit 1; }; }
17655 fi
17656 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
17657 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
17658 Usually this means the macro was only invoked conditionally." >&5
17659 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
17660 Usually this means the macro was only invoked conditionally." >&2;}
17661 { (exit 1); exit 1; }; }
17662 fi
17663 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
17664 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
17665 Usually this means the macro was only invoked conditionally." >&5
17666 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
17667 Usually this means the macro was only invoked conditionally." >&2;}
17668 { (exit 1); exit 1; }; }
17669 fi
17670 if test -z "${FOUND_KJC_TRUE}" && test -z "${FOUND_KJC_FALSE}"; then
17671 { { echo "$as_me:$LINENO: error: conditional \"FOUND_KJC\" was never defined.
17672 Usually this means the macro was only invoked conditionally." >&5
17673 echo "$as_me: error: conditional \"FOUND_KJC\" was never defined.
17674 Usually this means the macro was only invoked conditionally." >&2;}
17675 { (exit 1); exit 1; }; }
17676 fi
17677 if test -z "${FOUND_GCJX_TRUE}" && test -z "${FOUND_GCJX_FALSE}"; then
17678 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJX\" was never defined.
17679 Usually this means the macro was only invoked conditionally." >&5
17680 echo "$as_me: error: conditional \"FOUND_GCJX\" was never defined.
17681 Usually this means the macro was only invoked conditionally." >&2;}
17682 { (exit 1); exit 1; }; }
17683 fi
17684 if test -z "${USER_SPECIFIED_CLASSLIB_TRUE}" && test -z "${USER_SPECIFIED_CLASSLIB_FALSE}"; then
17685 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
17686 Usually this means the macro was only invoked conditionally." >&5
17687 echo "$as_me: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
17688 Usually this means the macro was only invoked conditionally." >&2;}
17689 { (exit 1); exit 1; }; }
17690 fi
17691 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17692 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
17693 Usually this means the macro was only invoked conditionally." >&5
17694 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
17695 Usually this means the macro was only invoked conditionally." >&2;}
17696 { (exit 1); exit 1; }; }
17697 fi
17698 if test -z "${INSTALL_GLIBJ_ZIP_TRUE}" && test -z "${INSTALL_GLIBJ_ZIP_FALSE}"; then
17699 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
17700 Usually this means the macro was only invoked conditionally." >&5
17701 echo "$as_me: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
17702 Usually this means the macro was only invoked conditionally." >&2;}
17703 { (exit 1); exit 1; }; }
17704 fi
17705 if test -z "${INSTALL_CLASS_FILES_TRUE}" && test -z "${INSTALL_CLASS_FILES_FALSE}"; then
17706 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
17707 Usually this means the macro was only invoked conditionally." >&5
17708 echo "$as_me: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
17709 Usually this means the macro was only invoked conditionally." >&2;}
17710 { (exit 1); exit 1; }; }
17711 fi
17712 if test -z "${BUILD_CLASS_FILES_TRUE}" && test -z "${BUILD_CLASS_FILES_FALSE}"; then
17713 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CLASS_FILES\" was never defined.
17714 Usually this means the macro was only invoked conditionally." >&5
17715 echo "$as_me: error: conditional \"BUILD_CLASS_FILES\" was never defined.
17716 Usually this means the macro was only invoked conditionally." >&2;}
17717 { (exit 1); exit 1; }; }
17718 fi
17719 if test -z "${CREATE_API_DOCS_TRUE}" && test -z "${CREATE_API_DOCS_FALSE}"; then
17720 { { echo "$as_me:$LINENO: error: conditional \"CREATE_API_DOCS\" was never defined.
17721 Usually this means the macro was only invoked conditionally." >&5
17722 echo "$as_me: error: conditional \"CREATE_API_DOCS\" was never defined.
17723 Usually this means the macro was only invoked conditionally." >&2;}
17724 { (exit 1); exit 1; }; }
17725 fi
17726 if test -z "${REGEN_PARSERS_TRUE}" && test -z "${REGEN_PARSERS_FALSE}"; then
17727 { { echo "$as_me:$LINENO: error: conditional \"REGEN_PARSERS\" was never defined.
17728 Usually this means the macro was only invoked conditionally." >&5
17729 echo "$as_me: error: conditional \"REGEN_PARSERS\" was never defined.
17730 Usually this means the macro was only invoked conditionally." >&2;}
17731 { (exit 1); exit 1; }; }
17732 fi
17733
17734 : ${CONFIG_STATUS=./config.status}
17735 ac_clean_files_save=$ac_clean_files
17736 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17737 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
17738 echo "$as_me: creating $CONFIG_STATUS" >&6;}
17739 cat >$CONFIG_STATUS <<_ACEOF
17740 #! $SHELL
17741 # Generated by $as_me.
17742 # Run this file to recreate the current configuration.
17743 # Compiler output produced by configure, useful for debugging
17744 # configure, is in config.log if it exists.
17745
17746 debug=false
17747 ac_cs_recheck=false
17748 ac_cs_silent=false
17749 SHELL=\${CONFIG_SHELL-$SHELL}
17750 _ACEOF
17751
17752 cat >>$CONFIG_STATUS <<\_ACEOF
17753 ## --------------------- ##
17754 ## M4sh Initialization. ##
17755 ## --------------------- ##
17756
17757 # Be Bourne compatible
17758 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17759 emulate sh
17760 NULLCMD=:
17761 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17762 # is contrary to our usage. Disable this feature.
17763 alias -g '${1+"$@"}'='"$@"'
17764 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
17765 set -o posix
17766 fi
17767 DUALCASE=1; export DUALCASE # for MKS sh
17768
17769 # Support unset when possible.
17770 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
17771 as_unset=unset
17772 else
17773 as_unset=false
17774 fi
17775
17776
17777 # Work around bugs in pre-3.0 UWIN ksh.
17778 $as_unset ENV MAIL MAILPATH
17779 PS1='$ '
17780 PS2='> '
17781 PS4='+ '
17782
17783 # NLS nuisances.
17784 for as_var in \
17785 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
17786 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
17787 LC_TELEPHONE LC_TIME
17788 do
17789 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
17790 eval $as_var=C; export $as_var
17791 else
17792 $as_unset $as_var
17793 fi
17794 done
17795
17796 # Required to use basename.
17797 if expr a : '\(a\)' >/dev/null 2>&1; then
17798 as_expr=expr
17799 else
17800 as_expr=false
17801 fi
17802
17803 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
17804 as_basename=basename
17805 else
17806 as_basename=false
17807 fi
17808
17809
17810 # Name of the executable.
17811 as_me=`$as_basename "$0" ||
17812 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17813 X"$0" : 'X\(//\)$' \| \
17814 X"$0" : 'X\(/\)$' \| \
17815 . : '\(.\)' 2>/dev/null ||
17816 echo X/"$0" |
17817 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
17818 /^X\/\(\/\/\)$/{ s//\1/; q; }
17819 /^X\/\(\/\).*/{ s//\1/; q; }
17820 s/.*/./; q'`
17821
17822
17823 # PATH needs CR, and LINENO needs CR and PATH.
17824 # Avoid depending upon Character Ranges.
17825 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17826 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17827 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17828 as_cr_digits='0123456789'
17829 as_cr_alnum=$as_cr_Letters$as_cr_digits
17830
17831 # The user is always right.
17832 if test "${PATH_SEPARATOR+set}" != set; then
17833 echo "#! /bin/sh" >conf$$.sh
17834 echo "exit 0" >>conf$$.sh
17835 chmod +x conf$$.sh
17836 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
17837 PATH_SEPARATOR=';'
17838 else
17839 PATH_SEPARATOR=:
17840 fi
17841 rm -f conf$$.sh
17842 fi
17843
17844
17845 as_lineno_1=$LINENO
17846 as_lineno_2=$LINENO
17847 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
17848 test "x$as_lineno_1" != "x$as_lineno_2" &&
17849 test "x$as_lineno_3" = "x$as_lineno_2" || {
17850 # Find who we are. Look in the path if we contain no path at all
17851 # relative or not.
17852 case $0 in
17853 *[\\/]* ) as_myself=$0 ;;
17854 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17855 for as_dir in $PATH
17856 do
17857 IFS=$as_save_IFS
17858 test -z "$as_dir" && as_dir=.
17859 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17860 done
17861
17862 ;;
17863 esac
17864 # We did not find ourselves, most probably we were run as `sh COMMAND'
17865 # in which case we are not to be found in the path.
17866 if test "x$as_myself" = x; then
17867 as_myself=$0
17868 fi
17869 if test ! -f "$as_myself"; then
17870 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
17871 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
17872 { (exit 1); exit 1; }; }
17873 fi
17874 case $CONFIG_SHELL in
17875 '')
17876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17877 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
17878 do
17879 IFS=$as_save_IFS
17880 test -z "$as_dir" && as_dir=.
17881 for as_base in sh bash ksh sh5; do
17882 case $as_dir in
17883 /*)
17884 if ("$as_dir/$as_base" -c '
17885 as_lineno_1=$LINENO
17886 as_lineno_2=$LINENO
17887 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
17888 test "x$as_lineno_1" != "x$as_lineno_2" &&
17889 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
17890 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
17891 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
17892 CONFIG_SHELL=$as_dir/$as_base
17893 export CONFIG_SHELL
17894 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
17895 fi;;
17896 esac
17897 done
17898 done
17899 ;;
17900 esac
17901
17902 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
17903 # uniformly replaced by the line number. The first 'sed' inserts a
17904 # line-number line before each line; the second 'sed' does the real
17905 # work. The second script uses 'N' to pair each line-number line
17906 # with the numbered line, and appends trailing '-' during
17907 # substitution so that $LINENO is not a special case at line end.
17908 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
17909 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
17910 sed '=' <$as_myself |
17911 sed '
17912 N
17913 s,$,-,
17914 : loop
17915 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
17916 t loop
17917 s,-$,,
17918 s,^['$as_cr_digits']*\n,,
17919 ' >$as_me.lineno &&
17920 chmod +x $as_me.lineno ||
17921 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
17922 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
17923 { (exit 1); exit 1; }; }
17924
17925 # Don't try to exec as it changes $[0], causing all sort of problems
17926 # (the dirname of $[0] is not the place where we might find the
17927 # original and so on. Autoconf is especially sensible to this).
17928 . ./$as_me.lineno
17929 # Exit status is that of the last command.
17930 exit
17931 }
17932
17933
17934 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
17935 *c*,-n*) ECHO_N= ECHO_C='
17936 ' ECHO_T=' ' ;;
17937 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
17938 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
17939 esac
17940
17941 if expr a : '\(a\)' >/dev/null 2>&1; then
17942 as_expr=expr
17943 else
17944 as_expr=false
17945 fi
17946
17947 rm -f conf$$ conf$$.exe conf$$.file
17948 echo >conf$$.file
17949 if ln -s conf$$.file conf$$ 2>/dev/null; then
17950 # We could just check for DJGPP; but this test a) works b) is more generic
17951 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
17952 if test -f conf$$.exe; then
17953 # Don't use ln at all; we don't have any links
17954 as_ln_s='cp -p'
17955 else
17956 as_ln_s='ln -s'
17957 fi
17958 elif ln conf$$.file conf$$ 2>/dev/null; then
17959 as_ln_s=ln
17960 else
17961 as_ln_s='cp -p'
17962 fi
17963 rm -f conf$$ conf$$.exe conf$$.file
17964
17965 if mkdir -p . 2>/dev/null; then
17966 as_mkdir_p=:
17967 else
17968 test -d ./-p && rmdir ./-p
17969 as_mkdir_p=false
17970 fi
17971
17972 as_executable_p="test -f"
17973
17974 # Sed expression to map a string onto a valid CPP name.
17975 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17976
17977 # Sed expression to map a string onto a valid variable name.
17978 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17979
17980
17981 # IFS
17982 # We need space, tab and new line, in precisely that order.
17983 as_nl='
17984 '
17985 IFS=" $as_nl"
17986
17987 # CDPATH.
17988 $as_unset CDPATH
17989
17990 exec 6>&1
17991
17992 # Open the log real soon, to keep \$[0] and so on meaningful, and to
17993 # report actual input values of CONFIG_FILES etc. instead of their
17994 # values after options handling. Logging --version etc. is OK.
17995 exec 5>>config.log
17996 {
17997 echo
17998 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17999 ## Running $as_me. ##
18000 _ASBOX
18001 } >&5
18002 cat >&5 <<_CSEOF
18003
18004 This file was extended by GNU Classpath $as_me 0.90, which was
18005 generated by GNU Autoconf 2.59. Invocation command line was
18006
18007 CONFIG_FILES = $CONFIG_FILES
18008 CONFIG_HEADERS = $CONFIG_HEADERS
18009 CONFIG_LINKS = $CONFIG_LINKS
18010 CONFIG_COMMANDS = $CONFIG_COMMANDS
18011 $ $0 $@
18012
18013 _CSEOF
18014 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
18015 echo >&5
18016 _ACEOF
18017
18018 # Files that config.status was made for.
18019 if test -n "$ac_config_files"; then
18020 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
18021 fi
18022
18023 if test -n "$ac_config_headers"; then
18024 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
18025 fi
18026
18027 if test -n "$ac_config_links"; then
18028 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
18029 fi
18030
18031 if test -n "$ac_config_commands"; then
18032 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
18033 fi
18034
18035 cat >>$CONFIG_STATUS <<\_ACEOF
18036
18037 ac_cs_usage="\
18038 \`$as_me' instantiates files from templates according to the
18039 current configuration.
18040
18041 Usage: $0 [OPTIONS] [FILE]...
18042
18043 -h, --help print this help, then exit
18044 -V, --version print version number, then exit
18045 -q, --quiet do not print progress messages
18046 -d, --debug don't remove temporary files
18047 --recheck update $as_me by reconfiguring in the same conditions
18048 --file=FILE[:TEMPLATE]
18049 instantiate the configuration file FILE
18050 --header=FILE[:TEMPLATE]
18051 instantiate the configuration header FILE
18052
18053 Configuration files:
18054 $config_files
18055
18056 Configuration headers:
18057 $config_headers
18058
18059 Configuration links:
18060 $config_links
18061
18062 Configuration commands:
18063 $config_commands
18064
18065 Report bugs to <bug-autoconf@gnu.org>."
18066 _ACEOF
18067
18068 cat >>$CONFIG_STATUS <<_ACEOF
18069 ac_cs_version="\\
18070 GNU Classpath config.status 0.90
18071 configured by $0, generated by GNU Autoconf 2.59,
18072 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
18073
18074 Copyright (C) 2003 Free Software Foundation, Inc.
18075 This config.status script is free software; the Free Software Foundation
18076 gives unlimited permission to copy, distribute and modify it."
18077 srcdir=$srcdir
18078 INSTALL="$INSTALL"
18079 _ACEOF
18080
18081 cat >>$CONFIG_STATUS <<\_ACEOF
18082 # If no file are specified by the user, then we need to provide default
18083 # value. By we need to know if files were specified by the user.
18084 ac_need_defaults=:
18085 while test $# != 0
18086 do
18087 case $1 in
18088 --*=*)
18089 ac_option=`expr "x$1" : 'x\([^=]*\)='`
18090 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
18091 ac_shift=:
18092 ;;
18093 -*)
18094 ac_option=$1
18095 ac_optarg=$2
18096 ac_shift=shift
18097 ;;
18098 *) # This is not an option, so the user has probably given explicit
18099 # arguments.
18100 ac_option=$1
18101 ac_need_defaults=false;;
18102 esac
18103
18104 case $ac_option in
18105 # Handling of the options.
18106 _ACEOF
18107 cat >>$CONFIG_STATUS <<\_ACEOF
18108 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18109 ac_cs_recheck=: ;;
18110 --version | --vers* | -V )
18111 echo "$ac_cs_version"; exit 0 ;;
18112 --he | --h)
18113 # Conflict between --help and --header
18114 { { echo "$as_me:$LINENO: error: ambiguous option: $1
18115 Try \`$0 --help' for more information." >&5
18116 echo "$as_me: error: ambiguous option: $1
18117 Try \`$0 --help' for more information." >&2;}
18118 { (exit 1); exit 1; }; };;
18119 --help | --hel | -h )
18120 echo "$ac_cs_usage"; exit 0 ;;
18121 --debug | --d* | -d )
18122 debug=: ;;
18123 --file | --fil | --fi | --f )
18124 $ac_shift
18125 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
18126 ac_need_defaults=false;;
18127 --header | --heade | --head | --hea )
18128 $ac_shift
18129 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
18130 ac_need_defaults=false;;
18131 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18132 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18133 ac_cs_silent=: ;;
18134
18135 # This is an error.
18136 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
18137 Try \`$0 --help' for more information." >&5
18138 echo "$as_me: error: unrecognized option: $1
18139 Try \`$0 --help' for more information." >&2;}
18140 { (exit 1); exit 1; }; } ;;
18141
18142 *) ac_config_targets="$ac_config_targets $1" ;;
18143
18144 esac
18145 shift
18146 done
18147
18148 ac_configure_extra_args=
18149
18150 if $ac_cs_silent; then
18151 exec 6>/dev/null
18152 ac_configure_extra_args="$ac_configure_extra_args --silent"
18153 fi
18154
18155 _ACEOF
18156 cat >>$CONFIG_STATUS <<_ACEOF
18157 if \$ac_cs_recheck; then
18158 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
18159 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18160 fi
18161
18162 _ACEOF
18163
18164 cat >>$CONFIG_STATUS <<_ACEOF
18165 #
18166 # INIT-COMMANDS section.
18167 #
18168
18169 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18170 # variables for create stdint.h replacement
18171 PACKAGE="$PACKAGE"
18172 VERSION="$VERSION"
18173 ac_stdint_h="$ac_stdint_h"
18174 _ac_stdint_h=`echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
18175 ac_cv_stdint_message="$ac_cv_stdint_message"
18176 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
18177 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
18178 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
18179 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
18180 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
18181 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
18182 ac_cv_char_data_model="$ac_cv_char_data_model"
18183 ac_cv_long_data_model="$ac_cv_long_data_model"
18184 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
18185 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
18186 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
18187
18188
18189 _ACEOF
18190
18191
18192
18193 cat >>$CONFIG_STATUS <<\_ACEOF
18194 for ac_config_target in $ac_config_targets
18195 do
18196 case "$ac_config_target" in
18197 # Handling of arguments.
18198 "lib/mkcollections.pl" ) CONFIG_FILES="$CONFIG_FILES lib/mkcollections.pl" ;;
18199 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18200 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
18201 "doc/api/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/api/Makefile" ;;
18202 "external/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/Makefile" ;;
18203 "external/sax/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/sax/Makefile" ;;
18204 "external/w3c_dom/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/w3c_dom/Makefile" ;;
18205 "external/relaxngDatatype/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/relaxngDatatype/Makefile" ;;
18206 "gnu/classpath/Configuration.java" ) CONFIG_FILES="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
18207 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
18208 "native/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/Makefile" ;;
18209 "native/fdlibm/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/fdlibm/Makefile" ;;
18210 "native/jawt/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jawt/Makefile" ;;
18211 "native/jni/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/Makefile" ;;
18212 "native/jni/classpath/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/classpath/Makefile" ;;
18213 "native/jni/java-io/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-io/Makefile" ;;
18214 "native/jni/java-lang/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-lang/Makefile" ;;
18215 "native/jni/java-net/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-net/Makefile" ;;
18216 "native/jni/java-nio/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-nio/Makefile" ;;
18217 "native/jni/java-util/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-util/Makefile" ;;
18218 "native/jni/gtk-peer/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/gtk-peer/Makefile" ;;
18219 "native/jni/qt-peer/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/qt-peer/Makefile" ;;
18220 "native/jni/xmlj/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/xmlj/Makefile" ;;
18221 "native/jni/midi-alsa/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/midi-alsa/Makefile" ;;
18222 "native/jni/midi-dssi/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/midi-dssi/Makefile" ;;
18223 "native/target/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/target/Makefile" ;;
18224 "native/target/Linux/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/target/Linux/Makefile" ;;
18225 "native/target/generic/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/target/generic/Makefile" ;;
18226 "resource/Makefile" ) CONFIG_FILES="$CONFIG_FILES resource/Makefile" ;;
18227 "scripts/Makefile" ) CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
18228 "scripts/classpath.spec" ) CONFIG_FILES="$CONFIG_FILES scripts/classpath.spec" ;;
18229 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
18230 "lib/gen-classlist.sh" ) CONFIG_FILES="$CONFIG_FILES lib/gen-classlist.sh" ;;
18231 "lib/copy-vmresources.sh" ) CONFIG_FILES="$CONFIG_FILES lib/copy-vmresources.sh" ;;
18232 "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
18233 "examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
18234 "examples/Makefile.jawt" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile.jawt" ;;
18235 "$ac_config_links_1" ) CONFIG_LINKS="$CONFIG_LINKS $ac_config_links_1" ;;
18236 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18237 "mkcollections.pl" ) CONFIG_COMMANDS="$CONFIG_COMMANDS mkcollections.pl" ;;
18238 "$ac_stdint_h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS $ac_stdint_h" ;;
18239 "gen-classlist" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gen-classlist" ;;
18240 "copy-vmresources" ) CONFIG_COMMANDS="$CONFIG_COMMANDS copy-vmresources" ;;
18241 "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18242 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
18243 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
18244 { (exit 1); exit 1; }; };;
18245 esac
18246 done
18247
18248 # If the user did not use the arguments to specify the items to instantiate,
18249 # then the envvar interface is used. Set only those that are not.
18250 # We use the long form for the default assignment because of an extremely
18251 # bizarre bug on SunOS 4.1.3.
18252 if $ac_need_defaults; then
18253 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18254 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18255 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18256 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18257 fi
18258
18259 # Have a temporary directory for convenience. Make it in the build tree
18260 # simply because there is no reason to put it here, and in addition,
18261 # creating and moving files from /tmp can sometimes cause problems.
18262 # Create a temporary directory, and hook for its removal unless debugging.
18263 $debug ||
18264 {
18265 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
18266 trap '{ (exit 1); exit 1; }' 1 2 13 15
18267 }
18268
18269 # Create a (secure) tmp directory for tmp files.
18270
18271 {
18272 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
18273 test -n "$tmp" && test -d "$tmp"
18274 } ||
18275 {
18276 tmp=./confstat$$-$RANDOM
18277 (umask 077 && mkdir $tmp)
18278 } ||
18279 {
18280 echo "$me: cannot create a temporary directory in ." >&2
18281 { (exit 1); exit 1; }
18282 }
18283
18284 _ACEOF
18285
18286 cat >>$CONFIG_STATUS <<_ACEOF
18287
18288 #
18289 # CONFIG_FILES section.
18290 #
18291
18292 # No need to generate the scripts if there are no CONFIG_FILES.
18293 # This happens for instance when ./config.status config.h
18294 if test -n "\$CONFIG_FILES"; then
18295 # Protect against being on the right side of a sed subst in config.status.
18296 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
18297 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
18298 s,@SHELL@,$SHELL,;t t
18299 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
18300 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
18301 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
18302 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
18303 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
18304 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
18305 s,@exec_prefix@,$exec_prefix,;t t
18306 s,@prefix@,$prefix,;t t
18307 s,@program_transform_name@,$program_transform_name,;t t
18308 s,@bindir@,$bindir,;t t
18309 s,@sbindir@,$sbindir,;t t
18310 s,@libexecdir@,$libexecdir,;t t
18311 s,@datadir@,$datadir,;t t
18312 s,@sysconfdir@,$sysconfdir,;t t
18313 s,@sharedstatedir@,$sharedstatedir,;t t
18314 s,@localstatedir@,$localstatedir,;t t
18315 s,@libdir@,$libdir,;t t
18316 s,@includedir@,$includedir,;t t
18317 s,@oldincludedir@,$oldincludedir,;t t
18318 s,@infodir@,$infodir,;t t
18319 s,@mandir@,$mandir,;t t
18320 s,@build_alias@,$build_alias,;t t
18321 s,@host_alias@,$host_alias,;t t
18322 s,@target_alias@,$target_alias,;t t
18323 s,@DEFS@,$DEFS,;t t
18324 s,@ECHO_C@,$ECHO_C,;t t
18325 s,@ECHO_N@,$ECHO_N,;t t
18326 s,@ECHO_T@,$ECHO_T,;t t
18327 s,@LIBS@,$LIBS,;t t
18328 s,@build@,$build,;t t
18329 s,@build_cpu@,$build_cpu,;t t
18330 s,@build_vendor@,$build_vendor,;t t
18331 s,@build_os@,$build_os,;t t
18332 s,@host@,$host,;t t
18333 s,@host_cpu@,$host_cpu,;t t
18334 s,@host_vendor@,$host_vendor,;t t
18335 s,@host_os@,$host_os,;t t
18336 s,@target@,$target,;t t
18337 s,@target_cpu@,$target_cpu,;t t
18338 s,@target_vendor@,$target_vendor,;t t
18339 s,@target_os@,$target_os,;t t
18340 s,@LIBVERSION@,$LIBVERSION,;t t
18341 s,@CLASSPATH_MODULE@,$CLASSPATH_MODULE,;t t
18342 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
18343 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
18344 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
18345 s,@CYGPATH_W@,$CYGPATH_W,;t t
18346 s,@PACKAGE@,$PACKAGE,;t t
18347 s,@VERSION@,$VERSION,;t t
18348 s,@ACLOCAL@,$ACLOCAL,;t t
18349 s,@AUTOCONF@,$AUTOCONF,;t t
18350 s,@AUTOMAKE@,$AUTOMAKE,;t t
18351 s,@AUTOHEADER@,$AUTOHEADER,;t t
18352 s,@MAKEINFO@,$MAKEINFO,;t t
18353 s,@install_sh@,$install_sh,;t t
18354 s,@STRIP@,$STRIP,;t t
18355 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
18356 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
18357 s,@mkdir_p@,$mkdir_p,;t t
18358 s,@AWK@,$AWK,;t t
18359 s,@SET_MAKE@,$SET_MAKE,;t t
18360 s,@am__leading_dot@,$am__leading_dot,;t t
18361 s,@AMTAR@,$AMTAR,;t t
18362 s,@am__tar@,$am__tar,;t t
18363 s,@am__untar@,$am__untar,;t t
18364 s,@CREATE_COLLECTIONS_TRUE@,$CREATE_COLLECTIONS_TRUE,;t t
18365 s,@CREATE_COLLECTIONS_FALSE@,$CREATE_COLLECTIONS_FALSE,;t t
18366 s,@CREATE_JNI_LIBRARIES_TRUE@,$CREATE_JNI_LIBRARIES_TRUE,;t t
18367 s,@CREATE_JNI_LIBRARIES_FALSE@,$CREATE_JNI_LIBRARIES_FALSE,;t t
18368 s,@CREATE_CORE_JNI_LIBRARIES_TRUE@,$CREATE_CORE_JNI_LIBRARIES_TRUE,;t t
18369 s,@CREATE_CORE_JNI_LIBRARIES_FALSE@,$CREATE_CORE_JNI_LIBRARIES_FALSE,;t t
18370 s,@default_toolkit@,$default_toolkit,;t t
18371 s,@CREATE_XMLJ_LIBRARY_TRUE@,$CREATE_XMLJ_LIBRARY_TRUE,;t t
18372 s,@CREATE_XMLJ_LIBRARY_FALSE@,$CREATE_XMLJ_LIBRARY_FALSE,;t t
18373 s,@CC@,$CC,;t t
18374 s,@CFLAGS@,$CFLAGS,;t t
18375 s,@LDFLAGS@,$LDFLAGS,;t t
18376 s,@CPPFLAGS@,$CPPFLAGS,;t t
18377 s,@ac_ct_CC@,$ac_ct_CC,;t t
18378 s,@EXEEXT@,$EXEEXT,;t t
18379 s,@OBJEXT@,$OBJEXT,;t t
18380 s,@DEPDIR@,$DEPDIR,;t t
18381 s,@am__include@,$am__include,;t t
18382 s,@am__quote@,$am__quote,;t t
18383 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
18384 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
18385 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
18386 s,@CCDEPMODE@,$CCDEPMODE,;t t
18387 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
18388 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
18389 s,@CPP@,$CPP,;t t
18390 s,@EGREP@,$EGREP,;t t
18391 s,@CREATE_ALSA_LIBRARIES_TRUE@,$CREATE_ALSA_LIBRARIES_TRUE,;t t
18392 s,@CREATE_ALSA_LIBRARIES_FALSE@,$CREATE_ALSA_LIBRARIES_FALSE,;t t
18393 s,@CREATE_DSSI_LIBRARIES_TRUE@,$CREATE_DSSI_LIBRARIES_TRUE,;t t
18394 s,@CREATE_DSSI_LIBRARIES_FALSE@,$CREATE_DSSI_LIBRARIES_FALSE,;t t
18395 s,@CREATE_GTK_PEER_LIBRARIES_TRUE@,$CREATE_GTK_PEER_LIBRARIES_TRUE,;t t
18396 s,@CREATE_GTK_PEER_LIBRARIES_FALSE@,$CREATE_GTK_PEER_LIBRARIES_FALSE,;t t
18397 s,@GTK_CAIRO_ENABLED@,$GTK_CAIRO_ENABLED,;t t
18398 s,@GTK_CAIRO_TRUE@,$GTK_CAIRO_TRUE,;t t
18399 s,@GTK_CAIRO_FALSE@,$GTK_CAIRO_FALSE,;t t
18400 s,@CREATE_QT_PEER_LIBRARIES_TRUE@,$CREATE_QT_PEER_LIBRARIES_TRUE,;t t
18401 s,@CREATE_QT_PEER_LIBRARIES_FALSE@,$CREATE_QT_PEER_LIBRARIES_FALSE,;t t
18402 s,@nativelibdir@,$nativelibdir,;t t
18403 s,@glibjdir@,$glibjdir,;t t
18404 s,@CREATE_JNI_HEADERS_TRUE@,$CREATE_JNI_HEADERS_TRUE,;t t
18405 s,@CREATE_JNI_HEADERS_FALSE@,$CREATE_JNI_HEADERS_FALSE,;t t
18406 s,@LN_S@,$LN_S,;t t
18407 s,@RANLIB@,$RANLIB,;t t
18408 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
18409 s,@LIBTOOL@,$LIBTOOL,;t t
18410 s,@CXX@,$CXX,;t t
18411 s,@CXXFLAGS@,$CXXFLAGS,;t t
18412 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
18413 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
18414 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
18415 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
18416 s,@CXXCPP@,$CXXCPP,;t t
18417 s,@PERL@,$PERL,;t t
18418 s,@COLLECTIONS_PREFIX@,$COLLECTIONS_PREFIX,;t t
18419 s,@LIBICONV@,$LIBICONV,;t t
18420 s,@LTLIBICONV@,$LTLIBICONV,;t t
18421 s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t
18422 s,@STRICT_WARNING_CFLAGS@,$STRICT_WARNING_CFLAGS,;t t
18423 s,@ERROR_CFLAGS@,$ERROR_CFLAGS,;t t
18424 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
18425 s,@XML_CFLAGS@,$XML_CFLAGS,;t t
18426 s,@XML_LIBS@,$XML_LIBS,;t t
18427 s,@XSLT_CFLAGS@,$XSLT_CFLAGS,;t t
18428 s,@XSLT_LIBS@,$XSLT_LIBS,;t t
18429 s,@X_CFLAGS@,$X_CFLAGS,;t t
18430 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
18431 s,@X_LIBS@,$X_LIBS,;t t
18432 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
18433 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
18434 s,@GTK_LIBS@,$GTK_LIBS,;t t
18435 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
18436 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
18437 s,@FREETYPE2_CFLAGS@,$FREETYPE2_CFLAGS,;t t
18438 s,@FREETYPE2_LIBS@,$FREETYPE2_LIBS,;t t
18439 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
18440 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
18441 s,@QT_CFLAGS@,$QT_CFLAGS,;t t
18442 s,@QT_LIBS@,$QT_LIBS,;t t
18443 s,@MOC@,$MOC,;t t
18444 s,@USER_JAVAH@,$USER_JAVAH,;t t
18445 s,@USER_SPECIFIED_JAVAH_TRUE@,$USER_SPECIFIED_JAVAH_TRUE,;t t
18446 s,@USER_SPECIFIED_JAVAH_FALSE@,$USER_SPECIFIED_JAVAH_FALSE,;t t
18447 s,@CLASSPATH_INCLUDES@,$CLASSPATH_INCLUDES,;t t
18448 s,@GCJ@,$GCJ,;t t
18449 s,@JIKES@,$JIKES,;t t
18450 s,@JIKESENCODING@,$JIKESENCODING,;t t
18451 s,@JIKESWARNINGS@,$JIKESWARNINGS,;t t
18452 s,@KJC@,$KJC,;t t
18453 s,@GCJX@,$GCJX,;t t
18454 s,@ECJ@,$ECJ,;t t
18455 s,@FOUND_GCJ_TRUE@,$FOUND_GCJ_TRUE,;t t
18456 s,@FOUND_GCJ_FALSE@,$FOUND_GCJ_FALSE,;t t
18457 s,@FOUND_JIKES_TRUE@,$FOUND_JIKES_TRUE,;t t
18458 s,@FOUND_JIKES_FALSE@,$FOUND_JIKES_FALSE,;t t
18459 s,@FOUND_ECJ_TRUE@,$FOUND_ECJ_TRUE,;t t
18460 s,@FOUND_ECJ_FALSE@,$FOUND_ECJ_FALSE,;t t
18461 s,@FOUND_KJC_TRUE@,$FOUND_KJC_TRUE,;t t
18462 s,@FOUND_KJC_FALSE@,$FOUND_KJC_FALSE,;t t
18463 s,@FOUND_GCJX_TRUE@,$FOUND_GCJX_TRUE,;t t
18464 s,@FOUND_GCJX_FALSE@,$FOUND_GCJX_FALSE,;t t
18465 s,@USER_CLASSLIB@,$USER_CLASSLIB,;t t
18466 s,@USER_SPECIFIED_CLASSLIB_TRUE@,$USER_SPECIFIED_CLASSLIB_TRUE,;t t
18467 s,@USER_SPECIFIED_CLASSLIB_FALSE@,$USER_SPECIFIED_CLASSLIB_FALSE,;t t
18468 s,@vm_classes@,$vm_classes,;t t
18469 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
18470 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
18471 s,@MAINT@,$MAINT,;t t
18472 s,@LIBDEBUG@,$LIBDEBUG,;t t
18473 s,@INIT_LOAD_LIBRARY@,$INIT_LOAD_LIBRARY,;t t
18474 s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,$JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION,;t t
18475 s,@REMOVE@,$REMOVE,;t t
18476 s,@MKDIR@,$MKDIR,;t t
18477 s,@CP@,$CP,;t t
18478 s,@DATE@,$DATE,;t t
18479 s,@FIND@,$FIND,;t t
18480 s,@ZIP@,$ZIP,;t t
18481 s,@FASTJAR@,$FASTJAR,;t t
18482 s,@INSTALL_GLIBJ_ZIP_TRUE@,$INSTALL_GLIBJ_ZIP_TRUE,;t t
18483 s,@INSTALL_GLIBJ_ZIP_FALSE@,$INSTALL_GLIBJ_ZIP_FALSE,;t t
18484 s,@INSTALL_CLASS_FILES_TRUE@,$INSTALL_CLASS_FILES_TRUE,;t t
18485 s,@INSTALL_CLASS_FILES_FALSE@,$INSTALL_CLASS_FILES_FALSE,;t t
18486 s,@BUILD_CLASS_FILES_TRUE@,$BUILD_CLASS_FILES_TRUE,;t t
18487 s,@BUILD_CLASS_FILES_FALSE@,$BUILD_CLASS_FILES_FALSE,;t t
18488 s,@EXAMPLESDIR@,$EXAMPLESDIR,;t t
18489 s,@GJDOC@,$GJDOC,;t t
18490 s,@CREATE_API_DOCS_TRUE@,$CREATE_API_DOCS_TRUE,;t t
18491 s,@CREATE_API_DOCS_FALSE@,$CREATE_API_DOCS_FALSE,;t t
18492 s,@JAY@,$JAY,;t t
18493 s,@JAY_SKELETON@,$JAY_SKELETON,;t t
18494 s,@REGEN_PARSERS_TRUE@,$REGEN_PARSERS_TRUE,;t t
18495 s,@REGEN_PARSERS_FALSE@,$REGEN_PARSERS_FALSE,;t t
18496 s,@LIBOBJS@,$LIBOBJS,;t t
18497 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
18498 CEOF
18499
18500 _ACEOF
18501
18502 cat >>$CONFIG_STATUS <<\_ACEOF
18503 # Split the substitutions into bite-sized pieces for seds with
18504 # small command number limits, like on Digital OSF/1 and HP-UX.
18505 ac_max_sed_lines=48
18506 ac_sed_frag=1 # Number of current file.
18507 ac_beg=1 # First line for current file.
18508 ac_end=$ac_max_sed_lines # Line after last line for current file.
18509 ac_more_lines=:
18510 ac_sed_cmds=
18511 while $ac_more_lines; do
18512 if test $ac_beg -gt 1; then
18513 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
18514 else
18515 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
18516 fi
18517 if test ! -s $tmp/subs.frag; then
18518 ac_more_lines=false
18519 else
18520 # The purpose of the label and of the branching condition is to
18521 # speed up the sed processing (if there are no `@' at all, there
18522 # is no need to browse any of the substitutions).
18523 # These are the two extra sed commands mentioned above.
18524 (echo ':t
18525 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
18526 if test -z "$ac_sed_cmds"; then
18527 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
18528 else
18529 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
18530 fi
18531 ac_sed_frag=`expr $ac_sed_frag + 1`
18532 ac_beg=$ac_end
18533 ac_end=`expr $ac_end + $ac_max_sed_lines`
18534 fi
18535 done
18536 if test -z "$ac_sed_cmds"; then
18537 ac_sed_cmds=cat
18538 fi
18539 fi # test -n "$CONFIG_FILES"
18540
18541 _ACEOF
18542 cat >>$CONFIG_STATUS <<\_ACEOF
18543 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
18544 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18545 case $ac_file in
18546 - | *:- | *:-:* ) # input from stdin
18547 cat >$tmp/stdin
18548 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
18549 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
18550 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
18551 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
18552 * ) ac_file_in=$ac_file.in ;;
18553 esac
18554
18555 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
18556 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
18557 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18558 X"$ac_file" : 'X\(//\)[^/]' \| \
18559 X"$ac_file" : 'X\(//\)$' \| \
18560 X"$ac_file" : 'X\(/\)' \| \
18561 . : '\(.\)' 2>/dev/null ||
18562 echo X"$ac_file" |
18563 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18564 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18565 /^X\(\/\/\)$/{ s//\1/; q; }
18566 /^X\(\/\).*/{ s//\1/; q; }
18567 s/.*/./; q'`
18568 { if $as_mkdir_p; then
18569 mkdir -p "$ac_dir"
18570 else
18571 as_dir="$ac_dir"
18572 as_dirs=
18573 while test ! -d "$as_dir"; do
18574 as_dirs="$as_dir $as_dirs"
18575 as_dir=`(dirname "$as_dir") 2>/dev/null ||
18576 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18577 X"$as_dir" : 'X\(//\)[^/]' \| \
18578 X"$as_dir" : 'X\(//\)$' \| \
18579 X"$as_dir" : 'X\(/\)' \| \
18580 . : '\(.\)' 2>/dev/null ||
18581 echo X"$as_dir" |
18582 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18583 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18584 /^X\(\/\/\)$/{ s//\1/; q; }
18585 /^X\(\/\).*/{ s//\1/; q; }
18586 s/.*/./; q'`
18587 done
18588 test ! -n "$as_dirs" || mkdir $as_dirs
18589 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18590 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18591 { (exit 1); exit 1; }; }; }
18592
18593 ac_builddir=.
18594
18595 if test "$ac_dir" != .; then
18596 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
18597 # A "../" for each directory in $ac_dir_suffix.
18598 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
18599 else
18600 ac_dir_suffix= ac_top_builddir=
18601 fi
18602
18603 case $srcdir in
18604 .) # No --srcdir option. We are building in place.
18605 ac_srcdir=.
18606 if test -z "$ac_top_builddir"; then
18607 ac_top_srcdir=.
18608 else
18609 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
18610 fi ;;
18611 [\\/]* | ?:[\\/]* ) # Absolute path.
18612 ac_srcdir=$srcdir$ac_dir_suffix;
18613 ac_top_srcdir=$srcdir ;;
18614 *) # Relative path.
18615 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
18616 ac_top_srcdir=$ac_top_builddir$srcdir ;;
18617 esac
18618
18619 # Do not use `cd foo && pwd` to compute absolute paths, because
18620 # the directories may not exist.
18621 case `pwd` in
18622 .) ac_abs_builddir="$ac_dir";;
18623 *)
18624 case "$ac_dir" in
18625 .) ac_abs_builddir=`pwd`;;
18626 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
18627 *) ac_abs_builddir=`pwd`/"$ac_dir";;
18628 esac;;
18629 esac
18630 case $ac_abs_builddir in
18631 .) ac_abs_top_builddir=${ac_top_builddir}.;;
18632 *)
18633 case ${ac_top_builddir}. in
18634 .) ac_abs_top_builddir=$ac_abs_builddir;;
18635 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
18636 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
18637 esac;;
18638 esac
18639 case $ac_abs_builddir in
18640 .) ac_abs_srcdir=$ac_srcdir;;
18641 *)
18642 case $ac_srcdir in
18643 .) ac_abs_srcdir=$ac_abs_builddir;;
18644 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
18645 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
18646 esac;;
18647 esac
18648 case $ac_abs_builddir in
18649 .) ac_abs_top_srcdir=$ac_top_srcdir;;
18650 *)
18651 case $ac_top_srcdir in
18652 .) ac_abs_top_srcdir=$ac_abs_builddir;;
18653 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
18654 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
18655 esac;;
18656 esac
18657
18658
18659 case $INSTALL in
18660 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18661 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
18662 esac
18663
18664 # Let's still pretend it is `configure' which instantiates (i.e., don't
18665 # use $as_me), people would be surprised to read:
18666 # /* config.h. Generated by config.status. */
18667 if test x"$ac_file" = x-; then
18668 configure_input=
18669 else
18670 configure_input="$ac_file. "
18671 fi
18672 configure_input=$configure_input"Generated from `echo $ac_file_in |
18673 sed 's,.*/,,'` by configure."
18674
18675 # First look for the input files in the build tree, otherwise in the
18676 # src tree.
18677 ac_file_inputs=`IFS=:
18678 for f in $ac_file_in; do
18679 case $f in
18680 -) echo $tmp/stdin ;;
18681 [\\/$]*)
18682 # Absolute (can't be DOS-style, as IFS=:)
18683 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18684 echo "$as_me: error: cannot find input file: $f" >&2;}
18685 { (exit 1); exit 1; }; }
18686 echo "$f";;
18687 *) # Relative
18688 if test -f "$f"; then
18689 # Build tree
18690 echo "$f"
18691 elif test -f "$srcdir/$f"; then
18692 # Source tree
18693 echo "$srcdir/$f"
18694 else
18695 # /dev/null tree
18696 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18697 echo "$as_me: error: cannot find input file: $f" >&2;}
18698 { (exit 1); exit 1; }; }
18699 fi;;
18700 esac
18701 done` || { (exit 1); exit 1; }
18702
18703 if test x"$ac_file" != x-; then
18704 { echo "$as_me:$LINENO: creating $ac_file" >&5
18705 echo "$as_me: creating $ac_file" >&6;}
18706 rm -f "$ac_file"
18707 fi
18708 _ACEOF
18709 cat >>$CONFIG_STATUS <<_ACEOF
18710 sed "$ac_vpsub
18711 $extrasub
18712 _ACEOF
18713 cat >>$CONFIG_STATUS <<\_ACEOF
18714 :t
18715 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18716 s,@configure_input@,$configure_input,;t t
18717 s,@srcdir@,$ac_srcdir,;t t
18718 s,@abs_srcdir@,$ac_abs_srcdir,;t t
18719 s,@top_srcdir@,$ac_top_srcdir,;t t
18720 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
18721 s,@builddir@,$ac_builddir,;t t
18722 s,@abs_builddir@,$ac_abs_builddir,;t t
18723 s,@top_builddir@,$ac_top_builddir,;t t
18724 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
18725 s,@INSTALL@,$ac_INSTALL,;t t
18726 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
18727 rm -f $tmp/stdin
18728 if test x"$ac_file" != x-; then
18729 mv $tmp/out $ac_file
18730 else
18731 cat $tmp/out
18732 rm -f $tmp/out
18733 fi
18734
18735 done
18736 _ACEOF
18737 cat >>$CONFIG_STATUS <<\_ACEOF
18738
18739 #
18740 # CONFIG_HEADER section.
18741 #
18742
18743 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
18744 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18745 #
18746 # ac_d sets the value in "#define NAME VALUE" lines.
18747 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18748 ac_dB='[ ].*$,\1#\2'
18749 ac_dC=' '
18750 ac_dD=',;t'
18751 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18752 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18753 ac_uB='$,\1#\2define\3'
18754 ac_uC=' '
18755 ac_uD=',;t'
18756
18757 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
18758 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18759 case $ac_file in
18760 - | *:- | *:-:* ) # input from stdin
18761 cat >$tmp/stdin
18762 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
18763 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
18764 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
18765 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
18766 * ) ac_file_in=$ac_file.in ;;
18767 esac
18768
18769 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
18770 echo "$as_me: creating $ac_file" >&6;}
18771
18772 # First look for the input files in the build tree, otherwise in the
18773 # src tree.
18774 ac_file_inputs=`IFS=:
18775 for f in $ac_file_in; do
18776 case $f in
18777 -) echo $tmp/stdin ;;
18778 [\\/$]*)
18779 # Absolute (can't be DOS-style, as IFS=:)
18780 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18781 echo "$as_me: error: cannot find input file: $f" >&2;}
18782 { (exit 1); exit 1; }; }
18783 # Do quote $f, to prevent DOS paths from being IFS'd.
18784 echo "$f";;
18785 *) # Relative
18786 if test -f "$f"; then
18787 # Build tree
18788 echo "$f"
18789 elif test -f "$srcdir/$f"; then
18790 # Source tree
18791 echo "$srcdir/$f"
18792 else
18793 # /dev/null tree
18794 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18795 echo "$as_me: error: cannot find input file: $f" >&2;}
18796 { (exit 1); exit 1; }; }
18797 fi;;
18798 esac
18799 done` || { (exit 1); exit 1; }
18800 # Remove the trailing spaces.
18801 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
18802
18803 _ACEOF
18804
18805 # Transform confdefs.h into two sed scripts, `conftest.defines' and
18806 # `conftest.undefs', that substitutes the proper values into
18807 # config.h.in to produce config.h. The first handles `#define'
18808 # templates, and the second `#undef' templates.
18809 # And first: Protect against being on the right side of a sed subst in
18810 # config.status. Protect against being in an unquoted here document
18811 # in config.status.
18812 rm -f conftest.defines conftest.undefs
18813 # Using a here document instead of a string reduces the quoting nightmare.
18814 # Putting comments in sed scripts is not portable.
18815 #
18816 # `end' is used to avoid that the second main sed command (meant for
18817 # 0-ary CPP macros) applies to n-ary macro definitions.
18818 # See the Autoconf documentation for `clear'.
18819 cat >confdef2sed.sed <<\_ACEOF
18820 s/[\\&,]/\\&/g
18821 s,[\\$`],\\&,g
18822 t clear
18823 : clear
18824 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
18825 t end
18826 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
18827 : end
18828 _ACEOF
18829 # If some macros were called several times there might be several times
18830 # the same #defines, which is useless. Nevertheless, we may not want to
18831 # sort them, since we want the *last* AC-DEFINE to be honored.
18832 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
18833 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
18834 rm -f confdef2sed.sed
18835
18836 # This sed command replaces #undef with comments. This is necessary, for
18837 # example, in the case of _POSIX_SOURCE, which is predefined and required
18838 # on some systems where configure will not decide to define it.
18839 cat >>conftest.undefs <<\_ACEOF
18840 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
18841 _ACEOF
18842
18843 # Break up conftest.defines because some shells have a limit on the size
18844 # of here documents, and old seds have small limits too (100 cmds).
18845 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
18846 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
18847 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
18848 echo ' :' >>$CONFIG_STATUS
18849 rm -f conftest.tail
18850 while grep . conftest.defines >/dev/null
18851 do
18852 # Write a limited-size here document to $tmp/defines.sed.
18853 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
18854 # Speed up: don't consider the non `#define' lines.
18855 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
18856 # Work around the forget-to-reset-the-flag bug.
18857 echo 't clr' >>$CONFIG_STATUS
18858 echo ': clr' >>$CONFIG_STATUS
18859 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
18860 echo 'CEOF
18861 sed -f $tmp/defines.sed $tmp/in >$tmp/out
18862 rm -f $tmp/in
18863 mv $tmp/out $tmp/in
18864 ' >>$CONFIG_STATUS
18865 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
18866 rm -f conftest.defines
18867 mv conftest.tail conftest.defines
18868 done
18869 rm -f conftest.defines
18870 echo ' fi # grep' >>$CONFIG_STATUS
18871 echo >>$CONFIG_STATUS
18872
18873 # Break up conftest.undefs because some shells have a limit on the size
18874 # of here documents, and old seds have small limits too (100 cmds).
18875 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
18876 rm -f conftest.tail
18877 while grep . conftest.undefs >/dev/null
18878 do
18879 # Write a limited-size here document to $tmp/undefs.sed.
18880 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
18881 # Speed up: don't consider the non `#undef'
18882 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
18883 # Work around the forget-to-reset-the-flag bug.
18884 echo 't clr' >>$CONFIG_STATUS
18885 echo ': clr' >>$CONFIG_STATUS
18886 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
18887 echo 'CEOF
18888 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
18889 rm -f $tmp/in
18890 mv $tmp/out $tmp/in
18891 ' >>$CONFIG_STATUS
18892 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
18893 rm -f conftest.undefs
18894 mv conftest.tail conftest.undefs
18895 done
18896 rm -f conftest.undefs
18897
18898 cat >>$CONFIG_STATUS <<\_ACEOF
18899 # Let's still pretend it is `configure' which instantiates (i.e., don't
18900 # use $as_me), people would be surprised to read:
18901 # /* config.h. Generated by config.status. */
18902 if test x"$ac_file" = x-; then
18903 echo "/* Generated by configure. */" >$tmp/config.h
18904 else
18905 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
18906 fi
18907 cat $tmp/in >>$tmp/config.h
18908 rm -f $tmp/in
18909 if test x"$ac_file" != x-; then
18910 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
18911 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
18912 echo "$as_me: $ac_file is unchanged" >&6;}
18913 else
18914 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
18915 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18916 X"$ac_file" : 'X\(//\)[^/]' \| \
18917 X"$ac_file" : 'X\(//\)$' \| \
18918 X"$ac_file" : 'X\(/\)' \| \
18919 . : '\(.\)' 2>/dev/null ||
18920 echo X"$ac_file" |
18921 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18922 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18923 /^X\(\/\/\)$/{ s//\1/; q; }
18924 /^X\(\/\).*/{ s//\1/; q; }
18925 s/.*/./; q'`
18926 { if $as_mkdir_p; then
18927 mkdir -p "$ac_dir"
18928 else
18929 as_dir="$ac_dir"
18930 as_dirs=
18931 while test ! -d "$as_dir"; do
18932 as_dirs="$as_dir $as_dirs"
18933 as_dir=`(dirname "$as_dir") 2>/dev/null ||
18934 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18935 X"$as_dir" : 'X\(//\)[^/]' \| \
18936 X"$as_dir" : 'X\(//\)$' \| \
18937 X"$as_dir" : 'X\(/\)' \| \
18938 . : '\(.\)' 2>/dev/null ||
18939 echo X"$as_dir" |
18940 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18941 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18942 /^X\(\/\/\)$/{ s//\1/; q; }
18943 /^X\(\/\).*/{ s//\1/; q; }
18944 s/.*/./; q'`
18945 done
18946 test ! -n "$as_dirs" || mkdir $as_dirs
18947 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18948 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18949 { (exit 1); exit 1; }; }; }
18950
18951 rm -f $ac_file
18952 mv $tmp/config.h $ac_file
18953 fi
18954 else
18955 cat $tmp/config.h
18956 rm -f $tmp/config.h
18957 fi
18958 # Compute $ac_file's index in $config_headers.
18959 _am_stamp_count=1
18960 for _am_header in $config_headers :; do
18961 case $_am_header in
18962 $ac_file | $ac_file:* )
18963 break ;;
18964 * )
18965 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18966 esac
18967 done
18968 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
18969 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18970 X$ac_file : 'X\(//\)[^/]' \| \
18971 X$ac_file : 'X\(//\)$' \| \
18972 X$ac_file : 'X\(/\)' \| \
18973 . : '\(.\)' 2>/dev/null ||
18974 echo X$ac_file |
18975 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18976 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18977 /^X\(\/\/\)$/{ s//\1/; q; }
18978 /^X\(\/\).*/{ s//\1/; q; }
18979 s/.*/./; q'`/stamp-h$_am_stamp_count
18980 done
18981 _ACEOF
18982 cat >>$CONFIG_STATUS <<\_ACEOF
18983
18984 #
18985 # CONFIG_LINKS section.
18986 #
18987
18988 for ac_file in : $CONFIG_LINKS; do test "x$ac_file" = x: && continue
18989 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
18990 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
18991
18992 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
18993 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
18994
18995 if test ! -r $srcdir/$ac_source; then
18996 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
18997 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
18998 { (exit 1); exit 1; }; }
18999 fi
19000 rm -f $ac_dest
19001
19002 # Make relative symlinks.
19003 ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null ||
19004 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19005 X"$ac_dest" : 'X\(//\)[^/]' \| \
19006 X"$ac_dest" : 'X\(//\)$' \| \
19007 X"$ac_dest" : 'X\(/\)' \| \
19008 . : '\(.\)' 2>/dev/null ||
19009 echo X"$ac_dest" |
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_dest_dir"
19017 else
19018 as_dir="$ac_dest_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_dest_dir\"" >&5
19037 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
19038 { (exit 1); exit 1; }; }; }
19039
19040 ac_builddir=.
19041
19042 if test "$ac_dest_dir" != .; then
19043 ac_dir_suffix=/`echo "$ac_dest_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_dest_dir";;
19070 *)
19071 case "$ac_dest_dir" in
19072 .) ac_abs_builddir=`pwd`;;
19073 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";;
19074 *) ac_abs_builddir=`pwd`/"$ac_dest_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 $srcdir in
19107 [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
19108 *) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;;
19109 esac
19110
19111 # Try a symlink, then a hard link, then a copy.
19112 ln -s $ac_rel_source $ac_dest 2>/dev/null ||
19113 ln $srcdir/$ac_source $ac_dest 2>/dev/null ||
19114 cp -p $srcdir/$ac_source $ac_dest ||
19115 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
19116 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
19117 { (exit 1); exit 1; }; }
19118 done
19119 _ACEOF
19120 cat >>$CONFIG_STATUS <<\_ACEOF
19121
19122 #
19123 # CONFIG_COMMANDS section.
19124 #
19125 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
19126 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
19127 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
19128 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
19129 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19130 X"$ac_dest" : 'X\(//\)[^/]' \| \
19131 X"$ac_dest" : 'X\(//\)$' \| \
19132 X"$ac_dest" : 'X\(/\)' \| \
19133 . : '\(.\)' 2>/dev/null ||
19134 echo X"$ac_dest" |
19135 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19136 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19137 /^X\(\/\/\)$/{ s//\1/; q; }
19138 /^X\(\/\).*/{ s//\1/; q; }
19139 s/.*/./; q'`
19140 { if $as_mkdir_p; then
19141 mkdir -p "$ac_dir"
19142 else
19143 as_dir="$ac_dir"
19144 as_dirs=
19145 while test ! -d "$as_dir"; do
19146 as_dirs="$as_dir $as_dirs"
19147 as_dir=`(dirname "$as_dir") 2>/dev/null ||
19148 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19149 X"$as_dir" : 'X\(//\)[^/]' \| \
19150 X"$as_dir" : 'X\(//\)$' \| \
19151 X"$as_dir" : 'X\(/\)' \| \
19152 . : '\(.\)' 2>/dev/null ||
19153 echo X"$as_dir" |
19154 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19155 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19156 /^X\(\/\/\)$/{ s//\1/; q; }
19157 /^X\(\/\).*/{ s//\1/; q; }
19158 s/.*/./; q'`
19159 done
19160 test ! -n "$as_dirs" || mkdir $as_dirs
19161 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
19162 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
19163 { (exit 1); exit 1; }; }; }
19164
19165 ac_builddir=.
19166
19167 if test "$ac_dir" != .; then
19168 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
19169 # A "../" for each directory in $ac_dir_suffix.
19170 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
19171 else
19172 ac_dir_suffix= ac_top_builddir=
19173 fi
19174
19175 case $srcdir in
19176 .) # No --srcdir option. We are building in place.
19177 ac_srcdir=.
19178 if test -z "$ac_top_builddir"; then
19179 ac_top_srcdir=.
19180 else
19181 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
19182 fi ;;
19183 [\\/]* | ?:[\\/]* ) # Absolute path.
19184 ac_srcdir=$srcdir$ac_dir_suffix;
19185 ac_top_srcdir=$srcdir ;;
19186 *) # Relative path.
19187 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
19188 ac_top_srcdir=$ac_top_builddir$srcdir ;;
19189 esac
19190
19191 # Do not use `cd foo && pwd` to compute absolute paths, because
19192 # the directories may not exist.
19193 case `pwd` in
19194 .) ac_abs_builddir="$ac_dir";;
19195 *)
19196 case "$ac_dir" in
19197 .) ac_abs_builddir=`pwd`;;
19198 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
19199 *) ac_abs_builddir=`pwd`/"$ac_dir";;
19200 esac;;
19201 esac
19202 case $ac_abs_builddir in
19203 .) ac_abs_top_builddir=${ac_top_builddir}.;;
19204 *)
19205 case ${ac_top_builddir}. in
19206 .) ac_abs_top_builddir=$ac_abs_builddir;;
19207 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
19208 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
19209 esac;;
19210 esac
19211 case $ac_abs_builddir in
19212 .) ac_abs_srcdir=$ac_srcdir;;
19213 *)
19214 case $ac_srcdir in
19215 .) ac_abs_srcdir=$ac_abs_builddir;;
19216 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
19217 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
19218 esac;;
19219 esac
19220 case $ac_abs_builddir in
19221 .) ac_abs_top_srcdir=$ac_top_srcdir;;
19222 *)
19223 case $ac_top_srcdir in
19224 .) ac_abs_top_srcdir=$ac_abs_builddir;;
19225 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
19226 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
19227 esac;;
19228 esac
19229
19230
19231 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
19232 echo "$as_me: executing $ac_dest commands" >&6;}
19233 case $ac_dest in
19234 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
19235 # Strip MF so we end up with the name of the file.
19236 mf=`echo "$mf" | sed -e 's/:.*$//'`
19237 # Check whether this is an Automake generated Makefile or not.
19238 # We used to match only the files named `Makefile.in', but
19239 # some people rename them; so instead we look at the file content.
19240 # Grep'ing the first line is not enough: some people post-process
19241 # each Makefile.in and add a new line on top of each file to say so.
19242 # So let's grep whole file.
19243 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
19244 dirpart=`(dirname "$mf") 2>/dev/null ||
19245 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19246 X"$mf" : 'X\(//\)[^/]' \| \
19247 X"$mf" : 'X\(//\)$' \| \
19248 X"$mf" : 'X\(/\)' \| \
19249 . : '\(.\)' 2>/dev/null ||
19250 echo X"$mf" |
19251 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19252 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19253 /^X\(\/\/\)$/{ s//\1/; q; }
19254 /^X\(\/\).*/{ s//\1/; q; }
19255 s/.*/./; q'`
19256 else
19257 continue
19258 fi
19259 # Extract the definition of DEPDIR, am__include, and am__quote
19260 # from the Makefile without running `make'.
19261 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
19262 test -z "$DEPDIR" && continue
19263 am__include=`sed -n 's/^am__include = //p' < "$mf"`
19264 test -z "am__include" && continue
19265 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
19266 # When using ansi2knr, U may be empty or an underscore; expand it
19267 U=`sed -n 's/^U = //p' < "$mf"`
19268 # Find all dependency output files, they are included files with
19269 # $(DEPDIR) in their names. We invoke sed twice because it is the
19270 # simplest approach to changing $(DEPDIR) to its actual value in the
19271 # expansion.
19272 for file in `sed -n "
19273 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19274 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
19275 # Make sure the directory exists.
19276 test -f "$dirpart/$file" && continue
19277 fdir=`(dirname "$file") 2>/dev/null ||
19278 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19279 X"$file" : 'X\(//\)[^/]' \| \
19280 X"$file" : 'X\(//\)$' \| \
19281 X"$file" : 'X\(/\)' \| \
19282 . : '\(.\)' 2>/dev/null ||
19283 echo X"$file" |
19284 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19285 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19286 /^X\(\/\/\)$/{ s//\1/; q; }
19287 /^X\(\/\).*/{ s//\1/; q; }
19288 s/.*/./; q'`
19289 { if $as_mkdir_p; then
19290 mkdir -p $dirpart/$fdir
19291 else
19292 as_dir=$dirpart/$fdir
19293 as_dirs=
19294 while test ! -d "$as_dir"; do
19295 as_dirs="$as_dir $as_dirs"
19296 as_dir=`(dirname "$as_dir") 2>/dev/null ||
19297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19298 X"$as_dir" : 'X\(//\)[^/]' \| \
19299 X"$as_dir" : 'X\(//\)$' \| \
19300 X"$as_dir" : 'X\(/\)' \| \
19301 . : '\(.\)' 2>/dev/null ||
19302 echo X"$as_dir" |
19303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19304 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19305 /^X\(\/\/\)$/{ s//\1/; q; }
19306 /^X\(\/\).*/{ s//\1/; q; }
19307 s/.*/./; q'`
19308 done
19309 test ! -n "$as_dirs" || mkdir $as_dirs
19310 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
19311 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
19312 { (exit 1); exit 1; }; }; }
19313
19314 # echo "creating $dirpart/$file"
19315 echo '# dummy' > "$dirpart/$file"
19316 done
19317 done
19318 ;;
19319 mkcollections.pl ) chmod 755 lib/mkcollections.pl ;;
19320 $ac_stdint_h )
19321 { echo "$as_me:$LINENO: creating $ac_stdint_h : $_ac_stdint_h" >&5
19322 echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
19323 ac_stdint=$tmp/_stdint.h
19324
19325 echo "#ifndef" $_ac_stdint_h >$ac_stdint
19326 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
19327 echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint
19328 echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint
19329 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
19330 if test "_$ac_cv_header_stdint_t" != "_" ; then
19331 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
19332 echo "#include <stdint.h>" >>$ac_stdint
19333 echo "#endif" >>$ac_stdint
19334 echo "#endif" >>$ac_stdint
19335 else
19336
19337 cat >>$ac_stdint <<STDINT_EOF
19338
19339 /* ................... shortcircuit part ........................... */
19340
19341 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
19342 #include <stdint.h>
19343 #else
19344 #include <stddef.h>
19345
19346 /* .................... configured part ............................ */
19347
19348 STDINT_EOF
19349
19350 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
19351 if test "_$ac_cv_header_stdint_x" != "_" ; then
19352 ac_header="$ac_cv_header_stdint_x"
19353 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
19354 else
19355 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
19356 fi
19357
19358 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
19359 if test "_$ac_cv_header_stdint_o" != "_" ; then
19360 ac_header="$ac_cv_header_stdint_o"
19361 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
19362 else
19363 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
19364 fi
19365
19366 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
19367 if test "_$ac_cv_header_stdint_u" != "_" ; then
19368 ac_header="$ac_cv_header_stdint_u"
19369 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
19370 else
19371 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
19372 fi
19373
19374 echo "" >>$ac_stdint
19375
19376 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
19377 echo "#include <$ac_header>" >>$ac_stdint
19378 echo "" >>$ac_stdint
19379 fi fi
19380
19381 echo "/* which 64bit typedef has been found */" >>$ac_stdint
19382 if test "$ac_cv_type_uint64_t" = "yes" ; then
19383 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
19384 else
19385 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
19386 fi
19387 if test "$ac_cv_type_u_int64_t" = "yes" ; then
19388 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
19389 else
19390 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
19391 fi
19392 echo "" >>$ac_stdint
19393
19394 echo "/* which type model has been detected */" >>$ac_stdint
19395 if test "_$ac_cv_char_data_model" != "_" ; then
19396 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
19397 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
19398 else
19399 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
19400 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
19401 fi
19402 echo "" >>$ac_stdint
19403
19404 echo "/* whether int_least types were detected */" >>$ac_stdint
19405 if test "$ac_cv_type_int_least32_t" = "yes"; then
19406 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
19407 else
19408 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
19409 fi
19410 echo "/* whether int_fast types were detected */" >>$ac_stdint
19411 if test "$ac_cv_type_int_fast32_t" = "yes"; then
19412 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
19413 else
19414 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
19415 fi
19416 echo "/* whether intmax_t type was detected */" >>$ac_stdint
19417 if test "$ac_cv_type_intmax_t" = "yes"; then
19418 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
19419 else
19420 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
19421 fi
19422 echo "" >>$ac_stdint
19423
19424 cat >>$ac_stdint <<STDINT_EOF
19425 /* .................... detections part ............................ */
19426
19427 /* whether we need to define bitspecific types from compiler base types */
19428 #ifndef _STDINT_HEADER_INTPTR
19429 #ifndef _STDINT_HEADER_UINT32
19430 #ifndef _STDINT_HEADER_U_INT32
19431 #define _STDINT_NEED_INT_MODEL_T
19432 #else
19433 #define _STDINT_HAVE_U_INT_TYPES
19434 #endif
19435 #endif
19436 #endif
19437
19438 #ifdef _STDINT_HAVE_U_INT_TYPES
19439 #undef _STDINT_NEED_INT_MODEL_T
19440 #endif
19441
19442 #ifdef _STDINT_CHAR_MODEL
19443 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
19444 #ifndef _STDINT_BYTE_MODEL
19445 #define _STDINT_BYTE_MODEL 12
19446 #endif
19447 #endif
19448 #endif
19449
19450 #ifndef _STDINT_HAVE_INT_LEAST32_T
19451 #define _STDINT_NEED_INT_LEAST_T
19452 #endif
19453
19454 #ifndef _STDINT_HAVE_INT_FAST32_T
19455 #define _STDINT_NEED_INT_FAST_T
19456 #endif
19457
19458 #ifndef _STDINT_HEADER_INTPTR
19459 #define _STDINT_NEED_INTPTR_T
19460 #ifndef _STDINT_HAVE_INTMAX_T
19461 #define _STDINT_NEED_INTMAX_T
19462 #endif
19463 #endif
19464
19465
19466 /* .................... definition part ............................ */
19467
19468 /* some system headers have good uint64_t */
19469 #ifndef _HAVE_UINT64_T
19470 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
19471 #define _HAVE_UINT64_T
19472 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
19473 #define _HAVE_UINT64_T
19474 typedef u_int64_t uint64_t;
19475 #endif
19476 #endif
19477
19478 #ifndef _HAVE_UINT64_T
19479 /* .. here are some common heuristics using compiler runtime specifics */
19480 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
19481 #define _HAVE_UINT64_T
19482 #define _HAVE_LONGLONG_UINT64_T
19483 typedef long long int64_t;
19484 typedef unsigned long long uint64_t;
19485
19486 #elif !defined __STRICT_ANSI__
19487 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
19488 #define _HAVE_UINT64_T
19489 typedef __int64 int64_t;
19490 typedef unsigned __int64 uint64_t;
19491
19492 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
19493 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
19494 #if !defined _NO_LONGLONG
19495 #define _HAVE_UINT64_T
19496 #define _HAVE_LONGLONG_UINT64_T
19497 typedef long long int64_t;
19498 typedef unsigned long long uint64_t;
19499 #endif
19500
19501 #elif defined __alpha || (defined __mips && defined _ABIN32)
19502 #if !defined _NO_LONGLONG
19503 typedef long int64_t;
19504 typedef unsigned long uint64_t;
19505 #endif
19506 /* compiler/cpu type to define int64_t */
19507 #endif
19508 #endif
19509 #endif
19510
19511 #if defined _STDINT_HAVE_U_INT_TYPES
19512 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
19513 typedef u_int8_t uint8_t;
19514 typedef u_int16_t uint16_t;
19515 typedef u_int32_t uint32_t;
19516
19517 /* glibc compatibility */
19518 #ifndef __int8_t_defined
19519 #define __int8_t_defined
19520 #endif
19521 #endif
19522
19523 #ifdef _STDINT_NEED_INT_MODEL_T
19524 /* we must guess all the basic types. Apart from byte-adressable system, */
19525 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
19526 /* (btw, those nibble-addressable systems are way off, or so we assume) */
19527
19528
19529 #if defined _STDINT_BYTE_MODEL
19530 #if _STDINT_LONG_MODEL+0 == 242
19531 /* 2:4:2 = IP16 = a normal 16-bit system */
19532 typedef unsigned char uint8_t;
19533 typedef unsigned short uint16_t;
19534 typedef unsigned long uint32_t;
19535 #ifndef __int8_t_defined
19536 #define __int8_t_defined
19537 typedef char int8_t;
19538 typedef short int16_t;
19539 typedef long int32_t;
19540 #endif
19541 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
19542 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
19543 /* 4:4:4 = ILP32 = a normal 32-bit system */
19544 typedef unsigned char uint8_t;
19545 typedef unsigned short uint16_t;
19546 typedef unsigned int uint32_t;
19547 #ifndef __int8_t_defined
19548 #define __int8_t_defined
19549 typedef char int8_t;
19550 typedef short int16_t;
19551 typedef int int32_t;
19552 #endif
19553 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
19554 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
19555 /* 4:8:8 = LP64 = a normal 64-bit system */
19556 typedef unsigned char uint8_t;
19557 typedef unsigned short uint16_t;
19558 typedef unsigned int uint32_t;
19559 #ifndef __int8_t_defined
19560 #define __int8_t_defined
19561 typedef char int8_t;
19562 typedef short int16_t;
19563 typedef int int32_t;
19564 #endif
19565 /* this system has a "long" of 64bit */
19566 #ifndef _HAVE_UINT64_T
19567 #define _HAVE_UINT64_T
19568 typedef unsigned long uint64_t;
19569 typedef long int64_t;
19570 #endif
19571 #elif _STDINT_LONG_MODEL+0 == 448
19572 /* LLP64 a 64-bit system derived from a 32-bit system */
19573 typedef unsigned char uint8_t;
19574 typedef unsigned short uint16_t;
19575 typedef unsigned int uint32_t;
19576 #ifndef __int8_t_defined
19577 #define __int8_t_defined
19578 typedef char int8_t;
19579 typedef short int16_t;
19580 typedef int int32_t;
19581 #endif
19582 /* assuming the system has a "long long" */
19583 #ifndef _HAVE_UINT64_T
19584 #define _HAVE_UINT64_T
19585 #define _HAVE_LONGLONG_UINT64_T
19586 typedef unsigned long long uint64_t;
19587 typedef long long int64_t;
19588 #endif
19589 #else
19590 #define _STDINT_NO_INT32_T
19591 #endif
19592 #else
19593 #define _STDINT_NO_INT8_T
19594 #define _STDINT_NO_INT32_T
19595 #endif
19596 #endif
19597
19598 /*
19599 * quote from SunOS-5.8 sys/inttypes.h:
19600 * Use at your own risk. As of February 1996, the committee is squarely
19601 * behind the fixed sized types; the "least" and "fast" types are still being
19602 * discussed. The probability that the "fast" types may be removed before
19603 * the standard is finalized is high enough that they are not currently
19604 * implemented.
19605 */
19606
19607 #if defined _STDINT_NEED_INT_LEAST_T
19608 typedef int8_t int_least8_t;
19609 typedef int16_t int_least16_t;
19610 typedef int32_t int_least32_t;
19611 #ifdef _HAVE_UINT64_T
19612 typedef int64_t int_least64_t;
19613 #endif
19614
19615 typedef uint8_t uint_least8_t;
19616 typedef uint16_t uint_least16_t;
19617 typedef uint32_t uint_least32_t;
19618 #ifdef _HAVE_UINT64_T
19619 typedef uint64_t uint_least64_t;
19620 #endif
19621 /* least types */
19622 #endif
19623
19624 #if defined _STDINT_NEED_INT_FAST_T
19625 typedef int8_t int_fast8_t;
19626 typedef int int_fast16_t;
19627 typedef int32_t int_fast32_t;
19628 #ifdef _HAVE_UINT64_T
19629 typedef int64_t int_fast64_t;
19630 #endif
19631
19632 typedef uint8_t uint_fast8_t;
19633 typedef unsigned uint_fast16_t;
19634 typedef uint32_t uint_fast32_t;
19635 #ifdef _HAVE_UINT64_T
19636 typedef uint64_t uint_fast64_t;
19637 #endif
19638 /* fast types */
19639 #endif
19640
19641 #ifdef _STDINT_NEED_INTMAX_T
19642 #ifdef _HAVE_UINT64_T
19643 typedef int64_t intmax_t;
19644 typedef uint64_t uintmax_t;
19645 #else
19646 typedef long intmax_t;
19647 typedef unsigned long uintmax_t;
19648 #endif
19649 #endif
19650
19651 #ifdef _STDINT_NEED_INTPTR_T
19652 #ifndef __intptr_t_defined
19653 #define __intptr_t_defined
19654 /* we encourage using "long" to store pointer values, never use "int" ! */
19655 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
19656 typedef unsigned int uintptr_t;
19657 typedef int intptr_t;
19658 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
19659 typedef unsigned long uintptr_t;
19660 typedef long intptr_t;
19661 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
19662 typedef uint64_t uintptr_t;
19663 typedef int64_t intptr_t;
19664 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
19665 typedef unsigned long uintptr_t;
19666 typedef long intptr_t;
19667 #endif
19668 #endif
19669 #endif
19670
19671 /* The ISO C99 standard specifies that in C++ implementations these
19672 should only be defined if explicitly requested. */
19673 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
19674 #ifndef UINT32_C
19675
19676 /* Signed. */
19677 # define INT8_C(c) c
19678 # define INT16_C(c) c
19679 # define INT32_C(c) c
19680 # ifdef _HAVE_LONGLONG_UINT64_T
19681 # define INT64_C(c) c ## L
19682 # else
19683 # define INT64_C(c) c ## LL
19684 # endif
19685
19686 /* Unsigned. */
19687 # define UINT8_C(c) c ## U
19688 # define UINT16_C(c) c ## U
19689 # define UINT32_C(c) c ## U
19690 # ifdef _HAVE_LONGLONG_UINT64_T
19691 # define UINT64_C(c) c ## UL
19692 # else
19693 # define UINT64_C(c) c ## ULL
19694 # endif
19695
19696 /* Maximal type. */
19697 # ifdef _HAVE_LONGLONG_UINT64_T
19698 # define INTMAX_C(c) c ## L
19699 # define UINTMAX_C(c) c ## UL
19700 # else
19701 # define INTMAX_C(c) c ## LL
19702 # define UINTMAX_C(c) c ## ULL
19703 # endif
19704
19705 /* literalnumbers */
19706 #endif
19707 #endif
19708
19709 /* These limits are merily those of a two complement byte-oriented system */
19710
19711 /* Minimum of signed integral types. */
19712 # define INT8_MIN (-128)
19713 # define INT16_MIN (-32767-1)
19714 # define INT32_MIN (-2147483647-1)
19715 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
19716 /* Maximum of signed integral types. */
19717 # define INT8_MAX (127)
19718 # define INT16_MAX (32767)
19719 # define INT32_MAX (2147483647)
19720 # define INT64_MAX (__INT64_C(9223372036854775807))
19721
19722 /* Maximum of unsigned integral types. */
19723 # define UINT8_MAX (255)
19724 # define UINT16_MAX (65535)
19725 # define UINT32_MAX (4294967295U)
19726 # define UINT64_MAX (__UINT64_C(18446744073709551615))
19727
19728 /* Minimum of signed integral types having a minimum size. */
19729 # define INT_LEAST8_MIN INT8_MIN
19730 # define INT_LEAST16_MIN INT16_MIN
19731 # define INT_LEAST32_MIN INT32_MIN
19732 # define INT_LEAST64_MIN INT64_MIN
19733 /* Maximum of signed integral types having a minimum size. */
19734 # define INT_LEAST8_MAX INT8_MAX
19735 # define INT_LEAST16_MAX INT16_MAX
19736 # define INT_LEAST32_MAX INT32_MAX
19737 # define INT_LEAST64_MAX INT64_MAX
19738
19739 /* Maximum of unsigned integral types having a minimum size. */
19740 # define UINT_LEAST8_MAX UINT8_MAX
19741 # define UINT_LEAST16_MAX UINT16_MAX
19742 # define UINT_LEAST32_MAX UINT32_MAX
19743 # define UINT_LEAST64_MAX UINT64_MAX
19744
19745 /* shortcircuit*/
19746 #endif
19747 /* once */
19748 #endif
19749 #endif
19750 STDINT_EOF
19751 fi
19752 if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then
19753 { echo "$as_me:$LINENO: $ac_stdint_h is unchanged" >&5
19754 echo "$as_me: $ac_stdint_h is unchanged" >&6;}
19755 else
19756 ac_dir=`(dirname "$ac_stdint_h") 2>/dev/null ||
19757 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19758 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
19759 X"$ac_stdint_h" : 'X\(//\)$' \| \
19760 X"$ac_stdint_h" : 'X\(/\)' \| \
19761 . : '\(.\)' 2>/dev/null ||
19762 echo X"$ac_stdint_h" |
19763 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19764 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19765 /^X\(\/\/\)$/{ s//\1/; q; }
19766 /^X\(\/\).*/{ s//\1/; q; }
19767 s/.*/./; q'`
19768 { if $as_mkdir_p; then
19769 mkdir -p "$ac_dir"
19770 else
19771 as_dir="$ac_dir"
19772 as_dirs=
19773 while test ! -d "$as_dir"; do
19774 as_dirs="$as_dir $as_dirs"
19775 as_dir=`(dirname "$as_dir") 2>/dev/null ||
19776 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19777 X"$as_dir" : 'X\(//\)[^/]' \| \
19778 X"$as_dir" : 'X\(//\)$' \| \
19779 X"$as_dir" : 'X\(/\)' \| \
19780 . : '\(.\)' 2>/dev/null ||
19781 echo X"$as_dir" |
19782 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19783 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19784 /^X\(\/\/\)$/{ s//\1/; q; }
19785 /^X\(\/\).*/{ s//\1/; q; }
19786 s/.*/./; q'`
19787 done
19788 test ! -n "$as_dirs" || mkdir $as_dirs
19789 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
19790 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
19791 { (exit 1); exit 1; }; }; }
19792
19793 rm -f $ac_stdint_h
19794 mv $ac_stdint $ac_stdint_h
19795 fi
19796 ;;
19797 gen-classlist ) chmod 755 lib/gen-classlist.sh ;;
19798 copy-vmresources ) chmod 755 lib/copy-vmresources.sh ;;
19799 esac
19800 done
19801 _ACEOF
19802
19803 cat >>$CONFIG_STATUS <<\_ACEOF
19804
19805 { (exit 0); exit 0; }
19806 _ACEOF
19807 chmod +x $CONFIG_STATUS
19808 ac_clean_files=$ac_clean_files_save
19809
19810
19811 # configure is writing to config.log, and then calls config.status.
19812 # config.status does its own redirection, appending to config.log.
19813 # Unfortunately, on DOS this fails, as config.log is still kept open
19814 # by configure, so config.status won't be able to write to it; its
19815 # output is simply discarded. So we exec the FD to /dev/null,
19816 # effectively closing config.log, so it can be properly (re)opened and
19817 # appended to by config.status. When coming back to configure, we
19818 # need to make the FD available again.
19819 if test "$no_create" != yes; then
19820 ac_cs_success=:
19821 ac_config_status_args=
19822 test "$silent" = yes &&
19823 ac_config_status_args="$ac_config_status_args --quiet"
19824 exec 5>/dev/null
19825 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19826 exec 5>>config.log
19827 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19828 # would make configure fail if this is the last instruction.
19829 $ac_cs_success || { (exit 1); exit 1; }
19830 fi
19831