Readd missing chunks from r116332:
[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.94-pre.
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.94-pre'
273 PACKAGE_STRING='GNU Classpath 0.94-pre'
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 JAVA_MAINTAINER_MODE_TRUE JAVA_MAINTAINER_MODE_FALSE LIBVERSION CLASSPATH_MODULE CLASSPATH_CONVENIENCE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CREATE_COLLECTIONS_TRUE CREATE_COLLECTIONS_FALSE CREATE_JNI_LIBRARIES_TRUE CREATE_JNI_LIBRARIES_FALSE CREATE_CORE_JNI_LIBRARIES_TRUE CREATE_CORE_JNI_LIBRARIES_FALSE CREATE_GCONF_PEER_LIBRARIES_TRUE CREATE_GCONF_PEER_LIBRARIES_FALSE default_toolkit CREATE_XMLJ_LIBRARY_TRUE CREATE_XMLJ_LIBRARY_FALSE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP CREATE_ALSA_LIBRARIES_TRUE CREATE_ALSA_LIBRARIES_FALSE CREATE_DSSI_LIBRARIES_TRUE CREATE_DSSI_LIBRARIES_FALSE CREATE_GTK_PEER_LIBRARIES_TRUE CREATE_GTK_PEER_LIBRARIES_FALSE CREATE_QT_PEER_LIBRARIES_TRUE CREATE_QT_PEER_LIBRARIES_FALSE CREATE_PLUGIN_TRUE CREATE_PLUGIN_FALSE toolexeclibdir nativeexeclibdir glibjdir VM_BINARY FOUND_CACAO_TRUE FOUND_CACAO_FALSE CREATE_JNI_HEADERS_TRUE CREATE_JNI_HEADERS_FALSE CREATE_WRAPPERS_TRUE CREATE_WRAPPERS_FALSE LN_S RANLIB ac_ct_RANLIB LIBTOOL CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP PERL COLLECTIONS_PREFIX LIBMAGIC LIBICONV LTLIBICONV WARNING_CFLAGS STRICT_WARNING_CFLAGS ERROR_CFLAGS PKG_CONFIG XML_CFLAGS XML_LIBS XSLT_CFLAGS XSLT_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS GTK_CFLAGS GTK_LIBS FREETYPE2_CFLAGS FREETYPE2_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS XTEST_LIBS GCONF_CFLAGS GCONF_LIBS GDK_CFLAGS GDK_LIBS QT_CFLAGS QT_LIBS MOC MOZILLA_CFLAGS MOZILLA_LIBS GLIB_CFLAGS GLIB_LIBS PLUGIN_DIR USER_JAVAH USER_SPECIFIED_JAVAH_TRUE USER_SPECIFIED_JAVAH_FALSE CLASSPATH_INCLUDES GCJ JIKES JIKESENCODING JIKESWARNINGS KJC GCJX ECJ FOUND_GCJ_TRUE FOUND_GCJ_FALSE FOUND_JIKES_TRUE FOUND_JIKES_FALSE FOUND_ECJ_TRUE FOUND_ECJ_FALSE FOUND_KJC_TRUE FOUND_KJC_FALSE FOUND_GCJX_TRUE FOUND_GCJX_FALSE USER_CLASSLIB USER_SPECIFIED_CLASSLIB_TRUE USER_SPECIFIED_CLASSLIB_FALSE vm_classes MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBDEBUG INIT_LOAD_LIBRARY JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION REMOVE MKDIR CP DATE FIND ZIP FASTJAR INSTALL_GLIBJ_ZIP_TRUE INSTALL_GLIBJ_ZIP_FALSE INSTALL_CLASS_FILES_TRUE INSTALL_CLASS_FILES_FALSE BUILD_CLASS_FILES_TRUE BUILD_CLASS_FILES_FALSE EXAMPLESDIR GJDOC CREATE_API_DOCS_TRUE CREATE_API_DOCS_FALSE JAY JAY_SKELETON REGEN_PARSERS_TRUE REGEN_PARSERS_FALSE USE_PREBUILT_GLIBJ_ZIP_TRUE USE_PREBUILT_GLIBJ_ZIP_FALSE PATH_TO_GLIBJ_ZIP USE_ESCHER_TRUE USE_ESCHER_FALSE PATH_TO_ESCHER ENABLE_LOCAL_SOCKETS_TRUE ENABLE_LOCAL_SOCKETS_FALSE DEFAULT_PREFS_PEER LIBOBJS LTLIBOBJS'
316 ac_subst_files=''
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.94-pre 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.94-pre:";;
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-java-maintainer-mode
875 allow rebuilding of .class and .h files
876 --enable-collections create collections.jar default=no
877 --enable-jni compile JNI source default=yes
878 --enable-core-jni compile JNI sources for core default=yes
879 --enable-default-preferences-peer[=peer type or class name]
880 specify one of: "gconf" [default] for a GConf based
881 backend, "file" for a file based one, "memory" for a
882 transient one, or a fully qualified class name
883 implementing java.util.prefs.PreferencesFactory
884 --disable-gconf-peer compile GConf native peers (disabled by
885 --disable-jni) default=yes
886
887 --enable-Werror whether to compile C code with -Werror which turns
888 any compiler warning into a compilation failure
889 default=no
890 --enable-default-toolkit
891 fully qualified class name of default AWT toolkit
892 --enable-xmlj compile native libxml/xslt library default=no
893 --disable-alsa compile ALSA providers (enable by --enable-alsa)
894 default=yes
895 --disable-dependency-tracking speeds up one-time build
896 --enable-dependency-tracking do not reject slow dependency extractors
897 --disable-dssi compile DSSI providers (enable by --enable-dssi)
898 default=yes
899 --disable-gtk-peer compile GTK native peers (disabled by --disable-jni)
900 default=yes
901 --enable-qt-peer compile Qt4 native peers (disabled by --disable-jni)
902 default=no
903 --disable-plugin compile gcjwebplugin (disabled by --disable-plugin)
904 default=yes
905 --enable-regen-headers automatically regenerate JNI headers default=no
906 --enable-tool-wrappers create tool wrapper binaries default=no
907 --enable-static=PKGS build static libraries default=no
908 --enable-shared=PKGS build shared libraries default=yes
909 --enable-fast-install=PKGS optimize for fast installation default=yes
910 --disable-libtool-lock avoid locking (might break parallel builds)
911 --disable-rpath do not hardcode runtime library paths
912 --enable-maintainer-mode enable make rules and dependencies not useful
913 (and sometimes confusing) to the casual installer
914 --enable-debug enable runtime debugging code
915 --enable-load-library enable to use JNI native methods default=yes
916 --enable-java-lang-system-explicit-initialization
917 will the VM explicitly invoke java.lang.System's
918 static initialization methods default=no
919 --enable-examples enable build of the examples default=yes
920 --enable-portable-native-sync
921 synchronize VM threads portably
922 --enable-local-sockets enables local (AF_LOCAL) socket API default: no
923
924 Optional Packages:
925 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
926 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
927 --with-native-libdir sets the installation directory for native libraries
928 default='${libdir}/${PACKAGE}'
929 --with-glibj-dir sets the installation directory for glibj.zip
930 default='${libdir}/${PACKAGE}'
931 --with-vm sets the VM binary name
932 default='${prefix}/bin/jamvm'
933 --with-gnu-ld assume the C compiler uses GNU ld default=no
934 --with-pic try to use only PIC/non-PIC objects default=use both
935 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
936 --without-libiconv-prefix don't search for libiconv in includedir and libdir
937 --with-x use the X Window System
938 --with-qt4dir=DIR Qt4 installation directory used for OS-X. For other
939 systems use pkg-config.
940 --with-javah specify path or name of a javah-like program
941 --with-gcj bytecode compilation with gcj
942 --with-jikes bytecode compilation with jikes
943 --with-kjc bytecode compilation with kjc
944 --with-gcjx bytecode compilation with gcjx
945 --with-ecj bytecode compilation with ecj
946 --with-classpath specify path to a classes.zip like file
947 --with-vm-classes specify path to VM override source files
948 --with-fastjar=PATH define to use a fastjar style tool
949 --with-glibj define what to install (zip|flat|both|none|build)
950 [default=zip]
951 --with-gjdoc generate documentation using gjdoc (default is NO)
952 --with-jay Regenerate the parsers with jay must be given the
953 path to the jay executable
954 --with-glibj-zip=ABS.PATH
955 use prebuilt glibj.zip class library
956 --with-escher=ABS.PATH specify path to escher dir or JAR for X peers
957
958 Some influential environment variables:
959 CC C compiler command
960 CFLAGS C compiler flags
961 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
962 nonstandard directory <lib dir>
963 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
964 headers in a nonstandard directory <include dir>
965 CPP C preprocessor
966 CXX C++ compiler command
967 CXXFLAGS C++ compiler flags
968 CXXCPP C++ preprocessor
969
970 Use these variables to override the choices made by `configure' or to help
971 it to find libraries and programs with nonstandard names/locations.
972
973 Report bugs to <classpath@gnu.org>.
974 _ACEOF
975 fi
976
977 if test "$ac_init_help" = "recursive"; then
978 # If there are subdirs, report their specific --help.
979 ac_popdir=`pwd`
980 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
981 test -d $ac_dir || continue
982 ac_builddir=.
983
984 if test "$ac_dir" != .; then
985 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
986 # A "../" for each directory in $ac_dir_suffix.
987 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
988 else
989 ac_dir_suffix= ac_top_builddir=
990 fi
991
992 case $srcdir in
993 .) # No --srcdir option. We are building in place.
994 ac_srcdir=.
995 if test -z "$ac_top_builddir"; then
996 ac_top_srcdir=.
997 else
998 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
999 fi ;;
1000 [\\/]* | ?:[\\/]* ) # Absolute path.
1001 ac_srcdir=$srcdir$ac_dir_suffix;
1002 ac_top_srcdir=$srcdir ;;
1003 *) # Relative path.
1004 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1005 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1006 esac
1007
1008 # Do not use `cd foo && pwd` to compute absolute paths, because
1009 # the directories may not exist.
1010 case `pwd` in
1011 .) ac_abs_builddir="$ac_dir";;
1012 *)
1013 case "$ac_dir" in
1014 .) ac_abs_builddir=`pwd`;;
1015 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1016 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1017 esac;;
1018 esac
1019 case $ac_abs_builddir in
1020 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1021 *)
1022 case ${ac_top_builddir}. in
1023 .) ac_abs_top_builddir=$ac_abs_builddir;;
1024 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1025 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1026 esac;;
1027 esac
1028 case $ac_abs_builddir in
1029 .) ac_abs_srcdir=$ac_srcdir;;
1030 *)
1031 case $ac_srcdir in
1032 .) ac_abs_srcdir=$ac_abs_builddir;;
1033 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1034 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1035 esac;;
1036 esac
1037 case $ac_abs_builddir in
1038 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1039 *)
1040 case $ac_top_srcdir in
1041 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1042 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1043 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1044 esac;;
1045 esac
1046
1047 cd $ac_dir
1048 # Check for guested configure; otherwise get Cygnus style configure.
1049 if test -f $ac_srcdir/configure.gnu; then
1050 echo
1051 $SHELL $ac_srcdir/configure.gnu --help=recursive
1052 elif test -f $ac_srcdir/configure; then
1053 echo
1054 $SHELL $ac_srcdir/configure --help=recursive
1055 elif test -f $ac_srcdir/configure.ac ||
1056 test -f $ac_srcdir/configure.in; then
1057 echo
1058 $ac_configure --help
1059 else
1060 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1061 fi
1062 cd $ac_popdir
1063 done
1064 fi
1065
1066 test -n "$ac_init_help" && exit 0
1067 if $ac_init_version; then
1068 cat <<\_ACEOF
1069 GNU Classpath configure 0.94-pre
1070 generated by GNU Autoconf 2.59
1071
1072 Copyright (C) 2003 Free Software Foundation, Inc.
1073 This configure script is free software; the Free Software Foundation
1074 gives unlimited permission to copy, distribute and modify it.
1075 _ACEOF
1076 exit 0
1077 fi
1078 exec 5>config.log
1079 cat >&5 <<_ACEOF
1080 This file contains any messages produced by compilers while
1081 running configure, to aid debugging if configure makes a mistake.
1082
1083 It was created by GNU Classpath $as_me 0.94-pre, which was
1084 generated by GNU Autoconf 2.59. Invocation command line was
1085
1086 $ $0 $@
1087
1088 _ACEOF
1089 {
1090 cat <<_ASUNAME
1091 ## --------- ##
1092 ## Platform. ##
1093 ## --------- ##
1094
1095 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1096 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1097 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1098 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1099 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1100
1101 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1102 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1103
1104 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1105 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1106 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1107 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1108 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1109 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1110 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1111
1112 _ASUNAME
1113
1114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1115 for as_dir in $PATH
1116 do
1117 IFS=$as_save_IFS
1118 test -z "$as_dir" && as_dir=.
1119 echo "PATH: $as_dir"
1120 done
1121
1122 } >&5
1123
1124 cat >&5 <<_ACEOF
1125
1126
1127 ## ----------- ##
1128 ## Core tests. ##
1129 ## ----------- ##
1130
1131 _ACEOF
1132
1133
1134 # Keep a trace of the command line.
1135 # Strip out --no-create and --no-recursion so they do not pile up.
1136 # Strip out --silent because we don't want to record it for future runs.
1137 # Also quote any args containing shell meta-characters.
1138 # Make two passes to allow for proper duplicate-argument suppression.
1139 ac_configure_args=
1140 ac_configure_args0=
1141 ac_configure_args1=
1142 ac_sep=
1143 ac_must_keep_next=false
1144 for ac_pass in 1 2
1145 do
1146 for ac_arg
1147 do
1148 case $ac_arg in
1149 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1150 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1151 | -silent | --silent | --silen | --sile | --sil)
1152 continue ;;
1153 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1154 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1155 esac
1156 case $ac_pass in
1157 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1158 2)
1159 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1160 if test $ac_must_keep_next = true; then
1161 ac_must_keep_next=false # Got value, back to normal.
1162 else
1163 case $ac_arg in
1164 *=* | --config-cache | -C | -disable-* | --disable-* \
1165 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1166 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1167 | -with-* | --with-* | -without-* | --without-* | --x)
1168 case "$ac_configure_args0 " in
1169 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1170 esac
1171 ;;
1172 -* ) ac_must_keep_next=true ;;
1173 esac
1174 fi
1175 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1176 # Get rid of the leading space.
1177 ac_sep=" "
1178 ;;
1179 esac
1180 done
1181 done
1182 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1183 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1184
1185 # When interrupted or exit'd, cleanup temporary files, and complete
1186 # config.log. We remove comments because anyway the quotes in there
1187 # would cause problems or look ugly.
1188 # WARNING: Be sure not to use single quotes in there, as some shells,
1189 # such as our DU 5.0 friend, will then `close' the trap.
1190 trap 'exit_status=$?
1191 # Save into config.log some information that might help in debugging.
1192 {
1193 echo
1194
1195 cat <<\_ASBOX
1196 ## ---------------- ##
1197 ## Cache variables. ##
1198 ## ---------------- ##
1199 _ASBOX
1200 echo
1201 # The following way of writing the cache mishandles newlines in values,
1202 {
1203 (set) 2>&1 |
1204 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1205 *ac_space=\ *)
1206 sed -n \
1207 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1208 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1209 ;;
1210 *)
1211 sed -n \
1212 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1213 ;;
1214 esac;
1215 }
1216 echo
1217
1218 cat <<\_ASBOX
1219 ## ----------------- ##
1220 ## Output variables. ##
1221 ## ----------------- ##
1222 _ASBOX
1223 echo
1224 for ac_var in $ac_subst_vars
1225 do
1226 eval ac_val=$`echo $ac_var`
1227 echo "$ac_var='"'"'$ac_val'"'"'"
1228 done | sort
1229 echo
1230
1231 if test -n "$ac_subst_files"; then
1232 cat <<\_ASBOX
1233 ## ------------- ##
1234 ## Output files. ##
1235 ## ------------- ##
1236 _ASBOX
1237 echo
1238 for ac_var in $ac_subst_files
1239 do
1240 eval ac_val=$`echo $ac_var`
1241 echo "$ac_var='"'"'$ac_val'"'"'"
1242 done | sort
1243 echo
1244 fi
1245
1246 if test -s confdefs.h; then
1247 cat <<\_ASBOX
1248 ## ----------- ##
1249 ## confdefs.h. ##
1250 ## ----------- ##
1251 _ASBOX
1252 echo
1253 sed "/^$/d" confdefs.h | sort
1254 echo
1255 fi
1256 test "$ac_signal" != 0 &&
1257 echo "$as_me: caught signal $ac_signal"
1258 echo "$as_me: exit $exit_status"
1259 } >&5
1260 rm -f core *.core &&
1261 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1262 exit $exit_status
1263 ' 0
1264 for ac_signal in 1 2 13 15; do
1265 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1266 done
1267 ac_signal=0
1268
1269 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1270 rm -rf conftest* confdefs.h
1271 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1272 echo >confdefs.h
1273
1274 # Predefined preprocessor variables.
1275
1276 cat >>confdefs.h <<_ACEOF
1277 #define PACKAGE_NAME "$PACKAGE_NAME"
1278 _ACEOF
1279
1280
1281 cat >>confdefs.h <<_ACEOF
1282 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1283 _ACEOF
1284
1285
1286 cat >>confdefs.h <<_ACEOF
1287 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1288 _ACEOF
1289
1290
1291 cat >>confdefs.h <<_ACEOF
1292 #define PACKAGE_STRING "$PACKAGE_STRING"
1293 _ACEOF
1294
1295
1296 cat >>confdefs.h <<_ACEOF
1297 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1298 _ACEOF
1299
1300
1301 # Let the site file select an alternate cache file if it wants to.
1302 # Prefer explicitly selected file to automatically selected ones.
1303 if test -z "$CONFIG_SITE"; then
1304 if test "x$prefix" != xNONE; then
1305 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1306 else
1307 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1308 fi
1309 fi
1310 for ac_site_file in $CONFIG_SITE; do
1311 if test -r "$ac_site_file"; then
1312 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1313 echo "$as_me: loading site script $ac_site_file" >&6;}
1314 sed 's/^/| /' "$ac_site_file" >&5
1315 . "$ac_site_file"
1316 fi
1317 done
1318
1319 if test -r "$cache_file"; then
1320 # Some versions of bash will fail to source /dev/null (special
1321 # files actually), so we avoid doing that.
1322 if test -f "$cache_file"; then
1323 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1324 echo "$as_me: loading cache $cache_file" >&6;}
1325 case $cache_file in
1326 [\\/]* | ?:[\\/]* ) . $cache_file;;
1327 *) . ./$cache_file;;
1328 esac
1329 fi
1330 else
1331 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1332 echo "$as_me: creating cache $cache_file" >&6;}
1333 >$cache_file
1334 fi
1335
1336 # Check that the precious variables saved in the cache have kept the same
1337 # value.
1338 ac_cache_corrupted=false
1339 for ac_var in `(set) 2>&1 |
1340 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1341 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1342 eval ac_new_set=\$ac_env_${ac_var}_set
1343 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1344 eval ac_new_val="\$ac_env_${ac_var}_value"
1345 case $ac_old_set,$ac_new_set in
1346 set,)
1347 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1348 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1349 ac_cache_corrupted=: ;;
1350 ,set)
1351 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1352 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1353 ac_cache_corrupted=: ;;
1354 ,);;
1355 *)
1356 if test "x$ac_old_val" != "x$ac_new_val"; then
1357 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1358 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1359 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1360 echo "$as_me: former value: $ac_old_val" >&2;}
1361 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1362 echo "$as_me: current value: $ac_new_val" >&2;}
1363 ac_cache_corrupted=:
1364 fi;;
1365 esac
1366 # Pass precious variables to config.status.
1367 if test "$ac_new_set" = set; then
1368 case $ac_new_val in
1369 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1370 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1371 *) ac_arg=$ac_var=$ac_new_val ;;
1372 esac
1373 case " $ac_configure_args " in
1374 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1375 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1376 esac
1377 fi
1378 done
1379 if $ac_cache_corrupted; then
1380 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1381 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1382 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1383 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1384 { (exit 1); exit 1; }; }
1385 fi
1386
1387 ac_ext=c
1388 ac_cpp='$CPP $CPPFLAGS'
1389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421 ac_aux_dir=
1422 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1423 if test -f $ac_dir/install-sh; then
1424 ac_aux_dir=$ac_dir
1425 ac_install_sh="$ac_aux_dir/install-sh -c"
1426 break
1427 elif test -f $ac_dir/install.sh; then
1428 ac_aux_dir=$ac_dir
1429 ac_install_sh="$ac_aux_dir/install.sh -c"
1430 break
1431 elif test -f $ac_dir/shtool; then
1432 ac_aux_dir=$ac_dir
1433 ac_install_sh="$ac_aux_dir/shtool install -c"
1434 break
1435 fi
1436 done
1437 if test -z "$ac_aux_dir"; then
1438 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1439 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1440 { (exit 1); exit 1; }; }
1441 fi
1442 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1443 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1444 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1445
1446 # Make sure we can run config.sub.
1447 $ac_config_sub sun4 >/dev/null 2>&1 ||
1448 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1449 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1450 { (exit 1); exit 1; }; }
1451
1452 echo "$as_me:$LINENO: checking build system type" >&5
1453 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1454 if test "${ac_cv_build+set}" = set; then
1455 echo $ECHO_N "(cached) $ECHO_C" >&6
1456 else
1457 ac_cv_build_alias=$build_alias
1458 test -z "$ac_cv_build_alias" &&
1459 ac_cv_build_alias=`$ac_config_guess`
1460 test -z "$ac_cv_build_alias" &&
1461 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1462 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1463 { (exit 1); exit 1; }; }
1464 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1465 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1466 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1467 { (exit 1); exit 1; }; }
1468
1469 fi
1470 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1471 echo "${ECHO_T}$ac_cv_build" >&6
1472 build=$ac_cv_build
1473 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1474 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1475 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1476
1477
1478 echo "$as_me:$LINENO: checking host system type" >&5
1479 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1480 if test "${ac_cv_host+set}" = set; then
1481 echo $ECHO_N "(cached) $ECHO_C" >&6
1482 else
1483 ac_cv_host_alias=$host_alias
1484 test -z "$ac_cv_host_alias" &&
1485 ac_cv_host_alias=$ac_cv_build_alias
1486 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1487 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1488 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1489 { (exit 1); exit 1; }; }
1490
1491 fi
1492 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1493 echo "${ECHO_T}$ac_cv_host" >&6
1494 host=$ac_cv_host
1495 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1496 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1497 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1498
1499
1500 echo "$as_me:$LINENO: checking target system type" >&5
1501 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1502 if test "${ac_cv_target+set}" = set; then
1503 echo $ECHO_N "(cached) $ECHO_C" >&6
1504 else
1505 ac_cv_target_alias=$target_alias
1506 test "x$ac_cv_target_alias" = "x" &&
1507 ac_cv_target_alias=$ac_cv_host_alias
1508 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1509 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1510 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1511 { (exit 1); exit 1; }; }
1512
1513 fi
1514 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1515 echo "${ECHO_T}$ac_cv_target" >&6
1516 target=$ac_cv_target
1517 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1518 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1519 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1520
1521
1522 # The aliases save the names the user supplied, while $host etc.
1523 # will get canonicalized.
1524 test -n "$target_alias" &&
1525 test "$program_prefix$program_suffix$program_transform_name" = \
1526 NONENONEs,x,x, &&
1527 program_prefix=${target_alias}-
1528
1529 # Check whether --enable-java-maintainer-mode or --disable-java-maintainer-mode was given.
1530 if test "${enable_java_maintainer_mode+set}" = set; then
1531 enableval="$enable_java_maintainer_mode"
1532
1533 fi;
1534
1535
1536 if test "$enable_java_maintainer_mode" = yes; then
1537 JAVA_MAINTAINER_MODE_TRUE=
1538 JAVA_MAINTAINER_MODE_FALSE='#'
1539 else
1540 JAVA_MAINTAINER_MODE_TRUE='#'
1541 JAVA_MAINTAINER_MODE_FALSE=
1542 fi
1543
1544
1545 if expr ${target_cpu} : '.*86' > /dev/null; then target_cpu=x86; fi
1546
1547 LIBVERSION="0:0:0"
1548
1549 case "$host_os" in
1550 darwin*)
1551 cp_module=""
1552 ;;
1553 *)
1554 cp_module="-module"
1555 ;;
1556 esac
1557
1558 CLASSPATH_MODULE="${cp_module} -version-info ${LIBVERSION} -no-undefined"
1559
1560
1561 CLASSPATH_CONVENIENCE="-no-undefined"
1562
1563
1564
1565 am__api_version="1.9"
1566 # Find a good install program. We prefer a C program (faster),
1567 # so one script is as good as another. But avoid the broken or
1568 # incompatible versions:
1569 # SysV /etc/install, /usr/sbin/install
1570 # SunOS /usr/etc/install
1571 # IRIX /sbin/install
1572 # AIX /bin/install
1573 # AmigaOS /C/install, which installs bootblocks on floppy discs
1574 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1575 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1576 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1577 # OS/2's system install, which has a completely different semantic
1578 # ./install, which can be erroneously created by make from ./install.sh.
1579 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1580 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1581 if test -z "$INSTALL"; then
1582 if test "${ac_cv_path_install+set}" = set; then
1583 echo $ECHO_N "(cached) $ECHO_C" >&6
1584 else
1585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1586 for as_dir in $PATH
1587 do
1588 IFS=$as_save_IFS
1589 test -z "$as_dir" && as_dir=.
1590 # Account for people who put trailing slashes in PATH elements.
1591 case $as_dir/ in
1592 ./ | .// | /cC/* | \
1593 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1594 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1595 /usr/ucb/* ) ;;
1596 *)
1597 # OSF1 and SCO ODT 3.0 have their own names for install.
1598 # Don't use installbsd from OSF since it installs stuff as root
1599 # by default.
1600 for ac_prog in ginstall scoinst install; do
1601 for ac_exec_ext in '' $ac_executable_extensions; do
1602 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1603 if test $ac_prog = install &&
1604 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1605 # AIX install. It has an incompatible calling convention.
1606 :
1607 elif test $ac_prog = install &&
1608 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1609 # program-specific install script used by HP pwplus--don't use.
1610 :
1611 else
1612 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1613 break 3
1614 fi
1615 fi
1616 done
1617 done
1618 ;;
1619 esac
1620 done
1621
1622
1623 fi
1624 if test "${ac_cv_path_install+set}" = set; then
1625 INSTALL=$ac_cv_path_install
1626 else
1627 # As a last resort, use the slow shell script. We don't cache a
1628 # path for INSTALL within a source directory, because that will
1629 # break other packages using the cache if that directory is
1630 # removed, or if the path is relative.
1631 INSTALL=$ac_install_sh
1632 fi
1633 fi
1634 echo "$as_me:$LINENO: result: $INSTALL" >&5
1635 echo "${ECHO_T}$INSTALL" >&6
1636
1637 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1638 # It thinks the first close brace ends the variable substitution.
1639 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1640
1641 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1642
1643 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1644
1645 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1646 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1647 # Just in case
1648 sleep 1
1649 echo timestamp > conftest.file
1650 # Do `set' in a subshell so we don't clobber the current shell's
1651 # arguments. Must try -L first in case configure is actually a
1652 # symlink; some systems play weird games with the mod time of symlinks
1653 # (eg FreeBSD returns the mod time of the symlink's containing
1654 # directory).
1655 if (
1656 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1657 if test "$*" = "X"; then
1658 # -L didn't work.
1659 set X `ls -t $srcdir/configure conftest.file`
1660 fi
1661 rm -f conftest.file
1662 if test "$*" != "X $srcdir/configure conftest.file" \
1663 && test "$*" != "X conftest.file $srcdir/configure"; then
1664
1665 # If neither matched, then we have a broken ls. This can happen
1666 # if, for instance, CONFIG_SHELL is bash and it inherits a
1667 # broken ls alias from the environment. This has actually
1668 # happened. Such a system could not be considered "sane".
1669 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1670 alias in your environment" >&5
1671 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1672 alias in your environment" >&2;}
1673 { (exit 1); exit 1; }; }
1674 fi
1675
1676 test "$2" = conftest.file
1677 )
1678 then
1679 # Ok.
1680 :
1681 else
1682 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1683 Check your system clock" >&5
1684 echo "$as_me: error: newly created file is older than distributed files!
1685 Check your system clock" >&2;}
1686 { (exit 1); exit 1; }; }
1687 fi
1688 echo "$as_me:$LINENO: result: yes" >&5
1689 echo "${ECHO_T}yes" >&6
1690 test "$program_prefix" != NONE &&
1691 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1692 # Use a double $ so make ignores it.
1693 test "$program_suffix" != NONE &&
1694 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1695 # Double any \ or $. echo might interpret backslashes.
1696 # By default was `s,x,x', remove it if useless.
1697 cat <<\_ACEOF >conftest.sed
1698 s/[\\$]/&&/g;s/;s,x,x,$//
1699 _ACEOF
1700 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1701 rm conftest.sed
1702
1703 # expand $ac_aux_dir to an absolute path
1704 am_aux_dir=`cd $ac_aux_dir && pwd`
1705
1706 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1707 # Use eval to expand $SHELL
1708 if eval "$MISSING --run true"; then
1709 am_missing_run="$MISSING --run "
1710 else
1711 am_missing_run=
1712 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1713 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1714 fi
1715
1716 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1717 # We used to keeping the `.' as first argument, in order to
1718 # allow $(mkdir_p) to be used without argument. As in
1719 # $(mkdir_p) $(somedir)
1720 # where $(somedir) is conditionally defined. However this is wrong
1721 # for two reasons:
1722 # 1. if the package is installed by a user who cannot write `.'
1723 # make install will fail,
1724 # 2. the above comment should most certainly read
1725 # $(mkdir_p) $(DESTDIR)$(somedir)
1726 # so it does not work when $(somedir) is undefined and
1727 # $(DESTDIR) is not.
1728 # To support the latter case, we have to write
1729 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1730 # so the `.' trick is pointless.
1731 mkdir_p='mkdir -p --'
1732 else
1733 # On NextStep and OpenStep, the `mkdir' command does not
1734 # recognize any option. It will interpret all options as
1735 # directories to create, and then abort because `.' already
1736 # exists.
1737 for d in ./-p ./--version;
1738 do
1739 test -d $d && rmdir $d
1740 done
1741 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1742 if test -f "$ac_aux_dir/mkinstalldirs"; then
1743 mkdir_p='$(mkinstalldirs)'
1744 else
1745 mkdir_p='$(install_sh) -d'
1746 fi
1747 fi
1748
1749 for ac_prog in gawk mawk nawk awk
1750 do
1751 # Extract the first word of "$ac_prog", so it can be a program name with args.
1752 set dummy $ac_prog; ac_word=$2
1753 echo "$as_me:$LINENO: checking for $ac_word" >&5
1754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1755 if test "${ac_cv_prog_AWK+set}" = set; then
1756 echo $ECHO_N "(cached) $ECHO_C" >&6
1757 else
1758 if test -n "$AWK"; then
1759 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1760 else
1761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1762 for as_dir in $PATH
1763 do
1764 IFS=$as_save_IFS
1765 test -z "$as_dir" && as_dir=.
1766 for ac_exec_ext in '' $ac_executable_extensions; do
1767 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1768 ac_cv_prog_AWK="$ac_prog"
1769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1770 break 2
1771 fi
1772 done
1773 done
1774
1775 fi
1776 fi
1777 AWK=$ac_cv_prog_AWK
1778 if test -n "$AWK"; then
1779 echo "$as_me:$LINENO: result: $AWK" >&5
1780 echo "${ECHO_T}$AWK" >&6
1781 else
1782 echo "$as_me:$LINENO: result: no" >&5
1783 echo "${ECHO_T}no" >&6
1784 fi
1785
1786 test -n "$AWK" && break
1787 done
1788
1789 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1790 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1791 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1792 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1793 echo $ECHO_N "(cached) $ECHO_C" >&6
1794 else
1795 cat >conftest.make <<\_ACEOF
1796 all:
1797 @echo 'ac_maketemp="$(MAKE)"'
1798 _ACEOF
1799 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1800 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1801 if test -n "$ac_maketemp"; then
1802 eval ac_cv_prog_make_${ac_make}_set=yes
1803 else
1804 eval ac_cv_prog_make_${ac_make}_set=no
1805 fi
1806 rm -f conftest.make
1807 fi
1808 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1809 echo "$as_me:$LINENO: result: yes" >&5
1810 echo "${ECHO_T}yes" >&6
1811 SET_MAKE=
1812 else
1813 echo "$as_me:$LINENO: result: no" >&5
1814 echo "${ECHO_T}no" >&6
1815 SET_MAKE="MAKE=${MAKE-make}"
1816 fi
1817
1818 rm -rf .tst 2>/dev/null
1819 mkdir .tst 2>/dev/null
1820 if test -d .tst; then
1821 am__leading_dot=.
1822 else
1823 am__leading_dot=_
1824 fi
1825 rmdir .tst 2>/dev/null
1826
1827 # test to see if srcdir already configured
1828 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1829 test -f $srcdir/config.status; then
1830 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1831 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1832 { (exit 1); exit 1; }; }
1833 fi
1834
1835 # test whether we have cygpath
1836 if test -z "$CYGPATH_W"; then
1837 if (cygpath --version) >/dev/null 2>/dev/null; then
1838 CYGPATH_W='cygpath -w'
1839 else
1840 CYGPATH_W=echo
1841 fi
1842 fi
1843
1844
1845 # Define the identity of the package.
1846 PACKAGE='classpath'
1847 VERSION='0.94-pre'
1848
1849
1850 cat >>confdefs.h <<_ACEOF
1851 #define PACKAGE "$PACKAGE"
1852 _ACEOF
1853
1854
1855 cat >>confdefs.h <<_ACEOF
1856 #define VERSION "$VERSION"
1857 _ACEOF
1858
1859 # Some tools Automake needs.
1860
1861 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1862
1863
1864 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1865
1866
1867 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1868
1869
1870 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1871
1872
1873 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1874
1875 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1876
1877 # Installed binaries are usually stripped using `strip' when the user
1878 # run `make install-strip'. However `strip' might not be the right
1879 # tool to use in cross-compilation environments, therefore Automake
1880 # will honor the `STRIP' environment variable to overrule this program.
1881 if test "$cross_compiling" != no; then
1882 if test -n "$ac_tool_prefix"; then
1883 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1884 set dummy ${ac_tool_prefix}strip; ac_word=$2
1885 echo "$as_me:$LINENO: checking for $ac_word" >&5
1886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1887 if test "${ac_cv_prog_STRIP+set}" = set; then
1888 echo $ECHO_N "(cached) $ECHO_C" >&6
1889 else
1890 if test -n "$STRIP"; then
1891 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1892 else
1893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1894 for as_dir in $PATH
1895 do
1896 IFS=$as_save_IFS
1897 test -z "$as_dir" && as_dir=.
1898 for ac_exec_ext in '' $ac_executable_extensions; do
1899 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1900 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1902 break 2
1903 fi
1904 done
1905 done
1906
1907 fi
1908 fi
1909 STRIP=$ac_cv_prog_STRIP
1910 if test -n "$STRIP"; then
1911 echo "$as_me:$LINENO: result: $STRIP" >&5
1912 echo "${ECHO_T}$STRIP" >&6
1913 else
1914 echo "$as_me:$LINENO: result: no" >&5
1915 echo "${ECHO_T}no" >&6
1916 fi
1917
1918 fi
1919 if test -z "$ac_cv_prog_STRIP"; then
1920 ac_ct_STRIP=$STRIP
1921 # Extract the first word of "strip", so it can be a program name with args.
1922 set dummy strip; ac_word=$2
1923 echo "$as_me:$LINENO: checking for $ac_word" >&5
1924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1925 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1926 echo $ECHO_N "(cached) $ECHO_C" >&6
1927 else
1928 if test -n "$ac_ct_STRIP"; then
1929 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1930 else
1931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1932 for as_dir in $PATH
1933 do
1934 IFS=$as_save_IFS
1935 test -z "$as_dir" && as_dir=.
1936 for ac_exec_ext in '' $ac_executable_extensions; do
1937 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1938 ac_cv_prog_ac_ct_STRIP="strip"
1939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1940 break 2
1941 fi
1942 done
1943 done
1944
1945 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1946 fi
1947 fi
1948 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1949 if test -n "$ac_ct_STRIP"; then
1950 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1951 echo "${ECHO_T}$ac_ct_STRIP" >&6
1952 else
1953 echo "$as_me:$LINENO: result: no" >&5
1954 echo "${ECHO_T}no" >&6
1955 fi
1956
1957 STRIP=$ac_ct_STRIP
1958 else
1959 STRIP="$ac_cv_prog_STRIP"
1960 fi
1961
1962 fi
1963 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1964
1965 # We need awk for the "check" target. The system "awk" is bad on
1966 # some platforms.
1967 # Always define AMTAR for backward compatibility.
1968
1969 AMTAR=${AMTAR-"${am_missing_run}tar"}
1970
1971
1972 echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
1973 echo $ECHO_N "checking how to create a ustar tar archive... $ECHO_C" >&6
1974 # Loop over all known methods to create a tar archive until one works.
1975 _am_tools='gnutar plaintar pax cpio none'
1976 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
1977 # Do not fold the above two line into one, because Tru64 sh and
1978 # Solaris sh will not grok spaces in the rhs of `-'.
1979 for _am_tool in $_am_tools
1980 do
1981 case $_am_tool in
1982 gnutar)
1983 for _am_tar in tar gnutar gtar;
1984 do
1985 { echo "$as_me:$LINENO: $_am_tar --version" >&5
1986 ($_am_tar --version) >&5 2>&5
1987 ac_status=$?
1988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1989 (exit $ac_status); } && break
1990 done
1991 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
1992 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
1993 am__untar="$_am_tar -xf -"
1994 ;;
1995 plaintar)
1996 # Must skip GNU tar: if it does not support --format= it doesn't create
1997 # ustar tarball either.
1998 (tar --version) >/dev/null 2>&1 && continue
1999 am__tar='tar chf - "$$tardir"'
2000 am__tar_='tar chf - "$tardir"'
2001 am__untar='tar xf -'
2002 ;;
2003 pax)
2004 am__tar='pax -L -x ustar -w "$$tardir"'
2005 am__tar_='pax -L -x ustar -w "$tardir"'
2006 am__untar='pax -r'
2007 ;;
2008 cpio)
2009 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2010 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2011 am__untar='cpio -i -H ustar -d'
2012 ;;
2013 none)
2014 am__tar=false
2015 am__tar_=false
2016 am__untar=false
2017 ;;
2018 esac
2019
2020 # If the value was cached, stop now. We just wanted to have am__tar
2021 # and am__untar set.
2022 test -n "${am_cv_prog_tar_ustar}" && break
2023
2024 # tar/untar a dummy directory, and stop if the command works
2025 rm -rf conftest.dir
2026 mkdir conftest.dir
2027 echo GrepMe > conftest.dir/file
2028 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2029 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2030 ac_status=$?
2031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2032 (exit $ac_status); }
2033 rm -rf conftest.dir
2034 if test -s conftest.tar; then
2035 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2036 ($am__untar <conftest.tar) >&5 2>&5
2037 ac_status=$?
2038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2039 (exit $ac_status); }
2040 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2041 fi
2042 done
2043 rm -rf conftest.dir
2044
2045 if test "${am_cv_prog_tar_ustar+set}" = set; then
2046 echo $ECHO_N "(cached) $ECHO_C" >&6
2047 else
2048 am_cv_prog_tar_ustar=$_am_tool
2049 fi
2050
2051 echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
2052 echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6
2053
2054
2055
2056
2057
2058 ac_config_headers="$ac_config_headers include/config.h"
2059
2060
2061
2062
2063
2064 # Check whether --enable-collections or --disable-collections was given.
2065 if test "${enable_collections+set}" = set; then
2066 enableval="$enable_collections"
2067 case x"${enableval}" in
2068 xyes) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"gnu/java/util/collections\"" ;;
2069 xno) COMPILE_COLLECTIONS=no ;;
2070 x) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"gnu/java/util/collections\"" ;;
2071 *) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"${enableval}\"" ;;
2072 esac
2073 else
2074 COMPILE_COLLECTIONS=no
2075 fi;
2076
2077
2078 if test "x${COMPILE_COLLECTIONS}" = xyes; then
2079 CREATE_COLLECTIONS_TRUE=
2080 CREATE_COLLECTIONS_FALSE='#'
2081 else
2082 CREATE_COLLECTIONS_TRUE='#'
2083 CREATE_COLLECTIONS_FALSE=
2084 fi
2085
2086
2087 # Check whether --enable-jni or --disable-jni was given.
2088 if test "${enable_jni+set}" = set; then
2089 enableval="$enable_jni"
2090 case "${enableval}" in
2091 yes) COMPILE_JNI=yes; COMPILE_JAVA=yes ;;
2092 no) COMPILE_JNI=no ;;
2093 *) COMPILE_JNI=yes; COMPILE_JAVA=yes ;;
2094 esac
2095 else
2096 COMPILE_JNI=yes
2097 fi;
2098
2099
2100 if test "x${COMPILE_JNI}" = xyes; then
2101 CREATE_JNI_LIBRARIES_TRUE=
2102 CREATE_JNI_LIBRARIES_FALSE='#'
2103 else
2104 CREATE_JNI_LIBRARIES_TRUE='#'
2105 CREATE_JNI_LIBRARIES_FALSE=
2106 fi
2107
2108
2109 # Check whether --enable-core-jni or --disable-core-jni was given.
2110 if test "${enable_core_jni+set}" = set; then
2111 enableval="$enable_core_jni"
2112 case "${enableval}" in
2113 yes) COMPILE_CORE_JNI=yes; COMPILE_JAVA=yes ;;
2114 no) COMPILE_CORE_JNI=no ;;
2115 *) COMPILE_CORE_JNI=yes; COMPILE_JAVA=yes ;;
2116 esac
2117 else
2118 COMPILE_CORE_JNI=yes
2119 fi;
2120
2121
2122 if test "x${COMPILE_CORE_JNI}" = xyes; then
2123 CREATE_CORE_JNI_LIBRARIES_TRUE=
2124 CREATE_CORE_JNI_LIBRARIES_FALSE='#'
2125 else
2126 CREATE_CORE_JNI_LIBRARIES_TRUE='#'
2127 CREATE_CORE_JNI_LIBRARIES_FALSE=
2128 fi
2129
2130
2131 # Check whether --enable-default-preferences-peer or --disable-default-preferences-peer was given.
2132 if test "${enable_default_preferences_peer+set}" = set; then
2133 enableval="$enable_default_preferences_peer"
2134 case "${enableval}" in
2135 file) DEFAULT_PREFS_PEER=gnu.java.util.prefs.FileBasedFactory ;;
2136 gconf|yes|true) DEFAULT_PREFS_PEER=gnu.java.util.prefs.GConfBasedFactory ;;
2137 memory) DEFAULT_PREFS_PEER=gnu.java.util.prefs.MemoryBasedFactory ;;
2138 no|false) { { echo "$as_me:$LINENO: error: bad value '${enableval}' for --enable-default-preferences-peer" >&5
2139 echo "$as_me: error: bad value '${enableval}' for --enable-default-preferences-peer" >&2;}
2140 { (exit 1); exit 1; }; } ;;
2141 *) DEFAULT_PREFS_PEER=${enableval} ;;
2142 esac
2143 else
2144 DEFAULT_PREFS_PEER=gnu.java.util.prefs.GConfBasedFactory
2145 fi;
2146
2147 # Check whether --enable-gconf-peer or --disable-gconf-peer was given.
2148 if test "${enable_gconf_peer+set}" = set; then
2149 enableval="$enable_gconf_peer"
2150 case "${enableval}" in
2151 yes) COMPILE_GCONF_PEER=yes ;;
2152 no) COMPILE_GCONF_PEER=no ;;
2153 *) COMPILE_GCONF_PEER=yes ;;
2154 esac
2155 else
2156 COMPILE_GCONF_PEER=yes
2157 fi;
2158
2159
2160 if test "x${COMPILE_GCONF_PEER}" = xyes; then
2161 CREATE_GCONF_PEER_LIBRARIES_TRUE=
2162 CREATE_GCONF_PEER_LIBRARIES_FALSE='#'
2163 else
2164 CREATE_GCONF_PEER_LIBRARIES_TRUE='#'
2165 CREATE_GCONF_PEER_LIBRARIES_FALSE=
2166 fi
2167
2168
2169 # Check whether --enable-gconf-peers or --disable-gconf-peers was given.
2170 if test "${enable_gconf_peers+set}" = set; then
2171 enableval="$enable_gconf_peers"
2172 { { echo "$as_me:$LINENO: error: No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" >&5
2173 echo "$as_me: error: No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" >&2;}
2174 { (exit 1); exit 1; }; }
2175 fi;
2176
2177 # Check whether --enable-Werror or --disable-Werror was given.
2178 if test "${enable_Werror+set}" = set; then
2179 enableval="$enable_Werror"
2180 case "${enableval}" in
2181 yes) ENABLE_WERROR=yes ;;
2182 no) ENABLE_WERROR=no ;;
2183 *) ENABLE_WERROR=default ;;
2184 esac
2185 else
2186 ENABLE_WERROR=default
2187 fi;
2188
2189 # Check whether --enable-default-toolkit or --disable-default-toolkit was given.
2190 if test "${enable_default_toolkit+set}" = set; then
2191 enableval="$enable_default_toolkit"
2192
2193 fi;
2194 default_toolkit=$enable_default_toolkit
2195 if test "$default_toolkit" = ""; then
2196 default_toolkit=gnu.java.awt.peer.gtk.GtkToolkit
2197 fi
2198
2199
2200 # Check whether --enable-xmlj or --disable-xmlj was given.
2201 if test "${enable_xmlj+set}" = set; then
2202 enableval="$enable_xmlj"
2203 case "${enableval}" in
2204 yes) COMPILE_XMLJ=yes ;;
2205 no) COMPILE_XMLJ=no ;;
2206 *) COMPILE_XMLJ=no ;;
2207 esac
2208 else
2209 COMPILE_XMLJ=no
2210 fi;
2211
2212
2213 if test "x${COMPILE_XMLJ}" = xyes; then
2214 CREATE_XMLJ_LIBRARY_TRUE=
2215 CREATE_XMLJ_LIBRARY_FALSE='#'
2216 else
2217 CREATE_XMLJ_LIBRARY_TRUE='#'
2218 CREATE_XMLJ_LIBRARY_FALSE=
2219 fi
2220
2221
2222 DEPDIR="${am__leading_dot}deps"
2223
2224 ac_config_commands="$ac_config_commands depfiles"
2225
2226
2227 am_make=${MAKE-make}
2228 cat > confinc << 'END'
2229 am__doit:
2230 @echo done
2231 .PHONY: am__doit
2232 END
2233 # If we don't find an include directive, just comment out the code.
2234 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2235 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2236 am__include="#"
2237 am__quote=
2238 _am_result=none
2239 # First try GNU make style include.
2240 echo "include confinc" > confmf
2241 # We grep out `Entering directory' and `Leaving directory'
2242 # messages which can occur if `w' ends up in MAKEFLAGS.
2243 # In particular we don't look at `^make:' because GNU make might
2244 # be invoked under some other name (usually "gmake"), in which
2245 # case it prints its new name instead of `make'.
2246 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2247 am__include=include
2248 am__quote=
2249 _am_result=GNU
2250 fi
2251 # Now try BSD make style include.
2252 if test "$am__include" = "#"; then
2253 echo '.include "confinc"' > confmf
2254 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2255 am__include=.include
2256 am__quote="\""
2257 _am_result=BSD
2258 fi
2259 fi
2260
2261
2262 echo "$as_me:$LINENO: result: $_am_result" >&5
2263 echo "${ECHO_T}$_am_result" >&6
2264 rm -f confinc confmf
2265
2266 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2267 if test "${enable_dependency_tracking+set}" = set; then
2268 enableval="$enable_dependency_tracking"
2269
2270 fi;
2271 if test "x$enable_dependency_tracking" != xno; then
2272 am_depcomp="$ac_aux_dir/depcomp"
2273 AMDEPBACKSLASH='\'
2274 fi
2275
2276
2277 if test "x$enable_dependency_tracking" != xno; then
2278 AMDEP_TRUE=
2279 AMDEP_FALSE='#'
2280 else
2281 AMDEP_TRUE='#'
2282 AMDEP_FALSE=
2283 fi
2284
2285
2286
2287 ac_ext=c
2288 ac_cpp='$CPP $CPPFLAGS'
2289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2292 if test -n "$ac_tool_prefix"; then
2293 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2294 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2295 echo "$as_me:$LINENO: checking for $ac_word" >&5
2296 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2297 if test "${ac_cv_prog_CC+set}" = set; then
2298 echo $ECHO_N "(cached) $ECHO_C" >&6
2299 else
2300 if test -n "$CC"; then
2301 ac_cv_prog_CC="$CC" # Let the user override the test.
2302 else
2303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2304 for as_dir in $PATH
2305 do
2306 IFS=$as_save_IFS
2307 test -z "$as_dir" && as_dir=.
2308 for ac_exec_ext in '' $ac_executable_extensions; do
2309 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2310 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2311 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2312 break 2
2313 fi
2314 done
2315 done
2316
2317 fi
2318 fi
2319 CC=$ac_cv_prog_CC
2320 if test -n "$CC"; then
2321 echo "$as_me:$LINENO: result: $CC" >&5
2322 echo "${ECHO_T}$CC" >&6
2323 else
2324 echo "$as_me:$LINENO: result: no" >&5
2325 echo "${ECHO_T}no" >&6
2326 fi
2327
2328 fi
2329 if test -z "$ac_cv_prog_CC"; then
2330 ac_ct_CC=$CC
2331 # Extract the first word of "gcc", so it can be a program name with args.
2332 set dummy gcc; ac_word=$2
2333 echo "$as_me:$LINENO: checking for $ac_word" >&5
2334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2335 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2336 echo $ECHO_N "(cached) $ECHO_C" >&6
2337 else
2338 if test -n "$ac_ct_CC"; then
2339 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2340 else
2341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2342 for as_dir in $PATH
2343 do
2344 IFS=$as_save_IFS
2345 test -z "$as_dir" && as_dir=.
2346 for ac_exec_ext in '' $ac_executable_extensions; do
2347 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2348 ac_cv_prog_ac_ct_CC="gcc"
2349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2350 break 2
2351 fi
2352 done
2353 done
2354
2355 fi
2356 fi
2357 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2358 if test -n "$ac_ct_CC"; then
2359 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2360 echo "${ECHO_T}$ac_ct_CC" >&6
2361 else
2362 echo "$as_me:$LINENO: result: no" >&5
2363 echo "${ECHO_T}no" >&6
2364 fi
2365
2366 CC=$ac_ct_CC
2367 else
2368 CC="$ac_cv_prog_CC"
2369 fi
2370
2371 if test -z "$CC"; then
2372 if test -n "$ac_tool_prefix"; then
2373 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2374 set dummy ${ac_tool_prefix}cc; ac_word=$2
2375 echo "$as_me:$LINENO: checking for $ac_word" >&5
2376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2377 if test "${ac_cv_prog_CC+set}" = set; then
2378 echo $ECHO_N "(cached) $ECHO_C" >&6
2379 else
2380 if test -n "$CC"; then
2381 ac_cv_prog_CC="$CC" # Let the user override the test.
2382 else
2383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2384 for as_dir in $PATH
2385 do
2386 IFS=$as_save_IFS
2387 test -z "$as_dir" && as_dir=.
2388 for ac_exec_ext in '' $ac_executable_extensions; do
2389 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2390 ac_cv_prog_CC="${ac_tool_prefix}cc"
2391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2392 break 2
2393 fi
2394 done
2395 done
2396
2397 fi
2398 fi
2399 CC=$ac_cv_prog_CC
2400 if test -n "$CC"; then
2401 echo "$as_me:$LINENO: result: $CC" >&5
2402 echo "${ECHO_T}$CC" >&6
2403 else
2404 echo "$as_me:$LINENO: result: no" >&5
2405 echo "${ECHO_T}no" >&6
2406 fi
2407
2408 fi
2409 if test -z "$ac_cv_prog_CC"; then
2410 ac_ct_CC=$CC
2411 # Extract the first word of "cc", so it can be a program name with args.
2412 set dummy cc; ac_word=$2
2413 echo "$as_me:$LINENO: checking for $ac_word" >&5
2414 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2415 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2416 echo $ECHO_N "(cached) $ECHO_C" >&6
2417 else
2418 if test -n "$ac_ct_CC"; then
2419 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2420 else
2421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2422 for as_dir in $PATH
2423 do
2424 IFS=$as_save_IFS
2425 test -z "$as_dir" && as_dir=.
2426 for ac_exec_ext in '' $ac_executable_extensions; do
2427 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2428 ac_cv_prog_ac_ct_CC="cc"
2429 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2430 break 2
2431 fi
2432 done
2433 done
2434
2435 fi
2436 fi
2437 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2438 if test -n "$ac_ct_CC"; then
2439 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2440 echo "${ECHO_T}$ac_ct_CC" >&6
2441 else
2442 echo "$as_me:$LINENO: result: no" >&5
2443 echo "${ECHO_T}no" >&6
2444 fi
2445
2446 CC=$ac_ct_CC
2447 else
2448 CC="$ac_cv_prog_CC"
2449 fi
2450
2451 fi
2452 if test -z "$CC"; then
2453 # Extract the first word of "cc", so it can be a program name with args.
2454 set dummy cc; ac_word=$2
2455 echo "$as_me:$LINENO: checking for $ac_word" >&5
2456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2457 if test "${ac_cv_prog_CC+set}" = set; then
2458 echo $ECHO_N "(cached) $ECHO_C" >&6
2459 else
2460 if test -n "$CC"; then
2461 ac_cv_prog_CC="$CC" # Let the user override the test.
2462 else
2463 ac_prog_rejected=no
2464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2465 for as_dir in $PATH
2466 do
2467 IFS=$as_save_IFS
2468 test -z "$as_dir" && as_dir=.
2469 for ac_exec_ext in '' $ac_executable_extensions; do
2470 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2471 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2472 ac_prog_rejected=yes
2473 continue
2474 fi
2475 ac_cv_prog_CC="cc"
2476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2477 break 2
2478 fi
2479 done
2480 done
2481
2482 if test $ac_prog_rejected = yes; then
2483 # We found a bogon in the path, so make sure we never use it.
2484 set dummy $ac_cv_prog_CC
2485 shift
2486 if test $# != 0; then
2487 # We chose a different compiler from the bogus one.
2488 # However, it has the same basename, so the bogon will be chosen
2489 # first if we set CC to just the basename; use the full file name.
2490 shift
2491 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2492 fi
2493 fi
2494 fi
2495 fi
2496 CC=$ac_cv_prog_CC
2497 if test -n "$CC"; then
2498 echo "$as_me:$LINENO: result: $CC" >&5
2499 echo "${ECHO_T}$CC" >&6
2500 else
2501 echo "$as_me:$LINENO: result: no" >&5
2502 echo "${ECHO_T}no" >&6
2503 fi
2504
2505 fi
2506 if test -z "$CC"; then
2507 if test -n "$ac_tool_prefix"; then
2508 for ac_prog in cl
2509 do
2510 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2511 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2512 echo "$as_me:$LINENO: checking for $ac_word" >&5
2513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2514 if test "${ac_cv_prog_CC+set}" = set; then
2515 echo $ECHO_N "(cached) $ECHO_C" >&6
2516 else
2517 if test -n "$CC"; then
2518 ac_cv_prog_CC="$CC" # Let the user override the test.
2519 else
2520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2521 for as_dir in $PATH
2522 do
2523 IFS=$as_save_IFS
2524 test -z "$as_dir" && as_dir=.
2525 for ac_exec_ext in '' $ac_executable_extensions; do
2526 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2527 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2529 break 2
2530 fi
2531 done
2532 done
2533
2534 fi
2535 fi
2536 CC=$ac_cv_prog_CC
2537 if test -n "$CC"; then
2538 echo "$as_me:$LINENO: result: $CC" >&5
2539 echo "${ECHO_T}$CC" >&6
2540 else
2541 echo "$as_me:$LINENO: result: no" >&5
2542 echo "${ECHO_T}no" >&6
2543 fi
2544
2545 test -n "$CC" && break
2546 done
2547 fi
2548 if test -z "$CC"; then
2549 ac_ct_CC=$CC
2550 for ac_prog in cl
2551 do
2552 # Extract the first word of "$ac_prog", so it can be a program name with args.
2553 set dummy $ac_prog; ac_word=$2
2554 echo "$as_me:$LINENO: checking for $ac_word" >&5
2555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2556 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2557 echo $ECHO_N "(cached) $ECHO_C" >&6
2558 else
2559 if test -n "$ac_ct_CC"; then
2560 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2561 else
2562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2563 for as_dir in $PATH
2564 do
2565 IFS=$as_save_IFS
2566 test -z "$as_dir" && as_dir=.
2567 for ac_exec_ext in '' $ac_executable_extensions; do
2568 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2569 ac_cv_prog_ac_ct_CC="$ac_prog"
2570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2571 break 2
2572 fi
2573 done
2574 done
2575
2576 fi
2577 fi
2578 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2579 if test -n "$ac_ct_CC"; then
2580 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2581 echo "${ECHO_T}$ac_ct_CC" >&6
2582 else
2583 echo "$as_me:$LINENO: result: no" >&5
2584 echo "${ECHO_T}no" >&6
2585 fi
2586
2587 test -n "$ac_ct_CC" && break
2588 done
2589
2590 CC=$ac_ct_CC
2591 fi
2592
2593 fi
2594
2595
2596 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2597 See \`config.log' for more details." >&5
2598 echo "$as_me: error: no acceptable C compiler found in \$PATH
2599 See \`config.log' for more details." >&2;}
2600 { (exit 1); exit 1; }; }
2601
2602 # Provide some information about the compiler.
2603 echo "$as_me:$LINENO:" \
2604 "checking for C compiler version" >&5
2605 ac_compiler=`set X $ac_compile; echo $2`
2606 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2607 (eval $ac_compiler --version </dev/null >&5) 2>&5
2608 ac_status=$?
2609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610 (exit $ac_status); }
2611 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2612 (eval $ac_compiler -v </dev/null >&5) 2>&5
2613 ac_status=$?
2614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2615 (exit $ac_status); }
2616 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2617 (eval $ac_compiler -V </dev/null >&5) 2>&5
2618 ac_status=$?
2619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2620 (exit $ac_status); }
2621
2622 cat >conftest.$ac_ext <<_ACEOF
2623 /* confdefs.h. */
2624 _ACEOF
2625 cat confdefs.h >>conftest.$ac_ext
2626 cat >>conftest.$ac_ext <<_ACEOF
2627 /* end confdefs.h. */
2628
2629 int
2630 main ()
2631 {
2632
2633 ;
2634 return 0;
2635 }
2636 _ACEOF
2637 # FIXME: Cleanup?
2638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2639 (eval $ac_link) 2>&5
2640 ac_status=$?
2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); }; then
2643 gcc_no_link=no
2644 else
2645 gcc_no_link=yes
2646 fi
2647
2648 if test x$gcc_no_link = xyes; then
2649 # Setting cross_compile will disable run tests; it will
2650 # also disable AC_CHECK_FILE but that's generally
2651 # correct if we can't link.
2652 cross_compiling=yes
2653 EXEEXT=
2654 else
2655 cat >conftest.$ac_ext <<_ACEOF
2656 /* confdefs.h. */
2657 _ACEOF
2658 cat confdefs.h >>conftest.$ac_ext
2659 cat >>conftest.$ac_ext <<_ACEOF
2660 /* end confdefs.h. */
2661
2662 int
2663 main ()
2664 {
2665
2666 ;
2667 return 0;
2668 }
2669 _ACEOF
2670 ac_clean_files_save=$ac_clean_files
2671 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2672 # Try to create an executable without -o first, disregard a.out.
2673 # It will help us diagnose broken compilers, and finding out an intuition
2674 # of exeext.
2675 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2676 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2677 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2678 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2679 (eval $ac_link_default) 2>&5
2680 ac_status=$?
2681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2682 (exit $ac_status); }; then
2683 # Find the output, starting from the most likely. This scheme is
2684 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2685 # resort.
2686
2687 # Be careful to initialize this variable, since it used to be cached.
2688 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2689 ac_cv_exeext=
2690 # b.out is created by i960 compilers.
2691 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2692 do
2693 test -f "$ac_file" || continue
2694 case $ac_file in
2695 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2696 ;;
2697 conftest.$ac_ext )
2698 # This is the source file.
2699 ;;
2700 [ab].out )
2701 # We found the default executable, but exeext='' is most
2702 # certainly right.
2703 break;;
2704 *.* )
2705 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2706 # FIXME: I believe we export ac_cv_exeext for Libtool,
2707 # but it would be cool to find out if it's true. Does anybody
2708 # maintain Libtool? --akim.
2709 export ac_cv_exeext
2710 break;;
2711 * )
2712 break;;
2713 esac
2714 done
2715 else
2716 echo "$as_me: failed program was:" >&5
2717 sed 's/^/| /' conftest.$ac_ext >&5
2718
2719 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2720 See \`config.log' for more details." >&5
2721 echo "$as_me: error: C compiler cannot create executables
2722 See \`config.log' for more details." >&2;}
2723 { (exit 77); exit 77; }; }
2724 fi
2725
2726 ac_exeext=$ac_cv_exeext
2727 echo "$as_me:$LINENO: result: $ac_file" >&5
2728 echo "${ECHO_T}$ac_file" >&6
2729
2730 # Check the compiler produces executables we can run. If not, either
2731 # the compiler is broken, or we cross compile.
2732 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2733 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2734 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2735 # If not cross compiling, check that we can run a simple program.
2736 if test "$cross_compiling" != yes; then
2737 if { ac_try='./$ac_file'
2738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2739 (eval $ac_try) 2>&5
2740 ac_status=$?
2741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742 (exit $ac_status); }; }; then
2743 cross_compiling=no
2744 else
2745 if test "$cross_compiling" = maybe; then
2746 cross_compiling=yes
2747 else
2748 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2749 If you meant to cross compile, use \`--host'.
2750 See \`config.log' for more details." >&5
2751 echo "$as_me: error: cannot run C compiled programs.
2752 If you meant to cross compile, use \`--host'.
2753 See \`config.log' for more details." >&2;}
2754 { (exit 1); exit 1; }; }
2755 fi
2756 fi
2757 fi
2758 echo "$as_me:$LINENO: result: yes" >&5
2759 echo "${ECHO_T}yes" >&6
2760
2761 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2762 ac_clean_files=$ac_clean_files_save
2763 # Check the compiler produces executables we can run. If not, either
2764 # the compiler is broken, or we cross compile.
2765 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2766 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2767 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2768 echo "${ECHO_T}$cross_compiling" >&6
2769
2770 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2771 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2773 (eval $ac_link) 2>&5
2774 ac_status=$?
2775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776 (exit $ac_status); }; then
2777 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2778 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2779 # work properly (i.e., refer to `conftest.exe'), while it won't with
2780 # `rm'.
2781 for ac_file in conftest.exe conftest conftest.*; do
2782 test -f "$ac_file" || continue
2783 case $ac_file in
2784 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2785 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2786 export ac_cv_exeext
2787 break;;
2788 * ) break;;
2789 esac
2790 done
2791 else
2792 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2793 See \`config.log' for more details." >&5
2794 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2795 See \`config.log' for more details." >&2;}
2796 { (exit 1); exit 1; }; }
2797 fi
2798
2799 rm -f conftest$ac_cv_exeext
2800 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2801 echo "${ECHO_T}$ac_cv_exeext" >&6
2802
2803 rm -f conftest.$ac_ext
2804 EXEEXT=$ac_cv_exeext
2805 ac_exeext=$EXEEXT
2806 fi
2807 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2808 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2809 if test "${ac_cv_objext+set}" = set; then
2810 echo $ECHO_N "(cached) $ECHO_C" >&6
2811 else
2812 cat >conftest.$ac_ext <<_ACEOF
2813 /* confdefs.h. */
2814 _ACEOF
2815 cat confdefs.h >>conftest.$ac_ext
2816 cat >>conftest.$ac_ext <<_ACEOF
2817 /* end confdefs.h. */
2818
2819 int
2820 main ()
2821 {
2822
2823 ;
2824 return 0;
2825 }
2826 _ACEOF
2827 rm -f conftest.o conftest.obj
2828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2829 (eval $ac_compile) 2>&5
2830 ac_status=$?
2831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832 (exit $ac_status); }; then
2833 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2834 case $ac_file in
2835 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2836 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2837 break;;
2838 esac
2839 done
2840 else
2841 echo "$as_me: failed program was:" >&5
2842 sed 's/^/| /' conftest.$ac_ext >&5
2843
2844 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2845 See \`config.log' for more details." >&5
2846 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2847 See \`config.log' for more details." >&2;}
2848 { (exit 1); exit 1; }; }
2849 fi
2850
2851 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2852 fi
2853 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2854 echo "${ECHO_T}$ac_cv_objext" >&6
2855 OBJEXT=$ac_cv_objext
2856 ac_objext=$OBJEXT
2857 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2858 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2859 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2860 echo $ECHO_N "(cached) $ECHO_C" >&6
2861 else
2862 cat >conftest.$ac_ext <<_ACEOF
2863 /* confdefs.h. */
2864 _ACEOF
2865 cat confdefs.h >>conftest.$ac_ext
2866 cat >>conftest.$ac_ext <<_ACEOF
2867 /* end confdefs.h. */
2868
2869 int
2870 main ()
2871 {
2872 #ifndef __GNUC__
2873 choke me
2874 #endif
2875
2876 ;
2877 return 0;
2878 }
2879 _ACEOF
2880 rm -f conftest.$ac_objext
2881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2882 (eval $ac_compile) 2>conftest.er1
2883 ac_status=$?
2884 grep -v '^ *+' conftest.er1 >conftest.err
2885 rm -f conftest.er1
2886 cat conftest.err >&5
2887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888 (exit $ac_status); } &&
2889 { ac_try='test -z "$ac_c_werror_flag"
2890 || test ! -s conftest.err'
2891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2892 (eval $ac_try) 2>&5
2893 ac_status=$?
2894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2895 (exit $ac_status); }; } &&
2896 { ac_try='test -s conftest.$ac_objext'
2897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2898 (eval $ac_try) 2>&5
2899 ac_status=$?
2900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2901 (exit $ac_status); }; }; then
2902 ac_compiler_gnu=yes
2903 else
2904 echo "$as_me: failed program was:" >&5
2905 sed 's/^/| /' conftest.$ac_ext >&5
2906
2907 ac_compiler_gnu=no
2908 fi
2909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2910 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2911
2912 fi
2913 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2914 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2915 GCC=`test $ac_compiler_gnu = yes && echo yes`
2916 ac_test_CFLAGS=${CFLAGS+set}
2917 ac_save_CFLAGS=$CFLAGS
2918 CFLAGS="-g"
2919 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2920 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2921 if test "${ac_cv_prog_cc_g+set}" = set; then
2922 echo $ECHO_N "(cached) $ECHO_C" >&6
2923 else
2924 cat >conftest.$ac_ext <<_ACEOF
2925 /* confdefs.h. */
2926 _ACEOF
2927 cat confdefs.h >>conftest.$ac_ext
2928 cat >>conftest.$ac_ext <<_ACEOF
2929 /* end confdefs.h. */
2930
2931 int
2932 main ()
2933 {
2934
2935 ;
2936 return 0;
2937 }
2938 _ACEOF
2939 rm -f conftest.$ac_objext
2940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2941 (eval $ac_compile) 2>conftest.er1
2942 ac_status=$?
2943 grep -v '^ *+' conftest.er1 >conftest.err
2944 rm -f conftest.er1
2945 cat conftest.err >&5
2946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947 (exit $ac_status); } &&
2948 { ac_try='test -z "$ac_c_werror_flag"
2949 || test ! -s conftest.err'
2950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2951 (eval $ac_try) 2>&5
2952 ac_status=$?
2953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2954 (exit $ac_status); }; } &&
2955 { ac_try='test -s conftest.$ac_objext'
2956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2957 (eval $ac_try) 2>&5
2958 ac_status=$?
2959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2960 (exit $ac_status); }; }; then
2961 ac_cv_prog_cc_g=yes
2962 else
2963 echo "$as_me: failed program was:" >&5
2964 sed 's/^/| /' conftest.$ac_ext >&5
2965
2966 ac_cv_prog_cc_g=no
2967 fi
2968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2969 fi
2970 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2971 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2972 if test "$ac_test_CFLAGS" = set; then
2973 CFLAGS=$ac_save_CFLAGS
2974 elif test $ac_cv_prog_cc_g = yes; then
2975 if test "$GCC" = yes; then
2976 CFLAGS="-g -O2"
2977 else
2978 CFLAGS="-g"
2979 fi
2980 else
2981 if test "$GCC" = yes; then
2982 CFLAGS="-O2"
2983 else
2984 CFLAGS=
2985 fi
2986 fi
2987 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2988 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2989 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2990 echo $ECHO_N "(cached) $ECHO_C" >&6
2991 else
2992 ac_cv_prog_cc_stdc=no
2993 ac_save_CC=$CC
2994 cat >conftest.$ac_ext <<_ACEOF
2995 /* confdefs.h. */
2996 _ACEOF
2997 cat confdefs.h >>conftest.$ac_ext
2998 cat >>conftest.$ac_ext <<_ACEOF
2999 /* end confdefs.h. */
3000 #include <stdarg.h>
3001 #include <stdio.h>
3002 #include <sys/types.h>
3003 #include <sys/stat.h>
3004 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3005 struct buf { int x; };
3006 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3007 static char *e (p, i)
3008 char **p;
3009 int i;
3010 {
3011 return p[i];
3012 }
3013 static char *f (char * (*g) (char **, int), char **p, ...)
3014 {
3015 char *s;
3016 va_list v;
3017 va_start (v,p);
3018 s = g (p, va_arg (v,int));
3019 va_end (v);
3020 return s;
3021 }
3022
3023 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3024 function prototypes and stuff, but not '\xHH' hex character constants.
3025 These don't provoke an error unfortunately, instead are silently treated
3026 as 'x'. The following induces an error, until -std1 is added to get
3027 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3028 array size at least. It's necessary to write '\x00'==0 to get something
3029 that's true only with -std1. */
3030 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3031
3032 int test (int i, double x);
3033 struct s1 {int (*f) (int a);};
3034 struct s2 {int (*f) (double a);};
3035 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3036 int argc;
3037 char **argv;
3038 int
3039 main ()
3040 {
3041 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3042 ;
3043 return 0;
3044 }
3045 _ACEOF
3046 # Don't try gcc -ansi; that turns off useful extensions and
3047 # breaks some systems' header files.
3048 # AIX -qlanglvl=ansi
3049 # Ultrix and OSF/1 -std1
3050 # HP-UX 10.20 and later -Ae
3051 # HP-UX older versions -Aa -D_HPUX_SOURCE
3052 # SVR4 -Xc -D__EXTENSIONS__
3053 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3054 do
3055 CC="$ac_save_CC $ac_arg"
3056 rm -f conftest.$ac_objext
3057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3058 (eval $ac_compile) 2>conftest.er1
3059 ac_status=$?
3060 grep -v '^ *+' conftest.er1 >conftest.err
3061 rm -f conftest.er1
3062 cat conftest.err >&5
3063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3064 (exit $ac_status); } &&
3065 { ac_try='test -z "$ac_c_werror_flag"
3066 || test ! -s conftest.err'
3067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3068 (eval $ac_try) 2>&5
3069 ac_status=$?
3070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3071 (exit $ac_status); }; } &&
3072 { ac_try='test -s conftest.$ac_objext'
3073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3074 (eval $ac_try) 2>&5
3075 ac_status=$?
3076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3077 (exit $ac_status); }; }; then
3078 ac_cv_prog_cc_stdc=$ac_arg
3079 break
3080 else
3081 echo "$as_me: failed program was:" >&5
3082 sed 's/^/| /' conftest.$ac_ext >&5
3083
3084 fi
3085 rm -f conftest.err conftest.$ac_objext
3086 done
3087 rm -f conftest.$ac_ext conftest.$ac_objext
3088 CC=$ac_save_CC
3089
3090 fi
3091
3092 case "x$ac_cv_prog_cc_stdc" in
3093 x|xno)
3094 echo "$as_me:$LINENO: result: none needed" >&5
3095 echo "${ECHO_T}none needed" >&6 ;;
3096 *)
3097 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3098 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3099 CC="$CC $ac_cv_prog_cc_stdc" ;;
3100 esac
3101
3102 # Some people use a C++ compiler to compile C. Since we use `exit',
3103 # in C++ we need to declare it. In case someone uses the same compiler
3104 # for both compiling C and C++ we need to have the C++ compiler decide
3105 # the declaration of exit, since it's the most demanding environment.
3106 cat >conftest.$ac_ext <<_ACEOF
3107 #ifndef __cplusplus
3108 choke me
3109 #endif
3110 _ACEOF
3111 rm -f conftest.$ac_objext
3112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3113 (eval $ac_compile) 2>conftest.er1
3114 ac_status=$?
3115 grep -v '^ *+' conftest.er1 >conftest.err
3116 rm -f conftest.er1
3117 cat conftest.err >&5
3118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3119 (exit $ac_status); } &&
3120 { ac_try='test -z "$ac_c_werror_flag"
3121 || test ! -s conftest.err'
3122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3123 (eval $ac_try) 2>&5
3124 ac_status=$?
3125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3126 (exit $ac_status); }; } &&
3127 { ac_try='test -s conftest.$ac_objext'
3128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3129 (eval $ac_try) 2>&5
3130 ac_status=$?
3131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3132 (exit $ac_status); }; }; then
3133 for ac_declaration in \
3134 '' \
3135 'extern "C" void std::exit (int) throw (); using std::exit;' \
3136 'extern "C" void std::exit (int); using std::exit;' \
3137 'extern "C" void exit (int) throw ();' \
3138 'extern "C" void exit (int);' \
3139 'void exit (int);'
3140 do
3141 cat >conftest.$ac_ext <<_ACEOF
3142 /* confdefs.h. */
3143 _ACEOF
3144 cat confdefs.h >>conftest.$ac_ext
3145 cat >>conftest.$ac_ext <<_ACEOF
3146 /* end confdefs.h. */
3147 $ac_declaration
3148 #include <stdlib.h>
3149 int
3150 main ()
3151 {
3152 exit (42);
3153 ;
3154 return 0;
3155 }
3156 _ACEOF
3157 rm -f conftest.$ac_objext
3158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3159 (eval $ac_compile) 2>conftest.er1
3160 ac_status=$?
3161 grep -v '^ *+' conftest.er1 >conftest.err
3162 rm -f conftest.er1
3163 cat conftest.err >&5
3164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3165 (exit $ac_status); } &&
3166 { ac_try='test -z "$ac_c_werror_flag"
3167 || test ! -s conftest.err'
3168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3169 (eval $ac_try) 2>&5
3170 ac_status=$?
3171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3172 (exit $ac_status); }; } &&
3173 { ac_try='test -s conftest.$ac_objext'
3174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3175 (eval $ac_try) 2>&5
3176 ac_status=$?
3177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3178 (exit $ac_status); }; }; then
3179 :
3180 else
3181 echo "$as_me: failed program was:" >&5
3182 sed 's/^/| /' conftest.$ac_ext >&5
3183
3184 continue
3185 fi
3186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3187 cat >conftest.$ac_ext <<_ACEOF
3188 /* confdefs.h. */
3189 _ACEOF
3190 cat confdefs.h >>conftest.$ac_ext
3191 cat >>conftest.$ac_ext <<_ACEOF
3192 /* end confdefs.h. */
3193 $ac_declaration
3194 int
3195 main ()
3196 {
3197 exit (42);
3198 ;
3199 return 0;
3200 }
3201 _ACEOF
3202 rm -f conftest.$ac_objext
3203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3204 (eval $ac_compile) 2>conftest.er1
3205 ac_status=$?
3206 grep -v '^ *+' conftest.er1 >conftest.err
3207 rm -f conftest.er1
3208 cat conftest.err >&5
3209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210 (exit $ac_status); } &&
3211 { ac_try='test -z "$ac_c_werror_flag"
3212 || test ! -s conftest.err'
3213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3214 (eval $ac_try) 2>&5
3215 ac_status=$?
3216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3217 (exit $ac_status); }; } &&
3218 { ac_try='test -s conftest.$ac_objext'
3219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3220 (eval $ac_try) 2>&5
3221 ac_status=$?
3222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3223 (exit $ac_status); }; }; then
3224 break
3225 else
3226 echo "$as_me: failed program was:" >&5
3227 sed 's/^/| /' conftest.$ac_ext >&5
3228
3229 fi
3230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3231 done
3232 rm -f conftest*
3233 if test -n "$ac_declaration"; then
3234 echo '#ifdef __cplusplus' >>confdefs.h
3235 echo $ac_declaration >>confdefs.h
3236 echo '#endif' >>confdefs.h
3237 fi
3238
3239 else
3240 echo "$as_me: failed program was:" >&5
3241 sed 's/^/| /' conftest.$ac_ext >&5
3242
3243 fi
3244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3245 ac_ext=c
3246 ac_cpp='$CPP $CPPFLAGS'
3247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3250
3251 depcc="$CC" am_compiler_list=
3252
3253 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3254 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3255 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3256 echo $ECHO_N "(cached) $ECHO_C" >&6
3257 else
3258 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3259 # We make a subdir and do the tests there. Otherwise we can end up
3260 # making bogus files that we don't know about and never remove. For
3261 # instance it was reported that on HP-UX the gcc test will end up
3262 # making a dummy file named `D' -- because `-MD' means `put the output
3263 # in D'.
3264 mkdir conftest.dir
3265 # Copy depcomp to subdir because otherwise we won't find it if we're
3266 # using a relative directory.
3267 cp "$am_depcomp" conftest.dir
3268 cd conftest.dir
3269 # We will build objects and dependencies in a subdirectory because
3270 # it helps to detect inapplicable dependency modes. For instance
3271 # both Tru64's cc and ICC support -MD to output dependencies as a
3272 # side effect of compilation, but ICC will put the dependencies in
3273 # the current directory while Tru64 will put them in the object
3274 # directory.
3275 mkdir sub
3276
3277 am_cv_CC_dependencies_compiler_type=none
3278 if test "$am_compiler_list" = ""; then
3279 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3280 fi
3281 for depmode in $am_compiler_list; do
3282 # Setup a source with many dependencies, because some compilers
3283 # like to wrap large dependency lists on column 80 (with \), and
3284 # we should not choose a depcomp mode which is confused by this.
3285 #
3286 # We need to recreate these files for each test, as the compiler may
3287 # overwrite some of them when testing with obscure command lines.
3288 # This happens at least with the AIX C compiler.
3289 : > sub/conftest.c
3290 for i in 1 2 3 4 5 6; do
3291 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3292 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3293 # Solaris 8's {/usr,}/bin/sh.
3294 touch sub/conftst$i.h
3295 done
3296 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3297
3298 case $depmode in
3299 nosideeffect)
3300 # after this tag, mechanisms are not by side-effect, so they'll
3301 # only be used when explicitly requested
3302 if test "x$enable_dependency_tracking" = xyes; then
3303 continue
3304 else
3305 break
3306 fi
3307 ;;
3308 none) break ;;
3309 esac
3310 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3311 # mode. It turns out that the SunPro C++ compiler does not properly
3312 # handle `-M -o', and we need to detect this.
3313 if depmode=$depmode \
3314 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3315 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3316 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3317 >/dev/null 2>conftest.err &&
3318 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3319 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3320 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3321 # icc doesn't choke on unknown options, it will just issue warnings
3322 # or remarks (even with -Werror). So we grep stderr for any message
3323 # that says an option was ignored or not supported.
3324 # When given -MP, icc 7.0 and 7.1 complain thusly:
3325 # icc: Command line warning: ignoring option '-M'; no argument required
3326 # The diagnosis changed in icc 8.0:
3327 # icc: Command line remark: option '-MP' not supported
3328 if (grep 'ignoring option' conftest.err ||
3329 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3330 am_cv_CC_dependencies_compiler_type=$depmode
3331 break
3332 fi
3333 fi
3334 done
3335
3336 cd ..
3337 rm -rf conftest.dir
3338 else
3339 am_cv_CC_dependencies_compiler_type=none
3340 fi
3341
3342 fi
3343 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3344 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3345 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3346
3347
3348
3349 if
3350 test "x$enable_dependency_tracking" != xno \
3351 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3352 am__fastdepCC_TRUE=
3353 am__fastdepCC_FALSE='#'
3354 else
3355 am__fastdepCC_TRUE='#'
3356 am__fastdepCC_FALSE=
3357 fi
3358
3359
3360
3361 ac_ext=c
3362 ac_cpp='$CPP $CPPFLAGS'
3363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3366 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3367 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3368 # On Suns, sometimes $CPP names a directory.
3369 if test -n "$CPP" && test -d "$CPP"; then
3370 CPP=
3371 fi
3372 if test -z "$CPP"; then
3373 if test "${ac_cv_prog_CPP+set}" = set; then
3374 echo $ECHO_N "(cached) $ECHO_C" >&6
3375 else
3376 # Double quotes because CPP needs to be expanded
3377 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3378 do
3379 ac_preproc_ok=false
3380 for ac_c_preproc_warn_flag in '' yes
3381 do
3382 # Use a header file that comes with gcc, so configuring glibc
3383 # with a fresh cross-compiler works.
3384 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3385 # <limits.h> exists even on freestanding compilers.
3386 # On the NeXT, cc -E runs the code through the compiler's parser,
3387 # not just through cpp. "Syntax error" is here to catch this case.
3388 cat >conftest.$ac_ext <<_ACEOF
3389 /* confdefs.h. */
3390 _ACEOF
3391 cat confdefs.h >>conftest.$ac_ext
3392 cat >>conftest.$ac_ext <<_ACEOF
3393 /* end confdefs.h. */
3394 #ifdef __STDC__
3395 # include <limits.h>
3396 #else
3397 # include <assert.h>
3398 #endif
3399 Syntax error
3400 _ACEOF
3401 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3402 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3403 ac_status=$?
3404 grep -v '^ *+' conftest.er1 >conftest.err
3405 rm -f conftest.er1
3406 cat conftest.err >&5
3407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3408 (exit $ac_status); } >/dev/null; then
3409 if test -s conftest.err; then
3410 ac_cpp_err=$ac_c_preproc_warn_flag
3411 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3412 else
3413 ac_cpp_err=
3414 fi
3415 else
3416 ac_cpp_err=yes
3417 fi
3418 if test -z "$ac_cpp_err"; then
3419 :
3420 else
3421 echo "$as_me: failed program was:" >&5
3422 sed 's/^/| /' conftest.$ac_ext >&5
3423
3424 # Broken: fails on valid input.
3425 continue
3426 fi
3427 rm -f conftest.err conftest.$ac_ext
3428
3429 # OK, works on sane cases. Now check whether non-existent headers
3430 # can be detected and how.
3431 cat >conftest.$ac_ext <<_ACEOF
3432 /* confdefs.h. */
3433 _ACEOF
3434 cat confdefs.h >>conftest.$ac_ext
3435 cat >>conftest.$ac_ext <<_ACEOF
3436 /* end confdefs.h. */
3437 #include <ac_nonexistent.h>
3438 _ACEOF
3439 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3440 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3441 ac_status=$?
3442 grep -v '^ *+' conftest.er1 >conftest.err
3443 rm -f conftest.er1
3444 cat conftest.err >&5
3445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3446 (exit $ac_status); } >/dev/null; then
3447 if test -s conftest.err; then
3448 ac_cpp_err=$ac_c_preproc_warn_flag
3449 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3450 else
3451 ac_cpp_err=
3452 fi
3453 else
3454 ac_cpp_err=yes
3455 fi
3456 if test -z "$ac_cpp_err"; then
3457 # Broken: success on invalid input.
3458 continue
3459 else
3460 echo "$as_me: failed program was:" >&5
3461 sed 's/^/| /' conftest.$ac_ext >&5
3462
3463 # Passes both tests.
3464 ac_preproc_ok=:
3465 break
3466 fi
3467 rm -f conftest.err conftest.$ac_ext
3468
3469 done
3470 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3471 rm -f conftest.err conftest.$ac_ext
3472 if $ac_preproc_ok; then
3473 break
3474 fi
3475
3476 done
3477 ac_cv_prog_CPP=$CPP
3478
3479 fi
3480 CPP=$ac_cv_prog_CPP
3481 else
3482 ac_cv_prog_CPP=$CPP
3483 fi
3484 echo "$as_me:$LINENO: result: $CPP" >&5
3485 echo "${ECHO_T}$CPP" >&6
3486 ac_preproc_ok=false
3487 for ac_c_preproc_warn_flag in '' yes
3488 do
3489 # Use a header file that comes with gcc, so configuring glibc
3490 # with a fresh cross-compiler works.
3491 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3492 # <limits.h> exists even on freestanding compilers.
3493 # On the NeXT, cc -E runs the code through the compiler's parser,
3494 # not just through cpp. "Syntax error" is here to catch this case.
3495 cat >conftest.$ac_ext <<_ACEOF
3496 /* confdefs.h. */
3497 _ACEOF
3498 cat confdefs.h >>conftest.$ac_ext
3499 cat >>conftest.$ac_ext <<_ACEOF
3500 /* end confdefs.h. */
3501 #ifdef __STDC__
3502 # include <limits.h>
3503 #else
3504 # include <assert.h>
3505 #endif
3506 Syntax error
3507 _ACEOF
3508 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3509 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3510 ac_status=$?
3511 grep -v '^ *+' conftest.er1 >conftest.err
3512 rm -f conftest.er1
3513 cat conftest.err >&5
3514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3515 (exit $ac_status); } >/dev/null; then
3516 if test -s conftest.err; then
3517 ac_cpp_err=$ac_c_preproc_warn_flag
3518 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3519 else
3520 ac_cpp_err=
3521 fi
3522 else
3523 ac_cpp_err=yes
3524 fi
3525 if test -z "$ac_cpp_err"; then
3526 :
3527 else
3528 echo "$as_me: failed program was:" >&5
3529 sed 's/^/| /' conftest.$ac_ext >&5
3530
3531 # Broken: fails on valid input.
3532 continue
3533 fi
3534 rm -f conftest.err conftest.$ac_ext
3535
3536 # OK, works on sane cases. Now check whether non-existent headers
3537 # can be detected and how.
3538 cat >conftest.$ac_ext <<_ACEOF
3539 /* confdefs.h. */
3540 _ACEOF
3541 cat confdefs.h >>conftest.$ac_ext
3542 cat >>conftest.$ac_ext <<_ACEOF
3543 /* end confdefs.h. */
3544 #include <ac_nonexistent.h>
3545 _ACEOF
3546 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3547 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3548 ac_status=$?
3549 grep -v '^ *+' conftest.er1 >conftest.err
3550 rm -f conftest.er1
3551 cat conftest.err >&5
3552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3553 (exit $ac_status); } >/dev/null; then
3554 if test -s conftest.err; then
3555 ac_cpp_err=$ac_c_preproc_warn_flag
3556 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3557 else
3558 ac_cpp_err=
3559 fi
3560 else
3561 ac_cpp_err=yes
3562 fi
3563 if test -z "$ac_cpp_err"; then
3564 # Broken: success on invalid input.
3565 continue
3566 else
3567 echo "$as_me: failed program was:" >&5
3568 sed 's/^/| /' conftest.$ac_ext >&5
3569
3570 # Passes both tests.
3571 ac_preproc_ok=:
3572 break
3573 fi
3574 rm -f conftest.err conftest.$ac_ext
3575
3576 done
3577 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3578 rm -f conftest.err conftest.$ac_ext
3579 if $ac_preproc_ok; then
3580 :
3581 else
3582 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3583 See \`config.log' for more details." >&5
3584 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3585 See \`config.log' for more details." >&2;}
3586 { (exit 1); exit 1; }; }
3587 fi
3588
3589 ac_ext=c
3590 ac_cpp='$CPP $CPPFLAGS'
3591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3594
3595
3596 echo "$as_me:$LINENO: checking for egrep" >&5
3597 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3598 if test "${ac_cv_prog_egrep+set}" = set; then
3599 echo $ECHO_N "(cached) $ECHO_C" >&6
3600 else
3601 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3602 then ac_cv_prog_egrep='grep -E'
3603 else ac_cv_prog_egrep='egrep'
3604 fi
3605 fi
3606 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3607 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3608 EGREP=$ac_cv_prog_egrep
3609
3610
3611 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3612 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3613 if test "${ac_cv_header_stdc+set}" = set; then
3614 echo $ECHO_N "(cached) $ECHO_C" >&6
3615 else
3616 cat >conftest.$ac_ext <<_ACEOF
3617 /* confdefs.h. */
3618 _ACEOF
3619 cat confdefs.h >>conftest.$ac_ext
3620 cat >>conftest.$ac_ext <<_ACEOF
3621 /* end confdefs.h. */
3622 #include <stdlib.h>
3623 #include <stdarg.h>
3624 #include <string.h>
3625 #include <float.h>
3626
3627 int
3628 main ()
3629 {
3630
3631 ;
3632 return 0;
3633 }
3634 _ACEOF
3635 rm -f conftest.$ac_objext
3636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3637 (eval $ac_compile) 2>conftest.er1
3638 ac_status=$?
3639 grep -v '^ *+' conftest.er1 >conftest.err
3640 rm -f conftest.er1
3641 cat conftest.err >&5
3642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3643 (exit $ac_status); } &&
3644 { ac_try='test -z "$ac_c_werror_flag"
3645 || test ! -s conftest.err'
3646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3647 (eval $ac_try) 2>&5
3648 ac_status=$?
3649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3650 (exit $ac_status); }; } &&
3651 { ac_try='test -s conftest.$ac_objext'
3652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3653 (eval $ac_try) 2>&5
3654 ac_status=$?
3655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3656 (exit $ac_status); }; }; then
3657 ac_cv_header_stdc=yes
3658 else
3659 echo "$as_me: failed program was:" >&5
3660 sed 's/^/| /' conftest.$ac_ext >&5
3661
3662 ac_cv_header_stdc=no
3663 fi
3664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3665
3666 if test $ac_cv_header_stdc = yes; then
3667 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3668 cat >conftest.$ac_ext <<_ACEOF
3669 /* confdefs.h. */
3670 _ACEOF
3671 cat confdefs.h >>conftest.$ac_ext
3672 cat >>conftest.$ac_ext <<_ACEOF
3673 /* end confdefs.h. */
3674 #include <string.h>
3675
3676 _ACEOF
3677 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3678 $EGREP "memchr" >/dev/null 2>&1; then
3679 :
3680 else
3681 ac_cv_header_stdc=no
3682 fi
3683 rm -f conftest*
3684
3685 fi
3686
3687 if test $ac_cv_header_stdc = yes; then
3688 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3689 cat >conftest.$ac_ext <<_ACEOF
3690 /* confdefs.h. */
3691 _ACEOF
3692 cat confdefs.h >>conftest.$ac_ext
3693 cat >>conftest.$ac_ext <<_ACEOF
3694 /* end confdefs.h. */
3695 #include <stdlib.h>
3696
3697 _ACEOF
3698 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3699 $EGREP "free" >/dev/null 2>&1; then
3700 :
3701 else
3702 ac_cv_header_stdc=no
3703 fi
3704 rm -f conftest*
3705
3706 fi
3707
3708 if test $ac_cv_header_stdc = yes; then
3709 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3710 if test "$cross_compiling" = yes; then
3711 :
3712 else
3713 cat >conftest.$ac_ext <<_ACEOF
3714 /* confdefs.h. */
3715 _ACEOF
3716 cat confdefs.h >>conftest.$ac_ext
3717 cat >>conftest.$ac_ext <<_ACEOF
3718 /* end confdefs.h. */
3719 #include <ctype.h>
3720 #if ((' ' & 0x0FF) == 0x020)
3721 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3722 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3723 #else
3724 # define ISLOWER(c) \
3725 (('a' <= (c) && (c) <= 'i') \
3726 || ('j' <= (c) && (c) <= 'r') \
3727 || ('s' <= (c) && (c) <= 'z'))
3728 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3729 #endif
3730
3731 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3732 int
3733 main ()
3734 {
3735 int i;
3736 for (i = 0; i < 256; i++)
3737 if (XOR (islower (i), ISLOWER (i))
3738 || toupper (i) != TOUPPER (i))
3739 exit(2);
3740 exit (0);
3741 }
3742 _ACEOF
3743 rm -f conftest$ac_exeext
3744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3745 (eval $ac_link) 2>&5
3746 ac_status=$?
3747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3748 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3750 (eval $ac_try) 2>&5
3751 ac_status=$?
3752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3753 (exit $ac_status); }; }; then
3754 :
3755 else
3756 echo "$as_me: program exited with status $ac_status" >&5
3757 echo "$as_me: failed program was:" >&5
3758 sed 's/^/| /' conftest.$ac_ext >&5
3759
3760 ( exit $ac_status )
3761 ac_cv_header_stdc=no
3762 fi
3763 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3764 fi
3765 fi
3766 fi
3767 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3768 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3769 if test $ac_cv_header_stdc = yes; then
3770
3771 cat >>confdefs.h <<\_ACEOF
3772 #define STDC_HEADERS 1
3773 _ACEOF
3774
3775 fi
3776
3777 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3788 inttypes.h stdint.h unistd.h
3789 do
3790 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3791 echo "$as_me:$LINENO: checking for $ac_header" >&5
3792 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3794 echo $ECHO_N "(cached) $ECHO_C" >&6
3795 else
3796 cat >conftest.$ac_ext <<_ACEOF
3797 /* confdefs.h. */
3798 _ACEOF
3799 cat confdefs.h >>conftest.$ac_ext
3800 cat >>conftest.$ac_ext <<_ACEOF
3801 /* end confdefs.h. */
3802 $ac_includes_default
3803
3804 #include <$ac_header>
3805 _ACEOF
3806 rm -f conftest.$ac_objext
3807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3808 (eval $ac_compile) 2>conftest.er1
3809 ac_status=$?
3810 grep -v '^ *+' conftest.er1 >conftest.err
3811 rm -f conftest.er1
3812 cat conftest.err >&5
3813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3814 (exit $ac_status); } &&
3815 { ac_try='test -z "$ac_c_werror_flag"
3816 || test ! -s conftest.err'
3817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3818 (eval $ac_try) 2>&5
3819 ac_status=$?
3820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3821 (exit $ac_status); }; } &&
3822 { ac_try='test -s conftest.$ac_objext'
3823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3824 (eval $ac_try) 2>&5
3825 ac_status=$?
3826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3827 (exit $ac_status); }; }; then
3828 eval "$as_ac_Header=yes"
3829 else
3830 echo "$as_me: failed program was:" >&5
3831 sed 's/^/| /' conftest.$ac_ext >&5
3832
3833 eval "$as_ac_Header=no"
3834 fi
3835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3836 fi
3837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3838 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3839 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3840 cat >>confdefs.h <<_ACEOF
3841 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3842 _ACEOF
3843
3844 fi
3845
3846 done
3847
3848
3849 # Check whether --enable-alsa or --disable-alsa was given.
3850 if test "${enable_alsa+set}" = set; then
3851 enableval="$enable_alsa"
3852 case "${enableval}" in
3853 yes) COMPILE_ALSA=yes ;;
3854 no) COMPILE_ALSA=no ;;
3855 *) COMPILE_ALSA=yes ;;
3856 esac
3857 else
3858
3859 for ac_header in alsa/asoundlib.h
3860 do
3861 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3862 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3863 echo "$as_me:$LINENO: checking for $ac_header" >&5
3864 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3865 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3866 echo $ECHO_N "(cached) $ECHO_C" >&6
3867 fi
3868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3869 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3870 else
3871 # Is the header compilable?
3872 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3873 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3874 cat >conftest.$ac_ext <<_ACEOF
3875 /* confdefs.h. */
3876 _ACEOF
3877 cat confdefs.h >>conftest.$ac_ext
3878 cat >>conftest.$ac_ext <<_ACEOF
3879 /* end confdefs.h. */
3880 $ac_includes_default
3881 #include <$ac_header>
3882 _ACEOF
3883 rm -f conftest.$ac_objext
3884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3885 (eval $ac_compile) 2>conftest.er1
3886 ac_status=$?
3887 grep -v '^ *+' conftest.er1 >conftest.err
3888 rm -f conftest.er1
3889 cat conftest.err >&5
3890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3891 (exit $ac_status); } &&
3892 { ac_try='test -z "$ac_c_werror_flag"
3893 || test ! -s conftest.err'
3894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3895 (eval $ac_try) 2>&5
3896 ac_status=$?
3897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3898 (exit $ac_status); }; } &&
3899 { ac_try='test -s conftest.$ac_objext'
3900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3901 (eval $ac_try) 2>&5
3902 ac_status=$?
3903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3904 (exit $ac_status); }; }; then
3905 ac_header_compiler=yes
3906 else
3907 echo "$as_me: failed program was:" >&5
3908 sed 's/^/| /' conftest.$ac_ext >&5
3909
3910 ac_header_compiler=no
3911 fi
3912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3913 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3914 echo "${ECHO_T}$ac_header_compiler" >&6
3915
3916 # Is the header present?
3917 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3918 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3919 cat >conftest.$ac_ext <<_ACEOF
3920 /* confdefs.h. */
3921 _ACEOF
3922 cat confdefs.h >>conftest.$ac_ext
3923 cat >>conftest.$ac_ext <<_ACEOF
3924 /* end confdefs.h. */
3925 #include <$ac_header>
3926 _ACEOF
3927 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3928 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3929 ac_status=$?
3930 grep -v '^ *+' conftest.er1 >conftest.err
3931 rm -f conftest.er1
3932 cat conftest.err >&5
3933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3934 (exit $ac_status); } >/dev/null; then
3935 if test -s conftest.err; then
3936 ac_cpp_err=$ac_c_preproc_warn_flag
3937 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3938 else
3939 ac_cpp_err=
3940 fi
3941 else
3942 ac_cpp_err=yes
3943 fi
3944 if test -z "$ac_cpp_err"; then
3945 ac_header_preproc=yes
3946 else
3947 echo "$as_me: failed program was:" >&5
3948 sed 's/^/| /' conftest.$ac_ext >&5
3949
3950 ac_header_preproc=no
3951 fi
3952 rm -f conftest.err conftest.$ac_ext
3953 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3954 echo "${ECHO_T}$ac_header_preproc" >&6
3955
3956 # So? What about this header?
3957 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3958 yes:no: )
3959 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3960 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3961 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3962 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3963 ac_header_preproc=yes
3964 ;;
3965 no:yes:* )
3966 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3967 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3968 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3969 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3970 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3971 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3972 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3973 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3974 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3975 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3976 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3977 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3978 (
3979 cat <<\_ASBOX
3980 ## -------------------------------- ##
3981 ## Report this to classpath@gnu.org ##
3982 ## -------------------------------- ##
3983 _ASBOX
3984 ) |
3985 sed "s/^/$as_me: WARNING: /" >&2
3986 ;;
3987 esac
3988 echo "$as_me:$LINENO: checking for $ac_header" >&5
3989 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3990 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3991 echo $ECHO_N "(cached) $ECHO_C" >&6
3992 else
3993 eval "$as_ac_Header=\$ac_header_preproc"
3994 fi
3995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3996 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3997
3998 fi
3999 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4000 cat >>confdefs.h <<_ACEOF
4001 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4002 _ACEOF
4003 echo "$as_me:$LINENO: checking for snd_seq_open in -lasound" >&5
4004 echo $ECHO_N "checking for snd_seq_open in -lasound... $ECHO_C" >&6
4005 if test "${ac_cv_lib_asound_snd_seq_open+set}" = set; then
4006 echo $ECHO_N "(cached) $ECHO_C" >&6
4007 else
4008 ac_check_lib_save_LIBS=$LIBS
4009 LIBS="-lasound $LIBS"
4010 if test x$gcc_no_link = xyes; then
4011 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4013 { (exit 1); exit 1; }; }
4014 fi
4015 cat >conftest.$ac_ext <<_ACEOF
4016 /* confdefs.h. */
4017 _ACEOF
4018 cat confdefs.h >>conftest.$ac_ext
4019 cat >>conftest.$ac_ext <<_ACEOF
4020 /* end confdefs.h. */
4021
4022 /* Override any gcc2 internal prototype to avoid an error. */
4023 #ifdef __cplusplus
4024 extern "C"
4025 #endif
4026 /* We use char because int might match the return type of a gcc2
4027 builtin and then its argument prototype would still apply. */
4028 char snd_seq_open ();
4029 int
4030 main ()
4031 {
4032 snd_seq_open ();
4033 ;
4034 return 0;
4035 }
4036 _ACEOF
4037 rm -f conftest.$ac_objext conftest$ac_exeext
4038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4039 (eval $ac_link) 2>conftest.er1
4040 ac_status=$?
4041 grep -v '^ *+' conftest.er1 >conftest.err
4042 rm -f conftest.er1
4043 cat conftest.err >&5
4044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4045 (exit $ac_status); } &&
4046 { ac_try='test -z "$ac_c_werror_flag"
4047 || test ! -s conftest.err'
4048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4049 (eval $ac_try) 2>&5
4050 ac_status=$?
4051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4052 (exit $ac_status); }; } &&
4053 { ac_try='test -s conftest$ac_exeext'
4054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4055 (eval $ac_try) 2>&5
4056 ac_status=$?
4057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4058 (exit $ac_status); }; }; then
4059 ac_cv_lib_asound_snd_seq_open=yes
4060 else
4061 echo "$as_me: failed program was:" >&5
4062 sed 's/^/| /' conftest.$ac_ext >&5
4063
4064 ac_cv_lib_asound_snd_seq_open=no
4065 fi
4066 rm -f conftest.err conftest.$ac_objext \
4067 conftest$ac_exeext conftest.$ac_ext
4068 LIBS=$ac_check_lib_save_LIBS
4069 fi
4070 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_seq_open" >&5
4071 echo "${ECHO_T}$ac_cv_lib_asound_snd_seq_open" >&6
4072 if test $ac_cv_lib_asound_snd_seq_open = yes; then
4073 COMPILE_ALSA=yes
4074 else
4075 COMPILE_ALSA=no
4076 fi
4077
4078 else
4079 COMPILE_ALSA=no
4080 fi
4081
4082 done
4083
4084 fi;
4085
4086
4087 if test "x${COMPILE_ALSA}" = xyes; then
4088 CREATE_ALSA_LIBRARIES_TRUE=
4089 CREATE_ALSA_LIBRARIES_FALSE='#'
4090 else
4091 CREATE_ALSA_LIBRARIES_TRUE='#'
4092 CREATE_ALSA_LIBRARIES_FALSE=
4093 fi
4094
4095
4096 # Check whether --enable-dssi or --disable-dssi was given.
4097 if test "${enable_dssi+set}" = set; then
4098 enableval="$enable_dssi"
4099 case "${enableval}" in
4100 yes) COMPILE_DSSI=yes ;;
4101 no) COMPILE_DSSI=no ;;
4102 *) COMPILE_DSSI=yes ;;
4103 esac
4104 else
4105
4106 for ac_header in dssi.h
4107 do
4108 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4109 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4110 echo "$as_me:$LINENO: checking for $ac_header" >&5
4111 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4112 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4113 echo $ECHO_N "(cached) $ECHO_C" >&6
4114 fi
4115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4116 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4117 else
4118 # Is the header compilable?
4119 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4120 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4121 cat >conftest.$ac_ext <<_ACEOF
4122 /* confdefs.h. */
4123 _ACEOF
4124 cat confdefs.h >>conftest.$ac_ext
4125 cat >>conftest.$ac_ext <<_ACEOF
4126 /* end confdefs.h. */
4127 $ac_includes_default
4128 #include <$ac_header>
4129 _ACEOF
4130 rm -f conftest.$ac_objext
4131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4132 (eval $ac_compile) 2>conftest.er1
4133 ac_status=$?
4134 grep -v '^ *+' conftest.er1 >conftest.err
4135 rm -f conftest.er1
4136 cat conftest.err >&5
4137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4138 (exit $ac_status); } &&
4139 { ac_try='test -z "$ac_c_werror_flag"
4140 || test ! -s conftest.err'
4141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4142 (eval $ac_try) 2>&5
4143 ac_status=$?
4144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4145 (exit $ac_status); }; } &&
4146 { ac_try='test -s conftest.$ac_objext'
4147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4148 (eval $ac_try) 2>&5
4149 ac_status=$?
4150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4151 (exit $ac_status); }; }; then
4152 ac_header_compiler=yes
4153 else
4154 echo "$as_me: failed program was:" >&5
4155 sed 's/^/| /' conftest.$ac_ext >&5
4156
4157 ac_header_compiler=no
4158 fi
4159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4160 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4161 echo "${ECHO_T}$ac_header_compiler" >&6
4162
4163 # Is the header present?
4164 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4165 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4166 cat >conftest.$ac_ext <<_ACEOF
4167 /* confdefs.h. */
4168 _ACEOF
4169 cat confdefs.h >>conftest.$ac_ext
4170 cat >>conftest.$ac_ext <<_ACEOF
4171 /* end confdefs.h. */
4172 #include <$ac_header>
4173 _ACEOF
4174 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4175 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4176 ac_status=$?
4177 grep -v '^ *+' conftest.er1 >conftest.err
4178 rm -f conftest.er1
4179 cat conftest.err >&5
4180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4181 (exit $ac_status); } >/dev/null; then
4182 if test -s conftest.err; then
4183 ac_cpp_err=$ac_c_preproc_warn_flag
4184 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4185 else
4186 ac_cpp_err=
4187 fi
4188 else
4189 ac_cpp_err=yes
4190 fi
4191 if test -z "$ac_cpp_err"; then
4192 ac_header_preproc=yes
4193 else
4194 echo "$as_me: failed program was:" >&5
4195 sed 's/^/| /' conftest.$ac_ext >&5
4196
4197 ac_header_preproc=no
4198 fi
4199 rm -f conftest.err conftest.$ac_ext
4200 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4201 echo "${ECHO_T}$ac_header_preproc" >&6
4202
4203 # So? What about this header?
4204 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4205 yes:no: )
4206 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4207 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4208 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4209 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4210 ac_header_preproc=yes
4211 ;;
4212 no:yes:* )
4213 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4214 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4215 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4216 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4217 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4218 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4219 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4220 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4221 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4222 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4223 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4224 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4225 (
4226 cat <<\_ASBOX
4227 ## -------------------------------- ##
4228 ## Report this to classpath@gnu.org ##
4229 ## -------------------------------- ##
4230 _ASBOX
4231 ) |
4232 sed "s/^/$as_me: WARNING: /" >&2
4233 ;;
4234 esac
4235 echo "$as_me:$LINENO: checking for $ac_header" >&5
4236 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4238 echo $ECHO_N "(cached) $ECHO_C" >&6
4239 else
4240 eval "$as_ac_Header=\$ac_header_preproc"
4241 fi
4242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4243 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4244
4245 fi
4246 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4247 cat >>confdefs.h <<_ACEOF
4248 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4249 _ACEOF
4250 COMPILE_DSSI=yes
4251 else
4252 COMPILE_DSSI=no
4253 fi
4254
4255 done
4256
4257 fi;
4258
4259
4260 if test "x${COMPILE_DSSI}" = xyes; then
4261 CREATE_DSSI_LIBRARIES_TRUE=
4262 CREATE_DSSI_LIBRARIES_FALSE='#'
4263 else
4264 CREATE_DSSI_LIBRARIES_TRUE='#'
4265 CREATE_DSSI_LIBRARIES_FALSE=
4266 fi
4267
4268
4269 # Check whether --enable-gtk-peer or --disable-gtk-peer was given.
4270 if test "${enable_gtk_peer+set}" = set; then
4271 enableval="$enable_gtk_peer"
4272 case "${enableval}" in
4273 yes) COMPILE_GTK_PEER=yes ;;
4274 no) COMPILE_GTK_PEER=no ;;
4275 *) COMPILE_GTK_PEER=yes ;;
4276 esac
4277 else
4278 COMPILE_GTK_PEER=yes
4279 fi;
4280
4281
4282 if test "x${COMPILE_GTK_PEER}" = xyes; then
4283 CREATE_GTK_PEER_LIBRARIES_TRUE=
4284 CREATE_GTK_PEER_LIBRARIES_FALSE='#'
4285 else
4286 CREATE_GTK_PEER_LIBRARIES_TRUE='#'
4287 CREATE_GTK_PEER_LIBRARIES_FALSE=
4288 fi
4289
4290
4291 # Check whether --enable-gtk-peers or --disable-gtk-peers was given.
4292 if test "${enable_gtk_peers+set}" = set; then
4293 enableval="$enable_gtk_peers"
4294 { { echo "$as_me:$LINENO: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&5
4295 echo "$as_me: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&2;}
4296 { (exit 1); exit 1; }; }
4297 fi;
4298
4299 # Check whether --enable-qt-peer or --disable-qt-peer was given.
4300 if test "${enable_qt_peer+set}" = set; then
4301 enableval="$enable_qt_peer"
4302 case "${enableval}" in
4303 yes) COMPILE_QT_PEER=yes ;;
4304 no) COMPILE_QT_PEER=no ;;
4305 *) COMPILE_QT_PEER=yes ;;
4306 esac
4307 else
4308 COMPILE_QT_PEER=no
4309 fi;
4310
4311
4312 if test "x${COMPILE_QT_PEER}" = xyes; then
4313 CREATE_QT_PEER_LIBRARIES_TRUE=
4314 CREATE_QT_PEER_LIBRARIES_FALSE='#'
4315 else
4316 CREATE_QT_PEER_LIBRARIES_TRUE='#'
4317 CREATE_QT_PEER_LIBRARIES_FALSE=
4318 fi
4319
4320
4321 # Check whether --enable-plugin or --disable-plugin was given.
4322 if test "${enable_plugin+set}" = set; then
4323 enableval="$enable_plugin"
4324 case "${enableval}" in
4325 yes) COMPILE_PLUGIN=yes ;;
4326 no) COMPILE_PLUGIN=no ;;
4327 *) COMPILE_PLUGIN=yes ;;
4328 esac
4329 else
4330 COMPILE_PLUGIN=yes
4331 fi;
4332
4333
4334 if test "x${COMPILE_PLUGIN}" = xyes; then
4335 CREATE_PLUGIN_TRUE=
4336 CREATE_PLUGIN_FALSE='#'
4337 else
4338 CREATE_PLUGIN_TRUE='#'
4339 CREATE_PLUGIN_FALSE=
4340 fi
4341
4342
4343
4344 multi_os_directory=`$CC -print-multi-os-directory`
4345 case $multi_os_directory in
4346 .) toolexeclibdir=${libdir} ;; # Avoid trailing /.
4347 *) toolexeclibdir=${libdir}/${multi_os_directory} ;;
4348 esac
4349
4350
4351
4352
4353 # Check whether --with-native-libdir or --without-native-libdir was given.
4354 if test "${with_native_libdir+set}" = set; then
4355 withval="$with_native_libdir"
4356
4357 nativeexeclibdir=${withval}
4358
4359 else
4360
4361 nativeexeclibdir='${toolexeclibdir}/gcj-'`cat ${srcdir}/../../gcc/BASE-VER`
4362
4363 fi;
4364
4365
4366
4367
4368 # Check whether --with-glibj-dir or --without-glibj-dir was given.
4369 if test "${with_glibj_dir+set}" = set; then
4370 withval="$with_glibj_dir"
4371
4372 glibjdir=${withval}
4373
4374 else
4375
4376 glibjdir='${datadir}/${PACKAGE}'
4377
4378 fi;
4379
4380
4381
4382
4383 # Check whether --with-vm or --without-vm was given.
4384 if test "${with_vm+set}" = set; then
4385 withval="$with_vm"
4386
4387 VM_BINARY=${withval}
4388
4389 else
4390
4391 VM_BINARY='${prefix}/bin/jamvm'
4392
4393 fi;
4394
4395
4396
4397
4398 if test "x`basename $VM_BINARY`" = xcacao; then
4399 FOUND_CACAO_TRUE=
4400 FOUND_CACAO_FALSE='#'
4401 else
4402 FOUND_CACAO_TRUE='#'
4403 FOUND_CACAO_FALSE=
4404 fi
4405
4406
4407 # Check whether --enable-regen-headers or --disable-regen-headers was given.
4408 if test "${enable_regen_headers+set}" = set; then
4409 enableval="$enable_regen_headers"
4410 case "${enableval}" in
4411 yes) REGENERATE_JNI_HEADERS=yes ;;
4412 no) REGENERATE_JNI_HEADERS=no ;;
4413 *) REGENERATE_JNI_HEADERS=no ;;
4414 esac
4415 else
4416 REGENERATE_JNI_HEADERS=no
4417 fi;
4418
4419
4420 if test "x${REGENERATE_JNI_HEADERS}" = xyes; then
4421 CREATE_JNI_HEADERS_TRUE=
4422 CREATE_JNI_HEADERS_FALSE='#'
4423 else
4424 CREATE_JNI_HEADERS_TRUE='#'
4425 CREATE_JNI_HEADERS_FALSE=
4426 fi
4427
4428
4429 # Check whether --enable-tool-wrappers or --disable-tool-wrappers was given.
4430 if test "${enable_tool_wrappers+set}" = set; then
4431 enableval="$enable_tool_wrappers"
4432 case x"${enableval}" in
4433 xyes)
4434 COMPILE_WRAPPERS=yes;
4435
4436 for ac_header in ltdl.h
4437 do
4438 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4439 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4440 echo "$as_me:$LINENO: checking for $ac_header" >&5
4441 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4442 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4443 echo $ECHO_N "(cached) $ECHO_C" >&6
4444 fi
4445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4446 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4447 else
4448 # Is the header compilable?
4449 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4450 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4451 cat >conftest.$ac_ext <<_ACEOF
4452 /* confdefs.h. */
4453 _ACEOF
4454 cat confdefs.h >>conftest.$ac_ext
4455 cat >>conftest.$ac_ext <<_ACEOF
4456 /* end confdefs.h. */
4457 $ac_includes_default
4458 #include <$ac_header>
4459 _ACEOF
4460 rm -f conftest.$ac_objext
4461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4462 (eval $ac_compile) 2>conftest.er1
4463 ac_status=$?
4464 grep -v '^ *+' conftest.er1 >conftest.err
4465 rm -f conftest.er1
4466 cat conftest.err >&5
4467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4468 (exit $ac_status); } &&
4469 { ac_try='test -z "$ac_c_werror_flag"
4470 || test ! -s conftest.err'
4471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4472 (eval $ac_try) 2>&5
4473 ac_status=$?
4474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4475 (exit $ac_status); }; } &&
4476 { ac_try='test -s conftest.$ac_objext'
4477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4478 (eval $ac_try) 2>&5
4479 ac_status=$?
4480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4481 (exit $ac_status); }; }; then
4482 ac_header_compiler=yes
4483 else
4484 echo "$as_me: failed program was:" >&5
4485 sed 's/^/| /' conftest.$ac_ext >&5
4486
4487 ac_header_compiler=no
4488 fi
4489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4490 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4491 echo "${ECHO_T}$ac_header_compiler" >&6
4492
4493 # Is the header present?
4494 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4495 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4496 cat >conftest.$ac_ext <<_ACEOF
4497 /* confdefs.h. */
4498 _ACEOF
4499 cat confdefs.h >>conftest.$ac_ext
4500 cat >>conftest.$ac_ext <<_ACEOF
4501 /* end confdefs.h. */
4502 #include <$ac_header>
4503 _ACEOF
4504 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4505 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4506 ac_status=$?
4507 grep -v '^ *+' conftest.er1 >conftest.err
4508 rm -f conftest.er1
4509 cat conftest.err >&5
4510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4511 (exit $ac_status); } >/dev/null; then
4512 if test -s conftest.err; then
4513 ac_cpp_err=$ac_c_preproc_warn_flag
4514 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4515 else
4516 ac_cpp_err=
4517 fi
4518 else
4519 ac_cpp_err=yes
4520 fi
4521 if test -z "$ac_cpp_err"; then
4522 ac_header_preproc=yes
4523 else
4524 echo "$as_me: failed program was:" >&5
4525 sed 's/^/| /' conftest.$ac_ext >&5
4526
4527 ac_header_preproc=no
4528 fi
4529 rm -f conftest.err conftest.$ac_ext
4530 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4531 echo "${ECHO_T}$ac_header_preproc" >&6
4532
4533 # So? What about this header?
4534 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4535 yes:no: )
4536 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4537 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4538 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4539 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4540 ac_header_preproc=yes
4541 ;;
4542 no:yes:* )
4543 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4544 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4545 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4546 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4547 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4548 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4549 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4550 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4551 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4552 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4553 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4554 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4555 (
4556 cat <<\_ASBOX
4557 ## -------------------------------- ##
4558 ## Report this to classpath@gnu.org ##
4559 ## -------------------------------- ##
4560 _ASBOX
4561 ) |
4562 sed "s/^/$as_me: WARNING: /" >&2
4563 ;;
4564 esac
4565 echo "$as_me:$LINENO: checking for $ac_header" >&5
4566 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4567 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4568 echo $ECHO_N "(cached) $ECHO_C" >&6
4569 else
4570 eval "$as_ac_Header=\$ac_header_preproc"
4571 fi
4572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4573 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4574
4575 fi
4576 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4577 cat >>confdefs.h <<_ACEOF
4578 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4579 _ACEOF
4580
4581 else
4582 { { echo "$as_me:$LINENO: error: cannot find ltdl.h" >&5
4583 echo "$as_me: error: cannot find ltdl.h" >&2;}
4584 { (exit 1); exit 1; }; }
4585 fi
4586
4587 done
4588
4589
4590 echo "$as_me:$LINENO: checking for lt_dlopen in -lltdl" >&5
4591 echo $ECHO_N "checking for lt_dlopen in -lltdl... $ECHO_C" >&6
4592 if test "${ac_cv_lib_ltdl_lt_dlopen+set}" = set; then
4593 echo $ECHO_N "(cached) $ECHO_C" >&6
4594 else
4595 ac_check_lib_save_LIBS=$LIBS
4596 LIBS="-lltdl $LIBS"
4597 if test x$gcc_no_link = xyes; then
4598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4600 { (exit 1); exit 1; }; }
4601 fi
4602 cat >conftest.$ac_ext <<_ACEOF
4603 /* confdefs.h. */
4604 _ACEOF
4605 cat confdefs.h >>conftest.$ac_ext
4606 cat >>conftest.$ac_ext <<_ACEOF
4607 /* end confdefs.h. */
4608
4609 /* Override any gcc2 internal prototype to avoid an error. */
4610 #ifdef __cplusplus
4611 extern "C"
4612 #endif
4613 /* We use char because int might match the return type of a gcc2
4614 builtin and then its argument prototype would still apply. */
4615 char lt_dlopen ();
4616 int
4617 main ()
4618 {
4619 lt_dlopen ();
4620 ;
4621 return 0;
4622 }
4623 _ACEOF
4624 rm -f conftest.$ac_objext conftest$ac_exeext
4625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4626 (eval $ac_link) 2>conftest.er1
4627 ac_status=$?
4628 grep -v '^ *+' conftest.er1 >conftest.err
4629 rm -f conftest.er1
4630 cat conftest.err >&5
4631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4632 (exit $ac_status); } &&
4633 { ac_try='test -z "$ac_c_werror_flag"
4634 || test ! -s conftest.err'
4635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4636 (eval $ac_try) 2>&5
4637 ac_status=$?
4638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4639 (exit $ac_status); }; } &&
4640 { ac_try='test -s conftest$ac_exeext'
4641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4642 (eval $ac_try) 2>&5
4643 ac_status=$?
4644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4645 (exit $ac_status); }; }; then
4646 ac_cv_lib_ltdl_lt_dlopen=yes
4647 else
4648 echo "$as_me: failed program was:" >&5
4649 sed 's/^/| /' conftest.$ac_ext >&5
4650
4651 ac_cv_lib_ltdl_lt_dlopen=no
4652 fi
4653 rm -f conftest.err conftest.$ac_objext \
4654 conftest$ac_exeext conftest.$ac_ext
4655 LIBS=$ac_check_lib_save_LIBS
4656 fi
4657 echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dlopen" >&5
4658 echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dlopen" >&6
4659 if test $ac_cv_lib_ltdl_lt_dlopen = yes; then
4660 cat >>confdefs.h <<_ACEOF
4661 #define HAVE_LIBLTDL 1
4662 _ACEOF
4663
4664 LIBS="-lltdl $LIBS"
4665
4666 else
4667 { { echo "$as_me:$LINENO: error: cannot find libltdl" >&5
4668 echo "$as_me: error: cannot find libltdl" >&2;}
4669 { (exit 1); exit 1; }; }
4670 fi
4671
4672 ;;
4673 xno) COMPILE_WRAPPERS=no ;;
4674 x) COMPILE_WRAPPERS=yes ;;
4675 *) COMPILE_WRAPPERS=yes ;;
4676 esac
4677 else
4678 COMPILE_WRAPPERS=no
4679 fi;
4680
4681
4682 if test "x${COMPILE_WRAPPERS}" = xyes; then
4683 CREATE_WRAPPERS_TRUE=
4684 CREATE_WRAPPERS_FALSE='#'
4685 else
4686 CREATE_WRAPPERS_TRUE='#'
4687 CREATE_WRAPPERS_FALSE=
4688 fi
4689
4690
4691 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4692 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4693 LN_S=$as_ln_s
4694 if test "$LN_S" = "ln -s"; then
4695 echo "$as_me:$LINENO: result: yes" >&5
4696 echo "${ECHO_T}yes" >&6
4697 else
4698 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4699 echo "${ECHO_T}no, using $LN_S" >&6
4700 fi
4701
4702 # Find a good install program. We prefer a C program (faster),
4703 # so one script is as good as another. But avoid the broken or
4704 # incompatible versions:
4705 # SysV /etc/install, /usr/sbin/install
4706 # SunOS /usr/etc/install
4707 # IRIX /sbin/install
4708 # AIX /bin/install
4709 # AmigaOS /C/install, which installs bootblocks on floppy discs
4710 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4711 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4712 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4713 # OS/2's system install, which has a completely different semantic
4714 # ./install, which can be erroneously created by make from ./install.sh.
4715 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4716 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4717 if test -z "$INSTALL"; then
4718 if test "${ac_cv_path_install+set}" = set; then
4719 echo $ECHO_N "(cached) $ECHO_C" >&6
4720 else
4721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4722 for as_dir in $PATH
4723 do
4724 IFS=$as_save_IFS
4725 test -z "$as_dir" && as_dir=.
4726 # Account for people who put trailing slashes in PATH elements.
4727 case $as_dir/ in
4728 ./ | .// | /cC/* | \
4729 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4730 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4731 /usr/ucb/* ) ;;
4732 *)
4733 # OSF1 and SCO ODT 3.0 have their own names for install.
4734 # Don't use installbsd from OSF since it installs stuff as root
4735 # by default.
4736 for ac_prog in ginstall scoinst install; do
4737 for ac_exec_ext in '' $ac_executable_extensions; do
4738 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4739 if test $ac_prog = install &&
4740 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4741 # AIX install. It has an incompatible calling convention.
4742 :
4743 elif test $ac_prog = install &&
4744 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4745 # program-specific install script used by HP pwplus--don't use.
4746 :
4747 else
4748 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4749 break 3
4750 fi
4751 fi
4752 done
4753 done
4754 ;;
4755 esac
4756 done
4757
4758
4759 fi
4760 if test "${ac_cv_path_install+set}" = set; then
4761 INSTALL=$ac_cv_path_install
4762 else
4763 # As a last resort, use the slow shell script. We don't cache a
4764 # path for INSTALL within a source directory, because that will
4765 # break other packages using the cache if that directory is
4766 # removed, or if the path is relative.
4767 INSTALL=$ac_install_sh
4768 fi
4769 fi
4770 echo "$as_me:$LINENO: result: $INSTALL" >&5
4771 echo "${ECHO_T}$INSTALL" >&6
4772
4773 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4774 # It thinks the first close brace ends the variable substitution.
4775 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4776
4777 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4778
4779 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4780
4781
4782
4783 # Check whether --enable-static or --disable-static was given.
4784 if test "${enable_static+set}" = set; then
4785 enableval="$enable_static"
4786 p=${PACKAGE-default}
4787 case $enableval in
4788 yes) enable_static=yes ;;
4789 no) enable_static=no ;;
4790 *)
4791 enable_static=no
4792 # Look at the argument we got. We use all the common list separators.
4793 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4794 for pkg in $enableval; do
4795 if test "X$pkg" = "X$p"; then
4796 enable_static=yes
4797 fi
4798 done
4799 IFS="$ac_save_ifs"
4800 ;;
4801 esac
4802 else
4803 enable_static=no
4804 fi;
4805 # Check whether --enable-shared or --disable-shared was given.
4806 if test "${enable_shared+set}" = set; then
4807 enableval="$enable_shared"
4808 p=${PACKAGE-default}
4809 case $enableval in
4810 yes) enable_shared=yes ;;
4811 no) enable_shared=no ;;
4812 *)
4813 enable_shared=no
4814 # Look at the argument we got. We use all the common list separators.
4815 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4816 for pkg in $enableval; do
4817 if test "X$pkg" = "X$p"; then
4818 enable_shared=yes
4819 fi
4820 done
4821 IFS="$ac_save_ifs"
4822 ;;
4823 esac
4824 else
4825 enable_shared=yes
4826 fi;
4827 # Check whether --enable-fast-install or --disable-fast-install was given.
4828 if test "${enable_fast_install+set}" = set; then
4829 enableval="$enable_fast_install"
4830 p=${PACKAGE-default}
4831 case $enableval in
4832 yes) enable_fast_install=yes ;;
4833 no) enable_fast_install=no ;;
4834 *)
4835 enable_fast_install=no
4836 # Look at the argument we got. We use all the common list separators.
4837 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4838 for pkg in $enableval; do
4839 if test "X$pkg" = "X$p"; then
4840 enable_fast_install=yes
4841 fi
4842 done
4843 IFS="$ac_save_ifs"
4844 ;;
4845 esac
4846 else
4847 enable_fast_install=yes
4848 fi;
4849
4850 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4851 if test "${with_gnu_ld+set}" = set; then
4852 withval="$with_gnu_ld"
4853 test "$withval" = no || with_gnu_ld=yes
4854 else
4855 with_gnu_ld=no
4856 fi;
4857 ac_prog=ld
4858 if test "$GCC" = yes; then
4859 # Check if gcc -print-prog-name=ld gives a path.
4860 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4861 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4862 case $host in
4863 *-*-mingw*)
4864 # gcc leaves a trailing carriage return which upsets mingw
4865 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4866 *)
4867 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4868 esac
4869 case $ac_prog in
4870 # Accept absolute paths.
4871 [\\/]* | [A-Za-z]:[\\/]*)
4872 re_direlt='/[^/][^/]*/\.\./'
4873 # Canonicalize the path of ld
4874 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4875 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4876 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4877 done
4878 test -z "$LD" && LD="$ac_prog"
4879 ;;
4880 "")
4881 # If it fails, then pretend we aren't using GCC.
4882 ac_prog=ld
4883 ;;
4884 *)
4885 # If it is relative, then search for the first ld in PATH.
4886 with_gnu_ld=unknown
4887 ;;
4888 esac
4889 elif test "$with_gnu_ld" = yes; then
4890 echo "$as_me:$LINENO: checking for GNU ld" >&5
4891 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4892 else
4893 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4894 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4895 fi
4896 if test "${lt_cv_path_LD+set}" = set; then
4897 echo $ECHO_N "(cached) $ECHO_C" >&6
4898 else
4899 if test -z "$LD"; then
4900 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4901 for ac_dir in $PATH; do
4902 test -z "$ac_dir" && ac_dir=.
4903 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4904 lt_cv_path_LD="$ac_dir/$ac_prog"
4905 # Check to see if the program is GNU ld. I'd rather use --version,
4906 # but apparently some GNU ld's only accept -v.
4907 # Break only if it was the GNU/non-GNU ld that we prefer.
4908 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
4909 test "$with_gnu_ld" != no && break
4910 else
4911 test "$with_gnu_ld" != yes && break
4912 fi
4913 fi
4914 done
4915 IFS="$ac_save_ifs"
4916 else
4917 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4918 fi
4919 fi
4920
4921 LD="$lt_cv_path_LD"
4922 if test -n "$LD"; then
4923 echo "$as_me:$LINENO: result: $LD" >&5
4924 echo "${ECHO_T}$LD" >&6
4925 else
4926 echo "$as_me:$LINENO: result: no" >&5
4927 echo "${ECHO_T}no" >&6
4928 fi
4929 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4930 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4931 { (exit 1); exit 1; }; }
4932 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4933 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4934 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4935 echo $ECHO_N "(cached) $ECHO_C" >&6
4936 else
4937 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4938 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4939 lt_cv_prog_gnu_ld=yes
4940 else
4941 lt_cv_prog_gnu_ld=no
4942 fi
4943 fi
4944 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4945 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4946 with_gnu_ld=$lt_cv_prog_gnu_ld
4947
4948
4949 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4950 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4951 if test "${lt_cv_ld_reload_flag+set}" = set; then
4952 echo $ECHO_N "(cached) $ECHO_C" >&6
4953 else
4954 lt_cv_ld_reload_flag='-r'
4955 fi
4956 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4957 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4958 reload_flag=$lt_cv_ld_reload_flag
4959 test -n "$reload_flag" && reload_flag=" $reload_flag"
4960
4961 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4962 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4963 if test "${lt_cv_path_NM+set}" = set; then
4964 echo $ECHO_N "(cached) $ECHO_C" >&6
4965 else
4966 if test -n "$NM"; then
4967 # Let the user override the test.
4968 lt_cv_path_NM="$NM"
4969 else
4970 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4971 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4972 test -z "$ac_dir" && ac_dir=.
4973 tmp_nm=$ac_dir/${ac_tool_prefix}nm
4974 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
4975 # Check to see if the nm accepts a BSD-compat flag.
4976 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4977 # nm: unknown option "B" ignored
4978 # Tru64's nm complains that /dev/null is an invalid object file
4979 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
4980 lt_cv_path_NM="$tmp_nm -B"
4981 break
4982 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
4983 lt_cv_path_NM="$tmp_nm -p"
4984 break
4985 else
4986 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4987 continue # so that we can try to find one that supports BSD flags
4988 fi
4989 fi
4990 done
4991 IFS="$ac_save_ifs"
4992 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4993 fi
4994 fi
4995
4996 NM="$lt_cv_path_NM"
4997 echo "$as_me:$LINENO: result: $NM" >&5
4998 echo "${ECHO_T}$NM" >&6
4999
5000 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
5001 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
5002 if test "${lt_cv_deplibs_check_method+set}" = set; then
5003 echo $ECHO_N "(cached) $ECHO_C" >&6
5004 else
5005 lt_cv_file_magic_cmd='$MAGIC_CMD'
5006 lt_cv_file_magic_test_file=
5007 lt_cv_deplibs_check_method='unknown'
5008 # Need to set the preceding variable on all platforms that support
5009 # interlibrary dependencies.
5010 # 'none' -- dependencies not supported.
5011 # `unknown' -- same as none, but documents that we really don't know.
5012 # 'pass_all' -- all dependencies passed with no checks.
5013 # 'test_compile' -- check by making test program.
5014 # 'file_magic [regex]' -- check by looking for files in library path
5015 # which responds to the $file_magic_cmd with a given egrep regex.
5016 # If you have `file' or equivalent on your system and you're not sure
5017 # whether `pass_all' will *always* work, you probably want this one.
5018
5019 case $host_os in
5020 aix*)
5021 lt_cv_deplibs_check_method=pass_all
5022 ;;
5023
5024 beos*)
5025 lt_cv_deplibs_check_method=pass_all
5026 ;;
5027
5028 bsdi4*)
5029 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5030 lt_cv_file_magic_cmd='/usr/bin/file -L'
5031 lt_cv_file_magic_test_file=/shlib/libc.so
5032 ;;
5033
5034 cygwin* | mingw* |pw32*)
5035 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5036 lt_cv_file_magic_cmd='$OBJDUMP -f'
5037 ;;
5038
5039 darwin* | rhapsody*)
5040 # this will be overwritten by pass_all, but leave it in just in case
5041 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
5042 lt_cv_file_magic_cmd='/usr/bin/file -L'
5043 case "$host_os" in
5044 rhapsody* | darwin1.012)
5045 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
5046 ;;
5047 *) # Darwin 1.3 on
5048 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
5049 ;;
5050 esac
5051 lt_cv_deplibs_check_method=pass_all
5052 ;;
5053
5054 freebsd* | kfreebsd*-gnu)
5055 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5056 case $host_cpu in
5057 i*86 )
5058 # Not sure whether the presence of OpenBSD here was a mistake.
5059 # Let's accept both of them until this is cleared up.
5060 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
5061 lt_cv_file_magic_cmd=/usr/bin/file
5062 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5063 ;;
5064 esac
5065 else
5066 lt_cv_deplibs_check_method=pass_all
5067 fi
5068 ;;
5069
5070 gnu*)
5071 lt_cv_deplibs_check_method=pass_all
5072 ;;
5073
5074 hpux10.20*|hpux11*)
5075 case $host_cpu in
5076 hppa*)
5077 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5078 lt_cv_file_magic_cmd=/usr/bin/file
5079 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5080 ;;
5081 ia64*)
5082 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5083 lt_cv_file_magic_cmd=/usr/bin/file
5084 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5085 ;;
5086 esac
5087 ;;
5088
5089 irix5* | irix6*)
5090 case $host_os in
5091 irix5*)
5092 # this will be overridden with pass_all, but let us keep it just in case
5093 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
5094 ;;
5095 *)
5096 case $LD in
5097 *-32|*"-32 ") libmagic=32-bit;;
5098 *-n32|*"-n32 ") libmagic=N32;;
5099 *-64|*"-64 ") libmagic=64-bit;;
5100 *) libmagic=never-match;;
5101 esac
5102 # this will be overridden with pass_all, but let us keep it just in case
5103 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
5104 ;;
5105 esac
5106 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
5107 lt_cv_deplibs_check_method=pass_all
5108 ;;
5109
5110 # This must be Linux ELF.
5111 linux-gnu*)
5112 lt_cv_deplibs_check_method=pass_all
5113 ;;
5114
5115 netbsd* | knetbsd*-gnu)
5116 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5117 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
5118 else
5119 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
5120 fi
5121 ;;
5122
5123 newsos6)
5124 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5125 lt_cv_file_magic_cmd=/usr/bin/file
5126 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5127 ;;
5128
5129 osf3* | osf4* | osf5*)
5130 # this will be overridden with pass_all, but let us keep it just in case
5131 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
5132 lt_cv_file_magic_test_file=/shlib/libc.so
5133 lt_cv_deplibs_check_method=pass_all
5134 ;;
5135
5136 sco3.2v5*)
5137 lt_cv_deplibs_check_method=pass_all
5138 ;;
5139
5140 solaris*)
5141 lt_cv_deplibs_check_method=pass_all
5142 lt_cv_file_magic_test_file=/lib/libc.so
5143 ;;
5144
5145 sysv5uw[78]* | sysv4*uw2*)
5146 lt_cv_deplibs_check_method=pass_all
5147 ;;
5148
5149 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
5150 case $host_vendor in
5151 ncr)
5152 lt_cv_deplibs_check_method=pass_all
5153 ;;
5154 motorola)
5155 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]'
5156 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5157 ;;
5158 esac
5159 ;;
5160 esac
5161
5162 fi
5163 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5164 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5165 file_magic_cmd=$lt_cv_file_magic_cmd
5166 deplibs_check_method=$lt_cv_deplibs_check_method
5167
5168
5169
5170
5171 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5172
5173 # find the maximum length of command line arguments
5174 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5175 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5176 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5177 echo $ECHO_N "(cached) $ECHO_C" >&6
5178 else
5179 i=0
5180 teststring="ABCD"
5181
5182 case $build_os in
5183 msdosdjgpp*)
5184 # On DJGPP, this test can blow up pretty badly due to problems in libc
5185 # (any single argument exceeding 2000 bytes causes a buffer overrun
5186 # during glob expansion). Even if it were fixed, the result of this
5187 # check would be larger than it should be.
5188 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5189 ;;
5190
5191 cygwin* | mingw*)
5192 # On Win9x/ME, this test blows up -- it succeeds, but takes
5193 # about 5 minutes as the teststring grows exponentially.
5194 # Worse, since 9x/ME are not pre-emptively multitasking,
5195 # you end up with a "frozen" computer, even though with patience
5196 # the test eventually succeeds (with a max line length of 256k).
5197 # Instead, let's just punt: use the minimum linelength reported by
5198 # all of the supported platforms: 8192 (on NT/2K/XP).
5199 lt_cv_sys_max_cmd_len=8192;
5200 ;;
5201
5202 amigaos*)
5203 # On AmigaOS with pdksh, this test takes hours, literally.
5204 # So we just punt and use a minimum line length of 8192.
5205 lt_cv_sys_max_cmd_len=8192;
5206 ;;
5207
5208 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5209 # This has been around since 386BSD, at least. Likely further.
5210 if test -x /sbin/sysctl; then
5211 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5212 elif test -x /usr/sbin/sysctl; then
5213 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5214 else
5215 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
5216 fi
5217 # And add a safety zone
5218 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5219 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5220 ;;
5221 esac
5222
5223 fi
5224
5225 if test -n "$lt_cv_sys_max_cmd_len" ; then
5226 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5227 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5228 else
5229 echo "$as_me:$LINENO: result: none" >&5
5230 echo "${ECHO_T}none" >&6
5231 fi
5232
5233
5234 # Only perform the check for file, if the check method requires it
5235 case $deplibs_check_method in
5236 file_magic*)
5237 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5238 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5239 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5240 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5241 echo $ECHO_N "(cached) $ECHO_C" >&6
5242 else
5243 case $MAGIC_CMD in
5244 /*)
5245 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5246 ;;
5247 ?:/*)
5248 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
5249 ;;
5250 *)
5251 ac_save_MAGIC_CMD="$MAGIC_CMD"
5252 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
5253 ac_dummy="/usr/bin:$PATH"
5254 for ac_dir in $ac_dummy; do
5255 test -z "$ac_dir" && ac_dir=.
5256 if test -f $ac_dir/${ac_tool_prefix}file; then
5257 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
5258 if test -n "$file_magic_test_file"; then
5259 case $deplibs_check_method in
5260 "file_magic "*)
5261 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5262 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5263 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5264 egrep "$file_magic_regex" > /dev/null; then
5265 :
5266 else
5267 cat <<EOF 1>&2
5268
5269 *** Warning: the command libtool uses to detect shared libraries,
5270 *** $file_magic_cmd, produces output that libtool cannot recognize.
5271 *** The result is that libtool may fail to recognize shared libraries
5272 *** as such. This will affect the creation of libtool libraries that
5273 *** depend on shared libraries, but programs linked with such libtool
5274 *** libraries will work regardless of this problem. Nevertheless, you
5275 *** may want to report the problem to your system manager and/or to
5276 *** bug-libtool@gnu.org
5277
5278 EOF
5279 fi ;;
5280 esac
5281 fi
5282 break
5283 fi
5284 done
5285 IFS="$ac_save_ifs"
5286 MAGIC_CMD="$ac_save_MAGIC_CMD"
5287 ;;
5288 esac
5289 fi
5290
5291 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5292 if test -n "$MAGIC_CMD"; then
5293 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5294 echo "${ECHO_T}$MAGIC_CMD" >&6
5295 else
5296 echo "$as_me:$LINENO: result: no" >&5
5297 echo "${ECHO_T}no" >&6
5298 fi
5299
5300 if test -z "$lt_cv_path_MAGIC_CMD"; then
5301 if test -n "$ac_tool_prefix"; then
5302 echo "$as_me:$LINENO: checking for file" >&5
5303 echo $ECHO_N "checking for file... $ECHO_C" >&6
5304 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5305 echo $ECHO_N "(cached) $ECHO_C" >&6
5306 else
5307 case $MAGIC_CMD in
5308 /*)
5309 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5310 ;;
5311 ?:/*)
5312 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
5313 ;;
5314 *)
5315 ac_save_MAGIC_CMD="$MAGIC_CMD"
5316 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
5317 ac_dummy="/usr/bin:$PATH"
5318 for ac_dir in $ac_dummy; do
5319 test -z "$ac_dir" && ac_dir=.
5320 if test -f $ac_dir/file; then
5321 lt_cv_path_MAGIC_CMD="$ac_dir/file"
5322 if test -n "$file_magic_test_file"; then
5323 case $deplibs_check_method in
5324 "file_magic "*)
5325 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5326 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5327 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5328 egrep "$file_magic_regex" > /dev/null; then
5329 :
5330 else
5331 cat <<EOF 1>&2
5332
5333 *** Warning: the command libtool uses to detect shared libraries,
5334 *** $file_magic_cmd, produces output that libtool cannot recognize.
5335 *** The result is that libtool may fail to recognize shared libraries
5336 *** as such. This will affect the creation of libtool libraries that
5337 *** depend on shared libraries, but programs linked with such libtool
5338 *** libraries will work regardless of this problem. Nevertheless, you
5339 *** may want to report the problem to your system manager and/or to
5340 *** bug-libtool@gnu.org
5341
5342 EOF
5343 fi ;;
5344 esac
5345 fi
5346 break
5347 fi
5348 done
5349 IFS="$ac_save_ifs"
5350 MAGIC_CMD="$ac_save_MAGIC_CMD"
5351 ;;
5352 esac
5353 fi
5354
5355 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5356 if test -n "$MAGIC_CMD"; then
5357 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5358 echo "${ECHO_T}$MAGIC_CMD" >&6
5359 else
5360 echo "$as_me:$LINENO: result: no" >&5
5361 echo "${ECHO_T}no" >&6
5362 fi
5363
5364 else
5365 MAGIC_CMD=:
5366 fi
5367 fi
5368
5369 fi
5370 ;;
5371 esac
5372
5373 if test -n "$ac_tool_prefix"; then
5374 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5375 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5376 echo "$as_me:$LINENO: checking for $ac_word" >&5
5377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5378 if test "${ac_cv_prog_RANLIB+set}" = set; then
5379 echo $ECHO_N "(cached) $ECHO_C" >&6
5380 else
5381 if test -n "$RANLIB"; then
5382 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5383 else
5384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5385 for as_dir in $PATH
5386 do
5387 IFS=$as_save_IFS
5388 test -z "$as_dir" && as_dir=.
5389 for ac_exec_ext in '' $ac_executable_extensions; do
5390 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5391 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5393 break 2
5394 fi
5395 done
5396 done
5397
5398 fi
5399 fi
5400 RANLIB=$ac_cv_prog_RANLIB
5401 if test -n "$RANLIB"; then
5402 echo "$as_me:$LINENO: result: $RANLIB" >&5
5403 echo "${ECHO_T}$RANLIB" >&6
5404 else
5405 echo "$as_me:$LINENO: result: no" >&5
5406 echo "${ECHO_T}no" >&6
5407 fi
5408
5409 fi
5410 if test -z "$ac_cv_prog_RANLIB"; then
5411 ac_ct_RANLIB=$RANLIB
5412 # Extract the first word of "ranlib", so it can be a program name with args.
5413 set dummy ranlib; ac_word=$2
5414 echo "$as_me:$LINENO: checking for $ac_word" >&5
5415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5416 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5417 echo $ECHO_N "(cached) $ECHO_C" >&6
5418 else
5419 if test -n "$ac_ct_RANLIB"; then
5420 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5421 else
5422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5423 for as_dir in $PATH
5424 do
5425 IFS=$as_save_IFS
5426 test -z "$as_dir" && as_dir=.
5427 for ac_exec_ext in '' $ac_executable_extensions; do
5428 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5429 ac_cv_prog_ac_ct_RANLIB="ranlib"
5430 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5431 break 2
5432 fi
5433 done
5434 done
5435
5436 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5437 fi
5438 fi
5439 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5440 if test -n "$ac_ct_RANLIB"; then
5441 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5442 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5443 else
5444 echo "$as_me:$LINENO: result: no" >&5
5445 echo "${ECHO_T}no" >&6
5446 fi
5447
5448 RANLIB=$ac_ct_RANLIB
5449 else
5450 RANLIB="$ac_cv_prog_RANLIB"
5451 fi
5452
5453 if test -n "$ac_tool_prefix"; then
5454 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5455 set dummy ${ac_tool_prefix}strip; ac_word=$2
5456 echo "$as_me:$LINENO: checking for $ac_word" >&5
5457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5458 if test "${ac_cv_prog_STRIP+set}" = set; then
5459 echo $ECHO_N "(cached) $ECHO_C" >&6
5460 else
5461 if test -n "$STRIP"; then
5462 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5463 else
5464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5465 for as_dir in $PATH
5466 do
5467 IFS=$as_save_IFS
5468 test -z "$as_dir" && as_dir=.
5469 for ac_exec_ext in '' $ac_executable_extensions; do
5470 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5471 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5473 break 2
5474 fi
5475 done
5476 done
5477
5478 fi
5479 fi
5480 STRIP=$ac_cv_prog_STRIP
5481 if test -n "$STRIP"; then
5482 echo "$as_me:$LINENO: result: $STRIP" >&5
5483 echo "${ECHO_T}$STRIP" >&6
5484 else
5485 echo "$as_me:$LINENO: result: no" >&5
5486 echo "${ECHO_T}no" >&6
5487 fi
5488
5489 fi
5490 if test -z "$ac_cv_prog_STRIP"; then
5491 ac_ct_STRIP=$STRIP
5492 # Extract the first word of "strip", so it can be a program name with args.
5493 set dummy strip; ac_word=$2
5494 echo "$as_me:$LINENO: checking for $ac_word" >&5
5495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5496 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5497 echo $ECHO_N "(cached) $ECHO_C" >&6
5498 else
5499 if test -n "$ac_ct_STRIP"; then
5500 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5501 else
5502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5503 for as_dir in $PATH
5504 do
5505 IFS=$as_save_IFS
5506 test -z "$as_dir" && as_dir=.
5507 for ac_exec_ext in '' $ac_executable_extensions; do
5508 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5509 ac_cv_prog_ac_ct_STRIP="strip"
5510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5511 break 2
5512 fi
5513 done
5514 done
5515
5516 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5517 fi
5518 fi
5519 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5520 if test -n "$ac_ct_STRIP"; then
5521 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5522 echo "${ECHO_T}$ac_ct_STRIP" >&6
5523 else
5524 echo "$as_me:$LINENO: result: no" >&5
5525 echo "${ECHO_T}no" >&6
5526 fi
5527
5528 STRIP=$ac_ct_STRIP
5529 else
5530 STRIP="$ac_cv_prog_STRIP"
5531 fi
5532
5533
5534 # Check for any special flags to pass to ltconfig.
5535 libtool_flags="--cache-file=$cache_file"
5536 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
5537 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
5538 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
5539 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
5540 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
5541
5542
5543 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5544 if test "${enable_libtool_lock+set}" = set; then
5545 enableval="$enable_libtool_lock"
5546
5547 fi;
5548 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
5549 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
5550
5551
5552 # Check whether --with-pic or --without-pic was given.
5553 if test "${with_pic+set}" = set; then
5554 withval="$with_pic"
5555 pic_mode="$withval"
5556 else
5557 pic_mode=default
5558 fi;
5559 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
5560 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
5561
5562 # Some flags need to be propagated to the compiler or linker for good
5563 # libtool support.
5564 case $host in
5565 *-*-irix6*)
5566 # Find out which ABI we are using.
5567 echo '#line 5567 "configure"' > conftest.$ac_ext
5568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5569 (eval $ac_compile) 2>&5
5570 ac_status=$?
5571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5572 (exit $ac_status); }; then
5573 if test "$lt_cv_prog_gnu_ld" = yes; then
5574 case `/usr/bin/file conftest.$ac_objext` in
5575 *32-bit*)
5576 LD="${LD-ld} -melf32bsmip"
5577 ;;
5578 *N32*)
5579 LD="${LD-ld} -melf32bmipn32"
5580 ;;
5581 *64-bit*)
5582 LD="${LD-ld} -melf64bmip"
5583 ;;
5584 esac
5585 else
5586 case `/usr/bin/file conftest.$ac_objext` in
5587 *32-bit*)
5588 LD="${LD-ld} -32"
5589 ;;
5590 *N32*)
5591 LD="${LD-ld} -n32"
5592 ;;
5593 *64-bit*)
5594 LD="${LD-ld} -64"
5595 ;;
5596 esac
5597 fi
5598 fi
5599 rm -rf conftest*
5600 ;;
5601
5602 ia64-*-hpux*)
5603 # Find out which ABI we are using.
5604 echo 'int i;' > conftest.$ac_ext
5605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5606 (eval $ac_compile) 2>&5
5607 ac_status=$?
5608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5609 (exit $ac_status); }; then
5610 case "`/usr/bin/file conftest.o`" in
5611 *ELF-32*)
5612 HPUX_IA64_MODE="32"
5613 ;;
5614 *ELF-64*)
5615 HPUX_IA64_MODE="64"
5616 ;;
5617 esac
5618 fi
5619 rm -rf conftest*
5620 ;;
5621
5622 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
5623 # Find out which ABI we are using.
5624 echo 'int i;' > conftest.$ac_ext
5625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5626 (eval $ac_compile) 2>&5
5627 ac_status=$?
5628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5629 (exit $ac_status); }; then
5630 case "`/usr/bin/file conftest.o`" in
5631 *32-bit*)
5632 case $host in
5633 x86_64-*linux*)
5634 LD="${LD-ld} -m elf_i386"
5635 ;;
5636 ppc64-*linux*|powerpc64-*linux*)
5637 LD="${LD-ld} -m elf32ppclinux"
5638 ;;
5639 s390x-*linux*)
5640 LD="${LD-ld} -m elf_s390"
5641 ;;
5642 sparc64-*linux*)
5643 LD="${LD-ld} -m elf32_sparc"
5644 ;;
5645 esac
5646 ;;
5647 *64-bit*)
5648 case $host in
5649 x86_64-*linux*)
5650 LD="${LD-ld} -m elf_x86_64"
5651 ;;
5652 ppc*-*linux*|powerpc*-*linux*)
5653 LD="${LD-ld} -m elf64ppc"
5654 ;;
5655 s390*-*linux*)
5656 LD="${LD-ld} -m elf64_s390"
5657 ;;
5658 sparc*-*linux*)
5659 LD="${LD-ld} -m elf64_sparc"
5660 ;;
5661 esac
5662 ;;
5663 esac
5664 fi
5665 rm -rf conftest*
5666 ;;
5667
5668 *-*-sco3.2v5*)
5669 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5670 SAVE_CFLAGS="$CFLAGS"
5671 CFLAGS="$CFLAGS -belf"
5672 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5673 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5674 if test "${lt_cv_cc_needs_belf+set}" = set; then
5675 echo $ECHO_N "(cached) $ECHO_C" >&6
5676 else
5677
5678
5679 ac_ext=c
5680 ac_cpp='$CPP $CPPFLAGS'
5681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5684
5685 if test x$gcc_no_link = xyes; then
5686 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5687 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5688 { (exit 1); exit 1; }; }
5689 fi
5690 cat >conftest.$ac_ext <<_ACEOF
5691 /* confdefs.h. */
5692 _ACEOF
5693 cat confdefs.h >>conftest.$ac_ext
5694 cat >>conftest.$ac_ext <<_ACEOF
5695 /* end confdefs.h. */
5696
5697 int
5698 main ()
5699 {
5700
5701 ;
5702 return 0;
5703 }
5704 _ACEOF
5705 rm -f conftest.$ac_objext conftest$ac_exeext
5706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5707 (eval $ac_link) 2>conftest.er1
5708 ac_status=$?
5709 grep -v '^ *+' conftest.er1 >conftest.err
5710 rm -f conftest.er1
5711 cat conftest.err >&5
5712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5713 (exit $ac_status); } &&
5714 { ac_try='test -z "$ac_c_werror_flag"
5715 || test ! -s conftest.err'
5716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5717 (eval $ac_try) 2>&5
5718 ac_status=$?
5719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5720 (exit $ac_status); }; } &&
5721 { ac_try='test -s conftest$ac_exeext'
5722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5723 (eval $ac_try) 2>&5
5724 ac_status=$?
5725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5726 (exit $ac_status); }; }; then
5727 lt_cv_cc_needs_belf=yes
5728 else
5729 echo "$as_me: failed program was:" >&5
5730 sed 's/^/| /' conftest.$ac_ext >&5
5731
5732 lt_cv_cc_needs_belf=no
5733 fi
5734 rm -f conftest.err conftest.$ac_objext \
5735 conftest$ac_exeext conftest.$ac_ext
5736 ac_ext=c
5737 ac_cpp='$CPP $CPPFLAGS'
5738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5741
5742 fi
5743 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5744 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5745 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5746 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5747 CFLAGS="$SAVE_CFLAGS"
5748 fi
5749 ;;
5750
5751
5752 esac
5753
5754
5755 # Save cache, so that ltconfig can load it
5756 cat >confcache <<\_ACEOF
5757 # This file is a shell script that caches the results of configure
5758 # tests run on this system so they can be shared between configure
5759 # scripts and configure runs, see configure's option --config-cache.
5760 # It is not useful on other systems. If it contains results you don't
5761 # want to keep, you may remove or edit it.
5762 #
5763 # config.status only pays attention to the cache file if you give it
5764 # the --recheck option to rerun configure.
5765 #
5766 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5767 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5768 # following values.
5769
5770 _ACEOF
5771
5772 # The following way of writing the cache mishandles newlines in values,
5773 # but we know of no workaround that is simple, portable, and efficient.
5774 # So, don't put newlines in cache variables' values.
5775 # Ultrix sh set writes to stderr and can't be redirected directly,
5776 # and sets the high bit in the cache file unless we assign to the vars.
5777 {
5778 (set) 2>&1 |
5779 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5780 *ac_space=\ *)
5781 # `set' does not quote correctly, so add quotes (double-quote
5782 # substitution turns \\\\ into \\, and sed turns \\ into \).
5783 sed -n \
5784 "s/'/'\\\\''/g;
5785 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5786 ;;
5787 *)
5788 # `set' quotes correctly as required by POSIX, so do not add quotes.
5789 sed -n \
5790 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5791 ;;
5792 esac;
5793 } |
5794 sed '
5795 t clear
5796 : clear
5797 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5798 t end
5799 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5800 : end' >>confcache
5801 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5802 if test -w $cache_file; then
5803 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5804 cat confcache >$cache_file
5805 else
5806 echo "not updating unwritable cache $cache_file"
5807 fi
5808 fi
5809 rm -f confcache
5810
5811 # Actually configure libtool. ac_aux_dir is where install-sh is found.
5812 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
5813 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
5814 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
5815 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
5816 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
5817 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
5818 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
5819 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
5820 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
5821 echo "$as_me: error: libtool configure failed" >&2;}
5822 { (exit 1); exit 1; }; }
5823
5824 # Reload cache, that may have been modified by ltconfig
5825 if test -r "$cache_file"; then
5826 # Some versions of bash will fail to source /dev/null (special
5827 # files actually), so we avoid doing that.
5828 if test -f "$cache_file"; then
5829 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
5830 echo "$as_me: loading cache $cache_file" >&6;}
5831 case $cache_file in
5832 [\\/]* | ?:[\\/]* ) . $cache_file;;
5833 *) . ./$cache_file;;
5834 esac
5835 fi
5836 else
5837 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5838 echo "$as_me: creating cache $cache_file" >&6;}
5839 >$cache_file
5840 fi
5841
5842
5843 # This can be used to rebuild libtool when needed
5844 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5845
5846 # Always use our own libtool.
5847 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
5848
5849 # Redirect the config.log output again, so that the ltconfig log is not
5850 # clobbered by the next message.
5851 exec 5>>./config.log
5852
5853
5854
5855
5856
5857
5858 ac_ext=c
5859 ac_cpp='$CPP $CPPFLAGS'
5860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5863 if test -n "$ac_tool_prefix"; then
5864 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5865 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5866 echo "$as_me:$LINENO: checking for $ac_word" >&5
5867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5868 if test "${ac_cv_prog_CC+set}" = set; then
5869 echo $ECHO_N "(cached) $ECHO_C" >&6
5870 else
5871 if test -n "$CC"; then
5872 ac_cv_prog_CC="$CC" # Let the user override the test.
5873 else
5874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5875 for as_dir in $PATH
5876 do
5877 IFS=$as_save_IFS
5878 test -z "$as_dir" && as_dir=.
5879 for ac_exec_ext in '' $ac_executable_extensions; do
5880 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5881 ac_cv_prog_CC="${ac_tool_prefix}gcc"
5882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5883 break 2
5884 fi
5885 done
5886 done
5887
5888 fi
5889 fi
5890 CC=$ac_cv_prog_CC
5891 if test -n "$CC"; then
5892 echo "$as_me:$LINENO: result: $CC" >&5
5893 echo "${ECHO_T}$CC" >&6
5894 else
5895 echo "$as_me:$LINENO: result: no" >&5
5896 echo "${ECHO_T}no" >&6
5897 fi
5898
5899 fi
5900 if test -z "$ac_cv_prog_CC"; then
5901 ac_ct_CC=$CC
5902 # Extract the first word of "gcc", so it can be a program name with args.
5903 set dummy gcc; ac_word=$2
5904 echo "$as_me:$LINENO: checking for $ac_word" >&5
5905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5906 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5907 echo $ECHO_N "(cached) $ECHO_C" >&6
5908 else
5909 if test -n "$ac_ct_CC"; then
5910 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5911 else
5912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5913 for as_dir in $PATH
5914 do
5915 IFS=$as_save_IFS
5916 test -z "$as_dir" && as_dir=.
5917 for ac_exec_ext in '' $ac_executable_extensions; do
5918 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5919 ac_cv_prog_ac_ct_CC="gcc"
5920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5921 break 2
5922 fi
5923 done
5924 done
5925
5926 fi
5927 fi
5928 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5929 if test -n "$ac_ct_CC"; then
5930 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5931 echo "${ECHO_T}$ac_ct_CC" >&6
5932 else
5933 echo "$as_me:$LINENO: result: no" >&5
5934 echo "${ECHO_T}no" >&6
5935 fi
5936
5937 CC=$ac_ct_CC
5938 else
5939 CC="$ac_cv_prog_CC"
5940 fi
5941
5942 if test -z "$CC"; then
5943 if test -n "$ac_tool_prefix"; then
5944 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5945 set dummy ${ac_tool_prefix}cc; ac_word=$2
5946 echo "$as_me:$LINENO: checking for $ac_word" >&5
5947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5948 if test "${ac_cv_prog_CC+set}" = set; then
5949 echo $ECHO_N "(cached) $ECHO_C" >&6
5950 else
5951 if test -n "$CC"; then
5952 ac_cv_prog_CC="$CC" # Let the user override the test.
5953 else
5954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5955 for as_dir in $PATH
5956 do
5957 IFS=$as_save_IFS
5958 test -z "$as_dir" && as_dir=.
5959 for ac_exec_ext in '' $ac_executable_extensions; do
5960 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5961 ac_cv_prog_CC="${ac_tool_prefix}cc"
5962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5963 break 2
5964 fi
5965 done
5966 done
5967
5968 fi
5969 fi
5970 CC=$ac_cv_prog_CC
5971 if test -n "$CC"; then
5972 echo "$as_me:$LINENO: result: $CC" >&5
5973 echo "${ECHO_T}$CC" >&6
5974 else
5975 echo "$as_me:$LINENO: result: no" >&5
5976 echo "${ECHO_T}no" >&6
5977 fi
5978
5979 fi
5980 if test -z "$ac_cv_prog_CC"; then
5981 ac_ct_CC=$CC
5982 # Extract the first word of "cc", so it can be a program name with args.
5983 set dummy cc; ac_word=$2
5984 echo "$as_me:$LINENO: checking for $ac_word" >&5
5985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5986 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5987 echo $ECHO_N "(cached) $ECHO_C" >&6
5988 else
5989 if test -n "$ac_ct_CC"; then
5990 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5991 else
5992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5993 for as_dir in $PATH
5994 do
5995 IFS=$as_save_IFS
5996 test -z "$as_dir" && as_dir=.
5997 for ac_exec_ext in '' $ac_executable_extensions; do
5998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5999 ac_cv_prog_ac_ct_CC="cc"
6000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6001 break 2
6002 fi
6003 done
6004 done
6005
6006 fi
6007 fi
6008 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6009 if test -n "$ac_ct_CC"; then
6010 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6011 echo "${ECHO_T}$ac_ct_CC" >&6
6012 else
6013 echo "$as_me:$LINENO: result: no" >&5
6014 echo "${ECHO_T}no" >&6
6015 fi
6016
6017 CC=$ac_ct_CC
6018 else
6019 CC="$ac_cv_prog_CC"
6020 fi
6021
6022 fi
6023 if test -z "$CC"; then
6024 # Extract the first word of "cc", so it can be a program name with args.
6025 set dummy cc; ac_word=$2
6026 echo "$as_me:$LINENO: checking for $ac_word" >&5
6027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6028 if test "${ac_cv_prog_CC+set}" = set; then
6029 echo $ECHO_N "(cached) $ECHO_C" >&6
6030 else
6031 if test -n "$CC"; then
6032 ac_cv_prog_CC="$CC" # Let the user override the test.
6033 else
6034 ac_prog_rejected=no
6035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6036 for as_dir in $PATH
6037 do
6038 IFS=$as_save_IFS
6039 test -z "$as_dir" && as_dir=.
6040 for ac_exec_ext in '' $ac_executable_extensions; do
6041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6042 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
6043 ac_prog_rejected=yes
6044 continue
6045 fi
6046 ac_cv_prog_CC="cc"
6047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6048 break 2
6049 fi
6050 done
6051 done
6052
6053 if test $ac_prog_rejected = yes; then
6054 # We found a bogon in the path, so make sure we never use it.
6055 set dummy $ac_cv_prog_CC
6056 shift
6057 if test $# != 0; then
6058 # We chose a different compiler from the bogus one.
6059 # However, it has the same basename, so the bogon will be chosen
6060 # first if we set CC to just the basename; use the full file name.
6061 shift
6062 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
6063 fi
6064 fi
6065 fi
6066 fi
6067 CC=$ac_cv_prog_CC
6068 if test -n "$CC"; then
6069 echo "$as_me:$LINENO: result: $CC" >&5
6070 echo "${ECHO_T}$CC" >&6
6071 else
6072 echo "$as_me:$LINENO: result: no" >&5
6073 echo "${ECHO_T}no" >&6
6074 fi
6075
6076 fi
6077 if test -z "$CC"; then
6078 if test -n "$ac_tool_prefix"; then
6079 for ac_prog in cl
6080 do
6081 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6082 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6083 echo "$as_me:$LINENO: checking for $ac_word" >&5
6084 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6085 if test "${ac_cv_prog_CC+set}" = set; then
6086 echo $ECHO_N "(cached) $ECHO_C" >&6
6087 else
6088 if test -n "$CC"; then
6089 ac_cv_prog_CC="$CC" # Let the user override the test.
6090 else
6091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6092 for as_dir in $PATH
6093 do
6094 IFS=$as_save_IFS
6095 test -z "$as_dir" && as_dir=.
6096 for ac_exec_ext in '' $ac_executable_extensions; do
6097 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6098 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
6099 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6100 break 2
6101 fi
6102 done
6103 done
6104
6105 fi
6106 fi
6107 CC=$ac_cv_prog_CC
6108 if test -n "$CC"; then
6109 echo "$as_me:$LINENO: result: $CC" >&5
6110 echo "${ECHO_T}$CC" >&6
6111 else
6112 echo "$as_me:$LINENO: result: no" >&5
6113 echo "${ECHO_T}no" >&6
6114 fi
6115
6116 test -n "$CC" && break
6117 done
6118 fi
6119 if test -z "$CC"; then
6120 ac_ct_CC=$CC
6121 for ac_prog in cl
6122 do
6123 # Extract the first word of "$ac_prog", so it can be a program name with args.
6124 set dummy $ac_prog; ac_word=$2
6125 echo "$as_me:$LINENO: checking for $ac_word" >&5
6126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6127 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6128 echo $ECHO_N "(cached) $ECHO_C" >&6
6129 else
6130 if test -n "$ac_ct_CC"; then
6131 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6132 else
6133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6134 for as_dir in $PATH
6135 do
6136 IFS=$as_save_IFS
6137 test -z "$as_dir" && as_dir=.
6138 for ac_exec_ext in '' $ac_executable_extensions; do
6139 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6140 ac_cv_prog_ac_ct_CC="$ac_prog"
6141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6142 break 2
6143 fi
6144 done
6145 done
6146
6147 fi
6148 fi
6149 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6150 if test -n "$ac_ct_CC"; then
6151 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6152 echo "${ECHO_T}$ac_ct_CC" >&6
6153 else
6154 echo "$as_me:$LINENO: result: no" >&5
6155 echo "${ECHO_T}no" >&6
6156 fi
6157
6158 test -n "$ac_ct_CC" && break
6159 done
6160
6161 CC=$ac_ct_CC
6162 fi
6163
6164 fi
6165
6166
6167 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
6168 See \`config.log' for more details." >&5
6169 echo "$as_me: error: no acceptable C compiler found in \$PATH
6170 See \`config.log' for more details." >&2;}
6171 { (exit 1); exit 1; }; }
6172
6173 # Provide some information about the compiler.
6174 echo "$as_me:$LINENO:" \
6175 "checking for C compiler version" >&5
6176 ac_compiler=`set X $ac_compile; echo $2`
6177 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6178 (eval $ac_compiler --version </dev/null >&5) 2>&5
6179 ac_status=$?
6180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6181 (exit $ac_status); }
6182 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6183 (eval $ac_compiler -v </dev/null >&5) 2>&5
6184 ac_status=$?
6185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6186 (exit $ac_status); }
6187 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6188 (eval $ac_compiler -V </dev/null >&5) 2>&5
6189 ac_status=$?
6190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6191 (exit $ac_status); }
6192
6193 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
6194 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
6195 if test "${ac_cv_c_compiler_gnu+set}" = set; then
6196 echo $ECHO_N "(cached) $ECHO_C" >&6
6197 else
6198 cat >conftest.$ac_ext <<_ACEOF
6199 /* confdefs.h. */
6200 _ACEOF
6201 cat confdefs.h >>conftest.$ac_ext
6202 cat >>conftest.$ac_ext <<_ACEOF
6203 /* end confdefs.h. */
6204
6205 int
6206 main ()
6207 {
6208 #ifndef __GNUC__
6209 choke me
6210 #endif
6211
6212 ;
6213 return 0;
6214 }
6215 _ACEOF
6216 rm -f conftest.$ac_objext
6217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6218 (eval $ac_compile) 2>conftest.er1
6219 ac_status=$?
6220 grep -v '^ *+' conftest.er1 >conftest.err
6221 rm -f conftest.er1
6222 cat conftest.err >&5
6223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6224 (exit $ac_status); } &&
6225 { ac_try='test -z "$ac_c_werror_flag"
6226 || test ! -s conftest.err'
6227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6228 (eval $ac_try) 2>&5
6229 ac_status=$?
6230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6231 (exit $ac_status); }; } &&
6232 { ac_try='test -s conftest.$ac_objext'
6233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6234 (eval $ac_try) 2>&5
6235 ac_status=$?
6236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6237 (exit $ac_status); }; }; then
6238 ac_compiler_gnu=yes
6239 else
6240 echo "$as_me: failed program was:" >&5
6241 sed 's/^/| /' conftest.$ac_ext >&5
6242
6243 ac_compiler_gnu=no
6244 fi
6245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6246 ac_cv_c_compiler_gnu=$ac_compiler_gnu
6247
6248 fi
6249 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
6250 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
6251 GCC=`test $ac_compiler_gnu = yes && echo yes`
6252 ac_test_CFLAGS=${CFLAGS+set}
6253 ac_save_CFLAGS=$CFLAGS
6254 CFLAGS="-g"
6255 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
6256 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
6257 if test "${ac_cv_prog_cc_g+set}" = set; then
6258 echo $ECHO_N "(cached) $ECHO_C" >&6
6259 else
6260 cat >conftest.$ac_ext <<_ACEOF
6261 /* confdefs.h. */
6262 _ACEOF
6263 cat confdefs.h >>conftest.$ac_ext
6264 cat >>conftest.$ac_ext <<_ACEOF
6265 /* end confdefs.h. */
6266
6267 int
6268 main ()
6269 {
6270
6271 ;
6272 return 0;
6273 }
6274 _ACEOF
6275 rm -f conftest.$ac_objext
6276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6277 (eval $ac_compile) 2>conftest.er1
6278 ac_status=$?
6279 grep -v '^ *+' conftest.er1 >conftest.err
6280 rm -f conftest.er1
6281 cat conftest.err >&5
6282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6283 (exit $ac_status); } &&
6284 { ac_try='test -z "$ac_c_werror_flag"
6285 || test ! -s conftest.err'
6286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6287 (eval $ac_try) 2>&5
6288 ac_status=$?
6289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6290 (exit $ac_status); }; } &&
6291 { ac_try='test -s conftest.$ac_objext'
6292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6293 (eval $ac_try) 2>&5
6294 ac_status=$?
6295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6296 (exit $ac_status); }; }; then
6297 ac_cv_prog_cc_g=yes
6298 else
6299 echo "$as_me: failed program was:" >&5
6300 sed 's/^/| /' conftest.$ac_ext >&5
6301
6302 ac_cv_prog_cc_g=no
6303 fi
6304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6305 fi
6306 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
6307 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
6308 if test "$ac_test_CFLAGS" = set; then
6309 CFLAGS=$ac_save_CFLAGS
6310 elif test $ac_cv_prog_cc_g = yes; then
6311 if test "$GCC" = yes; then
6312 CFLAGS="-g -O2"
6313 else
6314 CFLAGS="-g"
6315 fi
6316 else
6317 if test "$GCC" = yes; then
6318 CFLAGS="-O2"
6319 else
6320 CFLAGS=
6321 fi
6322 fi
6323 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
6324 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
6325 if test "${ac_cv_prog_cc_stdc+set}" = set; then
6326 echo $ECHO_N "(cached) $ECHO_C" >&6
6327 else
6328 ac_cv_prog_cc_stdc=no
6329 ac_save_CC=$CC
6330 cat >conftest.$ac_ext <<_ACEOF
6331 /* confdefs.h. */
6332 _ACEOF
6333 cat confdefs.h >>conftest.$ac_ext
6334 cat >>conftest.$ac_ext <<_ACEOF
6335 /* end confdefs.h. */
6336 #include <stdarg.h>
6337 #include <stdio.h>
6338 #include <sys/types.h>
6339 #include <sys/stat.h>
6340 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6341 struct buf { int x; };
6342 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6343 static char *e (p, i)
6344 char **p;
6345 int i;
6346 {
6347 return p[i];
6348 }
6349 static char *f (char * (*g) (char **, int), char **p, ...)
6350 {
6351 char *s;
6352 va_list v;
6353 va_start (v,p);
6354 s = g (p, va_arg (v,int));
6355 va_end (v);
6356 return s;
6357 }
6358
6359 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6360 function prototypes and stuff, but not '\xHH' hex character constants.
6361 These don't provoke an error unfortunately, instead are silently treated
6362 as 'x'. The following induces an error, until -std1 is added to get
6363 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6364 array size at least. It's necessary to write '\x00'==0 to get something
6365 that's true only with -std1. */
6366 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6367
6368 int test (int i, double x);
6369 struct s1 {int (*f) (int a);};
6370 struct s2 {int (*f) (double a);};
6371 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6372 int argc;
6373 char **argv;
6374 int
6375 main ()
6376 {
6377 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6378 ;
6379 return 0;
6380 }
6381 _ACEOF
6382 # Don't try gcc -ansi; that turns off useful extensions and
6383 # breaks some systems' header files.
6384 # AIX -qlanglvl=ansi
6385 # Ultrix and OSF/1 -std1
6386 # HP-UX 10.20 and later -Ae
6387 # HP-UX older versions -Aa -D_HPUX_SOURCE
6388 # SVR4 -Xc -D__EXTENSIONS__
6389 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6390 do
6391 CC="$ac_save_CC $ac_arg"
6392 rm -f conftest.$ac_objext
6393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6394 (eval $ac_compile) 2>conftest.er1
6395 ac_status=$?
6396 grep -v '^ *+' conftest.er1 >conftest.err
6397 rm -f conftest.er1
6398 cat conftest.err >&5
6399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6400 (exit $ac_status); } &&
6401 { ac_try='test -z "$ac_c_werror_flag"
6402 || test ! -s conftest.err'
6403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6404 (eval $ac_try) 2>&5
6405 ac_status=$?
6406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6407 (exit $ac_status); }; } &&
6408 { ac_try='test -s conftest.$ac_objext'
6409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6410 (eval $ac_try) 2>&5
6411 ac_status=$?
6412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6413 (exit $ac_status); }; }; then
6414 ac_cv_prog_cc_stdc=$ac_arg
6415 break
6416 else
6417 echo "$as_me: failed program was:" >&5
6418 sed 's/^/| /' conftest.$ac_ext >&5
6419
6420 fi
6421 rm -f conftest.err conftest.$ac_objext
6422 done
6423 rm -f conftest.$ac_ext conftest.$ac_objext
6424 CC=$ac_save_CC
6425
6426 fi
6427
6428 case "x$ac_cv_prog_cc_stdc" in
6429 x|xno)
6430 echo "$as_me:$LINENO: result: none needed" >&5
6431 echo "${ECHO_T}none needed" >&6 ;;
6432 *)
6433 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
6434 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
6435 CC="$CC $ac_cv_prog_cc_stdc" ;;
6436 esac
6437
6438 # Some people use a C++ compiler to compile C. Since we use `exit',
6439 # in C++ we need to declare it. In case someone uses the same compiler
6440 # for both compiling C and C++ we need to have the C++ compiler decide
6441 # the declaration of exit, since it's the most demanding environment.
6442 cat >conftest.$ac_ext <<_ACEOF
6443 #ifndef __cplusplus
6444 choke me
6445 #endif
6446 _ACEOF
6447 rm -f conftest.$ac_objext
6448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6449 (eval $ac_compile) 2>conftest.er1
6450 ac_status=$?
6451 grep -v '^ *+' conftest.er1 >conftest.err
6452 rm -f conftest.er1
6453 cat conftest.err >&5
6454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6455 (exit $ac_status); } &&
6456 { ac_try='test -z "$ac_c_werror_flag"
6457 || test ! -s conftest.err'
6458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6459 (eval $ac_try) 2>&5
6460 ac_status=$?
6461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6462 (exit $ac_status); }; } &&
6463 { ac_try='test -s conftest.$ac_objext'
6464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6465 (eval $ac_try) 2>&5
6466 ac_status=$?
6467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6468 (exit $ac_status); }; }; then
6469 for ac_declaration in \
6470 '' \
6471 'extern "C" void std::exit (int) throw (); using std::exit;' \
6472 'extern "C" void std::exit (int); using std::exit;' \
6473 'extern "C" void exit (int) throw ();' \
6474 'extern "C" void exit (int);' \
6475 'void exit (int);'
6476 do
6477 cat >conftest.$ac_ext <<_ACEOF
6478 /* confdefs.h. */
6479 _ACEOF
6480 cat confdefs.h >>conftest.$ac_ext
6481 cat >>conftest.$ac_ext <<_ACEOF
6482 /* end confdefs.h. */
6483 $ac_declaration
6484 #include <stdlib.h>
6485 int
6486 main ()
6487 {
6488 exit (42);
6489 ;
6490 return 0;
6491 }
6492 _ACEOF
6493 rm -f conftest.$ac_objext
6494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6495 (eval $ac_compile) 2>conftest.er1
6496 ac_status=$?
6497 grep -v '^ *+' conftest.er1 >conftest.err
6498 rm -f conftest.er1
6499 cat conftest.err >&5
6500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6501 (exit $ac_status); } &&
6502 { ac_try='test -z "$ac_c_werror_flag"
6503 || test ! -s conftest.err'
6504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6505 (eval $ac_try) 2>&5
6506 ac_status=$?
6507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6508 (exit $ac_status); }; } &&
6509 { ac_try='test -s conftest.$ac_objext'
6510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6511 (eval $ac_try) 2>&5
6512 ac_status=$?
6513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6514 (exit $ac_status); }; }; then
6515 :
6516 else
6517 echo "$as_me: failed program was:" >&5
6518 sed 's/^/| /' conftest.$ac_ext >&5
6519
6520 continue
6521 fi
6522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6523 cat >conftest.$ac_ext <<_ACEOF
6524 /* confdefs.h. */
6525 _ACEOF
6526 cat confdefs.h >>conftest.$ac_ext
6527 cat >>conftest.$ac_ext <<_ACEOF
6528 /* end confdefs.h. */
6529 $ac_declaration
6530 int
6531 main ()
6532 {
6533 exit (42);
6534 ;
6535 return 0;
6536 }
6537 _ACEOF
6538 rm -f conftest.$ac_objext
6539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6540 (eval $ac_compile) 2>conftest.er1
6541 ac_status=$?
6542 grep -v '^ *+' conftest.er1 >conftest.err
6543 rm -f conftest.er1
6544 cat conftest.err >&5
6545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546 (exit $ac_status); } &&
6547 { ac_try='test -z "$ac_c_werror_flag"
6548 || test ! -s conftest.err'
6549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6550 (eval $ac_try) 2>&5
6551 ac_status=$?
6552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6553 (exit $ac_status); }; } &&
6554 { ac_try='test -s conftest.$ac_objext'
6555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6556 (eval $ac_try) 2>&5
6557 ac_status=$?
6558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6559 (exit $ac_status); }; }; then
6560 break
6561 else
6562 echo "$as_me: failed program was:" >&5
6563 sed 's/^/| /' conftest.$ac_ext >&5
6564
6565 fi
6566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6567 done
6568 rm -f conftest*
6569 if test -n "$ac_declaration"; then
6570 echo '#ifdef __cplusplus' >>confdefs.h
6571 echo $ac_declaration >>confdefs.h
6572 echo '#endif' >>confdefs.h
6573 fi
6574
6575 else
6576 echo "$as_me: failed program was:" >&5
6577 sed 's/^/| /' conftest.$ac_ext >&5
6578
6579 fi
6580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6581 ac_ext=c
6582 ac_cpp='$CPP $CPPFLAGS'
6583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6586
6587 depcc="$CC" am_compiler_list=
6588
6589 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6590 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6591 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
6592 echo $ECHO_N "(cached) $ECHO_C" >&6
6593 else
6594 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6595 # We make a subdir and do the tests there. Otherwise we can end up
6596 # making bogus files that we don't know about and never remove. For
6597 # instance it was reported that on HP-UX the gcc test will end up
6598 # making a dummy file named `D' -- because `-MD' means `put the output
6599 # in D'.
6600 mkdir conftest.dir
6601 # Copy depcomp to subdir because otherwise we won't find it if we're
6602 # using a relative directory.
6603 cp "$am_depcomp" conftest.dir
6604 cd conftest.dir
6605 # We will build objects and dependencies in a subdirectory because
6606 # it helps to detect inapplicable dependency modes. For instance
6607 # both Tru64's cc and ICC support -MD to output dependencies as a
6608 # side effect of compilation, but ICC will put the dependencies in
6609 # the current directory while Tru64 will put them in the object
6610 # directory.
6611 mkdir sub
6612
6613 am_cv_CC_dependencies_compiler_type=none
6614 if test "$am_compiler_list" = ""; then
6615 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6616 fi
6617 for depmode in $am_compiler_list; do
6618 # Setup a source with many dependencies, because some compilers
6619 # like to wrap large dependency lists on column 80 (with \), and
6620 # we should not choose a depcomp mode which is confused by this.
6621 #
6622 # We need to recreate these files for each test, as the compiler may
6623 # overwrite some of them when testing with obscure command lines.
6624 # This happens at least with the AIX C compiler.
6625 : > sub/conftest.c
6626 for i in 1 2 3 4 5 6; do
6627 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6628 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6629 # Solaris 8's {/usr,}/bin/sh.
6630 touch sub/conftst$i.h
6631 done
6632 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6633
6634 case $depmode in
6635 nosideeffect)
6636 # after this tag, mechanisms are not by side-effect, so they'll
6637 # only be used when explicitly requested
6638 if test "x$enable_dependency_tracking" = xyes; then
6639 continue
6640 else
6641 break
6642 fi
6643 ;;
6644 none) break ;;
6645 esac
6646 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6647 # mode. It turns out that the SunPro C++ compiler does not properly
6648 # handle `-M -o', and we need to detect this.
6649 if depmode=$depmode \
6650 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6651 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6652 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6653 >/dev/null 2>conftest.err &&
6654 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6655 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6656 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6657 # icc doesn't choke on unknown options, it will just issue warnings
6658 # or remarks (even with -Werror). So we grep stderr for any message
6659 # that says an option was ignored or not supported.
6660 # When given -MP, icc 7.0 and 7.1 complain thusly:
6661 # icc: Command line warning: ignoring option '-M'; no argument required
6662 # The diagnosis changed in icc 8.0:
6663 # icc: Command line remark: option '-MP' not supported
6664 if (grep 'ignoring option' conftest.err ||
6665 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6666 am_cv_CC_dependencies_compiler_type=$depmode
6667 break
6668 fi
6669 fi
6670 done
6671
6672 cd ..
6673 rm -rf conftest.dir
6674 else
6675 am_cv_CC_dependencies_compiler_type=none
6676 fi
6677
6678 fi
6679 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
6680 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
6681 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6682
6683
6684
6685 if
6686 test "x$enable_dependency_tracking" != xno \
6687 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6688 am__fastdepCC_TRUE=
6689 am__fastdepCC_FALSE='#'
6690 else
6691 am__fastdepCC_TRUE='#'
6692 am__fastdepCC_FALSE=
6693 fi
6694
6695
6696 ac_ext=c
6697 ac_cpp='$CPP $CPPFLAGS'
6698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6701 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6702 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
6703 # On Suns, sometimes $CPP names a directory.
6704 if test -n "$CPP" && test -d "$CPP"; then
6705 CPP=
6706 fi
6707 if test -z "$CPP"; then
6708 if test "${ac_cv_prog_CPP+set}" = set; then
6709 echo $ECHO_N "(cached) $ECHO_C" >&6
6710 else
6711 # Double quotes because CPP needs to be expanded
6712 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6713 do
6714 ac_preproc_ok=false
6715 for ac_c_preproc_warn_flag in '' yes
6716 do
6717 # Use a header file that comes with gcc, so configuring glibc
6718 # with a fresh cross-compiler works.
6719 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6720 # <limits.h> exists even on freestanding compilers.
6721 # On the NeXT, cc -E runs the code through the compiler's parser,
6722 # not just through cpp. "Syntax error" is here to catch this case.
6723 cat >conftest.$ac_ext <<_ACEOF
6724 /* confdefs.h. */
6725 _ACEOF
6726 cat confdefs.h >>conftest.$ac_ext
6727 cat >>conftest.$ac_ext <<_ACEOF
6728 /* end confdefs.h. */
6729 #ifdef __STDC__
6730 # include <limits.h>
6731 #else
6732 # include <assert.h>
6733 #endif
6734 Syntax error
6735 _ACEOF
6736 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6737 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6738 ac_status=$?
6739 grep -v '^ *+' conftest.er1 >conftest.err
6740 rm -f conftest.er1
6741 cat conftest.err >&5
6742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6743 (exit $ac_status); } >/dev/null; then
6744 if test -s conftest.err; then
6745 ac_cpp_err=$ac_c_preproc_warn_flag
6746 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6747 else
6748 ac_cpp_err=
6749 fi
6750 else
6751 ac_cpp_err=yes
6752 fi
6753 if test -z "$ac_cpp_err"; then
6754 :
6755 else
6756 echo "$as_me: failed program was:" >&5
6757 sed 's/^/| /' conftest.$ac_ext >&5
6758
6759 # Broken: fails on valid input.
6760 continue
6761 fi
6762 rm -f conftest.err conftest.$ac_ext
6763
6764 # OK, works on sane cases. Now check whether non-existent headers
6765 # can be detected and how.
6766 cat >conftest.$ac_ext <<_ACEOF
6767 /* confdefs.h. */
6768 _ACEOF
6769 cat confdefs.h >>conftest.$ac_ext
6770 cat >>conftest.$ac_ext <<_ACEOF
6771 /* end confdefs.h. */
6772 #include <ac_nonexistent.h>
6773 _ACEOF
6774 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6775 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6776 ac_status=$?
6777 grep -v '^ *+' conftest.er1 >conftest.err
6778 rm -f conftest.er1
6779 cat conftest.err >&5
6780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6781 (exit $ac_status); } >/dev/null; then
6782 if test -s conftest.err; then
6783 ac_cpp_err=$ac_c_preproc_warn_flag
6784 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6785 else
6786 ac_cpp_err=
6787 fi
6788 else
6789 ac_cpp_err=yes
6790 fi
6791 if test -z "$ac_cpp_err"; then
6792 # Broken: success on invalid input.
6793 continue
6794 else
6795 echo "$as_me: failed program was:" >&5
6796 sed 's/^/| /' conftest.$ac_ext >&5
6797
6798 # Passes both tests.
6799 ac_preproc_ok=:
6800 break
6801 fi
6802 rm -f conftest.err conftest.$ac_ext
6803
6804 done
6805 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6806 rm -f conftest.err conftest.$ac_ext
6807 if $ac_preproc_ok; then
6808 break
6809 fi
6810
6811 done
6812 ac_cv_prog_CPP=$CPP
6813
6814 fi
6815 CPP=$ac_cv_prog_CPP
6816 else
6817 ac_cv_prog_CPP=$CPP
6818 fi
6819 echo "$as_me:$LINENO: result: $CPP" >&5
6820 echo "${ECHO_T}$CPP" >&6
6821 ac_preproc_ok=false
6822 for ac_c_preproc_warn_flag in '' yes
6823 do
6824 # Use a header file that comes with gcc, so configuring glibc
6825 # with a fresh cross-compiler works.
6826 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6827 # <limits.h> exists even on freestanding compilers.
6828 # On the NeXT, cc -E runs the code through the compiler's parser,
6829 # not just through cpp. "Syntax error" is here to catch this case.
6830 cat >conftest.$ac_ext <<_ACEOF
6831 /* confdefs.h. */
6832 _ACEOF
6833 cat confdefs.h >>conftest.$ac_ext
6834 cat >>conftest.$ac_ext <<_ACEOF
6835 /* end confdefs.h. */
6836 #ifdef __STDC__
6837 # include <limits.h>
6838 #else
6839 # include <assert.h>
6840 #endif
6841 Syntax error
6842 _ACEOF
6843 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6844 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6845 ac_status=$?
6846 grep -v '^ *+' conftest.er1 >conftest.err
6847 rm -f conftest.er1
6848 cat conftest.err >&5
6849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6850 (exit $ac_status); } >/dev/null; then
6851 if test -s conftest.err; then
6852 ac_cpp_err=$ac_c_preproc_warn_flag
6853 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6854 else
6855 ac_cpp_err=
6856 fi
6857 else
6858 ac_cpp_err=yes
6859 fi
6860 if test -z "$ac_cpp_err"; then
6861 :
6862 else
6863 echo "$as_me: failed program was:" >&5
6864 sed 's/^/| /' conftest.$ac_ext >&5
6865
6866 # Broken: fails on valid input.
6867 continue
6868 fi
6869 rm -f conftest.err conftest.$ac_ext
6870
6871 # OK, works on sane cases. Now check whether non-existent headers
6872 # can be detected and how.
6873 cat >conftest.$ac_ext <<_ACEOF
6874 /* confdefs.h. */
6875 _ACEOF
6876 cat confdefs.h >>conftest.$ac_ext
6877 cat >>conftest.$ac_ext <<_ACEOF
6878 /* end confdefs.h. */
6879 #include <ac_nonexistent.h>
6880 _ACEOF
6881 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6882 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6883 ac_status=$?
6884 grep -v '^ *+' conftest.er1 >conftest.err
6885 rm -f conftest.er1
6886 cat conftest.err >&5
6887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6888 (exit $ac_status); } >/dev/null; then
6889 if test -s conftest.err; then
6890 ac_cpp_err=$ac_c_preproc_warn_flag
6891 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6892 else
6893 ac_cpp_err=
6894 fi
6895 else
6896 ac_cpp_err=yes
6897 fi
6898 if test -z "$ac_cpp_err"; then
6899 # Broken: success on invalid input.
6900 continue
6901 else
6902 echo "$as_me: failed program was:" >&5
6903 sed 's/^/| /' conftest.$ac_ext >&5
6904
6905 # Passes both tests.
6906 ac_preproc_ok=:
6907 break
6908 fi
6909 rm -f conftest.err conftest.$ac_ext
6910
6911 done
6912 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6913 rm -f conftest.err conftest.$ac_ext
6914 if $ac_preproc_ok; then
6915 :
6916 else
6917 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6918 See \`config.log' for more details." >&5
6919 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6920 See \`config.log' for more details." >&2;}
6921 { (exit 1); exit 1; }; }
6922 fi
6923
6924 ac_ext=c
6925 ac_cpp='$CPP $CPPFLAGS'
6926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6929
6930 ac_ext=cc
6931 ac_cpp='$CXXCPP $CPPFLAGS'
6932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6935 if test -n "$ac_tool_prefix"; then
6936 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6937 do
6938 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6939 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6940 echo "$as_me:$LINENO: checking for $ac_word" >&5
6941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6942 if test "${ac_cv_prog_CXX+set}" = set; then
6943 echo $ECHO_N "(cached) $ECHO_C" >&6
6944 else
6945 if test -n "$CXX"; then
6946 ac_cv_prog_CXX="$CXX" # Let the user override the test.
6947 else
6948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6949 for as_dir in $PATH
6950 do
6951 IFS=$as_save_IFS
6952 test -z "$as_dir" && as_dir=.
6953 for ac_exec_ext in '' $ac_executable_extensions; do
6954 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6955 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6956 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6957 break 2
6958 fi
6959 done
6960 done
6961
6962 fi
6963 fi
6964 CXX=$ac_cv_prog_CXX
6965 if test -n "$CXX"; then
6966 echo "$as_me:$LINENO: result: $CXX" >&5
6967 echo "${ECHO_T}$CXX" >&6
6968 else
6969 echo "$as_me:$LINENO: result: no" >&5
6970 echo "${ECHO_T}no" >&6
6971 fi
6972
6973 test -n "$CXX" && break
6974 done
6975 fi
6976 if test -z "$CXX"; then
6977 ac_ct_CXX=$CXX
6978 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6979 do
6980 # Extract the first word of "$ac_prog", so it can be a program name with args.
6981 set dummy $ac_prog; ac_word=$2
6982 echo "$as_me:$LINENO: checking for $ac_word" >&5
6983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6984 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6985 echo $ECHO_N "(cached) $ECHO_C" >&6
6986 else
6987 if test -n "$ac_ct_CXX"; then
6988 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6989 else
6990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6991 for as_dir in $PATH
6992 do
6993 IFS=$as_save_IFS
6994 test -z "$as_dir" && as_dir=.
6995 for ac_exec_ext in '' $ac_executable_extensions; do
6996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6997 ac_cv_prog_ac_ct_CXX="$ac_prog"
6998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6999 break 2
7000 fi
7001 done
7002 done
7003
7004 fi
7005 fi
7006 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7007 if test -n "$ac_ct_CXX"; then
7008 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
7009 echo "${ECHO_T}$ac_ct_CXX" >&6
7010 else
7011 echo "$as_me:$LINENO: result: no" >&5
7012 echo "${ECHO_T}no" >&6
7013 fi
7014
7015 test -n "$ac_ct_CXX" && break
7016 done
7017 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
7018
7019 CXX=$ac_ct_CXX
7020 fi
7021
7022
7023 # Provide some information about the compiler.
7024 echo "$as_me:$LINENO:" \
7025 "checking for C++ compiler version" >&5
7026 ac_compiler=`set X $ac_compile; echo $2`
7027 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
7028 (eval $ac_compiler --version </dev/null >&5) 2>&5
7029 ac_status=$?
7030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7031 (exit $ac_status); }
7032 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
7033 (eval $ac_compiler -v </dev/null >&5) 2>&5
7034 ac_status=$?
7035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7036 (exit $ac_status); }
7037 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
7038 (eval $ac_compiler -V </dev/null >&5) 2>&5
7039 ac_status=$?
7040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7041 (exit $ac_status); }
7042
7043 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
7044 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
7045 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
7046 echo $ECHO_N "(cached) $ECHO_C" >&6
7047 else
7048 cat >conftest.$ac_ext <<_ACEOF
7049 /* confdefs.h. */
7050 _ACEOF
7051 cat confdefs.h >>conftest.$ac_ext
7052 cat >>conftest.$ac_ext <<_ACEOF
7053 /* end confdefs.h. */
7054
7055 int
7056 main ()
7057 {
7058 #ifndef __GNUC__
7059 choke me
7060 #endif
7061
7062 ;
7063 return 0;
7064 }
7065 _ACEOF
7066 rm -f conftest.$ac_objext
7067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7068 (eval $ac_compile) 2>conftest.er1
7069 ac_status=$?
7070 grep -v '^ *+' conftest.er1 >conftest.err
7071 rm -f conftest.er1
7072 cat conftest.err >&5
7073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7074 (exit $ac_status); } &&
7075 { ac_try='test -z "$ac_cxx_werror_flag"
7076 || test ! -s conftest.err'
7077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7078 (eval $ac_try) 2>&5
7079 ac_status=$?
7080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7081 (exit $ac_status); }; } &&
7082 { ac_try='test -s conftest.$ac_objext'
7083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7084 (eval $ac_try) 2>&5
7085 ac_status=$?
7086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7087 (exit $ac_status); }; }; then
7088 ac_compiler_gnu=yes
7089 else
7090 echo "$as_me: failed program was:" >&5
7091 sed 's/^/| /' conftest.$ac_ext >&5
7092
7093 ac_compiler_gnu=no
7094 fi
7095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7096 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7097
7098 fi
7099 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
7100 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
7101 GXX=`test $ac_compiler_gnu = yes && echo yes`
7102 ac_test_CXXFLAGS=${CXXFLAGS+set}
7103 ac_save_CXXFLAGS=$CXXFLAGS
7104 CXXFLAGS="-g"
7105 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
7106 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
7107 if test "${ac_cv_prog_cxx_g+set}" = set; then
7108 echo $ECHO_N "(cached) $ECHO_C" >&6
7109 else
7110 cat >conftest.$ac_ext <<_ACEOF
7111 /* confdefs.h. */
7112 _ACEOF
7113 cat confdefs.h >>conftest.$ac_ext
7114 cat >>conftest.$ac_ext <<_ACEOF
7115 /* end confdefs.h. */
7116
7117 int
7118 main ()
7119 {
7120
7121 ;
7122 return 0;
7123 }
7124 _ACEOF
7125 rm -f conftest.$ac_objext
7126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7127 (eval $ac_compile) 2>conftest.er1
7128 ac_status=$?
7129 grep -v '^ *+' conftest.er1 >conftest.err
7130 rm -f conftest.er1
7131 cat conftest.err >&5
7132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7133 (exit $ac_status); } &&
7134 { ac_try='test -z "$ac_cxx_werror_flag"
7135 || test ! -s conftest.err'
7136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7137 (eval $ac_try) 2>&5
7138 ac_status=$?
7139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7140 (exit $ac_status); }; } &&
7141 { ac_try='test -s conftest.$ac_objext'
7142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7143 (eval $ac_try) 2>&5
7144 ac_status=$?
7145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7146 (exit $ac_status); }; }; then
7147 ac_cv_prog_cxx_g=yes
7148 else
7149 echo "$as_me: failed program was:" >&5
7150 sed 's/^/| /' conftest.$ac_ext >&5
7151
7152 ac_cv_prog_cxx_g=no
7153 fi
7154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7155 fi
7156 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7157 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
7158 if test "$ac_test_CXXFLAGS" = set; then
7159 CXXFLAGS=$ac_save_CXXFLAGS
7160 elif test $ac_cv_prog_cxx_g = yes; then
7161 if test "$GXX" = yes; then
7162 CXXFLAGS="-g -O2"
7163 else
7164 CXXFLAGS="-g"
7165 fi
7166 else
7167 if test "$GXX" = yes; then
7168 CXXFLAGS="-O2"
7169 else
7170 CXXFLAGS=
7171 fi
7172 fi
7173 for ac_declaration in \
7174 '' \
7175 'extern "C" void std::exit (int) throw (); using std::exit;' \
7176 'extern "C" void std::exit (int); using std::exit;' \
7177 'extern "C" void exit (int) throw ();' \
7178 'extern "C" void exit (int);' \
7179 'void exit (int);'
7180 do
7181 cat >conftest.$ac_ext <<_ACEOF
7182 /* confdefs.h. */
7183 _ACEOF
7184 cat confdefs.h >>conftest.$ac_ext
7185 cat >>conftest.$ac_ext <<_ACEOF
7186 /* end confdefs.h. */
7187 $ac_declaration
7188 #include <stdlib.h>
7189 int
7190 main ()
7191 {
7192 exit (42);
7193 ;
7194 return 0;
7195 }
7196 _ACEOF
7197 rm -f conftest.$ac_objext
7198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7199 (eval $ac_compile) 2>conftest.er1
7200 ac_status=$?
7201 grep -v '^ *+' conftest.er1 >conftest.err
7202 rm -f conftest.er1
7203 cat conftest.err >&5
7204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7205 (exit $ac_status); } &&
7206 { ac_try='test -z "$ac_cxx_werror_flag"
7207 || test ! -s conftest.err'
7208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7209 (eval $ac_try) 2>&5
7210 ac_status=$?
7211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7212 (exit $ac_status); }; } &&
7213 { ac_try='test -s conftest.$ac_objext'
7214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7215 (eval $ac_try) 2>&5
7216 ac_status=$?
7217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7218 (exit $ac_status); }; }; then
7219 :
7220 else
7221 echo "$as_me: failed program was:" >&5
7222 sed 's/^/| /' conftest.$ac_ext >&5
7223
7224 continue
7225 fi
7226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7227 cat >conftest.$ac_ext <<_ACEOF
7228 /* confdefs.h. */
7229 _ACEOF
7230 cat confdefs.h >>conftest.$ac_ext
7231 cat >>conftest.$ac_ext <<_ACEOF
7232 /* end confdefs.h. */
7233 $ac_declaration
7234 int
7235 main ()
7236 {
7237 exit (42);
7238 ;
7239 return 0;
7240 }
7241 _ACEOF
7242 rm -f conftest.$ac_objext
7243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7244 (eval $ac_compile) 2>conftest.er1
7245 ac_status=$?
7246 grep -v '^ *+' conftest.er1 >conftest.err
7247 rm -f conftest.er1
7248 cat conftest.err >&5
7249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7250 (exit $ac_status); } &&
7251 { ac_try='test -z "$ac_cxx_werror_flag"
7252 || test ! -s conftest.err'
7253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7254 (eval $ac_try) 2>&5
7255 ac_status=$?
7256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7257 (exit $ac_status); }; } &&
7258 { ac_try='test -s conftest.$ac_objext'
7259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7260 (eval $ac_try) 2>&5
7261 ac_status=$?
7262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7263 (exit $ac_status); }; }; then
7264 break
7265 else
7266 echo "$as_me: failed program was:" >&5
7267 sed 's/^/| /' conftest.$ac_ext >&5
7268
7269 fi
7270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7271 done
7272 rm -f conftest*
7273 if test -n "$ac_declaration"; then
7274 echo '#ifdef __cplusplus' >>confdefs.h
7275 echo $ac_declaration >>confdefs.h
7276 echo '#endif' >>confdefs.h
7277 fi
7278
7279 ac_ext=c
7280 ac_cpp='$CPP $CPPFLAGS'
7281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7284
7285 depcc="$CXX" am_compiler_list=
7286
7287 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
7288 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
7289 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
7290 echo $ECHO_N "(cached) $ECHO_C" >&6
7291 else
7292 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7293 # We make a subdir and do the tests there. Otherwise we can end up
7294 # making bogus files that we don't know about and never remove. For
7295 # instance it was reported that on HP-UX the gcc test will end up
7296 # making a dummy file named `D' -- because `-MD' means `put the output
7297 # in D'.
7298 mkdir conftest.dir
7299 # Copy depcomp to subdir because otherwise we won't find it if we're
7300 # using a relative directory.
7301 cp "$am_depcomp" conftest.dir
7302 cd conftest.dir
7303 # We will build objects and dependencies in a subdirectory because
7304 # it helps to detect inapplicable dependency modes. For instance
7305 # both Tru64's cc and ICC support -MD to output dependencies as a
7306 # side effect of compilation, but ICC will put the dependencies in
7307 # the current directory while Tru64 will put them in the object
7308 # directory.
7309 mkdir sub
7310
7311 am_cv_CXX_dependencies_compiler_type=none
7312 if test "$am_compiler_list" = ""; then
7313 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7314 fi
7315 for depmode in $am_compiler_list; do
7316 # Setup a source with many dependencies, because some compilers
7317 # like to wrap large dependency lists on column 80 (with \), and
7318 # we should not choose a depcomp mode which is confused by this.
7319 #
7320 # We need to recreate these files for each test, as the compiler may
7321 # overwrite some of them when testing with obscure command lines.
7322 # This happens at least with the AIX C compiler.
7323 : > sub/conftest.c
7324 for i in 1 2 3 4 5 6; do
7325 echo '#include "conftst'$i'.h"' >> sub/conftest.c
7326 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
7327 # Solaris 8's {/usr,}/bin/sh.
7328 touch sub/conftst$i.h
7329 done
7330 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7331
7332 case $depmode in
7333 nosideeffect)
7334 # after this tag, mechanisms are not by side-effect, so they'll
7335 # only be used when explicitly requested
7336 if test "x$enable_dependency_tracking" = xyes; then
7337 continue
7338 else
7339 break
7340 fi
7341 ;;
7342 none) break ;;
7343 esac
7344 # We check with `-c' and `-o' for the sake of the "dashmstdout"
7345 # mode. It turns out that the SunPro C++ compiler does not properly
7346 # handle `-M -o', and we need to detect this.
7347 if depmode=$depmode \
7348 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
7349 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7350 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
7351 >/dev/null 2>conftest.err &&
7352 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7353 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
7354 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7355 # icc doesn't choke on unknown options, it will just issue warnings
7356 # or remarks (even with -Werror). So we grep stderr for any message
7357 # that says an option was ignored or not supported.
7358 # When given -MP, icc 7.0 and 7.1 complain thusly:
7359 # icc: Command line warning: ignoring option '-M'; no argument required
7360 # The diagnosis changed in icc 8.0:
7361 # icc: Command line remark: option '-MP' not supported
7362 if (grep 'ignoring option' conftest.err ||
7363 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7364 am_cv_CXX_dependencies_compiler_type=$depmode
7365 break
7366 fi
7367 fi
7368 done
7369
7370 cd ..
7371 rm -rf conftest.dir
7372 else
7373 am_cv_CXX_dependencies_compiler_type=none
7374 fi
7375
7376 fi
7377 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
7378 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
7379 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
7380
7381
7382
7383 if
7384 test "x$enable_dependency_tracking" != xno \
7385 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
7386 am__fastdepCXX_TRUE=
7387 am__fastdepCXX_FALSE='#'
7388 else
7389 am__fastdepCXX_TRUE='#'
7390 am__fastdepCXX_FALSE=
7391 fi
7392
7393 ac_ext=cc
7394 ac_cpp='$CXXCPP $CPPFLAGS'
7395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7398 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7399 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
7400 if test -z "$CXXCPP"; then
7401 if test "${ac_cv_prog_CXXCPP+set}" = set; then
7402 echo $ECHO_N "(cached) $ECHO_C" >&6
7403 else
7404 # Double quotes because CXXCPP needs to be expanded
7405 for CXXCPP in "$CXX -E" "/lib/cpp"
7406 do
7407 ac_preproc_ok=false
7408 for ac_cxx_preproc_warn_flag in '' yes
7409 do
7410 # Use a header file that comes with gcc, so configuring glibc
7411 # with a fresh cross-compiler works.
7412 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7413 # <limits.h> exists even on freestanding compilers.
7414 # On the NeXT, cc -E runs the code through the compiler's parser,
7415 # not just through cpp. "Syntax error" is here to catch this case.
7416 cat >conftest.$ac_ext <<_ACEOF
7417 /* confdefs.h. */
7418 _ACEOF
7419 cat confdefs.h >>conftest.$ac_ext
7420 cat >>conftest.$ac_ext <<_ACEOF
7421 /* end confdefs.h. */
7422 #ifdef __STDC__
7423 # include <limits.h>
7424 #else
7425 # include <assert.h>
7426 #endif
7427 Syntax error
7428 _ACEOF
7429 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7430 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7431 ac_status=$?
7432 grep -v '^ *+' conftest.er1 >conftest.err
7433 rm -f conftest.er1
7434 cat conftest.err >&5
7435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7436 (exit $ac_status); } >/dev/null; then
7437 if test -s conftest.err; then
7438 ac_cpp_err=$ac_cxx_preproc_warn_flag
7439 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7440 else
7441 ac_cpp_err=
7442 fi
7443 else
7444 ac_cpp_err=yes
7445 fi
7446 if test -z "$ac_cpp_err"; then
7447 :
7448 else
7449 echo "$as_me: failed program was:" >&5
7450 sed 's/^/| /' conftest.$ac_ext >&5
7451
7452 # Broken: fails on valid input.
7453 continue
7454 fi
7455 rm -f conftest.err conftest.$ac_ext
7456
7457 # OK, works on sane cases. Now check whether non-existent headers
7458 # can be detected and how.
7459 cat >conftest.$ac_ext <<_ACEOF
7460 /* confdefs.h. */
7461 _ACEOF
7462 cat confdefs.h >>conftest.$ac_ext
7463 cat >>conftest.$ac_ext <<_ACEOF
7464 /* end confdefs.h. */
7465 #include <ac_nonexistent.h>
7466 _ACEOF
7467 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7468 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7469 ac_status=$?
7470 grep -v '^ *+' conftest.er1 >conftest.err
7471 rm -f conftest.er1
7472 cat conftest.err >&5
7473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7474 (exit $ac_status); } >/dev/null; then
7475 if test -s conftest.err; then
7476 ac_cpp_err=$ac_cxx_preproc_warn_flag
7477 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7478 else
7479 ac_cpp_err=
7480 fi
7481 else
7482 ac_cpp_err=yes
7483 fi
7484 if test -z "$ac_cpp_err"; then
7485 # Broken: success on invalid input.
7486 continue
7487 else
7488 echo "$as_me: failed program was:" >&5
7489 sed 's/^/| /' conftest.$ac_ext >&5
7490
7491 # Passes both tests.
7492 ac_preproc_ok=:
7493 break
7494 fi
7495 rm -f conftest.err conftest.$ac_ext
7496
7497 done
7498 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7499 rm -f conftest.err conftest.$ac_ext
7500 if $ac_preproc_ok; then
7501 break
7502 fi
7503
7504 done
7505 ac_cv_prog_CXXCPP=$CXXCPP
7506
7507 fi
7508 CXXCPP=$ac_cv_prog_CXXCPP
7509 else
7510 ac_cv_prog_CXXCPP=$CXXCPP
7511 fi
7512 echo "$as_me:$LINENO: result: $CXXCPP" >&5
7513 echo "${ECHO_T}$CXXCPP" >&6
7514 ac_preproc_ok=false
7515 for ac_cxx_preproc_warn_flag in '' yes
7516 do
7517 # Use a header file that comes with gcc, so configuring glibc
7518 # with a fresh cross-compiler works.
7519 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7520 # <limits.h> exists even on freestanding compilers.
7521 # On the NeXT, cc -E runs the code through the compiler's parser,
7522 # not just through cpp. "Syntax error" is here to catch this case.
7523 cat >conftest.$ac_ext <<_ACEOF
7524 /* confdefs.h. */
7525 _ACEOF
7526 cat confdefs.h >>conftest.$ac_ext
7527 cat >>conftest.$ac_ext <<_ACEOF
7528 /* end confdefs.h. */
7529 #ifdef __STDC__
7530 # include <limits.h>
7531 #else
7532 # include <assert.h>
7533 #endif
7534 Syntax error
7535 _ACEOF
7536 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7537 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7538 ac_status=$?
7539 grep -v '^ *+' conftest.er1 >conftest.err
7540 rm -f conftest.er1
7541 cat conftest.err >&5
7542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7543 (exit $ac_status); } >/dev/null; then
7544 if test -s conftest.err; then
7545 ac_cpp_err=$ac_cxx_preproc_warn_flag
7546 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7547 else
7548 ac_cpp_err=
7549 fi
7550 else
7551 ac_cpp_err=yes
7552 fi
7553 if test -z "$ac_cpp_err"; then
7554 :
7555 else
7556 echo "$as_me: failed program was:" >&5
7557 sed 's/^/| /' conftest.$ac_ext >&5
7558
7559 # Broken: fails on valid input.
7560 continue
7561 fi
7562 rm -f conftest.err conftest.$ac_ext
7563
7564 # OK, works on sane cases. Now check whether non-existent headers
7565 # can be detected and how.
7566 cat >conftest.$ac_ext <<_ACEOF
7567 /* confdefs.h. */
7568 _ACEOF
7569 cat confdefs.h >>conftest.$ac_ext
7570 cat >>conftest.$ac_ext <<_ACEOF
7571 /* end confdefs.h. */
7572 #include <ac_nonexistent.h>
7573 _ACEOF
7574 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7575 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7576 ac_status=$?
7577 grep -v '^ *+' conftest.er1 >conftest.err
7578 rm -f conftest.er1
7579 cat conftest.err >&5
7580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7581 (exit $ac_status); } >/dev/null; then
7582 if test -s conftest.err; then
7583 ac_cpp_err=$ac_cxx_preproc_warn_flag
7584 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7585 else
7586 ac_cpp_err=
7587 fi
7588 else
7589 ac_cpp_err=yes
7590 fi
7591 if test -z "$ac_cpp_err"; then
7592 # Broken: success on invalid input.
7593 continue
7594 else
7595 echo "$as_me: failed program was:" >&5
7596 sed 's/^/| /' conftest.$ac_ext >&5
7597
7598 # Passes both tests.
7599 ac_preproc_ok=:
7600 break
7601 fi
7602 rm -f conftest.err conftest.$ac_ext
7603
7604 done
7605 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7606 rm -f conftest.err conftest.$ac_ext
7607 if $ac_preproc_ok; then
7608 :
7609 else
7610 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7611 See \`config.log' for more details." >&5
7612 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7613 See \`config.log' for more details." >&2;}
7614 { (exit 1); exit 1; }; }
7615 fi
7616
7617 ac_ext=c
7618 ac_cpp='$CPP $CPPFLAGS'
7619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7622
7623
7624
7625 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
7626 lt_save_CC="$CC"
7627 lt_save_CFLAGS="$CFLAGS"
7628 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
7629 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
7630 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
7631 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
7632 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
7633 deplibs_check_method="$deplibs_check_method" \
7634 file_magic_cmd="$file_magic_cmd" \
7635 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
7636 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
7637 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
7638 echo "$as_me: error: libtool tag configuration failed" >&2;}
7639 { (exit 1); exit 1; }; }
7640 CC="$lt_save_CC"
7641 CFLAGS="$lt_save_CFLAGS"
7642
7643 # Redirect the config.log output again, so that the ltconfig log is not
7644 # clobbered by the next message.
7645 exec 5>>./config.log
7646
7647
7648
7649
7650 # Handle -Werror default case.
7651 if test "$ENABLE_WERROR" = default; then
7652 case "$host_os" in
7653 *linux*)
7654 if test "$GCC" = yes; then
7655 ENABLE_WERROR=yes
7656 fi
7657 ;;
7658 esac
7659 fi
7660
7661 if test "x${COMPILE_COLLECTIONS}" = xyes; then
7662 # Extract the first word of "perl", so it can be a program name with args.
7663 set dummy perl; ac_word=$2
7664 echo "$as_me:$LINENO: checking for $ac_word" >&5
7665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7666 if test "${ac_cv_path_PERL+set}" = set; then
7667 echo $ECHO_N "(cached) $ECHO_C" >&6
7668 else
7669 case $PERL in
7670 [\\/]* | ?:[\\/]*)
7671 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
7672 ;;
7673 *)
7674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7675 for as_dir in $PATH
7676 do
7677 IFS=$as_save_IFS
7678 test -z "$as_dir" && as_dir=.
7679 for ac_exec_ext in '' $ac_executable_extensions; do
7680 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7681 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
7682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7683 break 2
7684 fi
7685 done
7686 done
7687
7688 ;;
7689 esac
7690 fi
7691 PERL=$ac_cv_path_PERL
7692
7693 if test -n "$PERL"; then
7694 echo "$as_me:$LINENO: result: $PERL" >&5
7695 echo "${ECHO_T}$PERL" >&6
7696 else
7697 echo "$as_me:$LINENO: result: no" >&5
7698 echo "${ECHO_T}no" >&6
7699 fi
7700
7701
7702
7703 ac_config_files="$ac_config_files lib/mkcollections.pl"
7704
7705 ac_config_commands="$ac_config_commands mkcollections.pl"
7706
7707 fi
7708
7709 if test "x${COMPILE_JNI}" = xyes; then
7710
7711
7712
7713 echo "$as_me:$LINENO: checking __attribute__((,,))" >&5
7714 echo $ECHO_N "checking __attribute__((,,))... $ECHO_C" >&6
7715 if test "${cv_c_gcc_attribute_supported+set}" = set; then
7716 echo $ECHO_N "(cached) $ECHO_C" >&6
7717 else
7718
7719 cat >conftest.$ac_ext <<_ACEOF
7720 /* confdefs.h. */
7721 _ACEOF
7722 cat confdefs.h >>conftest.$ac_ext
7723 cat >>conftest.$ac_ext <<_ACEOF
7724 /* end confdefs.h. */
7725
7726 int
7727 main ()
7728 {
7729 extern int testfunction(int x) __attribute__((,,))
7730 ;
7731 return 0;
7732 }
7733 _ACEOF
7734 rm -f conftest.$ac_objext
7735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7736 (eval $ac_compile) 2>conftest.er1
7737 ac_status=$?
7738 grep -v '^ *+' conftest.er1 >conftest.err
7739 rm -f conftest.er1
7740 cat conftest.err >&5
7741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7742 (exit $ac_status); } &&
7743 { ac_try='test -z "$ac_c_werror_flag"
7744 || test ! -s conftest.err'
7745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7746 (eval $ac_try) 2>&5
7747 ac_status=$?
7748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7749 (exit $ac_status); }; } &&
7750 { ac_try='test -s conftest.$ac_objext'
7751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7752 (eval $ac_try) 2>&5
7753 ac_status=$?
7754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7755 (exit $ac_status); }; }; then
7756 cv_c_gcc_attribute_supported=yes
7757 else
7758 echo "$as_me: failed program was:" >&5
7759 sed 's/^/| /' conftest.$ac_ext >&5
7760
7761 cv_c_gcc_attribute_supported=no
7762 fi
7763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7764
7765 fi
7766
7767 if test "x$cv_c_gcc_attribute_supported" = xyes; then
7768 true
7769 echo "$as_me:$LINENO: result: yes" >&5
7770 echo "${ECHO_T}yes" >&6
7771
7772 cat >>confdefs.h <<\_ACEOF
7773 #define HAVE_GNUC25_ATTRIB
7774 _ACEOF
7775
7776
7777 else
7778 true
7779 echo "$as_me:$LINENO: result: no" >&5
7780 echo "${ECHO_T}no" >&6
7781
7782 fi
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793 echo "$as_me:$LINENO: checking __attribute__((unused))" >&5
7794 echo $ECHO_N "checking __attribute__((unused))... $ECHO_C" >&6
7795 if test "${cv_c_gcc_attribute_unused+set}" = set; then
7796 echo $ECHO_N "(cached) $ECHO_C" >&6
7797 else
7798
7799 cat >conftest.$ac_ext <<_ACEOF
7800 /* confdefs.h. */
7801 _ACEOF
7802 cat confdefs.h >>conftest.$ac_ext
7803 cat >>conftest.$ac_ext <<_ACEOF
7804 /* end confdefs.h. */
7805
7806 int
7807 main ()
7808 {
7809 extern int testfunction(int x) __attribute__((unused))
7810 ;
7811 return 0;
7812 }
7813 _ACEOF
7814 rm -f conftest.$ac_objext
7815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7816 (eval $ac_compile) 2>conftest.er1
7817 ac_status=$?
7818 grep -v '^ *+' conftest.er1 >conftest.err
7819 rm -f conftest.er1
7820 cat conftest.err >&5
7821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7822 (exit $ac_status); } &&
7823 { ac_try='test -z "$ac_c_werror_flag"
7824 || test ! -s conftest.err'
7825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7826 (eval $ac_try) 2>&5
7827 ac_status=$?
7828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7829 (exit $ac_status); }; } &&
7830 { ac_try='test -s conftest.$ac_objext'
7831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7832 (eval $ac_try) 2>&5
7833 ac_status=$?
7834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7835 (exit $ac_status); }; }; then
7836 cv_c_gcc_attribute_unused=yes
7837 else
7838 echo "$as_me: failed program was:" >&5
7839 sed 's/^/| /' conftest.$ac_ext >&5
7840
7841 cv_c_gcc_attribute_unused=no
7842 fi
7843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7844
7845 fi
7846
7847 if test "x$cv_c_gcc_attribute_unused" = xyes; then
7848 true
7849 echo "$as_me:$LINENO: result: yes" >&5
7850 echo "${ECHO_T}yes" >&6
7851
7852 cat >>confdefs.h <<\_ACEOF
7853 #define HAVE_GNUC25_UNUSED
7854 _ACEOF
7855
7856
7857 else
7858 true
7859 echo "$as_me:$LINENO: result: no" >&5
7860 echo "${ECHO_T}no" >&6
7861
7862 fi
7863
7864
7865
7866
7867
7868
7869 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7870 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7871 if test "${ac_cv_header_stdc+set}" = set; then
7872 echo $ECHO_N "(cached) $ECHO_C" >&6
7873 else
7874 cat >conftest.$ac_ext <<_ACEOF
7875 /* confdefs.h. */
7876 _ACEOF
7877 cat confdefs.h >>conftest.$ac_ext
7878 cat >>conftest.$ac_ext <<_ACEOF
7879 /* end confdefs.h. */
7880 #include <stdlib.h>
7881 #include <stdarg.h>
7882 #include <string.h>
7883 #include <float.h>
7884
7885 int
7886 main ()
7887 {
7888
7889 ;
7890 return 0;
7891 }
7892 _ACEOF
7893 rm -f conftest.$ac_objext
7894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7895 (eval $ac_compile) 2>conftest.er1
7896 ac_status=$?
7897 grep -v '^ *+' conftest.er1 >conftest.err
7898 rm -f conftest.er1
7899 cat conftest.err >&5
7900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7901 (exit $ac_status); } &&
7902 { ac_try='test -z "$ac_c_werror_flag"
7903 || test ! -s conftest.err'
7904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7905 (eval $ac_try) 2>&5
7906 ac_status=$?
7907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7908 (exit $ac_status); }; } &&
7909 { ac_try='test -s conftest.$ac_objext'
7910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7911 (eval $ac_try) 2>&5
7912 ac_status=$?
7913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7914 (exit $ac_status); }; }; then
7915 ac_cv_header_stdc=yes
7916 else
7917 echo "$as_me: failed program was:" >&5
7918 sed 's/^/| /' conftest.$ac_ext >&5
7919
7920 ac_cv_header_stdc=no
7921 fi
7922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7923
7924 if test $ac_cv_header_stdc = yes; then
7925 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7926 cat >conftest.$ac_ext <<_ACEOF
7927 /* confdefs.h. */
7928 _ACEOF
7929 cat confdefs.h >>conftest.$ac_ext
7930 cat >>conftest.$ac_ext <<_ACEOF
7931 /* end confdefs.h. */
7932 #include <string.h>
7933
7934 _ACEOF
7935 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7936 $EGREP "memchr" >/dev/null 2>&1; then
7937 :
7938 else
7939 ac_cv_header_stdc=no
7940 fi
7941 rm -f conftest*
7942
7943 fi
7944
7945 if test $ac_cv_header_stdc = yes; then
7946 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7947 cat >conftest.$ac_ext <<_ACEOF
7948 /* confdefs.h. */
7949 _ACEOF
7950 cat confdefs.h >>conftest.$ac_ext
7951 cat >>conftest.$ac_ext <<_ACEOF
7952 /* end confdefs.h. */
7953 #include <stdlib.h>
7954
7955 _ACEOF
7956 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7957 $EGREP "free" >/dev/null 2>&1; then
7958 :
7959 else
7960 ac_cv_header_stdc=no
7961 fi
7962 rm -f conftest*
7963
7964 fi
7965
7966 if test $ac_cv_header_stdc = yes; then
7967 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7968 if test "$cross_compiling" = yes; then
7969 :
7970 else
7971 cat >conftest.$ac_ext <<_ACEOF
7972 /* confdefs.h. */
7973 _ACEOF
7974 cat confdefs.h >>conftest.$ac_ext
7975 cat >>conftest.$ac_ext <<_ACEOF
7976 /* end confdefs.h. */
7977 #include <ctype.h>
7978 #if ((' ' & 0x0FF) == 0x020)
7979 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7980 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7981 #else
7982 # define ISLOWER(c) \
7983 (('a' <= (c) && (c) <= 'i') \
7984 || ('j' <= (c) && (c) <= 'r') \
7985 || ('s' <= (c) && (c) <= 'z'))
7986 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7987 #endif
7988
7989 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7990 int
7991 main ()
7992 {
7993 int i;
7994 for (i = 0; i < 256; i++)
7995 if (XOR (islower (i), ISLOWER (i))
7996 || toupper (i) != TOUPPER (i))
7997 exit(2);
7998 exit (0);
7999 }
8000 _ACEOF
8001 rm -f conftest$ac_exeext
8002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8003 (eval $ac_link) 2>&5
8004 ac_status=$?
8005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8006 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8008 (eval $ac_try) 2>&5
8009 ac_status=$?
8010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8011 (exit $ac_status); }; }; then
8012 :
8013 else
8014 echo "$as_me: program exited with status $ac_status" >&5
8015 echo "$as_me: failed program was:" >&5
8016 sed 's/^/| /' conftest.$ac_ext >&5
8017
8018 ( exit $ac_status )
8019 ac_cv_header_stdc=no
8020 fi
8021 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8022 fi
8023 fi
8024 fi
8025 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8026 echo "${ECHO_T}$ac_cv_header_stdc" >&6
8027 if test $ac_cv_header_stdc = yes; then
8028
8029 cat >>confdefs.h <<\_ACEOF
8030 #define STDC_HEADERS 1
8031 _ACEOF
8032
8033 fi
8034
8035
8036 echo "$as_me:$LINENO: checking size of void *" >&5
8037 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
8038 if test "${ac_cv_sizeof_void_p+set}" = set; then
8039 echo $ECHO_N "(cached) $ECHO_C" >&6
8040 else
8041 for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
8042 cat >conftest.$ac_ext <<_ACEOF
8043 /* confdefs.h. */
8044 _ACEOF
8045 cat confdefs.h >>conftest.$ac_ext
8046 cat >>conftest.$ac_ext <<_ACEOF
8047 /* end confdefs.h. */
8048 #include "confdefs.h"
8049 #include <sys/types.h>
8050
8051
8052 int
8053 main ()
8054 {
8055 switch (0) case 0: case (sizeof (void *) == $ac_size):;
8056 ;
8057 return 0;
8058 }
8059 _ACEOF
8060 rm -f conftest.$ac_objext
8061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8062 (eval $ac_compile) 2>conftest.er1
8063 ac_status=$?
8064 grep -v '^ *+' conftest.er1 >conftest.err
8065 rm -f conftest.er1
8066 cat conftest.err >&5
8067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8068 (exit $ac_status); } &&
8069 { ac_try='test -z "$ac_c_werror_flag"
8070 || test ! -s conftest.err'
8071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8072 (eval $ac_try) 2>&5
8073 ac_status=$?
8074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8075 (exit $ac_status); }; } &&
8076 { ac_try='test -s conftest.$ac_objext'
8077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8078 (eval $ac_try) 2>&5
8079 ac_status=$?
8080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8081 (exit $ac_status); }; }; then
8082 ac_cv_sizeof_void_p=$ac_size
8083 else
8084 echo "$as_me: failed program was:" >&5
8085 sed 's/^/| /' conftest.$ac_ext >&5
8086
8087 fi
8088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8089 if test x$ac_cv_sizeof_void_p != x ; then break; fi
8090 done
8091
8092 fi
8093
8094 if test x$ac_cv_sizeof_void_p = x ; then
8095 { { echo "$as_me:$LINENO: error: cannot determine a size for void *" >&5
8096 echo "$as_me: error: cannot determine a size for void *" >&2;}
8097 { (exit 1); exit 1; }; }
8098 fi
8099 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
8100 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
8101
8102 cat >>confdefs.h <<_ACEOF
8103 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
8104 _ACEOF
8105
8106
8107
8108 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
8109 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
8110 if test "${ac_cv_c_bigendian+set}" = set; then
8111 echo $ECHO_N "(cached) $ECHO_C" >&6
8112 else
8113 ac_cv_c_bigendian=unknown
8114 # See if sys/param.h defines the BYTE_ORDER macro.
8115 cat >conftest.$ac_ext <<_ACEOF
8116 /* confdefs.h. */
8117 _ACEOF
8118 cat confdefs.h >>conftest.$ac_ext
8119 cat >>conftest.$ac_ext <<_ACEOF
8120 /* end confdefs.h. */
8121 #include <sys/types.h>
8122 #include <sys/param.h>
8123 int
8124 main ()
8125 {
8126
8127 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
8128 bogus endian macros
8129 #endif
8130 ;
8131 return 0;
8132 }
8133 _ACEOF
8134 rm -f conftest.$ac_objext
8135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8136 (eval $ac_compile) 2>conftest.er1
8137 ac_status=$?
8138 grep -v '^ *+' conftest.er1 >conftest.err
8139 rm -f conftest.er1
8140 cat conftest.err >&5
8141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8142 (exit $ac_status); } &&
8143 { ac_try='test -z "$ac_c_werror_flag"
8144 || 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 # It does; now see whether it defined to BIG_ENDIAN or not.
8157 cat >conftest.$ac_ext <<_ACEOF
8158 /* confdefs.h. */
8159 _ACEOF
8160 cat confdefs.h >>conftest.$ac_ext
8161 cat >>conftest.$ac_ext <<_ACEOF
8162 /* end confdefs.h. */
8163 #include <sys/types.h>
8164 #include <sys/param.h>
8165 int
8166 main ()
8167 {
8168
8169 #if BYTE_ORDER != BIG_ENDIAN
8170 not big endian
8171 #endif
8172 ;
8173 return 0;
8174 }
8175 _ACEOF
8176 rm -f conftest.$ac_objext
8177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8178 (eval $ac_compile) 2>conftest.er1
8179 ac_status=$?
8180 grep -v '^ *+' conftest.er1 >conftest.err
8181 rm -f conftest.er1
8182 cat conftest.err >&5
8183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8184 (exit $ac_status); } &&
8185 { ac_try='test -z "$ac_c_werror_flag"
8186 || test ! -s conftest.err'
8187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8188 (eval $ac_try) 2>&5
8189 ac_status=$?
8190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8191 (exit $ac_status); }; } &&
8192 { ac_try='test -s conftest.$ac_objext'
8193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8194 (eval $ac_try) 2>&5
8195 ac_status=$?
8196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8197 (exit $ac_status); }; }; then
8198 ac_cv_c_bigendian=yes
8199 else
8200 echo "$as_me: failed program was:" >&5
8201 sed 's/^/| /' conftest.$ac_ext >&5
8202
8203 ac_cv_c_bigendian=no
8204 fi
8205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8206 else
8207 echo "$as_me: failed program was:" >&5
8208 sed 's/^/| /' conftest.$ac_ext >&5
8209
8210 fi
8211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8212 if test $ac_cv_c_bigendian = unknown; then
8213 if test "$cross_compiling" = yes; then
8214 echo $ac_n "cross-compiling... " 2>&6
8215 else
8216 cat >conftest.$ac_ext <<_ACEOF
8217 /* confdefs.h. */
8218 _ACEOF
8219 cat confdefs.h >>conftest.$ac_ext
8220 cat >>conftest.$ac_ext <<_ACEOF
8221 /* end confdefs.h. */
8222 main () {
8223 /* Are we little or big endian? From Harbison&Steele. */
8224 union
8225 {
8226 long l;
8227 char c[sizeof (long)];
8228 } u;
8229 u.l = 1;
8230 exit (u.c[sizeof (long) - 1] == 1);
8231 }
8232 _ACEOF
8233 rm -f conftest$ac_exeext
8234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8235 (eval $ac_link) 2>&5
8236 ac_status=$?
8237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8238 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8240 (eval $ac_try) 2>&5
8241 ac_status=$?
8242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8243 (exit $ac_status); }; }; then
8244 ac_cv_c_bigendian=no
8245 else
8246 echo "$as_me: program exited with status $ac_status" >&5
8247 echo "$as_me: failed program was:" >&5
8248 sed 's/^/| /' conftest.$ac_ext >&5
8249
8250 ( exit $ac_status )
8251 ac_cv_c_bigendian=yes
8252 fi
8253 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8254 fi
8255 fi
8256 fi
8257 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
8258 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
8259 if test $ac_cv_c_bigendian = unknown; then
8260 echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
8261 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6
8262
8263 cat >conftest.c <<EOF
8264 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
8265 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
8266 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
8267 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
8268 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
8269 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
8270 int main() { _ascii (); _ebcdic (); return 0; }
8271 EOF
8272 if test -f conftest.c ; then
8273 if ${CC-cc} ${CFLAGS} -c conftest.c -o conftest.o && test -f conftest.o ; then
8274 if test `grep -l BIGenDianSyS conftest.o` ; then
8275 echo $ac_n ' big endian probe OK, ' 1>&6
8276 ac_cv_c_bigendian=yes
8277 fi
8278 if test `grep -l LiTTleEnDian conftest.o` ; then
8279 echo $ac_n ' little endian probe OK, ' 1>&6
8280 if test $ac_cv_c_bigendian = yes ; then
8281 ac_cv_c_bigendian=unknown;
8282 else
8283 ac_cv_c_bigendian=no
8284 fi
8285 fi
8286 echo $ac_n 'guessing bigendian ... ' >&6
8287 fi
8288 fi
8289 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
8290 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
8291 fi
8292 if test $ac_cv_c_bigendian = yes; then
8293
8294 cat >>confdefs.h <<\_ACEOF
8295 #define WORDS_BIGENDIAN 1
8296 _ACEOF
8297
8298
8299 cat >>confdefs.h <<\_ACEOF
8300 #define HOST_WORDS_BIG_ENDIAN 1
8301 _ACEOF
8302
8303 BYTEORDER=4321
8304 else
8305 BYTEORDER=1234
8306 fi
8307
8308 cat >>confdefs.h <<_ACEOF
8309 #define BYTEORDER $BYTEORDER
8310 _ACEOF
8311
8312 if test $ac_cv_c_bigendian = unknown; then
8313 { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5
8314 echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;}
8315 { (exit 1); exit 1; }; }
8316 fi
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338 for ac_header in unistd.h sys/types.h sys/config.h sys/ioctl.h \
8339 asm/ioctls.h \
8340 inttypes.h stdint.h utime.h sys/utime.h sys/filio.h \
8341 sys/time.h \
8342 sys/select.h \
8343 crt_externs.h \
8344 fcntl.h \
8345 sys/mman.h \
8346 magic.h \
8347 sys/event.h sys/epoll.h \
8348 ifaddrs.h
8349 do
8350 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8351 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8352 echo "$as_me:$LINENO: checking for $ac_header" >&5
8353 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8354 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8355 echo $ECHO_N "(cached) $ECHO_C" >&6
8356 fi
8357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8358 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8359 else
8360 # Is the header compilable?
8361 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8362 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
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 $ac_includes_default
8370 #include <$ac_header>
8371 _ACEOF
8372 rm -f conftest.$ac_objext
8373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8374 (eval $ac_compile) 2>conftest.er1
8375 ac_status=$?
8376 grep -v '^ *+' conftest.er1 >conftest.err
8377 rm -f conftest.er1
8378 cat conftest.err >&5
8379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8380 (exit $ac_status); } &&
8381 { ac_try='test -z "$ac_c_werror_flag"
8382 || test ! -s conftest.err'
8383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8384 (eval $ac_try) 2>&5
8385 ac_status=$?
8386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8387 (exit $ac_status); }; } &&
8388 { ac_try='test -s conftest.$ac_objext'
8389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8390 (eval $ac_try) 2>&5
8391 ac_status=$?
8392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8393 (exit $ac_status); }; }; then
8394 ac_header_compiler=yes
8395 else
8396 echo "$as_me: failed program was:" >&5
8397 sed 's/^/| /' conftest.$ac_ext >&5
8398
8399 ac_header_compiler=no
8400 fi
8401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8402 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8403 echo "${ECHO_T}$ac_header_compiler" >&6
8404
8405 # Is the header present?
8406 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8407 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8408 cat >conftest.$ac_ext <<_ACEOF
8409 /* confdefs.h. */
8410 _ACEOF
8411 cat confdefs.h >>conftest.$ac_ext
8412 cat >>conftest.$ac_ext <<_ACEOF
8413 /* end confdefs.h. */
8414 #include <$ac_header>
8415 _ACEOF
8416 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8417 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8418 ac_status=$?
8419 grep -v '^ *+' conftest.er1 >conftest.err
8420 rm -f conftest.er1
8421 cat conftest.err >&5
8422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8423 (exit $ac_status); } >/dev/null; then
8424 if test -s conftest.err; then
8425 ac_cpp_err=$ac_c_preproc_warn_flag
8426 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8427 else
8428 ac_cpp_err=
8429 fi
8430 else
8431 ac_cpp_err=yes
8432 fi
8433 if test -z "$ac_cpp_err"; then
8434 ac_header_preproc=yes
8435 else
8436 echo "$as_me: failed program was:" >&5
8437 sed 's/^/| /' conftest.$ac_ext >&5
8438
8439 ac_header_preproc=no
8440 fi
8441 rm -f conftest.err conftest.$ac_ext
8442 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8443 echo "${ECHO_T}$ac_header_preproc" >&6
8444
8445 # So? What about this header?
8446 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8447 yes:no: )
8448 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8449 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8450 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8451 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8452 ac_header_preproc=yes
8453 ;;
8454 no:yes:* )
8455 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8456 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8457 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8458 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8459 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8460 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8461 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8462 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8463 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8464 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8465 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8466 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8467 (
8468 cat <<\_ASBOX
8469 ## -------------------------------- ##
8470 ## Report this to classpath@gnu.org ##
8471 ## -------------------------------- ##
8472 _ASBOX
8473 ) |
8474 sed "s/^/$as_me: WARNING: /" >&2
8475 ;;
8476 esac
8477 echo "$as_me:$LINENO: checking for $ac_header" >&5
8478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8480 echo $ECHO_N "(cached) $ECHO_C" >&6
8481 else
8482 eval "$as_ac_Header=\$ac_header_preproc"
8483 fi
8484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8485 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8486
8487 fi
8488 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8489 cat >>confdefs.h <<_ACEOF
8490 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8491 _ACEOF
8492
8493 fi
8494
8495 done
8496
8497
8498 cat >conftest.$ac_ext <<_ACEOF
8499 /* confdefs.h. */
8500 _ACEOF
8501 cat confdefs.h >>conftest.$ac_ext
8502 cat >>conftest.$ac_ext <<_ACEOF
8503 /* end confdefs.h. */
8504 #include <stdint.h>
8505
8506 _ACEOF
8507 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8508 $EGREP "uint32_t" >/dev/null 2>&1; then
8509
8510 cat >>confdefs.h <<\_ACEOF
8511 #define HAVE_INT32_DEFINED 1
8512 _ACEOF
8513
8514 fi
8515 rm -f conftest*
8516
8517 cat >conftest.$ac_ext <<_ACEOF
8518 /* confdefs.h. */
8519 _ACEOF
8520 cat confdefs.h >>conftest.$ac_ext
8521 cat >>conftest.$ac_ext <<_ACEOF
8522 /* end confdefs.h. */
8523 #include <inttypes.h>
8524
8525 _ACEOF
8526 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8527 $EGREP "uint32_t" >/dev/null 2>&1; then
8528
8529 cat >>confdefs.h <<\_ACEOF
8530 #define HAVE_INT32_DEFINED 1
8531 _ACEOF
8532
8533 fi
8534 rm -f conftest*
8535
8536 cat >conftest.$ac_ext <<_ACEOF
8537 /* confdefs.h. */
8538 _ACEOF
8539 cat confdefs.h >>conftest.$ac_ext
8540 cat >>conftest.$ac_ext <<_ACEOF
8541 /* end confdefs.h. */
8542 #include <sys/types.h>
8543
8544 _ACEOF
8545 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8546 $EGREP "u_int32_t" >/dev/null 2>&1; then
8547
8548 cat >>confdefs.h <<\_ACEOF
8549 #define HAVE_BSD_INT32_DEFINED 1
8550 _ACEOF
8551
8552 fi
8553 rm -f conftest*
8554
8555 cat >conftest.$ac_ext <<_ACEOF
8556 /* confdefs.h. */
8557 _ACEOF
8558 cat confdefs.h >>conftest.$ac_ext
8559 cat >>conftest.$ac_ext <<_ACEOF
8560 /* end confdefs.h. */
8561 #include <sys/config.h>
8562
8563 _ACEOF
8564 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8565 $EGREP "u_int32_t" >/dev/null 2>&1; then
8566
8567 cat >>confdefs.h <<\_ACEOF
8568 #define HAVE_BSD_INT32_DEFINED 1
8569 _ACEOF
8570
8571 fi
8572 rm -f conftest*
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629 for ac_func in ftruncate fsync select \
8630 gethostname socket strerror fork pipe execve open close \
8631 lseek fstat read readv write writev htonl memset htons connect \
8632 getsockname getpeername bind listen accept \
8633 recvfrom send sendto setsockopt getsockopt time mktime \
8634 gethostbyname_r localtime_r \
8635 strerror_r \
8636 fcntl \
8637 mmap munmap mincore msync madvise getpagesize sysconf \
8638 lstat readlink \
8639 inet_aton inet_addr inet_pton \
8640 getifaddrs kqueue kevent epoll_create \
8641 readdir_r
8642 do
8643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8644 echo "$as_me:$LINENO: checking for $ac_func" >&5
8645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8646 if eval "test \"\${$as_ac_var+set}\" = set"; then
8647 echo $ECHO_N "(cached) $ECHO_C" >&6
8648 else
8649 if test x$gcc_no_link = xyes; then
8650 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8652 { (exit 1); exit 1; }; }
8653 fi
8654 cat >conftest.$ac_ext <<_ACEOF
8655 /* confdefs.h. */
8656 _ACEOF
8657 cat confdefs.h >>conftest.$ac_ext
8658 cat >>conftest.$ac_ext <<_ACEOF
8659 /* end confdefs.h. */
8660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8662 #define $ac_func innocuous_$ac_func
8663
8664 /* System header to define __stub macros and hopefully few prototypes,
8665 which can conflict with char $ac_func (); below.
8666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8667 <limits.h> exists even on freestanding compilers. */
8668
8669 #ifdef __STDC__
8670 # include <limits.h>
8671 #else
8672 # include <assert.h>
8673 #endif
8674
8675 #undef $ac_func
8676
8677 /* Override any gcc2 internal prototype to avoid an error. */
8678 #ifdef __cplusplus
8679 extern "C"
8680 {
8681 #endif
8682 /* We use char because int might match the return type of a gcc2
8683 builtin and then its argument prototype would still apply. */
8684 char $ac_func ();
8685 /* The GNU C library defines this for functions which it implements
8686 to always fail with ENOSYS. Some functions are actually named
8687 something starting with __ and the normal name is an alias. */
8688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8689 choke me
8690 #else
8691 char (*f) () = $ac_func;
8692 #endif
8693 #ifdef __cplusplus
8694 }
8695 #endif
8696
8697 int
8698 main ()
8699 {
8700 return f != $ac_func;
8701 ;
8702 return 0;
8703 }
8704 _ACEOF
8705 rm -f conftest.$ac_objext conftest$ac_exeext
8706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8707 (eval $ac_link) 2>conftest.er1
8708 ac_status=$?
8709 grep -v '^ *+' conftest.er1 >conftest.err
8710 rm -f conftest.er1
8711 cat conftest.err >&5
8712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8713 (exit $ac_status); } &&
8714 { ac_try='test -z "$ac_c_werror_flag"
8715 || 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_exeext'
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 eval "$as_ac_var=yes"
8728 else
8729 echo "$as_me: failed program was:" >&5
8730 sed 's/^/| /' conftest.$ac_ext >&5
8731
8732 eval "$as_ac_var=no"
8733 fi
8734 rm -f conftest.err conftest.$ac_objext \
8735 conftest$ac_exeext conftest.$ac_ext
8736 fi
8737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8739 if test `eval echo '${'$as_ac_var'}'` = yes; then
8740 cat >>confdefs.h <<_ACEOF
8741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8742 _ACEOF
8743
8744 fi
8745 done
8746
8747
8748 LIBMAGIC=
8749 echo "$as_me:$LINENO: checking for magic_open in -lmagic" >&5
8750 echo $ECHO_N "checking for magic_open in -lmagic... $ECHO_C" >&6
8751 if test "${ac_cv_lib_magic_magic_open+set}" = set; then
8752 echo $ECHO_N "(cached) $ECHO_C" >&6
8753 else
8754 ac_check_lib_save_LIBS=$LIBS
8755 LIBS="-lmagic $LIBS"
8756 if test x$gcc_no_link = xyes; then
8757 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8759 { (exit 1); exit 1; }; }
8760 fi
8761 cat >conftest.$ac_ext <<_ACEOF
8762 /* confdefs.h. */
8763 _ACEOF
8764 cat confdefs.h >>conftest.$ac_ext
8765 cat >>conftest.$ac_ext <<_ACEOF
8766 /* end confdefs.h. */
8767
8768 /* Override any gcc2 internal prototype to avoid an error. */
8769 #ifdef __cplusplus
8770 extern "C"
8771 #endif
8772 /* We use char because int might match the return type of a gcc2
8773 builtin and then its argument prototype would still apply. */
8774 char magic_open ();
8775 int
8776 main ()
8777 {
8778 magic_open ();
8779 ;
8780 return 0;
8781 }
8782 _ACEOF
8783 rm -f conftest.$ac_objext conftest$ac_exeext
8784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8785 (eval $ac_link) 2>conftest.er1
8786 ac_status=$?
8787 grep -v '^ *+' conftest.er1 >conftest.err
8788 rm -f conftest.er1
8789 cat conftest.err >&5
8790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8791 (exit $ac_status); } &&
8792 { ac_try='test -z "$ac_c_werror_flag"
8793 || test ! -s conftest.err'
8794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8795 (eval $ac_try) 2>&5
8796 ac_status=$?
8797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8798 (exit $ac_status); }; } &&
8799 { ac_try='test -s conftest$ac_exeext'
8800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8801 (eval $ac_try) 2>&5
8802 ac_status=$?
8803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8804 (exit $ac_status); }; }; then
8805 ac_cv_lib_magic_magic_open=yes
8806 else
8807 echo "$as_me: failed program was:" >&5
8808 sed 's/^/| /' conftest.$ac_ext >&5
8809
8810 ac_cv_lib_magic_magic_open=no
8811 fi
8812 rm -f conftest.err conftest.$ac_objext \
8813 conftest$ac_exeext conftest.$ac_ext
8814 LIBS=$ac_check_lib_save_LIBS
8815 fi
8816 echo "$as_me:$LINENO: result: $ac_cv_lib_magic_magic_open" >&5
8817 echo "${ECHO_T}$ac_cv_lib_magic_magic_open" >&6
8818 if test $ac_cv_lib_magic_magic_open = yes; then
8819 LIBMAGIC=-lmagic
8820 fi
8821
8822
8823
8824 echo "$as_me:$LINENO: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
8825 echo $ECHO_N "checking whether struct sockaddr_in6 is in netinet/in.h... $ECHO_C" >&6
8826 cat >conftest.$ac_ext <<_ACEOF
8827 /* confdefs.h. */
8828 _ACEOF
8829 cat confdefs.h >>conftest.$ac_ext
8830 cat >>conftest.$ac_ext <<_ACEOF
8831 /* end confdefs.h. */
8832 #include <netinet/in.h>
8833 int
8834 main ()
8835 {
8836 struct sockaddr_in6 addr6;
8837 ;
8838 return 0;
8839 }
8840 _ACEOF
8841 rm -f conftest.$ac_objext
8842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8843 (eval $ac_compile) 2>conftest.er1
8844 ac_status=$?
8845 grep -v '^ *+' conftest.er1 >conftest.err
8846 rm -f conftest.er1
8847 cat conftest.err >&5
8848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8849 (exit $ac_status); } &&
8850 { ac_try='test -z "$ac_c_werror_flag"
8851 || test ! -s conftest.err'
8852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8853 (eval $ac_try) 2>&5
8854 ac_status=$?
8855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8856 (exit $ac_status); }; } &&
8857 { ac_try='test -s conftest.$ac_objext'
8858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8859 (eval $ac_try) 2>&5
8860 ac_status=$?
8861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8862 (exit $ac_status); }; }; then
8863
8864 cat >>confdefs.h <<\_ACEOF
8865 #define HAVE_INET6 1
8866 _ACEOF
8867
8868 echo "$as_me:$LINENO: result: yes" >&5
8869 echo "${ECHO_T}yes" >&6
8870 else
8871 echo "$as_me: failed program was:" >&5
8872 sed 's/^/| /' conftest.$ac_ext >&5
8873
8874 echo "$as_me:$LINENO: result: no" >&5
8875 echo "${ECHO_T}no" >&6
8876 fi
8877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8878
8879 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
8880 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
8881 if test "${ac_cv_header_time+set}" = set; then
8882 echo $ECHO_N "(cached) $ECHO_C" >&6
8883 else
8884 cat >conftest.$ac_ext <<_ACEOF
8885 /* confdefs.h. */
8886 _ACEOF
8887 cat confdefs.h >>conftest.$ac_ext
8888 cat >>conftest.$ac_ext <<_ACEOF
8889 /* end confdefs.h. */
8890 #include <sys/types.h>
8891 #include <sys/time.h>
8892 #include <time.h>
8893
8894 int
8895 main ()
8896 {
8897 if ((struct tm *) 0)
8898 return 0;
8899 ;
8900 return 0;
8901 }
8902 _ACEOF
8903 rm -f conftest.$ac_objext
8904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8905 (eval $ac_compile) 2>conftest.er1
8906 ac_status=$?
8907 grep -v '^ *+' conftest.er1 >conftest.err
8908 rm -f conftest.er1
8909 cat conftest.err >&5
8910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8911 (exit $ac_status); } &&
8912 { ac_try='test -z "$ac_c_werror_flag"
8913 || test ! -s conftest.err'
8914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8915 (eval $ac_try) 2>&5
8916 ac_status=$?
8917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8918 (exit $ac_status); }; } &&
8919 { ac_try='test -s conftest.$ac_objext'
8920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8921 (eval $ac_try) 2>&5
8922 ac_status=$?
8923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8924 (exit $ac_status); }; }; then
8925 ac_cv_header_time=yes
8926 else
8927 echo "$as_me: failed program was:" >&5
8928 sed 's/^/| /' conftest.$ac_ext >&5
8929
8930 ac_cv_header_time=no
8931 fi
8932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8933 fi
8934 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
8935 echo "${ECHO_T}$ac_cv_header_time" >&6
8936 if test $ac_cv_header_time = yes; then
8937
8938 cat >>confdefs.h <<\_ACEOF
8939 #define TIME_WITH_SYS_TIME 1
8940 _ACEOF
8941
8942 fi
8943
8944 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
8945 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
8946 if test "${ac_cv_struct_tm+set}" = set; then
8947 echo $ECHO_N "(cached) $ECHO_C" >&6
8948 else
8949 cat >conftest.$ac_ext <<_ACEOF
8950 /* confdefs.h. */
8951 _ACEOF
8952 cat confdefs.h >>conftest.$ac_ext
8953 cat >>conftest.$ac_ext <<_ACEOF
8954 /* end confdefs.h. */
8955 #include <sys/types.h>
8956 #include <time.h>
8957
8958 int
8959 main ()
8960 {
8961 struct tm *tp; tp->tm_sec;
8962 ;
8963 return 0;
8964 }
8965 _ACEOF
8966 rm -f conftest.$ac_objext
8967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8968 (eval $ac_compile) 2>conftest.er1
8969 ac_status=$?
8970 grep -v '^ *+' conftest.er1 >conftest.err
8971 rm -f conftest.er1
8972 cat conftest.err >&5
8973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8974 (exit $ac_status); } &&
8975 { ac_try='test -z "$ac_c_werror_flag"
8976 || test ! -s conftest.err'
8977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8978 (eval $ac_try) 2>&5
8979 ac_status=$?
8980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8981 (exit $ac_status); }; } &&
8982 { ac_try='test -s conftest.$ac_objext'
8983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8984 (eval $ac_try) 2>&5
8985 ac_status=$?
8986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8987 (exit $ac_status); }; }; then
8988 ac_cv_struct_tm=time.h
8989 else
8990 echo "$as_me: failed program was:" >&5
8991 sed 's/^/| /' conftest.$ac_ext >&5
8992
8993 ac_cv_struct_tm=sys/time.h
8994 fi
8995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8996 fi
8997 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
8998 echo "${ECHO_T}$ac_cv_struct_tm" >&6
8999 if test $ac_cv_struct_tm = sys/time.h; then
9000
9001 cat >>confdefs.h <<\_ACEOF
9002 #define TM_IN_SYS_TIME 1
9003 _ACEOF
9004
9005 fi
9006
9007 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
9008 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
9009 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
9010 echo $ECHO_N "(cached) $ECHO_C" >&6
9011 else
9012 cat >conftest.$ac_ext <<_ACEOF
9013 /* confdefs.h. */
9014 _ACEOF
9015 cat confdefs.h >>conftest.$ac_ext
9016 cat >>conftest.$ac_ext <<_ACEOF
9017 /* end confdefs.h. */
9018 #include <sys/types.h>
9019 #include <$ac_cv_struct_tm>
9020
9021
9022 int
9023 main ()
9024 {
9025 static struct tm ac_aggr;
9026 if (ac_aggr.tm_zone)
9027 return 0;
9028 ;
9029 return 0;
9030 }
9031 _ACEOF
9032 rm -f conftest.$ac_objext
9033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9034 (eval $ac_compile) 2>conftest.er1
9035 ac_status=$?
9036 grep -v '^ *+' conftest.er1 >conftest.err
9037 rm -f conftest.er1
9038 cat conftest.err >&5
9039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9040 (exit $ac_status); } &&
9041 { ac_try='test -z "$ac_c_werror_flag"
9042 || test ! -s conftest.err'
9043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9044 (eval $ac_try) 2>&5
9045 ac_status=$?
9046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9047 (exit $ac_status); }; } &&
9048 { ac_try='test -s conftest.$ac_objext'
9049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9050 (eval $ac_try) 2>&5
9051 ac_status=$?
9052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9053 (exit $ac_status); }; }; then
9054 ac_cv_member_struct_tm_tm_zone=yes
9055 else
9056 echo "$as_me: failed program was:" >&5
9057 sed 's/^/| /' conftest.$ac_ext >&5
9058
9059 cat >conftest.$ac_ext <<_ACEOF
9060 /* confdefs.h. */
9061 _ACEOF
9062 cat confdefs.h >>conftest.$ac_ext
9063 cat >>conftest.$ac_ext <<_ACEOF
9064 /* end confdefs.h. */
9065 #include <sys/types.h>
9066 #include <$ac_cv_struct_tm>
9067
9068
9069 int
9070 main ()
9071 {
9072 static struct tm ac_aggr;
9073 if (sizeof ac_aggr.tm_zone)
9074 return 0;
9075 ;
9076 return 0;
9077 }
9078 _ACEOF
9079 rm -f conftest.$ac_objext
9080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9081 (eval $ac_compile) 2>conftest.er1
9082 ac_status=$?
9083 grep -v '^ *+' conftest.er1 >conftest.err
9084 rm -f conftest.er1
9085 cat conftest.err >&5
9086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9087 (exit $ac_status); } &&
9088 { ac_try='test -z "$ac_c_werror_flag"
9089 || test ! -s conftest.err'
9090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9091 (eval $ac_try) 2>&5
9092 ac_status=$?
9093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9094 (exit $ac_status); }; } &&
9095 { ac_try='test -s conftest.$ac_objext'
9096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9097 (eval $ac_try) 2>&5
9098 ac_status=$?
9099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9100 (exit $ac_status); }; }; then
9101 ac_cv_member_struct_tm_tm_zone=yes
9102 else
9103 echo "$as_me: failed program was:" >&5
9104 sed 's/^/| /' conftest.$ac_ext >&5
9105
9106 ac_cv_member_struct_tm_tm_zone=no
9107 fi
9108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9109 fi
9110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9111 fi
9112 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
9113 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
9114 if test $ac_cv_member_struct_tm_tm_zone = yes; then
9115
9116 cat >>confdefs.h <<_ACEOF
9117 #define HAVE_STRUCT_TM_TM_ZONE 1
9118 _ACEOF
9119
9120
9121 fi
9122
9123 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
9124
9125 cat >>confdefs.h <<\_ACEOF
9126 #define HAVE_TM_ZONE 1
9127 _ACEOF
9128
9129 else
9130 echo "$as_me:$LINENO: checking for tzname" >&5
9131 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
9132 if test "${ac_cv_var_tzname+set}" = set; then
9133 echo $ECHO_N "(cached) $ECHO_C" >&6
9134 else
9135 if test x$gcc_no_link = xyes; then
9136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9138 { (exit 1); exit 1; }; }
9139 fi
9140 cat >conftest.$ac_ext <<_ACEOF
9141 /* confdefs.h. */
9142 _ACEOF
9143 cat confdefs.h >>conftest.$ac_ext
9144 cat >>conftest.$ac_ext <<_ACEOF
9145 /* end confdefs.h. */
9146 #include <time.h>
9147 #ifndef tzname /* For SGI. */
9148 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
9149 #endif
9150
9151 int
9152 main ()
9153 {
9154 atoi(*tzname);
9155 ;
9156 return 0;
9157 }
9158 _ACEOF
9159 rm -f conftest.$ac_objext conftest$ac_exeext
9160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9161 (eval $ac_link) 2>conftest.er1
9162 ac_status=$?
9163 grep -v '^ *+' conftest.er1 >conftest.err
9164 rm -f conftest.er1
9165 cat conftest.err >&5
9166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9167 (exit $ac_status); } &&
9168 { ac_try='test -z "$ac_c_werror_flag"
9169 || test ! -s conftest.err'
9170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9171 (eval $ac_try) 2>&5
9172 ac_status=$?
9173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9174 (exit $ac_status); }; } &&
9175 { ac_try='test -s conftest$ac_exeext'
9176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9177 (eval $ac_try) 2>&5
9178 ac_status=$?
9179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9180 (exit $ac_status); }; }; then
9181 ac_cv_var_tzname=yes
9182 else
9183 echo "$as_me: failed program was:" >&5
9184 sed 's/^/| /' conftest.$ac_ext >&5
9185
9186 ac_cv_var_tzname=no
9187 fi
9188 rm -f conftest.err conftest.$ac_objext \
9189 conftest$ac_exeext conftest.$ac_ext
9190 fi
9191 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
9192 echo "${ECHO_T}$ac_cv_var_tzname" >&6
9193 if test $ac_cv_var_tzname = yes; then
9194
9195 cat >>confdefs.h <<\_ACEOF
9196 #define HAVE_TZNAME 1
9197 _ACEOF
9198
9199 fi
9200 fi
9201
9202
9203 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
9204 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
9205 cat >conftest.$ac_ext <<_ACEOF
9206 /* confdefs.h. */
9207 _ACEOF
9208 cat confdefs.h >>conftest.$ac_ext
9209 cat >>conftest.$ac_ext <<_ACEOF
9210 /* end confdefs.h. */
9211 #include <time.h>
9212 int
9213 main ()
9214 {
9215 struct tm tim; tim.tm_gmtoff = 0;
9216 ;
9217 return 0;
9218 }
9219 _ACEOF
9220 rm -f conftest.$ac_objext
9221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9222 (eval $ac_compile) 2>conftest.er1
9223 ac_status=$?
9224 grep -v '^ *+' conftest.er1 >conftest.err
9225 rm -f conftest.er1
9226 cat conftest.err >&5
9227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9228 (exit $ac_status); } &&
9229 { ac_try='test -z "$ac_c_werror_flag"
9230 || test ! -s conftest.err'
9231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9232 (eval $ac_try) 2>&5
9233 ac_status=$?
9234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9235 (exit $ac_status); }; } &&
9236 { ac_try='test -s conftest.$ac_objext'
9237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9238 (eval $ac_try) 2>&5
9239 ac_status=$?
9240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9241 (exit $ac_status); }; }; then
9242
9243 cat >>confdefs.h <<\_ACEOF
9244 #define STRUCT_TM_HAS_GMTOFF 1
9245 _ACEOF
9246
9247 echo "$as_me:$LINENO: result: yes" >&5
9248 echo "${ECHO_T}yes" >&6
9249 else
9250 echo "$as_me: failed program was:" >&5
9251 sed 's/^/| /' conftest.$ac_ext >&5
9252
9253 echo "$as_me:$LINENO: result: no" >&5
9254 echo "${ECHO_T}no" >&6
9255 echo "$as_me:$LINENO: checking for global timezone variable" >&5
9256 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
9257 cat >conftest.$ac_ext <<_ACEOF
9258 /* confdefs.h. */
9259 _ACEOF
9260 cat confdefs.h >>conftest.$ac_ext
9261 cat >>conftest.$ac_ext <<_ACEOF
9262 /* end confdefs.h. */
9263 #include <time.h>
9264 int
9265 main ()
9266 {
9267 void i(){long z2 = 2*timezone;}
9268 ;
9269 return 0;
9270 }
9271 _ACEOF
9272 rm -f conftest.$ac_objext
9273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9274 (eval $ac_compile) 2>conftest.er1
9275 ac_status=$?
9276 grep -v '^ *+' conftest.er1 >conftest.err
9277 rm -f conftest.er1
9278 cat conftest.err >&5
9279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9280 (exit $ac_status); } &&
9281 { ac_try='test -z "$ac_c_werror_flag"
9282 || test ! -s conftest.err'
9283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9284 (eval $ac_try) 2>&5
9285 ac_status=$?
9286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9287 (exit $ac_status); }; } &&
9288 { ac_try='test -s conftest.$ac_objext'
9289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9290 (eval $ac_try) 2>&5
9291 ac_status=$?
9292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9293 (exit $ac_status); }; }; then
9294
9295 cat >>confdefs.h <<\_ACEOF
9296 #define HAVE_TIMEZONE 1
9297 _ACEOF
9298
9299 echo "$as_me:$LINENO: result: yes" >&5
9300 echo "${ECHO_T}yes" >&6
9301 else
9302 echo "$as_me: failed program was:" >&5
9303 sed 's/^/| /' conftest.$ac_ext >&5
9304
9305 echo "$as_me:$LINENO: result: no" >&5
9306 echo "${ECHO_T}no" >&6
9307 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
9308 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
9309 cat >conftest.$ac_ext <<_ACEOF
9310 /* confdefs.h. */
9311 _ACEOF
9312 cat confdefs.h >>conftest.$ac_ext
9313 cat >>conftest.$ac_ext <<_ACEOF
9314 /* end confdefs.h. */
9315 #include <time.h>
9316 int
9317 main ()
9318 {
9319 long z2 = _timezone;
9320 ;
9321 return 0;
9322 }
9323 _ACEOF
9324 rm -f conftest.$ac_objext
9325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9326 (eval $ac_compile) 2>conftest.er1
9327 ac_status=$?
9328 grep -v '^ *+' conftest.er1 >conftest.err
9329 rm -f conftest.er1
9330 cat conftest.err >&5
9331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9332 (exit $ac_status); } &&
9333 { ac_try='test -z "$ac_c_werror_flag"
9334 || test ! -s conftest.err'
9335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9336 (eval $ac_try) 2>&5
9337 ac_status=$?
9338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9339 (exit $ac_status); }; } &&
9340 { ac_try='test -s conftest.$ac_objext'
9341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9342 (eval $ac_try) 2>&5
9343 ac_status=$?
9344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9345 (exit $ac_status); }; }; then
9346
9347 cat >>confdefs.h <<\_ACEOF
9348 #define HAVE_UNDERSCORE_TIMEZONE 1
9349 _ACEOF
9350
9351 echo "$as_me:$LINENO: result: yes" >&5
9352 echo "${ECHO_T}yes" >&6
9353 else
9354 echo "$as_me: failed program was:" >&5
9355 sed 's/^/| /' conftest.$ac_ext >&5
9356
9357 echo "$as_me:$LINENO: result: no" >&5
9358 echo "${ECHO_T}no" >&6
9359 fi
9360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9361 fi
9362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9363 fi
9364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9365
9366 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
9367 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
9368 if test "${ac_cv_c_const+set}" = set; then
9369 echo $ECHO_N "(cached) $ECHO_C" >&6
9370 else
9371 cat >conftest.$ac_ext <<_ACEOF
9372 /* confdefs.h. */
9373 _ACEOF
9374 cat confdefs.h >>conftest.$ac_ext
9375 cat >>conftest.$ac_ext <<_ACEOF
9376 /* end confdefs.h. */
9377
9378 int
9379 main ()
9380 {
9381 /* FIXME: Include the comments suggested by Paul. */
9382 #ifndef __cplusplus
9383 /* Ultrix mips cc rejects this. */
9384 typedef int charset[2];
9385 const charset x;
9386 /* SunOS 4.1.1 cc rejects this. */
9387 char const *const *ccp;
9388 char **p;
9389 /* NEC SVR4.0.2 mips cc rejects this. */
9390 struct point {int x, y;};
9391 static struct point const zero = {0,0};
9392 /* AIX XL C 1.02.0.0 rejects this.
9393 It does not let you subtract one const X* pointer from another in
9394 an arm of an if-expression whose if-part is not a constant
9395 expression */
9396 const char *g = "string";
9397 ccp = &g + (g ? g-g : 0);
9398 /* HPUX 7.0 cc rejects these. */
9399 ++ccp;
9400 p = (char**) ccp;
9401 ccp = (char const *const *) p;
9402 { /* SCO 3.2v4 cc rejects this. */
9403 char *t;
9404 char const *s = 0 ? (char *) 0 : (char const *) 0;
9405
9406 *t++ = 0;
9407 }
9408 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9409 int x[] = {25, 17};
9410 const int *foo = &x[0];
9411 ++foo;
9412 }
9413 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9414 typedef const int *iptr;
9415 iptr p = 0;
9416 ++p;
9417 }
9418 { /* AIX XL C 1.02.0.0 rejects this saying
9419 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9420 struct s { int j; const int *ap[3]; };
9421 struct s *b; b->j = 5;
9422 }
9423 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9424 const int foo = 10;
9425 }
9426 #endif
9427
9428 ;
9429 return 0;
9430 }
9431 _ACEOF
9432 rm -f conftest.$ac_objext
9433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9434 (eval $ac_compile) 2>conftest.er1
9435 ac_status=$?
9436 grep -v '^ *+' conftest.er1 >conftest.err
9437 rm -f conftest.er1
9438 cat conftest.err >&5
9439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9440 (exit $ac_status); } &&
9441 { ac_try='test -z "$ac_c_werror_flag"
9442 || test ! -s conftest.err'
9443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9444 (eval $ac_try) 2>&5
9445 ac_status=$?
9446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9447 (exit $ac_status); }; } &&
9448 { ac_try='test -s conftest.$ac_objext'
9449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9450 (eval $ac_try) 2>&5
9451 ac_status=$?
9452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9453 (exit $ac_status); }; }; then
9454 ac_cv_c_const=yes
9455 else
9456 echo "$as_me: failed program was:" >&5
9457 sed 's/^/| /' conftest.$ac_ext >&5
9458
9459 ac_cv_c_const=no
9460 fi
9461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9462 fi
9463 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
9464 echo "${ECHO_T}$ac_cv_c_const" >&6
9465 if test $ac_cv_c_const = no; then
9466
9467 cat >>confdefs.h <<\_ACEOF
9468 #define const
9469 _ACEOF
9470
9471 fi
9472
9473 echo "$as_me:$LINENO: checking for __attribute__" >&5
9474 echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
9475 if test "${ac_cv_c_attribute+set}" = set; then
9476 echo $ECHO_N "(cached) $ECHO_C" >&6
9477 else
9478
9479 cat >conftest.$ac_ext <<_ACEOF
9480 /* confdefs.h. */
9481 _ACEOF
9482 cat confdefs.h >>conftest.$ac_ext
9483 cat >>conftest.$ac_ext <<_ACEOF
9484 /* end confdefs.h. */
9485 void foo(void) __attribute__ ((__noreturn__));
9486
9487 _ACEOF
9488 rm -f conftest.$ac_objext
9489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9490 (eval $ac_compile) 2>conftest.er1
9491 ac_status=$?
9492 grep -v '^ *+' conftest.er1 >conftest.err
9493 rm -f conftest.er1
9494 cat conftest.err >&5
9495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9496 (exit $ac_status); } &&
9497 { ac_try='test -z "$ac_c_werror_flag"
9498 || test ! -s conftest.err'
9499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9500 (eval $ac_try) 2>&5
9501 ac_status=$?
9502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9503 (exit $ac_status); }; } &&
9504 { ac_try='test -s conftest.$ac_objext'
9505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9506 (eval $ac_try) 2>&5
9507 ac_status=$?
9508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9509 (exit $ac_status); }; }; then
9510 ac_cv_c_attribute=yes
9511 else
9512 echo "$as_me: failed program was:" >&5
9513 sed 's/^/| /' conftest.$ac_ext >&5
9514
9515 ac_cv_c_attribute=no
9516
9517 fi
9518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9519
9520 fi
9521 echo "$as_me:$LINENO: result: $ac_cv_c_attribute" >&5
9522 echo "${ECHO_T}$ac_cv_c_attribute" >&6
9523
9524
9525 case $ac_cv_c_attribute in
9526 yes) ;;
9527 no)
9528 cat >>confdefs.h <<_ACEOF
9529 #define __attribute__(x) /* nothing */
9530 _ACEOF
9531 ;;
9532 esac
9533
9534
9535
9536 if test "X$prefix" = "XNONE"; then
9537 acl_final_prefix="$ac_default_prefix"
9538 else
9539 acl_final_prefix="$prefix"
9540 fi
9541 if test "X$exec_prefix" = "XNONE"; then
9542 acl_final_exec_prefix='${prefix}'
9543 else
9544 acl_final_exec_prefix="$exec_prefix"
9545 fi
9546 acl_save_prefix="$prefix"
9547 prefix="$acl_final_prefix"
9548 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
9549 prefix="$acl_save_prefix"
9550
9551
9552 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9553 if test "${with_gnu_ld+set}" = set; then
9554 withval="$with_gnu_ld"
9555 test "$withval" = no || with_gnu_ld=yes
9556 else
9557 with_gnu_ld=no
9558 fi;
9559 # Prepare PATH_SEPARATOR.
9560 # The user is always right.
9561 if test "${PATH_SEPARATOR+set}" != set; then
9562 echo "#! /bin/sh" >conf$$.sh
9563 echo "exit 0" >>conf$$.sh
9564 chmod +x conf$$.sh
9565 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
9566 PATH_SEPARATOR=';'
9567 else
9568 PATH_SEPARATOR=:
9569 fi
9570 rm -f conf$$.sh
9571 fi
9572 ac_prog=ld
9573 if test "$GCC" = yes; then
9574 # Check if gcc -print-prog-name=ld gives a path.
9575 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
9576 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
9577 case $host in
9578 *-*-mingw*)
9579 # gcc leaves a trailing carriage return which upsets mingw
9580 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9581 *)
9582 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9583 esac
9584 case $ac_prog in
9585 # Accept absolute paths.
9586 [\\/]* | [A-Za-z]:[\\/]*)
9587 re_direlt='/[^/][^/]*/\.\./'
9588 # Canonicalize the path of ld
9589 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
9590 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9591 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
9592 done
9593 test -z "$LD" && LD="$ac_prog"
9594 ;;
9595 "")
9596 # If it fails, then pretend we aren't using GCC.
9597 ac_prog=ld
9598 ;;
9599 *)
9600 # If it is relative, then search for the first ld in PATH.
9601 with_gnu_ld=unknown
9602 ;;
9603 esac
9604 elif test "$with_gnu_ld" = yes; then
9605 echo "$as_me:$LINENO: checking for GNU ld" >&5
9606 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9607 else
9608 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9609 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9610 fi
9611 if test "${acl_cv_path_LD+set}" = set; then
9612 echo $ECHO_N "(cached) $ECHO_C" >&6
9613 else
9614 if test -z "$LD"; then
9615 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
9616 for ac_dir in $PATH; do
9617 test -z "$ac_dir" && ac_dir=.
9618 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9619 acl_cv_path_LD="$ac_dir/$ac_prog"
9620 # Check to see if the program is GNU ld. I'd rather use --version,
9621 # but apparently some GNU ld's only accept -v.
9622 # Break only if it was the GNU/non-GNU ld that we prefer.
9623 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
9624 test "$with_gnu_ld" != no && break
9625 else
9626 test "$with_gnu_ld" != yes && break
9627 fi
9628 fi
9629 done
9630 IFS="$ac_save_ifs"
9631 else
9632 acl_cv_path_LD="$LD" # Let the user override the test with a path.
9633 fi
9634 fi
9635
9636 LD="$acl_cv_path_LD"
9637 if test -n "$LD"; then
9638 echo "$as_me:$LINENO: result: $LD" >&5
9639 echo "${ECHO_T}$LD" >&6
9640 else
9641 echo "$as_me:$LINENO: result: no" >&5
9642 echo "${ECHO_T}no" >&6
9643 fi
9644 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9645 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9646 { (exit 1); exit 1; }; }
9647 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9648 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9649 if test "${acl_cv_prog_gnu_ld+set}" = set; then
9650 echo $ECHO_N "(cached) $ECHO_C" >&6
9651 else
9652 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9653 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
9654 acl_cv_prog_gnu_ld=yes
9655 else
9656 acl_cv_prog_gnu_ld=no
9657 fi
9658 fi
9659 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
9660 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
9661 with_gnu_ld=$acl_cv_prog_gnu_ld
9662
9663
9664
9665 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
9666 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
9667 if test "${acl_cv_rpath+set}" = set; then
9668 echo $ECHO_N "(cached) $ECHO_C" >&6
9669 else
9670
9671 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
9672 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
9673 . ./conftest.sh
9674 rm -f ./conftest.sh
9675 acl_cv_rpath=done
9676
9677 fi
9678 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
9679 echo "${ECHO_T}$acl_cv_rpath" >&6
9680 wl="$acl_cv_wl"
9681 libext="$acl_cv_libext"
9682 shlibext="$acl_cv_shlibext"
9683 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
9684 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
9685 hardcode_direct="$acl_cv_hardcode_direct"
9686 hardcode_minus_L="$acl_cv_hardcode_minus_L"
9687 # Check whether --enable-rpath or --disable-rpath was given.
9688 if test "${enable_rpath+set}" = set; then
9689 enableval="$enable_rpath"
9690 :
9691 else
9692 enable_rpath=yes
9693 fi;
9694
9695
9696
9697
9698
9699
9700
9701 use_additional=yes
9702
9703 acl_save_prefix="$prefix"
9704 prefix="$acl_final_prefix"
9705 acl_save_exec_prefix="$exec_prefix"
9706 exec_prefix="$acl_final_exec_prefix"
9707
9708 eval additional_includedir=\"$includedir\"
9709 eval additional_libdir=\"$libdir\"
9710
9711 exec_prefix="$acl_save_exec_prefix"
9712 prefix="$acl_save_prefix"
9713
9714
9715 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
9716 if test "${with_libiconv_prefix+set}" = set; then
9717 withval="$with_libiconv_prefix"
9718
9719 if test "X$withval" = "Xno"; then
9720 use_additional=no
9721 else
9722 if test "X$withval" = "X"; then
9723
9724 acl_save_prefix="$prefix"
9725 prefix="$acl_final_prefix"
9726 acl_save_exec_prefix="$exec_prefix"
9727 exec_prefix="$acl_final_exec_prefix"
9728
9729 eval additional_includedir=\"$includedir\"
9730 eval additional_libdir=\"$libdir\"
9731
9732 exec_prefix="$acl_save_exec_prefix"
9733 prefix="$acl_save_prefix"
9734
9735 else
9736 additional_includedir="$withval/include"
9737 additional_libdir="$withval/lib"
9738 fi
9739 fi
9740
9741 fi;
9742 LIBICONV=
9743 LTLIBICONV=
9744 INCICONV=
9745 rpathdirs=
9746 ltrpathdirs=
9747 names_already_handled=
9748 names_next_round='iconv '
9749 while test -n "$names_next_round"; do
9750 names_this_round="$names_next_round"
9751 names_next_round=
9752 for name in $names_this_round; do
9753 already_handled=
9754 for n in $names_already_handled; do
9755 if test "$n" = "$name"; then
9756 already_handled=yes
9757 break
9758 fi
9759 done
9760 if test -z "$already_handled"; then
9761 names_already_handled="$names_already_handled $name"
9762 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
9763 eval value=\"\$HAVE_LIB$uppername\"
9764 if test -n "$value"; then
9765 if test "$value" = yes; then
9766 eval value=\"\$LIB$uppername\"
9767 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
9768 eval value=\"\$LTLIB$uppername\"
9769 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
9770 else
9771 :
9772 fi
9773 else
9774 found_dir=
9775 found_la=
9776 found_so=
9777 found_a=
9778 if test $use_additional = yes; then
9779 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
9780 found_dir="$additional_libdir"
9781 found_so="$additional_libdir/lib$name.$shlibext"
9782 if test -f "$additional_libdir/lib$name.la"; then
9783 found_la="$additional_libdir/lib$name.la"
9784 fi
9785 else
9786 if test -f "$additional_libdir/lib$name.$libext"; then
9787 found_dir="$additional_libdir"
9788 found_a="$additional_libdir/lib$name.$libext"
9789 if test -f "$additional_libdir/lib$name.la"; then
9790 found_la="$additional_libdir/lib$name.la"
9791 fi
9792 fi
9793 fi
9794 fi
9795 if test "X$found_dir" = "X"; then
9796 for x in $LDFLAGS $LTLIBICONV; do
9797
9798 acl_save_prefix="$prefix"
9799 prefix="$acl_final_prefix"
9800 acl_save_exec_prefix="$exec_prefix"
9801 exec_prefix="$acl_final_exec_prefix"
9802 eval x=\"$x\"
9803 exec_prefix="$acl_save_exec_prefix"
9804 prefix="$acl_save_prefix"
9805
9806 case "$x" in
9807 -L*)
9808 dir=`echo "X$x" | sed -e 's/^X-L//'`
9809 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
9810 found_dir="$dir"
9811 found_so="$dir/lib$name.$shlibext"
9812 if test -f "$dir/lib$name.la"; then
9813 found_la="$dir/lib$name.la"
9814 fi
9815 else
9816 if test -f "$dir/lib$name.$libext"; then
9817 found_dir="$dir"
9818 found_a="$dir/lib$name.$libext"
9819 if test -f "$dir/lib$name.la"; then
9820 found_la="$dir/lib$name.la"
9821 fi
9822 fi
9823 fi
9824 ;;
9825 esac
9826 if test "X$found_dir" != "X"; then
9827 break
9828 fi
9829 done
9830 fi
9831 if test "X$found_dir" != "X"; then
9832 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
9833 if test "X$found_so" != "X"; then
9834 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
9835 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
9836 else
9837 haveit=
9838 for x in $ltrpathdirs; do
9839 if test "X$x" = "X$found_dir"; then
9840 haveit=yes
9841 break
9842 fi
9843 done
9844 if test -z "$haveit"; then
9845 ltrpathdirs="$ltrpathdirs $found_dir"
9846 fi
9847 if test "$hardcode_direct" = yes; then
9848 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
9849 else
9850 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
9851 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
9852 haveit=
9853 for x in $rpathdirs; do
9854 if test "X$x" = "X$found_dir"; then
9855 haveit=yes
9856 break
9857 fi
9858 done
9859 if test -z "$haveit"; then
9860 rpathdirs="$rpathdirs $found_dir"
9861 fi
9862 else
9863 haveit=
9864 for x in $LDFLAGS $LIBICONV; do
9865
9866 acl_save_prefix="$prefix"
9867 prefix="$acl_final_prefix"
9868 acl_save_exec_prefix="$exec_prefix"
9869 exec_prefix="$acl_final_exec_prefix"
9870 eval x=\"$x\"
9871 exec_prefix="$acl_save_exec_prefix"
9872 prefix="$acl_save_prefix"
9873
9874 if test "X$x" = "X-L$found_dir"; then
9875 haveit=yes
9876 break
9877 fi
9878 done
9879 if test -z "$haveit"; then
9880 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
9881 fi
9882 if test "$hardcode_minus_L" != no; then
9883 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
9884 else
9885 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
9886 fi
9887 fi
9888 fi
9889 fi
9890 else
9891 if test "X$found_a" != "X"; then
9892 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
9893 else
9894 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
9895 fi
9896 fi
9897 additional_includedir=
9898 case "$found_dir" in
9899 */lib | */lib/)
9900 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
9901 additional_includedir="$basedir/include"
9902 ;;
9903 esac
9904 if test "X$additional_includedir" != "X"; then
9905 if test "X$additional_includedir" != "X/usr/include"; then
9906 haveit=
9907 if test "X$additional_includedir" = "X/usr/local/include"; then
9908 if test -n "$GCC"; then
9909 case $host_os in
9910 linux*) haveit=yes;;
9911 esac
9912 fi
9913 fi
9914 if test -z "$haveit"; then
9915 for x in $CPPFLAGS $INCICONV; do
9916
9917 acl_save_prefix="$prefix"
9918 prefix="$acl_final_prefix"
9919 acl_save_exec_prefix="$exec_prefix"
9920 exec_prefix="$acl_final_exec_prefix"
9921 eval x=\"$x\"
9922 exec_prefix="$acl_save_exec_prefix"
9923 prefix="$acl_save_prefix"
9924
9925 if test "X$x" = "X-I$additional_includedir"; then
9926 haveit=yes
9927 break
9928 fi
9929 done
9930 if test -z "$haveit"; then
9931 if test -d "$additional_includedir"; then
9932 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
9933 fi
9934 fi
9935 fi
9936 fi
9937 fi
9938 if test -n "$found_la"; then
9939 save_libdir="$libdir"
9940 case "$found_la" in
9941 */* | *\\*) . "$found_la" ;;
9942 *) . "./$found_la" ;;
9943 esac
9944 libdir="$save_libdir"
9945 for dep in $dependency_libs; do
9946 case "$dep" in
9947 -L*)
9948 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
9949 if test "X$additional_libdir" != "X/usr/lib"; then
9950 haveit=
9951 if test "X$additional_libdir" = "X/usr/local/lib"; then
9952 if test -n "$GCC"; then
9953 case $host_os in
9954 linux*) haveit=yes;;
9955 esac
9956 fi
9957 fi
9958 if test -z "$haveit"; then
9959 haveit=
9960 for x in $LDFLAGS $LIBICONV; do
9961
9962 acl_save_prefix="$prefix"
9963 prefix="$acl_final_prefix"
9964 acl_save_exec_prefix="$exec_prefix"
9965 exec_prefix="$acl_final_exec_prefix"
9966 eval x=\"$x\"
9967 exec_prefix="$acl_save_exec_prefix"
9968 prefix="$acl_save_prefix"
9969
9970 if test "X$x" = "X-L$additional_libdir"; then
9971 haveit=yes
9972 break
9973 fi
9974 done
9975 if test -z "$haveit"; then
9976 if test -d "$additional_libdir"; then
9977 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
9978 fi
9979 fi
9980 haveit=
9981 for x in $LDFLAGS $LTLIBICONV; do
9982
9983 acl_save_prefix="$prefix"
9984 prefix="$acl_final_prefix"
9985 acl_save_exec_prefix="$exec_prefix"
9986 exec_prefix="$acl_final_exec_prefix"
9987 eval x=\"$x\"
9988 exec_prefix="$acl_save_exec_prefix"
9989 prefix="$acl_save_prefix"
9990
9991 if test "X$x" = "X-L$additional_libdir"; then
9992 haveit=yes
9993 break
9994 fi
9995 done
9996 if test -z "$haveit"; then
9997 if test -d "$additional_libdir"; then
9998 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
9999 fi
10000 fi
10001 fi
10002 fi
10003 ;;
10004 -R*)
10005 dir=`echo "X$dep" | sed -e 's/^X-R//'`
10006 if test "$enable_rpath" != no; then
10007 haveit=
10008 for x in $rpathdirs; do
10009 if test "X$x" = "X$dir"; then
10010 haveit=yes
10011 break
10012 fi
10013 done
10014 if test -z "$haveit"; then
10015 rpathdirs="$rpathdirs $dir"
10016 fi
10017 haveit=
10018 for x in $ltrpathdirs; do
10019 if test "X$x" = "X$dir"; then
10020 haveit=yes
10021 break
10022 fi
10023 done
10024 if test -z "$haveit"; then
10025 ltrpathdirs="$ltrpathdirs $dir"
10026 fi
10027 fi
10028 ;;
10029 -l*)
10030 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
10031 ;;
10032 *.la)
10033 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
10034 ;;
10035 *)
10036 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
10037 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
10038 ;;
10039 esac
10040 done
10041 fi
10042 else
10043 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
10044 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
10045 fi
10046 fi
10047 fi
10048 done
10049 done
10050 if test "X$rpathdirs" != "X"; then
10051 if test -n "$hardcode_libdir_separator"; then
10052 alldirs=
10053 for found_dir in $rpathdirs; do
10054 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
10055 done
10056 acl_save_libdir="$libdir"
10057 libdir="$alldirs"
10058 eval flag=\"$hardcode_libdir_flag_spec\"
10059 libdir="$acl_save_libdir"
10060 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
10061 else
10062 for found_dir in $rpathdirs; do
10063 acl_save_libdir="$libdir"
10064 libdir="$found_dir"
10065 eval flag=\"$hardcode_libdir_flag_spec\"
10066 libdir="$acl_save_libdir"
10067 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
10068 done
10069 fi
10070 fi
10071 if test "X$ltrpathdirs" != "X"; then
10072 for found_dir in $ltrpathdirs; do
10073 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
10074 done
10075 fi
10076
10077
10078
10079
10080
10081
10082
10083 am_save_CPPFLAGS="$CPPFLAGS"
10084
10085 for element in $INCICONV; do
10086 haveit=
10087 for x in $CPPFLAGS; do
10088
10089 acl_save_prefix="$prefix"
10090 prefix="$acl_final_prefix"
10091 acl_save_exec_prefix="$exec_prefix"
10092 exec_prefix="$acl_final_exec_prefix"
10093 eval x=\"$x\"
10094 exec_prefix="$acl_save_exec_prefix"
10095 prefix="$acl_save_prefix"
10096
10097 if test "X$x" = "X$element"; then
10098 haveit=yes
10099 break
10100 fi
10101 done
10102 if test -z "$haveit"; then
10103 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
10104 fi
10105 done
10106
10107
10108 echo "$as_me:$LINENO: checking for iconv" >&5
10109 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
10110 if test "${am_cv_func_iconv+set}" = set; then
10111 echo $ECHO_N "(cached) $ECHO_C" >&6
10112 else
10113
10114 am_cv_func_iconv="no, consider installing GNU libiconv"
10115 am_cv_lib_iconv=no
10116 if test x$gcc_no_link = xyes; then
10117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10119 { (exit 1); exit 1; }; }
10120 fi
10121 cat >conftest.$ac_ext <<_ACEOF
10122 /* confdefs.h. */
10123 _ACEOF
10124 cat confdefs.h >>conftest.$ac_ext
10125 cat >>conftest.$ac_ext <<_ACEOF
10126 /* end confdefs.h. */
10127 #include <stdlib.h>
10128 #include <iconv.h>
10129 int
10130 main ()
10131 {
10132 iconv_t cd = iconv_open("","");
10133 iconv(cd,NULL,NULL,NULL,NULL);
10134 iconv_close(cd);
10135 ;
10136 return 0;
10137 }
10138 _ACEOF
10139 rm -f conftest.$ac_objext conftest$ac_exeext
10140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10141 (eval $ac_link) 2>conftest.er1
10142 ac_status=$?
10143 grep -v '^ *+' conftest.er1 >conftest.err
10144 rm -f conftest.er1
10145 cat conftest.err >&5
10146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10147 (exit $ac_status); } &&
10148 { ac_try='test -z "$ac_c_werror_flag"
10149 || test ! -s conftest.err'
10150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10151 (eval $ac_try) 2>&5
10152 ac_status=$?
10153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10154 (exit $ac_status); }; } &&
10155 { ac_try='test -s conftest$ac_exeext'
10156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10157 (eval $ac_try) 2>&5
10158 ac_status=$?
10159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10160 (exit $ac_status); }; }; then
10161 am_cv_func_iconv=yes
10162 else
10163 echo "$as_me: failed program was:" >&5
10164 sed 's/^/| /' conftest.$ac_ext >&5
10165
10166 fi
10167 rm -f conftest.err conftest.$ac_objext \
10168 conftest$ac_exeext conftest.$ac_ext
10169 if test "$am_cv_func_iconv" != yes; then
10170 am_save_LIBS="$LIBS"
10171 LIBS="$LIBS $LIBICONV"
10172 if test x$gcc_no_link = xyes; then
10173 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10175 { (exit 1); exit 1; }; }
10176 fi
10177 cat >conftest.$ac_ext <<_ACEOF
10178 /* confdefs.h. */
10179 _ACEOF
10180 cat confdefs.h >>conftest.$ac_ext
10181 cat >>conftest.$ac_ext <<_ACEOF
10182 /* end confdefs.h. */
10183 #include <stdlib.h>
10184 #include <iconv.h>
10185 int
10186 main ()
10187 {
10188 iconv_t cd = iconv_open("","");
10189 iconv(cd,NULL,NULL,NULL,NULL);
10190 iconv_close(cd);
10191 ;
10192 return 0;
10193 }
10194 _ACEOF
10195 rm -f conftest.$ac_objext conftest$ac_exeext
10196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10197 (eval $ac_link) 2>conftest.er1
10198 ac_status=$?
10199 grep -v '^ *+' conftest.er1 >conftest.err
10200 rm -f conftest.er1
10201 cat conftest.err >&5
10202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10203 (exit $ac_status); } &&
10204 { ac_try='test -z "$ac_c_werror_flag"
10205 || test ! -s conftest.err'
10206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10207 (eval $ac_try) 2>&5
10208 ac_status=$?
10209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10210 (exit $ac_status); }; } &&
10211 { ac_try='test -s conftest$ac_exeext'
10212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10213 (eval $ac_try) 2>&5
10214 ac_status=$?
10215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10216 (exit $ac_status); }; }; then
10217 am_cv_lib_iconv=yes
10218 am_cv_func_iconv=yes
10219 else
10220 echo "$as_me: failed program was:" >&5
10221 sed 's/^/| /' conftest.$ac_ext >&5
10222
10223 fi
10224 rm -f conftest.err conftest.$ac_objext \
10225 conftest$ac_exeext conftest.$ac_ext
10226 LIBS="$am_save_LIBS"
10227 fi
10228
10229 fi
10230 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
10231 echo "${ECHO_T}$am_cv_func_iconv" >&6
10232 if test "$am_cv_func_iconv" = yes; then
10233
10234 cat >>confdefs.h <<\_ACEOF
10235 #define HAVE_ICONV 1
10236 _ACEOF
10237
10238 fi
10239 if test "$am_cv_lib_iconv" = yes; then
10240 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
10241 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
10242 echo "$as_me:$LINENO: result: $LIBICONV" >&5
10243 echo "${ECHO_T}$LIBICONV" >&6
10244 else
10245 CPPFLAGS="$am_save_CPPFLAGS"
10246 LIBICONV=
10247 LTLIBICONV=
10248 fi
10249
10250
10251
10252 if test "$am_cv_func_iconv" = yes; then
10253 echo "$as_me:$LINENO: checking for iconv declaration" >&5
10254 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
10255 if test "${am_cv_proto_iconv+set}" = set; then
10256 echo $ECHO_N "(cached) $ECHO_C" >&6
10257 else
10258
10259 cat >conftest.$ac_ext <<_ACEOF
10260 /* confdefs.h. */
10261 _ACEOF
10262 cat confdefs.h >>conftest.$ac_ext
10263 cat >>conftest.$ac_ext <<_ACEOF
10264 /* end confdefs.h. */
10265
10266 #include <stdlib.h>
10267 #include <iconv.h>
10268 extern
10269 #ifdef __cplusplus
10270 "C"
10271 #endif
10272 #if defined(__STDC__) || defined(__cplusplus)
10273 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
10274 #else
10275 size_t iconv();
10276 #endif
10277
10278 int
10279 main ()
10280 {
10281
10282 ;
10283 return 0;
10284 }
10285 _ACEOF
10286 rm -f conftest.$ac_objext
10287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10288 (eval $ac_compile) 2>conftest.er1
10289 ac_status=$?
10290 grep -v '^ *+' conftest.er1 >conftest.err
10291 rm -f conftest.er1
10292 cat conftest.err >&5
10293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10294 (exit $ac_status); } &&
10295 { ac_try='test -z "$ac_c_werror_flag"
10296 || test ! -s conftest.err'
10297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10298 (eval $ac_try) 2>&5
10299 ac_status=$?
10300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10301 (exit $ac_status); }; } &&
10302 { ac_try='test -s conftest.$ac_objext'
10303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10304 (eval $ac_try) 2>&5
10305 ac_status=$?
10306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10307 (exit $ac_status); }; }; then
10308 am_cv_proto_iconv_arg1=""
10309 else
10310 echo "$as_me: failed program was:" >&5
10311 sed 's/^/| /' conftest.$ac_ext >&5
10312
10313 am_cv_proto_iconv_arg1="const"
10314 fi
10315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10316 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);"
10317 fi
10318
10319 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
10320 echo "$as_me:$LINENO: result: ${ac_t:-
10321 }$am_cv_proto_iconv" >&5
10322 echo "${ECHO_T}${ac_t:-
10323 }$am_cv_proto_iconv" >&6
10324
10325 cat >>confdefs.h <<_ACEOF
10326 #define ICONV_CONST $am_cv_proto_iconv_arg1
10327 _ACEOF
10328
10329 fi
10330
10331
10332 if test "x${GCC}" = xyes; then
10333
10334 WARNING_CFLAGS='-W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long'
10335
10336
10337 STRICT_WARNING_CFLAGS='-Wstrict-prototypes -pedantic'
10338
10339
10340 ERROR_CFLAGS=
10341 if test "x${ENABLE_WERROR}" = xyes; then
10342 ERROR_CFLAGS='-Werror'
10343 fi
10344
10345 fi
10346
10347 if test "x${COMPILE_XMLJ}" = xyes; then
10348
10349 succeeded=no
10350
10351 if test -z "$PKG_CONFIG"; then
10352 # Extract the first word of "pkg-config", so it can be a program name with args.
10353 set dummy pkg-config; ac_word=$2
10354 echo "$as_me:$LINENO: checking for $ac_word" >&5
10355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10356 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
10357 echo $ECHO_N "(cached) $ECHO_C" >&6
10358 else
10359 case $PKG_CONFIG in
10360 [\\/]* | ?:[\\/]*)
10361 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10362 ;;
10363 *)
10364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10365 for as_dir in $PATH
10366 do
10367 IFS=$as_save_IFS
10368 test -z "$as_dir" && as_dir=.
10369 for ac_exec_ext in '' $ac_executable_extensions; do
10370 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10371 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10373 break 2
10374 fi
10375 done
10376 done
10377
10378 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
10379 ;;
10380 esac
10381 fi
10382 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
10383
10384 if test -n "$PKG_CONFIG"; then
10385 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
10386 echo "${ECHO_T}$PKG_CONFIG" >&6
10387 else
10388 echo "$as_me:$LINENO: result: no" >&5
10389 echo "${ECHO_T}no" >&6
10390 fi
10391
10392 fi
10393
10394 if test "$PKG_CONFIG" = "no" ; then
10395 echo "*** The pkg-config script could not be found. Make sure it is"
10396 echo "*** in your path, or set the PKG_CONFIG environment variable"
10397 echo "*** to the full path to pkg-config."
10398 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
10399 else
10400 PKG_CONFIG_MIN_VERSION=0.9.0
10401 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
10402 echo "$as_me:$LINENO: checking for libxml-2.0 >= 2.6.8" >&5
10403 echo $ECHO_N "checking for libxml-2.0 >= 2.6.8... $ECHO_C" >&6
10404
10405 if $PKG_CONFIG --exists "libxml-2.0 >= 2.6.8" ; then
10406 echo "$as_me:$LINENO: result: yes" >&5
10407 echo "${ECHO_T}yes" >&6
10408 succeeded=yes
10409
10410 echo "$as_me:$LINENO: checking XML_CFLAGS" >&5
10411 echo $ECHO_N "checking XML_CFLAGS... $ECHO_C" >&6
10412 XML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.8"`
10413 echo "$as_me:$LINENO: result: $XML_CFLAGS" >&5
10414 echo "${ECHO_T}$XML_CFLAGS" >&6
10415
10416 echo "$as_me:$LINENO: checking XML_LIBS" >&5
10417 echo $ECHO_N "checking XML_LIBS... $ECHO_C" >&6
10418 XML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.8"`
10419 echo "$as_me:$LINENO: result: $XML_LIBS" >&5
10420 echo "${ECHO_T}$XML_LIBS" >&6
10421 else
10422 XML_CFLAGS=""
10423 XML_LIBS=""
10424 ## If we have a custom action on failure, don't print errors, but
10425 ## do set a variable so people can do so.
10426 XML_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= 2.6.8"`
10427 echo $XML_PKG_ERRORS
10428 fi
10429
10430
10431
10432 else
10433 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
10434 echo "*** See http://www.freedesktop.org/software/pkgconfig"
10435 fi
10436 fi
10437
10438 if test $succeeded = yes; then
10439 :
10440 else
10441 { { 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
10442 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;}
10443 { (exit 1); exit 1; }; }
10444 fi
10445
10446
10447 succeeded=no
10448
10449 if test -z "$PKG_CONFIG"; then
10450 # Extract the first word of "pkg-config", so it can be a program name with args.
10451 set dummy pkg-config; ac_word=$2
10452 echo "$as_me:$LINENO: checking for $ac_word" >&5
10453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10454 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
10455 echo $ECHO_N "(cached) $ECHO_C" >&6
10456 else
10457 case $PKG_CONFIG in
10458 [\\/]* | ?:[\\/]*)
10459 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10460 ;;
10461 *)
10462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10463 for as_dir in $PATH
10464 do
10465 IFS=$as_save_IFS
10466 test -z "$as_dir" && as_dir=.
10467 for ac_exec_ext in '' $ac_executable_extensions; do
10468 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10469 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10471 break 2
10472 fi
10473 done
10474 done
10475
10476 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
10477 ;;
10478 esac
10479 fi
10480 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
10481
10482 if test -n "$PKG_CONFIG"; then
10483 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
10484 echo "${ECHO_T}$PKG_CONFIG" >&6
10485 else
10486 echo "$as_me:$LINENO: result: no" >&5
10487 echo "${ECHO_T}no" >&6
10488 fi
10489
10490 fi
10491
10492 if test "$PKG_CONFIG" = "no" ; then
10493 echo "*** The pkg-config script could not be found. Make sure it is"
10494 echo "*** in your path, or set the PKG_CONFIG environment variable"
10495 echo "*** to the full path to pkg-config."
10496 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
10497 else
10498 PKG_CONFIG_MIN_VERSION=0.9.0
10499 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
10500 echo "$as_me:$LINENO: checking for libxslt >= 1.1.11" >&5
10501 echo $ECHO_N "checking for libxslt >= 1.1.11... $ECHO_C" >&6
10502
10503 if $PKG_CONFIG --exists "libxslt >= 1.1.11" ; then
10504 echo "$as_me:$LINENO: result: yes" >&5
10505 echo "${ECHO_T}yes" >&6
10506 succeeded=yes
10507
10508 echo "$as_me:$LINENO: checking XSLT_CFLAGS" >&5
10509 echo $ECHO_N "checking XSLT_CFLAGS... $ECHO_C" >&6
10510 XSLT_CFLAGS=`$PKG_CONFIG --cflags "libxslt >= 1.1.11"`
10511 echo "$as_me:$LINENO: result: $XSLT_CFLAGS" >&5
10512 echo "${ECHO_T}$XSLT_CFLAGS" >&6
10513
10514 echo "$as_me:$LINENO: checking XSLT_LIBS" >&5
10515 echo $ECHO_N "checking XSLT_LIBS... $ECHO_C" >&6
10516 XSLT_LIBS=`$PKG_CONFIG --libs "libxslt >= 1.1.11"`
10517 echo "$as_me:$LINENO: result: $XSLT_LIBS" >&5
10518 echo "${ECHO_T}$XSLT_LIBS" >&6
10519 else
10520 XSLT_CFLAGS=""
10521 XSLT_LIBS=""
10522 ## If we have a custom action on failure, don't print errors, but
10523 ## do set a variable so people can do so.
10524 XSLT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxslt >= 1.1.11"`
10525 echo $XSLT_PKG_ERRORS
10526 fi
10527
10528
10529
10530 else
10531 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
10532 echo "*** See http://www.freedesktop.org/software/pkgconfig"
10533 fi
10534 fi
10535
10536 if test $succeeded = yes; then
10537 :
10538 else
10539 { { 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
10540 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;}
10541 { (exit 1); exit 1; }; }
10542 fi
10543
10544
10545
10546
10547
10548 fi
10549
10550 if test "x${COMPILE_GTK_PEER}" = xyes; then
10551 echo "$as_me:$LINENO: checking for X" >&5
10552 echo $ECHO_N "checking for X... $ECHO_C" >&6
10553
10554
10555 # Check whether --with-x or --without-x was given.
10556 if test "${with_x+set}" = set; then
10557 withval="$with_x"
10558
10559 fi;
10560 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10561 if test "x$with_x" = xno; then
10562 # The user explicitly disabled X.
10563 have_x=disabled
10564 else
10565 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
10566 # Both variables are already set.
10567 have_x=yes
10568 else
10569 if test "${ac_cv_have_x+set}" = set; then
10570 echo $ECHO_N "(cached) $ECHO_C" >&6
10571 else
10572 # One or both of the vars are not set, and there is no cached value.
10573 ac_x_includes=no ac_x_libraries=no
10574 rm -fr conftest.dir
10575 if mkdir conftest.dir; then
10576 cd conftest.dir
10577 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
10578 cat >Imakefile <<'_ACEOF'
10579 acfindx:
10580 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
10581 _ACEOF
10582 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
10583 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10584 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
10585 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10586 for ac_extension in a so sl; do
10587 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
10588 test -f $ac_im_libdir/libX11.$ac_extension; then
10589 ac_im_usrlibdir=$ac_im_libdir; break
10590 fi
10591 done
10592 # Screen out bogus values from the imake configuration. They are
10593 # bogus both because they are the default anyway, and because
10594 # using them would break gcc on systems where it needs fixed includes.
10595 case $ac_im_incroot in
10596 /usr/include) ;;
10597 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10598 esac
10599 case $ac_im_usrlibdir in
10600 /usr/lib | /lib) ;;
10601 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10602 esac
10603 fi
10604 cd ..
10605 rm -fr conftest.dir
10606 fi
10607
10608 # Standard set of common directories for X headers.
10609 # Check X11 before X11Rn because it is often a symlink to the current release.
10610 ac_x_header_dirs='
10611 /usr/X11/include
10612 /usr/X11R6/include
10613 /usr/X11R5/include
10614 /usr/X11R4/include
10615
10616 /usr/include/X11
10617 /usr/include/X11R6
10618 /usr/include/X11R5
10619 /usr/include/X11R4
10620
10621 /usr/local/X11/include
10622 /usr/local/X11R6/include
10623 /usr/local/X11R5/include
10624 /usr/local/X11R4/include
10625
10626 /usr/local/include/X11
10627 /usr/local/include/X11R6
10628 /usr/local/include/X11R5
10629 /usr/local/include/X11R4
10630
10631 /usr/X386/include
10632 /usr/x386/include
10633 /usr/XFree86/include/X11
10634
10635 /usr/include
10636 /usr/local/include
10637 /usr/unsupported/include
10638 /usr/athena/include
10639 /usr/local/x11r5/include
10640 /usr/lpp/Xamples/include
10641
10642 /usr/openwin/include
10643 /usr/openwin/share/include'
10644
10645 if test "$ac_x_includes" = no; then
10646 # Guess where to find include files, by looking for Intrinsic.h.
10647 # First, try using that file with no special directory specified.
10648 cat >conftest.$ac_ext <<_ACEOF
10649 /* confdefs.h. */
10650 _ACEOF
10651 cat confdefs.h >>conftest.$ac_ext
10652 cat >>conftest.$ac_ext <<_ACEOF
10653 /* end confdefs.h. */
10654 #include <X11/Intrinsic.h>
10655 _ACEOF
10656 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10657 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10658 ac_status=$?
10659 grep -v '^ *+' conftest.er1 >conftest.err
10660 rm -f conftest.er1
10661 cat conftest.err >&5
10662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10663 (exit $ac_status); } >/dev/null; then
10664 if test -s conftest.err; then
10665 ac_cpp_err=$ac_c_preproc_warn_flag
10666 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10667 else
10668 ac_cpp_err=
10669 fi
10670 else
10671 ac_cpp_err=yes
10672 fi
10673 if test -z "$ac_cpp_err"; then
10674 # We can compile using X headers with no special include directory.
10675 ac_x_includes=
10676 else
10677 echo "$as_me: failed program was:" >&5
10678 sed 's/^/| /' conftest.$ac_ext >&5
10679
10680 for ac_dir in $ac_x_header_dirs; do
10681 if test -r "$ac_dir/X11/Intrinsic.h"; then
10682 ac_x_includes=$ac_dir
10683 break
10684 fi
10685 done
10686 fi
10687 rm -f conftest.err conftest.$ac_ext
10688 fi # $ac_x_includes = no
10689
10690 if test "$ac_x_libraries" = no; then
10691 # Check for the libraries.
10692 # See if we find them without any special options.
10693 # Don't add to $LIBS permanently.
10694 ac_save_LIBS=$LIBS
10695 LIBS="-lXt $LIBS"
10696 if test x$gcc_no_link = xyes; then
10697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10699 { (exit 1); exit 1; }; }
10700 fi
10701 cat >conftest.$ac_ext <<_ACEOF
10702 /* confdefs.h. */
10703 _ACEOF
10704 cat confdefs.h >>conftest.$ac_ext
10705 cat >>conftest.$ac_ext <<_ACEOF
10706 /* end confdefs.h. */
10707 #include <X11/Intrinsic.h>
10708 int
10709 main ()
10710 {
10711 XtMalloc (0)
10712 ;
10713 return 0;
10714 }
10715 _ACEOF
10716 rm -f conftest.$ac_objext conftest$ac_exeext
10717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10718 (eval $ac_link) 2>conftest.er1
10719 ac_status=$?
10720 grep -v '^ *+' conftest.er1 >conftest.err
10721 rm -f conftest.er1
10722 cat conftest.err >&5
10723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10724 (exit $ac_status); } &&
10725 { ac_try='test -z "$ac_c_werror_flag"
10726 || test ! -s conftest.err'
10727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10728 (eval $ac_try) 2>&5
10729 ac_status=$?
10730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10731 (exit $ac_status); }; } &&
10732 { ac_try='test -s conftest$ac_exeext'
10733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10734 (eval $ac_try) 2>&5
10735 ac_status=$?
10736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10737 (exit $ac_status); }; }; then
10738 LIBS=$ac_save_LIBS
10739 # We can link X programs with no special library path.
10740 ac_x_libraries=
10741 else
10742 echo "$as_me: failed program was:" >&5
10743 sed 's/^/| /' conftest.$ac_ext >&5
10744
10745 LIBS=$ac_save_LIBS
10746 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10747 do
10748 # Don't even attempt the hair of trying to link an X program!
10749 for ac_extension in a so sl; do
10750 if test -r $ac_dir/libXt.$ac_extension; then
10751 ac_x_libraries=$ac_dir
10752 break 2
10753 fi
10754 done
10755 done
10756 fi
10757 rm -f conftest.err conftest.$ac_objext \
10758 conftest$ac_exeext conftest.$ac_ext
10759 fi # $ac_x_libraries = no
10760
10761 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
10762 # Didn't find X anywhere. Cache the known absence of X.
10763 ac_cv_have_x="have_x=no"
10764 else
10765 # Record where we found X for the cache.
10766 ac_cv_have_x="have_x=yes \
10767 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
10768 fi
10769 fi
10770
10771 fi
10772 eval "$ac_cv_have_x"
10773 fi # $with_x != no
10774
10775 if test "$have_x" != yes; then
10776 echo "$as_me:$LINENO: result: $have_x" >&5
10777 echo "${ECHO_T}$have_x" >&6
10778 no_x=yes
10779 else
10780 # If each of the values was on the command line, it overrides each guess.
10781 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10782 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10783 # Update the cache value to reflect the command line values.
10784 ac_cv_have_x="have_x=yes \
10785 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
10786 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
10787 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
10788 fi
10789
10790 if test "$no_x" = yes; then
10791 # Not all programs may use this symbol, but it does not hurt to define it.
10792
10793 cat >>confdefs.h <<\_ACEOF
10794 #define X_DISPLAY_MISSING 1
10795 _ACEOF
10796
10797 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10798 else
10799 if test -n "$x_includes"; then
10800 X_CFLAGS="$X_CFLAGS -I$x_includes"
10801 fi
10802
10803 # It would also be nice to do this for all -L options, not just this one.
10804 if test -n "$x_libraries"; then
10805 X_LIBS="$X_LIBS -L$x_libraries"
10806 # For Solaris; some versions of Sun CC require a space after -R and
10807 # others require no space. Words are not sufficient . . . .
10808 case `(uname -sr) 2>/dev/null` in
10809 "SunOS 5"*)
10810 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
10811 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
10812 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10813 if test x$gcc_no_link = xyes; then
10814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10816 { (exit 1); exit 1; }; }
10817 fi
10818 cat >conftest.$ac_ext <<_ACEOF
10819 /* confdefs.h. */
10820 _ACEOF
10821 cat confdefs.h >>conftest.$ac_ext
10822 cat >>conftest.$ac_ext <<_ACEOF
10823 /* end confdefs.h. */
10824
10825 int
10826 main ()
10827 {
10828
10829 ;
10830 return 0;
10831 }
10832 _ACEOF
10833 rm -f conftest.$ac_objext conftest$ac_exeext
10834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10835 (eval $ac_link) 2>conftest.er1
10836 ac_status=$?
10837 grep -v '^ *+' conftest.er1 >conftest.err
10838 rm -f conftest.er1
10839 cat conftest.err >&5
10840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10841 (exit $ac_status); } &&
10842 { ac_try='test -z "$ac_c_werror_flag"
10843 || test ! -s conftest.err'
10844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10845 (eval $ac_try) 2>&5
10846 ac_status=$?
10847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10848 (exit $ac_status); }; } &&
10849 { ac_try='test -s conftest$ac_exeext'
10850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10851 (eval $ac_try) 2>&5
10852 ac_status=$?
10853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10854 (exit $ac_status); }; }; then
10855 ac_R_nospace=yes
10856 else
10857 echo "$as_me: failed program was:" >&5
10858 sed 's/^/| /' conftest.$ac_ext >&5
10859
10860 ac_R_nospace=no
10861 fi
10862 rm -f conftest.err conftest.$ac_objext \
10863 conftest$ac_exeext conftest.$ac_ext
10864 if test $ac_R_nospace = yes; then
10865 echo "$as_me:$LINENO: result: no" >&5
10866 echo "${ECHO_T}no" >&6
10867 X_LIBS="$X_LIBS -R$x_libraries"
10868 else
10869 LIBS="$ac_xsave_LIBS -R $x_libraries"
10870 if test x$gcc_no_link = xyes; then
10871 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10873 { (exit 1); exit 1; }; }
10874 fi
10875 cat >conftest.$ac_ext <<_ACEOF
10876 /* confdefs.h. */
10877 _ACEOF
10878 cat confdefs.h >>conftest.$ac_ext
10879 cat >>conftest.$ac_ext <<_ACEOF
10880 /* end confdefs.h. */
10881
10882 int
10883 main ()
10884 {
10885
10886 ;
10887 return 0;
10888 }
10889 _ACEOF
10890 rm -f conftest.$ac_objext conftest$ac_exeext
10891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10892 (eval $ac_link) 2>conftest.er1
10893 ac_status=$?
10894 grep -v '^ *+' conftest.er1 >conftest.err
10895 rm -f conftest.er1
10896 cat conftest.err >&5
10897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10898 (exit $ac_status); } &&
10899 { ac_try='test -z "$ac_c_werror_flag"
10900 || test ! -s conftest.err'
10901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10902 (eval $ac_try) 2>&5
10903 ac_status=$?
10904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10905 (exit $ac_status); }; } &&
10906 { ac_try='test -s conftest$ac_exeext'
10907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10908 (eval $ac_try) 2>&5
10909 ac_status=$?
10910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10911 (exit $ac_status); }; }; then
10912 ac_R_space=yes
10913 else
10914 echo "$as_me: failed program was:" >&5
10915 sed 's/^/| /' conftest.$ac_ext >&5
10916
10917 ac_R_space=no
10918 fi
10919 rm -f conftest.err conftest.$ac_objext \
10920 conftest$ac_exeext conftest.$ac_ext
10921 if test $ac_R_space = yes; then
10922 echo "$as_me:$LINENO: result: yes" >&5
10923 echo "${ECHO_T}yes" >&6
10924 X_LIBS="$X_LIBS -R $x_libraries"
10925 else
10926 echo "$as_me:$LINENO: result: neither works" >&5
10927 echo "${ECHO_T}neither works" >&6
10928 fi
10929 fi
10930 LIBS=$ac_xsave_LIBS
10931 esac
10932 fi
10933
10934 # Check for system-dependent libraries X programs must link with.
10935 # Do this before checking for the system-independent R6 libraries
10936 # (-lICE), since we may need -lsocket or whatever for X linking.
10937
10938 if test "$ISC" = yes; then
10939 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10940 else
10941 # Martyn Johnson says this is needed for Ultrix, if the X
10942 # libraries were built with DECnet support. And Karl Berry says
10943 # the Alpha needs dnet_stub (dnet does not exist).
10944 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10945 if test x$gcc_no_link = xyes; then
10946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10948 { (exit 1); exit 1; }; }
10949 fi
10950 cat >conftest.$ac_ext <<_ACEOF
10951 /* confdefs.h. */
10952 _ACEOF
10953 cat confdefs.h >>conftest.$ac_ext
10954 cat >>conftest.$ac_ext <<_ACEOF
10955 /* end confdefs.h. */
10956
10957 /* Override any gcc2 internal prototype to avoid an error. */
10958 #ifdef __cplusplus
10959 extern "C"
10960 #endif
10961 /* We use char because int might match the return type of a gcc2
10962 builtin and then its argument prototype would still apply. */
10963 char XOpenDisplay ();
10964 int
10965 main ()
10966 {
10967 XOpenDisplay ();
10968 ;
10969 return 0;
10970 }
10971 _ACEOF
10972 rm -f conftest.$ac_objext conftest$ac_exeext
10973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10974 (eval $ac_link) 2>conftest.er1
10975 ac_status=$?
10976 grep -v '^ *+' conftest.er1 >conftest.err
10977 rm -f conftest.er1
10978 cat conftest.err >&5
10979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10980 (exit $ac_status); } &&
10981 { ac_try='test -z "$ac_c_werror_flag"
10982 || test ! -s conftest.err'
10983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10984 (eval $ac_try) 2>&5
10985 ac_status=$?
10986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10987 (exit $ac_status); }; } &&
10988 { ac_try='test -s conftest$ac_exeext'
10989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10990 (eval $ac_try) 2>&5
10991 ac_status=$?
10992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10993 (exit $ac_status); }; }; then
10994 :
10995 else
10996 echo "$as_me: failed program was:" >&5
10997 sed 's/^/| /' conftest.$ac_ext >&5
10998
10999 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
11000 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
11001 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
11002 echo $ECHO_N "(cached) $ECHO_C" >&6
11003 else
11004 ac_check_lib_save_LIBS=$LIBS
11005 LIBS="-ldnet $LIBS"
11006 if test x$gcc_no_link = xyes; then
11007 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11009 { (exit 1); exit 1; }; }
11010 fi
11011 cat >conftest.$ac_ext <<_ACEOF
11012 /* confdefs.h. */
11013 _ACEOF
11014 cat confdefs.h >>conftest.$ac_ext
11015 cat >>conftest.$ac_ext <<_ACEOF
11016 /* end confdefs.h. */
11017
11018 /* Override any gcc2 internal prototype to avoid an error. */
11019 #ifdef __cplusplus
11020 extern "C"
11021 #endif
11022 /* We use char because int might match the return type of a gcc2
11023 builtin and then its argument prototype would still apply. */
11024 char dnet_ntoa ();
11025 int
11026 main ()
11027 {
11028 dnet_ntoa ();
11029 ;
11030 return 0;
11031 }
11032 _ACEOF
11033 rm -f conftest.$ac_objext conftest$ac_exeext
11034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11035 (eval $ac_link) 2>conftest.er1
11036 ac_status=$?
11037 grep -v '^ *+' conftest.er1 >conftest.err
11038 rm -f conftest.er1
11039 cat conftest.err >&5
11040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11041 (exit $ac_status); } &&
11042 { ac_try='test -z "$ac_c_werror_flag"
11043 || test ! -s conftest.err'
11044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11045 (eval $ac_try) 2>&5
11046 ac_status=$?
11047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11048 (exit $ac_status); }; } &&
11049 { ac_try='test -s conftest$ac_exeext'
11050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11051 (eval $ac_try) 2>&5
11052 ac_status=$?
11053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11054 (exit $ac_status); }; }; then
11055 ac_cv_lib_dnet_dnet_ntoa=yes
11056 else
11057 echo "$as_me: failed program was:" >&5
11058 sed 's/^/| /' conftest.$ac_ext >&5
11059
11060 ac_cv_lib_dnet_dnet_ntoa=no
11061 fi
11062 rm -f conftest.err conftest.$ac_objext \
11063 conftest$ac_exeext conftest.$ac_ext
11064 LIBS=$ac_check_lib_save_LIBS
11065 fi
11066 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11067 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
11068 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
11069 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11070 fi
11071
11072 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11073 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
11074 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
11075 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
11076 echo $ECHO_N "(cached) $ECHO_C" >&6
11077 else
11078 ac_check_lib_save_LIBS=$LIBS
11079 LIBS="-ldnet_stub $LIBS"
11080 if test x$gcc_no_link = xyes; then
11081 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11083 { (exit 1); exit 1; }; }
11084 fi
11085 cat >conftest.$ac_ext <<_ACEOF
11086 /* confdefs.h. */
11087 _ACEOF
11088 cat confdefs.h >>conftest.$ac_ext
11089 cat >>conftest.$ac_ext <<_ACEOF
11090 /* end confdefs.h. */
11091
11092 /* Override any gcc2 internal prototype to avoid an error. */
11093 #ifdef __cplusplus
11094 extern "C"
11095 #endif
11096 /* We use char because int might match the return type of a gcc2
11097 builtin and then its argument prototype would still apply. */
11098 char dnet_ntoa ();
11099 int
11100 main ()
11101 {
11102 dnet_ntoa ();
11103 ;
11104 return 0;
11105 }
11106 _ACEOF
11107 rm -f conftest.$ac_objext conftest$ac_exeext
11108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11109 (eval $ac_link) 2>conftest.er1
11110 ac_status=$?
11111 grep -v '^ *+' conftest.er1 >conftest.err
11112 rm -f conftest.er1
11113 cat conftest.err >&5
11114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11115 (exit $ac_status); } &&
11116 { ac_try='test -z "$ac_c_werror_flag"
11117 || test ! -s conftest.err'
11118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11119 (eval $ac_try) 2>&5
11120 ac_status=$?
11121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11122 (exit $ac_status); }; } &&
11123 { ac_try='test -s conftest$ac_exeext'
11124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11125 (eval $ac_try) 2>&5
11126 ac_status=$?
11127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11128 (exit $ac_status); }; }; then
11129 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11130 else
11131 echo "$as_me: failed program was:" >&5
11132 sed 's/^/| /' conftest.$ac_ext >&5
11133
11134 ac_cv_lib_dnet_stub_dnet_ntoa=no
11135 fi
11136 rm -f conftest.err conftest.$ac_objext \
11137 conftest$ac_exeext conftest.$ac_ext
11138 LIBS=$ac_check_lib_save_LIBS
11139 fi
11140 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11141 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
11142 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
11143 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11144 fi
11145
11146 fi
11147 fi
11148 rm -f conftest.err conftest.$ac_objext \
11149 conftest$ac_exeext conftest.$ac_ext
11150 LIBS="$ac_xsave_LIBS"
11151
11152 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11153 # to get the SysV transport functions.
11154 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11155 # needs -lnsl.
11156 # The nsl library prevents programs from opening the X display
11157 # on Irix 5.2, according to T.E. Dickey.
11158 # The functions gethostbyname, getservbyname, and inet_addr are
11159 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11160 echo "$as_me:$LINENO: checking for gethostbyname" >&5
11161 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
11162 if test "${ac_cv_func_gethostbyname+set}" = set; then
11163 echo $ECHO_N "(cached) $ECHO_C" >&6
11164 else
11165 if test x$gcc_no_link = xyes; then
11166 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11168 { (exit 1); exit 1; }; }
11169 fi
11170 cat >conftest.$ac_ext <<_ACEOF
11171 /* confdefs.h. */
11172 _ACEOF
11173 cat confdefs.h >>conftest.$ac_ext
11174 cat >>conftest.$ac_ext <<_ACEOF
11175 /* end confdefs.h. */
11176 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
11177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11178 #define gethostbyname innocuous_gethostbyname
11179
11180 /* System header to define __stub macros and hopefully few prototypes,
11181 which can conflict with char gethostbyname (); below.
11182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11183 <limits.h> exists even on freestanding compilers. */
11184
11185 #ifdef __STDC__
11186 # include <limits.h>
11187 #else
11188 # include <assert.h>
11189 #endif
11190
11191 #undef gethostbyname
11192
11193 /* Override any gcc2 internal prototype to avoid an error. */
11194 #ifdef __cplusplus
11195 extern "C"
11196 {
11197 #endif
11198 /* We use char because int might match the return type of a gcc2
11199 builtin and then its argument prototype would still apply. */
11200 char gethostbyname ();
11201 /* The GNU C library defines this for functions which it implements
11202 to always fail with ENOSYS. Some functions are actually named
11203 something starting with __ and the normal name is an alias. */
11204 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
11205 choke me
11206 #else
11207 char (*f) () = gethostbyname;
11208 #endif
11209 #ifdef __cplusplus
11210 }
11211 #endif
11212
11213 int
11214 main ()
11215 {
11216 return f != gethostbyname;
11217 ;
11218 return 0;
11219 }
11220 _ACEOF
11221 rm -f conftest.$ac_objext conftest$ac_exeext
11222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11223 (eval $ac_link) 2>conftest.er1
11224 ac_status=$?
11225 grep -v '^ *+' conftest.er1 >conftest.err
11226 rm -f conftest.er1
11227 cat conftest.err >&5
11228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11229 (exit $ac_status); } &&
11230 { ac_try='test -z "$ac_c_werror_flag"
11231 || test ! -s conftest.err'
11232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11233 (eval $ac_try) 2>&5
11234 ac_status=$?
11235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11236 (exit $ac_status); }; } &&
11237 { ac_try='test -s conftest$ac_exeext'
11238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11239 (eval $ac_try) 2>&5
11240 ac_status=$?
11241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11242 (exit $ac_status); }; }; then
11243 ac_cv_func_gethostbyname=yes
11244 else
11245 echo "$as_me: failed program was:" >&5
11246 sed 's/^/| /' conftest.$ac_ext >&5
11247
11248 ac_cv_func_gethostbyname=no
11249 fi
11250 rm -f conftest.err conftest.$ac_objext \
11251 conftest$ac_exeext conftest.$ac_ext
11252 fi
11253 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
11254 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
11255
11256 if test $ac_cv_func_gethostbyname = no; then
11257 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
11258 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
11259 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
11260 echo $ECHO_N "(cached) $ECHO_C" >&6
11261 else
11262 ac_check_lib_save_LIBS=$LIBS
11263 LIBS="-lnsl $LIBS"
11264 if test x$gcc_no_link = xyes; then
11265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11267 { (exit 1); exit 1; }; }
11268 fi
11269 cat >conftest.$ac_ext <<_ACEOF
11270 /* confdefs.h. */
11271 _ACEOF
11272 cat confdefs.h >>conftest.$ac_ext
11273 cat >>conftest.$ac_ext <<_ACEOF
11274 /* end confdefs.h. */
11275
11276 /* Override any gcc2 internal prototype to avoid an error. */
11277 #ifdef __cplusplus
11278 extern "C"
11279 #endif
11280 /* We use char because int might match the return type of a gcc2
11281 builtin and then its argument prototype would still apply. */
11282 char gethostbyname ();
11283 int
11284 main ()
11285 {
11286 gethostbyname ();
11287 ;
11288 return 0;
11289 }
11290 _ACEOF
11291 rm -f conftest.$ac_objext conftest$ac_exeext
11292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11293 (eval $ac_link) 2>conftest.er1
11294 ac_status=$?
11295 grep -v '^ *+' conftest.er1 >conftest.err
11296 rm -f conftest.er1
11297 cat conftest.err >&5
11298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11299 (exit $ac_status); } &&
11300 { ac_try='test -z "$ac_c_werror_flag"
11301 || test ! -s conftest.err'
11302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11303 (eval $ac_try) 2>&5
11304 ac_status=$?
11305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11306 (exit $ac_status); }; } &&
11307 { ac_try='test -s conftest$ac_exeext'
11308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11309 (eval $ac_try) 2>&5
11310 ac_status=$?
11311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11312 (exit $ac_status); }; }; then
11313 ac_cv_lib_nsl_gethostbyname=yes
11314 else
11315 echo "$as_me: failed program was:" >&5
11316 sed 's/^/| /' conftest.$ac_ext >&5
11317
11318 ac_cv_lib_nsl_gethostbyname=no
11319 fi
11320 rm -f conftest.err conftest.$ac_objext \
11321 conftest$ac_exeext conftest.$ac_ext
11322 LIBS=$ac_check_lib_save_LIBS
11323 fi
11324 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
11325 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
11326 if test $ac_cv_lib_nsl_gethostbyname = yes; then
11327 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11328 fi
11329
11330 if test $ac_cv_lib_nsl_gethostbyname = no; then
11331 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
11332 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
11333 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
11334 echo $ECHO_N "(cached) $ECHO_C" >&6
11335 else
11336 ac_check_lib_save_LIBS=$LIBS
11337 LIBS="-lbsd $LIBS"
11338 if test x$gcc_no_link = xyes; then
11339 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11341 { (exit 1); exit 1; }; }
11342 fi
11343 cat >conftest.$ac_ext <<_ACEOF
11344 /* confdefs.h. */
11345 _ACEOF
11346 cat confdefs.h >>conftest.$ac_ext
11347 cat >>conftest.$ac_ext <<_ACEOF
11348 /* end confdefs.h. */
11349
11350 /* Override any gcc2 internal prototype to avoid an error. */
11351 #ifdef __cplusplus
11352 extern "C"
11353 #endif
11354 /* We use char because int might match the return type of a gcc2
11355 builtin and then its argument prototype would still apply. */
11356 char gethostbyname ();
11357 int
11358 main ()
11359 {
11360 gethostbyname ();
11361 ;
11362 return 0;
11363 }
11364 _ACEOF
11365 rm -f conftest.$ac_objext conftest$ac_exeext
11366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11367 (eval $ac_link) 2>conftest.er1
11368 ac_status=$?
11369 grep -v '^ *+' conftest.er1 >conftest.err
11370 rm -f conftest.er1
11371 cat conftest.err >&5
11372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11373 (exit $ac_status); } &&
11374 { ac_try='test -z "$ac_c_werror_flag"
11375 || test ! -s conftest.err'
11376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11377 (eval $ac_try) 2>&5
11378 ac_status=$?
11379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11380 (exit $ac_status); }; } &&
11381 { ac_try='test -s conftest$ac_exeext'
11382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11383 (eval $ac_try) 2>&5
11384 ac_status=$?
11385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11386 (exit $ac_status); }; }; then
11387 ac_cv_lib_bsd_gethostbyname=yes
11388 else
11389 echo "$as_me: failed program was:" >&5
11390 sed 's/^/| /' conftest.$ac_ext >&5
11391
11392 ac_cv_lib_bsd_gethostbyname=no
11393 fi
11394 rm -f conftest.err conftest.$ac_objext \
11395 conftest$ac_exeext conftest.$ac_ext
11396 LIBS=$ac_check_lib_save_LIBS
11397 fi
11398 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
11399 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
11400 if test $ac_cv_lib_bsd_gethostbyname = yes; then
11401 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11402 fi
11403
11404 fi
11405 fi
11406
11407 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11408 # socket/setsockopt and other routines are undefined under SCO ODT
11409 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11410 # on later versions), says Simon Leinen: it contains gethostby*
11411 # variants that don't use the name server (or something). -lsocket
11412 # must be given before -lnsl if both are needed. We assume that
11413 # if connect needs -lnsl, so does gethostbyname.
11414 echo "$as_me:$LINENO: checking for connect" >&5
11415 echo $ECHO_N "checking for connect... $ECHO_C" >&6
11416 if test "${ac_cv_func_connect+set}" = set; then
11417 echo $ECHO_N "(cached) $ECHO_C" >&6
11418 else
11419 if test x$gcc_no_link = xyes; then
11420 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11422 { (exit 1); exit 1; }; }
11423 fi
11424 cat >conftest.$ac_ext <<_ACEOF
11425 /* confdefs.h. */
11426 _ACEOF
11427 cat confdefs.h >>conftest.$ac_ext
11428 cat >>conftest.$ac_ext <<_ACEOF
11429 /* end confdefs.h. */
11430 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
11431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11432 #define connect innocuous_connect
11433
11434 /* System header to define __stub macros and hopefully few prototypes,
11435 which can conflict with char connect (); below.
11436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11437 <limits.h> exists even on freestanding compilers. */
11438
11439 #ifdef __STDC__
11440 # include <limits.h>
11441 #else
11442 # include <assert.h>
11443 #endif
11444
11445 #undef connect
11446
11447 /* Override any gcc2 internal prototype to avoid an error. */
11448 #ifdef __cplusplus
11449 extern "C"
11450 {
11451 #endif
11452 /* We use char because int might match the return type of a gcc2
11453 builtin and then its argument prototype would still apply. */
11454 char connect ();
11455 /* The GNU C library defines this for functions which it implements
11456 to always fail with ENOSYS. Some functions are actually named
11457 something starting with __ and the normal name is an alias. */
11458 #if defined (__stub_connect) || defined (__stub___connect)
11459 choke me
11460 #else
11461 char (*f) () = connect;
11462 #endif
11463 #ifdef __cplusplus
11464 }
11465 #endif
11466
11467 int
11468 main ()
11469 {
11470 return f != connect;
11471 ;
11472 return 0;
11473 }
11474 _ACEOF
11475 rm -f conftest.$ac_objext conftest$ac_exeext
11476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11477 (eval $ac_link) 2>conftest.er1
11478 ac_status=$?
11479 grep -v '^ *+' conftest.er1 >conftest.err
11480 rm -f conftest.er1
11481 cat conftest.err >&5
11482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11483 (exit $ac_status); } &&
11484 { ac_try='test -z "$ac_c_werror_flag"
11485 || test ! -s conftest.err'
11486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11487 (eval $ac_try) 2>&5
11488 ac_status=$?
11489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11490 (exit $ac_status); }; } &&
11491 { ac_try='test -s conftest$ac_exeext'
11492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11493 (eval $ac_try) 2>&5
11494 ac_status=$?
11495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11496 (exit $ac_status); }; }; then
11497 ac_cv_func_connect=yes
11498 else
11499 echo "$as_me: failed program was:" >&5
11500 sed 's/^/| /' conftest.$ac_ext >&5
11501
11502 ac_cv_func_connect=no
11503 fi
11504 rm -f conftest.err conftest.$ac_objext \
11505 conftest$ac_exeext conftest.$ac_ext
11506 fi
11507 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
11508 echo "${ECHO_T}$ac_cv_func_connect" >&6
11509
11510 if test $ac_cv_func_connect = no; then
11511 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
11512 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
11513 if test "${ac_cv_lib_socket_connect+set}" = set; then
11514 echo $ECHO_N "(cached) $ECHO_C" >&6
11515 else
11516 ac_check_lib_save_LIBS=$LIBS
11517 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11518 if test x$gcc_no_link = xyes; then
11519 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11521 { (exit 1); exit 1; }; }
11522 fi
11523 cat >conftest.$ac_ext <<_ACEOF
11524 /* confdefs.h. */
11525 _ACEOF
11526 cat confdefs.h >>conftest.$ac_ext
11527 cat >>conftest.$ac_ext <<_ACEOF
11528 /* end confdefs.h. */
11529
11530 /* Override any gcc2 internal prototype to avoid an error. */
11531 #ifdef __cplusplus
11532 extern "C"
11533 #endif
11534 /* We use char because int might match the return type of a gcc2
11535 builtin and then its argument prototype would still apply. */
11536 char connect ();
11537 int
11538 main ()
11539 {
11540 connect ();
11541 ;
11542 return 0;
11543 }
11544 _ACEOF
11545 rm -f conftest.$ac_objext conftest$ac_exeext
11546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11547 (eval $ac_link) 2>conftest.er1
11548 ac_status=$?
11549 grep -v '^ *+' conftest.er1 >conftest.err
11550 rm -f conftest.er1
11551 cat conftest.err >&5
11552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11553 (exit $ac_status); } &&
11554 { ac_try='test -z "$ac_c_werror_flag"
11555 || test ! -s conftest.err'
11556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11557 (eval $ac_try) 2>&5
11558 ac_status=$?
11559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11560 (exit $ac_status); }; } &&
11561 { ac_try='test -s conftest$ac_exeext'
11562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11563 (eval $ac_try) 2>&5
11564 ac_status=$?
11565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11566 (exit $ac_status); }; }; then
11567 ac_cv_lib_socket_connect=yes
11568 else
11569 echo "$as_me: failed program was:" >&5
11570 sed 's/^/| /' conftest.$ac_ext >&5
11571
11572 ac_cv_lib_socket_connect=no
11573 fi
11574 rm -f conftest.err conftest.$ac_objext \
11575 conftest$ac_exeext conftest.$ac_ext
11576 LIBS=$ac_check_lib_save_LIBS
11577 fi
11578 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
11579 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
11580 if test $ac_cv_lib_socket_connect = yes; then
11581 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11582 fi
11583
11584 fi
11585
11586 # Guillermo Gomez says -lposix is necessary on A/UX.
11587 echo "$as_me:$LINENO: checking for remove" >&5
11588 echo $ECHO_N "checking for remove... $ECHO_C" >&6
11589 if test "${ac_cv_func_remove+set}" = set; then
11590 echo $ECHO_N "(cached) $ECHO_C" >&6
11591 else
11592 if test x$gcc_no_link = xyes; then
11593 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11595 { (exit 1); exit 1; }; }
11596 fi
11597 cat >conftest.$ac_ext <<_ACEOF
11598 /* confdefs.h. */
11599 _ACEOF
11600 cat confdefs.h >>conftest.$ac_ext
11601 cat >>conftest.$ac_ext <<_ACEOF
11602 /* end confdefs.h. */
11603 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
11604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11605 #define remove innocuous_remove
11606
11607 /* System header to define __stub macros and hopefully few prototypes,
11608 which can conflict with char remove (); below.
11609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11610 <limits.h> exists even on freestanding compilers. */
11611
11612 #ifdef __STDC__
11613 # include <limits.h>
11614 #else
11615 # include <assert.h>
11616 #endif
11617
11618 #undef remove
11619
11620 /* Override any gcc2 internal prototype to avoid an error. */
11621 #ifdef __cplusplus
11622 extern "C"
11623 {
11624 #endif
11625 /* We use char because int might match the return type of a gcc2
11626 builtin and then its argument prototype would still apply. */
11627 char remove ();
11628 /* The GNU C library defines this for functions which it implements
11629 to always fail with ENOSYS. Some functions are actually named
11630 something starting with __ and the normal name is an alias. */
11631 #if defined (__stub_remove) || defined (__stub___remove)
11632 choke me
11633 #else
11634 char (*f) () = remove;
11635 #endif
11636 #ifdef __cplusplus
11637 }
11638 #endif
11639
11640 int
11641 main ()
11642 {
11643 return f != remove;
11644 ;
11645 return 0;
11646 }
11647 _ACEOF
11648 rm -f conftest.$ac_objext conftest$ac_exeext
11649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11650 (eval $ac_link) 2>conftest.er1
11651 ac_status=$?
11652 grep -v '^ *+' conftest.er1 >conftest.err
11653 rm -f conftest.er1
11654 cat conftest.err >&5
11655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11656 (exit $ac_status); } &&
11657 { ac_try='test -z "$ac_c_werror_flag"
11658 || test ! -s conftest.err'
11659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11660 (eval $ac_try) 2>&5
11661 ac_status=$?
11662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11663 (exit $ac_status); }; } &&
11664 { ac_try='test -s conftest$ac_exeext'
11665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11666 (eval $ac_try) 2>&5
11667 ac_status=$?
11668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11669 (exit $ac_status); }; }; then
11670 ac_cv_func_remove=yes
11671 else
11672 echo "$as_me: failed program was:" >&5
11673 sed 's/^/| /' conftest.$ac_ext >&5
11674
11675 ac_cv_func_remove=no
11676 fi
11677 rm -f conftest.err conftest.$ac_objext \
11678 conftest$ac_exeext conftest.$ac_ext
11679 fi
11680 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
11681 echo "${ECHO_T}$ac_cv_func_remove" >&6
11682
11683 if test $ac_cv_func_remove = no; then
11684 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
11685 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
11686 if test "${ac_cv_lib_posix_remove+set}" = set; then
11687 echo $ECHO_N "(cached) $ECHO_C" >&6
11688 else
11689 ac_check_lib_save_LIBS=$LIBS
11690 LIBS="-lposix $LIBS"
11691 if test x$gcc_no_link = xyes; then
11692 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11694 { (exit 1); exit 1; }; }
11695 fi
11696 cat >conftest.$ac_ext <<_ACEOF
11697 /* confdefs.h. */
11698 _ACEOF
11699 cat confdefs.h >>conftest.$ac_ext
11700 cat >>conftest.$ac_ext <<_ACEOF
11701 /* end confdefs.h. */
11702
11703 /* Override any gcc2 internal prototype to avoid an error. */
11704 #ifdef __cplusplus
11705 extern "C"
11706 #endif
11707 /* We use char because int might match the return type of a gcc2
11708 builtin and then its argument prototype would still apply. */
11709 char remove ();
11710 int
11711 main ()
11712 {
11713 remove ();
11714 ;
11715 return 0;
11716 }
11717 _ACEOF
11718 rm -f conftest.$ac_objext conftest$ac_exeext
11719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11720 (eval $ac_link) 2>conftest.er1
11721 ac_status=$?
11722 grep -v '^ *+' conftest.er1 >conftest.err
11723 rm -f conftest.er1
11724 cat conftest.err >&5
11725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11726 (exit $ac_status); } &&
11727 { ac_try='test -z "$ac_c_werror_flag"
11728 || test ! -s conftest.err'
11729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11730 (eval $ac_try) 2>&5
11731 ac_status=$?
11732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11733 (exit $ac_status); }; } &&
11734 { ac_try='test -s conftest$ac_exeext'
11735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11736 (eval $ac_try) 2>&5
11737 ac_status=$?
11738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11739 (exit $ac_status); }; }; then
11740 ac_cv_lib_posix_remove=yes
11741 else
11742 echo "$as_me: failed program was:" >&5
11743 sed 's/^/| /' conftest.$ac_ext >&5
11744
11745 ac_cv_lib_posix_remove=no
11746 fi
11747 rm -f conftest.err conftest.$ac_objext \
11748 conftest$ac_exeext conftest.$ac_ext
11749 LIBS=$ac_check_lib_save_LIBS
11750 fi
11751 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
11752 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
11753 if test $ac_cv_lib_posix_remove = yes; then
11754 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11755 fi
11756
11757 fi
11758
11759 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11760 echo "$as_me:$LINENO: checking for shmat" >&5
11761 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
11762 if test "${ac_cv_func_shmat+set}" = set; then
11763 echo $ECHO_N "(cached) $ECHO_C" >&6
11764 else
11765 if test x$gcc_no_link = xyes; then
11766 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11768 { (exit 1); exit 1; }; }
11769 fi
11770 cat >conftest.$ac_ext <<_ACEOF
11771 /* confdefs.h. */
11772 _ACEOF
11773 cat confdefs.h >>conftest.$ac_ext
11774 cat >>conftest.$ac_ext <<_ACEOF
11775 /* end confdefs.h. */
11776 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
11777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11778 #define shmat innocuous_shmat
11779
11780 /* System header to define __stub macros and hopefully few prototypes,
11781 which can conflict with char shmat (); below.
11782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11783 <limits.h> exists even on freestanding compilers. */
11784
11785 #ifdef __STDC__
11786 # include <limits.h>
11787 #else
11788 # include <assert.h>
11789 #endif
11790
11791 #undef shmat
11792
11793 /* Override any gcc2 internal prototype to avoid an error. */
11794 #ifdef __cplusplus
11795 extern "C"
11796 {
11797 #endif
11798 /* We use char because int might match the return type of a gcc2
11799 builtin and then its argument prototype would still apply. */
11800 char shmat ();
11801 /* The GNU C library defines this for functions which it implements
11802 to always fail with ENOSYS. Some functions are actually named
11803 something starting with __ and the normal name is an alias. */
11804 #if defined (__stub_shmat) || defined (__stub___shmat)
11805 choke me
11806 #else
11807 char (*f) () = shmat;
11808 #endif
11809 #ifdef __cplusplus
11810 }
11811 #endif
11812
11813 int
11814 main ()
11815 {
11816 return f != shmat;
11817 ;
11818 return 0;
11819 }
11820 _ACEOF
11821 rm -f conftest.$ac_objext conftest$ac_exeext
11822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11823 (eval $ac_link) 2>conftest.er1
11824 ac_status=$?
11825 grep -v '^ *+' conftest.er1 >conftest.err
11826 rm -f conftest.er1
11827 cat conftest.err >&5
11828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11829 (exit $ac_status); } &&
11830 { ac_try='test -z "$ac_c_werror_flag"
11831 || test ! -s conftest.err'
11832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11833 (eval $ac_try) 2>&5
11834 ac_status=$?
11835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11836 (exit $ac_status); }; } &&
11837 { ac_try='test -s conftest$ac_exeext'
11838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11839 (eval $ac_try) 2>&5
11840 ac_status=$?
11841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11842 (exit $ac_status); }; }; then
11843 ac_cv_func_shmat=yes
11844 else
11845 echo "$as_me: failed program was:" >&5
11846 sed 's/^/| /' conftest.$ac_ext >&5
11847
11848 ac_cv_func_shmat=no
11849 fi
11850 rm -f conftest.err conftest.$ac_objext \
11851 conftest$ac_exeext conftest.$ac_ext
11852 fi
11853 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
11854 echo "${ECHO_T}$ac_cv_func_shmat" >&6
11855
11856 if test $ac_cv_func_shmat = no; then
11857 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
11858 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
11859 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
11860 echo $ECHO_N "(cached) $ECHO_C" >&6
11861 else
11862 ac_check_lib_save_LIBS=$LIBS
11863 LIBS="-lipc $LIBS"
11864 if test x$gcc_no_link = xyes; then
11865 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11867 { (exit 1); exit 1; }; }
11868 fi
11869 cat >conftest.$ac_ext <<_ACEOF
11870 /* confdefs.h. */
11871 _ACEOF
11872 cat confdefs.h >>conftest.$ac_ext
11873 cat >>conftest.$ac_ext <<_ACEOF
11874 /* end confdefs.h. */
11875
11876 /* Override any gcc2 internal prototype to avoid an error. */
11877 #ifdef __cplusplus
11878 extern "C"
11879 #endif
11880 /* We use char because int might match the return type of a gcc2
11881 builtin and then its argument prototype would still apply. */
11882 char shmat ();
11883 int
11884 main ()
11885 {
11886 shmat ();
11887 ;
11888 return 0;
11889 }
11890 _ACEOF
11891 rm -f conftest.$ac_objext conftest$ac_exeext
11892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11893 (eval $ac_link) 2>conftest.er1
11894 ac_status=$?
11895 grep -v '^ *+' conftest.er1 >conftest.err
11896 rm -f conftest.er1
11897 cat conftest.err >&5
11898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11899 (exit $ac_status); } &&
11900 { ac_try='test -z "$ac_c_werror_flag"
11901 || test ! -s conftest.err'
11902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11903 (eval $ac_try) 2>&5
11904 ac_status=$?
11905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11906 (exit $ac_status); }; } &&
11907 { ac_try='test -s conftest$ac_exeext'
11908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11909 (eval $ac_try) 2>&5
11910 ac_status=$?
11911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11912 (exit $ac_status); }; }; then
11913 ac_cv_lib_ipc_shmat=yes
11914 else
11915 echo "$as_me: failed program was:" >&5
11916 sed 's/^/| /' conftest.$ac_ext >&5
11917
11918 ac_cv_lib_ipc_shmat=no
11919 fi
11920 rm -f conftest.err conftest.$ac_objext \
11921 conftest$ac_exeext conftest.$ac_ext
11922 LIBS=$ac_check_lib_save_LIBS
11923 fi
11924 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
11925 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
11926 if test $ac_cv_lib_ipc_shmat = yes; then
11927 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11928 fi
11929
11930 fi
11931 fi
11932
11933 # Check for libraries that X11R6 Xt/Xaw programs need.
11934 ac_save_LDFLAGS=$LDFLAGS
11935 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11936 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11937 # check for ICE first), but we must link in the order -lSM -lICE or
11938 # we get undefined symbols. So assume we have SM if we have ICE.
11939 # These have to be linked with before -lX11, unlike the other
11940 # libraries we check for below, so use a different variable.
11941 # John Interrante, Karl Berry
11942 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
11943 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
11944 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
11945 echo $ECHO_N "(cached) $ECHO_C" >&6
11946 else
11947 ac_check_lib_save_LIBS=$LIBS
11948 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11949 if test x$gcc_no_link = xyes; then
11950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11952 { (exit 1); exit 1; }; }
11953 fi
11954 cat >conftest.$ac_ext <<_ACEOF
11955 /* confdefs.h. */
11956 _ACEOF
11957 cat confdefs.h >>conftest.$ac_ext
11958 cat >>conftest.$ac_ext <<_ACEOF
11959 /* end confdefs.h. */
11960
11961 /* Override any gcc2 internal prototype to avoid an error. */
11962 #ifdef __cplusplus
11963 extern "C"
11964 #endif
11965 /* We use char because int might match the return type of a gcc2
11966 builtin and then its argument prototype would still apply. */
11967 char IceConnectionNumber ();
11968 int
11969 main ()
11970 {
11971 IceConnectionNumber ();
11972 ;
11973 return 0;
11974 }
11975 _ACEOF
11976 rm -f conftest.$ac_objext conftest$ac_exeext
11977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11978 (eval $ac_link) 2>conftest.er1
11979 ac_status=$?
11980 grep -v '^ *+' conftest.er1 >conftest.err
11981 rm -f conftest.er1
11982 cat conftest.err >&5
11983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11984 (exit $ac_status); } &&
11985 { ac_try='test -z "$ac_c_werror_flag"
11986 || test ! -s conftest.err'
11987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11988 (eval $ac_try) 2>&5
11989 ac_status=$?
11990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11991 (exit $ac_status); }; } &&
11992 { ac_try='test -s conftest$ac_exeext'
11993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11994 (eval $ac_try) 2>&5
11995 ac_status=$?
11996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11997 (exit $ac_status); }; }; then
11998 ac_cv_lib_ICE_IceConnectionNumber=yes
11999 else
12000 echo "$as_me: failed program was:" >&5
12001 sed 's/^/| /' conftest.$ac_ext >&5
12002
12003 ac_cv_lib_ICE_IceConnectionNumber=no
12004 fi
12005 rm -f conftest.err conftest.$ac_objext \
12006 conftest$ac_exeext conftest.$ac_ext
12007 LIBS=$ac_check_lib_save_LIBS
12008 fi
12009 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
12010 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
12011 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
12012 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
12013 fi
12014
12015 LDFLAGS=$ac_save_LDFLAGS
12016
12017 fi
12018
12019 if test "$no_x" = yes; then
12020 { { echo "$as_me:$LINENO: error: GTK+ peers requested but no X library available" >&5
12021 echo "$as_me: error: GTK+ peers requested but no X library available" >&2;}
12022 { (exit 1); exit 1; }; }
12023 fi
12024 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
12025 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
12026 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
12027 echo $ECHO_N "(cached) $ECHO_C" >&6
12028 else
12029 ac_check_lib_save_LIBS=$LIBS
12030 LIBS="-lXtst ${X_LIBS} $LIBS"
12031 if test x$gcc_no_link = xyes; then
12032 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12034 { (exit 1); exit 1; }; }
12035 fi
12036 cat >conftest.$ac_ext <<_ACEOF
12037 /* confdefs.h. */
12038 _ACEOF
12039 cat confdefs.h >>conftest.$ac_ext
12040 cat >>conftest.$ac_ext <<_ACEOF
12041 /* end confdefs.h. */
12042
12043 /* Override any gcc2 internal prototype to avoid an error. */
12044 #ifdef __cplusplus
12045 extern "C"
12046 #endif
12047 /* We use char because int might match the return type of a gcc2
12048 builtin and then its argument prototype would still apply. */
12049 char XTestQueryExtension ();
12050 int
12051 main ()
12052 {
12053 XTestQueryExtension ();
12054 ;
12055 return 0;
12056 }
12057 _ACEOF
12058 rm -f conftest.$ac_objext conftest$ac_exeext
12059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12060 (eval $ac_link) 2>conftest.er1
12061 ac_status=$?
12062 grep -v '^ *+' conftest.er1 >conftest.err
12063 rm -f conftest.er1
12064 cat conftest.err >&5
12065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12066 (exit $ac_status); } &&
12067 { ac_try='test -z "$ac_c_werror_flag"
12068 || test ! -s conftest.err'
12069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12070 (eval $ac_try) 2>&5
12071 ac_status=$?
12072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12073 (exit $ac_status); }; } &&
12074 { ac_try='test -s conftest$ac_exeext'
12075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12076 (eval $ac_try) 2>&5
12077 ac_status=$?
12078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12079 (exit $ac_status); }; }; then
12080 ac_cv_lib_Xtst_XTestQueryExtension=yes
12081 else
12082 echo "$as_me: failed program was:" >&5
12083 sed 's/^/| /' conftest.$ac_ext >&5
12084
12085 ac_cv_lib_Xtst_XTestQueryExtension=no
12086 fi
12087 rm -f conftest.err conftest.$ac_objext \
12088 conftest$ac_exeext conftest.$ac_ext
12089 LIBS=$ac_check_lib_save_LIBS
12090 fi
12091 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
12092 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
12093 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
12094 XTEST_LIBS="$XTEST_LIBS -lX11 -lXtst"
12095 else
12096 { { echo "$as_me:$LINENO: error: libXtst NOT found, required for GdkRobot" >&5
12097 echo "$as_me: error: libXtst NOT found, required for GdkRobot" >&2;}
12098 { (exit 1); exit 1; }; }
12099 fi
12100
12101
12102
12103 succeeded=no
12104
12105 if test -z "$PKG_CONFIG"; then
12106 # Extract the first word of "pkg-config", so it can be a program name with args.
12107 set dummy pkg-config; ac_word=$2
12108 echo "$as_me:$LINENO: checking for $ac_word" >&5
12109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12110 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12111 echo $ECHO_N "(cached) $ECHO_C" >&6
12112 else
12113 case $PKG_CONFIG in
12114 [\\/]* | ?:[\\/]*)
12115 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12116 ;;
12117 *)
12118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12119 for as_dir in $PATH
12120 do
12121 IFS=$as_save_IFS
12122 test -z "$as_dir" && as_dir=.
12123 for ac_exec_ext in '' $ac_executable_extensions; do
12124 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12125 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12127 break 2
12128 fi
12129 done
12130 done
12131
12132 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12133 ;;
12134 esac
12135 fi
12136 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12137
12138 if test -n "$PKG_CONFIG"; then
12139 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12140 echo "${ECHO_T}$PKG_CONFIG" >&6
12141 else
12142 echo "$as_me:$LINENO: result: no" >&5
12143 echo "${ECHO_T}no" >&6
12144 fi
12145
12146 fi
12147
12148 if test "$PKG_CONFIG" = "no" ; then
12149 echo "*** The pkg-config script could not be found. Make sure it is"
12150 echo "*** in your path, or set the PKG_CONFIG environment variable"
12151 echo "*** to the full path to pkg-config."
12152 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12153 else
12154 PKG_CONFIG_MIN_VERSION=0.9.0
12155 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12156 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
12157 echo $ECHO_N "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... $ECHO_C" >&6
12158
12159 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
12160 echo "$as_me:$LINENO: result: yes" >&5
12161 echo "${ECHO_T}yes" >&6
12162 succeeded=yes
12163
12164 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
12165 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
12166 GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
12167 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
12168 echo "${ECHO_T}$GTK_CFLAGS" >&6
12169
12170 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
12171 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
12172 GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
12173 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
12174 echo "${ECHO_T}$GTK_LIBS" >&6
12175 else
12176 GTK_CFLAGS=""
12177 GTK_LIBS=""
12178 ## If we have a custom action on failure, don't print errors, but
12179 ## do set a variable so people can do so.
12180 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
12181 echo $GTK_PKG_ERRORS
12182 fi
12183
12184
12185
12186 else
12187 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12188 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12189 fi
12190 fi
12191
12192 if test $succeeded = yes; then
12193 :
12194 else
12195 { { echo "$as_me:$LINENO: error: Library requirements (gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
12196 echo "$as_me: error: Library requirements (gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
12197 { (exit 1); exit 1; }; }
12198 fi
12199
12200
12201 succeeded=no
12202
12203 if test -z "$PKG_CONFIG"; then
12204 # Extract the first word of "pkg-config", so it can be a program name with args.
12205 set dummy pkg-config; ac_word=$2
12206 echo "$as_me:$LINENO: checking for $ac_word" >&5
12207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12208 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12209 echo $ECHO_N "(cached) $ECHO_C" >&6
12210 else
12211 case $PKG_CONFIG in
12212 [\\/]* | ?:[\\/]*)
12213 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12214 ;;
12215 *)
12216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12217 for as_dir in $PATH
12218 do
12219 IFS=$as_save_IFS
12220 test -z "$as_dir" && as_dir=.
12221 for ac_exec_ext in '' $ac_executable_extensions; do
12222 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12223 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12225 break 2
12226 fi
12227 done
12228 done
12229
12230 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12231 ;;
12232 esac
12233 fi
12234 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12235
12236 if test -n "$PKG_CONFIG"; then
12237 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12238 echo "${ECHO_T}$PKG_CONFIG" >&6
12239 else
12240 echo "$as_me:$LINENO: result: no" >&5
12241 echo "${ECHO_T}no" >&6
12242 fi
12243
12244 fi
12245
12246 if test "$PKG_CONFIG" = "no" ; then
12247 echo "*** The pkg-config script could not be found. Make sure it is"
12248 echo "*** in your path, or set the PKG_CONFIG environment variable"
12249 echo "*** to the full path to pkg-config."
12250 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12251 else
12252 PKG_CONFIG_MIN_VERSION=0.9.0
12253 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12254 echo "$as_me:$LINENO: checking for freetype2" >&5
12255 echo $ECHO_N "checking for freetype2... $ECHO_C" >&6
12256
12257 if $PKG_CONFIG --exists "freetype2" ; then
12258 echo "$as_me:$LINENO: result: yes" >&5
12259 echo "${ECHO_T}yes" >&6
12260 succeeded=yes
12261
12262 echo "$as_me:$LINENO: checking FREETYPE2_CFLAGS" >&5
12263 echo $ECHO_N "checking FREETYPE2_CFLAGS... $ECHO_C" >&6
12264 FREETYPE2_CFLAGS=`$PKG_CONFIG --cflags "freetype2"`
12265 echo "$as_me:$LINENO: result: $FREETYPE2_CFLAGS" >&5
12266 echo "${ECHO_T}$FREETYPE2_CFLAGS" >&6
12267
12268 echo "$as_me:$LINENO: checking FREETYPE2_LIBS" >&5
12269 echo $ECHO_N "checking FREETYPE2_LIBS... $ECHO_C" >&6
12270 FREETYPE2_LIBS=`$PKG_CONFIG --libs "freetype2"`
12271 echo "$as_me:$LINENO: result: $FREETYPE2_LIBS" >&5
12272 echo "${ECHO_T}$FREETYPE2_LIBS" >&6
12273 else
12274 FREETYPE2_CFLAGS=""
12275 FREETYPE2_LIBS=""
12276 ## If we have a custom action on failure, don't print errors, but
12277 ## do set a variable so people can do so.
12278 FREETYPE2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"`
12279 echo $FREETYPE2_PKG_ERRORS
12280 fi
12281
12282
12283
12284 else
12285 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12286 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12287 fi
12288 fi
12289
12290 if test $succeeded = yes; then
12291 :
12292 else
12293 { { 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
12294 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;}
12295 { (exit 1); exit 1; }; }
12296 fi
12297
12298
12299 succeeded=no
12300
12301 if test -z "$PKG_CONFIG"; then
12302 # Extract the first word of "pkg-config", so it can be a program name with args.
12303 set dummy pkg-config; ac_word=$2
12304 echo "$as_me:$LINENO: checking for $ac_word" >&5
12305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12306 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12307 echo $ECHO_N "(cached) $ECHO_C" >&6
12308 else
12309 case $PKG_CONFIG in
12310 [\\/]* | ?:[\\/]*)
12311 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12312 ;;
12313 *)
12314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12315 for as_dir in $PATH
12316 do
12317 IFS=$as_save_IFS
12318 test -z "$as_dir" && as_dir=.
12319 for ac_exec_ext in '' $ac_executable_extensions; do
12320 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12321 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12323 break 2
12324 fi
12325 done
12326 done
12327
12328 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12329 ;;
12330 esac
12331 fi
12332 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12333
12334 if test -n "$PKG_CONFIG"; then
12335 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12336 echo "${ECHO_T}$PKG_CONFIG" >&6
12337 else
12338 echo "$as_me:$LINENO: result: no" >&5
12339 echo "${ECHO_T}no" >&6
12340 fi
12341
12342 fi
12343
12344 if test "$PKG_CONFIG" = "no" ; then
12345 echo "*** The pkg-config script could not be found. Make sure it is"
12346 echo "*** in your path, or set the PKG_CONFIG environment variable"
12347 echo "*** to the full path to pkg-config."
12348 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12349 else
12350 PKG_CONFIG_MIN_VERSION=0.9.0
12351 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12352 echo "$as_me:$LINENO: checking for pangoft2" >&5
12353 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
12354
12355 if $PKG_CONFIG --exists "pangoft2" ; then
12356 echo "$as_me:$LINENO: result: yes" >&5
12357 echo "${ECHO_T}yes" >&6
12358 succeeded=yes
12359
12360 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
12361 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
12362 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
12363 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
12364 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
12365
12366 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
12367 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
12368 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
12369 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
12370 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
12371 else
12372 PANGOFT2_CFLAGS=""
12373 PANGOFT2_LIBS=""
12374 ## If we have a custom action on failure, don't print errors, but
12375 ## do set a variable so people can do so.
12376 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
12377 echo $PANGOFT2_PKG_ERRORS
12378 fi
12379
12380
12381
12382 else
12383 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12384 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12385 fi
12386 fi
12387
12388 if test $succeeded = yes; then
12389 :
12390 else
12391 { { 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
12392 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;}
12393 { (exit 1); exit 1; }; }
12394 fi
12395
12396 echo "$as_me:$LINENO: checking for XRenderQueryExtension in -lXrender" >&5
12397 echo $ECHO_N "checking for XRenderQueryExtension in -lXrender... $ECHO_C" >&6
12398 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then
12399 echo $ECHO_N "(cached) $ECHO_C" >&6
12400 else
12401 ac_check_lib_save_LIBS=$LIBS
12402 LIBS="-lXrender ${X_LIBS} $LIBS"
12403 if test x$gcc_no_link = xyes; then
12404 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12406 { (exit 1); exit 1; }; }
12407 fi
12408 cat >conftest.$ac_ext <<_ACEOF
12409 /* confdefs.h. */
12410 _ACEOF
12411 cat confdefs.h >>conftest.$ac_ext
12412 cat >>conftest.$ac_ext <<_ACEOF
12413 /* end confdefs.h. */
12414
12415 /* Override any gcc2 internal prototype to avoid an error. */
12416 #ifdef __cplusplus
12417 extern "C"
12418 #endif
12419 /* We use char because int might match the return type of a gcc2
12420 builtin and then its argument prototype would still apply. */
12421 char XRenderQueryExtension ();
12422 int
12423 main ()
12424 {
12425 XRenderQueryExtension ();
12426 ;
12427 return 0;
12428 }
12429 _ACEOF
12430 rm -f conftest.$ac_objext conftest$ac_exeext
12431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12432 (eval $ac_link) 2>conftest.er1
12433 ac_status=$?
12434 grep -v '^ *+' conftest.er1 >conftest.err
12435 rm -f conftest.er1
12436 cat conftest.err >&5
12437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12438 (exit $ac_status); } &&
12439 { ac_try='test -z "$ac_c_werror_flag"
12440 || test ! -s conftest.err'
12441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12442 (eval $ac_try) 2>&5
12443 ac_status=$?
12444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12445 (exit $ac_status); }; } &&
12446 { ac_try='test -s conftest$ac_exeext'
12447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12448 (eval $ac_try) 2>&5
12449 ac_status=$?
12450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12451 (exit $ac_status); }; }; then
12452 ac_cv_lib_Xrender_XRenderQueryExtension=yes
12453 else
12454 echo "$as_me: failed program was:" >&5
12455 sed 's/^/| /' conftest.$ac_ext >&5
12456
12457 ac_cv_lib_Xrender_XRenderQueryExtension=no
12458 fi
12459 rm -f conftest.err conftest.$ac_objext \
12460 conftest$ac_exeext conftest.$ac_ext
12461 LIBS=$ac_check_lib_save_LIBS
12462 fi
12463 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
12464 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderQueryExtension" >&6
12465 if test $ac_cv_lib_Xrender_XRenderQueryExtension = yes; then
12466
12467 cat >>confdefs.h <<\_ACEOF
12468 #define HAVE_XRENDER 1
12469 _ACEOF
12470 X_EXTRA_LIBS="$X_EXTRA_LIBS -lXrender"
12471 else
12472 true
12473 fi
12474
12475
12476 echo "$as_me:$LINENO: checking for XRRQueryExtension in -lXrandr" >&5
12477 echo $ECHO_N "checking for XRRQueryExtension in -lXrandr... $ECHO_C" >&6
12478 if test "${ac_cv_lib_Xrandr_XRRQueryExtension+set}" = set; then
12479 echo $ECHO_N "(cached) $ECHO_C" >&6
12480 else
12481 ac_check_lib_save_LIBS=$LIBS
12482 LIBS="-lXrandr ${X_LIBS} $LIBS"
12483 if test x$gcc_no_link = xyes; then
12484 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12486 { (exit 1); exit 1; }; }
12487 fi
12488 cat >conftest.$ac_ext <<_ACEOF
12489 /* confdefs.h. */
12490 _ACEOF
12491 cat confdefs.h >>conftest.$ac_ext
12492 cat >>conftest.$ac_ext <<_ACEOF
12493 /* end confdefs.h. */
12494
12495 /* Override any gcc2 internal prototype to avoid an error. */
12496 #ifdef __cplusplus
12497 extern "C"
12498 #endif
12499 /* We use char because int might match the return type of a gcc2
12500 builtin and then its argument prototype would still apply. */
12501 char XRRQueryExtension ();
12502 int
12503 main ()
12504 {
12505 XRRQueryExtension ();
12506 ;
12507 return 0;
12508 }
12509 _ACEOF
12510 rm -f conftest.$ac_objext conftest$ac_exeext
12511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12512 (eval $ac_link) 2>conftest.er1
12513 ac_status=$?
12514 grep -v '^ *+' conftest.er1 >conftest.err
12515 rm -f conftest.er1
12516 cat conftest.err >&5
12517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12518 (exit $ac_status); } &&
12519 { ac_try='test -z "$ac_c_werror_flag"
12520 || test ! -s conftest.err'
12521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12522 (eval $ac_try) 2>&5
12523 ac_status=$?
12524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12525 (exit $ac_status); }; } &&
12526 { ac_try='test -s conftest$ac_exeext'
12527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12528 (eval $ac_try) 2>&5
12529 ac_status=$?
12530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12531 (exit $ac_status); }; }; then
12532 ac_cv_lib_Xrandr_XRRQueryExtension=yes
12533 else
12534 echo "$as_me: failed program was:" >&5
12535 sed 's/^/| /' conftest.$ac_ext >&5
12536
12537 ac_cv_lib_Xrandr_XRRQueryExtension=no
12538 fi
12539 rm -f conftest.err conftest.$ac_objext \
12540 conftest$ac_exeext conftest.$ac_ext
12541 LIBS=$ac_check_lib_save_LIBS
12542 fi
12543 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrandr_XRRQueryExtension" >&5
12544 echo "${ECHO_T}$ac_cv_lib_Xrandr_XRRQueryExtension" >&6
12545 if test $ac_cv_lib_Xrandr_XRRQueryExtension = yes; then
12546
12547 cat >>confdefs.h <<\_ACEOF
12548 #define HAVE_XRANDR 1
12549 _ACEOF
12550 X_EXTRA_LIBS="$X_EXTRA_LIBS -lXrandr"
12551 else
12552 true
12553 fi
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563 fi
12564
12565 if test "x${COMPILE_GCONF_PEER}" = xyes; then
12566
12567 succeeded=no
12568
12569 if test -z "$PKG_CONFIG"; then
12570 # Extract the first word of "pkg-config", so it can be a program name with args.
12571 set dummy pkg-config; ac_word=$2
12572 echo "$as_me:$LINENO: checking for $ac_word" >&5
12573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12574 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12575 echo $ECHO_N "(cached) $ECHO_C" >&6
12576 else
12577 case $PKG_CONFIG in
12578 [\\/]* | ?:[\\/]*)
12579 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12580 ;;
12581 *)
12582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12583 for as_dir in $PATH
12584 do
12585 IFS=$as_save_IFS
12586 test -z "$as_dir" && as_dir=.
12587 for ac_exec_ext in '' $ac_executable_extensions; do
12588 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12589 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12590 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12591 break 2
12592 fi
12593 done
12594 done
12595
12596 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12597 ;;
12598 esac
12599 fi
12600 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12601
12602 if test -n "$PKG_CONFIG"; then
12603 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12604 echo "${ECHO_T}$PKG_CONFIG" >&6
12605 else
12606 echo "$as_me:$LINENO: result: no" >&5
12607 echo "${ECHO_T}no" >&6
12608 fi
12609
12610 fi
12611
12612 if test "$PKG_CONFIG" = "no" ; then
12613 echo "*** The pkg-config script could not be found. Make sure it is"
12614 echo "*** in your path, or set the PKG_CONFIG environment variable"
12615 echo "*** to the full path to pkg-config."
12616 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12617 else
12618 PKG_CONFIG_MIN_VERSION=0.9.0
12619 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12620 echo "$as_me:$LINENO: checking for gconf-2.0 >= 2.11.2" >&5
12621 echo $ECHO_N "checking for gconf-2.0 >= 2.11.2... $ECHO_C" >&6
12622
12623 if $PKG_CONFIG --exists "gconf-2.0 >= 2.11.2" ; then
12624 echo "$as_me:$LINENO: result: yes" >&5
12625 echo "${ECHO_T}yes" >&6
12626 succeeded=yes
12627
12628 echo "$as_me:$LINENO: checking GCONF_CFLAGS" >&5
12629 echo $ECHO_N "checking GCONF_CFLAGS... $ECHO_C" >&6
12630 GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.11.2"`
12631 echo "$as_me:$LINENO: result: $GCONF_CFLAGS" >&5
12632 echo "${ECHO_T}$GCONF_CFLAGS" >&6
12633
12634 echo "$as_me:$LINENO: checking GCONF_LIBS" >&5
12635 echo $ECHO_N "checking GCONF_LIBS... $ECHO_C" >&6
12636 GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.11.2"`
12637 echo "$as_me:$LINENO: result: $GCONF_LIBS" >&5
12638 echo "${ECHO_T}$GCONF_LIBS" >&6
12639 else
12640 GCONF_CFLAGS=""
12641 GCONF_LIBS=""
12642 ## If we have a custom action on failure, don't print errors, but
12643 ## do set a variable so people can do so.
12644 GCONF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gconf-2.0 >= 2.11.2"`
12645 echo $GCONF_PKG_ERRORS
12646 fi
12647
12648
12649
12650 else
12651 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12652 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12653 fi
12654 fi
12655
12656 if test $succeeded = yes; then
12657 :
12658 else
12659 { { echo "$as_me:$LINENO: error: Library requirements (gconf-2.0 >= 2.11.2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
12660 echo "$as_me: error: Library requirements (gconf-2.0 >= 2.11.2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
12661 { (exit 1); exit 1; }; }
12662 fi
12663
12664
12665
12666
12667 succeeded=no
12668
12669 if test -z "$PKG_CONFIG"; then
12670 # Extract the first word of "pkg-config", so it can be a program name with args.
12671 set dummy pkg-config; ac_word=$2
12672 echo "$as_me:$LINENO: checking for $ac_word" >&5
12673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12674 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12675 echo $ECHO_N "(cached) $ECHO_C" >&6
12676 else
12677 case $PKG_CONFIG in
12678 [\\/]* | ?:[\\/]*)
12679 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12680 ;;
12681 *)
12682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12683 for as_dir in $PATH
12684 do
12685 IFS=$as_save_IFS
12686 test -z "$as_dir" && as_dir=.
12687 for ac_exec_ext in '' $ac_executable_extensions; do
12688 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12689 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12691 break 2
12692 fi
12693 done
12694 done
12695
12696 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12697 ;;
12698 esac
12699 fi
12700 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12701
12702 if test -n "$PKG_CONFIG"; then
12703 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12704 echo "${ECHO_T}$PKG_CONFIG" >&6
12705 else
12706 echo "$as_me:$LINENO: result: no" >&5
12707 echo "${ECHO_T}no" >&6
12708 fi
12709
12710 fi
12711
12712 if test "$PKG_CONFIG" = "no" ; then
12713 echo "*** The pkg-config script could not be found. Make sure it is"
12714 echo "*** in your path, or set the PKG_CONFIG environment variable"
12715 echo "*** to the full path to pkg-config."
12716 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12717 else
12718 PKG_CONFIG_MIN_VERSION=0.9.0
12719 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12720 echo "$as_me:$LINENO: checking for gdk-2.0 >= 2.8" >&5
12721 echo $ECHO_N "checking for gdk-2.0 >= 2.8... $ECHO_C" >&6
12722
12723 if $PKG_CONFIG --exists "gdk-2.0 >= 2.8" ; then
12724 echo "$as_me:$LINENO: result: yes" >&5
12725 echo "${ECHO_T}yes" >&6
12726 succeeded=yes
12727
12728 echo "$as_me:$LINENO: checking GDK_CFLAGS" >&5
12729 echo $ECHO_N "checking GDK_CFLAGS... $ECHO_C" >&6
12730 GDK_CFLAGS=`$PKG_CONFIG --cflags "gdk-2.0 >= 2.8"`
12731 echo "$as_me:$LINENO: result: $GDK_CFLAGS" >&5
12732 echo "${ECHO_T}$GDK_CFLAGS" >&6
12733
12734 echo "$as_me:$LINENO: checking GDK_LIBS" >&5
12735 echo $ECHO_N "checking GDK_LIBS... $ECHO_C" >&6
12736 GDK_LIBS=`$PKG_CONFIG --libs "gdk-2.0 >= 2.8"`
12737 echo "$as_me:$LINENO: result: $GDK_LIBS" >&5
12738 echo "${ECHO_T}$GDK_LIBS" >&6
12739 else
12740 GDK_CFLAGS=""
12741 GDK_LIBS=""
12742 ## If we have a custom action on failure, don't print errors, but
12743 ## do set a variable so people can do so.
12744 GDK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-2.0 >= 2.8"`
12745 echo $GDK_PKG_ERRORS
12746 fi
12747
12748
12749
12750 else
12751 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12752 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12753 fi
12754 fi
12755
12756 if test $succeeded = yes; then
12757 :
12758 else
12759 { { echo "$as_me:$LINENO: error: Library requirements (gdk-2.0 >= 2.8) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
12760 echo "$as_me: error: Library requirements (gdk-2.0 >= 2.8) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
12761 { (exit 1); exit 1; }; }
12762 fi
12763
12764
12765
12766 USE_GCONF_PREFS_PEER=$enable_default_preferences_peer
12767 if test "$USE_GCONF_PREFS_PEER" = ""; then
12768 DEFAULT_PREFS_PEER=gnu.java.util.prefs.GConfBasedFactory
12769 fi
12770 fi
12771
12772 if test "x${COMPILE_QT_PEER}" = xyes; then
12773
12774 succeeded=no
12775
12776 if test -z "$PKG_CONFIG"; then
12777 # Extract the first word of "pkg-config", so it can be a program name with args.
12778 set dummy pkg-config; ac_word=$2
12779 echo "$as_me:$LINENO: checking for $ac_word" >&5
12780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12781 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12782 echo $ECHO_N "(cached) $ECHO_C" >&6
12783 else
12784 case $PKG_CONFIG in
12785 [\\/]* | ?:[\\/]*)
12786 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12787 ;;
12788 *)
12789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12790 for as_dir in $PATH
12791 do
12792 IFS=$as_save_IFS
12793 test -z "$as_dir" && as_dir=.
12794 for ac_exec_ext in '' $ac_executable_extensions; do
12795 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12796 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12798 break 2
12799 fi
12800 done
12801 done
12802
12803 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12804 ;;
12805 esac
12806 fi
12807 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12808
12809 if test -n "$PKG_CONFIG"; then
12810 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12811 echo "${ECHO_T}$PKG_CONFIG" >&6
12812 else
12813 echo "$as_me:$LINENO: result: no" >&5
12814 echo "${ECHO_T}no" >&6
12815 fi
12816
12817 fi
12818
12819 if test "$PKG_CONFIG" = "no" ; then
12820 echo "*** The pkg-config script could not be found. Make sure it is"
12821 echo "*** in your path, or set the PKG_CONFIG environment variable"
12822 echo "*** to the full path to pkg-config."
12823 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12824 else
12825 PKG_CONFIG_MIN_VERSION=0.9.0
12826 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12827 echo "$as_me:$LINENO: checking for QtCore QtGui >= 4.1.0" >&5
12828 echo $ECHO_N "checking for QtCore QtGui >= 4.1.0... $ECHO_C" >&6
12829
12830 if $PKG_CONFIG --exists "QtCore QtGui >= 4.1.0" ; then
12831 echo "$as_me:$LINENO: result: yes" >&5
12832 echo "${ECHO_T}yes" >&6
12833 succeeded=yes
12834
12835 echo "$as_me:$LINENO: checking QT_CFLAGS" >&5
12836 echo $ECHO_N "checking QT_CFLAGS... $ECHO_C" >&6
12837 QT_CFLAGS=`$PKG_CONFIG --cflags "QtCore QtGui >= 4.1.0"`
12838 echo "$as_me:$LINENO: result: $QT_CFLAGS" >&5
12839 echo "${ECHO_T}$QT_CFLAGS" >&6
12840
12841 echo "$as_me:$LINENO: checking QT_LIBS" >&5
12842 echo $ECHO_N "checking QT_LIBS... $ECHO_C" >&6
12843 QT_LIBS=`$PKG_CONFIG --libs "QtCore QtGui >= 4.1.0"`
12844 echo "$as_me:$LINENO: result: $QT_LIBS" >&5
12845 echo "${ECHO_T}$QT_LIBS" >&6
12846 else
12847 QT_CFLAGS=""
12848 QT_LIBS=""
12849 ## If we have a custom action on failure, don't print errors, but
12850 ## do set a variable so people can do so.
12851 QT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtCore QtGui >= 4.1.0"`
12852
12853 fi
12854
12855
12856
12857 else
12858 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12859 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12860 fi
12861 fi
12862
12863 if test $succeeded = yes; then
12864 HAVE_QT4="yes"
12865 else
12866 HAVE_QT4="no"
12867 fi
12868
12869 if test "x$HAVE_QT4" = "xyes"; then
12870 QT_INCLUDE_DIR=`$PKG_CONFIG --variable=includedir QtGui`
12871 EXTRA_QT_INCLUDE_DIR="$QT_INCLUDE_DIR/Qt"
12872 as_ac_File=`echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
12873 echo "$as_me:$LINENO: checking for $QT_INCLUDE_DIR/QWidget" >&5
12874 echo $ECHO_N "checking for $QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
12875 if eval "test \"\${$as_ac_File+set}\" = set"; then
12876 echo $ECHO_N "(cached) $ECHO_C" >&6
12877 else
12878 test "$cross_compiling" = yes &&
12879 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
12880 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
12881 { (exit 1); exit 1; }; }
12882 if test -r "$QT_INCLUDE_DIR/QWidget"; then
12883 eval "$as_ac_File=yes"
12884 else
12885 eval "$as_ac_File=no"
12886 fi
12887 fi
12888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
12889 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
12890 if test `eval echo '${'$as_ac_File'}'` = yes; then
12891 { echo "$as_me:$LINENO: No extra QT_INCLUDE_DIR needed" >&5
12892 echo "$as_me: No extra QT_INCLUDE_DIR needed" >&6;}
12893 else
12894 as_ac_File=`echo "ac_cv_file_$EXTRA_QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
12895 echo "$as_me:$LINENO: checking for $EXTRA_QT_INCLUDE_DIR/QWidget" >&5
12896 echo $ECHO_N "checking for $EXTRA_QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
12897 if eval "test \"\${$as_ac_File+set}\" = set"; then
12898 echo $ECHO_N "(cached) $ECHO_C" >&6
12899 else
12900 test "$cross_compiling" = yes &&
12901 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
12902 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
12903 { (exit 1); exit 1; }; }
12904 if test -r "$EXTRA_QT_INCLUDE_DIR/QWidget"; then
12905 eval "$as_ac_File=yes"
12906 else
12907 eval "$as_ac_File=no"
12908 fi
12909 fi
12910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
12911 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
12912 if test `eval echo '${'$as_ac_File'}'` = yes; then
12913 QT_CFLAGS="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR"
12914 else
12915 { echo "$as_me:$LINENO: WARNING: QWidget not found" >&5
12916 echo "$as_me: WARNING: QWidget not found" >&2;}
12917 fi
12918
12919 fi
12920
12921 # Extract the first word of "moc", so it can be a program name with args.
12922 set dummy moc; ac_word=$2
12923 echo "$as_me:$LINENO: checking for $ac_word" >&5
12924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12925 if test "${ac_cv_prog_MOC+set}" = set; then
12926 echo $ECHO_N "(cached) $ECHO_C" >&6
12927 else
12928 if test -n "$MOC"; then
12929 ac_cv_prog_MOC="$MOC" # Let the user override the test.
12930 else
12931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12932 for as_dir in $PATH
12933 do
12934 IFS=$as_save_IFS
12935 test -z "$as_dir" && as_dir=.
12936 for ac_exec_ext in '' $ac_executable_extensions; do
12937 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12938 ac_cv_prog_MOC="moc"
12939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12940 break 2
12941 fi
12942 done
12943 done
12944
12945 fi
12946 fi
12947 MOC=$ac_cv_prog_MOC
12948 if test -n "$MOC"; then
12949 echo "$as_me:$LINENO: result: $MOC" >&5
12950 echo "${ECHO_T}$MOC" >&6
12951 else
12952 echo "$as_me:$LINENO: result: no" >&5
12953 echo "${ECHO_T}no" >&6
12954 fi
12955
12956 # Extract the first word of "moc-qt4", so it can be a program name with args.
12957 set dummy moc-qt4; ac_word=$2
12958 echo "$as_me:$LINENO: checking for $ac_word" >&5
12959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12960 if test "${ac_cv_prog_MOC+set}" = set; then
12961 echo $ECHO_N "(cached) $ECHO_C" >&6
12962 else
12963 if test -n "$MOC"; then
12964 ac_cv_prog_MOC="$MOC" # Let the user override the test.
12965 else
12966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12967 for as_dir in $PATH
12968 do
12969 IFS=$as_save_IFS
12970 test -z "$as_dir" && as_dir=.
12971 for ac_exec_ext in '' $ac_executable_extensions; do
12972 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12973 ac_cv_prog_MOC="moc-qt4"
12974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12975 break 2
12976 fi
12977 done
12978 done
12979
12980 fi
12981 fi
12982 MOC=$ac_cv_prog_MOC
12983 if test -n "$MOC"; then
12984 echo "$as_me:$LINENO: result: $MOC" >&5
12985 echo "${ECHO_T}$MOC" >&6
12986 else
12987 echo "$as_me:$LINENO: result: no" >&5
12988 echo "${ECHO_T}no" >&6
12989 fi
12990
12991 fi
12992 if test "x$HAVE_QT4" = "xno"; then
12993 { echo "$as_me:$LINENO: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&5
12994 echo "$as_me: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&6;}
12995 case "$host_os" in
12996 darwin*)
12997
12998 # Check whether --with-qt4dir or --without-qt4dir was given.
12999 if test "${with_qt4dir+set}" = set; then
13000 withval="$with_qt4dir"
13001 QT4DIR=$withval
13002
13003 fi;
13004 if test x"$QT4DIR" = x ; then
13005 { { echo "$as_me:$LINENO: error: *** No path for Qt4 --with-qt4dir option given" >&5
13006 echo "$as_me: error: *** No path for Qt4 --with-qt4dir option given" >&2;}
13007 { (exit 1); exit 1; }; }
13008 fi
13009 echo "$as_me:$LINENO: result: QT4DIR... $QT4DIR" >&5
13010 echo "${ECHO_T}QT4DIR... $QT4DIR" >&6
13011 # Extract the first word of "moc", so it can be a program name with args.
13012 set dummy moc; ac_word=$2
13013 echo "$as_me:$LINENO: checking for $ac_word" >&5
13014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13015 if test "${ac_cv_prog_MOC+set}" = set; then
13016 echo $ECHO_N "(cached) $ECHO_C" >&6
13017 else
13018 if test -n "$MOC"; then
13019 ac_cv_prog_MOC="$MOC" # Let the user override the test.
13020 else
13021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13022 for as_dir in $QT4DIR/bin
13023 do
13024 IFS=$as_save_IFS
13025 test -z "$as_dir" && as_dir=.
13026 for ac_exec_ext in '' $ac_executable_extensions; do
13027 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13028 ac_cv_prog_MOC="$QT4DIR/bin/moc"
13029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13030 break 2
13031 fi
13032 done
13033 done
13034
13035 fi
13036 fi
13037 MOC=$ac_cv_prog_MOC
13038 if test -n "$MOC"; then
13039 echo "$as_me:$LINENO: result: $MOC" >&5
13040 echo "${ECHO_T}$MOC" >&6
13041 else
13042 echo "$as_me:$LINENO: result: no" >&5
13043 echo "${ECHO_T}no" >&6
13044 fi
13045
13046 if test x"$MOC" = x; then
13047 { { echo "$as_me:$LINENO: error: *** This is not the right Qt installation" >&5
13048 echo "$as_me: error: *** This is not the right Qt installation" >&2;}
13049 { (exit 1); exit 1; }; }
13050 fi
13051 QT_CFLAGS="-F$QT4DIR/lib -I$QT4DIR/lib/QtCore.framework/Headers"
13052 QT_CFLAGS="$QT_CFLAGS -I$QT4DIR/lib/QtGui.framework/Headers"
13053 QT_LIBS="-Xlinker -F$QT4DIR/lib -Xlinker -framework -Xlinker QtCore"
13054 QT_LIBS="$QT_LIBS -Xlinker -framework -Xlinker QtGui"
13055 ;;
13056 *)
13057 { { echo "$as_me:$LINENO: error: *** Please check PKG_CONFIG_PATH or the version
13058 of your installed Qt4 installation." >&5
13059 echo "$as_me: error: *** Please check PKG_CONFIG_PATH or the version
13060 of your installed Qt4 installation." >&2;}
13061 { (exit 1); exit 1; }; }
13062 ;;
13063 esac
13064 fi
13065 { echo "$as_me:$LINENO: Set QT_CFLAGS... $QT_CFLAGS" >&5
13066 echo "$as_me: Set QT_CFLAGS... $QT_CFLAGS" >&6;}
13067
13068
13069 fi
13070 echo "$as_me:$LINENO: checking for MSG_NOSIGNAL" >&5
13071 echo $ECHO_N "checking for MSG_NOSIGNAL... $ECHO_C" >&6
13072 cat >conftest.$ac_ext <<_ACEOF
13073 /* confdefs.h. */
13074 _ACEOF
13075 cat confdefs.h >>conftest.$ac_ext
13076 cat >>conftest.$ac_ext <<_ACEOF
13077 /* end confdefs.h. */
13078 #include <sys/socket.h>
13079 int
13080 main ()
13081 {
13082 int f = MSG_NOSIGNAL;
13083 ;
13084 return 0;
13085 }
13086 _ACEOF
13087 rm -f conftest.$ac_objext
13088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13089 (eval $ac_compile) 2>conftest.er1
13090 ac_status=$?
13091 grep -v '^ *+' conftest.er1 >conftest.err
13092 rm -f conftest.er1
13093 cat conftest.err >&5
13094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13095 (exit $ac_status); } &&
13096 { ac_try='test -z "$ac_c_werror_flag"
13097 || test ! -s conftest.err'
13098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13099 (eval $ac_try) 2>&5
13100 ac_status=$?
13101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13102 (exit $ac_status); }; } &&
13103 { ac_try='test -s conftest.$ac_objext'
13104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13105 (eval $ac_try) 2>&5
13106 ac_status=$?
13107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13108 (exit $ac_status); }; }; then
13109 echo "$as_me:$LINENO: result: yes" >&5
13110 echo "${ECHO_T}yes" >&6
13111
13112 cat >>confdefs.h <<\_ACEOF
13113 #define HAVE_MSG_NOSIGNAL 1
13114 _ACEOF
13115
13116 else
13117 echo "$as_me: failed program was:" >&5
13118 sed 's/^/| /' conftest.$ac_ext >&5
13119
13120 echo "$as_me:$LINENO: result: no" >&5
13121 echo "${ECHO_T}no" >&6
13122
13123 fi
13124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13125 echo "$as_me:$LINENO: checking for SO_NOSIGPIPE " >&5
13126 echo $ECHO_N "checking for SO_NOSIGPIPE ... $ECHO_C" >&6
13127 cat >conftest.$ac_ext <<_ACEOF
13128 /* confdefs.h. */
13129 _ACEOF
13130 cat confdefs.h >>conftest.$ac_ext
13131 cat >>conftest.$ac_ext <<_ACEOF
13132 /* end confdefs.h. */
13133 #include <sys/socket.h>
13134 int
13135 main ()
13136 {
13137 int f = SO_NOSIGPIPE;
13138 ;
13139 return 0;
13140 }
13141 _ACEOF
13142 rm -f conftest.$ac_objext
13143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13144 (eval $ac_compile) 2>conftest.er1
13145 ac_status=$?
13146 grep -v '^ *+' conftest.er1 >conftest.err
13147 rm -f conftest.er1
13148 cat conftest.err >&5
13149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13150 (exit $ac_status); } &&
13151 { ac_try='test -z "$ac_c_werror_flag"
13152 || test ! -s conftest.err'
13153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13154 (eval $ac_try) 2>&5
13155 ac_status=$?
13156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13157 (exit $ac_status); }; } &&
13158 { ac_try='test -s conftest.$ac_objext'
13159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13160 (eval $ac_try) 2>&5
13161 ac_status=$?
13162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13163 (exit $ac_status); }; }; then
13164 echo "$as_me:$LINENO: result: yes" >&5
13165 echo "${ECHO_T}yes" >&6
13166
13167 cat >>confdefs.h <<\_ACEOF
13168 #define HAVE_SO_NOSIGPIPE 1
13169 _ACEOF
13170
13171 else
13172 echo "$as_me: failed program was:" >&5
13173 sed 's/^/| /' conftest.$ac_ext >&5
13174
13175 echo "$as_me:$LINENO: result: no" >&5
13176 echo "${ECHO_T}no" >&6
13177
13178 fi
13179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13180
13181 if test "x${COMPILE_PLUGIN}" = xyes; then
13182
13183 succeeded=no
13184
13185 if test -z "$PKG_CONFIG"; then
13186 # Extract the first word of "pkg-config", so it can be a program name with args.
13187 set dummy pkg-config; ac_word=$2
13188 echo "$as_me:$LINENO: checking for $ac_word" >&5
13189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13190 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13191 echo $ECHO_N "(cached) $ECHO_C" >&6
13192 else
13193 case $PKG_CONFIG in
13194 [\\/]* | ?:[\\/]*)
13195 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13196 ;;
13197 *)
13198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13199 for as_dir in $PATH
13200 do
13201 IFS=$as_save_IFS
13202 test -z "$as_dir" && as_dir=.
13203 for ac_exec_ext in '' $ac_executable_extensions; do
13204 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13205 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13207 break 2
13208 fi
13209 done
13210 done
13211
13212 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13213 ;;
13214 esac
13215 fi
13216 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13217
13218 if test -n "$PKG_CONFIG"; then
13219 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13220 echo "${ECHO_T}$PKG_CONFIG" >&6
13221 else
13222 echo "$as_me:$LINENO: result: no" >&5
13223 echo "${ECHO_T}no" >&6
13224 fi
13225
13226 fi
13227
13228 if test "$PKG_CONFIG" = "no" ; then
13229 echo "*** The pkg-config script could not be found. Make sure it is"
13230 echo "*** in your path, or set the PKG_CONFIG environment variable"
13231 echo "*** to the full path to pkg-config."
13232 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13233 else
13234 PKG_CONFIG_MIN_VERSION=0.9.0
13235 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13236 echo "$as_me:$LINENO: checking for mozilla-plugin" >&5
13237 echo $ECHO_N "checking for mozilla-plugin... $ECHO_C" >&6
13238
13239 if $PKG_CONFIG --exists "mozilla-plugin" ; then
13240 echo "$as_me:$LINENO: result: yes" >&5
13241 echo "${ECHO_T}yes" >&6
13242 succeeded=yes
13243
13244 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13245 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13246 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "mozilla-plugin"`
13247 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13248 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13249
13250 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13251 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13252 MOZILLA_LIBS=`$PKG_CONFIG --libs "mozilla-plugin"`
13253 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13254 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13255 else
13256 MOZILLA_CFLAGS=""
13257 MOZILLA_LIBS=""
13258 ## If we have a custom action on failure, don't print errors, but
13259 ## do set a variable so people can do so.
13260 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-plugin"`
13261
13262 fi
13263
13264
13265
13266 else
13267 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13268 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13269 fi
13270 fi
13271
13272 if test $succeeded = yes; then
13273 MOZILLA_FOUND=yes
13274 else
13275 MOZILLA_FOUND=no
13276 fi
13277
13278 if test "x${MOZILLA_FOUND}" = xno; then
13279
13280 succeeded=no
13281
13282 if test -z "$PKG_CONFIG"; then
13283 # Extract the first word of "pkg-config", so it can be a program name with args.
13284 set dummy pkg-config; ac_word=$2
13285 echo "$as_me:$LINENO: checking for $ac_word" >&5
13286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13287 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13288 echo $ECHO_N "(cached) $ECHO_C" >&6
13289 else
13290 case $PKG_CONFIG in
13291 [\\/]* | ?:[\\/]*)
13292 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13293 ;;
13294 *)
13295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13296 for as_dir in $PATH
13297 do
13298 IFS=$as_save_IFS
13299 test -z "$as_dir" && as_dir=.
13300 for ac_exec_ext in '' $ac_executable_extensions; do
13301 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13302 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13304 break 2
13305 fi
13306 done
13307 done
13308
13309 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13310 ;;
13311 esac
13312 fi
13313 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13314
13315 if test -n "$PKG_CONFIG"; then
13316 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13317 echo "${ECHO_T}$PKG_CONFIG" >&6
13318 else
13319 echo "$as_me:$LINENO: result: no" >&5
13320 echo "${ECHO_T}no" >&6
13321 fi
13322
13323 fi
13324
13325 if test "$PKG_CONFIG" = "no" ; then
13326 echo "*** The pkg-config script could not be found. Make sure it is"
13327 echo "*** in your path, or set the PKG_CONFIG environment variable"
13328 echo "*** to the full path to pkg-config."
13329 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13330 else
13331 PKG_CONFIG_MIN_VERSION=0.9.0
13332 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13333 echo "$as_me:$LINENO: checking for firefox-plugin" >&5
13334 echo $ECHO_N "checking for firefox-plugin... $ECHO_C" >&6
13335
13336 if $PKG_CONFIG --exists "firefox-plugin" ; then
13337 echo "$as_me:$LINENO: result: yes" >&5
13338 echo "${ECHO_T}yes" >&6
13339 succeeded=yes
13340
13341 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13342 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13343 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "firefox-plugin"`
13344 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13345 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13346
13347 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13348 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13349 MOZILLA_LIBS=`$PKG_CONFIG --libs "firefox-plugin"`
13350 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13351 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13352 else
13353 MOZILLA_CFLAGS=""
13354 MOZILLA_LIBS=""
13355 ## If we have a custom action on failure, don't print errors, but
13356 ## do set a variable so people can do so.
13357 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "firefox-plugin"`
13358
13359 fi
13360
13361
13362
13363 else
13364 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13365 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13366 fi
13367 fi
13368
13369 if test $succeeded = yes; then
13370 MOZILLA_FOUND=yes
13371 else
13372 MOZILLA_FOUND=no
13373 fi
13374
13375 fi
13376 if test "x${MOZILLA_FOUND}" = xno; then
13377
13378 succeeded=no
13379
13380 if test -z "$PKG_CONFIG"; then
13381 # Extract the first word of "pkg-config", so it can be a program name with args.
13382 set dummy pkg-config; ac_word=$2
13383 echo "$as_me:$LINENO: checking for $ac_word" >&5
13384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13385 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13386 echo $ECHO_N "(cached) $ECHO_C" >&6
13387 else
13388 case $PKG_CONFIG in
13389 [\\/]* | ?:[\\/]*)
13390 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13391 ;;
13392 *)
13393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13394 for as_dir in $PATH
13395 do
13396 IFS=$as_save_IFS
13397 test -z "$as_dir" && as_dir=.
13398 for ac_exec_ext in '' $ac_executable_extensions; do
13399 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13400 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13402 break 2
13403 fi
13404 done
13405 done
13406
13407 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13408 ;;
13409 esac
13410 fi
13411 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13412
13413 if test -n "$PKG_CONFIG"; then
13414 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13415 echo "${ECHO_T}$PKG_CONFIG" >&6
13416 else
13417 echo "$as_me:$LINENO: result: no" >&5
13418 echo "${ECHO_T}no" >&6
13419 fi
13420
13421 fi
13422
13423 if test "$PKG_CONFIG" = "no" ; then
13424 echo "*** The pkg-config script could not be found. Make sure it is"
13425 echo "*** in your path, or set the PKG_CONFIG environment variable"
13426 echo "*** to the full path to pkg-config."
13427 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13428 else
13429 PKG_CONFIG_MIN_VERSION=0.9.0
13430 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13431 echo "$as_me:$LINENO: checking for xulrunner-plugin" >&5
13432 echo $ECHO_N "checking for xulrunner-plugin... $ECHO_C" >&6
13433
13434 if $PKG_CONFIG --exists "xulrunner-plugin" ; then
13435 echo "$as_me:$LINENO: result: yes" >&5
13436 echo "${ECHO_T}yes" >&6
13437 succeeded=yes
13438
13439 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13440 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13441 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "xulrunner-plugin"`
13442 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13443 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13444
13445 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13446 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13447 MOZILLA_LIBS=`$PKG_CONFIG --libs "xulrunner-plugin"`
13448 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13449 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13450 else
13451 MOZILLA_CFLAGS=""
13452 MOZILLA_LIBS=""
13453 ## If we have a custom action on failure, don't print errors, but
13454 ## do set a variable so people can do so.
13455 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xulrunner-plugin"`
13456
13457 fi
13458
13459
13460
13461 else
13462 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13463 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13464 fi
13465 fi
13466
13467 if test $succeeded = yes; then
13468 MOZILLA_FOUND=yes
13469 else
13470 MOZILLA_FOUND=no
13471 fi
13472
13473 fi
13474 if test "x${MOZILLA_FOUND}" = xno; then
13475
13476 succeeded=no
13477
13478 if test -z "$PKG_CONFIG"; then
13479 # Extract the first word of "pkg-config", so it can be a program name with args.
13480 set dummy pkg-config; ac_word=$2
13481 echo "$as_me:$LINENO: checking for $ac_word" >&5
13482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13483 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13484 echo $ECHO_N "(cached) $ECHO_C" >&6
13485 else
13486 case $PKG_CONFIG in
13487 [\\/]* | ?:[\\/]*)
13488 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13489 ;;
13490 *)
13491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13492 for as_dir in $PATH
13493 do
13494 IFS=$as_save_IFS
13495 test -z "$as_dir" && as_dir=.
13496 for ac_exec_ext in '' $ac_executable_extensions; do
13497 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13498 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13500 break 2
13501 fi
13502 done
13503 done
13504
13505 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13506 ;;
13507 esac
13508 fi
13509 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13510
13511 if test -n "$PKG_CONFIG"; then
13512 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13513 echo "${ECHO_T}$PKG_CONFIG" >&6
13514 else
13515 echo "$as_me:$LINENO: result: no" >&5
13516 echo "${ECHO_T}no" >&6
13517 fi
13518
13519 fi
13520
13521 if test "$PKG_CONFIG" = "no" ; then
13522 echo "*** The pkg-config script could not be found. Make sure it is"
13523 echo "*** in your path, or set the PKG_CONFIG environment variable"
13524 echo "*** to the full path to pkg-config."
13525 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13526 else
13527 PKG_CONFIG_MIN_VERSION=0.9.0
13528 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13529 echo "$as_me:$LINENO: checking for mozilla-firefox-plugin" >&5
13530 echo $ECHO_N "checking for mozilla-firefox-plugin... $ECHO_C" >&6
13531
13532 if $PKG_CONFIG --exists "mozilla-firefox-plugin" ; then
13533 echo "$as_me:$LINENO: result: yes" >&5
13534 echo "${ECHO_T}yes" >&6
13535 succeeded=yes
13536
13537 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13538 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13539 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "mozilla-firefox-plugin"`
13540 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13541 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13542
13543 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13544 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13545 MOZILLA_LIBS=`$PKG_CONFIG --libs "mozilla-firefox-plugin"`
13546 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13547 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13548 else
13549 MOZILLA_CFLAGS=""
13550 MOZILLA_LIBS=""
13551 ## If we have a custom action on failure, don't print errors, but
13552 ## do set a variable so people can do so.
13553 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-firefox-plugin"`
13554
13555 fi
13556
13557
13558
13559 else
13560 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13561 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13562 fi
13563 fi
13564
13565 if test $succeeded = yes; then
13566 MOZILLA_FOUND=yes
13567 else
13568 MOZILLA_FOUND=no
13569 fi
13570
13571 fi
13572 if test "x${MOZILLA_FOUND}" = xno; then
13573
13574 succeeded=no
13575
13576 if test -z "$PKG_CONFIG"; then
13577 # Extract the first word of "pkg-config", so it can be a program name with args.
13578 set dummy pkg-config; ac_word=$2
13579 echo "$as_me:$LINENO: checking for $ac_word" >&5
13580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13581 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13582 echo $ECHO_N "(cached) $ECHO_C" >&6
13583 else
13584 case $PKG_CONFIG in
13585 [\\/]* | ?:[\\/]*)
13586 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13587 ;;
13588 *)
13589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13590 for as_dir in $PATH
13591 do
13592 IFS=$as_save_IFS
13593 test -z "$as_dir" && as_dir=.
13594 for ac_exec_ext in '' $ac_executable_extensions; do
13595 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13596 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13598 break 2
13599 fi
13600 done
13601 done
13602
13603 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13604 ;;
13605 esac
13606 fi
13607 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13608
13609 if test -n "$PKG_CONFIG"; then
13610 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13611 echo "${ECHO_T}$PKG_CONFIG" >&6
13612 else
13613 echo "$as_me:$LINENO: result: no" >&5
13614 echo "${ECHO_T}no" >&6
13615 fi
13616
13617 fi
13618
13619 if test "$PKG_CONFIG" = "no" ; then
13620 echo "*** The pkg-config script could not be found. Make sure it is"
13621 echo "*** in your path, or set the PKG_CONFIG environment variable"
13622 echo "*** to the full path to pkg-config."
13623 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13624 else
13625 PKG_CONFIG_MIN_VERSION=0.9.0
13626 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13627 echo "$as_me:$LINENO: checking for seamonkey-plugin" >&5
13628 echo $ECHO_N "checking for seamonkey-plugin... $ECHO_C" >&6
13629
13630 if $PKG_CONFIG --exists "seamonkey-plugin" ; then
13631 echo "$as_me:$LINENO: result: yes" >&5
13632 echo "${ECHO_T}yes" >&6
13633 succeeded=yes
13634
13635 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13636 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13637 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "seamonkey-plugin"`
13638 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13639 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13640
13641 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13642 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13643 MOZILLA_LIBS=`$PKG_CONFIG --libs "seamonkey-plugin"`
13644 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13645 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13646 else
13647 MOZILLA_CFLAGS=""
13648 MOZILLA_LIBS=""
13649 ## If we have a custom action on failure, don't print errors, but
13650 ## do set a variable so people can do so.
13651 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "seamonkey-plugin"`
13652
13653 fi
13654
13655
13656
13657 else
13658 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13659 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13660 fi
13661 fi
13662
13663 if test $succeeded = yes; then
13664 MOZILLA_FOUND=yes
13665 else
13666 MOZILLA_FOUND=no
13667 fi
13668
13669 fi
13670
13671 succeeded=no
13672
13673 if test -z "$PKG_CONFIG"; then
13674 # Extract the first word of "pkg-config", so it can be a program name with args.
13675 set dummy pkg-config; ac_word=$2
13676 echo "$as_me:$LINENO: checking for $ac_word" >&5
13677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13678 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13679 echo $ECHO_N "(cached) $ECHO_C" >&6
13680 else
13681 case $PKG_CONFIG in
13682 [\\/]* | ?:[\\/]*)
13683 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13684 ;;
13685 *)
13686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13687 for as_dir in $PATH
13688 do
13689 IFS=$as_save_IFS
13690 test -z "$as_dir" && as_dir=.
13691 for ac_exec_ext in '' $ac_executable_extensions; do
13692 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13693 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13695 break 2
13696 fi
13697 done
13698 done
13699
13700 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13701 ;;
13702 esac
13703 fi
13704 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13705
13706 if test -n "$PKG_CONFIG"; then
13707 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13708 echo "${ECHO_T}$PKG_CONFIG" >&6
13709 else
13710 echo "$as_me:$LINENO: result: no" >&5
13711 echo "${ECHO_T}no" >&6
13712 fi
13713
13714 fi
13715
13716 if test "$PKG_CONFIG" = "no" ; then
13717 echo "*** The pkg-config script could not be found. Make sure it is"
13718 echo "*** in your path, or set the PKG_CONFIG environment variable"
13719 echo "*** to the full path to pkg-config."
13720 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13721 else
13722 PKG_CONFIG_MIN_VERSION=0.9.0
13723 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13724 echo "$as_me:$LINENO: checking for glib-2.0" >&5
13725 echo $ECHO_N "checking for glib-2.0... $ECHO_C" >&6
13726
13727 if $PKG_CONFIG --exists "glib-2.0" ; then
13728 echo "$as_me:$LINENO: result: yes" >&5
13729 echo "${ECHO_T}yes" >&6
13730 succeeded=yes
13731
13732 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
13733 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
13734 GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0"`
13735 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
13736 echo "${ECHO_T}$GLIB_CFLAGS" >&6
13737
13738 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
13739 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
13740 GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0"`
13741 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
13742 echo "${ECHO_T}$GLIB_LIBS" >&6
13743 else
13744 GLIB_CFLAGS=""
13745 GLIB_LIBS=""
13746 ## If we have a custom action on failure, don't print errors, but
13747 ## do set a variable so people can do so.
13748 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
13749 echo $GLIB_PKG_ERRORS
13750 fi
13751
13752
13753
13754 else
13755 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13756 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13757 fi
13758 fi
13759
13760 if test $succeeded = yes; then
13761 :
13762 else
13763 { { echo "$as_me:$LINENO: error: Library requirements (glib-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
13764 echo "$as_me: error: Library requirements (glib-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
13765 { (exit 1); exit 1; }; }
13766 fi
13767
13768
13769
13770
13771
13772
13773
13774 PLUGIN_DIR=$HOME/.mozilla/plugins/
13775
13776 fi
13777 fi
13778
13779
13780
13781 # Check whether --with-javah or --without-javah was given.
13782 if test "${with_javah+set}" = set; then
13783 withval="$with_javah"
13784
13785 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
13786
13787 if test "x${withval}" != x; then
13788 if test -f "${withval}"; then
13789 USER_JAVAH="${withval}"
13790 else
13791 # Extract the first word of ""${withval}"", so it can be a program name with args.
13792 set dummy "${withval}"; ac_word=$2
13793 echo "$as_me:$LINENO: checking for $ac_word" >&5
13794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13795 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
13796 echo $ECHO_N "(cached) $ECHO_C" >&6
13797 else
13798 case $USER_JAVAH in
13799 [\\/]* | ?:[\\/]*)
13800 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
13801 ;;
13802 *)
13803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13804 for as_dir in $PATH
13805 do
13806 IFS=$as_save_IFS
13807 test -z "$as_dir" && as_dir=.
13808 for ac_exec_ext in '' $ac_executable_extensions; do
13809 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13810 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
13811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13812 break 2
13813 fi
13814 done
13815 done
13816
13817 ;;
13818 esac
13819 fi
13820 USER_JAVAH=$ac_cv_path_USER_JAVAH
13821
13822 if test -n "$USER_JAVAH"; then
13823 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
13824 echo "${ECHO_T}$USER_JAVAH" >&6
13825 else
13826 echo "$as_me:$LINENO: result: no" >&5
13827 echo "${ECHO_T}no" >&6
13828 fi
13829
13830 fi
13831 else
13832 for javah_name in gcjh javah; do
13833 # Extract the first word of ""$javah_name"", so it can be a program name with args.
13834 set dummy "$javah_name"; ac_word=$2
13835 echo "$as_me:$LINENO: checking for $ac_word" >&5
13836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13837 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
13838 echo $ECHO_N "(cached) $ECHO_C" >&6
13839 else
13840 case $USER_JAVAH in
13841 [\\/]* | ?:[\\/]*)
13842 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
13843 ;;
13844 *)
13845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13846 for as_dir in $PATH
13847 do
13848 IFS=$as_save_IFS
13849 test -z "$as_dir" && as_dir=.
13850 for ac_exec_ext in '' $ac_executable_extensions; do
13851 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13852 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
13853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13854 break 2
13855 fi
13856 done
13857 done
13858
13859 ;;
13860 esac
13861 fi
13862 USER_JAVAH=$ac_cv_path_USER_JAVAH
13863
13864 if test -n "$USER_JAVAH"; then
13865 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
13866 echo "${ECHO_T}$USER_JAVAH" >&6
13867 else
13868 echo "$as_me:$LINENO: result: no" >&5
13869 echo "${ECHO_T}no" >&6
13870 fi
13871
13872 if test "x${USER_JAVAH}" != x; then
13873 break
13874 fi
13875 done
13876 fi
13877
13878 # if test "x${USER_JAVAH}" = x; then
13879 # echo "configure: cannot find javah" 1>&2
13880 # exit 1
13881 # fi
13882
13883 else
13884
13885 if test "x" != x; then
13886 if test -f ""; then
13887 USER_JAVAH=""
13888 else
13889 # Extract the first word of """", so it can be a program name with args.
13890 set dummy ""; ac_word=$2
13891 echo "$as_me:$LINENO: checking for $ac_word" >&5
13892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13893 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
13894 echo $ECHO_N "(cached) $ECHO_C" >&6
13895 else
13896 case $USER_JAVAH in
13897 [\\/]* | ?:[\\/]*)
13898 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
13899 ;;
13900 *)
13901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13902 for as_dir in $PATH
13903 do
13904 IFS=$as_save_IFS
13905 test -z "$as_dir" && as_dir=.
13906 for ac_exec_ext in '' $ac_executable_extensions; do
13907 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13908 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
13909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13910 break 2
13911 fi
13912 done
13913 done
13914
13915 ;;
13916 esac
13917 fi
13918 USER_JAVAH=$ac_cv_path_USER_JAVAH
13919
13920 if test -n "$USER_JAVAH"; then
13921 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
13922 echo "${ECHO_T}$USER_JAVAH" >&6
13923 else
13924 echo "$as_me:$LINENO: result: no" >&5
13925 echo "${ECHO_T}no" >&6
13926 fi
13927
13928 fi
13929 else
13930 for javah_name in gcjh javah; do
13931 # Extract the first word of ""$javah_name"", so it can be a program name with args.
13932 set dummy "$javah_name"; ac_word=$2
13933 echo "$as_me:$LINENO: checking for $ac_word" >&5
13934 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13935 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
13936 echo $ECHO_N "(cached) $ECHO_C" >&6
13937 else
13938 case $USER_JAVAH in
13939 [\\/]* | ?:[\\/]*)
13940 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
13941 ;;
13942 *)
13943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13944 for as_dir in $PATH
13945 do
13946 IFS=$as_save_IFS
13947 test -z "$as_dir" && as_dir=.
13948 for ac_exec_ext in '' $ac_executable_extensions; do
13949 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13950 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
13951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13952 break 2
13953 fi
13954 done
13955 done
13956
13957 ;;
13958 esac
13959 fi
13960 USER_JAVAH=$ac_cv_path_USER_JAVAH
13961
13962 if test -n "$USER_JAVAH"; then
13963 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
13964 echo "${ECHO_T}$USER_JAVAH" >&6
13965 else
13966 echo "$as_me:$LINENO: result: no" >&5
13967 echo "${ECHO_T}no" >&6
13968 fi
13969
13970 if test "x${USER_JAVAH}" != x; then
13971 break
13972 fi
13973 done
13974 fi
13975
13976 # if test "x${USER_JAVAH}" = x; then
13977 # echo "configure: cannot find javah" 1>&2
13978 # exit 1
13979 # fi
13980
13981 fi
13982
13983 else
13984
13985
13986 if test "x" != x; then
13987 if test -f ""; then
13988 USER_JAVAH=""
13989 else
13990 # Extract the first word of """", so it can be a program name with args.
13991 set dummy ""; ac_word=$2
13992 echo "$as_me:$LINENO: checking for $ac_word" >&5
13993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13994 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
13995 echo $ECHO_N "(cached) $ECHO_C" >&6
13996 else
13997 case $USER_JAVAH in
13998 [\\/]* | ?:[\\/]*)
13999 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
14000 ;;
14001 *)
14002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14003 for as_dir in $PATH
14004 do
14005 IFS=$as_save_IFS
14006 test -z "$as_dir" && as_dir=.
14007 for ac_exec_ext in '' $ac_executable_extensions; do
14008 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14009 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
14010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14011 break 2
14012 fi
14013 done
14014 done
14015
14016 ;;
14017 esac
14018 fi
14019 USER_JAVAH=$ac_cv_path_USER_JAVAH
14020
14021 if test -n "$USER_JAVAH"; then
14022 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
14023 echo "${ECHO_T}$USER_JAVAH" >&6
14024 else
14025 echo "$as_me:$LINENO: result: no" >&5
14026 echo "${ECHO_T}no" >&6
14027 fi
14028
14029 fi
14030 else
14031 for javah_name in gcjh javah; do
14032 # Extract the first word of ""$javah_name"", so it can be a program name with args.
14033 set dummy "$javah_name"; ac_word=$2
14034 echo "$as_me:$LINENO: checking for $ac_word" >&5
14035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14036 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
14037 echo $ECHO_N "(cached) $ECHO_C" >&6
14038 else
14039 case $USER_JAVAH in
14040 [\\/]* | ?:[\\/]*)
14041 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
14042 ;;
14043 *)
14044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14045 for as_dir in $PATH
14046 do
14047 IFS=$as_save_IFS
14048 test -z "$as_dir" && as_dir=.
14049 for ac_exec_ext in '' $ac_executable_extensions; do
14050 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14051 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
14052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14053 break 2
14054 fi
14055 done
14056 done
14057
14058 ;;
14059 esac
14060 fi
14061 USER_JAVAH=$ac_cv_path_USER_JAVAH
14062
14063 if test -n "$USER_JAVAH"; then
14064 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
14065 echo "${ECHO_T}$USER_JAVAH" >&6
14066 else
14067 echo "$as_me:$LINENO: result: no" >&5
14068 echo "${ECHO_T}no" >&6
14069 fi
14070
14071 if test "x${USER_JAVAH}" != x; then
14072 break
14073 fi
14074 done
14075 fi
14076
14077 # if test "x${USER_JAVAH}" = x; then
14078 # echo "configure: cannot find javah" 1>&2
14079 # exit 1
14080 # fi
14081
14082
14083 fi;
14084
14085
14086 if test "x${USER_JAVAH}" != x; then
14087 USER_SPECIFIED_JAVAH_TRUE=
14088 USER_SPECIFIED_JAVAH_FALSE='#'
14089 else
14090 USER_SPECIFIED_JAVAH_TRUE='#'
14091 USER_SPECIFIED_JAVAH_FALSE=
14092 fi
14093
14094
14095
14096
14097 CLASSPATH_INCLUDES="-I\$(top_srcdir)/include -I\$(top_srcdir)/native/jni/classpath -I\$(top_srcdir)/native/jni/native-lib"
14098
14099
14100 if test "x${COMPILE_JNI}" = xyes; then
14101 echo "$as_me:$LINENO: checking jni_md.h support" >&5
14102 echo $ECHO_N "checking jni_md.h support... $ECHO_C" >&6
14103 if test -f ${srcdir}/include/jni_md-${target_cpu}-${target_os}.h; then
14104 echo "$as_me:$LINENO: result: yes" >&5
14105 echo "${ECHO_T}yes" >&6
14106 else
14107 target_cpu=x86
14108 target_os=linux-gnu
14109 { echo "$as_me:$LINENO: WARNING: no" >&5
14110 echo "$as_me: WARNING: no" >&2;}
14111 fi
14112 ac_sources="include/jni_md-${target_cpu}-${target_os}.h"
14113 ac_dests="include/jni_md.h"
14114 while test -n "$ac_sources"; do
14115 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
14116 set $ac_sources; ac_source=$1; shift; ac_sources=$*
14117 ac_config_links_1="$ac_config_links_1 $ac_dest:$ac_source"
14118 done
14119 ac_config_links="$ac_config_links $ac_config_links_1"
14120
14121 fi
14122
14123
14124 user_specified_javac=
14125
14126
14127
14128 # Check whether --with-gcj or --without-gcj was given.
14129 if test "${with_gcj+set}" = set; then
14130 withval="$with_gcj"
14131
14132 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
14133
14134 if test "x${withval}" != x; then
14135 if test -f "${withval}"; then
14136 GCJ="${withval}"
14137 else
14138 # Extract the first word of ""${withval}"", so it can be a program name with args.
14139 set dummy "${withval}"; ac_word=$2
14140 echo "$as_me:$LINENO: checking for $ac_word" >&5
14141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14142 if test "${ac_cv_path_GCJ+set}" = set; then
14143 echo $ECHO_N "(cached) $ECHO_C" >&6
14144 else
14145 case $GCJ in
14146 [\\/]* | ?:[\\/]*)
14147 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
14148 ;;
14149 *)
14150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14151 for as_dir in $PATH
14152 do
14153 IFS=$as_save_IFS
14154 test -z "$as_dir" && as_dir=.
14155 for ac_exec_ext in '' $ac_executable_extensions; do
14156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14157 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
14158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14159 break 2
14160 fi
14161 done
14162 done
14163
14164 ;;
14165 esac
14166 fi
14167 GCJ=$ac_cv_path_GCJ
14168
14169 if test -n "$GCJ"; then
14170 echo "$as_me:$LINENO: result: $GCJ" >&5
14171 echo "${ECHO_T}$GCJ" >&6
14172 else
14173 echo "$as_me:$LINENO: result: no" >&5
14174 echo "${ECHO_T}no" >&6
14175 fi
14176
14177 fi
14178 else
14179 # Extract the first word of ""gcj"", so it can be a program name with args.
14180 set dummy "gcj"; ac_word=$2
14181 echo "$as_me:$LINENO: checking for $ac_word" >&5
14182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14183 if test "${ac_cv_path_GCJ+set}" = set; then
14184 echo $ECHO_N "(cached) $ECHO_C" >&6
14185 else
14186 case $GCJ in
14187 [\\/]* | ?:[\\/]*)
14188 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
14189 ;;
14190 *)
14191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14192 for as_dir in $PATH
14193 do
14194 IFS=$as_save_IFS
14195 test -z "$as_dir" && as_dir=.
14196 for ac_exec_ext in '' $ac_executable_extensions; do
14197 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14198 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
14199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14200 break 2
14201 fi
14202 done
14203 done
14204
14205 ;;
14206 esac
14207 fi
14208 GCJ=$ac_cv_path_GCJ
14209
14210 if test -n "$GCJ"; then
14211 echo "$as_me:$LINENO: result: $GCJ" >&5
14212 echo "${ECHO_T}$GCJ" >&6
14213 else
14214 echo "$as_me:$LINENO: result: no" >&5
14215 echo "${ECHO_T}no" >&6
14216 fi
14217
14218 fi
14219 if test "x$GCJ" != x; then
14220 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
14221 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
14222 ac_ext=c
14223 ac_cpp='$CPP $CPPFLAGS'
14224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14227
14228 cat >conftest.$ac_ext <<_ACEOF
14229 #if __GNUC__ <= 3
14230 #error GCJ 4.0.0 or higher is required
14231 #endif
14232
14233 _ACEOF
14234 $GCJ -E conftest.c > /dev/null
14235 gcj_4_result=$?
14236 if test "x$gcj_4_result" = "x0"; then
14237 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
14238 echo "${ECHO_T}4.0 or higher found" >&6
14239 else
14240 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
14241 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
14242 fi
14243 ac_ext=c
14244 ac_cpp='$CPP $CPPFLAGS'
14245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14248
14249 fi
14250
14251 else
14252 if test "x${withval}" != xno; then
14253
14254 if test "x" != x; then
14255 if test -f ""; then
14256 GCJ=""
14257 else
14258 # Extract the first word of """", so it can be a program name with args.
14259 set dummy ""; ac_word=$2
14260 echo "$as_me:$LINENO: checking for $ac_word" >&5
14261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14262 if test "${ac_cv_path_GCJ+set}" = set; then
14263 echo $ECHO_N "(cached) $ECHO_C" >&6
14264 else
14265 case $GCJ in
14266 [\\/]* | ?:[\\/]*)
14267 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
14268 ;;
14269 *)
14270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14271 for as_dir in $PATH
14272 do
14273 IFS=$as_save_IFS
14274 test -z "$as_dir" && as_dir=.
14275 for ac_exec_ext in '' $ac_executable_extensions; do
14276 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14277 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
14278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14279 break 2
14280 fi
14281 done
14282 done
14283
14284 ;;
14285 esac
14286 fi
14287 GCJ=$ac_cv_path_GCJ
14288
14289 if test -n "$GCJ"; then
14290 echo "$as_me:$LINENO: result: $GCJ" >&5
14291 echo "${ECHO_T}$GCJ" >&6
14292 else
14293 echo "$as_me:$LINENO: result: no" >&5
14294 echo "${ECHO_T}no" >&6
14295 fi
14296
14297 fi
14298 else
14299 # Extract the first word of ""gcj"", so it can be a program name with args.
14300 set dummy "gcj"; ac_word=$2
14301 echo "$as_me:$LINENO: checking for $ac_word" >&5
14302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14303 if test "${ac_cv_path_GCJ+set}" = set; then
14304 echo $ECHO_N "(cached) $ECHO_C" >&6
14305 else
14306 case $GCJ in
14307 [\\/]* | ?:[\\/]*)
14308 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
14309 ;;
14310 *)
14311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14312 for as_dir in $PATH
14313 do
14314 IFS=$as_save_IFS
14315 test -z "$as_dir" && as_dir=.
14316 for ac_exec_ext in '' $ac_executable_extensions; do
14317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14318 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
14319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14320 break 2
14321 fi
14322 done
14323 done
14324
14325 ;;
14326 esac
14327 fi
14328 GCJ=$ac_cv_path_GCJ
14329
14330 if test -n "$GCJ"; then
14331 echo "$as_me:$LINENO: result: $GCJ" >&5
14332 echo "${ECHO_T}$GCJ" >&6
14333 else
14334 echo "$as_me:$LINENO: result: no" >&5
14335 echo "${ECHO_T}no" >&6
14336 fi
14337
14338 fi
14339 if test "x$GCJ" != x; then
14340 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
14341 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
14342 ac_ext=c
14343 ac_cpp='$CPP $CPPFLAGS'
14344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14347
14348 cat >conftest.$ac_ext <<_ACEOF
14349 #if __GNUC__ <= 3
14350 #error GCJ 4.0.0 or higher is required
14351 #endif
14352
14353 _ACEOF
14354 $GCJ -E conftest.c > /dev/null
14355 gcj_4_result=$?
14356 if test "x$gcj_4_result" = "x0"; then
14357 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
14358 echo "${ECHO_T}4.0 or higher found" >&6
14359 else
14360 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
14361 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
14362 fi
14363 ac_ext=c
14364 ac_cpp='$CPP $CPPFLAGS'
14365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14368
14369 fi
14370
14371 fi
14372 fi
14373 user_specified_javac=gcj
14374
14375 else
14376
14377
14378 if test "x" != x; then
14379 if test -f ""; then
14380 GCJ=""
14381 else
14382 # Extract the first word of """", so it can be a program name with args.
14383 set dummy ""; ac_word=$2
14384 echo "$as_me:$LINENO: checking for $ac_word" >&5
14385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14386 if test "${ac_cv_path_GCJ+set}" = set; then
14387 echo $ECHO_N "(cached) $ECHO_C" >&6
14388 else
14389 case $GCJ in
14390 [\\/]* | ?:[\\/]*)
14391 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
14392 ;;
14393 *)
14394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14395 for as_dir in $PATH
14396 do
14397 IFS=$as_save_IFS
14398 test -z "$as_dir" && as_dir=.
14399 for ac_exec_ext in '' $ac_executable_extensions; do
14400 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14401 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
14402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14403 break 2
14404 fi
14405 done
14406 done
14407
14408 ;;
14409 esac
14410 fi
14411 GCJ=$ac_cv_path_GCJ
14412
14413 if test -n "$GCJ"; then
14414 echo "$as_me:$LINENO: result: $GCJ" >&5
14415 echo "${ECHO_T}$GCJ" >&6
14416 else
14417 echo "$as_me:$LINENO: result: no" >&5
14418 echo "${ECHO_T}no" >&6
14419 fi
14420
14421 fi
14422 else
14423 # Extract the first word of ""gcj"", so it can be a program name with args.
14424 set dummy "gcj"; ac_word=$2
14425 echo "$as_me:$LINENO: checking for $ac_word" >&5
14426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14427 if test "${ac_cv_path_GCJ+set}" = set; then
14428 echo $ECHO_N "(cached) $ECHO_C" >&6
14429 else
14430 case $GCJ in
14431 [\\/]* | ?:[\\/]*)
14432 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
14433 ;;
14434 *)
14435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14436 for as_dir in $PATH
14437 do
14438 IFS=$as_save_IFS
14439 test -z "$as_dir" && as_dir=.
14440 for ac_exec_ext in '' $ac_executable_extensions; do
14441 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14442 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
14443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14444 break 2
14445 fi
14446 done
14447 done
14448
14449 ;;
14450 esac
14451 fi
14452 GCJ=$ac_cv_path_GCJ
14453
14454 if test -n "$GCJ"; then
14455 echo "$as_me:$LINENO: result: $GCJ" >&5
14456 echo "${ECHO_T}$GCJ" >&6
14457 else
14458 echo "$as_me:$LINENO: result: no" >&5
14459 echo "${ECHO_T}no" >&6
14460 fi
14461
14462 fi
14463 if test "x$GCJ" != x; then
14464 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
14465 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
14466 ac_ext=c
14467 ac_cpp='$CPP $CPPFLAGS'
14468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14471
14472 cat >conftest.$ac_ext <<_ACEOF
14473 #if __GNUC__ <= 3
14474 #error GCJ 4.0.0 or higher is required
14475 #endif
14476
14477 _ACEOF
14478 $GCJ -E conftest.c > /dev/null
14479 gcj_4_result=$?
14480 if test "x$gcj_4_result" = "x0"; then
14481 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
14482 echo "${ECHO_T}4.0 or higher found" >&6
14483 else
14484 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
14485 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
14486 fi
14487 ac_ext=c
14488 ac_cpp='$CPP $CPPFLAGS'
14489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14492
14493 fi
14494
14495
14496 fi;
14497
14498
14499
14500
14501 # Check whether --with-jikes or --without-jikes was given.
14502 if test "${with_jikes+set}" = set; then
14503 withval="$with_jikes"
14504
14505 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
14506
14507 if test "x${withval}" != x; then
14508 if test -f "${withval}"; then
14509 JIKES="${withval}"
14510 else
14511 # Extract the first word of ""${withval}"", so it can be a program name with args.
14512 set dummy "${withval}"; ac_word=$2
14513 echo "$as_me:$LINENO: checking for $ac_word" >&5
14514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14515 if test "${ac_cv_path_JIKES+set}" = set; then
14516 echo $ECHO_N "(cached) $ECHO_C" >&6
14517 else
14518 case $JIKES in
14519 [\\/]* | ?:[\\/]*)
14520 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
14521 ;;
14522 *)
14523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14524 for as_dir in $PATH
14525 do
14526 IFS=$as_save_IFS
14527 test -z "$as_dir" && as_dir=.
14528 for ac_exec_ext in '' $ac_executable_extensions; do
14529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14530 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
14531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14532 break 2
14533 fi
14534 done
14535 done
14536
14537 ;;
14538 esac
14539 fi
14540 JIKES=$ac_cv_path_JIKES
14541
14542 if test -n "$JIKES"; then
14543 echo "$as_me:$LINENO: result: $JIKES" >&5
14544 echo "${ECHO_T}$JIKES" >&6
14545 else
14546 echo "$as_me:$LINENO: result: no" >&5
14547 echo "${ECHO_T}no" >&6
14548 fi
14549
14550 fi
14551 else
14552 # Extract the first word of ""jikes"", so it can be a program name with args.
14553 set dummy "jikes"; ac_word=$2
14554 echo "$as_me:$LINENO: checking for $ac_word" >&5
14555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14556 if test "${ac_cv_path_JIKES+set}" = set; then
14557 echo $ECHO_N "(cached) $ECHO_C" >&6
14558 else
14559 case $JIKES in
14560 [\\/]* | ?:[\\/]*)
14561 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
14562 ;;
14563 *)
14564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14565 for as_dir in $PATH
14566 do
14567 IFS=$as_save_IFS
14568 test -z "$as_dir" && as_dir=.
14569 for ac_exec_ext in '' $ac_executable_extensions; do
14570 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14571 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
14572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14573 break 2
14574 fi
14575 done
14576 done
14577
14578 ;;
14579 esac
14580 fi
14581 JIKES=$ac_cv_path_JIKES
14582
14583 if test -n "$JIKES"; then
14584 echo "$as_me:$LINENO: result: $JIKES" >&5
14585 echo "${ECHO_T}$JIKES" >&6
14586 else
14587 echo "$as_me:$LINENO: result: no" >&5
14588 echo "${ECHO_T}no" >&6
14589 fi
14590
14591 fi
14592 if test "x$JIKES" != "x"; then
14593 echo "$as_me:$LINENO: checking jikes version" >&5
14594 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
14595 JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
14596 JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
14597 JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
14598 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then
14599 if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then
14600 JIKES=""
14601 fi
14602 fi
14603 if test "x$JIKES" != "x"; then
14604 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
14605 echo "${ECHO_T}$JIKES_VERSION" >&6
14606 else
14607 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
14608 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
14609 fi
14610
14611 JIKESENCODING=
14612 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
14613 JIKESENCODING='-encoding UTF-8'
14614 fi
14615
14616
14617 JIKESWARNINGS="+Pno-switchcheck"
14618 if test "x$JIKES_VERSION_MAJOR" = x"1" ; then
14619 if ! test "x$JIKES_VERSION_MINOR" = x"19"; then
14620 JIKESWARNINGS="$JIKESWARNINGS +Pno-shadow"
14621 fi
14622 fi
14623
14624
14625 fi
14626
14627 else
14628 if test "x${withval}" != xno; then
14629
14630 if test "x" != x; then
14631 if test -f ""; then
14632 JIKES=""
14633 else
14634 # Extract the first word of """", so it can be a program name with args.
14635 set dummy ""; ac_word=$2
14636 echo "$as_me:$LINENO: checking for $ac_word" >&5
14637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14638 if test "${ac_cv_path_JIKES+set}" = set; then
14639 echo $ECHO_N "(cached) $ECHO_C" >&6
14640 else
14641 case $JIKES in
14642 [\\/]* | ?:[\\/]*)
14643 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
14644 ;;
14645 *)
14646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14647 for as_dir in $PATH
14648 do
14649 IFS=$as_save_IFS
14650 test -z "$as_dir" && as_dir=.
14651 for ac_exec_ext in '' $ac_executable_extensions; do
14652 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14653 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
14654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14655 break 2
14656 fi
14657 done
14658 done
14659
14660 ;;
14661 esac
14662 fi
14663 JIKES=$ac_cv_path_JIKES
14664
14665 if test -n "$JIKES"; then
14666 echo "$as_me:$LINENO: result: $JIKES" >&5
14667 echo "${ECHO_T}$JIKES" >&6
14668 else
14669 echo "$as_me:$LINENO: result: no" >&5
14670 echo "${ECHO_T}no" >&6
14671 fi
14672
14673 fi
14674 else
14675 # Extract the first word of ""jikes"", so it can be a program name with args.
14676 set dummy "jikes"; ac_word=$2
14677 echo "$as_me:$LINENO: checking for $ac_word" >&5
14678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14679 if test "${ac_cv_path_JIKES+set}" = set; then
14680 echo $ECHO_N "(cached) $ECHO_C" >&6
14681 else
14682 case $JIKES in
14683 [\\/]* | ?:[\\/]*)
14684 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
14685 ;;
14686 *)
14687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14688 for as_dir in $PATH
14689 do
14690 IFS=$as_save_IFS
14691 test -z "$as_dir" && as_dir=.
14692 for ac_exec_ext in '' $ac_executable_extensions; do
14693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14694 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
14695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14696 break 2
14697 fi
14698 done
14699 done
14700
14701 ;;
14702 esac
14703 fi
14704 JIKES=$ac_cv_path_JIKES
14705
14706 if test -n "$JIKES"; then
14707 echo "$as_me:$LINENO: result: $JIKES" >&5
14708 echo "${ECHO_T}$JIKES" >&6
14709 else
14710 echo "$as_me:$LINENO: result: no" >&5
14711 echo "${ECHO_T}no" >&6
14712 fi
14713
14714 fi
14715 if test "x$JIKES" != "x"; then
14716 echo "$as_me:$LINENO: checking jikes version" >&5
14717 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
14718 JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
14719 JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
14720 JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
14721 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then
14722 if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then
14723 JIKES=""
14724 fi
14725 fi
14726 if test "x$JIKES" != "x"; then
14727 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
14728 echo "${ECHO_T}$JIKES_VERSION" >&6
14729 else
14730 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
14731 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
14732 fi
14733
14734 JIKESENCODING=
14735 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
14736 JIKESENCODING='-encoding UTF-8'
14737 fi
14738
14739
14740 JIKESWARNINGS="+Pno-switchcheck"
14741 if test "x$JIKES_VERSION_MAJOR" = x"1" ; then
14742 if ! test "x$JIKES_VERSION_MINOR" = x"19"; then
14743 JIKESWARNINGS="$JIKESWARNINGS +Pno-shadow"
14744 fi
14745 fi
14746
14747
14748 fi
14749
14750 fi
14751 fi
14752 user_specified_javac=jikes
14753
14754 else
14755
14756
14757 if test "x" != x; then
14758 if test -f ""; then
14759 JIKES=""
14760 else
14761 # Extract the first word of """", so it can be a program name with args.
14762 set dummy ""; ac_word=$2
14763 echo "$as_me:$LINENO: checking for $ac_word" >&5
14764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14765 if test "${ac_cv_path_JIKES+set}" = set; then
14766 echo $ECHO_N "(cached) $ECHO_C" >&6
14767 else
14768 case $JIKES in
14769 [\\/]* | ?:[\\/]*)
14770 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
14771 ;;
14772 *)
14773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14774 for as_dir in $PATH
14775 do
14776 IFS=$as_save_IFS
14777 test -z "$as_dir" && as_dir=.
14778 for ac_exec_ext in '' $ac_executable_extensions; do
14779 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14780 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
14781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14782 break 2
14783 fi
14784 done
14785 done
14786
14787 ;;
14788 esac
14789 fi
14790 JIKES=$ac_cv_path_JIKES
14791
14792 if test -n "$JIKES"; then
14793 echo "$as_me:$LINENO: result: $JIKES" >&5
14794 echo "${ECHO_T}$JIKES" >&6
14795 else
14796 echo "$as_me:$LINENO: result: no" >&5
14797 echo "${ECHO_T}no" >&6
14798 fi
14799
14800 fi
14801 else
14802 # Extract the first word of ""jikes"", so it can be a program name with args.
14803 set dummy "jikes"; ac_word=$2
14804 echo "$as_me:$LINENO: checking for $ac_word" >&5
14805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14806 if test "${ac_cv_path_JIKES+set}" = set; then
14807 echo $ECHO_N "(cached) $ECHO_C" >&6
14808 else
14809 case $JIKES in
14810 [\\/]* | ?:[\\/]*)
14811 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
14812 ;;
14813 *)
14814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14815 for as_dir in $PATH
14816 do
14817 IFS=$as_save_IFS
14818 test -z "$as_dir" && as_dir=.
14819 for ac_exec_ext in '' $ac_executable_extensions; do
14820 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14821 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
14822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14823 break 2
14824 fi
14825 done
14826 done
14827
14828 ;;
14829 esac
14830 fi
14831 JIKES=$ac_cv_path_JIKES
14832
14833 if test -n "$JIKES"; then
14834 echo "$as_me:$LINENO: result: $JIKES" >&5
14835 echo "${ECHO_T}$JIKES" >&6
14836 else
14837 echo "$as_me:$LINENO: result: no" >&5
14838 echo "${ECHO_T}no" >&6
14839 fi
14840
14841 fi
14842 if test "x$JIKES" != "x"; then
14843 echo "$as_me:$LINENO: checking jikes version" >&5
14844 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
14845 JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
14846 JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
14847 JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
14848 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then
14849 if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then
14850 JIKES=""
14851 fi
14852 fi
14853 if test "x$JIKES" != "x"; then
14854 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
14855 echo "${ECHO_T}$JIKES_VERSION" >&6
14856 else
14857 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
14858 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
14859 fi
14860
14861 JIKESENCODING=
14862 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
14863 JIKESENCODING='-encoding UTF-8'
14864 fi
14865
14866
14867 JIKESWARNINGS="+Pno-switchcheck"
14868 if test "x$JIKES_VERSION_MAJOR" = x"1" ; then
14869 if ! test "x$JIKES_VERSION_MINOR" = x"19"; then
14870 JIKESWARNINGS="$JIKESWARNINGS +Pno-shadow"
14871 fi
14872 fi
14873
14874
14875 fi
14876
14877
14878 fi;
14879
14880
14881
14882
14883 # Check whether --with-kjc or --without-kjc was given.
14884 if test "${with_kjc+set}" = set; then
14885 withval="$with_kjc"
14886
14887 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
14888
14889 if test "x${withval}" != x; then
14890 if test -f "${withval}"; then
14891 KJC="${withval}"
14892 else
14893 # Extract the first word of ""${withval}"", so it can be a program name with args.
14894 set dummy "${withval}"; ac_word=$2
14895 echo "$as_me:$LINENO: checking for $ac_word" >&5
14896 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14897 if test "${ac_cv_path_KJC+set}" = set; then
14898 echo $ECHO_N "(cached) $ECHO_C" >&6
14899 else
14900 case $KJC in
14901 [\\/]* | ?:[\\/]*)
14902 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
14903 ;;
14904 *)
14905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14906 for as_dir in $PATH
14907 do
14908 IFS=$as_save_IFS
14909 test -z "$as_dir" && as_dir=.
14910 for ac_exec_ext in '' $ac_executable_extensions; do
14911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14912 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
14913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14914 break 2
14915 fi
14916 done
14917 done
14918
14919 ;;
14920 esac
14921 fi
14922 KJC=$ac_cv_path_KJC
14923
14924 if test -n "$KJC"; then
14925 echo "$as_me:$LINENO: result: $KJC" >&5
14926 echo "${ECHO_T}$KJC" >&6
14927 else
14928 echo "$as_me:$LINENO: result: no" >&5
14929 echo "${ECHO_T}no" >&6
14930 fi
14931
14932 fi
14933 else
14934 # Extract the first word of ""kJC"", so it can be a program name with args.
14935 set dummy "kJC"; ac_word=$2
14936 echo "$as_me:$LINENO: checking for $ac_word" >&5
14937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14938 if test "${ac_cv_path_KJC+set}" = set; then
14939 echo $ECHO_N "(cached) $ECHO_C" >&6
14940 else
14941 case $KJC in
14942 [\\/]* | ?:[\\/]*)
14943 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
14944 ;;
14945 *)
14946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14947 for as_dir in $PATH
14948 do
14949 IFS=$as_save_IFS
14950 test -z "$as_dir" && as_dir=.
14951 for ac_exec_ext in '' $ac_executable_extensions; do
14952 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14953 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
14954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14955 break 2
14956 fi
14957 done
14958 done
14959
14960 ;;
14961 esac
14962 fi
14963 KJC=$ac_cv_path_KJC
14964
14965 if test -n "$KJC"; then
14966 echo "$as_me:$LINENO: result: $KJC" >&5
14967 echo "${ECHO_T}$KJC" >&6
14968 else
14969 echo "$as_me:$LINENO: result: no" >&5
14970 echo "${ECHO_T}no" >&6
14971 fi
14972
14973 fi
14974
14975 else
14976 if test "x${withval}" != xno; then
14977
14978 if test "x" != x; then
14979 if test -f ""; then
14980 KJC=""
14981 else
14982 # Extract the first word of """", so it can be a program name with args.
14983 set dummy ""; ac_word=$2
14984 echo "$as_me:$LINENO: checking for $ac_word" >&5
14985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14986 if test "${ac_cv_path_KJC+set}" = set; then
14987 echo $ECHO_N "(cached) $ECHO_C" >&6
14988 else
14989 case $KJC in
14990 [\\/]* | ?:[\\/]*)
14991 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
14992 ;;
14993 *)
14994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14995 for as_dir in $PATH
14996 do
14997 IFS=$as_save_IFS
14998 test -z "$as_dir" && as_dir=.
14999 for ac_exec_ext in '' $ac_executable_extensions; do
15000 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15001 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
15002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15003 break 2
15004 fi
15005 done
15006 done
15007
15008 ;;
15009 esac
15010 fi
15011 KJC=$ac_cv_path_KJC
15012
15013 if test -n "$KJC"; then
15014 echo "$as_me:$LINENO: result: $KJC" >&5
15015 echo "${ECHO_T}$KJC" >&6
15016 else
15017 echo "$as_me:$LINENO: result: no" >&5
15018 echo "${ECHO_T}no" >&6
15019 fi
15020
15021 fi
15022 else
15023 # Extract the first word of ""kJC"", so it can be a program name with args.
15024 set dummy "kJC"; ac_word=$2
15025 echo "$as_me:$LINENO: checking for $ac_word" >&5
15026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15027 if test "${ac_cv_path_KJC+set}" = set; then
15028 echo $ECHO_N "(cached) $ECHO_C" >&6
15029 else
15030 case $KJC in
15031 [\\/]* | ?:[\\/]*)
15032 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
15033 ;;
15034 *)
15035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15036 for as_dir in $PATH
15037 do
15038 IFS=$as_save_IFS
15039 test -z "$as_dir" && as_dir=.
15040 for ac_exec_ext in '' $ac_executable_extensions; do
15041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15042 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
15043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15044 break 2
15045 fi
15046 done
15047 done
15048
15049 ;;
15050 esac
15051 fi
15052 KJC=$ac_cv_path_KJC
15053
15054 if test -n "$KJC"; then
15055 echo "$as_me:$LINENO: result: $KJC" >&5
15056 echo "${ECHO_T}$KJC" >&6
15057 else
15058 echo "$as_me:$LINENO: result: no" >&5
15059 echo "${ECHO_T}no" >&6
15060 fi
15061
15062 fi
15063
15064 fi
15065 fi
15066 user_specified_javac=kjc
15067
15068 else
15069
15070
15071 if test "x" != x; then
15072 if test -f ""; then
15073 KJC=""
15074 else
15075 # Extract the first word of """", so it can be a program name with args.
15076 set dummy ""; ac_word=$2
15077 echo "$as_me:$LINENO: checking for $ac_word" >&5
15078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15079 if test "${ac_cv_path_KJC+set}" = set; then
15080 echo $ECHO_N "(cached) $ECHO_C" >&6
15081 else
15082 case $KJC in
15083 [\\/]* | ?:[\\/]*)
15084 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
15085 ;;
15086 *)
15087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15088 for as_dir in $PATH
15089 do
15090 IFS=$as_save_IFS
15091 test -z "$as_dir" && as_dir=.
15092 for ac_exec_ext in '' $ac_executable_extensions; do
15093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15094 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
15095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15096 break 2
15097 fi
15098 done
15099 done
15100
15101 ;;
15102 esac
15103 fi
15104 KJC=$ac_cv_path_KJC
15105
15106 if test -n "$KJC"; then
15107 echo "$as_me:$LINENO: result: $KJC" >&5
15108 echo "${ECHO_T}$KJC" >&6
15109 else
15110 echo "$as_me:$LINENO: result: no" >&5
15111 echo "${ECHO_T}no" >&6
15112 fi
15113
15114 fi
15115 else
15116 # Extract the first word of ""kJC"", so it can be a program name with args.
15117 set dummy "kJC"; ac_word=$2
15118 echo "$as_me:$LINENO: checking for $ac_word" >&5
15119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15120 if test "${ac_cv_path_KJC+set}" = set; then
15121 echo $ECHO_N "(cached) $ECHO_C" >&6
15122 else
15123 case $KJC in
15124 [\\/]* | ?:[\\/]*)
15125 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
15126 ;;
15127 *)
15128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15129 for as_dir in $PATH
15130 do
15131 IFS=$as_save_IFS
15132 test -z "$as_dir" && as_dir=.
15133 for ac_exec_ext in '' $ac_executable_extensions; do
15134 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15135 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
15136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15137 break 2
15138 fi
15139 done
15140 done
15141
15142 ;;
15143 esac
15144 fi
15145 KJC=$ac_cv_path_KJC
15146
15147 if test -n "$KJC"; then
15148 echo "$as_me:$LINENO: result: $KJC" >&5
15149 echo "${ECHO_T}$KJC" >&6
15150 else
15151 echo "$as_me:$LINENO: result: no" >&5
15152 echo "${ECHO_T}no" >&6
15153 fi
15154
15155 fi
15156
15157
15158 fi;
15159
15160
15161
15162
15163 # Check whether --with-gcjx or --without-gcjx was given.
15164 if test "${with_gcjx+set}" = set; then
15165 withval="$with_gcjx"
15166
15167 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
15168
15169 if test "x${withval}" != x; then
15170 if test -f "${withval}"; then
15171 GCJX="${withval}"
15172 else
15173 # Extract the first word of ""${withval}"", so it can be a program name with args.
15174 set dummy "${withval}"; ac_word=$2
15175 echo "$as_me:$LINENO: checking for $ac_word" >&5
15176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15177 if test "${ac_cv_path_GCJX+set}" = set; then
15178 echo $ECHO_N "(cached) $ECHO_C" >&6
15179 else
15180 case $GCJX in
15181 [\\/]* | ?:[\\/]*)
15182 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
15183 ;;
15184 *)
15185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15186 for as_dir in $PATH
15187 do
15188 IFS=$as_save_IFS
15189 test -z "$as_dir" && as_dir=.
15190 for ac_exec_ext in '' $ac_executable_extensions; do
15191 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15192 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
15193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15194 break 2
15195 fi
15196 done
15197 done
15198
15199 ;;
15200 esac
15201 fi
15202 GCJX=$ac_cv_path_GCJX
15203
15204 if test -n "$GCJX"; then
15205 echo "$as_me:$LINENO: result: $GCJX" >&5
15206 echo "${ECHO_T}$GCJX" >&6
15207 else
15208 echo "$as_me:$LINENO: result: no" >&5
15209 echo "${ECHO_T}no" >&6
15210 fi
15211
15212 fi
15213 else
15214 # Extract the first word of ""gcjx"", so it can be a program name with args.
15215 set dummy "gcjx"; ac_word=$2
15216 echo "$as_me:$LINENO: checking for $ac_word" >&5
15217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15218 if test "${ac_cv_path_GCJX+set}" = set; then
15219 echo $ECHO_N "(cached) $ECHO_C" >&6
15220 else
15221 case $GCJX in
15222 [\\/]* | ?:[\\/]*)
15223 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
15224 ;;
15225 *)
15226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15227 for as_dir in $PATH
15228 do
15229 IFS=$as_save_IFS
15230 test -z "$as_dir" && as_dir=.
15231 for ac_exec_ext in '' $ac_executable_extensions; do
15232 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15233 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
15234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15235 break 2
15236 fi
15237 done
15238 done
15239
15240 ;;
15241 esac
15242 fi
15243 GCJX=$ac_cv_path_GCJX
15244
15245 if test -n "$GCJX"; then
15246 echo "$as_me:$LINENO: result: $GCJX" >&5
15247 echo "${ECHO_T}$GCJX" >&6
15248 else
15249 echo "$as_me:$LINENO: result: no" >&5
15250 echo "${ECHO_T}no" >&6
15251 fi
15252
15253 fi
15254
15255 else
15256 if test "x${withval}" != xno; then
15257
15258 if test "x" != x; then
15259 if test -f ""; then
15260 GCJX=""
15261 else
15262 # Extract the first word of """", so it can be a program name with args.
15263 set dummy ""; ac_word=$2
15264 echo "$as_me:$LINENO: checking for $ac_word" >&5
15265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15266 if test "${ac_cv_path_GCJX+set}" = set; then
15267 echo $ECHO_N "(cached) $ECHO_C" >&6
15268 else
15269 case $GCJX in
15270 [\\/]* | ?:[\\/]*)
15271 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
15272 ;;
15273 *)
15274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15275 for as_dir in $PATH
15276 do
15277 IFS=$as_save_IFS
15278 test -z "$as_dir" && as_dir=.
15279 for ac_exec_ext in '' $ac_executable_extensions; do
15280 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15281 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
15282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15283 break 2
15284 fi
15285 done
15286 done
15287
15288 ;;
15289 esac
15290 fi
15291 GCJX=$ac_cv_path_GCJX
15292
15293 if test -n "$GCJX"; then
15294 echo "$as_me:$LINENO: result: $GCJX" >&5
15295 echo "${ECHO_T}$GCJX" >&6
15296 else
15297 echo "$as_me:$LINENO: result: no" >&5
15298 echo "${ECHO_T}no" >&6
15299 fi
15300
15301 fi
15302 else
15303 # Extract the first word of ""gcjx"", so it can be a program name with args.
15304 set dummy "gcjx"; ac_word=$2
15305 echo "$as_me:$LINENO: checking for $ac_word" >&5
15306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15307 if test "${ac_cv_path_GCJX+set}" = set; then
15308 echo $ECHO_N "(cached) $ECHO_C" >&6
15309 else
15310 case $GCJX in
15311 [\\/]* | ?:[\\/]*)
15312 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
15313 ;;
15314 *)
15315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15316 for as_dir in $PATH
15317 do
15318 IFS=$as_save_IFS
15319 test -z "$as_dir" && as_dir=.
15320 for ac_exec_ext in '' $ac_executable_extensions; do
15321 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15322 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
15323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15324 break 2
15325 fi
15326 done
15327 done
15328
15329 ;;
15330 esac
15331 fi
15332 GCJX=$ac_cv_path_GCJX
15333
15334 if test -n "$GCJX"; then
15335 echo "$as_me:$LINENO: result: $GCJX" >&5
15336 echo "${ECHO_T}$GCJX" >&6
15337 else
15338 echo "$as_me:$LINENO: result: no" >&5
15339 echo "${ECHO_T}no" >&6
15340 fi
15341
15342 fi
15343
15344 fi
15345 fi
15346 user_specified_javac=gcjx
15347
15348 else
15349
15350
15351 if test "x" != x; then
15352 if test -f ""; then
15353 GCJX=""
15354 else
15355 # Extract the first word of """", so it can be a program name with args.
15356 set dummy ""; ac_word=$2
15357 echo "$as_me:$LINENO: checking for $ac_word" >&5
15358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15359 if test "${ac_cv_path_GCJX+set}" = set; then
15360 echo $ECHO_N "(cached) $ECHO_C" >&6
15361 else
15362 case $GCJX in
15363 [\\/]* | ?:[\\/]*)
15364 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
15365 ;;
15366 *)
15367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15368 for as_dir in $PATH
15369 do
15370 IFS=$as_save_IFS
15371 test -z "$as_dir" && as_dir=.
15372 for ac_exec_ext in '' $ac_executable_extensions; do
15373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15374 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
15375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15376 break 2
15377 fi
15378 done
15379 done
15380
15381 ;;
15382 esac
15383 fi
15384 GCJX=$ac_cv_path_GCJX
15385
15386 if test -n "$GCJX"; then
15387 echo "$as_me:$LINENO: result: $GCJX" >&5
15388 echo "${ECHO_T}$GCJX" >&6
15389 else
15390 echo "$as_me:$LINENO: result: no" >&5
15391 echo "${ECHO_T}no" >&6
15392 fi
15393
15394 fi
15395 else
15396 # Extract the first word of ""gcjx"", so it can be a program name with args.
15397 set dummy "gcjx"; ac_word=$2
15398 echo "$as_me:$LINENO: checking for $ac_word" >&5
15399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15400 if test "${ac_cv_path_GCJX+set}" = set; then
15401 echo $ECHO_N "(cached) $ECHO_C" >&6
15402 else
15403 case $GCJX in
15404 [\\/]* | ?:[\\/]*)
15405 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
15406 ;;
15407 *)
15408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15409 for as_dir in $PATH
15410 do
15411 IFS=$as_save_IFS
15412 test -z "$as_dir" && as_dir=.
15413 for ac_exec_ext in '' $ac_executable_extensions; do
15414 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15415 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
15416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15417 break 2
15418 fi
15419 done
15420 done
15421
15422 ;;
15423 esac
15424 fi
15425 GCJX=$ac_cv_path_GCJX
15426
15427 if test -n "$GCJX"; then
15428 echo "$as_me:$LINENO: result: $GCJX" >&5
15429 echo "${ECHO_T}$GCJX" >&6
15430 else
15431 echo "$as_me:$LINENO: result: no" >&5
15432 echo "${ECHO_T}no" >&6
15433 fi
15434
15435 fi
15436
15437
15438 fi;
15439
15440
15441
15442
15443 # Check whether --with-ecj or --without-ecj was given.
15444 if test "${with_ecj+set}" = set; then
15445 withval="$with_ecj"
15446
15447 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
15448
15449 if test "x${withval}" != x; then
15450 if test -f "${withval}"; then
15451 ECJ="${withval}"
15452 else
15453 # Extract the first word of ""${withval}"", so it can be a program name with args.
15454 set dummy "${withval}"; ac_word=$2
15455 echo "$as_me:$LINENO: checking for $ac_word" >&5
15456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15457 if test "${ac_cv_path_ECJ+set}" = set; then
15458 echo $ECHO_N "(cached) $ECHO_C" >&6
15459 else
15460 case $ECJ in
15461 [\\/]* | ?:[\\/]*)
15462 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
15463 ;;
15464 *)
15465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15466 for as_dir in $PATH
15467 do
15468 IFS=$as_save_IFS
15469 test -z "$as_dir" && as_dir=.
15470 for ac_exec_ext in '' $ac_executable_extensions; do
15471 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15472 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
15473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15474 break 2
15475 fi
15476 done
15477 done
15478
15479 ;;
15480 esac
15481 fi
15482 ECJ=$ac_cv_path_ECJ
15483
15484 if test -n "$ECJ"; then
15485 echo "$as_me:$LINENO: result: $ECJ" >&5
15486 echo "${ECHO_T}$ECJ" >&6
15487 else
15488 echo "$as_me:$LINENO: result: no" >&5
15489 echo "${ECHO_T}no" >&6
15490 fi
15491
15492 fi
15493 else
15494 # Extract the first word of ""ecj"", so it can be a program name with args.
15495 set dummy "ecj"; ac_word=$2
15496 echo "$as_me:$LINENO: checking for $ac_word" >&5
15497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15498 if test "${ac_cv_path_ECJ+set}" = set; then
15499 echo $ECHO_N "(cached) $ECHO_C" >&6
15500 else
15501 case $ECJ in
15502 [\\/]* | ?:[\\/]*)
15503 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
15504 ;;
15505 *)
15506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15507 for as_dir in $PATH
15508 do
15509 IFS=$as_save_IFS
15510 test -z "$as_dir" && as_dir=.
15511 for ac_exec_ext in '' $ac_executable_extensions; do
15512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15513 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
15514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15515 break 2
15516 fi
15517 done
15518 done
15519
15520 ;;
15521 esac
15522 fi
15523 ECJ=$ac_cv_path_ECJ
15524
15525 if test -n "$ECJ"; then
15526 echo "$as_me:$LINENO: result: $ECJ" >&5
15527 echo "${ECHO_T}$ECJ" >&6
15528 else
15529 echo "$as_me:$LINENO: result: no" >&5
15530 echo "${ECHO_T}no" >&6
15531 fi
15532
15533 fi
15534
15535 else
15536 if test "x${withval}" != xno; then
15537
15538 if test "x" != x; then
15539 if test -f ""; then
15540 ECJ=""
15541 else
15542 # Extract the first word of """", so it can be a program name with args.
15543 set dummy ""; ac_word=$2
15544 echo "$as_me:$LINENO: checking for $ac_word" >&5
15545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15546 if test "${ac_cv_path_ECJ+set}" = set; then
15547 echo $ECHO_N "(cached) $ECHO_C" >&6
15548 else
15549 case $ECJ in
15550 [\\/]* | ?:[\\/]*)
15551 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
15552 ;;
15553 *)
15554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15555 for as_dir in $PATH
15556 do
15557 IFS=$as_save_IFS
15558 test -z "$as_dir" && as_dir=.
15559 for ac_exec_ext in '' $ac_executable_extensions; do
15560 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15561 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
15562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15563 break 2
15564 fi
15565 done
15566 done
15567
15568 ;;
15569 esac
15570 fi
15571 ECJ=$ac_cv_path_ECJ
15572
15573 if test -n "$ECJ"; then
15574 echo "$as_me:$LINENO: result: $ECJ" >&5
15575 echo "${ECHO_T}$ECJ" >&6
15576 else
15577 echo "$as_me:$LINENO: result: no" >&5
15578 echo "${ECHO_T}no" >&6
15579 fi
15580
15581 fi
15582 else
15583 # Extract the first word of ""ecj"", so it can be a program name with args.
15584 set dummy "ecj"; ac_word=$2
15585 echo "$as_me:$LINENO: checking for $ac_word" >&5
15586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15587 if test "${ac_cv_path_ECJ+set}" = set; then
15588 echo $ECHO_N "(cached) $ECHO_C" >&6
15589 else
15590 case $ECJ in
15591 [\\/]* | ?:[\\/]*)
15592 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
15593 ;;
15594 *)
15595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15596 for as_dir in $PATH
15597 do
15598 IFS=$as_save_IFS
15599 test -z "$as_dir" && as_dir=.
15600 for ac_exec_ext in '' $ac_executable_extensions; do
15601 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15602 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
15603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15604 break 2
15605 fi
15606 done
15607 done
15608
15609 ;;
15610 esac
15611 fi
15612 ECJ=$ac_cv_path_ECJ
15613
15614 if test -n "$ECJ"; then
15615 echo "$as_me:$LINENO: result: $ECJ" >&5
15616 echo "${ECHO_T}$ECJ" >&6
15617 else
15618 echo "$as_me:$LINENO: result: no" >&5
15619 echo "${ECHO_T}no" >&6
15620 fi
15621
15622 fi
15623
15624 fi
15625 fi
15626 user_specified_javac=ecj
15627
15628 else
15629
15630
15631 if test "x" != x; then
15632 if test -f ""; then
15633 ECJ=""
15634 else
15635 # Extract the first word of """", so it can be a program name with args.
15636 set dummy ""; ac_word=$2
15637 echo "$as_me:$LINENO: checking for $ac_word" >&5
15638 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15639 if test "${ac_cv_path_ECJ+set}" = set; then
15640 echo $ECHO_N "(cached) $ECHO_C" >&6
15641 else
15642 case $ECJ in
15643 [\\/]* | ?:[\\/]*)
15644 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
15645 ;;
15646 *)
15647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15648 for as_dir in $PATH
15649 do
15650 IFS=$as_save_IFS
15651 test -z "$as_dir" && as_dir=.
15652 for ac_exec_ext in '' $ac_executable_extensions; do
15653 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15654 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
15655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15656 break 2
15657 fi
15658 done
15659 done
15660
15661 ;;
15662 esac
15663 fi
15664 ECJ=$ac_cv_path_ECJ
15665
15666 if test -n "$ECJ"; then
15667 echo "$as_me:$LINENO: result: $ECJ" >&5
15668 echo "${ECHO_T}$ECJ" >&6
15669 else
15670 echo "$as_me:$LINENO: result: no" >&5
15671 echo "${ECHO_T}no" >&6
15672 fi
15673
15674 fi
15675 else
15676 # Extract the first word of ""ecj"", so it can be a program name with args.
15677 set dummy "ecj"; ac_word=$2
15678 echo "$as_me:$LINENO: checking for $ac_word" >&5
15679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15680 if test "${ac_cv_path_ECJ+set}" = set; then
15681 echo $ECHO_N "(cached) $ECHO_C" >&6
15682 else
15683 case $ECJ in
15684 [\\/]* | ?:[\\/]*)
15685 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
15686 ;;
15687 *)
15688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15689 for as_dir in $PATH
15690 do
15691 IFS=$as_save_IFS
15692 test -z "$as_dir" && as_dir=.
15693 for ac_exec_ext in '' $ac_executable_extensions; do
15694 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15695 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
15696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15697 break 2
15698 fi
15699 done
15700 done
15701
15702 ;;
15703 esac
15704 fi
15705 ECJ=$ac_cv_path_ECJ
15706
15707 if test -n "$ECJ"; then
15708 echo "$as_me:$LINENO: result: $ECJ" >&5
15709 echo "${ECHO_T}$ECJ" >&6
15710 else
15711 echo "$as_me:$LINENO: result: no" >&5
15712 echo "${ECHO_T}no" >&6
15713 fi
15714
15715 fi
15716
15717
15718 fi;
15719
15720
15721
15722 if test "x${user_specified_javac}" = x; then
15723
15724
15725 if test "x${GCJ}" != x; then
15726 FOUND_GCJ_TRUE=
15727 FOUND_GCJ_FALSE='#'
15728 else
15729 FOUND_GCJ_TRUE='#'
15730 FOUND_GCJ_FALSE=
15731 fi
15732
15733
15734
15735 if test "x${JIKES}" != x; then
15736 FOUND_JIKES_TRUE=
15737 FOUND_JIKES_FALSE='#'
15738 else
15739 FOUND_JIKES_TRUE='#'
15740 FOUND_JIKES_FALSE=
15741 fi
15742
15743
15744
15745 if test "x${ECJ}" != x; then
15746 FOUND_ECJ_TRUE=
15747 FOUND_ECJ_FALSE='#'
15748 else
15749 FOUND_ECJ_TRUE='#'
15750 FOUND_ECJ_FALSE=
15751 fi
15752
15753 else
15754
15755
15756 if test "x${user_specified_javac}" = xgcj; then
15757 FOUND_GCJ_TRUE=
15758 FOUND_GCJ_FALSE='#'
15759 else
15760 FOUND_GCJ_TRUE='#'
15761 FOUND_GCJ_FALSE=
15762 fi
15763
15764
15765
15766 if test "x${user_specified_javac}" = xjikes; then
15767 FOUND_JIKES_TRUE=
15768 FOUND_JIKES_FALSE='#'
15769 else
15770 FOUND_JIKES_TRUE='#'
15771 FOUND_JIKES_FALSE=
15772 fi
15773
15774
15775
15776 if test "x${user_specified_javac}" = xecj; then
15777 FOUND_ECJ_TRUE=
15778 FOUND_ECJ_FALSE='#'
15779 else
15780 FOUND_ECJ_TRUE='#'
15781 FOUND_ECJ_FALSE=
15782 fi
15783
15784 fi
15785
15786
15787 if test "x${user_specified_javac}" = xkjc; then
15788 FOUND_KJC_TRUE=
15789 FOUND_KJC_FALSE='#'
15790 else
15791 FOUND_KJC_TRUE='#'
15792 FOUND_KJC_FALSE=
15793 fi
15794
15795
15796
15797 if test "x${user_specified_javac}" = xgcjx; then
15798 FOUND_GCJX_TRUE=
15799 FOUND_GCJX_FALSE='#'
15800 else
15801 FOUND_GCJX_TRUE='#'
15802 FOUND_GCJX_FALSE=
15803 fi
15804
15805
15806 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
15807 { { echo "$as_me:$LINENO: error: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx" >&5
15808 echo "$as_me: error: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx" >&2;}
15809 { (exit 1); exit 1; }; }
15810 fi
15811
15812
15813
15814
15815 # Check whether --with-classpath or --without-classpath was given.
15816 if test "${with_classpath+set}" = set; then
15817 withval="$with_classpath"
15818
15819 if test "x${withval}" = xyes; then
15820 # set user classpath to CLASSPATH from env
15821 echo "$as_me:$LINENO: checking for classlib" >&5
15822 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
15823 USER_CLASSLIB=${CLASSPATH}
15824
15825 echo "$as_me:$LINENO: result: ${USER_CLASSLIB}" >&5
15826 echo "${ECHO_T}${USER_CLASSLIB}" >&6
15827 conditional_with_classlib=true
15828 elif test "x${withval}" != x && test "x${withval}" != xno; then
15829 # set user classpath to specified value
15830 echo "$as_me:$LINENO: checking for classlib" >&5
15831 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
15832 USER_CLASSLIB=${withval}
15833
15834 echo "$as_me:$LINENO: result: ${withval}" >&5
15835 echo "${ECHO_T}${withval}" >&6
15836 conditional_with_classlib=true
15837 fi
15838
15839 else
15840 conditional_with_classlib=false
15841 fi;
15842
15843
15844 if test "x${conditional_with_classlib}" = xtrue; then
15845 USER_SPECIFIED_CLASSLIB_TRUE=
15846 USER_SPECIFIED_CLASSLIB_FALSE='#'
15847 else
15848 USER_SPECIFIED_CLASSLIB_TRUE='#'
15849 USER_SPECIFIED_CLASSLIB_FALSE=
15850 fi
15851
15852
15853
15854 # Check whether --with-vm-classes or --without-vm-classes was given.
15855 if test "${with_vm_classes+set}" = set; then
15856 withval="$with_vm_classes"
15857 vm_classes="$with_vm_classes"
15858 else
15859 vm_classes='${top_srcdir}/vm/reference'
15860 fi;
15861
15862
15863
15864 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
15865 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
15866 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
15867 if test "${enable_maintainer_mode+set}" = set; then
15868 enableval="$enable_maintainer_mode"
15869 USE_MAINTAINER_MODE=$enableval
15870 else
15871 USE_MAINTAINER_MODE=no
15872 fi;
15873 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
15874 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
15875
15876
15877 if test $USE_MAINTAINER_MODE = yes; then
15878 MAINTAINER_MODE_TRUE=
15879 MAINTAINER_MODE_FALSE='#'
15880 else
15881 MAINTAINER_MODE_TRUE='#'
15882 MAINTAINER_MODE_FALSE=
15883 fi
15884
15885 MAINT=$MAINTAINER_MODE_TRUE
15886
15887
15888
15889 # Check whether --enable-debug or --disable-debug was given.
15890 if test "${enable_debug+set}" = set; then
15891 enableval="$enable_debug"
15892 case "${enableval}" in
15893 yes)
15894 LIBDEBUG="true"
15895
15896 cat >>confdefs.h <<\_ACEOF
15897 #define DEBUG 1
15898 _ACEOF
15899
15900 ;;
15901 no) LIBDEBUG="false" ;;
15902 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
15903 echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
15904 { (exit 1); exit 1; }; } ;;
15905 esac
15906 else
15907 LIBDEBUG="false"
15908 fi;
15909
15910
15911 # Check whether --enable-load-library or --disable-load-library was given.
15912 if test "${enable_load_library+set}" = set; then
15913 enableval="$enable_load_library"
15914 case "${enableval}" in
15915 yes) INIT_LOAD_LIBRARY="true" ;;
15916 no) INIT_LOAD_LIBRARY="false" ;;
15917 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-load-library" >&5
15918 echo "$as_me: error: bad value ${enableval} for --enable-load-library" >&2;}
15919 { (exit 1); exit 1; }; } ;;
15920 esac
15921 else
15922 INIT_LOAD_LIBRARY="true"
15923 fi;
15924
15925
15926
15927 # Check whether --enable-java-lang-system-explicit-initialization or --disable-java-lang-system-explicit-initialization was given.
15928 if test "${enable_java_lang_system_explicit_initialization+set}" = set; then
15929 enableval="$enable_java_lang_system_explicit_initialization"
15930 case "${enableval}" in
15931 yes|true) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="true" ;;
15932 no|false) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="false" ;;
15933 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&5
15934 echo "$as_me: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&2;}
15935 { (exit 1); exit 1; }; } ;;
15936 esac
15937 else
15938 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="false"
15939 fi;
15940
15941
15942
15943 REMOVE=""
15944
15945
15946 # Extract the first word of "mkdir", so it can be a program name with args.
15947 set dummy mkdir; ac_word=$2
15948 echo "$as_me:$LINENO: checking for $ac_word" >&5
15949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15950 if test "${ac_cv_path_MKDIR+set}" = set; then
15951 echo $ECHO_N "(cached) $ECHO_C" >&6
15952 else
15953 case $MKDIR in
15954 [\\/]* | ?:[\\/]*)
15955 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
15956 ;;
15957 *)
15958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15959 for as_dir in $PATH
15960 do
15961 IFS=$as_save_IFS
15962 test -z "$as_dir" && as_dir=.
15963 for ac_exec_ext in '' $ac_executable_extensions; do
15964 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15965 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
15966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15967 break 2
15968 fi
15969 done
15970 done
15971
15972 ;;
15973 esac
15974 fi
15975 MKDIR=$ac_cv_path_MKDIR
15976
15977 if test -n "$MKDIR"; then
15978 echo "$as_me:$LINENO: result: $MKDIR" >&5
15979 echo "${ECHO_T}$MKDIR" >&6
15980 else
15981 echo "$as_me:$LINENO: result: no" >&5
15982 echo "${ECHO_T}no" >&6
15983 fi
15984
15985 # Extract the first word of "cp", so it can be a program name with args.
15986 set dummy cp; ac_word=$2
15987 echo "$as_me:$LINENO: checking for $ac_word" >&5
15988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15989 if test "${ac_cv_path_CP+set}" = set; then
15990 echo $ECHO_N "(cached) $ECHO_C" >&6
15991 else
15992 case $CP in
15993 [\\/]* | ?:[\\/]*)
15994 ac_cv_path_CP="$CP" # Let the user override the test with a path.
15995 ;;
15996 *)
15997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15998 for as_dir in $PATH
15999 do
16000 IFS=$as_save_IFS
16001 test -z "$as_dir" && as_dir=.
16002 for ac_exec_ext in '' $ac_executable_extensions; do
16003 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16004 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
16005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16006 break 2
16007 fi
16008 done
16009 done
16010
16011 ;;
16012 esac
16013 fi
16014 CP=$ac_cv_path_CP
16015
16016 if test -n "$CP"; then
16017 echo "$as_me:$LINENO: result: $CP" >&5
16018 echo "${ECHO_T}$CP" >&6
16019 else
16020 echo "$as_me:$LINENO: result: no" >&5
16021 echo "${ECHO_T}no" >&6
16022 fi
16023
16024 # Extract the first word of "date", so it can be a program name with args.
16025 set dummy date; ac_word=$2
16026 echo "$as_me:$LINENO: checking for $ac_word" >&5
16027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16028 if test "${ac_cv_path_DATE+set}" = set; then
16029 echo $ECHO_N "(cached) $ECHO_C" >&6
16030 else
16031 case $DATE in
16032 [\\/]* | ?:[\\/]*)
16033 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
16034 ;;
16035 *)
16036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16037 for as_dir in $PATH
16038 do
16039 IFS=$as_save_IFS
16040 test -z "$as_dir" && as_dir=.
16041 for ac_exec_ext in '' $ac_executable_extensions; do
16042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16043 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
16044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16045 break 2
16046 fi
16047 done
16048 done
16049
16050 ;;
16051 esac
16052 fi
16053 DATE=$ac_cv_path_DATE
16054
16055 if test -n "$DATE"; then
16056 echo "$as_me:$LINENO: result: $DATE" >&5
16057 echo "${ECHO_T}$DATE" >&6
16058 else
16059 echo "$as_me:$LINENO: result: no" >&5
16060 echo "${ECHO_T}no" >&6
16061 fi
16062
16063
16064 # Extract the first word of "find", so it can be a program name with args.
16065 set dummy find; ac_word=$2
16066 echo "$as_me:$LINENO: checking for $ac_word" >&5
16067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16068 if test "${ac_cv_path_FIND+set}" = set; then
16069 echo $ECHO_N "(cached) $ECHO_C" >&6
16070 else
16071 case $FIND in
16072 [\\/]* | ?:[\\/]*)
16073 ac_cv_path_FIND="$FIND" # Let the user override the test with a path.
16074 ;;
16075 *)
16076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16077 for as_dir in $PATH
16078 do
16079 IFS=$as_save_IFS
16080 test -z "$as_dir" && as_dir=.
16081 for ac_exec_ext in '' $ac_executable_extensions; do
16082 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16083 ac_cv_path_FIND="$as_dir/$ac_word$ac_exec_ext"
16084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16085 break 2
16086 fi
16087 done
16088 done
16089
16090 ;;
16091 esac
16092 fi
16093 FIND=$ac_cv_path_FIND
16094
16095 if test -n "$FIND"; then
16096 echo "$as_me:$LINENO: result: $FIND" >&5
16097 echo "${ECHO_T}$FIND" >&6
16098 else
16099 echo "$as_me:$LINENO: result: no" >&5
16100 echo "${ECHO_T}no" >&6
16101 fi
16102
16103
16104
16105 # Extract the first word of "zip", so it can be a program name with args.
16106 set dummy zip; ac_word=$2
16107 echo "$as_me:$LINENO: checking for $ac_word" >&5
16108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16109 if test "${ac_cv_path_ZIP+set}" = set; then
16110 echo $ECHO_N "(cached) $ECHO_C" >&6
16111 else
16112 case $ZIP in
16113 [\\/]* | ?:[\\/]*)
16114 ac_cv_path_ZIP="$ZIP" # Let the user override the test with a path.
16115 ;;
16116 *)
16117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16118 for as_dir in $PATH
16119 do
16120 IFS=$as_save_IFS
16121 test -z "$as_dir" && as_dir=.
16122 for ac_exec_ext in '' $ac_executable_extensions; do
16123 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16124 ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext"
16125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16126 break 2
16127 fi
16128 done
16129 done
16130
16131 ;;
16132 esac
16133 fi
16134 ZIP=$ac_cv_path_ZIP
16135
16136 if test -n "$ZIP"; then
16137 echo "$as_me:$LINENO: result: $ZIP" >&5
16138 echo "${ECHO_T}$ZIP" >&6
16139 else
16140 echo "$as_me:$LINENO: result: no" >&5
16141 echo "${ECHO_T}no" >&6
16142 fi
16143
16144
16145 # Check whether --with-fastjar or --without-fastjar was given.
16146 if test "${with_fastjar+set}" = set; then
16147 withval="$with_fastjar"
16148
16149 echo "$as_me:$LINENO: checking for user supplied fastjar" >&5
16150 echo $ECHO_N "checking for user supplied fastjar... $ECHO_C" >&6
16151 FASTJAR=${withval}
16152 echo "$as_me:$LINENO: result: ${FASTJAR}" >&5
16153 echo "${ECHO_T}${FASTJAR}" >&6
16154
16155 else
16156 # Extract the first word of "fastjar", so it can be a program name with args.
16157 set dummy fastjar; ac_word=$2
16158 echo "$as_me:$LINENO: checking for $ac_word" >&5
16159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16160 if test "${ac_cv_path_FASTJAR+set}" = set; then
16161 echo $ECHO_N "(cached) $ECHO_C" >&6
16162 else
16163 case $FASTJAR in
16164 [\\/]* | ?:[\\/]*)
16165 ac_cv_path_FASTJAR="$FASTJAR" # Let the user override the test with a path.
16166 ;;
16167 *)
16168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16169 for as_dir in $PATH
16170 do
16171 IFS=$as_save_IFS
16172 test -z "$as_dir" && as_dir=.
16173 for ac_exec_ext in '' $ac_executable_extensions; do
16174 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16175 ac_cv_path_FASTJAR="$as_dir/$ac_word$ac_exec_ext"
16176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16177 break 2
16178 fi
16179 done
16180 done
16181
16182 ;;
16183 esac
16184 fi
16185 FASTJAR=$ac_cv_path_FASTJAR
16186
16187 if test -n "$FASTJAR"; then
16188 echo "$as_me:$LINENO: result: $FASTJAR" >&5
16189 echo "${ECHO_T}$FASTJAR" >&6
16190 else
16191 echo "$as_me:$LINENO: result: no" >&5
16192 echo "${ECHO_T}no" >&6
16193 fi
16194
16195 fi;
16196 if test x"${FASTJAR}" != x; then
16197 ZIP=""
16198 fi
16199
16200
16201 # Check whether --with-glibj or --without-glibj was given.
16202 if test "${with_glibj+set}" = set; then
16203 withval="$with_glibj"
16204
16205 if test "x${withval}" = xyes || test "x${withval}" = xzip; then
16206 install_class_files=no
16207 build_class_files=yes
16208 use_zip=yes
16209 elif test "x${withval}" = xboth; then
16210 install_class_files=yes
16211 build_class_files=yes
16212 use_zip=yes
16213 elif test "x${withval}" = xflat; then
16214 install_class_files=yes
16215 build_class_files=yes
16216 use_zip=no
16217 elif test "x${withval}" = xno || test "x${withval}" = xnone; then
16218 install_class_files=no
16219 build_class_files=no
16220 use_zip=no
16221 elif test "x${withval}" = xbuild; then
16222 install_class_files=no
16223 build_class_files=yes
16224 use_zip=no
16225 else
16226 { { echo "$as_me:$LINENO: error: unknown value given to --with-glibj" >&5
16227 echo "$as_me: error: unknown value given to --with-glibj" >&2;}
16228 { (exit 1); exit 1; }; }
16229 fi
16230
16231 else
16232
16233 install_class_files=no
16234 use_zip=yes
16235
16236 fi;
16237
16238
16239 if test "x${use_zip}" = xyes; then
16240 INSTALL_GLIBJ_ZIP_TRUE=
16241 INSTALL_GLIBJ_ZIP_FALSE='#'
16242 else
16243 INSTALL_GLIBJ_ZIP_TRUE='#'
16244 INSTALL_GLIBJ_ZIP_FALSE=
16245 fi
16246
16247
16248
16249 if test "x${install_class_files}" = xyes; then
16250 INSTALL_CLASS_FILES_TRUE=
16251 INSTALL_CLASS_FILES_FALSE='#'
16252 else
16253 INSTALL_CLASS_FILES_TRUE='#'
16254 INSTALL_CLASS_FILES_FALSE=
16255 fi
16256
16257
16258
16259 if test "x${build_class_files}" = xyes; then
16260 BUILD_CLASS_FILES_TRUE=
16261 BUILD_CLASS_FILES_FALSE='#'
16262 else
16263 BUILD_CLASS_FILES_TRUE='#'
16264 BUILD_CLASS_FILES_FALSE=
16265 fi
16266
16267
16268 # Check whether --enable-examples or --disable-examples was given.
16269 if test "${enable_examples+set}" = set; then
16270 enableval="$enable_examples"
16271 case "${enableval}" in
16272 yes) EXAMPLESDIR="examples" ;;
16273 no) EXAMPLESDIR="" ;;
16274 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-examples" >&5
16275 echo "$as_me: error: bad value ${enableval} for --enable-examples" >&2;}
16276 { (exit 1); exit 1; }; } ;;
16277 esac
16278 else
16279 EXAMPLESDIR="examples"
16280 fi;
16281 if test "x${use_zip}" = xno && test "x${install_class_files}" = xno; then
16282 EXAMPLESDIR=""
16283 fi
16284
16285
16286
16287
16288
16289 # Check whether --with-gjdoc or --without-gjdoc was given.
16290 if test "${with_gjdoc+set}" = set; then
16291 withval="$with_gjdoc"
16292 if test "x${withval}" = xno; then
16293 WITH_GJDOC=no;
16294 elif test "x${withval}" = xyes -o "x{withval}" = x; then
16295 WITH_GJDOC=yes;
16296 # Extract the first word of "gjdoc", so it can be a program name with args.
16297 set dummy gjdoc; ac_word=$2
16298 echo "$as_me:$LINENO: checking for $ac_word" >&5
16299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16300 if test "${ac_cv_path_GJDOC+set}" = set; then
16301 echo $ECHO_N "(cached) $ECHO_C" >&6
16302 else
16303 case $GJDOC in
16304 [\\/]* | ?:[\\/]*)
16305 ac_cv_path_GJDOC="$GJDOC" # Let the user override the test with a path.
16306 ;;
16307 *)
16308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16309 for as_dir in $PATH
16310 do
16311 IFS=$as_save_IFS
16312 test -z "$as_dir" && as_dir=.
16313 for ac_exec_ext in '' $ac_executable_extensions; do
16314 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16315 ac_cv_path_GJDOC="$as_dir/$ac_word$ac_exec_ext"
16316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16317 break 2
16318 fi
16319 done
16320 done
16321
16322 test -z "$ac_cv_path_GJDOC" && ac_cv_path_GJDOC=""no""
16323 ;;
16324 esac
16325 fi
16326 GJDOC=$ac_cv_path_GJDOC
16327
16328 if test -n "$GJDOC"; then
16329 echo "$as_me:$LINENO: result: $GJDOC" >&5
16330 echo "${ECHO_T}$GJDOC" >&6
16331 else
16332 echo "$as_me:$LINENO: result: no" >&5
16333 echo "${ECHO_T}no" >&6
16334 fi
16335
16336 if test "x${GJDOC}" = xno; then
16337 { { echo "$as_me:$LINENO: error: \"gjdoc executable not found\"" >&5
16338 echo "$as_me: error: \"gjdoc executable not found\"" >&2;}
16339 { (exit 1); exit 1; }; };
16340 fi
16341 else
16342 WITH_GJDOC=yes
16343 GJDOC="${withval}"
16344 as_ac_File=`echo "ac_cv_file_${GJDOC}" | $as_tr_sh`
16345 echo "$as_me:$LINENO: checking for ${GJDOC}" >&5
16346 echo $ECHO_N "checking for ${GJDOC}... $ECHO_C" >&6
16347 if eval "test \"\${$as_ac_File+set}\" = set"; then
16348 echo $ECHO_N "(cached) $ECHO_C" >&6
16349 else
16350 test "$cross_compiling" = yes &&
16351 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
16352 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
16353 { (exit 1); exit 1; }; }
16354 if test -r "${GJDOC}"; then
16355 eval "$as_ac_File=yes"
16356 else
16357 eval "$as_ac_File=no"
16358 fi
16359 fi
16360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
16361 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
16362 if test `eval echo '${'$as_ac_File'}'` = yes; then
16363 :
16364 else
16365 { { echo "$as_me:$LINENO: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&5
16366 echo "$as_me: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&2;}
16367 { (exit 1); exit 1; }; }
16368 fi
16369
16370 fi
16371 else
16372 WITH_GJDOC=no
16373 fi;
16374
16375
16376
16377 if test "x${WITH_GJDOC}" = xyes; then
16378 CREATE_API_DOCS_TRUE=
16379 CREATE_API_DOCS_FALSE='#'
16380 else
16381 CREATE_API_DOCS_TRUE='#'
16382 CREATE_API_DOCS_FALSE=
16383 fi
16384
16385
16386
16387
16388
16389 # Check whether --with-jay or --without-jay was given.
16390 if test "${with_jay+set}" = set; then
16391 withval="$with_jay"
16392
16393 if test -d "${withval}"; then
16394 JAY_DIR_PATH="${withval}"
16395 # Extract the first word of "jay", so it can be a program name with args.
16396 set dummy jay; ac_word=$2
16397 echo "$as_me:$LINENO: checking for $ac_word" >&5
16398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16399 if test "${ac_cv_path_JAY+set}" = set; then
16400 echo $ECHO_N "(cached) $ECHO_C" >&6
16401 else
16402 case $JAY in
16403 [\\/]* | ?:[\\/]*)
16404 ac_cv_path_JAY="$JAY" # Let the user override the test with a path.
16405 ;;
16406 *)
16407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16408 for as_dir in ${JAY_DIR_PATH}
16409 do
16410 IFS=$as_save_IFS
16411 test -z "$as_dir" && as_dir=.
16412 for ac_exec_ext in '' $ac_executable_extensions; do
16413 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16414 ac_cv_path_JAY="$as_dir/$ac_word$ac_exec_ext"
16415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16416 break 2
16417 fi
16418 done
16419 done
16420
16421 test -z "$ac_cv_path_JAY" && ac_cv_path_JAY=""no""
16422 ;;
16423 esac
16424 fi
16425 JAY=$ac_cv_path_JAY
16426
16427 if test -n "$JAY"; then
16428 echo "$as_me:$LINENO: result: $JAY" >&5
16429 echo "${ECHO_T}$JAY" >&6
16430 else
16431 echo "$as_me:$LINENO: result: no" >&5
16432 echo "${ECHO_T}no" >&6
16433 fi
16434
16435 if test "x${JAY}" = xno; then
16436 { { echo "$as_me:$LINENO: error: \"jay executable not found\"" >&5
16437 echo "$as_me: error: \"jay executable not found\"" >&2;}
16438 { (exit 1); exit 1; }; };
16439 fi
16440 else
16441 JAY_DIR_PATH=`dirname "${withval}"`
16442 JAY="${withval}"
16443
16444 fi
16445 JAY_SKELETON="${JAY_DIR_PATH}/skeleton"
16446 as_ac_File=`echo "ac_cv_file_${JAY_SKELETON}" | $as_tr_sh`
16447 echo "$as_me:$LINENO: checking for ${JAY_SKELETON}" >&5
16448 echo $ECHO_N "checking for ${JAY_SKELETON}... $ECHO_C" >&6
16449 if eval "test \"\${$as_ac_File+set}\" = set"; then
16450 echo $ECHO_N "(cached) $ECHO_C" >&6
16451 else
16452 test "$cross_compiling" = yes &&
16453 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
16454 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
16455 { (exit 1); exit 1; }; }
16456 if test -r "${JAY_SKELETON}"; then
16457 eval "$as_ac_File=yes"
16458 else
16459 eval "$as_ac_File=no"
16460 fi
16461 fi
16462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
16463 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
16464 if test `eval echo '${'$as_ac_File'}'` = yes; then
16465 :
16466 else
16467 { { echo "$as_me:$LINENO: error: \"Expected skeleton file in \`dirname ${withval}\`\"" >&5
16468 echo "$as_me: error: \"Expected skeleton file in \`dirname ${withval}\`\"" >&2;}
16469 { (exit 1); exit 1; }; }
16470 fi
16471
16472 JAY_FOUND=yes
16473
16474 else
16475
16476 JAY_FOUND=no
16477
16478 fi;
16479
16480
16481 if test "x${JAY_FOUND}" = xyes; then
16482 REGEN_PARSERS_TRUE=
16483 REGEN_PARSERS_FALSE='#'
16484 else
16485 REGEN_PARSERS_TRUE='#'
16486 REGEN_PARSERS_FALSE=
16487 fi
16488
16489
16490
16491 # Check whether --enable-portable-native-sync or --disable-portable-native-sync was given.
16492 if test "${enable_portable_native_sync+set}" = set; then
16493 enableval="$enable_portable_native_sync"
16494 case "${enableval}" in
16495 yes)
16496
16497 cat >>confdefs.h <<\_ACEOF
16498 #define PORTABLE_NATIVE_SYNC 1
16499 _ACEOF
16500
16501 ;;
16502 no) ;;
16503 *)
16504 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-portable-native-sync" >&5
16505 echo "$as_me: error: bad value ${enableval} for --enable-portable-native-sync" >&2;}
16506 { (exit 1); exit 1; }; }
16507 ;;
16508 esac
16509 fi;
16510
16511 # ------ AX CREATE STDINT H -------------------------------------
16512 echo "$as_me:$LINENO: checking for stdint types" >&5
16513 echo $ECHO_N "checking for stdint types... $ECHO_C" >&6
16514 ac_stdint_h=`echo include/config-int.h`
16515 # try to shortcircuit - if the default include path of the compiler
16516 # can find a "stdint.h" header then we assume that all compilers can.
16517 if test "${ac_cv_header_stdint_t+set}" = set; then
16518 echo $ECHO_N "(cached) $ECHO_C" >&6
16519 else
16520
16521 old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS=""
16522 old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS=""
16523 old_CFLAGS="$CFLAGS" ; CFLAGS=""
16524 cat >conftest.$ac_ext <<_ACEOF
16525 /* confdefs.h. */
16526 _ACEOF
16527 cat confdefs.h >>conftest.$ac_ext
16528 cat >>conftest.$ac_ext <<_ACEOF
16529 /* end confdefs.h. */
16530 #include <stdint.h>
16531 int
16532 main ()
16533 {
16534 int_least32_t v = 0;
16535 ;
16536 return 0;
16537 }
16538 _ACEOF
16539 rm -f conftest.$ac_objext
16540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16541 (eval $ac_compile) 2>conftest.er1
16542 ac_status=$?
16543 grep -v '^ *+' conftest.er1 >conftest.err
16544 rm -f conftest.er1
16545 cat conftest.err >&5
16546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16547 (exit $ac_status); } &&
16548 { ac_try='test -z "$ac_c_werror_flag"
16549 || test ! -s conftest.err'
16550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16551 (eval $ac_try) 2>&5
16552 ac_status=$?
16553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16554 (exit $ac_status); }; } &&
16555 { ac_try='test -s conftest.$ac_objext'
16556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16557 (eval $ac_try) 2>&5
16558 ac_status=$?
16559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16560 (exit $ac_status); }; }; then
16561 ac_cv_stdint_result="(assuming C99 compatible system)"
16562 ac_cv_header_stdint_t="stdint.h";
16563 else
16564 echo "$as_me: failed program was:" >&5
16565 sed 's/^/| /' conftest.$ac_ext >&5
16566
16567 ac_cv_header_stdint_t=""
16568 fi
16569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16570 CXXFLAGS="$old_CXXFLAGS"
16571 CPPFLAGS="$old_CPPFLAGS"
16572 CFLAGS="$old_CFLAGS"
16573 fi
16574
16575
16576 v="... $ac_cv_header_stdint_h"
16577 if test "$ac_stdint_h" = "stdint.h" ; then
16578 echo "$as_me:$LINENO: result: (are you sure you want them in ./stdint.h?)" >&5
16579 echo "${ECHO_T}(are you sure you want them in ./stdint.h?)" >&6
16580 elif test "$ac_stdint_h" = "inttypes.h" ; then
16581 echo "$as_me:$LINENO: result: (are you sure you want them in ./inttypes.h?)" >&5
16582 echo "${ECHO_T}(are you sure you want them in ./inttypes.h?)" >&6
16583 elif test "_$ac_cv_header_stdint_t" = "_" ; then
16584 echo "$as_me:$LINENO: result: (putting them into $ac_stdint_h)$v" >&5
16585 echo "${ECHO_T}(putting them into $ac_stdint_h)$v" >&6
16586 else
16587 ac_cv_header_stdint="$ac_cv_header_stdint_t"
16588 echo "$as_me:$LINENO: result: $ac_cv_header_stdint (shortcircuit)" >&5
16589 echo "${ECHO_T}$ac_cv_header_stdint (shortcircuit)" >&6
16590 fi
16591
16592 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
16593
16594
16595 inttype_headers=`echo | sed -e 's/,/ /g'`
16596
16597 ac_cv_stdint_result="(no helpful system typedefs seen)"
16598
16599 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
16600 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
16601 if test "${ac_cv_header_stdint_x+set}" = set; then
16602 echo $ECHO_N "(cached) $ECHO_C" >&6
16603 else
16604
16605 ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
16606 echo "$as_me:$LINENO: result: (..)" >&5
16607 echo "${ECHO_T}(..)" >&6
16608 for i in stdint.h inttypes.h sys/inttypes.h $inttype_headers ; do
16609 unset ac_cv_type_uintptr_t
16610 unset ac_cv_type_uint64_t
16611 echo "$as_me:$LINENO: checking for uintptr_t" >&5
16612 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
16613 if test "${ac_cv_type_uintptr_t+set}" = set; then
16614 echo $ECHO_N "(cached) $ECHO_C" >&6
16615 else
16616 cat >conftest.$ac_ext <<_ACEOF
16617 /* confdefs.h. */
16618 _ACEOF
16619 cat confdefs.h >>conftest.$ac_ext
16620 cat >>conftest.$ac_ext <<_ACEOF
16621 /* end confdefs.h. */
16622 #include <$i>
16623
16624 int
16625 main ()
16626 {
16627 if ((uintptr_t *) 0)
16628 return 0;
16629 if (sizeof (uintptr_t))
16630 return 0;
16631 ;
16632 return 0;
16633 }
16634 _ACEOF
16635 rm -f conftest.$ac_objext
16636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16637 (eval $ac_compile) 2>conftest.er1
16638 ac_status=$?
16639 grep -v '^ *+' conftest.er1 >conftest.err
16640 rm -f conftest.er1
16641 cat conftest.err >&5
16642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16643 (exit $ac_status); } &&
16644 { ac_try='test -z "$ac_c_werror_flag"
16645 || test ! -s conftest.err'
16646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16647 (eval $ac_try) 2>&5
16648 ac_status=$?
16649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16650 (exit $ac_status); }; } &&
16651 { ac_try='test -s conftest.$ac_objext'
16652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16653 (eval $ac_try) 2>&5
16654 ac_status=$?
16655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16656 (exit $ac_status); }; }; then
16657 ac_cv_type_uintptr_t=yes
16658 else
16659 echo "$as_me: failed program was:" >&5
16660 sed 's/^/| /' conftest.$ac_ext >&5
16661
16662 ac_cv_type_uintptr_t=no
16663 fi
16664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16665 fi
16666 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
16667 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
16668 if test $ac_cv_type_uintptr_t = yes; then
16669 ac_cv_header_stdint_x=$i
16670 else
16671 continue
16672 fi
16673
16674 echo "$as_me:$LINENO: checking for uint64_t" >&5
16675 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
16676 if test "${ac_cv_type_uint64_t+set}" = set; then
16677 echo $ECHO_N "(cached) $ECHO_C" >&6
16678 else
16679 cat >conftest.$ac_ext <<_ACEOF
16680 /* confdefs.h. */
16681 _ACEOF
16682 cat confdefs.h >>conftest.$ac_ext
16683 cat >>conftest.$ac_ext <<_ACEOF
16684 /* end confdefs.h. */
16685 #include<$i>
16686
16687 int
16688 main ()
16689 {
16690 if ((uint64_t *) 0)
16691 return 0;
16692 if (sizeof (uint64_t))
16693 return 0;
16694 ;
16695 return 0;
16696 }
16697 _ACEOF
16698 rm -f conftest.$ac_objext
16699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16700 (eval $ac_compile) 2>conftest.er1
16701 ac_status=$?
16702 grep -v '^ *+' conftest.er1 >conftest.err
16703 rm -f conftest.er1
16704 cat conftest.err >&5
16705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16706 (exit $ac_status); } &&
16707 { ac_try='test -z "$ac_c_werror_flag"
16708 || test ! -s conftest.err'
16709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16710 (eval $ac_try) 2>&5
16711 ac_status=$?
16712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16713 (exit $ac_status); }; } &&
16714 { ac_try='test -s conftest.$ac_objext'
16715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16716 (eval $ac_try) 2>&5
16717 ac_status=$?
16718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16719 (exit $ac_status); }; }; then
16720 ac_cv_type_uint64_t=yes
16721 else
16722 echo "$as_me: failed program was:" >&5
16723 sed 's/^/| /' conftest.$ac_ext >&5
16724
16725 ac_cv_type_uint64_t=no
16726 fi
16727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16728 fi
16729 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
16730 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
16731 if test $ac_cv_type_uint64_t = yes; then
16732 and64="/uint64_t"
16733 else
16734 and64=""
16735 fi
16736
16737 stdint.h inttypes.h sys/inttypes.h $inttype_headers
16738 break
16739 done
16740 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
16741 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
16742
16743 fi
16744 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_x" >&5
16745 echo "${ECHO_T}$ac_cv_header_stdint_x" >&6
16746
16747
16748 if test "_$ac_cv_header_stdint_x" = "_" ; then
16749
16750 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
16751 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
16752 if test "${ac_cv_header_stdint_o+set}" = set; then
16753 echo $ECHO_N "(cached) $ECHO_C" >&6
16754 else
16755
16756 ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
16757 echo "$as_me:$LINENO: result: (..)" >&5
16758 echo "${ECHO_T}(..)" >&6
16759 for i in inttypes.h sys/inttypes.h stdint.h $inttype_headers ; do
16760 unset ac_cv_type_uint32_t
16761 unset ac_cv_type_uint64_t
16762 echo "$as_me:$LINENO: checking for uint32_t" >&5
16763 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
16764 if test "${ac_cv_type_uint32_t+set}" = set; then
16765 echo $ECHO_N "(cached) $ECHO_C" >&6
16766 else
16767 cat >conftest.$ac_ext <<_ACEOF
16768 /* confdefs.h. */
16769 _ACEOF
16770 cat confdefs.h >>conftest.$ac_ext
16771 cat >>conftest.$ac_ext <<_ACEOF
16772 /* end confdefs.h. */
16773 #include <$i>
16774
16775 int
16776 main ()
16777 {
16778 if ((uint32_t *) 0)
16779 return 0;
16780 if (sizeof (uint32_t))
16781 return 0;
16782 ;
16783 return 0;
16784 }
16785 _ACEOF
16786 rm -f conftest.$ac_objext
16787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16788 (eval $ac_compile) 2>conftest.er1
16789 ac_status=$?
16790 grep -v '^ *+' conftest.er1 >conftest.err
16791 rm -f conftest.er1
16792 cat conftest.err >&5
16793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16794 (exit $ac_status); } &&
16795 { ac_try='test -z "$ac_c_werror_flag"
16796 || test ! -s conftest.err'
16797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16798 (eval $ac_try) 2>&5
16799 ac_status=$?
16800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16801 (exit $ac_status); }; } &&
16802 { ac_try='test -s conftest.$ac_objext'
16803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16804 (eval $ac_try) 2>&5
16805 ac_status=$?
16806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16807 (exit $ac_status); }; }; then
16808 ac_cv_type_uint32_t=yes
16809 else
16810 echo "$as_me: failed program was:" >&5
16811 sed 's/^/| /' conftest.$ac_ext >&5
16812
16813 ac_cv_type_uint32_t=no
16814 fi
16815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16816 fi
16817 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
16818 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
16819 if test $ac_cv_type_uint32_t = yes; then
16820 ac_cv_header_stdint_o=$i
16821 else
16822 continue
16823 fi
16824
16825 echo "$as_me:$LINENO: checking for uint64_t" >&5
16826 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
16827 if test "${ac_cv_type_uint64_t+set}" = set; then
16828 echo $ECHO_N "(cached) $ECHO_C" >&6
16829 else
16830 cat >conftest.$ac_ext <<_ACEOF
16831 /* confdefs.h. */
16832 _ACEOF
16833 cat confdefs.h >>conftest.$ac_ext
16834 cat >>conftest.$ac_ext <<_ACEOF
16835 /* end confdefs.h. */
16836 #include<$i>
16837
16838 int
16839 main ()
16840 {
16841 if ((uint64_t *) 0)
16842 return 0;
16843 if (sizeof (uint64_t))
16844 return 0;
16845 ;
16846 return 0;
16847 }
16848 _ACEOF
16849 rm -f conftest.$ac_objext
16850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16851 (eval $ac_compile) 2>conftest.er1
16852 ac_status=$?
16853 grep -v '^ *+' conftest.er1 >conftest.err
16854 rm -f conftest.er1
16855 cat conftest.err >&5
16856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857 (exit $ac_status); } &&
16858 { ac_try='test -z "$ac_c_werror_flag"
16859 || test ! -s conftest.err'
16860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16861 (eval $ac_try) 2>&5
16862 ac_status=$?
16863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16864 (exit $ac_status); }; } &&
16865 { ac_try='test -s conftest.$ac_objext'
16866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16867 (eval $ac_try) 2>&5
16868 ac_status=$?
16869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16870 (exit $ac_status); }; }; then
16871 ac_cv_type_uint64_t=yes
16872 else
16873 echo "$as_me: failed program was:" >&5
16874 sed 's/^/| /' conftest.$ac_ext >&5
16875
16876 ac_cv_type_uint64_t=no
16877 fi
16878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16879 fi
16880 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
16881 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
16882 if test $ac_cv_type_uint64_t = yes; then
16883 and64="/uint64_t"
16884 else
16885 and64=""
16886 fi
16887
16888 inttypes.h sys/inttypes.h stdint.h $inttype_headers
16889 break
16890 break;
16891 done
16892 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
16893 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
16894
16895 fi
16896 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_o" >&5
16897 echo "${ECHO_T}$ac_cv_header_stdint_o" >&6
16898
16899 fi
16900
16901 if test "_$ac_cv_header_stdint_x" = "_" ; then
16902 if test "_$ac_cv_header_stdint_o" = "_" ; then
16903
16904 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
16905 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
16906 if test "${ac_cv_header_stdint_u+set}" = set; then
16907 echo $ECHO_N "(cached) $ECHO_C" >&6
16908 else
16909
16910 ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
16911 echo "$as_me:$LINENO: result: (..)" >&5
16912 echo "${ECHO_T}(..)" >&6
16913 for i in sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do
16914 unset ac_cv_type_u_int32_t
16915 unset ac_cv_type_u_int64_t
16916 echo "$as_me:$LINENO: checking for u_int32_t" >&5
16917 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
16918 if test "${ac_cv_type_u_int32_t+set}" = set; then
16919 echo $ECHO_N "(cached) $ECHO_C" >&6
16920 else
16921 cat >conftest.$ac_ext <<_ACEOF
16922 /* confdefs.h. */
16923 _ACEOF
16924 cat confdefs.h >>conftest.$ac_ext
16925 cat >>conftest.$ac_ext <<_ACEOF
16926 /* end confdefs.h. */
16927 #include <$i>
16928
16929 int
16930 main ()
16931 {
16932 if ((u_int32_t *) 0)
16933 return 0;
16934 if (sizeof (u_int32_t))
16935 return 0;
16936 ;
16937 return 0;
16938 }
16939 _ACEOF
16940 rm -f conftest.$ac_objext
16941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16942 (eval $ac_compile) 2>conftest.er1
16943 ac_status=$?
16944 grep -v '^ *+' conftest.er1 >conftest.err
16945 rm -f conftest.er1
16946 cat conftest.err >&5
16947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16948 (exit $ac_status); } &&
16949 { ac_try='test -z "$ac_c_werror_flag"
16950 || test ! -s conftest.err'
16951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16952 (eval $ac_try) 2>&5
16953 ac_status=$?
16954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16955 (exit $ac_status); }; } &&
16956 { ac_try='test -s conftest.$ac_objext'
16957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16958 (eval $ac_try) 2>&5
16959 ac_status=$?
16960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16961 (exit $ac_status); }; }; then
16962 ac_cv_type_u_int32_t=yes
16963 else
16964 echo "$as_me: failed program was:" >&5
16965 sed 's/^/| /' conftest.$ac_ext >&5
16966
16967 ac_cv_type_u_int32_t=no
16968 fi
16969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16970 fi
16971 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
16972 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
16973 if test $ac_cv_type_u_int32_t = yes; then
16974 ac_cv_header_stdint_u=$i
16975 else
16976 continue
16977 fi
16978
16979 echo "$as_me:$LINENO: checking for u_int64_t" >&5
16980 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
16981 if test "${ac_cv_type_u_int64_t+set}" = set; then
16982 echo $ECHO_N "(cached) $ECHO_C" >&6
16983 else
16984 cat >conftest.$ac_ext <<_ACEOF
16985 /* confdefs.h. */
16986 _ACEOF
16987 cat confdefs.h >>conftest.$ac_ext
16988 cat >>conftest.$ac_ext <<_ACEOF
16989 /* end confdefs.h. */
16990 #include<$i>
16991
16992 int
16993 main ()
16994 {
16995 if ((u_int64_t *) 0)
16996 return 0;
16997 if (sizeof (u_int64_t))
16998 return 0;
16999 ;
17000 return 0;
17001 }
17002 _ACEOF
17003 rm -f conftest.$ac_objext
17004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17005 (eval $ac_compile) 2>conftest.er1
17006 ac_status=$?
17007 grep -v '^ *+' conftest.er1 >conftest.err
17008 rm -f conftest.er1
17009 cat conftest.err >&5
17010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17011 (exit $ac_status); } &&
17012 { ac_try='test -z "$ac_c_werror_flag"
17013 || test ! -s conftest.err'
17014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17015 (eval $ac_try) 2>&5
17016 ac_status=$?
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); }; } &&
17019 { ac_try='test -s conftest.$ac_objext'
17020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17021 (eval $ac_try) 2>&5
17022 ac_status=$?
17023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17024 (exit $ac_status); }; }; then
17025 ac_cv_type_u_int64_t=yes
17026 else
17027 echo "$as_me: failed program was:" >&5
17028 sed 's/^/| /' conftest.$ac_ext >&5
17029
17030 ac_cv_type_u_int64_t=no
17031 fi
17032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17033 fi
17034 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
17035 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
17036 if test $ac_cv_type_u_int64_t = yes; then
17037 and64="/u_int64_t"
17038 else
17039 and64=""
17040 fi
17041
17042 sys/types.h inttypes.h sys/inttypes.h $inttype_headers
17043 break
17044 break;
17045 done
17046 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
17047 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
17048
17049 fi
17050 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_u" >&5
17051 echo "${ECHO_T}$ac_cv_header_stdint_u" >&6
17052
17053 fi fi
17054
17055 if test "_$ac_cv_header_stdint_x" = "_" ; then
17056 echo "$as_me:$LINENO: checking for stdint datatype model" >&5
17057 echo $ECHO_N "checking for stdint datatype model... $ECHO_C" >&6
17058 echo "$as_me:$LINENO: result: (..)" >&5
17059 echo "${ECHO_T}(..)" >&6
17060
17061 echo "$as_me:$LINENO: checking for char" >&5
17062 echo $ECHO_N "checking for char... $ECHO_C" >&6
17063 if test "${ac_cv_type_char+set}" = set; then
17064 echo $ECHO_N "(cached) $ECHO_C" >&6
17065 else
17066 cat >conftest.$ac_ext <<_ACEOF
17067 /* confdefs.h. */
17068 _ACEOF
17069 cat confdefs.h >>conftest.$ac_ext
17070 cat >>conftest.$ac_ext <<_ACEOF
17071 /* end confdefs.h. */
17072 $ac_includes_default
17073 int
17074 main ()
17075 {
17076 if ((char *) 0)
17077 return 0;
17078 if (sizeof (char))
17079 return 0;
17080 ;
17081 return 0;
17082 }
17083 _ACEOF
17084 rm -f conftest.$ac_objext
17085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17086 (eval $ac_compile) 2>conftest.er1
17087 ac_status=$?
17088 grep -v '^ *+' conftest.er1 >conftest.err
17089 rm -f conftest.er1
17090 cat conftest.err >&5
17091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17092 (exit $ac_status); } &&
17093 { ac_try='test -z "$ac_c_werror_flag"
17094 || test ! -s conftest.err'
17095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17096 (eval $ac_try) 2>&5
17097 ac_status=$?
17098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17099 (exit $ac_status); }; } &&
17100 { ac_try='test -s conftest.$ac_objext'
17101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17102 (eval $ac_try) 2>&5
17103 ac_status=$?
17104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17105 (exit $ac_status); }; }; then
17106 ac_cv_type_char=yes
17107 else
17108 echo "$as_me: failed program was:" >&5
17109 sed 's/^/| /' conftest.$ac_ext >&5
17110
17111 ac_cv_type_char=no
17112 fi
17113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17114 fi
17115 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17116 echo "${ECHO_T}$ac_cv_type_char" >&6
17117
17118 echo "$as_me:$LINENO: checking size of char" >&5
17119 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17120 if test "${ac_cv_sizeof_char+set}" = set; then
17121 echo $ECHO_N "(cached) $ECHO_C" >&6
17122 else
17123 if test "$ac_cv_type_char" = yes; then
17124 # The cast to unsigned long works around a bug in the HP C Compiler
17125 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17126 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17127 # This bug is HP SR number 8606223364.
17128 if test "$cross_compiling" = yes; then
17129 # Depending upon the size, compute the lo and hi bounds.
17130 cat >conftest.$ac_ext <<_ACEOF
17131 /* confdefs.h. */
17132 _ACEOF
17133 cat confdefs.h >>conftest.$ac_ext
17134 cat >>conftest.$ac_ext <<_ACEOF
17135 /* end confdefs.h. */
17136 $ac_includes_default
17137 int
17138 main ()
17139 {
17140 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17141 test_array [0] = 0
17142
17143 ;
17144 return 0;
17145 }
17146 _ACEOF
17147 rm -f conftest.$ac_objext
17148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17149 (eval $ac_compile) 2>conftest.er1
17150 ac_status=$?
17151 grep -v '^ *+' conftest.er1 >conftest.err
17152 rm -f conftest.er1
17153 cat conftest.err >&5
17154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17155 (exit $ac_status); } &&
17156 { ac_try='test -z "$ac_c_werror_flag"
17157 || test ! -s conftest.err'
17158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17159 (eval $ac_try) 2>&5
17160 ac_status=$?
17161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17162 (exit $ac_status); }; } &&
17163 { ac_try='test -s conftest.$ac_objext'
17164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17165 (eval $ac_try) 2>&5
17166 ac_status=$?
17167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17168 (exit $ac_status); }; }; then
17169 ac_lo=0 ac_mid=0
17170 while :; do
17171 cat >conftest.$ac_ext <<_ACEOF
17172 /* confdefs.h. */
17173 _ACEOF
17174 cat confdefs.h >>conftest.$ac_ext
17175 cat >>conftest.$ac_ext <<_ACEOF
17176 /* end confdefs.h. */
17177 $ac_includes_default
17178 int
17179 main ()
17180 {
17181 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17182 test_array [0] = 0
17183
17184 ;
17185 return 0;
17186 }
17187 _ACEOF
17188 rm -f conftest.$ac_objext
17189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17190 (eval $ac_compile) 2>conftest.er1
17191 ac_status=$?
17192 grep -v '^ *+' conftest.er1 >conftest.err
17193 rm -f conftest.er1
17194 cat conftest.err >&5
17195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17196 (exit $ac_status); } &&
17197 { ac_try='test -z "$ac_c_werror_flag"
17198 || test ! -s conftest.err'
17199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17200 (eval $ac_try) 2>&5
17201 ac_status=$?
17202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17203 (exit $ac_status); }; } &&
17204 { ac_try='test -s conftest.$ac_objext'
17205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17206 (eval $ac_try) 2>&5
17207 ac_status=$?
17208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17209 (exit $ac_status); }; }; then
17210 ac_hi=$ac_mid; break
17211 else
17212 echo "$as_me: failed program was:" >&5
17213 sed 's/^/| /' conftest.$ac_ext >&5
17214
17215 ac_lo=`expr $ac_mid + 1`
17216 if test $ac_lo -le $ac_mid; then
17217 ac_lo= ac_hi=
17218 break
17219 fi
17220 ac_mid=`expr 2 '*' $ac_mid + 1`
17221 fi
17222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17223 done
17224 else
17225 echo "$as_me: failed program was:" >&5
17226 sed 's/^/| /' conftest.$ac_ext >&5
17227
17228 cat >conftest.$ac_ext <<_ACEOF
17229 /* confdefs.h. */
17230 _ACEOF
17231 cat confdefs.h >>conftest.$ac_ext
17232 cat >>conftest.$ac_ext <<_ACEOF
17233 /* end confdefs.h. */
17234 $ac_includes_default
17235 int
17236 main ()
17237 {
17238 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17239 test_array [0] = 0
17240
17241 ;
17242 return 0;
17243 }
17244 _ACEOF
17245 rm -f conftest.$ac_objext
17246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17247 (eval $ac_compile) 2>conftest.er1
17248 ac_status=$?
17249 grep -v '^ *+' conftest.er1 >conftest.err
17250 rm -f conftest.er1
17251 cat conftest.err >&5
17252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17253 (exit $ac_status); } &&
17254 { ac_try='test -z "$ac_c_werror_flag"
17255 || test ! -s conftest.err'
17256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17257 (eval $ac_try) 2>&5
17258 ac_status=$?
17259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17260 (exit $ac_status); }; } &&
17261 { ac_try='test -s conftest.$ac_objext'
17262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17263 (eval $ac_try) 2>&5
17264 ac_status=$?
17265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17266 (exit $ac_status); }; }; then
17267 ac_hi=-1 ac_mid=-1
17268 while :; do
17269 cat >conftest.$ac_ext <<_ACEOF
17270 /* confdefs.h. */
17271 _ACEOF
17272 cat confdefs.h >>conftest.$ac_ext
17273 cat >>conftest.$ac_ext <<_ACEOF
17274 /* end confdefs.h. */
17275 $ac_includes_default
17276 int
17277 main ()
17278 {
17279 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17280 test_array [0] = 0
17281
17282 ;
17283 return 0;
17284 }
17285 _ACEOF
17286 rm -f conftest.$ac_objext
17287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17288 (eval $ac_compile) 2>conftest.er1
17289 ac_status=$?
17290 grep -v '^ *+' conftest.er1 >conftest.err
17291 rm -f conftest.er1
17292 cat conftest.err >&5
17293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17294 (exit $ac_status); } &&
17295 { ac_try='test -z "$ac_c_werror_flag"
17296 || test ! -s conftest.err'
17297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17298 (eval $ac_try) 2>&5
17299 ac_status=$?
17300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17301 (exit $ac_status); }; } &&
17302 { ac_try='test -s conftest.$ac_objext'
17303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17304 (eval $ac_try) 2>&5
17305 ac_status=$?
17306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17307 (exit $ac_status); }; }; then
17308 ac_lo=$ac_mid; break
17309 else
17310 echo "$as_me: failed program was:" >&5
17311 sed 's/^/| /' conftest.$ac_ext >&5
17312
17313 ac_hi=`expr '(' $ac_mid ')' - 1`
17314 if test $ac_mid -le $ac_hi; then
17315 ac_lo= ac_hi=
17316 break
17317 fi
17318 ac_mid=`expr 2 '*' $ac_mid`
17319 fi
17320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17321 done
17322 else
17323 echo "$as_me: failed program was:" >&5
17324 sed 's/^/| /' conftest.$ac_ext >&5
17325
17326 ac_lo= ac_hi=
17327 fi
17328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17329 fi
17330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17331 # Binary search between lo and hi bounds.
17332 while test "x$ac_lo" != "x$ac_hi"; do
17333 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17334 cat >conftest.$ac_ext <<_ACEOF
17335 /* confdefs.h. */
17336 _ACEOF
17337 cat confdefs.h >>conftest.$ac_ext
17338 cat >>conftest.$ac_ext <<_ACEOF
17339 /* end confdefs.h. */
17340 $ac_includes_default
17341 int
17342 main ()
17343 {
17344 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17345 test_array [0] = 0
17346
17347 ;
17348 return 0;
17349 }
17350 _ACEOF
17351 rm -f conftest.$ac_objext
17352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17353 (eval $ac_compile) 2>conftest.er1
17354 ac_status=$?
17355 grep -v '^ *+' conftest.er1 >conftest.err
17356 rm -f conftest.er1
17357 cat conftest.err >&5
17358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17359 (exit $ac_status); } &&
17360 { ac_try='test -z "$ac_c_werror_flag"
17361 || test ! -s conftest.err'
17362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17363 (eval $ac_try) 2>&5
17364 ac_status=$?
17365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17366 (exit $ac_status); }; } &&
17367 { ac_try='test -s conftest.$ac_objext'
17368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17369 (eval $ac_try) 2>&5
17370 ac_status=$?
17371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17372 (exit $ac_status); }; }; then
17373 ac_hi=$ac_mid
17374 else
17375 echo "$as_me: failed program was:" >&5
17376 sed 's/^/| /' conftest.$ac_ext >&5
17377
17378 ac_lo=`expr '(' $ac_mid ')' + 1`
17379 fi
17380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17381 done
17382 case $ac_lo in
17383 ?*) ac_cv_sizeof_char=$ac_lo;;
17384 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17385 See \`config.log' for more details." >&5
17386 echo "$as_me: error: cannot compute sizeof (char), 77
17387 See \`config.log' for more details." >&2;}
17388 { (exit 1); exit 1; }; } ;;
17389 esac
17390 else
17391 if test "$cross_compiling" = yes; then
17392 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17393 See \`config.log' for more details." >&5
17394 echo "$as_me: error: cannot run test program while cross compiling
17395 See \`config.log' for more details." >&2;}
17396 { (exit 1); exit 1; }; }
17397 else
17398 cat >conftest.$ac_ext <<_ACEOF
17399 /* confdefs.h. */
17400 _ACEOF
17401 cat confdefs.h >>conftest.$ac_ext
17402 cat >>conftest.$ac_ext <<_ACEOF
17403 /* end confdefs.h. */
17404 $ac_includes_default
17405 long longval () { return (long) (sizeof (char)); }
17406 unsigned long ulongval () { return (long) (sizeof (char)); }
17407 #include <stdio.h>
17408 #include <stdlib.h>
17409 int
17410 main ()
17411 {
17412
17413 FILE *f = fopen ("conftest.val", "w");
17414 if (! f)
17415 exit (1);
17416 if (((long) (sizeof (char))) < 0)
17417 {
17418 long i = longval ();
17419 if (i != ((long) (sizeof (char))))
17420 exit (1);
17421 fprintf (f, "%ld\n", i);
17422 }
17423 else
17424 {
17425 unsigned long i = ulongval ();
17426 if (i != ((long) (sizeof (char))))
17427 exit (1);
17428 fprintf (f, "%lu\n", i);
17429 }
17430 exit (ferror (f) || fclose (f) != 0);
17431
17432 ;
17433 return 0;
17434 }
17435 _ACEOF
17436 rm -f conftest$ac_exeext
17437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17438 (eval $ac_link) 2>&5
17439 ac_status=$?
17440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17441 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17443 (eval $ac_try) 2>&5
17444 ac_status=$?
17445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17446 (exit $ac_status); }; }; then
17447 ac_cv_sizeof_char=`cat conftest.val`
17448 else
17449 echo "$as_me: program exited with status $ac_status" >&5
17450 echo "$as_me: failed program was:" >&5
17451 sed 's/^/| /' conftest.$ac_ext >&5
17452
17453 ( exit $ac_status )
17454 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17455 See \`config.log' for more details." >&5
17456 echo "$as_me: error: cannot compute sizeof (char), 77
17457 See \`config.log' for more details." >&2;}
17458 { (exit 1); exit 1; }; }
17459 fi
17460 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17461 fi
17462 fi
17463 rm -f conftest.val
17464 else
17465 ac_cv_sizeof_char=0
17466 fi
17467 fi
17468 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17469 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17470 cat >>confdefs.h <<_ACEOF
17471 #define SIZEOF_CHAR $ac_cv_sizeof_char
17472 _ACEOF
17473
17474
17475 echo "$as_me:$LINENO: checking for short" >&5
17476 echo $ECHO_N "checking for short... $ECHO_C" >&6
17477 if test "${ac_cv_type_short+set}" = set; then
17478 echo $ECHO_N "(cached) $ECHO_C" >&6
17479 else
17480 cat >conftest.$ac_ext <<_ACEOF
17481 /* confdefs.h. */
17482 _ACEOF
17483 cat confdefs.h >>conftest.$ac_ext
17484 cat >>conftest.$ac_ext <<_ACEOF
17485 /* end confdefs.h. */
17486 $ac_includes_default
17487 int
17488 main ()
17489 {
17490 if ((short *) 0)
17491 return 0;
17492 if (sizeof (short))
17493 return 0;
17494 ;
17495 return 0;
17496 }
17497 _ACEOF
17498 rm -f conftest.$ac_objext
17499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17500 (eval $ac_compile) 2>conftest.er1
17501 ac_status=$?
17502 grep -v '^ *+' conftest.er1 >conftest.err
17503 rm -f conftest.er1
17504 cat conftest.err >&5
17505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17506 (exit $ac_status); } &&
17507 { ac_try='test -z "$ac_c_werror_flag"
17508 || test ! -s conftest.err'
17509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17510 (eval $ac_try) 2>&5
17511 ac_status=$?
17512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17513 (exit $ac_status); }; } &&
17514 { ac_try='test -s conftest.$ac_objext'
17515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17516 (eval $ac_try) 2>&5
17517 ac_status=$?
17518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17519 (exit $ac_status); }; }; then
17520 ac_cv_type_short=yes
17521 else
17522 echo "$as_me: failed program was:" >&5
17523 sed 's/^/| /' conftest.$ac_ext >&5
17524
17525 ac_cv_type_short=no
17526 fi
17527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17528 fi
17529 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17530 echo "${ECHO_T}$ac_cv_type_short" >&6
17531
17532 echo "$as_me:$LINENO: checking size of short" >&5
17533 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17534 if test "${ac_cv_sizeof_short+set}" = set; then
17535 echo $ECHO_N "(cached) $ECHO_C" >&6
17536 else
17537 if test "$ac_cv_type_short" = yes; then
17538 # The cast to unsigned long works around a bug in the HP C Compiler
17539 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17540 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17541 # This bug is HP SR number 8606223364.
17542 if test "$cross_compiling" = yes; then
17543 # Depending upon the size, compute the lo and hi bounds.
17544 cat >conftest.$ac_ext <<_ACEOF
17545 /* confdefs.h. */
17546 _ACEOF
17547 cat confdefs.h >>conftest.$ac_ext
17548 cat >>conftest.$ac_ext <<_ACEOF
17549 /* end confdefs.h. */
17550 $ac_includes_default
17551 int
17552 main ()
17553 {
17554 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17555 test_array [0] = 0
17556
17557 ;
17558 return 0;
17559 }
17560 _ACEOF
17561 rm -f conftest.$ac_objext
17562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17563 (eval $ac_compile) 2>conftest.er1
17564 ac_status=$?
17565 grep -v '^ *+' conftest.er1 >conftest.err
17566 rm -f conftest.er1
17567 cat conftest.err >&5
17568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17569 (exit $ac_status); } &&
17570 { ac_try='test -z "$ac_c_werror_flag"
17571 || test ! -s conftest.err'
17572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17573 (eval $ac_try) 2>&5
17574 ac_status=$?
17575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17576 (exit $ac_status); }; } &&
17577 { ac_try='test -s conftest.$ac_objext'
17578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17579 (eval $ac_try) 2>&5
17580 ac_status=$?
17581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17582 (exit $ac_status); }; }; then
17583 ac_lo=0 ac_mid=0
17584 while :; do
17585 cat >conftest.$ac_ext <<_ACEOF
17586 /* confdefs.h. */
17587 _ACEOF
17588 cat confdefs.h >>conftest.$ac_ext
17589 cat >>conftest.$ac_ext <<_ACEOF
17590 /* end confdefs.h. */
17591 $ac_includes_default
17592 int
17593 main ()
17594 {
17595 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17596 test_array [0] = 0
17597
17598 ;
17599 return 0;
17600 }
17601 _ACEOF
17602 rm -f conftest.$ac_objext
17603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17604 (eval $ac_compile) 2>conftest.er1
17605 ac_status=$?
17606 grep -v '^ *+' conftest.er1 >conftest.err
17607 rm -f conftest.er1
17608 cat conftest.err >&5
17609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17610 (exit $ac_status); } &&
17611 { ac_try='test -z "$ac_c_werror_flag"
17612 || test ! -s conftest.err'
17613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17614 (eval $ac_try) 2>&5
17615 ac_status=$?
17616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17617 (exit $ac_status); }; } &&
17618 { ac_try='test -s conftest.$ac_objext'
17619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17620 (eval $ac_try) 2>&5
17621 ac_status=$?
17622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17623 (exit $ac_status); }; }; then
17624 ac_hi=$ac_mid; break
17625 else
17626 echo "$as_me: failed program was:" >&5
17627 sed 's/^/| /' conftest.$ac_ext >&5
17628
17629 ac_lo=`expr $ac_mid + 1`
17630 if test $ac_lo -le $ac_mid; then
17631 ac_lo= ac_hi=
17632 break
17633 fi
17634 ac_mid=`expr 2 '*' $ac_mid + 1`
17635 fi
17636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17637 done
17638 else
17639 echo "$as_me: failed program was:" >&5
17640 sed 's/^/| /' conftest.$ac_ext >&5
17641
17642 cat >conftest.$ac_ext <<_ACEOF
17643 /* confdefs.h. */
17644 _ACEOF
17645 cat confdefs.h >>conftest.$ac_ext
17646 cat >>conftest.$ac_ext <<_ACEOF
17647 /* end confdefs.h. */
17648 $ac_includes_default
17649 int
17650 main ()
17651 {
17652 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17653 test_array [0] = 0
17654
17655 ;
17656 return 0;
17657 }
17658 _ACEOF
17659 rm -f conftest.$ac_objext
17660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17661 (eval $ac_compile) 2>conftest.er1
17662 ac_status=$?
17663 grep -v '^ *+' conftest.er1 >conftest.err
17664 rm -f conftest.er1
17665 cat conftest.err >&5
17666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17667 (exit $ac_status); } &&
17668 { ac_try='test -z "$ac_c_werror_flag"
17669 || test ! -s conftest.err'
17670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17671 (eval $ac_try) 2>&5
17672 ac_status=$?
17673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17674 (exit $ac_status); }; } &&
17675 { ac_try='test -s conftest.$ac_objext'
17676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17677 (eval $ac_try) 2>&5
17678 ac_status=$?
17679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17680 (exit $ac_status); }; }; then
17681 ac_hi=-1 ac_mid=-1
17682 while :; do
17683 cat >conftest.$ac_ext <<_ACEOF
17684 /* confdefs.h. */
17685 _ACEOF
17686 cat confdefs.h >>conftest.$ac_ext
17687 cat >>conftest.$ac_ext <<_ACEOF
17688 /* end confdefs.h. */
17689 $ac_includes_default
17690 int
17691 main ()
17692 {
17693 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17694 test_array [0] = 0
17695
17696 ;
17697 return 0;
17698 }
17699 _ACEOF
17700 rm -f conftest.$ac_objext
17701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17702 (eval $ac_compile) 2>conftest.er1
17703 ac_status=$?
17704 grep -v '^ *+' conftest.er1 >conftest.err
17705 rm -f conftest.er1
17706 cat conftest.err >&5
17707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17708 (exit $ac_status); } &&
17709 { ac_try='test -z "$ac_c_werror_flag"
17710 || test ! -s conftest.err'
17711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17712 (eval $ac_try) 2>&5
17713 ac_status=$?
17714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17715 (exit $ac_status); }; } &&
17716 { ac_try='test -s conftest.$ac_objext'
17717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17718 (eval $ac_try) 2>&5
17719 ac_status=$?
17720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721 (exit $ac_status); }; }; then
17722 ac_lo=$ac_mid; break
17723 else
17724 echo "$as_me: failed program was:" >&5
17725 sed 's/^/| /' conftest.$ac_ext >&5
17726
17727 ac_hi=`expr '(' $ac_mid ')' - 1`
17728 if test $ac_mid -le $ac_hi; then
17729 ac_lo= ac_hi=
17730 break
17731 fi
17732 ac_mid=`expr 2 '*' $ac_mid`
17733 fi
17734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17735 done
17736 else
17737 echo "$as_me: failed program was:" >&5
17738 sed 's/^/| /' conftest.$ac_ext >&5
17739
17740 ac_lo= ac_hi=
17741 fi
17742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17743 fi
17744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17745 # Binary search between lo and hi bounds.
17746 while test "x$ac_lo" != "x$ac_hi"; do
17747 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17748 cat >conftest.$ac_ext <<_ACEOF
17749 /* confdefs.h. */
17750 _ACEOF
17751 cat confdefs.h >>conftest.$ac_ext
17752 cat >>conftest.$ac_ext <<_ACEOF
17753 /* end confdefs.h. */
17754 $ac_includes_default
17755 int
17756 main ()
17757 {
17758 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17759 test_array [0] = 0
17760
17761 ;
17762 return 0;
17763 }
17764 _ACEOF
17765 rm -f conftest.$ac_objext
17766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17767 (eval $ac_compile) 2>conftest.er1
17768 ac_status=$?
17769 grep -v '^ *+' conftest.er1 >conftest.err
17770 rm -f conftest.er1
17771 cat conftest.err >&5
17772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17773 (exit $ac_status); } &&
17774 { ac_try='test -z "$ac_c_werror_flag"
17775 || test ! -s conftest.err'
17776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17777 (eval $ac_try) 2>&5
17778 ac_status=$?
17779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17780 (exit $ac_status); }; } &&
17781 { ac_try='test -s conftest.$ac_objext'
17782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17783 (eval $ac_try) 2>&5
17784 ac_status=$?
17785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17786 (exit $ac_status); }; }; then
17787 ac_hi=$ac_mid
17788 else
17789 echo "$as_me: failed program was:" >&5
17790 sed 's/^/| /' conftest.$ac_ext >&5
17791
17792 ac_lo=`expr '(' $ac_mid ')' + 1`
17793 fi
17794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17795 done
17796 case $ac_lo in
17797 ?*) ac_cv_sizeof_short=$ac_lo;;
17798 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17799 See \`config.log' for more details." >&5
17800 echo "$as_me: error: cannot compute sizeof (short), 77
17801 See \`config.log' for more details." >&2;}
17802 { (exit 1); exit 1; }; } ;;
17803 esac
17804 else
17805 if test "$cross_compiling" = yes; then
17806 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17807 See \`config.log' for more details." >&5
17808 echo "$as_me: error: cannot run test program while cross compiling
17809 See \`config.log' for more details." >&2;}
17810 { (exit 1); exit 1; }; }
17811 else
17812 cat >conftest.$ac_ext <<_ACEOF
17813 /* confdefs.h. */
17814 _ACEOF
17815 cat confdefs.h >>conftest.$ac_ext
17816 cat >>conftest.$ac_ext <<_ACEOF
17817 /* end confdefs.h. */
17818 $ac_includes_default
17819 long longval () { return (long) (sizeof (short)); }
17820 unsigned long ulongval () { return (long) (sizeof (short)); }
17821 #include <stdio.h>
17822 #include <stdlib.h>
17823 int
17824 main ()
17825 {
17826
17827 FILE *f = fopen ("conftest.val", "w");
17828 if (! f)
17829 exit (1);
17830 if (((long) (sizeof (short))) < 0)
17831 {
17832 long i = longval ();
17833 if (i != ((long) (sizeof (short))))
17834 exit (1);
17835 fprintf (f, "%ld\n", i);
17836 }
17837 else
17838 {
17839 unsigned long i = ulongval ();
17840 if (i != ((long) (sizeof (short))))
17841 exit (1);
17842 fprintf (f, "%lu\n", i);
17843 }
17844 exit (ferror (f) || fclose (f) != 0);
17845
17846 ;
17847 return 0;
17848 }
17849 _ACEOF
17850 rm -f conftest$ac_exeext
17851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17852 (eval $ac_link) 2>&5
17853 ac_status=$?
17854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17855 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17857 (eval $ac_try) 2>&5
17858 ac_status=$?
17859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17860 (exit $ac_status); }; }; then
17861 ac_cv_sizeof_short=`cat conftest.val`
17862 else
17863 echo "$as_me: program exited with status $ac_status" >&5
17864 echo "$as_me: failed program was:" >&5
17865 sed 's/^/| /' conftest.$ac_ext >&5
17866
17867 ( exit $ac_status )
17868 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17869 See \`config.log' for more details." >&5
17870 echo "$as_me: error: cannot compute sizeof (short), 77
17871 See \`config.log' for more details." >&2;}
17872 { (exit 1); exit 1; }; }
17873 fi
17874 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17875 fi
17876 fi
17877 rm -f conftest.val
17878 else
17879 ac_cv_sizeof_short=0
17880 fi
17881 fi
17882 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17883 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17884 cat >>confdefs.h <<_ACEOF
17885 #define SIZEOF_SHORT $ac_cv_sizeof_short
17886 _ACEOF
17887
17888
17889 echo "$as_me:$LINENO: checking for int" >&5
17890 echo $ECHO_N "checking for int... $ECHO_C" >&6
17891 if test "${ac_cv_type_int+set}" = set; then
17892 echo $ECHO_N "(cached) $ECHO_C" >&6
17893 else
17894 cat >conftest.$ac_ext <<_ACEOF
17895 /* confdefs.h. */
17896 _ACEOF
17897 cat confdefs.h >>conftest.$ac_ext
17898 cat >>conftest.$ac_ext <<_ACEOF
17899 /* end confdefs.h. */
17900 $ac_includes_default
17901 int
17902 main ()
17903 {
17904 if ((int *) 0)
17905 return 0;
17906 if (sizeof (int))
17907 return 0;
17908 ;
17909 return 0;
17910 }
17911 _ACEOF
17912 rm -f conftest.$ac_objext
17913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17914 (eval $ac_compile) 2>conftest.er1
17915 ac_status=$?
17916 grep -v '^ *+' conftest.er1 >conftest.err
17917 rm -f conftest.er1
17918 cat conftest.err >&5
17919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17920 (exit $ac_status); } &&
17921 { ac_try='test -z "$ac_c_werror_flag"
17922 || test ! -s conftest.err'
17923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17924 (eval $ac_try) 2>&5
17925 ac_status=$?
17926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17927 (exit $ac_status); }; } &&
17928 { ac_try='test -s conftest.$ac_objext'
17929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17930 (eval $ac_try) 2>&5
17931 ac_status=$?
17932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17933 (exit $ac_status); }; }; then
17934 ac_cv_type_int=yes
17935 else
17936 echo "$as_me: failed program was:" >&5
17937 sed 's/^/| /' conftest.$ac_ext >&5
17938
17939 ac_cv_type_int=no
17940 fi
17941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17942 fi
17943 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
17944 echo "${ECHO_T}$ac_cv_type_int" >&6
17945
17946 echo "$as_me:$LINENO: checking size of int" >&5
17947 echo $ECHO_N "checking size of int... $ECHO_C" >&6
17948 if test "${ac_cv_sizeof_int+set}" = set; then
17949 echo $ECHO_N "(cached) $ECHO_C" >&6
17950 else
17951 if test "$ac_cv_type_int" = yes; then
17952 # The cast to unsigned long works around a bug in the HP C Compiler
17953 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17954 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17955 # This bug is HP SR number 8606223364.
17956 if test "$cross_compiling" = yes; then
17957 # Depending upon the size, compute the lo and hi bounds.
17958 cat >conftest.$ac_ext <<_ACEOF
17959 /* confdefs.h. */
17960 _ACEOF
17961 cat confdefs.h >>conftest.$ac_ext
17962 cat >>conftest.$ac_ext <<_ACEOF
17963 /* end confdefs.h. */
17964 $ac_includes_default
17965 int
17966 main ()
17967 {
17968 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
17969 test_array [0] = 0
17970
17971 ;
17972 return 0;
17973 }
17974 _ACEOF
17975 rm -f conftest.$ac_objext
17976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17977 (eval $ac_compile) 2>conftest.er1
17978 ac_status=$?
17979 grep -v '^ *+' conftest.er1 >conftest.err
17980 rm -f conftest.er1
17981 cat conftest.err >&5
17982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17983 (exit $ac_status); } &&
17984 { ac_try='test -z "$ac_c_werror_flag"
17985 || test ! -s conftest.err'
17986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17987 (eval $ac_try) 2>&5
17988 ac_status=$?
17989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17990 (exit $ac_status); }; } &&
17991 { ac_try='test -s conftest.$ac_objext'
17992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17993 (eval $ac_try) 2>&5
17994 ac_status=$?
17995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17996 (exit $ac_status); }; }; then
17997 ac_lo=0 ac_mid=0
17998 while :; do
17999 cat >conftest.$ac_ext <<_ACEOF
18000 /* confdefs.h. */
18001 _ACEOF
18002 cat confdefs.h >>conftest.$ac_ext
18003 cat >>conftest.$ac_ext <<_ACEOF
18004 /* end confdefs.h. */
18005 $ac_includes_default
18006 int
18007 main ()
18008 {
18009 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18010 test_array [0] = 0
18011
18012 ;
18013 return 0;
18014 }
18015 _ACEOF
18016 rm -f conftest.$ac_objext
18017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18018 (eval $ac_compile) 2>conftest.er1
18019 ac_status=$?
18020 grep -v '^ *+' conftest.er1 >conftest.err
18021 rm -f conftest.er1
18022 cat conftest.err >&5
18023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18024 (exit $ac_status); } &&
18025 { ac_try='test -z "$ac_c_werror_flag"
18026 || test ! -s conftest.err'
18027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18028 (eval $ac_try) 2>&5
18029 ac_status=$?
18030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18031 (exit $ac_status); }; } &&
18032 { ac_try='test -s conftest.$ac_objext'
18033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18034 (eval $ac_try) 2>&5
18035 ac_status=$?
18036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18037 (exit $ac_status); }; }; then
18038 ac_hi=$ac_mid; break
18039 else
18040 echo "$as_me: failed program was:" >&5
18041 sed 's/^/| /' conftest.$ac_ext >&5
18042
18043 ac_lo=`expr $ac_mid + 1`
18044 if test $ac_lo -le $ac_mid; then
18045 ac_lo= ac_hi=
18046 break
18047 fi
18048 ac_mid=`expr 2 '*' $ac_mid + 1`
18049 fi
18050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18051 done
18052 else
18053 echo "$as_me: failed program was:" >&5
18054 sed 's/^/| /' conftest.$ac_ext >&5
18055
18056 cat >conftest.$ac_ext <<_ACEOF
18057 /* confdefs.h. */
18058 _ACEOF
18059 cat confdefs.h >>conftest.$ac_ext
18060 cat >>conftest.$ac_ext <<_ACEOF
18061 /* end confdefs.h. */
18062 $ac_includes_default
18063 int
18064 main ()
18065 {
18066 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18067 test_array [0] = 0
18068
18069 ;
18070 return 0;
18071 }
18072 _ACEOF
18073 rm -f conftest.$ac_objext
18074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18075 (eval $ac_compile) 2>conftest.er1
18076 ac_status=$?
18077 grep -v '^ *+' conftest.er1 >conftest.err
18078 rm -f conftest.er1
18079 cat conftest.err >&5
18080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18081 (exit $ac_status); } &&
18082 { ac_try='test -z "$ac_c_werror_flag"
18083 || test ! -s conftest.err'
18084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18085 (eval $ac_try) 2>&5
18086 ac_status=$?
18087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18088 (exit $ac_status); }; } &&
18089 { ac_try='test -s conftest.$ac_objext'
18090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18091 (eval $ac_try) 2>&5
18092 ac_status=$?
18093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18094 (exit $ac_status); }; }; then
18095 ac_hi=-1 ac_mid=-1
18096 while :; do
18097 cat >conftest.$ac_ext <<_ACEOF
18098 /* confdefs.h. */
18099 _ACEOF
18100 cat confdefs.h >>conftest.$ac_ext
18101 cat >>conftest.$ac_ext <<_ACEOF
18102 /* end confdefs.h. */
18103 $ac_includes_default
18104 int
18105 main ()
18106 {
18107 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18108 test_array [0] = 0
18109
18110 ;
18111 return 0;
18112 }
18113 _ACEOF
18114 rm -f conftest.$ac_objext
18115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18116 (eval $ac_compile) 2>conftest.er1
18117 ac_status=$?
18118 grep -v '^ *+' conftest.er1 >conftest.err
18119 rm -f conftest.er1
18120 cat conftest.err >&5
18121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18122 (exit $ac_status); } &&
18123 { ac_try='test -z "$ac_c_werror_flag"
18124 || test ! -s conftest.err'
18125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18126 (eval $ac_try) 2>&5
18127 ac_status=$?
18128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18129 (exit $ac_status); }; } &&
18130 { ac_try='test -s conftest.$ac_objext'
18131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18132 (eval $ac_try) 2>&5
18133 ac_status=$?
18134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18135 (exit $ac_status); }; }; then
18136 ac_lo=$ac_mid; break
18137 else
18138 echo "$as_me: failed program was:" >&5
18139 sed 's/^/| /' conftest.$ac_ext >&5
18140
18141 ac_hi=`expr '(' $ac_mid ')' - 1`
18142 if test $ac_mid -le $ac_hi; then
18143 ac_lo= ac_hi=
18144 break
18145 fi
18146 ac_mid=`expr 2 '*' $ac_mid`
18147 fi
18148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18149 done
18150 else
18151 echo "$as_me: failed program was:" >&5
18152 sed 's/^/| /' conftest.$ac_ext >&5
18153
18154 ac_lo= ac_hi=
18155 fi
18156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18157 fi
18158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18159 # Binary search between lo and hi bounds.
18160 while test "x$ac_lo" != "x$ac_hi"; do
18161 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18162 cat >conftest.$ac_ext <<_ACEOF
18163 /* confdefs.h. */
18164 _ACEOF
18165 cat confdefs.h >>conftest.$ac_ext
18166 cat >>conftest.$ac_ext <<_ACEOF
18167 /* end confdefs.h. */
18168 $ac_includes_default
18169 int
18170 main ()
18171 {
18172 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18173 test_array [0] = 0
18174
18175 ;
18176 return 0;
18177 }
18178 _ACEOF
18179 rm -f conftest.$ac_objext
18180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18181 (eval $ac_compile) 2>conftest.er1
18182 ac_status=$?
18183 grep -v '^ *+' conftest.er1 >conftest.err
18184 rm -f conftest.er1
18185 cat conftest.err >&5
18186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18187 (exit $ac_status); } &&
18188 { ac_try='test -z "$ac_c_werror_flag"
18189 || test ! -s conftest.err'
18190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18191 (eval $ac_try) 2>&5
18192 ac_status=$?
18193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18194 (exit $ac_status); }; } &&
18195 { ac_try='test -s conftest.$ac_objext'
18196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18197 (eval $ac_try) 2>&5
18198 ac_status=$?
18199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18200 (exit $ac_status); }; }; then
18201 ac_hi=$ac_mid
18202 else
18203 echo "$as_me: failed program was:" >&5
18204 sed 's/^/| /' conftest.$ac_ext >&5
18205
18206 ac_lo=`expr '(' $ac_mid ')' + 1`
18207 fi
18208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18209 done
18210 case $ac_lo in
18211 ?*) ac_cv_sizeof_int=$ac_lo;;
18212 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18213 See \`config.log' for more details." >&5
18214 echo "$as_me: error: cannot compute sizeof (int), 77
18215 See \`config.log' for more details." >&2;}
18216 { (exit 1); exit 1; }; } ;;
18217 esac
18218 else
18219 if test "$cross_compiling" = yes; then
18220 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18221 See \`config.log' for more details." >&5
18222 echo "$as_me: error: cannot run test program while cross compiling
18223 See \`config.log' for more details." >&2;}
18224 { (exit 1); exit 1; }; }
18225 else
18226 cat >conftest.$ac_ext <<_ACEOF
18227 /* confdefs.h. */
18228 _ACEOF
18229 cat confdefs.h >>conftest.$ac_ext
18230 cat >>conftest.$ac_ext <<_ACEOF
18231 /* end confdefs.h. */
18232 $ac_includes_default
18233 long longval () { return (long) (sizeof (int)); }
18234 unsigned long ulongval () { return (long) (sizeof (int)); }
18235 #include <stdio.h>
18236 #include <stdlib.h>
18237 int
18238 main ()
18239 {
18240
18241 FILE *f = fopen ("conftest.val", "w");
18242 if (! f)
18243 exit (1);
18244 if (((long) (sizeof (int))) < 0)
18245 {
18246 long i = longval ();
18247 if (i != ((long) (sizeof (int))))
18248 exit (1);
18249 fprintf (f, "%ld\n", i);
18250 }
18251 else
18252 {
18253 unsigned long i = ulongval ();
18254 if (i != ((long) (sizeof (int))))
18255 exit (1);
18256 fprintf (f, "%lu\n", i);
18257 }
18258 exit (ferror (f) || fclose (f) != 0);
18259
18260 ;
18261 return 0;
18262 }
18263 _ACEOF
18264 rm -f conftest$ac_exeext
18265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18266 (eval $ac_link) 2>&5
18267 ac_status=$?
18268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18269 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18271 (eval $ac_try) 2>&5
18272 ac_status=$?
18273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18274 (exit $ac_status); }; }; then
18275 ac_cv_sizeof_int=`cat conftest.val`
18276 else
18277 echo "$as_me: program exited with status $ac_status" >&5
18278 echo "$as_me: failed program was:" >&5
18279 sed 's/^/| /' conftest.$ac_ext >&5
18280
18281 ( exit $ac_status )
18282 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18283 See \`config.log' for more details." >&5
18284 echo "$as_me: error: cannot compute sizeof (int), 77
18285 See \`config.log' for more details." >&2;}
18286 { (exit 1); exit 1; }; }
18287 fi
18288 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18289 fi
18290 fi
18291 rm -f conftest.val
18292 else
18293 ac_cv_sizeof_int=0
18294 fi
18295 fi
18296 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18297 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18298 cat >>confdefs.h <<_ACEOF
18299 #define SIZEOF_INT $ac_cv_sizeof_int
18300 _ACEOF
18301
18302
18303 echo "$as_me:$LINENO: checking for long" >&5
18304 echo $ECHO_N "checking for long... $ECHO_C" >&6
18305 if test "${ac_cv_type_long+set}" = set; then
18306 echo $ECHO_N "(cached) $ECHO_C" >&6
18307 else
18308 cat >conftest.$ac_ext <<_ACEOF
18309 /* confdefs.h. */
18310 _ACEOF
18311 cat confdefs.h >>conftest.$ac_ext
18312 cat >>conftest.$ac_ext <<_ACEOF
18313 /* end confdefs.h. */
18314 $ac_includes_default
18315 int
18316 main ()
18317 {
18318 if ((long *) 0)
18319 return 0;
18320 if (sizeof (long))
18321 return 0;
18322 ;
18323 return 0;
18324 }
18325 _ACEOF
18326 rm -f conftest.$ac_objext
18327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18328 (eval $ac_compile) 2>conftest.er1
18329 ac_status=$?
18330 grep -v '^ *+' conftest.er1 >conftest.err
18331 rm -f conftest.er1
18332 cat conftest.err >&5
18333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18334 (exit $ac_status); } &&
18335 { ac_try='test -z "$ac_c_werror_flag"
18336 || test ! -s conftest.err'
18337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18338 (eval $ac_try) 2>&5
18339 ac_status=$?
18340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18341 (exit $ac_status); }; } &&
18342 { ac_try='test -s conftest.$ac_objext'
18343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18344 (eval $ac_try) 2>&5
18345 ac_status=$?
18346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18347 (exit $ac_status); }; }; then
18348 ac_cv_type_long=yes
18349 else
18350 echo "$as_me: failed program was:" >&5
18351 sed 's/^/| /' conftest.$ac_ext >&5
18352
18353 ac_cv_type_long=no
18354 fi
18355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18356 fi
18357 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18358 echo "${ECHO_T}$ac_cv_type_long" >&6
18359
18360 echo "$as_me:$LINENO: checking size of long" >&5
18361 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18362 if test "${ac_cv_sizeof_long+set}" = set; then
18363 echo $ECHO_N "(cached) $ECHO_C" >&6
18364 else
18365 if test "$ac_cv_type_long" = yes; then
18366 # The cast to unsigned long works around a bug in the HP C Compiler
18367 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18368 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18369 # This bug is HP SR number 8606223364.
18370 if test "$cross_compiling" = yes; then
18371 # Depending upon the size, compute the lo and hi bounds.
18372 cat >conftest.$ac_ext <<_ACEOF
18373 /* confdefs.h. */
18374 _ACEOF
18375 cat confdefs.h >>conftest.$ac_ext
18376 cat >>conftest.$ac_ext <<_ACEOF
18377 /* end confdefs.h. */
18378 $ac_includes_default
18379 int
18380 main ()
18381 {
18382 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
18383 test_array [0] = 0
18384
18385 ;
18386 return 0;
18387 }
18388 _ACEOF
18389 rm -f conftest.$ac_objext
18390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18391 (eval $ac_compile) 2>conftest.er1
18392 ac_status=$?
18393 grep -v '^ *+' conftest.er1 >conftest.err
18394 rm -f conftest.er1
18395 cat conftest.err >&5
18396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18397 (exit $ac_status); } &&
18398 { ac_try='test -z "$ac_c_werror_flag"
18399 || test ! -s conftest.err'
18400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18401 (eval $ac_try) 2>&5
18402 ac_status=$?
18403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18404 (exit $ac_status); }; } &&
18405 { ac_try='test -s conftest.$ac_objext'
18406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18407 (eval $ac_try) 2>&5
18408 ac_status=$?
18409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18410 (exit $ac_status); }; }; then
18411 ac_lo=0 ac_mid=0
18412 while :; do
18413 cat >conftest.$ac_ext <<_ACEOF
18414 /* confdefs.h. */
18415 _ACEOF
18416 cat confdefs.h >>conftest.$ac_ext
18417 cat >>conftest.$ac_ext <<_ACEOF
18418 /* end confdefs.h. */
18419 $ac_includes_default
18420 int
18421 main ()
18422 {
18423 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18424 test_array [0] = 0
18425
18426 ;
18427 return 0;
18428 }
18429 _ACEOF
18430 rm -f conftest.$ac_objext
18431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18432 (eval $ac_compile) 2>conftest.er1
18433 ac_status=$?
18434 grep -v '^ *+' conftest.er1 >conftest.err
18435 rm -f conftest.er1
18436 cat conftest.err >&5
18437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18438 (exit $ac_status); } &&
18439 { ac_try='test -z "$ac_c_werror_flag"
18440 || test ! -s conftest.err'
18441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18442 (eval $ac_try) 2>&5
18443 ac_status=$?
18444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18445 (exit $ac_status); }; } &&
18446 { ac_try='test -s conftest.$ac_objext'
18447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18448 (eval $ac_try) 2>&5
18449 ac_status=$?
18450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18451 (exit $ac_status); }; }; then
18452 ac_hi=$ac_mid; break
18453 else
18454 echo "$as_me: failed program was:" >&5
18455 sed 's/^/| /' conftest.$ac_ext >&5
18456
18457 ac_lo=`expr $ac_mid + 1`
18458 if test $ac_lo -le $ac_mid; then
18459 ac_lo= ac_hi=
18460 break
18461 fi
18462 ac_mid=`expr 2 '*' $ac_mid + 1`
18463 fi
18464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18465 done
18466 else
18467 echo "$as_me: failed program was:" >&5
18468 sed 's/^/| /' conftest.$ac_ext >&5
18469
18470 cat >conftest.$ac_ext <<_ACEOF
18471 /* confdefs.h. */
18472 _ACEOF
18473 cat confdefs.h >>conftest.$ac_ext
18474 cat >>conftest.$ac_ext <<_ACEOF
18475 /* end confdefs.h. */
18476 $ac_includes_default
18477 int
18478 main ()
18479 {
18480 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
18481 test_array [0] = 0
18482
18483 ;
18484 return 0;
18485 }
18486 _ACEOF
18487 rm -f conftest.$ac_objext
18488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18489 (eval $ac_compile) 2>conftest.er1
18490 ac_status=$?
18491 grep -v '^ *+' conftest.er1 >conftest.err
18492 rm -f conftest.er1
18493 cat conftest.err >&5
18494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18495 (exit $ac_status); } &&
18496 { ac_try='test -z "$ac_c_werror_flag"
18497 || test ! -s conftest.err'
18498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18499 (eval $ac_try) 2>&5
18500 ac_status=$?
18501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18502 (exit $ac_status); }; } &&
18503 { ac_try='test -s conftest.$ac_objext'
18504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18505 (eval $ac_try) 2>&5
18506 ac_status=$?
18507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18508 (exit $ac_status); }; }; then
18509 ac_hi=-1 ac_mid=-1
18510 while :; do
18511 cat >conftest.$ac_ext <<_ACEOF
18512 /* confdefs.h. */
18513 _ACEOF
18514 cat confdefs.h >>conftest.$ac_ext
18515 cat >>conftest.$ac_ext <<_ACEOF
18516 /* end confdefs.h. */
18517 $ac_includes_default
18518 int
18519 main ()
18520 {
18521 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
18522 test_array [0] = 0
18523
18524 ;
18525 return 0;
18526 }
18527 _ACEOF
18528 rm -f conftest.$ac_objext
18529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18530 (eval $ac_compile) 2>conftest.er1
18531 ac_status=$?
18532 grep -v '^ *+' conftest.er1 >conftest.err
18533 rm -f conftest.er1
18534 cat conftest.err >&5
18535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18536 (exit $ac_status); } &&
18537 { ac_try='test -z "$ac_c_werror_flag"
18538 || test ! -s conftest.err'
18539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18540 (eval $ac_try) 2>&5
18541 ac_status=$?
18542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18543 (exit $ac_status); }; } &&
18544 { ac_try='test -s conftest.$ac_objext'
18545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18546 (eval $ac_try) 2>&5
18547 ac_status=$?
18548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18549 (exit $ac_status); }; }; then
18550 ac_lo=$ac_mid; break
18551 else
18552 echo "$as_me: failed program was:" >&5
18553 sed 's/^/| /' conftest.$ac_ext >&5
18554
18555 ac_hi=`expr '(' $ac_mid ')' - 1`
18556 if test $ac_mid -le $ac_hi; then
18557 ac_lo= ac_hi=
18558 break
18559 fi
18560 ac_mid=`expr 2 '*' $ac_mid`
18561 fi
18562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18563 done
18564 else
18565 echo "$as_me: failed program was:" >&5
18566 sed 's/^/| /' conftest.$ac_ext >&5
18567
18568 ac_lo= ac_hi=
18569 fi
18570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18571 fi
18572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18573 # Binary search between lo and hi bounds.
18574 while test "x$ac_lo" != "x$ac_hi"; do
18575 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18576 cat >conftest.$ac_ext <<_ACEOF
18577 /* confdefs.h. */
18578 _ACEOF
18579 cat confdefs.h >>conftest.$ac_ext
18580 cat >>conftest.$ac_ext <<_ACEOF
18581 /* end confdefs.h. */
18582 $ac_includes_default
18583 int
18584 main ()
18585 {
18586 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18587 test_array [0] = 0
18588
18589 ;
18590 return 0;
18591 }
18592 _ACEOF
18593 rm -f conftest.$ac_objext
18594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18595 (eval $ac_compile) 2>conftest.er1
18596 ac_status=$?
18597 grep -v '^ *+' conftest.er1 >conftest.err
18598 rm -f conftest.er1
18599 cat conftest.err >&5
18600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18601 (exit $ac_status); } &&
18602 { ac_try='test -z "$ac_c_werror_flag"
18603 || test ! -s conftest.err'
18604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18605 (eval $ac_try) 2>&5
18606 ac_status=$?
18607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18608 (exit $ac_status); }; } &&
18609 { ac_try='test -s conftest.$ac_objext'
18610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18611 (eval $ac_try) 2>&5
18612 ac_status=$?
18613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18614 (exit $ac_status); }; }; then
18615 ac_hi=$ac_mid
18616 else
18617 echo "$as_me: failed program was:" >&5
18618 sed 's/^/| /' conftest.$ac_ext >&5
18619
18620 ac_lo=`expr '(' $ac_mid ')' + 1`
18621 fi
18622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18623 done
18624 case $ac_lo in
18625 ?*) ac_cv_sizeof_long=$ac_lo;;
18626 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18627 See \`config.log' for more details." >&5
18628 echo "$as_me: error: cannot compute sizeof (long), 77
18629 See \`config.log' for more details." >&2;}
18630 { (exit 1); exit 1; }; } ;;
18631 esac
18632 else
18633 if test "$cross_compiling" = yes; then
18634 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18635 See \`config.log' for more details." >&5
18636 echo "$as_me: error: cannot run test program while cross compiling
18637 See \`config.log' for more details." >&2;}
18638 { (exit 1); exit 1; }; }
18639 else
18640 cat >conftest.$ac_ext <<_ACEOF
18641 /* confdefs.h. */
18642 _ACEOF
18643 cat confdefs.h >>conftest.$ac_ext
18644 cat >>conftest.$ac_ext <<_ACEOF
18645 /* end confdefs.h. */
18646 $ac_includes_default
18647 long longval () { return (long) (sizeof (long)); }
18648 unsigned long ulongval () { return (long) (sizeof (long)); }
18649 #include <stdio.h>
18650 #include <stdlib.h>
18651 int
18652 main ()
18653 {
18654
18655 FILE *f = fopen ("conftest.val", "w");
18656 if (! f)
18657 exit (1);
18658 if (((long) (sizeof (long))) < 0)
18659 {
18660 long i = longval ();
18661 if (i != ((long) (sizeof (long))))
18662 exit (1);
18663 fprintf (f, "%ld\n", i);
18664 }
18665 else
18666 {
18667 unsigned long i = ulongval ();
18668 if (i != ((long) (sizeof (long))))
18669 exit (1);
18670 fprintf (f, "%lu\n", i);
18671 }
18672 exit (ferror (f) || fclose (f) != 0);
18673
18674 ;
18675 return 0;
18676 }
18677 _ACEOF
18678 rm -f conftest$ac_exeext
18679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18680 (eval $ac_link) 2>&5
18681 ac_status=$?
18682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18683 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18685 (eval $ac_try) 2>&5
18686 ac_status=$?
18687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18688 (exit $ac_status); }; }; then
18689 ac_cv_sizeof_long=`cat conftest.val`
18690 else
18691 echo "$as_me: program exited with status $ac_status" >&5
18692 echo "$as_me: failed program was:" >&5
18693 sed 's/^/| /' conftest.$ac_ext >&5
18694
18695 ( exit $ac_status )
18696 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18697 See \`config.log' for more details." >&5
18698 echo "$as_me: error: cannot compute sizeof (long), 77
18699 See \`config.log' for more details." >&2;}
18700 { (exit 1); exit 1; }; }
18701 fi
18702 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18703 fi
18704 fi
18705 rm -f conftest.val
18706 else
18707 ac_cv_sizeof_long=0
18708 fi
18709 fi
18710 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
18711 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
18712 cat >>confdefs.h <<_ACEOF
18713 #define SIZEOF_LONG $ac_cv_sizeof_long
18714 _ACEOF
18715
18716
18717 echo "$as_me:$LINENO: checking for void*" >&5
18718 echo $ECHO_N "checking for void*... $ECHO_C" >&6
18719 if test "${ac_cv_type_voidp+set}" = set; then
18720 echo $ECHO_N "(cached) $ECHO_C" >&6
18721 else
18722 cat >conftest.$ac_ext <<_ACEOF
18723 /* confdefs.h. */
18724 _ACEOF
18725 cat confdefs.h >>conftest.$ac_ext
18726 cat >>conftest.$ac_ext <<_ACEOF
18727 /* end confdefs.h. */
18728 $ac_includes_default
18729 int
18730 main ()
18731 {
18732 if ((void* *) 0)
18733 return 0;
18734 if (sizeof (void*))
18735 return 0;
18736 ;
18737 return 0;
18738 }
18739 _ACEOF
18740 rm -f conftest.$ac_objext
18741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18742 (eval $ac_compile) 2>conftest.er1
18743 ac_status=$?
18744 grep -v '^ *+' conftest.er1 >conftest.err
18745 rm -f conftest.er1
18746 cat conftest.err >&5
18747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18748 (exit $ac_status); } &&
18749 { ac_try='test -z "$ac_c_werror_flag"
18750 || test ! -s conftest.err'
18751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18752 (eval $ac_try) 2>&5
18753 ac_status=$?
18754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18755 (exit $ac_status); }; } &&
18756 { ac_try='test -s conftest.$ac_objext'
18757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18758 (eval $ac_try) 2>&5
18759 ac_status=$?
18760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18761 (exit $ac_status); }; }; then
18762 ac_cv_type_voidp=yes
18763 else
18764 echo "$as_me: failed program was:" >&5
18765 sed 's/^/| /' conftest.$ac_ext >&5
18766
18767 ac_cv_type_voidp=no
18768 fi
18769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18770 fi
18771 echo "$as_me:$LINENO: result: $ac_cv_type_voidp" >&5
18772 echo "${ECHO_T}$ac_cv_type_voidp" >&6
18773
18774 echo "$as_me:$LINENO: checking size of void*" >&5
18775 echo $ECHO_N "checking size of void*... $ECHO_C" >&6
18776 if test "${ac_cv_sizeof_voidp+set}" = set; then
18777 echo $ECHO_N "(cached) $ECHO_C" >&6
18778 else
18779 if test "$ac_cv_type_voidp" = yes; then
18780 # The cast to unsigned long works around a bug in the HP C Compiler
18781 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18782 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18783 # This bug is HP SR number 8606223364.
18784 if test "$cross_compiling" = yes; then
18785 # Depending upon the size, compute the lo and hi bounds.
18786 cat >conftest.$ac_ext <<_ACEOF
18787 /* confdefs.h. */
18788 _ACEOF
18789 cat confdefs.h >>conftest.$ac_ext
18790 cat >>conftest.$ac_ext <<_ACEOF
18791 /* end confdefs.h. */
18792 $ac_includes_default
18793 int
18794 main ()
18795 {
18796 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= 0)];
18797 test_array [0] = 0
18798
18799 ;
18800 return 0;
18801 }
18802 _ACEOF
18803 rm -f conftest.$ac_objext
18804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18805 (eval $ac_compile) 2>conftest.er1
18806 ac_status=$?
18807 grep -v '^ *+' conftest.er1 >conftest.err
18808 rm -f conftest.er1
18809 cat conftest.err >&5
18810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18811 (exit $ac_status); } &&
18812 { ac_try='test -z "$ac_c_werror_flag"
18813 || test ! -s conftest.err'
18814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18815 (eval $ac_try) 2>&5
18816 ac_status=$?
18817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18818 (exit $ac_status); }; } &&
18819 { ac_try='test -s conftest.$ac_objext'
18820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18821 (eval $ac_try) 2>&5
18822 ac_status=$?
18823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18824 (exit $ac_status); }; }; then
18825 ac_lo=0 ac_mid=0
18826 while :; do
18827 cat >conftest.$ac_ext <<_ACEOF
18828 /* confdefs.h. */
18829 _ACEOF
18830 cat confdefs.h >>conftest.$ac_ext
18831 cat >>conftest.$ac_ext <<_ACEOF
18832 /* end confdefs.h. */
18833 $ac_includes_default
18834 int
18835 main ()
18836 {
18837 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
18838 test_array [0] = 0
18839
18840 ;
18841 return 0;
18842 }
18843 _ACEOF
18844 rm -f conftest.$ac_objext
18845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18846 (eval $ac_compile) 2>conftest.er1
18847 ac_status=$?
18848 grep -v '^ *+' conftest.er1 >conftest.err
18849 rm -f conftest.er1
18850 cat conftest.err >&5
18851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18852 (exit $ac_status); } &&
18853 { ac_try='test -z "$ac_c_werror_flag"
18854 || test ! -s conftest.err'
18855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18856 (eval $ac_try) 2>&5
18857 ac_status=$?
18858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18859 (exit $ac_status); }; } &&
18860 { ac_try='test -s conftest.$ac_objext'
18861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18862 (eval $ac_try) 2>&5
18863 ac_status=$?
18864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18865 (exit $ac_status); }; }; then
18866 ac_hi=$ac_mid; break
18867 else
18868 echo "$as_me: failed program was:" >&5
18869 sed 's/^/| /' conftest.$ac_ext >&5
18870
18871 ac_lo=`expr $ac_mid + 1`
18872 if test $ac_lo -le $ac_mid; then
18873 ac_lo= ac_hi=
18874 break
18875 fi
18876 ac_mid=`expr 2 '*' $ac_mid + 1`
18877 fi
18878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18879 done
18880 else
18881 echo "$as_me: failed program was:" >&5
18882 sed 's/^/| /' conftest.$ac_ext >&5
18883
18884 cat >conftest.$ac_ext <<_ACEOF
18885 /* confdefs.h. */
18886 _ACEOF
18887 cat confdefs.h >>conftest.$ac_ext
18888 cat >>conftest.$ac_ext <<_ACEOF
18889 /* end confdefs.h. */
18890 $ac_includes_default
18891 int
18892 main ()
18893 {
18894 static int test_array [1 - 2 * !(((long) (sizeof (void*))) < 0)];
18895 test_array [0] = 0
18896
18897 ;
18898 return 0;
18899 }
18900 _ACEOF
18901 rm -f conftest.$ac_objext
18902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18903 (eval $ac_compile) 2>conftest.er1
18904 ac_status=$?
18905 grep -v '^ *+' conftest.er1 >conftest.err
18906 rm -f conftest.er1
18907 cat conftest.err >&5
18908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18909 (exit $ac_status); } &&
18910 { ac_try='test -z "$ac_c_werror_flag"
18911 || test ! -s conftest.err'
18912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18913 (eval $ac_try) 2>&5
18914 ac_status=$?
18915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18916 (exit $ac_status); }; } &&
18917 { ac_try='test -s conftest.$ac_objext'
18918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18919 (eval $ac_try) 2>&5
18920 ac_status=$?
18921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18922 (exit $ac_status); }; }; then
18923 ac_hi=-1 ac_mid=-1
18924 while :; do
18925 cat >conftest.$ac_ext <<_ACEOF
18926 /* confdefs.h. */
18927 _ACEOF
18928 cat confdefs.h >>conftest.$ac_ext
18929 cat >>conftest.$ac_ext <<_ACEOF
18930 /* end confdefs.h. */
18931 $ac_includes_default
18932 int
18933 main ()
18934 {
18935 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= $ac_mid)];
18936 test_array [0] = 0
18937
18938 ;
18939 return 0;
18940 }
18941 _ACEOF
18942 rm -f conftest.$ac_objext
18943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18944 (eval $ac_compile) 2>conftest.er1
18945 ac_status=$?
18946 grep -v '^ *+' conftest.er1 >conftest.err
18947 rm -f conftest.er1
18948 cat conftest.err >&5
18949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18950 (exit $ac_status); } &&
18951 { ac_try='test -z "$ac_c_werror_flag"
18952 || test ! -s conftest.err'
18953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18954 (eval $ac_try) 2>&5
18955 ac_status=$?
18956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18957 (exit $ac_status); }; } &&
18958 { ac_try='test -s conftest.$ac_objext'
18959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18960 (eval $ac_try) 2>&5
18961 ac_status=$?
18962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18963 (exit $ac_status); }; }; then
18964 ac_lo=$ac_mid; break
18965 else
18966 echo "$as_me: failed program was:" >&5
18967 sed 's/^/| /' conftest.$ac_ext >&5
18968
18969 ac_hi=`expr '(' $ac_mid ')' - 1`
18970 if test $ac_mid -le $ac_hi; then
18971 ac_lo= ac_hi=
18972 break
18973 fi
18974 ac_mid=`expr 2 '*' $ac_mid`
18975 fi
18976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18977 done
18978 else
18979 echo "$as_me: failed program was:" >&5
18980 sed 's/^/| /' conftest.$ac_ext >&5
18981
18982 ac_lo= ac_hi=
18983 fi
18984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18985 fi
18986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18987 # Binary search between lo and hi bounds.
18988 while test "x$ac_lo" != "x$ac_hi"; do
18989 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18990 cat >conftest.$ac_ext <<_ACEOF
18991 /* confdefs.h. */
18992 _ACEOF
18993 cat confdefs.h >>conftest.$ac_ext
18994 cat >>conftest.$ac_ext <<_ACEOF
18995 /* end confdefs.h. */
18996 $ac_includes_default
18997 int
18998 main ()
18999 {
19000 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
19001 test_array [0] = 0
19002
19003 ;
19004 return 0;
19005 }
19006 _ACEOF
19007 rm -f conftest.$ac_objext
19008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19009 (eval $ac_compile) 2>conftest.er1
19010 ac_status=$?
19011 grep -v '^ *+' conftest.er1 >conftest.err
19012 rm -f conftest.er1
19013 cat conftest.err >&5
19014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19015 (exit $ac_status); } &&
19016 { ac_try='test -z "$ac_c_werror_flag"
19017 || test ! -s conftest.err'
19018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19019 (eval $ac_try) 2>&5
19020 ac_status=$?
19021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19022 (exit $ac_status); }; } &&
19023 { ac_try='test -s conftest.$ac_objext'
19024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19025 (eval $ac_try) 2>&5
19026 ac_status=$?
19027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19028 (exit $ac_status); }; }; then
19029 ac_hi=$ac_mid
19030 else
19031 echo "$as_me: failed program was:" >&5
19032 sed 's/^/| /' conftest.$ac_ext >&5
19033
19034 ac_lo=`expr '(' $ac_mid ')' + 1`
19035 fi
19036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19037 done
19038 case $ac_lo in
19039 ?*) ac_cv_sizeof_voidp=$ac_lo;;
19040 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
19041 See \`config.log' for more details." >&5
19042 echo "$as_me: error: cannot compute sizeof (void*), 77
19043 See \`config.log' for more details." >&2;}
19044 { (exit 1); exit 1; }; } ;;
19045 esac
19046 else
19047 if test "$cross_compiling" = yes; then
19048 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19049 See \`config.log' for more details." >&5
19050 echo "$as_me: error: cannot run test program while cross compiling
19051 See \`config.log' for more details." >&2;}
19052 { (exit 1); exit 1; }; }
19053 else
19054 cat >conftest.$ac_ext <<_ACEOF
19055 /* confdefs.h. */
19056 _ACEOF
19057 cat confdefs.h >>conftest.$ac_ext
19058 cat >>conftest.$ac_ext <<_ACEOF
19059 /* end confdefs.h. */
19060 $ac_includes_default
19061 long longval () { return (long) (sizeof (void*)); }
19062 unsigned long ulongval () { return (long) (sizeof (void*)); }
19063 #include <stdio.h>
19064 #include <stdlib.h>
19065 int
19066 main ()
19067 {
19068
19069 FILE *f = fopen ("conftest.val", "w");
19070 if (! f)
19071 exit (1);
19072 if (((long) (sizeof (void*))) < 0)
19073 {
19074 long i = longval ();
19075 if (i != ((long) (sizeof (void*))))
19076 exit (1);
19077 fprintf (f, "%ld\n", i);
19078 }
19079 else
19080 {
19081 unsigned long i = ulongval ();
19082 if (i != ((long) (sizeof (void*))))
19083 exit (1);
19084 fprintf (f, "%lu\n", i);
19085 }
19086 exit (ferror (f) || fclose (f) != 0);
19087
19088 ;
19089 return 0;
19090 }
19091 _ACEOF
19092 rm -f conftest$ac_exeext
19093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19094 (eval $ac_link) 2>&5
19095 ac_status=$?
19096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19097 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19099 (eval $ac_try) 2>&5
19100 ac_status=$?
19101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19102 (exit $ac_status); }; }; then
19103 ac_cv_sizeof_voidp=`cat conftest.val`
19104 else
19105 echo "$as_me: program exited with status $ac_status" >&5
19106 echo "$as_me: failed program was:" >&5
19107 sed 's/^/| /' conftest.$ac_ext >&5
19108
19109 ( exit $ac_status )
19110 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
19111 See \`config.log' for more details." >&5
19112 echo "$as_me: error: cannot compute sizeof (void*), 77
19113 See \`config.log' for more details." >&2;}
19114 { (exit 1); exit 1; }; }
19115 fi
19116 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19117 fi
19118 fi
19119 rm -f conftest.val
19120 else
19121 ac_cv_sizeof_voidp=0
19122 fi
19123 fi
19124 echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5
19125 echo "${ECHO_T}$ac_cv_sizeof_voidp" >&6
19126 cat >>confdefs.h <<_ACEOF
19127 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
19128 _ACEOF
19129
19130
19131 ac_cv_char_data_model=""
19132 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char"
19133 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short"
19134 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int"
19135 ac_cv_long_data_model=""
19136 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int"
19137 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long"
19138 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
19139 echo "$as_me:$LINENO: checking data model" >&5
19140 echo $ECHO_N "checking data model... $ECHO_C" >&6
19141 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
19142 122/242) ac_cv_data_model="IP16" ; n="standard 16bit machine" ;;
19143 122/244) ac_cv_data_model="LP32" ; n="standard 32bit machine" ;;
19144 122/*) ac_cv_data_model="i16" ; n="unusual int16 model" ;;
19145 124/444) ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;;
19146 124/488) ac_cv_data_model="LP64" ; n="standard 64bit unixish" ;;
19147 124/448) ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;;
19148 124/*) ac_cv_data_model="i32" ; n="unusual int32 model" ;;
19149 128/888) ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;;
19150 128/*) ac_cv_data_model="i64" ; n="unusual int64 model" ;;
19151 222/*2) ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;;
19152 333/*3) ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;;
19153 444/*4) ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;;
19154 666/*6) ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;;
19155 888/*8) ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;;
19156 222/*|333/*|444/*|666/*|888/*) :
19157 ac_cv_data_model="iDSP" ; n="unusual dsptype" ;;
19158 *) ac_cv_data_model="none" ; n="very unusual model" ;;
19159 esac
19160 echo "$as_me:$LINENO: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
19161 echo "${ECHO_T}$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6
19162
19163 fi
19164
19165 if test "_$ac_cv_header_stdint_x" != "_" ; then
19166 ac_cv_header_stdint="$ac_cv_header_stdint_x"
19167 elif test "_$ac_cv_header_stdint_o" != "_" ; then
19168 ac_cv_header_stdint="$ac_cv_header_stdint_o"
19169 elif test "_$ac_cv_header_stdint_u" != "_" ; then
19170 ac_cv_header_stdint="$ac_cv_header_stdint_u"
19171 else
19172 ac_cv_header_stdint="stddef.h"
19173 fi
19174
19175 echo "$as_me:$LINENO: checking for extra inttypes in chosen header" >&5
19176 echo $ECHO_N "checking for extra inttypes in chosen header... $ECHO_C" >&6
19177 echo "$as_me:$LINENO: result: ($ac_cv_header_stdint)" >&5
19178 echo "${ECHO_T}($ac_cv_header_stdint)" >&6
19179 unset ac_cv_type_int_least32_t
19180 unset ac_cv_type_int_fast32_t
19181 echo "$as_me:$LINENO: checking for int_least32_t" >&5
19182 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
19183 if test "${ac_cv_type_int_least32_t+set}" = set; then
19184 echo $ECHO_N "(cached) $ECHO_C" >&6
19185 else
19186 cat >conftest.$ac_ext <<_ACEOF
19187 /* confdefs.h. */
19188 _ACEOF
19189 cat confdefs.h >>conftest.$ac_ext
19190 cat >>conftest.$ac_ext <<_ACEOF
19191 /* end confdefs.h. */
19192 #include <$ac_cv_header_stdint>
19193
19194 int
19195 main ()
19196 {
19197 if ((int_least32_t *) 0)
19198 return 0;
19199 if (sizeof (int_least32_t))
19200 return 0;
19201 ;
19202 return 0;
19203 }
19204 _ACEOF
19205 rm -f conftest.$ac_objext
19206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19207 (eval $ac_compile) 2>conftest.er1
19208 ac_status=$?
19209 grep -v '^ *+' conftest.er1 >conftest.err
19210 rm -f conftest.er1
19211 cat conftest.err >&5
19212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19213 (exit $ac_status); } &&
19214 { ac_try='test -z "$ac_c_werror_flag"
19215 || test ! -s conftest.err'
19216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19217 (eval $ac_try) 2>&5
19218 ac_status=$?
19219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19220 (exit $ac_status); }; } &&
19221 { ac_try='test -s conftest.$ac_objext'
19222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19223 (eval $ac_try) 2>&5
19224 ac_status=$?
19225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19226 (exit $ac_status); }; }; then
19227 ac_cv_type_int_least32_t=yes
19228 else
19229 echo "$as_me: failed program was:" >&5
19230 sed 's/^/| /' conftest.$ac_ext >&5
19231
19232 ac_cv_type_int_least32_t=no
19233 fi
19234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19235 fi
19236 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
19237 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
19238
19239 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
19240 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
19241 if test "${ac_cv_type_int_fast32_t+set}" = set; then
19242 echo $ECHO_N "(cached) $ECHO_C" >&6
19243 else
19244 cat >conftest.$ac_ext <<_ACEOF
19245 /* confdefs.h. */
19246 _ACEOF
19247 cat confdefs.h >>conftest.$ac_ext
19248 cat >>conftest.$ac_ext <<_ACEOF
19249 /* end confdefs.h. */
19250 #include<$ac_cv_header_stdint>
19251
19252 int
19253 main ()
19254 {
19255 if ((int_fast32_t *) 0)
19256 return 0;
19257 if (sizeof (int_fast32_t))
19258 return 0;
19259 ;
19260 return 0;
19261 }
19262 _ACEOF
19263 rm -f conftest.$ac_objext
19264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19265 (eval $ac_compile) 2>conftest.er1
19266 ac_status=$?
19267 grep -v '^ *+' conftest.er1 >conftest.err
19268 rm -f conftest.er1
19269 cat conftest.err >&5
19270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19271 (exit $ac_status); } &&
19272 { ac_try='test -z "$ac_c_werror_flag"
19273 || test ! -s conftest.err'
19274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19275 (eval $ac_try) 2>&5
19276 ac_status=$?
19277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19278 (exit $ac_status); }; } &&
19279 { ac_try='test -s conftest.$ac_objext'
19280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19281 (eval $ac_try) 2>&5
19282 ac_status=$?
19283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19284 (exit $ac_status); }; }; then
19285 ac_cv_type_int_fast32_t=yes
19286 else
19287 echo "$as_me: failed program was:" >&5
19288 sed 's/^/| /' conftest.$ac_ext >&5
19289
19290 ac_cv_type_int_fast32_t=no
19291 fi
19292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19293 fi
19294 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
19295 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
19296
19297 echo "$as_me:$LINENO: checking for intmax_t" >&5
19298 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6
19299 if test "${ac_cv_type_intmax_t+set}" = set; then
19300 echo $ECHO_N "(cached) $ECHO_C" >&6
19301 else
19302 cat >conftest.$ac_ext <<_ACEOF
19303 /* confdefs.h. */
19304 _ACEOF
19305 cat confdefs.h >>conftest.$ac_ext
19306 cat >>conftest.$ac_ext <<_ACEOF
19307 /* end confdefs.h. */
19308 #include <$ac_cv_header_stdint>
19309
19310 int
19311 main ()
19312 {
19313 if ((intmax_t *) 0)
19314 return 0;
19315 if (sizeof (intmax_t))
19316 return 0;
19317 ;
19318 return 0;
19319 }
19320 _ACEOF
19321 rm -f conftest.$ac_objext
19322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19323 (eval $ac_compile) 2>conftest.er1
19324 ac_status=$?
19325 grep -v '^ *+' conftest.er1 >conftest.err
19326 rm -f conftest.er1
19327 cat conftest.err >&5
19328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19329 (exit $ac_status); } &&
19330 { ac_try='test -z "$ac_c_werror_flag"
19331 || test ! -s conftest.err'
19332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19333 (eval $ac_try) 2>&5
19334 ac_status=$?
19335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19336 (exit $ac_status); }; } &&
19337 { ac_try='test -s conftest.$ac_objext'
19338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19339 (eval $ac_try) 2>&5
19340 ac_status=$?
19341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19342 (exit $ac_status); }; }; then
19343 ac_cv_type_intmax_t=yes
19344 else
19345 echo "$as_me: failed program was:" >&5
19346 sed 's/^/| /' conftest.$ac_ext >&5
19347
19348 ac_cv_type_intmax_t=no
19349 fi
19350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19351 fi
19352 echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5
19353 echo "${ECHO_T}$ac_cv_type_intmax_t" >&6
19354
19355
19356 fi # shortcircut to system "stdint.h"
19357 # ------------------ PREPARE VARIABLES ------------------------------
19358 if test "$GCC" = "yes" ; then
19359 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
19360 else
19361 ac_cv_stdint_message="using $CC"
19362 fi
19363
19364 echo "$as_me:$LINENO: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
19365 echo "${ECHO_T}make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6
19366
19367 # ----------------- DONE inttypes.h checks START header -------------
19368 ac_config_commands="$ac_config_commands $ac_stdint_h"
19369
19370
19371
19372
19373 # Check whether --with-glibj_zip or --without-glibj_zip was given.
19374 if test "${with_glibj_zip+set}" = set; then
19375 withval="$with_glibj_zip"
19376
19377 fi;
19378
19379 case "$with_glibj_zip" in
19380 "")
19381 use_glibj_zip=false
19382 ;;
19383 "no" )
19384 use_glibj_zip=false
19385 ;;
19386 "yes")
19387 { { echo "$as_me:$LINENO: error: Please suply an absolute path to a prebuilt glibj.zip" >&5
19388 echo "$as_me: error: Please suply an absolute path to a prebuilt glibj.zip" >&2;}
19389 { (exit 1); exit 1; }; }
19390 ;;
19391 *)
19392 use_glibj_zip=true
19393 PATH_TO_GLIBJ_ZIP=$with_glibj_zip
19394 ;;
19395 esac;
19396
19397
19398
19399 if test x$use_glibj_zip = xtrue; then
19400 USE_PREBUILT_GLIBJ_ZIP_TRUE=
19401 USE_PREBUILT_GLIBJ_ZIP_FALSE='#'
19402 else
19403 USE_PREBUILT_GLIBJ_ZIP_TRUE='#'
19404 USE_PREBUILT_GLIBJ_ZIP_FALSE=
19405 fi
19406
19407
19408
19409
19410 # Check whether --with-escher or --without-escher was given.
19411 if test "${with_escher+set}" = set; then
19412 withval="$with_escher"
19413
19414 fi;
19415 case "$with_escher" in
19416 "")
19417 use_escher=false
19418 ;;
19419 "no")
19420 use_escher=false
19421 ;;
19422 "yes")
19423 { { echo "$as_me:$LINENO: error: Please supply an absolute path to Escher library" >&5
19424 echo "$as_me: error: Please supply an absolute path to Escher library" >&2;}
19425 { (exit 1); exit 1; }; }
19426 ;;
19427 *)
19428 use_escher=true
19429 PATH_TO_ESCHER=$with_escher
19430 ;;
19431 esac
19432
19433
19434
19435 if test x$use_escher = xtrue; then
19436 USE_ESCHER_TRUE=
19437 USE_ESCHER_FALSE='#'
19438 else
19439 USE_ESCHER_TRUE='#'
19440 USE_ESCHER_FALSE=
19441 fi
19442
19443
19444
19445 # Check whether --enable-local-sockets or --disable-local-sockets was given.
19446 if test "${enable_local_sockets+set}" = set; then
19447 enableval="$enable_local_sockets"
19448 case "${enableval}" in
19449 yes)
19450 ENABLE_LOCAL_SOCKETS=yes
19451 ;;
19452 *)
19453 ENABLE_LOCAL_SOCKETS=no
19454 ;;
19455 esac
19456 fi;
19457 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"
19458 then
19459 if test "${ac_cv_header_sys_un_h+set}" = set; then
19460 echo "$as_me:$LINENO: checking for sys/un.h" >&5
19461 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
19462 if test "${ac_cv_header_sys_un_h+set}" = set; then
19463 echo $ECHO_N "(cached) $ECHO_C" >&6
19464 fi
19465 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
19466 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
19467 else
19468 # Is the header compilable?
19469 echo "$as_me:$LINENO: checking sys/un.h usability" >&5
19470 echo $ECHO_N "checking sys/un.h usability... $ECHO_C" >&6
19471 cat >conftest.$ac_ext <<_ACEOF
19472 /* confdefs.h. */
19473 _ACEOF
19474 cat confdefs.h >>conftest.$ac_ext
19475 cat >>conftest.$ac_ext <<_ACEOF
19476 /* end confdefs.h. */
19477 $ac_includes_default
19478 #include <sys/un.h>
19479 _ACEOF
19480 rm -f conftest.$ac_objext
19481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19482 (eval $ac_compile) 2>conftest.er1
19483 ac_status=$?
19484 grep -v '^ *+' conftest.er1 >conftest.err
19485 rm -f conftest.er1
19486 cat conftest.err >&5
19487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19488 (exit $ac_status); } &&
19489 { ac_try='test -z "$ac_c_werror_flag"
19490 || test ! -s conftest.err'
19491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19492 (eval $ac_try) 2>&5
19493 ac_status=$?
19494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19495 (exit $ac_status); }; } &&
19496 { ac_try='test -s conftest.$ac_objext'
19497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19498 (eval $ac_try) 2>&5
19499 ac_status=$?
19500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19501 (exit $ac_status); }; }; then
19502 ac_header_compiler=yes
19503 else
19504 echo "$as_me: failed program was:" >&5
19505 sed 's/^/| /' conftest.$ac_ext >&5
19506
19507 ac_header_compiler=no
19508 fi
19509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19510 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19511 echo "${ECHO_T}$ac_header_compiler" >&6
19512
19513 # Is the header present?
19514 echo "$as_me:$LINENO: checking sys/un.h presence" >&5
19515 echo $ECHO_N "checking sys/un.h presence... $ECHO_C" >&6
19516 cat >conftest.$ac_ext <<_ACEOF
19517 /* confdefs.h. */
19518 _ACEOF
19519 cat confdefs.h >>conftest.$ac_ext
19520 cat >>conftest.$ac_ext <<_ACEOF
19521 /* end confdefs.h. */
19522 #include <sys/un.h>
19523 _ACEOF
19524 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19525 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19526 ac_status=$?
19527 grep -v '^ *+' conftest.er1 >conftest.err
19528 rm -f conftest.er1
19529 cat conftest.err >&5
19530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19531 (exit $ac_status); } >/dev/null; then
19532 if test -s conftest.err; then
19533 ac_cpp_err=$ac_c_preproc_warn_flag
19534 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19535 else
19536 ac_cpp_err=
19537 fi
19538 else
19539 ac_cpp_err=yes
19540 fi
19541 if test -z "$ac_cpp_err"; then
19542 ac_header_preproc=yes
19543 else
19544 echo "$as_me: failed program was:" >&5
19545 sed 's/^/| /' conftest.$ac_ext >&5
19546
19547 ac_header_preproc=no
19548 fi
19549 rm -f conftest.err conftest.$ac_ext
19550 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19551 echo "${ECHO_T}$ac_header_preproc" >&6
19552
19553 # So? What about this header?
19554 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19555 yes:no: )
19556 { echo "$as_me:$LINENO: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&5
19557 echo "$as_me: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19558 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the compiler's result" >&5
19559 echo "$as_me: WARNING: sys/un.h: proceeding with the compiler's result" >&2;}
19560 ac_header_preproc=yes
19561 ;;
19562 no:yes:* )
19563 { echo "$as_me:$LINENO: WARNING: sys/un.h: present but cannot be compiled" >&5
19564 echo "$as_me: WARNING: sys/un.h: present but cannot be compiled" >&2;}
19565 { echo "$as_me:$LINENO: WARNING: sys/un.h: check for missing prerequisite headers?" >&5
19566 echo "$as_me: WARNING: sys/un.h: check for missing prerequisite headers?" >&2;}
19567 { echo "$as_me:$LINENO: WARNING: sys/un.h: see the Autoconf documentation" >&5
19568 echo "$as_me: WARNING: sys/un.h: see the Autoconf documentation" >&2;}
19569 { echo "$as_me:$LINENO: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&5
19570 echo "$as_me: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&2;}
19571 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the preprocessor's result" >&5
19572 echo "$as_me: WARNING: sys/un.h: proceeding with the preprocessor's result" >&2;}
19573 { echo "$as_me:$LINENO: WARNING: sys/un.h: in the future, the compiler will take precedence" >&5
19574 echo "$as_me: WARNING: sys/un.h: in the future, the compiler will take precedence" >&2;}
19575 (
19576 cat <<\_ASBOX
19577 ## -------------------------------- ##
19578 ## Report this to classpath@gnu.org ##
19579 ## -------------------------------- ##
19580 _ASBOX
19581 ) |
19582 sed "s/^/$as_me: WARNING: /" >&2
19583 ;;
19584 esac
19585 echo "$as_me:$LINENO: checking for sys/un.h" >&5
19586 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
19587 if test "${ac_cv_header_sys_un_h+set}" = set; then
19588 echo $ECHO_N "(cached) $ECHO_C" >&6
19589 else
19590 ac_cv_header_sys_un_h=$ac_header_preproc
19591 fi
19592 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
19593 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
19594
19595 fi
19596
19597
19598
19599
19600
19601
19602
19603
19604 for ac_func in read write bind listen accept shutdown
19605 do
19606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19607 echo "$as_me:$LINENO: checking for $ac_func" >&5
19608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19609 if eval "test \"\${$as_ac_var+set}\" = set"; then
19610 echo $ECHO_N "(cached) $ECHO_C" >&6
19611 else
19612 if test x$gcc_no_link = xyes; then
19613 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19615 { (exit 1); exit 1; }; }
19616 fi
19617 cat >conftest.$ac_ext <<_ACEOF
19618 /* confdefs.h. */
19619 _ACEOF
19620 cat confdefs.h >>conftest.$ac_ext
19621 cat >>conftest.$ac_ext <<_ACEOF
19622 /* end confdefs.h. */
19623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19625 #define $ac_func innocuous_$ac_func
19626
19627 /* System header to define __stub macros and hopefully few prototypes,
19628 which can conflict with char $ac_func (); below.
19629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19630 <limits.h> exists even on freestanding compilers. */
19631
19632 #ifdef __STDC__
19633 # include <limits.h>
19634 #else
19635 # include <assert.h>
19636 #endif
19637
19638 #undef $ac_func
19639
19640 /* Override any gcc2 internal prototype to avoid an error. */
19641 #ifdef __cplusplus
19642 extern "C"
19643 {
19644 #endif
19645 /* We use char because int might match the return type of a gcc2
19646 builtin and then its argument prototype would still apply. */
19647 char $ac_func ();
19648 /* The GNU C library defines this for functions which it implements
19649 to always fail with ENOSYS. Some functions are actually named
19650 something starting with __ and the normal name is an alias. */
19651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19652 choke me
19653 #else
19654 char (*f) () = $ac_func;
19655 #endif
19656 #ifdef __cplusplus
19657 }
19658 #endif
19659
19660 int
19661 main ()
19662 {
19663 return f != $ac_func;
19664 ;
19665 return 0;
19666 }
19667 _ACEOF
19668 rm -f conftest.$ac_objext conftest$ac_exeext
19669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19670 (eval $ac_link) 2>conftest.er1
19671 ac_status=$?
19672 grep -v '^ *+' conftest.er1 >conftest.err
19673 rm -f conftest.er1
19674 cat conftest.err >&5
19675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19676 (exit $ac_status); } &&
19677 { ac_try='test -z "$ac_c_werror_flag"
19678 || test ! -s conftest.err'
19679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19680 (eval $ac_try) 2>&5
19681 ac_status=$?
19682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19683 (exit $ac_status); }; } &&
19684 { ac_try='test -s conftest$ac_exeext'
19685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19686 (eval $ac_try) 2>&5
19687 ac_status=$?
19688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19689 (exit $ac_status); }; }; then
19690 eval "$as_ac_var=yes"
19691 else
19692 echo "$as_me: failed program was:" >&5
19693 sed 's/^/| /' conftest.$ac_ext >&5
19694
19695 eval "$as_ac_var=no"
19696 fi
19697 rm -f conftest.err conftest.$ac_objext \
19698 conftest$ac_exeext conftest.$ac_ext
19699 fi
19700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19701 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19702 if test `eval echo '${'$as_ac_var'}'` = yes; then
19703 cat >>confdefs.h <<_ACEOF
19704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19705 _ACEOF
19706
19707 else
19708 { { echo "$as_me:$LINENO: error: networking support not available" >&5
19709 echo "$as_me: error: networking support not available" >&2;}
19710 { (exit 1); exit 1; }; }
19711 fi
19712 done
19713
19714
19715 cat >>confdefs.h <<\_ACEOF
19716 #define ENABLE_LOCAL_SOCKETS 1
19717 _ACEOF
19718
19719 fi
19720
19721
19722 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"; then
19723 ENABLE_LOCAL_SOCKETS_TRUE=
19724 ENABLE_LOCAL_SOCKETS_FALSE='#'
19725 else
19726 ENABLE_LOCAL_SOCKETS_TRUE='#'
19727 ENABLE_LOCAL_SOCKETS_FALSE=
19728 fi
19729
19730
19731
19732
19733 ac_config_files="$ac_config_files Makefile doc/Makefile doc/api/Makefile external/Makefile external/sax/Makefile external/w3c_dom/Makefile external/relaxngDatatype/Makefile external/jsr166/Makefile gnu/classpath/Configuration.java gnu/java/security/Configuration.java include/Makefile native/Makefile native/fdlibm/Makefile native/jawt/Makefile native/jni/Makefile native/jni/classpath/Makefile native/jni/java-io/Makefile native/jni/java-lang/Makefile native/jni/java-net/Makefile native/jni/java-nio/Makefile native/jni/java-util/Makefile native/jni/gtk-peer/Makefile native/jni/gconf-peer/Makefile native/jni/qt-peer/Makefile native/jni/xmlj/Makefile native/jni/midi-alsa/Makefile native/jni/midi-dssi/Makefile native/jni/native-lib/Makefile native/plugin/Makefile resource/Makefile resource/META-INF/services/java.util.prefs.PreferencesFactory scripts/Makefile scripts/classpath.spec lib/Makefile lib/gen-classlist.sh lib/copy-vmresources.sh tools/Makefile examples/Makefile examples/Makefile.jawt examples/Makefile.java2d"
19734
19735
19736 if test "x${COMPILE_WRAPPERS}" = xno
19737 then
19738 ac_config_files="$ac_config_files tools/gappletviewer tools/gjarsigner tools/gkeytool tools/gjar tools/gnative2ascii tools/gserialver tools/grmiregistry tools/gtnameserv tools/gorbd tools/grmid tools/grmic tools/gjavah"
19739
19740 ac_config_commands="$ac_config_commands gappletviewer"
19741
19742 ac_config_commands="$ac_config_commands gjarsigner"
19743
19744 ac_config_commands="$ac_config_commands gkeytool"
19745
19746 ac_config_commands="$ac_config_commands gjar"
19747
19748 ac_config_commands="$ac_config_commands gnative2ascii"
19749
19750 ac_config_commands="$ac_config_commands gserialver"
19751
19752 ac_config_commands="$ac_config_commands grmiregistry"
19753
19754 ac_config_commands="$ac_config_commands gtnameserv"
19755
19756 ac_config_commands="$ac_config_commands gorbd"
19757
19758 ac_config_commands="$ac_config_commands grmid"
19759
19760 ac_config_commands="$ac_config_commands grmic"
19761
19762 ac_config_commands="$ac_config_commands gjavah"
19763
19764 fi
19765
19766 ac_config_commands="$ac_config_commands gen-classlist"
19767
19768 ac_config_commands="$ac_config_commands copy-vmresources"
19769
19770 cat >confcache <<\_ACEOF
19771 # This file is a shell script that caches the results of configure
19772 # tests run on this system so they can be shared between configure
19773 # scripts and configure runs, see configure's option --config-cache.
19774 # It is not useful on other systems. If it contains results you don't
19775 # want to keep, you may remove or edit it.
19776 #
19777 # config.status only pays attention to the cache file if you give it
19778 # the --recheck option to rerun configure.
19779 #
19780 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19781 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19782 # following values.
19783
19784 _ACEOF
19785
19786 # The following way of writing the cache mishandles newlines in values,
19787 # but we know of no workaround that is simple, portable, and efficient.
19788 # So, don't put newlines in cache variables' values.
19789 # Ultrix sh set writes to stderr and can't be redirected directly,
19790 # and sets the high bit in the cache file unless we assign to the vars.
19791 {
19792 (set) 2>&1 |
19793 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19794 *ac_space=\ *)
19795 # `set' does not quote correctly, so add quotes (double-quote
19796 # substitution turns \\\\ into \\, and sed turns \\ into \).
19797 sed -n \
19798 "s/'/'\\\\''/g;
19799 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19800 ;;
19801 *)
19802 # `set' quotes correctly as required by POSIX, so do not add quotes.
19803 sed -n \
19804 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19805 ;;
19806 esac;
19807 } |
19808 sed '
19809 t clear
19810 : clear
19811 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19812 t end
19813 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19814 : end' >>confcache
19815 if diff $cache_file confcache >/dev/null 2>&1; then :; else
19816 if test -w $cache_file; then
19817 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19818 cat confcache >$cache_file
19819 else
19820 echo "not updating unwritable cache $cache_file"
19821 fi
19822 fi
19823 rm -f confcache
19824
19825 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19826 # Let make expand exec_prefix.
19827 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19828
19829 # VPATH may cause trouble with some makes, so we remove $(srcdir),
19830 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
19831 # trailing colons and then remove the whole line if VPATH becomes empty
19832 # (actually we leave an empty line to preserve line numbers).
19833 if test "x$srcdir" = x.; then
19834 ac_vpsub='/^[ ]*VPATH[ ]*=/{
19835 s/:*\$(srcdir):*/:/;
19836 s/:*\${srcdir}:*/:/;
19837 s/:*@srcdir@:*/:/;
19838 s/^\([^=]*=[ ]*\):*/\1/;
19839 s/:*$//;
19840 s/^[^=]*=[ ]*$//;
19841 }'
19842 fi
19843
19844 DEFS=-DHAVE_CONFIG_H
19845
19846 ac_libobjs=
19847 ac_ltlibobjs=
19848 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19849 # 1. Remove the extension, and $U if already installed.
19850 ac_i=`echo "$ac_i" |
19851 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
19852 # 2. Add them.
19853 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
19854 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
19855 done
19856 LIBOBJS=$ac_libobjs
19857
19858 LTLIBOBJS=$ac_ltlibobjs
19859
19860
19861 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
19862 { { echo "$as_me:$LINENO: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
19863 Usually this means the macro was only invoked conditionally." >&5
19864 echo "$as_me: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
19865 Usually this means the macro was only invoked conditionally." >&2;}
19866 { (exit 1); exit 1; }; }
19867 fi
19868 if test -z "${CREATE_COLLECTIONS_TRUE}" && test -z "${CREATE_COLLECTIONS_FALSE}"; then
19869 { { echo "$as_me:$LINENO: error: conditional \"CREATE_COLLECTIONS\" was never defined.
19870 Usually this means the macro was only invoked conditionally." >&5
19871 echo "$as_me: error: conditional \"CREATE_COLLECTIONS\" was never defined.
19872 Usually this means the macro was only invoked conditionally." >&2;}
19873 { (exit 1); exit 1; }; }
19874 fi
19875 if test -z "${CREATE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_JNI_LIBRARIES_FALSE}"; then
19876 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
19877 Usually this means the macro was only invoked conditionally." >&5
19878 echo "$as_me: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
19879 Usually this means the macro was only invoked conditionally." >&2;}
19880 { (exit 1); exit 1; }; }
19881 fi
19882 if test -z "${CREATE_CORE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_CORE_JNI_LIBRARIES_FALSE}"; then
19883 { { echo "$as_me:$LINENO: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
19884 Usually this means the macro was only invoked conditionally." >&5
19885 echo "$as_me: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
19886 Usually this means the macro was only invoked conditionally." >&2;}
19887 { (exit 1); exit 1; }; }
19888 fi
19889 if test -z "${CREATE_GCONF_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GCONF_PEER_LIBRARIES_FALSE}"; then
19890 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
19891 Usually this means the macro was only invoked conditionally." >&5
19892 echo "$as_me: error: conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
19893 Usually this means the macro was only invoked conditionally." >&2;}
19894 { (exit 1); exit 1; }; }
19895 fi
19896 if test -z "${CREATE_XMLJ_LIBRARY_TRUE}" && test -z "${CREATE_XMLJ_LIBRARY_FALSE}"; then
19897 { { echo "$as_me:$LINENO: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
19898 Usually this means the macro was only invoked conditionally." >&5
19899 echo "$as_me: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
19900 Usually this means the macro was only invoked conditionally." >&2;}
19901 { (exit 1); exit 1; }; }
19902 fi
19903 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19904 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
19905 Usually this means the macro was only invoked conditionally." >&5
19906 echo "$as_me: error: conditional \"AMDEP\" was never defined.
19907 Usually this means the macro was only invoked conditionally." >&2;}
19908 { (exit 1); exit 1; }; }
19909 fi
19910 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19911 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
19912 Usually this means the macro was only invoked conditionally." >&5
19913 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
19914 Usually this means the macro was only invoked conditionally." >&2;}
19915 { (exit 1); exit 1; }; }
19916 fi
19917 if test -z "${CREATE_ALSA_LIBRARIES_TRUE}" && test -z "${CREATE_ALSA_LIBRARIES_FALSE}"; then
19918 { { echo "$as_me:$LINENO: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
19919 Usually this means the macro was only invoked conditionally." >&5
19920 echo "$as_me: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
19921 Usually this means the macro was only invoked conditionally." >&2;}
19922 { (exit 1); exit 1; }; }
19923 fi
19924 if test -z "${CREATE_DSSI_LIBRARIES_TRUE}" && test -z "${CREATE_DSSI_LIBRARIES_FALSE}"; then
19925 { { echo "$as_me:$LINENO: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
19926 Usually this means the macro was only invoked conditionally." >&5
19927 echo "$as_me: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
19928 Usually this means the macro was only invoked conditionally." >&2;}
19929 { (exit 1); exit 1; }; }
19930 fi
19931 if test -z "${CREATE_GTK_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GTK_PEER_LIBRARIES_FALSE}"; then
19932 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
19933 Usually this means the macro was only invoked conditionally." >&5
19934 echo "$as_me: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
19935 Usually this means the macro was only invoked conditionally." >&2;}
19936 { (exit 1); exit 1; }; }
19937 fi
19938 if test -z "${CREATE_QT_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_QT_PEER_LIBRARIES_FALSE}"; then
19939 { { echo "$as_me:$LINENO: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
19940 Usually this means the macro was only invoked conditionally." >&5
19941 echo "$as_me: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
19942 Usually this means the macro was only invoked conditionally." >&2;}
19943 { (exit 1); exit 1; }; }
19944 fi
19945 if test -z "${CREATE_PLUGIN_TRUE}" && test -z "${CREATE_PLUGIN_FALSE}"; then
19946 { { echo "$as_me:$LINENO: error: conditional \"CREATE_PLUGIN\" was never defined.
19947 Usually this means the macro was only invoked conditionally." >&5
19948 echo "$as_me: error: conditional \"CREATE_PLUGIN\" was never defined.
19949 Usually this means the macro was only invoked conditionally." >&2;}
19950 { (exit 1); exit 1; }; }
19951 fi
19952 if test -z "${FOUND_CACAO_TRUE}" && test -z "${FOUND_CACAO_FALSE}"; then
19953 { { echo "$as_me:$LINENO: error: conditional \"FOUND_CACAO\" was never defined.
19954 Usually this means the macro was only invoked conditionally." >&5
19955 echo "$as_me: error: conditional \"FOUND_CACAO\" was never defined.
19956 Usually this means the macro was only invoked conditionally." >&2;}
19957 { (exit 1); exit 1; }; }
19958 fi
19959 if test -z "${CREATE_JNI_HEADERS_TRUE}" && test -z "${CREATE_JNI_HEADERS_FALSE}"; then
19960 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
19961 Usually this means the macro was only invoked conditionally." >&5
19962 echo "$as_me: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
19963 Usually this means the macro was only invoked conditionally." >&2;}
19964 { (exit 1); exit 1; }; }
19965 fi
19966 if test -z "${CREATE_WRAPPERS_TRUE}" && test -z "${CREATE_WRAPPERS_FALSE}"; then
19967 { { echo "$as_me:$LINENO: error: conditional \"CREATE_WRAPPERS\" was never defined.
19968 Usually this means the macro was only invoked conditionally." >&5
19969 echo "$as_me: error: conditional \"CREATE_WRAPPERS\" was never defined.
19970 Usually this means the macro was only invoked conditionally." >&2;}
19971 { (exit 1); exit 1; }; }
19972 fi
19973 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19974 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
19975 Usually this means the macro was only invoked conditionally." >&5
19976 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
19977 Usually this means the macro was only invoked conditionally." >&2;}
19978 { (exit 1); exit 1; }; }
19979 fi
19980 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19981 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
19982 Usually this means the macro was only invoked conditionally." >&5
19983 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
19984 Usually this means the macro was only invoked conditionally." >&2;}
19985 { (exit 1); exit 1; }; }
19986 fi
19987 if test -z "${USER_SPECIFIED_JAVAH_TRUE}" && test -z "${USER_SPECIFIED_JAVAH_FALSE}"; then
19988 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
19989 Usually this means the macro was only invoked conditionally." >&5
19990 echo "$as_me: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
19991 Usually this means the macro was only invoked conditionally." >&2;}
19992 { (exit 1); exit 1; }; }
19993 fi
19994 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
19995 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
19996 Usually this means the macro was only invoked conditionally." >&5
19997 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
19998 Usually this means the macro was only invoked conditionally." >&2;}
19999 { (exit 1); exit 1; }; }
20000 fi
20001 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
20002 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
20003 Usually this means the macro was only invoked conditionally." >&5
20004 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
20005 Usually this means the macro was only invoked conditionally." >&2;}
20006 { (exit 1); exit 1; }; }
20007 fi
20008 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
20009 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
20010 Usually this means the macro was only invoked conditionally." >&5
20011 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
20012 Usually this means the macro was only invoked conditionally." >&2;}
20013 { (exit 1); exit 1; }; }
20014 fi
20015 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
20016 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
20017 Usually this means the macro was only invoked conditionally." >&5
20018 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
20019 Usually this means the macro was only invoked conditionally." >&2;}
20020 { (exit 1); exit 1; }; }
20021 fi
20022 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
20023 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
20024 Usually this means the macro was only invoked conditionally." >&5
20025 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
20026 Usually this means the macro was only invoked conditionally." >&2;}
20027 { (exit 1); exit 1; }; }
20028 fi
20029 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
20030 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
20031 Usually this means the macro was only invoked conditionally." >&5
20032 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
20033 Usually this means the macro was only invoked conditionally." >&2;}
20034 { (exit 1); exit 1; }; }
20035 fi
20036 if test -z "${FOUND_KJC_TRUE}" && test -z "${FOUND_KJC_FALSE}"; then
20037 { { echo "$as_me:$LINENO: error: conditional \"FOUND_KJC\" was never defined.
20038 Usually this means the macro was only invoked conditionally." >&5
20039 echo "$as_me: error: conditional \"FOUND_KJC\" was never defined.
20040 Usually this means the macro was only invoked conditionally." >&2;}
20041 { (exit 1); exit 1; }; }
20042 fi
20043 if test -z "${FOUND_GCJX_TRUE}" && test -z "${FOUND_GCJX_FALSE}"; then
20044 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJX\" was never defined.
20045 Usually this means the macro was only invoked conditionally." >&5
20046 echo "$as_me: error: conditional \"FOUND_GCJX\" was never defined.
20047 Usually this means the macro was only invoked conditionally." >&2;}
20048 { (exit 1); exit 1; }; }
20049 fi
20050 if test -z "${USER_SPECIFIED_CLASSLIB_TRUE}" && test -z "${USER_SPECIFIED_CLASSLIB_FALSE}"; then
20051 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
20052 Usually this means the macro was only invoked conditionally." >&5
20053 echo "$as_me: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
20054 Usually this means the macro was only invoked conditionally." >&2;}
20055 { (exit 1); exit 1; }; }
20056 fi
20057 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
20058 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
20059 Usually this means the macro was only invoked conditionally." >&5
20060 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
20061 Usually this means the macro was only invoked conditionally." >&2;}
20062 { (exit 1); exit 1; }; }
20063 fi
20064 if test -z "${INSTALL_GLIBJ_ZIP_TRUE}" && test -z "${INSTALL_GLIBJ_ZIP_FALSE}"; then
20065 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
20066 Usually this means the macro was only invoked conditionally." >&5
20067 echo "$as_me: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
20068 Usually this means the macro was only invoked conditionally." >&2;}
20069 { (exit 1); exit 1; }; }
20070 fi
20071 if test -z "${INSTALL_CLASS_FILES_TRUE}" && test -z "${INSTALL_CLASS_FILES_FALSE}"; then
20072 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
20073 Usually this means the macro was only invoked conditionally." >&5
20074 echo "$as_me: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
20075 Usually this means the macro was only invoked conditionally." >&2;}
20076 { (exit 1); exit 1; }; }
20077 fi
20078 if test -z "${BUILD_CLASS_FILES_TRUE}" && test -z "${BUILD_CLASS_FILES_FALSE}"; then
20079 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CLASS_FILES\" was never defined.
20080 Usually this means the macro was only invoked conditionally." >&5
20081 echo "$as_me: error: conditional \"BUILD_CLASS_FILES\" was never defined.
20082 Usually this means the macro was only invoked conditionally." >&2;}
20083 { (exit 1); exit 1; }; }
20084 fi
20085 if test -z "${CREATE_API_DOCS_TRUE}" && test -z "${CREATE_API_DOCS_FALSE}"; then
20086 { { echo "$as_me:$LINENO: error: conditional \"CREATE_API_DOCS\" was never defined.
20087 Usually this means the macro was only invoked conditionally." >&5
20088 echo "$as_me: error: conditional \"CREATE_API_DOCS\" was never defined.
20089 Usually this means the macro was only invoked conditionally." >&2;}
20090 { (exit 1); exit 1; }; }
20091 fi
20092 if test -z "${REGEN_PARSERS_TRUE}" && test -z "${REGEN_PARSERS_FALSE}"; then
20093 { { echo "$as_me:$LINENO: error: conditional \"REGEN_PARSERS\" was never defined.
20094 Usually this means the macro was only invoked conditionally." >&5
20095 echo "$as_me: error: conditional \"REGEN_PARSERS\" was never defined.
20096 Usually this means the macro was only invoked conditionally." >&2;}
20097 { (exit 1); exit 1; }; }
20098 fi
20099 if test -z "${USE_PREBUILT_GLIBJ_ZIP_TRUE}" && test -z "${USE_PREBUILT_GLIBJ_ZIP_FALSE}"; then
20100 { { echo "$as_me:$LINENO: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
20101 Usually this means the macro was only invoked conditionally." >&5
20102 echo "$as_me: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
20103 Usually this means the macro was only invoked conditionally." >&2;}
20104 { (exit 1); exit 1; }; }
20105 fi
20106 if test -z "${USE_ESCHER_TRUE}" && test -z "${USE_ESCHER_FALSE}"; then
20107 { { echo "$as_me:$LINENO: error: conditional \"USE_ESCHER\" was never defined.
20108 Usually this means the macro was only invoked conditionally." >&5
20109 echo "$as_me: error: conditional \"USE_ESCHER\" was never defined.
20110 Usually this means the macro was only invoked conditionally." >&2;}
20111 { (exit 1); exit 1; }; }
20112 fi
20113 if test -z "${ENABLE_LOCAL_SOCKETS_TRUE}" && test -z "${ENABLE_LOCAL_SOCKETS_FALSE}"; then
20114 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
20115 Usually this means the macro was only invoked conditionally." >&5
20116 echo "$as_me: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
20117 Usually this means the macro was only invoked conditionally." >&2;}
20118 { (exit 1); exit 1; }; }
20119 fi
20120
20121 : ${CONFIG_STATUS=./config.status}
20122 ac_clean_files_save=$ac_clean_files
20123 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20124 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20125 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20126 cat >$CONFIG_STATUS <<_ACEOF
20127 #! $SHELL
20128 # Generated by $as_me.
20129 # Run this file to recreate the current configuration.
20130 # Compiler output produced by configure, useful for debugging
20131 # configure, is in config.log if it exists.
20132
20133 debug=false
20134 ac_cs_recheck=false
20135 ac_cs_silent=false
20136 SHELL=\${CONFIG_SHELL-$SHELL}
20137 _ACEOF
20138
20139 cat >>$CONFIG_STATUS <<\_ACEOF
20140 ## --------------------- ##
20141 ## M4sh Initialization. ##
20142 ## --------------------- ##
20143
20144 # Be Bourne compatible
20145 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20146 emulate sh
20147 NULLCMD=:
20148 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20149 # is contrary to our usage. Disable this feature.
20150 alias -g '${1+"$@"}'='"$@"'
20151 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20152 set -o posix
20153 fi
20154 DUALCASE=1; export DUALCASE # for MKS sh
20155
20156 # Support unset when possible.
20157 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20158 as_unset=unset
20159 else
20160 as_unset=false
20161 fi
20162
20163
20164 # Work around bugs in pre-3.0 UWIN ksh.
20165 $as_unset ENV MAIL MAILPATH
20166 PS1='$ '
20167 PS2='> '
20168 PS4='+ '
20169
20170 # NLS nuisances.
20171 for as_var in \
20172 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20173 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20174 LC_TELEPHONE LC_TIME
20175 do
20176 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20177 eval $as_var=C; export $as_var
20178 else
20179 $as_unset $as_var
20180 fi
20181 done
20182
20183 # Required to use basename.
20184 if expr a : '\(a\)' >/dev/null 2>&1; then
20185 as_expr=expr
20186 else
20187 as_expr=false
20188 fi
20189
20190 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
20191 as_basename=basename
20192 else
20193 as_basename=false
20194 fi
20195
20196
20197 # Name of the executable.
20198 as_me=`$as_basename "$0" ||
20199 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20200 X"$0" : 'X\(//\)$' \| \
20201 X"$0" : 'X\(/\)$' \| \
20202 . : '\(.\)' 2>/dev/null ||
20203 echo X/"$0" |
20204 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20205 /^X\/\(\/\/\)$/{ s//\1/; q; }
20206 /^X\/\(\/\).*/{ s//\1/; q; }
20207 s/.*/./; q'`
20208
20209
20210 # PATH needs CR, and LINENO needs CR and PATH.
20211 # Avoid depending upon Character Ranges.
20212 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20213 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20214 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20215 as_cr_digits='0123456789'
20216 as_cr_alnum=$as_cr_Letters$as_cr_digits
20217
20218 # The user is always right.
20219 if test "${PATH_SEPARATOR+set}" != set; then
20220 echo "#! /bin/sh" >conf$$.sh
20221 echo "exit 0" >>conf$$.sh
20222 chmod +x conf$$.sh
20223 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20224 PATH_SEPARATOR=';'
20225 else
20226 PATH_SEPARATOR=:
20227 fi
20228 rm -f conf$$.sh
20229 fi
20230
20231
20232 as_lineno_1=$LINENO
20233 as_lineno_2=$LINENO
20234 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20235 test "x$as_lineno_1" != "x$as_lineno_2" &&
20236 test "x$as_lineno_3" = "x$as_lineno_2" || {
20237 # Find who we are. Look in the path if we contain no path at all
20238 # relative or not.
20239 case $0 in
20240 *[\\/]* ) as_myself=$0 ;;
20241 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20242 for as_dir in $PATH
20243 do
20244 IFS=$as_save_IFS
20245 test -z "$as_dir" && as_dir=.
20246 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20247 done
20248
20249 ;;
20250 esac
20251 # We did not find ourselves, most probably we were run as `sh COMMAND'
20252 # in which case we are not to be found in the path.
20253 if test "x$as_myself" = x; then
20254 as_myself=$0
20255 fi
20256 if test ! -f "$as_myself"; then
20257 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20258 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20259 { (exit 1); exit 1; }; }
20260 fi
20261 case $CONFIG_SHELL in
20262 '')
20263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20264 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
20265 do
20266 IFS=$as_save_IFS
20267 test -z "$as_dir" && as_dir=.
20268 for as_base in sh bash ksh sh5; do
20269 case $as_dir in
20270 /*)
20271 if ("$as_dir/$as_base" -c '
20272 as_lineno_1=$LINENO
20273 as_lineno_2=$LINENO
20274 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20275 test "x$as_lineno_1" != "x$as_lineno_2" &&
20276 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
20277 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
20278 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
20279 CONFIG_SHELL=$as_dir/$as_base
20280 export CONFIG_SHELL
20281 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20282 fi;;
20283 esac
20284 done
20285 done
20286 ;;
20287 esac
20288
20289 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20290 # uniformly replaced by the line number. The first 'sed' inserts a
20291 # line-number line before each line; the second 'sed' does the real
20292 # work. The second script uses 'N' to pair each line-number line
20293 # with the numbered line, and appends trailing '-' during
20294 # substitution so that $LINENO is not a special case at line end.
20295 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20296 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20297 sed '=' <$as_myself |
20298 sed '
20299 N
20300 s,$,-,
20301 : loop
20302 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20303 t loop
20304 s,-$,,
20305 s,^['$as_cr_digits']*\n,,
20306 ' >$as_me.lineno &&
20307 chmod +x $as_me.lineno ||
20308 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20309 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20310 { (exit 1); exit 1; }; }
20311
20312 # Don't try to exec as it changes $[0], causing all sort of problems
20313 # (the dirname of $[0] is not the place where we might find the
20314 # original and so on. Autoconf is especially sensible to this).
20315 . ./$as_me.lineno
20316 # Exit status is that of the last command.
20317 exit
20318 }
20319
20320
20321 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20322 *c*,-n*) ECHO_N= ECHO_C='
20323 ' ECHO_T=' ' ;;
20324 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
20325 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
20326 esac
20327
20328 if expr a : '\(a\)' >/dev/null 2>&1; then
20329 as_expr=expr
20330 else
20331 as_expr=false
20332 fi
20333
20334 rm -f conf$$ conf$$.exe conf$$.file
20335 echo >conf$$.file
20336 if ln -s conf$$.file conf$$ 2>/dev/null; then
20337 # We could just check for DJGPP; but this test a) works b) is more generic
20338 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20339 if test -f conf$$.exe; then
20340 # Don't use ln at all; we don't have any links
20341 as_ln_s='cp -p'
20342 else
20343 as_ln_s='ln -s'
20344 fi
20345 elif ln conf$$.file conf$$ 2>/dev/null; then
20346 as_ln_s=ln
20347 else
20348 as_ln_s='cp -p'
20349 fi
20350 rm -f conf$$ conf$$.exe conf$$.file
20351
20352 if mkdir -p . 2>/dev/null; then
20353 as_mkdir_p=:
20354 else
20355 test -d ./-p && rmdir ./-p
20356 as_mkdir_p=false
20357 fi
20358
20359 as_executable_p="test -f"
20360
20361 # Sed expression to map a string onto a valid CPP name.
20362 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20363
20364 # Sed expression to map a string onto a valid variable name.
20365 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20366
20367
20368 # IFS
20369 # We need space, tab and new line, in precisely that order.
20370 as_nl='
20371 '
20372 IFS=" $as_nl"
20373
20374 # CDPATH.
20375 $as_unset CDPATH
20376
20377 exec 6>&1
20378
20379 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20380 # report actual input values of CONFIG_FILES etc. instead of their
20381 # values after options handling. Logging --version etc. is OK.
20382 exec 5>>config.log
20383 {
20384 echo
20385 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20386 ## Running $as_me. ##
20387 _ASBOX
20388 } >&5
20389 cat >&5 <<_CSEOF
20390
20391 This file was extended by GNU Classpath $as_me 0.94-pre, which was
20392 generated by GNU Autoconf 2.59. Invocation command line was
20393
20394 CONFIG_FILES = $CONFIG_FILES
20395 CONFIG_HEADERS = $CONFIG_HEADERS
20396 CONFIG_LINKS = $CONFIG_LINKS
20397 CONFIG_COMMANDS = $CONFIG_COMMANDS
20398 $ $0 $@
20399
20400 _CSEOF
20401 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20402 echo >&5
20403 _ACEOF
20404
20405 # Files that config.status was made for.
20406 if test -n "$ac_config_files"; then
20407 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20408 fi
20409
20410 if test -n "$ac_config_headers"; then
20411 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20412 fi
20413
20414 if test -n "$ac_config_links"; then
20415 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20416 fi
20417
20418 if test -n "$ac_config_commands"; then
20419 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20420 fi
20421
20422 cat >>$CONFIG_STATUS <<\_ACEOF
20423
20424 ac_cs_usage="\
20425 \`$as_me' instantiates files from templates according to the
20426 current configuration.
20427
20428 Usage: $0 [OPTIONS] [FILE]...
20429
20430 -h, --help print this help, then exit
20431 -V, --version print version number, then exit
20432 -q, --quiet do not print progress messages
20433 -d, --debug don't remove temporary files
20434 --recheck update $as_me by reconfiguring in the same conditions
20435 --file=FILE[:TEMPLATE]
20436 instantiate the configuration file FILE
20437 --header=FILE[:TEMPLATE]
20438 instantiate the configuration header FILE
20439
20440 Configuration files:
20441 $config_files
20442
20443 Configuration headers:
20444 $config_headers
20445
20446 Configuration links:
20447 $config_links
20448
20449 Configuration commands:
20450 $config_commands
20451
20452 Report bugs to <bug-autoconf@gnu.org>."
20453 _ACEOF
20454
20455 cat >>$CONFIG_STATUS <<_ACEOF
20456 ac_cs_version="\\
20457 GNU Classpath config.status 0.94-pre
20458 configured by $0, generated by GNU Autoconf 2.59,
20459 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20460
20461 Copyright (C) 2003 Free Software Foundation, Inc.
20462 This config.status script is free software; the Free Software Foundation
20463 gives unlimited permission to copy, distribute and modify it."
20464 srcdir=$srcdir
20465 INSTALL="$INSTALL"
20466 _ACEOF
20467
20468 cat >>$CONFIG_STATUS <<\_ACEOF
20469 # If no file are specified by the user, then we need to provide default
20470 # value. By we need to know if files were specified by the user.
20471 ac_need_defaults=:
20472 while test $# != 0
20473 do
20474 case $1 in
20475 --*=*)
20476 ac_option=`expr "x$1" : 'x\([^=]*\)='`
20477 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
20478 ac_shift=:
20479 ;;
20480 -*)
20481 ac_option=$1
20482 ac_optarg=$2
20483 ac_shift=shift
20484 ;;
20485 *) # This is not an option, so the user has probably given explicit
20486 # arguments.
20487 ac_option=$1
20488 ac_need_defaults=false;;
20489 esac
20490
20491 case $ac_option in
20492 # Handling of the options.
20493 _ACEOF
20494 cat >>$CONFIG_STATUS <<\_ACEOF
20495 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20496 ac_cs_recheck=: ;;
20497 --version | --vers* | -V )
20498 echo "$ac_cs_version"; exit 0 ;;
20499 --he | --h)
20500 # Conflict between --help and --header
20501 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20502 Try \`$0 --help' for more information." >&5
20503 echo "$as_me: error: ambiguous option: $1
20504 Try \`$0 --help' for more information." >&2;}
20505 { (exit 1); exit 1; }; };;
20506 --help | --hel | -h )
20507 echo "$ac_cs_usage"; exit 0 ;;
20508 --debug | --d* | -d )
20509 debug=: ;;
20510 --file | --fil | --fi | --f )
20511 $ac_shift
20512 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
20513 ac_need_defaults=false;;
20514 --header | --heade | --head | --hea )
20515 $ac_shift
20516 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
20517 ac_need_defaults=false;;
20518 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20519 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20520 ac_cs_silent=: ;;
20521
20522 # This is an error.
20523 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20524 Try \`$0 --help' for more information." >&5
20525 echo "$as_me: error: unrecognized option: $1
20526 Try \`$0 --help' for more information." >&2;}
20527 { (exit 1); exit 1; }; } ;;
20528
20529 *) ac_config_targets="$ac_config_targets $1" ;;
20530
20531 esac
20532 shift
20533 done
20534
20535 ac_configure_extra_args=
20536
20537 if $ac_cs_silent; then
20538 exec 6>/dev/null
20539 ac_configure_extra_args="$ac_configure_extra_args --silent"
20540 fi
20541
20542 _ACEOF
20543 cat >>$CONFIG_STATUS <<_ACEOF
20544 if \$ac_cs_recheck; then
20545 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20546 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20547 fi
20548
20549 _ACEOF
20550
20551 cat >>$CONFIG_STATUS <<_ACEOF
20552 #
20553 # INIT-COMMANDS section.
20554 #
20555
20556 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20557 # variables for create stdint.h replacement
20558 PACKAGE="$PACKAGE"
20559 VERSION="$VERSION"
20560 ac_stdint_h="$ac_stdint_h"
20561 _ac_stdint_h=`echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
20562 ac_cv_stdint_message="$ac_cv_stdint_message"
20563 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
20564 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
20565 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
20566 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
20567 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
20568 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
20569 ac_cv_char_data_model="$ac_cv_char_data_model"
20570 ac_cv_long_data_model="$ac_cv_long_data_model"
20571 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
20572 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
20573 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
20574
20575
20576 _ACEOF
20577
20578
20579
20580 cat >>$CONFIG_STATUS <<\_ACEOF
20581 for ac_config_target in $ac_config_targets
20582 do
20583 case "$ac_config_target" in
20584 # Handling of arguments.
20585 "lib/mkcollections.pl" ) CONFIG_FILES="$CONFIG_FILES lib/mkcollections.pl" ;;
20586 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20587 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
20588 "doc/api/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/api/Makefile" ;;
20589 "external/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/Makefile" ;;
20590 "external/sax/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/sax/Makefile" ;;
20591 "external/w3c_dom/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/w3c_dom/Makefile" ;;
20592 "external/relaxngDatatype/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/relaxngDatatype/Makefile" ;;
20593 "external/jsr166/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/jsr166/Makefile" ;;
20594 "gnu/classpath/Configuration.java" ) CONFIG_FILES="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
20595 "gnu/java/security/Configuration.java" ) CONFIG_FILES="$CONFIG_FILES gnu/java/security/Configuration.java" ;;
20596 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
20597 "native/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/Makefile" ;;
20598 "native/fdlibm/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/fdlibm/Makefile" ;;
20599 "native/jawt/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jawt/Makefile" ;;
20600 "native/jni/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/Makefile" ;;
20601 "native/jni/classpath/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/classpath/Makefile" ;;
20602 "native/jni/java-io/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-io/Makefile" ;;
20603 "native/jni/java-lang/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-lang/Makefile" ;;
20604 "native/jni/java-net/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-net/Makefile" ;;
20605 "native/jni/java-nio/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-nio/Makefile" ;;
20606 "native/jni/java-util/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-util/Makefile" ;;
20607 "native/jni/gtk-peer/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/gtk-peer/Makefile" ;;
20608 "native/jni/gconf-peer/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/gconf-peer/Makefile" ;;
20609 "native/jni/qt-peer/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/qt-peer/Makefile" ;;
20610 "native/jni/xmlj/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/xmlj/Makefile" ;;
20611 "native/jni/midi-alsa/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/midi-alsa/Makefile" ;;
20612 "native/jni/midi-dssi/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/midi-dssi/Makefile" ;;
20613 "native/jni/native-lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/native-lib/Makefile" ;;
20614 "native/plugin/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/plugin/Makefile" ;;
20615 "resource/Makefile" ) CONFIG_FILES="$CONFIG_FILES resource/Makefile" ;;
20616 "resource/META-INF/services/java.util.prefs.PreferencesFactory" ) CONFIG_FILES="$CONFIG_FILES resource/META-INF/services/java.util.prefs.PreferencesFactory" ;;
20617 "scripts/Makefile" ) CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
20618 "scripts/classpath.spec" ) CONFIG_FILES="$CONFIG_FILES scripts/classpath.spec" ;;
20619 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
20620 "lib/gen-classlist.sh" ) CONFIG_FILES="$CONFIG_FILES lib/gen-classlist.sh" ;;
20621 "lib/copy-vmresources.sh" ) CONFIG_FILES="$CONFIG_FILES lib/copy-vmresources.sh" ;;
20622 "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
20623 "examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
20624 "examples/Makefile.jawt" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile.jawt" ;;
20625 "examples/Makefile.java2d" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile.java2d" ;;
20626 "tools/gappletviewer" ) CONFIG_FILES="$CONFIG_FILES tools/gappletviewer" ;;
20627 "tools/gjarsigner" ) CONFIG_FILES="$CONFIG_FILES tools/gjarsigner" ;;
20628 "tools/gkeytool" ) CONFIG_FILES="$CONFIG_FILES tools/gkeytool" ;;
20629 "tools/gjar" ) CONFIG_FILES="$CONFIG_FILES tools/gjar" ;;
20630 "tools/gnative2ascii" ) CONFIG_FILES="$CONFIG_FILES tools/gnative2ascii" ;;
20631 "tools/gserialver" ) CONFIG_FILES="$CONFIG_FILES tools/gserialver" ;;
20632 "tools/grmiregistry" ) CONFIG_FILES="$CONFIG_FILES tools/grmiregistry" ;;
20633 "tools/gtnameserv" ) CONFIG_FILES="$CONFIG_FILES tools/gtnameserv" ;;
20634 "tools/gorbd" ) CONFIG_FILES="$CONFIG_FILES tools/gorbd" ;;
20635 "tools/grmid" ) CONFIG_FILES="$CONFIG_FILES tools/grmid" ;;
20636 "tools/grmic" ) CONFIG_FILES="$CONFIG_FILES tools/grmic" ;;
20637 "tools/gjavah" ) CONFIG_FILES="$CONFIG_FILES tools/gjavah" ;;
20638 "$ac_config_links_1" ) CONFIG_LINKS="$CONFIG_LINKS $ac_config_links_1" ;;
20639 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20640 "mkcollections.pl" ) CONFIG_COMMANDS="$CONFIG_COMMANDS mkcollections.pl" ;;
20641 "$ac_stdint_h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS $ac_stdint_h" ;;
20642 "gappletviewer" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gappletviewer" ;;
20643 "gjarsigner" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gjarsigner" ;;
20644 "gkeytool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gkeytool" ;;
20645 "gjar" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gjar" ;;
20646 "gnative2ascii" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gnative2ascii" ;;
20647 "gserialver" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gserialver" ;;
20648 "grmiregistry" ) CONFIG_COMMANDS="$CONFIG_COMMANDS grmiregistry" ;;
20649 "gtnameserv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gtnameserv" ;;
20650 "gorbd" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gorbd" ;;
20651 "grmid" ) CONFIG_COMMANDS="$CONFIG_COMMANDS grmid" ;;
20652 "grmic" ) CONFIG_COMMANDS="$CONFIG_COMMANDS grmic" ;;
20653 "gjavah" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gjavah" ;;
20654 "gen-classlist" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gen-classlist" ;;
20655 "copy-vmresources" ) CONFIG_COMMANDS="$CONFIG_COMMANDS copy-vmresources" ;;
20656 "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20657 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20658 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20659 { (exit 1); exit 1; }; };;
20660 esac
20661 done
20662
20663 # If the user did not use the arguments to specify the items to instantiate,
20664 # then the envvar interface is used. Set only those that are not.
20665 # We use the long form for the default assignment because of an extremely
20666 # bizarre bug on SunOS 4.1.3.
20667 if $ac_need_defaults; then
20668 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20669 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20670 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20671 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20672 fi
20673
20674 # Have a temporary directory for convenience. Make it in the build tree
20675 # simply because there is no reason to put it here, and in addition,
20676 # creating and moving files from /tmp can sometimes cause problems.
20677 # Create a temporary directory, and hook for its removal unless debugging.
20678 $debug ||
20679 {
20680 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20681 trap '{ (exit 1); exit 1; }' 1 2 13 15
20682 }
20683
20684 # Create a (secure) tmp directory for tmp files.
20685
20686 {
20687 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20688 test -n "$tmp" && test -d "$tmp"
20689 } ||
20690 {
20691 tmp=./confstat$$-$RANDOM
20692 (umask 077 && mkdir $tmp)
20693 } ||
20694 {
20695 echo "$me: cannot create a temporary directory in ." >&2
20696 { (exit 1); exit 1; }
20697 }
20698
20699 _ACEOF
20700
20701 cat >>$CONFIG_STATUS <<_ACEOF
20702
20703 #
20704 # CONFIG_FILES section.
20705 #
20706
20707 # No need to generate the scripts if there are no CONFIG_FILES.
20708 # This happens for instance when ./config.status config.h
20709 if test -n "\$CONFIG_FILES"; then
20710 # Protect against being on the right side of a sed subst in config.status.
20711 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20712 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20713 s,@SHELL@,$SHELL,;t t
20714 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20715 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20716 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20717 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20718 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20719 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20720 s,@exec_prefix@,$exec_prefix,;t t
20721 s,@prefix@,$prefix,;t t
20722 s,@program_transform_name@,$program_transform_name,;t t
20723 s,@bindir@,$bindir,;t t
20724 s,@sbindir@,$sbindir,;t t
20725 s,@libexecdir@,$libexecdir,;t t
20726 s,@datadir@,$datadir,;t t
20727 s,@sysconfdir@,$sysconfdir,;t t
20728 s,@sharedstatedir@,$sharedstatedir,;t t
20729 s,@localstatedir@,$localstatedir,;t t
20730 s,@libdir@,$libdir,;t t
20731 s,@includedir@,$includedir,;t t
20732 s,@oldincludedir@,$oldincludedir,;t t
20733 s,@infodir@,$infodir,;t t
20734 s,@mandir@,$mandir,;t t
20735 s,@build_alias@,$build_alias,;t t
20736 s,@host_alias@,$host_alias,;t t
20737 s,@target_alias@,$target_alias,;t t
20738 s,@DEFS@,$DEFS,;t t
20739 s,@ECHO_C@,$ECHO_C,;t t
20740 s,@ECHO_N@,$ECHO_N,;t t
20741 s,@ECHO_T@,$ECHO_T,;t t
20742 s,@LIBS@,$LIBS,;t t
20743 s,@build@,$build,;t t
20744 s,@build_cpu@,$build_cpu,;t t
20745 s,@build_vendor@,$build_vendor,;t t
20746 s,@build_os@,$build_os,;t t
20747 s,@host@,$host,;t t
20748 s,@host_cpu@,$host_cpu,;t t
20749 s,@host_vendor@,$host_vendor,;t t
20750 s,@host_os@,$host_os,;t t
20751 s,@target@,$target,;t t
20752 s,@target_cpu@,$target_cpu,;t t
20753 s,@target_vendor@,$target_vendor,;t t
20754 s,@target_os@,$target_os,;t t
20755 s,@JAVA_MAINTAINER_MODE_TRUE@,$JAVA_MAINTAINER_MODE_TRUE,;t t
20756 s,@JAVA_MAINTAINER_MODE_FALSE@,$JAVA_MAINTAINER_MODE_FALSE,;t t
20757 s,@LIBVERSION@,$LIBVERSION,;t t
20758 s,@CLASSPATH_MODULE@,$CLASSPATH_MODULE,;t t
20759 s,@CLASSPATH_CONVENIENCE@,$CLASSPATH_CONVENIENCE,;t t
20760 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20761 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20762 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20763 s,@CYGPATH_W@,$CYGPATH_W,;t t
20764 s,@PACKAGE@,$PACKAGE,;t t
20765 s,@VERSION@,$VERSION,;t t
20766 s,@ACLOCAL@,$ACLOCAL,;t t
20767 s,@AUTOCONF@,$AUTOCONF,;t t
20768 s,@AUTOMAKE@,$AUTOMAKE,;t t
20769 s,@AUTOHEADER@,$AUTOHEADER,;t t
20770 s,@MAKEINFO@,$MAKEINFO,;t t
20771 s,@install_sh@,$install_sh,;t t
20772 s,@STRIP@,$STRIP,;t t
20773 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20774 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
20775 s,@mkdir_p@,$mkdir_p,;t t
20776 s,@AWK@,$AWK,;t t
20777 s,@SET_MAKE@,$SET_MAKE,;t t
20778 s,@am__leading_dot@,$am__leading_dot,;t t
20779 s,@AMTAR@,$AMTAR,;t t
20780 s,@am__tar@,$am__tar,;t t
20781 s,@am__untar@,$am__untar,;t t
20782 s,@CREATE_COLLECTIONS_TRUE@,$CREATE_COLLECTIONS_TRUE,;t t
20783 s,@CREATE_COLLECTIONS_FALSE@,$CREATE_COLLECTIONS_FALSE,;t t
20784 s,@CREATE_JNI_LIBRARIES_TRUE@,$CREATE_JNI_LIBRARIES_TRUE,;t t
20785 s,@CREATE_JNI_LIBRARIES_FALSE@,$CREATE_JNI_LIBRARIES_FALSE,;t t
20786 s,@CREATE_CORE_JNI_LIBRARIES_TRUE@,$CREATE_CORE_JNI_LIBRARIES_TRUE,;t t
20787 s,@CREATE_CORE_JNI_LIBRARIES_FALSE@,$CREATE_CORE_JNI_LIBRARIES_FALSE,;t t
20788 s,@CREATE_GCONF_PEER_LIBRARIES_TRUE@,$CREATE_GCONF_PEER_LIBRARIES_TRUE,;t t
20789 s,@CREATE_GCONF_PEER_LIBRARIES_FALSE@,$CREATE_GCONF_PEER_LIBRARIES_FALSE,;t t
20790 s,@default_toolkit@,$default_toolkit,;t t
20791 s,@CREATE_XMLJ_LIBRARY_TRUE@,$CREATE_XMLJ_LIBRARY_TRUE,;t t
20792 s,@CREATE_XMLJ_LIBRARY_FALSE@,$CREATE_XMLJ_LIBRARY_FALSE,;t t
20793 s,@CC@,$CC,;t t
20794 s,@CFLAGS@,$CFLAGS,;t t
20795 s,@LDFLAGS@,$LDFLAGS,;t t
20796 s,@CPPFLAGS@,$CPPFLAGS,;t t
20797 s,@ac_ct_CC@,$ac_ct_CC,;t t
20798 s,@EXEEXT@,$EXEEXT,;t t
20799 s,@OBJEXT@,$OBJEXT,;t t
20800 s,@DEPDIR@,$DEPDIR,;t t
20801 s,@am__include@,$am__include,;t t
20802 s,@am__quote@,$am__quote,;t t
20803 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
20804 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
20805 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
20806 s,@CCDEPMODE@,$CCDEPMODE,;t t
20807 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
20808 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
20809 s,@CPP@,$CPP,;t t
20810 s,@EGREP@,$EGREP,;t t
20811 s,@CREATE_ALSA_LIBRARIES_TRUE@,$CREATE_ALSA_LIBRARIES_TRUE,;t t
20812 s,@CREATE_ALSA_LIBRARIES_FALSE@,$CREATE_ALSA_LIBRARIES_FALSE,;t t
20813 s,@CREATE_DSSI_LIBRARIES_TRUE@,$CREATE_DSSI_LIBRARIES_TRUE,;t t
20814 s,@CREATE_DSSI_LIBRARIES_FALSE@,$CREATE_DSSI_LIBRARIES_FALSE,;t t
20815 s,@CREATE_GTK_PEER_LIBRARIES_TRUE@,$CREATE_GTK_PEER_LIBRARIES_TRUE,;t t
20816 s,@CREATE_GTK_PEER_LIBRARIES_FALSE@,$CREATE_GTK_PEER_LIBRARIES_FALSE,;t t
20817 s,@CREATE_QT_PEER_LIBRARIES_TRUE@,$CREATE_QT_PEER_LIBRARIES_TRUE,;t t
20818 s,@CREATE_QT_PEER_LIBRARIES_FALSE@,$CREATE_QT_PEER_LIBRARIES_FALSE,;t t
20819 s,@CREATE_PLUGIN_TRUE@,$CREATE_PLUGIN_TRUE,;t t
20820 s,@CREATE_PLUGIN_FALSE@,$CREATE_PLUGIN_FALSE,;t t
20821 s,@toolexeclibdir@,$toolexeclibdir,;t t
20822 s,@nativeexeclibdir@,$nativeexeclibdir,;t t
20823 s,@glibjdir@,$glibjdir,;t t
20824 s,@VM_BINARY@,$VM_BINARY,;t t
20825 s,@FOUND_CACAO_TRUE@,$FOUND_CACAO_TRUE,;t t
20826 s,@FOUND_CACAO_FALSE@,$FOUND_CACAO_FALSE,;t t
20827 s,@CREATE_JNI_HEADERS_TRUE@,$CREATE_JNI_HEADERS_TRUE,;t t
20828 s,@CREATE_JNI_HEADERS_FALSE@,$CREATE_JNI_HEADERS_FALSE,;t t
20829 s,@CREATE_WRAPPERS_TRUE@,$CREATE_WRAPPERS_TRUE,;t t
20830 s,@CREATE_WRAPPERS_FALSE@,$CREATE_WRAPPERS_FALSE,;t t
20831 s,@LN_S@,$LN_S,;t t
20832 s,@RANLIB@,$RANLIB,;t t
20833 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
20834 s,@LIBTOOL@,$LIBTOOL,;t t
20835 s,@CXX@,$CXX,;t t
20836 s,@CXXFLAGS@,$CXXFLAGS,;t t
20837 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
20838 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
20839 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
20840 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
20841 s,@CXXCPP@,$CXXCPP,;t t
20842 s,@PERL@,$PERL,;t t
20843 s,@COLLECTIONS_PREFIX@,$COLLECTIONS_PREFIX,;t t
20844 s,@LIBMAGIC@,$LIBMAGIC,;t t
20845 s,@LIBICONV@,$LIBICONV,;t t
20846 s,@LTLIBICONV@,$LTLIBICONV,;t t
20847 s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t
20848 s,@STRICT_WARNING_CFLAGS@,$STRICT_WARNING_CFLAGS,;t t
20849 s,@ERROR_CFLAGS@,$ERROR_CFLAGS,;t t
20850 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
20851 s,@XML_CFLAGS@,$XML_CFLAGS,;t t
20852 s,@XML_LIBS@,$XML_LIBS,;t t
20853 s,@XSLT_CFLAGS@,$XSLT_CFLAGS,;t t
20854 s,@XSLT_LIBS@,$XSLT_LIBS,;t t
20855 s,@X_CFLAGS@,$X_CFLAGS,;t t
20856 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
20857 s,@X_LIBS@,$X_LIBS,;t t
20858 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
20859 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
20860 s,@GTK_LIBS@,$GTK_LIBS,;t t
20861 s,@FREETYPE2_CFLAGS@,$FREETYPE2_CFLAGS,;t t
20862 s,@FREETYPE2_LIBS@,$FREETYPE2_LIBS,;t t
20863 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
20864 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
20865 s,@XTEST_LIBS@,$XTEST_LIBS,;t t
20866 s,@GCONF_CFLAGS@,$GCONF_CFLAGS,;t t
20867 s,@GCONF_LIBS@,$GCONF_LIBS,;t t
20868 s,@GDK_CFLAGS@,$GDK_CFLAGS,;t t
20869 s,@GDK_LIBS@,$GDK_LIBS,;t t
20870 s,@QT_CFLAGS@,$QT_CFLAGS,;t t
20871 s,@QT_LIBS@,$QT_LIBS,;t t
20872 s,@MOC@,$MOC,;t t
20873 s,@MOZILLA_CFLAGS@,$MOZILLA_CFLAGS,;t t
20874 s,@MOZILLA_LIBS@,$MOZILLA_LIBS,;t t
20875 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
20876 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
20877 s,@PLUGIN_DIR@,$PLUGIN_DIR,;t t
20878 s,@USER_JAVAH@,$USER_JAVAH,;t t
20879 s,@USER_SPECIFIED_JAVAH_TRUE@,$USER_SPECIFIED_JAVAH_TRUE,;t t
20880 s,@USER_SPECIFIED_JAVAH_FALSE@,$USER_SPECIFIED_JAVAH_FALSE,;t t
20881 s,@CLASSPATH_INCLUDES@,$CLASSPATH_INCLUDES,;t t
20882 s,@GCJ@,$GCJ,;t t
20883 s,@JIKES@,$JIKES,;t t
20884 s,@JIKESENCODING@,$JIKESENCODING,;t t
20885 s,@JIKESWARNINGS@,$JIKESWARNINGS,;t t
20886 s,@KJC@,$KJC,;t t
20887 s,@GCJX@,$GCJX,;t t
20888 s,@ECJ@,$ECJ,;t t
20889 s,@FOUND_GCJ_TRUE@,$FOUND_GCJ_TRUE,;t t
20890 s,@FOUND_GCJ_FALSE@,$FOUND_GCJ_FALSE,;t t
20891 s,@FOUND_JIKES_TRUE@,$FOUND_JIKES_TRUE,;t t
20892 s,@FOUND_JIKES_FALSE@,$FOUND_JIKES_FALSE,;t t
20893 s,@FOUND_ECJ_TRUE@,$FOUND_ECJ_TRUE,;t t
20894 s,@FOUND_ECJ_FALSE@,$FOUND_ECJ_FALSE,;t t
20895 s,@FOUND_KJC_TRUE@,$FOUND_KJC_TRUE,;t t
20896 s,@FOUND_KJC_FALSE@,$FOUND_KJC_FALSE,;t t
20897 s,@FOUND_GCJX_TRUE@,$FOUND_GCJX_TRUE,;t t
20898 s,@FOUND_GCJX_FALSE@,$FOUND_GCJX_FALSE,;t t
20899 s,@USER_CLASSLIB@,$USER_CLASSLIB,;t t
20900 s,@USER_SPECIFIED_CLASSLIB_TRUE@,$USER_SPECIFIED_CLASSLIB_TRUE,;t t
20901 s,@USER_SPECIFIED_CLASSLIB_FALSE@,$USER_SPECIFIED_CLASSLIB_FALSE,;t t
20902 s,@vm_classes@,$vm_classes,;t t
20903 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
20904 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
20905 s,@MAINT@,$MAINT,;t t
20906 s,@LIBDEBUG@,$LIBDEBUG,;t t
20907 s,@INIT_LOAD_LIBRARY@,$INIT_LOAD_LIBRARY,;t t
20908 s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,$JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION,;t t
20909 s,@REMOVE@,$REMOVE,;t t
20910 s,@MKDIR@,$MKDIR,;t t
20911 s,@CP@,$CP,;t t
20912 s,@DATE@,$DATE,;t t
20913 s,@FIND@,$FIND,;t t
20914 s,@ZIP@,$ZIP,;t t
20915 s,@FASTJAR@,$FASTJAR,;t t
20916 s,@INSTALL_GLIBJ_ZIP_TRUE@,$INSTALL_GLIBJ_ZIP_TRUE,;t t
20917 s,@INSTALL_GLIBJ_ZIP_FALSE@,$INSTALL_GLIBJ_ZIP_FALSE,;t t
20918 s,@INSTALL_CLASS_FILES_TRUE@,$INSTALL_CLASS_FILES_TRUE,;t t
20919 s,@INSTALL_CLASS_FILES_FALSE@,$INSTALL_CLASS_FILES_FALSE,;t t
20920 s,@BUILD_CLASS_FILES_TRUE@,$BUILD_CLASS_FILES_TRUE,;t t
20921 s,@BUILD_CLASS_FILES_FALSE@,$BUILD_CLASS_FILES_FALSE,;t t
20922 s,@EXAMPLESDIR@,$EXAMPLESDIR,;t t
20923 s,@GJDOC@,$GJDOC,;t t
20924 s,@CREATE_API_DOCS_TRUE@,$CREATE_API_DOCS_TRUE,;t t
20925 s,@CREATE_API_DOCS_FALSE@,$CREATE_API_DOCS_FALSE,;t t
20926 s,@JAY@,$JAY,;t t
20927 s,@JAY_SKELETON@,$JAY_SKELETON,;t t
20928 s,@REGEN_PARSERS_TRUE@,$REGEN_PARSERS_TRUE,;t t
20929 s,@REGEN_PARSERS_FALSE@,$REGEN_PARSERS_FALSE,;t t
20930 s,@USE_PREBUILT_GLIBJ_ZIP_TRUE@,$USE_PREBUILT_GLIBJ_ZIP_TRUE,;t t
20931 s,@USE_PREBUILT_GLIBJ_ZIP_FALSE@,$USE_PREBUILT_GLIBJ_ZIP_FALSE,;t t
20932 s,@PATH_TO_GLIBJ_ZIP@,$PATH_TO_GLIBJ_ZIP,;t t
20933 s,@USE_ESCHER_TRUE@,$USE_ESCHER_TRUE,;t t
20934 s,@USE_ESCHER_FALSE@,$USE_ESCHER_FALSE,;t t
20935 s,@PATH_TO_ESCHER@,$PATH_TO_ESCHER,;t t
20936 s,@ENABLE_LOCAL_SOCKETS_TRUE@,$ENABLE_LOCAL_SOCKETS_TRUE,;t t
20937 s,@ENABLE_LOCAL_SOCKETS_FALSE@,$ENABLE_LOCAL_SOCKETS_FALSE,;t t
20938 s,@DEFAULT_PREFS_PEER@,$DEFAULT_PREFS_PEER,;t t
20939 s,@LIBOBJS@,$LIBOBJS,;t t
20940 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
20941 CEOF
20942
20943 _ACEOF
20944
20945 cat >>$CONFIG_STATUS <<\_ACEOF
20946 # Split the substitutions into bite-sized pieces for seds with
20947 # small command number limits, like on Digital OSF/1 and HP-UX.
20948 ac_max_sed_lines=48
20949 ac_sed_frag=1 # Number of current file.
20950 ac_beg=1 # First line for current file.
20951 ac_end=$ac_max_sed_lines # Line after last line for current file.
20952 ac_more_lines=:
20953 ac_sed_cmds=
20954 while $ac_more_lines; do
20955 if test $ac_beg -gt 1; then
20956 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
20957 else
20958 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
20959 fi
20960 if test ! -s $tmp/subs.frag; then
20961 ac_more_lines=false
20962 else
20963 # The purpose of the label and of the branching condition is to
20964 # speed up the sed processing (if there are no `@' at all, there
20965 # is no need to browse any of the substitutions).
20966 # These are the two extra sed commands mentioned above.
20967 (echo ':t
20968 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
20969 if test -z "$ac_sed_cmds"; then
20970 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
20971 else
20972 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
20973 fi
20974 ac_sed_frag=`expr $ac_sed_frag + 1`
20975 ac_beg=$ac_end
20976 ac_end=`expr $ac_end + $ac_max_sed_lines`
20977 fi
20978 done
20979 if test -z "$ac_sed_cmds"; then
20980 ac_sed_cmds=cat
20981 fi
20982 fi # test -n "$CONFIG_FILES"
20983
20984 _ACEOF
20985 cat >>$CONFIG_STATUS <<\_ACEOF
20986 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
20987 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20988 case $ac_file in
20989 - | *:- | *:-:* ) # input from stdin
20990 cat >$tmp/stdin
20991 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
20992 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
20993 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
20994 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
20995 * ) ac_file_in=$ac_file.in ;;
20996 esac
20997
20998 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
20999 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21000 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21001 X"$ac_file" : 'X\(//\)[^/]' \| \
21002 X"$ac_file" : 'X\(//\)$' \| \
21003 X"$ac_file" : 'X\(/\)' \| \
21004 . : '\(.\)' 2>/dev/null ||
21005 echo X"$ac_file" |
21006 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21007 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21008 /^X\(\/\/\)$/{ s//\1/; q; }
21009 /^X\(\/\).*/{ s//\1/; q; }
21010 s/.*/./; q'`
21011 { if $as_mkdir_p; then
21012 mkdir -p "$ac_dir"
21013 else
21014 as_dir="$ac_dir"
21015 as_dirs=
21016 while test ! -d "$as_dir"; do
21017 as_dirs="$as_dir $as_dirs"
21018 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21019 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21020 X"$as_dir" : 'X\(//\)[^/]' \| \
21021 X"$as_dir" : 'X\(//\)$' \| \
21022 X"$as_dir" : 'X\(/\)' \| \
21023 . : '\(.\)' 2>/dev/null ||
21024 echo X"$as_dir" |
21025 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21026 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21027 /^X\(\/\/\)$/{ s//\1/; q; }
21028 /^X\(\/\).*/{ s//\1/; q; }
21029 s/.*/./; q'`
21030 done
21031 test ! -n "$as_dirs" || mkdir $as_dirs
21032 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21033 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21034 { (exit 1); exit 1; }; }; }
21035
21036 ac_builddir=.
21037
21038 if test "$ac_dir" != .; then
21039 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21040 # A "../" for each directory in $ac_dir_suffix.
21041 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21042 else
21043 ac_dir_suffix= ac_top_builddir=
21044 fi
21045
21046 case $srcdir in
21047 .) # No --srcdir option. We are building in place.
21048 ac_srcdir=.
21049 if test -z "$ac_top_builddir"; then
21050 ac_top_srcdir=.
21051 else
21052 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21053 fi ;;
21054 [\\/]* | ?:[\\/]* ) # Absolute path.
21055 ac_srcdir=$srcdir$ac_dir_suffix;
21056 ac_top_srcdir=$srcdir ;;
21057 *) # Relative path.
21058 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21059 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21060 esac
21061
21062 # Do not use `cd foo && pwd` to compute absolute paths, because
21063 # the directories may not exist.
21064 case `pwd` in
21065 .) ac_abs_builddir="$ac_dir";;
21066 *)
21067 case "$ac_dir" in
21068 .) ac_abs_builddir=`pwd`;;
21069 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21070 *) ac_abs_builddir=`pwd`/"$ac_dir";;
21071 esac;;
21072 esac
21073 case $ac_abs_builddir in
21074 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21075 *)
21076 case ${ac_top_builddir}. in
21077 .) ac_abs_top_builddir=$ac_abs_builddir;;
21078 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21079 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21080 esac;;
21081 esac
21082 case $ac_abs_builddir in
21083 .) ac_abs_srcdir=$ac_srcdir;;
21084 *)
21085 case $ac_srcdir in
21086 .) ac_abs_srcdir=$ac_abs_builddir;;
21087 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21088 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21089 esac;;
21090 esac
21091 case $ac_abs_builddir in
21092 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21093 *)
21094 case $ac_top_srcdir in
21095 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21096 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21097 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21098 esac;;
21099 esac
21100
21101
21102 case $INSTALL in
21103 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21104 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
21105 esac
21106
21107 if test x"$ac_file" != x-; then
21108 { echo "$as_me:$LINENO: creating $ac_file" >&5
21109 echo "$as_me: creating $ac_file" >&6;}
21110 rm -f "$ac_file"
21111 fi
21112 # Let's still pretend it is `configure' which instantiates (i.e., don't
21113 # use $as_me), people would be surprised to read:
21114 # /* config.h. Generated by config.status. */
21115 if test x"$ac_file" = x-; then
21116 configure_input=
21117 else
21118 configure_input="$ac_file. "
21119 fi
21120 configure_input=$configure_input"Generated from `echo $ac_file_in |
21121 sed 's,.*/,,'` by configure."
21122
21123 # First look for the input files in the build tree, otherwise in the
21124 # src tree.
21125 ac_file_inputs=`IFS=:
21126 for f in $ac_file_in; do
21127 case $f in
21128 -) echo $tmp/stdin ;;
21129 [\\/$]*)
21130 # Absolute (can't be DOS-style, as IFS=:)
21131 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21132 echo "$as_me: error: cannot find input file: $f" >&2;}
21133 { (exit 1); exit 1; }; }
21134 echo "$f";;
21135 *) # Relative
21136 if test -f "$f"; then
21137 # Build tree
21138 echo "$f"
21139 elif test -f "$srcdir/$f"; then
21140 # Source tree
21141 echo "$srcdir/$f"
21142 else
21143 # /dev/null tree
21144 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21145 echo "$as_me: error: cannot find input file: $f" >&2;}
21146 { (exit 1); exit 1; }; }
21147 fi;;
21148 esac
21149 done` || { (exit 1); exit 1; }
21150 _ACEOF
21151 cat >>$CONFIG_STATUS <<_ACEOF
21152 sed "$ac_vpsub
21153 $extrasub
21154 _ACEOF
21155 cat >>$CONFIG_STATUS <<\_ACEOF
21156 :t
21157 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21158 s,@configure_input@,$configure_input,;t t
21159 s,@srcdir@,$ac_srcdir,;t t
21160 s,@abs_srcdir@,$ac_abs_srcdir,;t t
21161 s,@top_srcdir@,$ac_top_srcdir,;t t
21162 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
21163 s,@builddir@,$ac_builddir,;t t
21164 s,@abs_builddir@,$ac_abs_builddir,;t t
21165 s,@top_builddir@,$ac_top_builddir,;t t
21166 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
21167 s,@INSTALL@,$ac_INSTALL,;t t
21168 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21169 rm -f $tmp/stdin
21170 if test x"$ac_file" != x-; then
21171 mv $tmp/out $ac_file
21172 else
21173 cat $tmp/out
21174 rm -f $tmp/out
21175 fi
21176
21177 done
21178 _ACEOF
21179 cat >>$CONFIG_STATUS <<\_ACEOF
21180
21181 #
21182 # CONFIG_HEADER section.
21183 #
21184
21185 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21186 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21187 #
21188 # ac_d sets the value in "#define NAME VALUE" lines.
21189 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21190 ac_dB='[ ].*$,\1#\2'
21191 ac_dC=' '
21192 ac_dD=',;t'
21193 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21194 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21195 ac_uB='$,\1#\2define\3'
21196 ac_uC=' '
21197 ac_uD=',;t'
21198
21199 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
21200 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21201 case $ac_file in
21202 - | *:- | *:-:* ) # input from stdin
21203 cat >$tmp/stdin
21204 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21205 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21206 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21207 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21208 * ) ac_file_in=$ac_file.in ;;
21209 esac
21210
21211 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
21212 echo "$as_me: creating $ac_file" >&6;}
21213
21214 # First look for the input files in the build tree, otherwise in the
21215 # src tree.
21216 ac_file_inputs=`IFS=:
21217 for f in $ac_file_in; do
21218 case $f in
21219 -) echo $tmp/stdin ;;
21220 [\\/$]*)
21221 # Absolute (can't be DOS-style, as IFS=:)
21222 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21223 echo "$as_me: error: cannot find input file: $f" >&2;}
21224 { (exit 1); exit 1; }; }
21225 # Do quote $f, to prevent DOS paths from being IFS'd.
21226 echo "$f";;
21227 *) # Relative
21228 if test -f "$f"; then
21229 # Build tree
21230 echo "$f"
21231 elif test -f "$srcdir/$f"; then
21232 # Source tree
21233 echo "$srcdir/$f"
21234 else
21235 # /dev/null tree
21236 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21237 echo "$as_me: error: cannot find input file: $f" >&2;}
21238 { (exit 1); exit 1; }; }
21239 fi;;
21240 esac
21241 done` || { (exit 1); exit 1; }
21242 # Remove the trailing spaces.
21243 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21244
21245 _ACEOF
21246
21247 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21248 # `conftest.undefs', that substitutes the proper values into
21249 # config.h.in to produce config.h. The first handles `#define'
21250 # templates, and the second `#undef' templates.
21251 # And first: Protect against being on the right side of a sed subst in
21252 # config.status. Protect against being in an unquoted here document
21253 # in config.status.
21254 rm -f conftest.defines conftest.undefs
21255 # Using a here document instead of a string reduces the quoting nightmare.
21256 # Putting comments in sed scripts is not portable.
21257 #
21258 # `end' is used to avoid that the second main sed command (meant for
21259 # 0-ary CPP macros) applies to n-ary macro definitions.
21260 # See the Autoconf documentation for `clear'.
21261 cat >confdef2sed.sed <<\_ACEOF
21262 s/[\\&,]/\\&/g
21263 s,[\\$`],\\&,g
21264 t clear
21265 : clear
21266 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21267 t end
21268 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21269 : end
21270 _ACEOF
21271 # If some macros were called several times there might be several times
21272 # the same #defines, which is useless. Nevertheless, we may not want to
21273 # sort them, since we want the *last* AC-DEFINE to be honored.
21274 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21275 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21276 rm -f confdef2sed.sed
21277
21278 # This sed command replaces #undef with comments. This is necessary, for
21279 # example, in the case of _POSIX_SOURCE, which is predefined and required
21280 # on some systems where configure will not decide to define it.
21281 cat >>conftest.undefs <<\_ACEOF
21282 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21283 _ACEOF
21284
21285 # Break up conftest.defines because some shells have a limit on the size
21286 # of here documents, and old seds have small limits too (100 cmds).
21287 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21288 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21289 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21290 echo ' :' >>$CONFIG_STATUS
21291 rm -f conftest.tail
21292 while grep . conftest.defines >/dev/null
21293 do
21294 # Write a limited-size here document to $tmp/defines.sed.
21295 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21296 # Speed up: don't consider the non `#define' lines.
21297 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21298 # Work around the forget-to-reset-the-flag bug.
21299 echo 't clr' >>$CONFIG_STATUS
21300 echo ': clr' >>$CONFIG_STATUS
21301 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
21302 echo 'CEOF
21303 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21304 rm -f $tmp/in
21305 mv $tmp/out $tmp/in
21306 ' >>$CONFIG_STATUS
21307 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
21308 rm -f conftest.defines
21309 mv conftest.tail conftest.defines
21310 done
21311 rm -f conftest.defines
21312 echo ' fi # grep' >>$CONFIG_STATUS
21313 echo >>$CONFIG_STATUS
21314
21315 # Break up conftest.undefs because some shells have a limit on the size
21316 # of here documents, and old seds have small limits too (100 cmds).
21317 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21318 rm -f conftest.tail
21319 while grep . conftest.undefs >/dev/null
21320 do
21321 # Write a limited-size here document to $tmp/undefs.sed.
21322 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21323 # Speed up: don't consider the non `#undef'
21324 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21325 # Work around the forget-to-reset-the-flag bug.
21326 echo 't clr' >>$CONFIG_STATUS
21327 echo ': clr' >>$CONFIG_STATUS
21328 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21329 echo 'CEOF
21330 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21331 rm -f $tmp/in
21332 mv $tmp/out $tmp/in
21333 ' >>$CONFIG_STATUS
21334 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21335 rm -f conftest.undefs
21336 mv conftest.tail conftest.undefs
21337 done
21338 rm -f conftest.undefs
21339
21340 cat >>$CONFIG_STATUS <<\_ACEOF
21341 # Let's still pretend it is `configure' which instantiates (i.e., don't
21342 # use $as_me), people would be surprised to read:
21343 # /* config.h. Generated by config.status. */
21344 if test x"$ac_file" = x-; then
21345 echo "/* Generated by configure. */" >$tmp/config.h
21346 else
21347 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21348 fi
21349 cat $tmp/in >>$tmp/config.h
21350 rm -f $tmp/in
21351 if test x"$ac_file" != x-; then
21352 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
21353 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21354 echo "$as_me: $ac_file is unchanged" >&6;}
21355 else
21356 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21357 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21358 X"$ac_file" : 'X\(//\)[^/]' \| \
21359 X"$ac_file" : 'X\(//\)$' \| \
21360 X"$ac_file" : 'X\(/\)' \| \
21361 . : '\(.\)' 2>/dev/null ||
21362 echo X"$ac_file" |
21363 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21364 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21365 /^X\(\/\/\)$/{ s//\1/; q; }
21366 /^X\(\/\).*/{ s//\1/; q; }
21367 s/.*/./; q'`
21368 { if $as_mkdir_p; then
21369 mkdir -p "$ac_dir"
21370 else
21371 as_dir="$ac_dir"
21372 as_dirs=
21373 while test ! -d "$as_dir"; do
21374 as_dirs="$as_dir $as_dirs"
21375 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21376 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21377 X"$as_dir" : 'X\(//\)[^/]' \| \
21378 X"$as_dir" : 'X\(//\)$' \| \
21379 X"$as_dir" : 'X\(/\)' \| \
21380 . : '\(.\)' 2>/dev/null ||
21381 echo X"$as_dir" |
21382 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21383 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21384 /^X\(\/\/\)$/{ s//\1/; q; }
21385 /^X\(\/\).*/{ s//\1/; q; }
21386 s/.*/./; q'`
21387 done
21388 test ! -n "$as_dirs" || mkdir $as_dirs
21389 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21390 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21391 { (exit 1); exit 1; }; }; }
21392
21393 rm -f $ac_file
21394 mv $tmp/config.h $ac_file
21395 fi
21396 else
21397 cat $tmp/config.h
21398 rm -f $tmp/config.h
21399 fi
21400 # Compute $ac_file's index in $config_headers.
21401 _am_stamp_count=1
21402 for _am_header in $config_headers :; do
21403 case $_am_header in
21404 $ac_file | $ac_file:* )
21405 break ;;
21406 * )
21407 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
21408 esac
21409 done
21410 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
21411 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21412 X$ac_file : 'X\(//\)[^/]' \| \
21413 X$ac_file : 'X\(//\)$' \| \
21414 X$ac_file : 'X\(/\)' \| \
21415 . : '\(.\)' 2>/dev/null ||
21416 echo X$ac_file |
21417 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21418 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21419 /^X\(\/\/\)$/{ s//\1/; q; }
21420 /^X\(\/\).*/{ s//\1/; q; }
21421 s/.*/./; q'`/stamp-h$_am_stamp_count
21422 done
21423 _ACEOF
21424 cat >>$CONFIG_STATUS <<\_ACEOF
21425
21426 #
21427 # CONFIG_LINKS section.
21428 #
21429
21430 for ac_file in : $CONFIG_LINKS; do test "x$ac_file" = x: && continue
21431 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
21432 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
21433
21434 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
21435 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
21436
21437 if test ! -r $srcdir/$ac_source; then
21438 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
21439 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
21440 { (exit 1); exit 1; }; }
21441 fi
21442 rm -f $ac_dest
21443
21444 # Make relative symlinks.
21445 ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null ||
21446 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21447 X"$ac_dest" : 'X\(//\)[^/]' \| \
21448 X"$ac_dest" : 'X\(//\)$' \| \
21449 X"$ac_dest" : 'X\(/\)' \| \
21450 . : '\(.\)' 2>/dev/null ||
21451 echo X"$ac_dest" |
21452 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21453 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21454 /^X\(\/\/\)$/{ s//\1/; q; }
21455 /^X\(\/\).*/{ s//\1/; q; }
21456 s/.*/./; q'`
21457 { if $as_mkdir_p; then
21458 mkdir -p "$ac_dest_dir"
21459 else
21460 as_dir="$ac_dest_dir"
21461 as_dirs=
21462 while test ! -d "$as_dir"; do
21463 as_dirs="$as_dir $as_dirs"
21464 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21465 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21466 X"$as_dir" : 'X\(//\)[^/]' \| \
21467 X"$as_dir" : 'X\(//\)$' \| \
21468 X"$as_dir" : 'X\(/\)' \| \
21469 . : '\(.\)' 2>/dev/null ||
21470 echo X"$as_dir" |
21471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21472 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21473 /^X\(\/\/\)$/{ s//\1/; q; }
21474 /^X\(\/\).*/{ s//\1/; q; }
21475 s/.*/./; q'`
21476 done
21477 test ! -n "$as_dirs" || mkdir $as_dirs
21478 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
21479 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
21480 { (exit 1); exit 1; }; }; }
21481
21482 ac_builddir=.
21483
21484 if test "$ac_dest_dir" != .; then
21485 ac_dir_suffix=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
21486 # A "../" for each directory in $ac_dir_suffix.
21487 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21488 else
21489 ac_dir_suffix= ac_top_builddir=
21490 fi
21491
21492 case $srcdir in
21493 .) # No --srcdir option. We are building in place.
21494 ac_srcdir=.
21495 if test -z "$ac_top_builddir"; then
21496 ac_top_srcdir=.
21497 else
21498 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21499 fi ;;
21500 [\\/]* | ?:[\\/]* ) # Absolute path.
21501 ac_srcdir=$srcdir$ac_dir_suffix;
21502 ac_top_srcdir=$srcdir ;;
21503 *) # Relative path.
21504 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21505 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21506 esac
21507
21508 # Do not use `cd foo && pwd` to compute absolute paths, because
21509 # the directories may not exist.
21510 case `pwd` in
21511 .) ac_abs_builddir="$ac_dest_dir";;
21512 *)
21513 case "$ac_dest_dir" in
21514 .) ac_abs_builddir=`pwd`;;
21515 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";;
21516 *) ac_abs_builddir=`pwd`/"$ac_dest_dir";;
21517 esac;;
21518 esac
21519 case $ac_abs_builddir in
21520 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21521 *)
21522 case ${ac_top_builddir}. in
21523 .) ac_abs_top_builddir=$ac_abs_builddir;;
21524 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21525 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21526 esac;;
21527 esac
21528 case $ac_abs_builddir in
21529 .) ac_abs_srcdir=$ac_srcdir;;
21530 *)
21531 case $ac_srcdir in
21532 .) ac_abs_srcdir=$ac_abs_builddir;;
21533 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21534 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21535 esac;;
21536 esac
21537 case $ac_abs_builddir in
21538 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21539 *)
21540 case $ac_top_srcdir in
21541 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21542 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21543 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21544 esac;;
21545 esac
21546
21547
21548 case $srcdir in
21549 [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
21550 *) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;;
21551 esac
21552
21553 # Try a symlink, then a hard link, then a copy.
21554 ln -s $ac_rel_source $ac_dest 2>/dev/null ||
21555 ln $srcdir/$ac_source $ac_dest 2>/dev/null ||
21556 cp -p $srcdir/$ac_source $ac_dest ||
21557 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
21558 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
21559 { (exit 1); exit 1; }; }
21560 done
21561 _ACEOF
21562 cat >>$CONFIG_STATUS <<\_ACEOF
21563
21564 #
21565 # CONFIG_COMMANDS section.
21566 #
21567 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
21568 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
21569 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
21570 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
21571 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21572 X"$ac_dest" : 'X\(//\)[^/]' \| \
21573 X"$ac_dest" : 'X\(//\)$' \| \
21574 X"$ac_dest" : 'X\(/\)' \| \
21575 . : '\(.\)' 2>/dev/null ||
21576 echo X"$ac_dest" |
21577 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21578 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21579 /^X\(\/\/\)$/{ s//\1/; q; }
21580 /^X\(\/\).*/{ s//\1/; q; }
21581 s/.*/./; q'`
21582 { if $as_mkdir_p; then
21583 mkdir -p "$ac_dir"
21584 else
21585 as_dir="$ac_dir"
21586 as_dirs=
21587 while test ! -d "$as_dir"; do
21588 as_dirs="$as_dir $as_dirs"
21589 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21590 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21591 X"$as_dir" : 'X\(//\)[^/]' \| \
21592 X"$as_dir" : 'X\(//\)$' \| \
21593 X"$as_dir" : 'X\(/\)' \| \
21594 . : '\(.\)' 2>/dev/null ||
21595 echo X"$as_dir" |
21596 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21597 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21598 /^X\(\/\/\)$/{ s//\1/; q; }
21599 /^X\(\/\).*/{ s//\1/; q; }
21600 s/.*/./; q'`
21601 done
21602 test ! -n "$as_dirs" || mkdir $as_dirs
21603 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21604 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21605 { (exit 1); exit 1; }; }; }
21606
21607 ac_builddir=.
21608
21609 if test "$ac_dir" != .; then
21610 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21611 # A "../" for each directory in $ac_dir_suffix.
21612 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21613 else
21614 ac_dir_suffix= ac_top_builddir=
21615 fi
21616
21617 case $srcdir in
21618 .) # No --srcdir option. We are building in place.
21619 ac_srcdir=.
21620 if test -z "$ac_top_builddir"; then
21621 ac_top_srcdir=.
21622 else
21623 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21624 fi ;;
21625 [\\/]* | ?:[\\/]* ) # Absolute path.
21626 ac_srcdir=$srcdir$ac_dir_suffix;
21627 ac_top_srcdir=$srcdir ;;
21628 *) # Relative path.
21629 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21630 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21631 esac
21632
21633 # Do not use `cd foo && pwd` to compute absolute paths, because
21634 # the directories may not exist.
21635 case `pwd` in
21636 .) ac_abs_builddir="$ac_dir";;
21637 *)
21638 case "$ac_dir" in
21639 .) ac_abs_builddir=`pwd`;;
21640 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21641 *) ac_abs_builddir=`pwd`/"$ac_dir";;
21642 esac;;
21643 esac
21644 case $ac_abs_builddir in
21645 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21646 *)
21647 case ${ac_top_builddir}. in
21648 .) ac_abs_top_builddir=$ac_abs_builddir;;
21649 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21650 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21651 esac;;
21652 esac
21653 case $ac_abs_builddir in
21654 .) ac_abs_srcdir=$ac_srcdir;;
21655 *)
21656 case $ac_srcdir in
21657 .) ac_abs_srcdir=$ac_abs_builddir;;
21658 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21659 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21660 esac;;
21661 esac
21662 case $ac_abs_builddir in
21663 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21664 *)
21665 case $ac_top_srcdir in
21666 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21667 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21668 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21669 esac;;
21670 esac
21671
21672
21673 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21674 echo "$as_me: executing $ac_dest commands" >&6;}
21675 case $ac_dest in
21676 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
21677 # Strip MF so we end up with the name of the file.
21678 mf=`echo "$mf" | sed -e 's/:.*$//'`
21679 # Check whether this is an Automake generated Makefile or not.
21680 # We used to match only the files named `Makefile.in', but
21681 # some people rename them; so instead we look at the file content.
21682 # Grep'ing the first line is not enough: some people post-process
21683 # each Makefile.in and add a new line on top of each file to say so.
21684 # So let's grep whole file.
21685 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
21686 dirpart=`(dirname "$mf") 2>/dev/null ||
21687 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21688 X"$mf" : 'X\(//\)[^/]' \| \
21689 X"$mf" : 'X\(//\)$' \| \
21690 X"$mf" : 'X\(/\)' \| \
21691 . : '\(.\)' 2>/dev/null ||
21692 echo X"$mf" |
21693 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21694 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21695 /^X\(\/\/\)$/{ s//\1/; q; }
21696 /^X\(\/\).*/{ s//\1/; q; }
21697 s/.*/./; q'`
21698 else
21699 continue
21700 fi
21701 # Extract the definition of DEPDIR, am__include, and am__quote
21702 # from the Makefile without running `make'.
21703 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
21704 test -z "$DEPDIR" && continue
21705 am__include=`sed -n 's/^am__include = //p' < "$mf"`
21706 test -z "am__include" && continue
21707 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
21708 # When using ansi2knr, U may be empty or an underscore; expand it
21709 U=`sed -n 's/^U = //p' < "$mf"`
21710 # Find all dependency output files, they are included files with
21711 # $(DEPDIR) in their names. We invoke sed twice because it is the
21712 # simplest approach to changing $(DEPDIR) to its actual value in the
21713 # expansion.
21714 for file in `sed -n "
21715 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21716 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21717 # Make sure the directory exists.
21718 test -f "$dirpart/$file" && continue
21719 fdir=`(dirname "$file") 2>/dev/null ||
21720 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21721 X"$file" : 'X\(//\)[^/]' \| \
21722 X"$file" : 'X\(//\)$' \| \
21723 X"$file" : 'X\(/\)' \| \
21724 . : '\(.\)' 2>/dev/null ||
21725 echo X"$file" |
21726 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21727 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21728 /^X\(\/\/\)$/{ s//\1/; q; }
21729 /^X\(\/\).*/{ s//\1/; q; }
21730 s/.*/./; q'`
21731 { if $as_mkdir_p; then
21732 mkdir -p $dirpart/$fdir
21733 else
21734 as_dir=$dirpart/$fdir
21735 as_dirs=
21736 while test ! -d "$as_dir"; do
21737 as_dirs="$as_dir $as_dirs"
21738 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21739 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21740 X"$as_dir" : 'X\(//\)[^/]' \| \
21741 X"$as_dir" : 'X\(//\)$' \| \
21742 X"$as_dir" : 'X\(/\)' \| \
21743 . : '\(.\)' 2>/dev/null ||
21744 echo X"$as_dir" |
21745 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21746 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21747 /^X\(\/\/\)$/{ s//\1/; q; }
21748 /^X\(\/\).*/{ s//\1/; q; }
21749 s/.*/./; q'`
21750 done
21751 test ! -n "$as_dirs" || mkdir $as_dirs
21752 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
21753 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
21754 { (exit 1); exit 1; }; }; }
21755
21756 # echo "creating $dirpart/$file"
21757 echo '# dummy' > "$dirpart/$file"
21758 done
21759 done
21760 ;;
21761 mkcollections.pl ) chmod 755 lib/mkcollections.pl ;;
21762 $ac_stdint_h )
21763 { echo "$as_me:$LINENO: creating $ac_stdint_h : $_ac_stdint_h" >&5
21764 echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
21765 ac_stdint=$tmp/_stdint.h
21766
21767 echo "#ifndef" $_ac_stdint_h >$ac_stdint
21768 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
21769 echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint
21770 echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint
21771 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
21772 if test "_$ac_cv_header_stdint_t" != "_" ; then
21773 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
21774 echo "#include <stdint.h>" >>$ac_stdint
21775 echo "#endif" >>$ac_stdint
21776 echo "#endif" >>$ac_stdint
21777 else
21778
21779 cat >>$ac_stdint <<STDINT_EOF
21780
21781 /* ................... shortcircuit part ........................... */
21782
21783 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
21784 #include <stdint.h>
21785 #else
21786 #include <stddef.h>
21787
21788 /* .................... configured part ............................ */
21789
21790 STDINT_EOF
21791
21792 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
21793 if test "_$ac_cv_header_stdint_x" != "_" ; then
21794 ac_header="$ac_cv_header_stdint_x"
21795 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
21796 else
21797 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
21798 fi
21799
21800 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
21801 if test "_$ac_cv_header_stdint_o" != "_" ; then
21802 ac_header="$ac_cv_header_stdint_o"
21803 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
21804 else
21805 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
21806 fi
21807
21808 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
21809 if test "_$ac_cv_header_stdint_u" != "_" ; then
21810 ac_header="$ac_cv_header_stdint_u"
21811 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
21812 else
21813 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
21814 fi
21815
21816 echo "" >>$ac_stdint
21817
21818 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
21819 echo "#include <$ac_header>" >>$ac_stdint
21820 echo "" >>$ac_stdint
21821 fi fi
21822
21823 echo "/* which 64bit typedef has been found */" >>$ac_stdint
21824 if test "$ac_cv_type_uint64_t" = "yes" ; then
21825 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
21826 else
21827 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
21828 fi
21829 if test "$ac_cv_type_u_int64_t" = "yes" ; then
21830 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
21831 else
21832 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
21833 fi
21834 echo "" >>$ac_stdint
21835
21836 echo "/* which type model has been detected */" >>$ac_stdint
21837 if test "_$ac_cv_char_data_model" != "_" ; then
21838 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
21839 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
21840 else
21841 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
21842 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
21843 fi
21844 echo "" >>$ac_stdint
21845
21846 echo "/* whether int_least types were detected */" >>$ac_stdint
21847 if test "$ac_cv_type_int_least32_t" = "yes"; then
21848 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
21849 else
21850 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
21851 fi
21852 echo "/* whether int_fast types were detected */" >>$ac_stdint
21853 if test "$ac_cv_type_int_fast32_t" = "yes"; then
21854 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
21855 else
21856 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
21857 fi
21858 echo "/* whether intmax_t type was detected */" >>$ac_stdint
21859 if test "$ac_cv_type_intmax_t" = "yes"; then
21860 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
21861 else
21862 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
21863 fi
21864 echo "" >>$ac_stdint
21865
21866 cat >>$ac_stdint <<STDINT_EOF
21867 /* .................... detections part ............................ */
21868
21869 /* whether we need to define bitspecific types from compiler base types */
21870 #ifndef _STDINT_HEADER_INTPTR
21871 #ifndef _STDINT_HEADER_UINT32
21872 #ifndef _STDINT_HEADER_U_INT32
21873 #define _STDINT_NEED_INT_MODEL_T
21874 #else
21875 #define _STDINT_HAVE_U_INT_TYPES
21876 #endif
21877 #endif
21878 #endif
21879
21880 #ifdef _STDINT_HAVE_U_INT_TYPES
21881 #undef _STDINT_NEED_INT_MODEL_T
21882 #endif
21883
21884 #ifdef _STDINT_CHAR_MODEL
21885 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
21886 #ifndef _STDINT_BYTE_MODEL
21887 #define _STDINT_BYTE_MODEL 12
21888 #endif
21889 #endif
21890 #endif
21891
21892 #ifndef _STDINT_HAVE_INT_LEAST32_T
21893 #define _STDINT_NEED_INT_LEAST_T
21894 #endif
21895
21896 #ifndef _STDINT_HAVE_INT_FAST32_T
21897 #define _STDINT_NEED_INT_FAST_T
21898 #endif
21899
21900 #ifndef _STDINT_HEADER_INTPTR
21901 #define _STDINT_NEED_INTPTR_T
21902 #ifndef _STDINT_HAVE_INTMAX_T
21903 #define _STDINT_NEED_INTMAX_T
21904 #endif
21905 #endif
21906
21907
21908 /* .................... definition part ............................ */
21909
21910 /* some system headers have good uint64_t */
21911 #ifndef _HAVE_UINT64_T
21912 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
21913 #define _HAVE_UINT64_T
21914 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
21915 #define _HAVE_UINT64_T
21916 typedef u_int64_t uint64_t;
21917 #endif
21918 #endif
21919
21920 #ifndef _HAVE_UINT64_T
21921 /* .. here are some common heuristics using compiler runtime specifics */
21922 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
21923 #define _HAVE_UINT64_T
21924 #define _HAVE_LONGLONG_UINT64_T
21925 typedef long long int64_t;
21926 typedef unsigned long long uint64_t;
21927
21928 #elif !defined __STRICT_ANSI__
21929 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
21930 #define _HAVE_UINT64_T
21931 typedef __int64 int64_t;
21932 typedef unsigned __int64 uint64_t;
21933
21934 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
21935 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
21936 #if !defined _NO_LONGLONG
21937 #define _HAVE_UINT64_T
21938 #define _HAVE_LONGLONG_UINT64_T
21939 typedef long long int64_t;
21940 typedef unsigned long long uint64_t;
21941 #endif
21942
21943 #elif defined __alpha || (defined __mips && defined _ABIN32)
21944 #if !defined _NO_LONGLONG
21945 typedef long int64_t;
21946 typedef unsigned long uint64_t;
21947 #endif
21948 /* compiler/cpu type to define int64_t */
21949 #endif
21950 #endif
21951 #endif
21952
21953 #if defined _STDINT_HAVE_U_INT_TYPES
21954 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
21955 typedef u_int8_t uint8_t;
21956 typedef u_int16_t uint16_t;
21957 typedef u_int32_t uint32_t;
21958
21959 /* glibc compatibility */
21960 #ifndef __int8_t_defined
21961 #define __int8_t_defined
21962 #endif
21963 #endif
21964
21965 #ifdef _STDINT_NEED_INT_MODEL_T
21966 /* we must guess all the basic types. Apart from byte-adressable system, */
21967 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
21968 /* (btw, those nibble-addressable systems are way off, or so we assume) */
21969
21970
21971 #if defined _STDINT_BYTE_MODEL
21972 #if _STDINT_LONG_MODEL+0 == 242
21973 /* 2:4:2 = IP16 = a normal 16-bit system */
21974 typedef unsigned char uint8_t;
21975 typedef unsigned short uint16_t;
21976 typedef unsigned long uint32_t;
21977 #ifndef __int8_t_defined
21978 #define __int8_t_defined
21979 typedef char int8_t;
21980 typedef short int16_t;
21981 typedef long int32_t;
21982 #endif
21983 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
21984 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
21985 /* 4:4:4 = ILP32 = a normal 32-bit system */
21986 typedef unsigned char uint8_t;
21987 typedef unsigned short uint16_t;
21988 typedef unsigned int uint32_t;
21989 #ifndef __int8_t_defined
21990 #define __int8_t_defined
21991 typedef char int8_t;
21992 typedef short int16_t;
21993 typedef int int32_t;
21994 #endif
21995 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
21996 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
21997 /* 4:8:8 = LP64 = a normal 64-bit system */
21998 typedef unsigned char uint8_t;
21999 typedef unsigned short uint16_t;
22000 typedef unsigned int uint32_t;
22001 #ifndef __int8_t_defined
22002 #define __int8_t_defined
22003 typedef char int8_t;
22004 typedef short int16_t;
22005 typedef int int32_t;
22006 #endif
22007 /* this system has a "long" of 64bit */
22008 #ifndef _HAVE_UINT64_T
22009 #define _HAVE_UINT64_T
22010 typedef unsigned long uint64_t;
22011 typedef long int64_t;
22012 #endif
22013 #elif _STDINT_LONG_MODEL+0 == 448
22014 /* LLP64 a 64-bit system derived from a 32-bit system */
22015 typedef unsigned char uint8_t;
22016 typedef unsigned short uint16_t;
22017 typedef unsigned int uint32_t;
22018 #ifndef __int8_t_defined
22019 #define __int8_t_defined
22020 typedef char int8_t;
22021 typedef short int16_t;
22022 typedef int int32_t;
22023 #endif
22024 /* assuming the system has a "long long" */
22025 #ifndef _HAVE_UINT64_T
22026 #define _HAVE_UINT64_T
22027 #define _HAVE_LONGLONG_UINT64_T
22028 typedef unsigned long long uint64_t;
22029 typedef long long int64_t;
22030 #endif
22031 #else
22032 #define _STDINT_NO_INT32_T
22033 #endif
22034 #else
22035 #define _STDINT_NO_INT8_T
22036 #define _STDINT_NO_INT32_T
22037 #endif
22038 #endif
22039
22040 /*
22041 * quote from SunOS-5.8 sys/inttypes.h:
22042 * Use at your own risk. As of February 1996, the committee is squarely
22043 * behind the fixed sized types; the "least" and "fast" types are still being
22044 * discussed. The probability that the "fast" types may be removed before
22045 * the standard is finalized is high enough that they are not currently
22046 * implemented.
22047 */
22048
22049 #if defined _STDINT_NEED_INT_LEAST_T
22050 typedef int8_t int_least8_t;
22051 typedef int16_t int_least16_t;
22052 typedef int32_t int_least32_t;
22053 #ifdef _HAVE_UINT64_T
22054 typedef int64_t int_least64_t;
22055 #endif
22056
22057 typedef uint8_t uint_least8_t;
22058 typedef uint16_t uint_least16_t;
22059 typedef uint32_t uint_least32_t;
22060 #ifdef _HAVE_UINT64_T
22061 typedef uint64_t uint_least64_t;
22062 #endif
22063 /* least types */
22064 #endif
22065
22066 #if defined _STDINT_NEED_INT_FAST_T
22067 typedef int8_t int_fast8_t;
22068 typedef int int_fast16_t;
22069 typedef int32_t int_fast32_t;
22070 #ifdef _HAVE_UINT64_T
22071 typedef int64_t int_fast64_t;
22072 #endif
22073
22074 typedef uint8_t uint_fast8_t;
22075 typedef unsigned uint_fast16_t;
22076 typedef uint32_t uint_fast32_t;
22077 #ifdef _HAVE_UINT64_T
22078 typedef uint64_t uint_fast64_t;
22079 #endif
22080 /* fast types */
22081 #endif
22082
22083 #ifdef _STDINT_NEED_INTMAX_T
22084 #ifdef _HAVE_UINT64_T
22085 typedef int64_t intmax_t;
22086 typedef uint64_t uintmax_t;
22087 #else
22088 typedef long intmax_t;
22089 typedef unsigned long uintmax_t;
22090 #endif
22091 #endif
22092
22093 #ifdef _STDINT_NEED_INTPTR_T
22094 #ifndef __intptr_t_defined
22095 #define __intptr_t_defined
22096 /* we encourage using "long" to store pointer values, never use "int" ! */
22097 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
22098 typedef unsigned int uintptr_t;
22099 typedef int intptr_t;
22100 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
22101 typedef unsigned long uintptr_t;
22102 typedef long intptr_t;
22103 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
22104 typedef uint64_t uintptr_t;
22105 typedef int64_t intptr_t;
22106 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
22107 typedef unsigned long uintptr_t;
22108 typedef long intptr_t;
22109 #endif
22110 #endif
22111 #endif
22112
22113 /* The ISO C99 standard specifies that in C++ implementations these
22114 should only be defined if explicitly requested. */
22115 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
22116 #ifndef UINT32_C
22117
22118 /* Signed. */
22119 # define INT8_C(c) c
22120 # define INT16_C(c) c
22121 # define INT32_C(c) c
22122 # ifdef _HAVE_LONGLONG_UINT64_T
22123 # define INT64_C(c) c ## L
22124 # else
22125 # define INT64_C(c) c ## LL
22126 # endif
22127
22128 /* Unsigned. */
22129 # define UINT8_C(c) c ## U
22130 # define UINT16_C(c) c ## U
22131 # define UINT32_C(c) c ## U
22132 # ifdef _HAVE_LONGLONG_UINT64_T
22133 # define UINT64_C(c) c ## UL
22134 # else
22135 # define UINT64_C(c) c ## ULL
22136 # endif
22137
22138 /* Maximal type. */
22139 # ifdef _HAVE_LONGLONG_UINT64_T
22140 # define INTMAX_C(c) c ## L
22141 # define UINTMAX_C(c) c ## UL
22142 # else
22143 # define INTMAX_C(c) c ## LL
22144 # define UINTMAX_C(c) c ## ULL
22145 # endif
22146
22147 /* literalnumbers */
22148 #endif
22149 #endif
22150
22151 /* These limits are merily those of a two complement byte-oriented system */
22152
22153 /* Minimum of signed integral types. */
22154 # define INT8_MIN (-128)
22155 # define INT16_MIN (-32767-1)
22156 # define INT32_MIN (-2147483647-1)
22157 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
22158 /* Maximum of signed integral types. */
22159 # define INT8_MAX (127)
22160 # define INT16_MAX (32767)
22161 # define INT32_MAX (2147483647)
22162 # define INT64_MAX (__INT64_C(9223372036854775807))
22163
22164 /* Maximum of unsigned integral types. */
22165 # define UINT8_MAX (255)
22166 # define UINT16_MAX (65535)
22167 # define UINT32_MAX (4294967295U)
22168 # define UINT64_MAX (__UINT64_C(18446744073709551615))
22169
22170 /* Minimum of signed integral types having a minimum size. */
22171 # define INT_LEAST8_MIN INT8_MIN
22172 # define INT_LEAST16_MIN INT16_MIN
22173 # define INT_LEAST32_MIN INT32_MIN
22174 # define INT_LEAST64_MIN INT64_MIN
22175 /* Maximum of signed integral types having a minimum size. */
22176 # define INT_LEAST8_MAX INT8_MAX
22177 # define INT_LEAST16_MAX INT16_MAX
22178 # define INT_LEAST32_MAX INT32_MAX
22179 # define INT_LEAST64_MAX INT64_MAX
22180
22181 /* Maximum of unsigned integral types having a minimum size. */
22182 # define UINT_LEAST8_MAX UINT8_MAX
22183 # define UINT_LEAST16_MAX UINT16_MAX
22184 # define UINT_LEAST32_MAX UINT32_MAX
22185 # define UINT_LEAST64_MAX UINT64_MAX
22186
22187 /* shortcircuit*/
22188 #endif
22189 /* once */
22190 #endif
22191 #endif
22192 STDINT_EOF
22193 fi
22194 if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then
22195 { echo "$as_me:$LINENO: $ac_stdint_h is unchanged" >&5
22196 echo "$as_me: $ac_stdint_h is unchanged" >&6;}
22197 else
22198 ac_dir=`(dirname "$ac_stdint_h") 2>/dev/null ||
22199 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22200 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
22201 X"$ac_stdint_h" : 'X\(//\)$' \| \
22202 X"$ac_stdint_h" : 'X\(/\)' \| \
22203 . : '\(.\)' 2>/dev/null ||
22204 echo X"$ac_stdint_h" |
22205 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22206 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22207 /^X\(\/\/\)$/{ s//\1/; q; }
22208 /^X\(\/\).*/{ s//\1/; q; }
22209 s/.*/./; q'`
22210 { if $as_mkdir_p; then
22211 mkdir -p "$ac_dir"
22212 else
22213 as_dir="$ac_dir"
22214 as_dirs=
22215 while test ! -d "$as_dir"; do
22216 as_dirs="$as_dir $as_dirs"
22217 as_dir=`(dirname "$as_dir") 2>/dev/null ||
22218 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22219 X"$as_dir" : 'X\(//\)[^/]' \| \
22220 X"$as_dir" : 'X\(//\)$' \| \
22221 X"$as_dir" : 'X\(/\)' \| \
22222 . : '\(.\)' 2>/dev/null ||
22223 echo X"$as_dir" |
22224 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22225 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22226 /^X\(\/\/\)$/{ s//\1/; q; }
22227 /^X\(\/\).*/{ s//\1/; q; }
22228 s/.*/./; q'`
22229 done
22230 test ! -n "$as_dirs" || mkdir $as_dirs
22231 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22232 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22233 { (exit 1); exit 1; }; }; }
22234
22235 rm -f $ac_stdint_h
22236 mv $ac_stdint $ac_stdint_h
22237 fi
22238 ;;
22239 gappletviewer ) chmod 755 tools/gappletviewer ;;
22240 gjarsigner ) chmod 755 tools/gjarsigner ;;
22241 gkeytool ) chmod 755 tools/gkeytool ;;
22242 gjar ) chmod 755 tools/gjar ;;
22243 gnative2ascii ) chmod 755 tools/gnative2ascii ;;
22244 gserialver ) chmod 755 tools/gserialver ;;
22245 grmiregistry ) chmod 755 tools/grmiregistry ;;
22246 gtnameserv ) chmod 755 tools/gtnameserv ;;
22247 gorbd ) chmod 755 tools/gorbd ;;
22248 grmid ) chmod 755 tools/grmid ;;
22249 grmic ) chmod 755 tools/grmic ;;
22250 gjavah ) chmod 755 tools/gjavah ;;
22251 gen-classlist ) chmod 755 lib/gen-classlist.sh ;;
22252 copy-vmresources ) chmod 755 lib/copy-vmresources.sh ;;
22253 esac
22254 done
22255 _ACEOF
22256
22257 cat >>$CONFIG_STATUS <<\_ACEOF
22258
22259 { (exit 0); exit 0; }
22260 _ACEOF
22261 chmod +x $CONFIG_STATUS
22262 ac_clean_files=$ac_clean_files_save
22263
22264
22265 # configure is writing to config.log, and then calls config.status.
22266 # config.status does its own redirection, appending to config.log.
22267 # Unfortunately, on DOS this fails, as config.log is still kept open
22268 # by configure, so config.status won't be able to write to it; its
22269 # output is simply discarded. So we exec the FD to /dev/null,
22270 # effectively closing config.log, so it can be properly (re)opened and
22271 # appended to by config.status. When coming back to configure, we
22272 # need to make the FD available again.
22273 if test "$no_create" != yes; then
22274 ac_cs_success=:
22275 ac_config_status_args=
22276 test "$silent" = yes &&
22277 ac_config_status_args="$ac_config_status_args --quiet"
22278 exec 5>/dev/null
22279 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22280 exec 5>>config.log
22281 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22282 # would make configure fail if this is the last instruction.
22283 $ac_cs_success || { (exit 1); exit 1; }
22284 fi
22285
22286
22287 # Create standard.omit based on decisions we just made.
22288 cat ${srcdir}/lib/standard.omit.in > lib/standard.omit
22289 if test x$use_escher != xtrue; then
22290 echo gnu/java/awt/peer/x/.*java$ >> lib/standard.omit
22291 fi