OSDN Git Service

2007-03-17 Thomas Fitzsimmons <fitzsim@redhat.com>
[pf3gnuchains/gcc-fork.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 multi_basedir LIBVERSION CLASSPATH_MODULE CLASSPATH_CONVENIENCE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CREATE_COLLECTIONS_TRUE CREATE_COLLECTIONS_FALSE CREATE_JNI_LIBRARIES_TRUE CREATE_JNI_LIBRARIES_FALSE CREATE_CORE_JNI_LIBRARIES_TRUE CREATE_CORE_JNI_LIBRARIES_FALSE CREATE_GCONF_PEER_LIBRARIES_TRUE CREATE_GCONF_PEER_LIBRARIES_FALSE default_toolkit CREATE_XMLJ_LIBRARY_TRUE CREATE_XMLJ_LIBRARY_FALSE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP CREATE_ALSA_LIBRARIES_TRUE CREATE_ALSA_LIBRARIES_FALSE CREATE_DSSI_LIBRARIES_TRUE CREATE_DSSI_LIBRARIES_FALSE CREATE_GTK_PEER_LIBRARIES_TRUE CREATE_GTK_PEER_LIBRARIES_FALSE CREATE_QT_PEER_LIBRARIES_TRUE CREATE_QT_PEER_LIBRARIES_FALSE CREATE_PLUGIN_TRUE CREATE_PLUGIN_FALSE toolexeclibdir nativeexeclibdir glibjdir VM_BINARY FOUND_CACAO_TRUE FOUND_CACAO_FALSE CREATE_JNI_HEADERS_TRUE CREATE_JNI_HEADERS_FALSE CREATE_WRAPPERS_TRUE CREATE_WRAPPERS_FALSE LN_S RANLIB ac_ct_RANLIB LIBTOOL CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP PERL COLLECTIONS_PREFIX LIBMAGIC LIBICONV LTLIBICONV WARNING_CFLAGS STRICT_WARNING_CFLAGS ERROR_CFLAGS PKG_CONFIG XML_CFLAGS XML_LIBS XSLT_CFLAGS XSLT_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS GTK_CFLAGS GTK_LIBS FREETYPE2_CFLAGS FREETYPE2_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS XTEST_LIBS GCONF_CFLAGS GCONF_LIBS GDK_CFLAGS GDK_LIBS QT_CFLAGS QT_LIBS MOC MOZILLA_CFLAGS MOZILLA_LIBS GLIB_CFLAGS GLIB_LIBS PLUGIN_DIR USER_JAVAH USER_SPECIFIED_JAVAH_TRUE USER_SPECIFIED_JAVAH_FALSE CLASSPATH_INCLUDES GCJ JIKES JIKESENCODING JIKESWARNINGS KJC GCJX ECJ FOUND_GCJ_TRUE FOUND_GCJ_FALSE FOUND_JIKES_TRUE FOUND_JIKES_FALSE FOUND_ECJ_TRUE FOUND_ECJ_FALSE FOUND_KJC_TRUE FOUND_KJC_FALSE FOUND_GCJX_TRUE FOUND_GCJX_FALSE USER_CLASSLIB USER_SPECIFIED_CLASSLIB_TRUE USER_SPECIFIED_CLASSLIB_FALSE vm_classes MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBDEBUG INIT_LOAD_LIBRARY ECJ_JAR JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION REMOVE MKDIR CP DATE FIND ZIP FASTJAR INSTALL_GLIBJ_ZIP_TRUE INSTALL_GLIBJ_ZIP_FALSE INSTALL_CLASS_FILES_TRUE INSTALL_CLASS_FILES_FALSE BUILD_CLASS_FILES_TRUE BUILD_CLASS_FILES_FALSE EXAMPLESDIR GJDOC CREATE_API_DOCS_TRUE CREATE_API_DOCS_FALSE JAY JAY_SKELETON REGEN_PARSERS_TRUE REGEN_PARSERS_FALSE USE_PREBUILT_GLIBJ_ZIP_TRUE USE_PREBUILT_GLIBJ_ZIP_FALSE PATH_TO_GLIBJ_ZIP USE_ESCHER_TRUE USE_ESCHER_FALSE PATH_TO_ESCHER ENABLE_LOCAL_SOCKETS_TRUE ENABLE_LOCAL_SOCKETS_FALSE DEFAULT_PREFS_PEER LIBOBJS LTLIBOBJS'
316 ac_subst_files=''
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-multilib       build many library versions (default)
877   --enable-collections    create collections.jar default=no
878   --enable-jni            compile JNI source default=yes
879   --enable-core-jni       compile JNI sources for core default=yes
880   --enable-default-preferences-peer[=peer type or class name]
881                           specify one of: "gconf" [default] for a GConf based
882                           backend, "file" for a file based one, "memory" for a
883                           transient one, or a fully qualified class name
884                           implementing java.util.prefs.PreferencesFactory
885   --disable-gconf-peer    compile GConf native peers (disabled by
886                           --disable-jni) default=yes
887
888   --enable-Werror         whether to compile C code with -Werror which turns
889                           any compiler warning into a compilation failure
890                           default=no
891   --enable-default-toolkit
892                           fully qualified class name of default AWT toolkit
893   --enable-xmlj           compile native libxml/xslt library default=no
894   --disable-alsa          compile ALSA providers (enable by --enable-alsa)
895                           default=yes
896   --disable-dependency-tracking  speeds up one-time build
897   --enable-dependency-tracking   do not reject slow dependency extractors
898   --disable-dssi          compile DSSI providers (enable by --enable-dssi)
899                           default=yes
900   --disable-gtk-peer      compile GTK native peers (disabled by --disable-jni)
901                           default=yes
902   --enable-qt-peer        compile Qt4 native peers (disabled by --disable-jni)
903                           default=no
904   --disable-plugin        compile gcjwebplugin (disabled by --disable-plugin)
905                           default=yes
906   --enable-regen-headers  automatically regenerate JNI headers default=no
907   --enable-tool-wrappers  create tool wrapper binaries default=no
908   --enable-static=PKGS  build static libraries default=no
909   --enable-shared=PKGS  build shared libraries default=yes
910   --enable-fast-install=PKGS  optimize for fast installation default=yes
911   --disable-libtool-lock  avoid locking (might break parallel builds)
912   --disable-rpath         do not hardcode runtime library paths
913   --enable-maintainer-mode  enable make rules and dependencies not useful
914                           (and sometimes confusing) to the casual installer
915   --enable-debug          enable runtime debugging code
916   --enable-load-library   enable to use JNI native methods default=yes
917   --enable-java-lang-system-explicit-initialization
918                           will the VM explicitly invoke java.lang.System's
919                           static initialization methods default=no
920   --enable-examples       enable build of the examples default=yes
921   --enable-portable-native-sync
922                           synchronize VM threads portably
923   --enable-local-sockets  enables local (AF_LOCAL) socket API default: no
924
925 Optional Packages:
926   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
927   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
928   --with-native-libdir    sets the installation directory for native libraries
929                           default='${libdir}/${PACKAGE}'
930   --with-glibj-dir        sets the installation directory for glibj.zip
931                           default='${libdir}/${PACKAGE}'
932   --with-vm               sets the VM binary name
933                           default='${prefix}/bin/jamvm'
934   --with-gnu-ld           assume the C compiler uses GNU ld default=no
935   --with-pic              try to use only PIC/non-PIC objects default=use both
936   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
937   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
938   --with-x                use the X Window System
939   --with-qt4dir=DIR       Qt4 installation directory used for OS-X. For other
940                           systems use pkg-config.
941   --with-javah            specify path or name of a javah-like program
942   --with-gcj              bytecode compilation with gcj
943   --with-jikes            bytecode compilation with jikes
944   --with-kjc              bytecode compilation with kjc
945   --with-gcjx             bytecode compilation with gcjx
946   --with-ecj              bytecode compilation with ecj
947   --with-classpath        specify path to a classes.zip like file
948   --with-vm-classes       specify path to VM override source files
949   --with-ecj-jar=ABS.PATH specify jar file containing the Eclipse Java
950                           Compiler
951   --with-fastjar=PATH     define to use a fastjar style tool
952   --with-glibj            define what to install (zip|flat|both|none|build)
953                           [default=zip]
954   --with-gjdoc            generate documentation using gjdoc (default is NO)
955   --with-jay              Regenerate the parsers with jay must be given the
956                           path to the jay executable
957   --with-glibj-zip=ABS.PATH
958                           use prebuilt glibj.zip class library
959   --with-escher=ABS.PATH  specify path to escher dir or JAR for X peers
960
961 Some influential environment variables:
962   CC          C compiler command
963   CFLAGS      C compiler flags
964   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
965               nonstandard directory <lib dir>
966   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
967               headers in a nonstandard directory <include dir>
968   CPP         C preprocessor
969   CXX         C++ compiler command
970   CXXFLAGS    C++ compiler flags
971   CXXCPP      C++ preprocessor
972
973 Use these variables to override the choices made by `configure' or to help
974 it to find libraries and programs with nonstandard names/locations.
975
976 Report bugs to <classpath@gnu.org>.
977 _ACEOF
978 fi
979
980 if test "$ac_init_help" = "recursive"; then
981   # If there are subdirs, report their specific --help.
982   ac_popdir=`pwd`
983   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
984     test -d $ac_dir || continue
985     ac_builddir=.
986
987 if test "$ac_dir" != .; then
988   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
989   # A "../" for each directory in $ac_dir_suffix.
990   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
991 else
992   ac_dir_suffix= ac_top_builddir=
993 fi
994
995 case $srcdir in
996   .)  # No --srcdir option.  We are building in place.
997     ac_srcdir=.
998     if test -z "$ac_top_builddir"; then
999        ac_top_srcdir=.
1000     else
1001        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1002     fi ;;
1003   [\\/]* | ?:[\\/]* )  # Absolute path.
1004     ac_srcdir=$srcdir$ac_dir_suffix;
1005     ac_top_srcdir=$srcdir ;;
1006   *) # Relative path.
1007     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1008     ac_top_srcdir=$ac_top_builddir$srcdir ;;
1009 esac
1010
1011 # Do not use `cd foo && pwd` to compute absolute paths, because
1012 # the directories may not exist.
1013 case `pwd` in
1014 .) ac_abs_builddir="$ac_dir";;
1015 *)
1016   case "$ac_dir" in
1017   .) ac_abs_builddir=`pwd`;;
1018   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1019   *) ac_abs_builddir=`pwd`/"$ac_dir";;
1020   esac;;
1021 esac
1022 case $ac_abs_builddir in
1023 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1024 *)
1025   case ${ac_top_builddir}. in
1026   .) ac_abs_top_builddir=$ac_abs_builddir;;
1027   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1028   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1029   esac;;
1030 esac
1031 case $ac_abs_builddir in
1032 .) ac_abs_srcdir=$ac_srcdir;;
1033 *)
1034   case $ac_srcdir in
1035   .) ac_abs_srcdir=$ac_abs_builddir;;
1036   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1037   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1038   esac;;
1039 esac
1040 case $ac_abs_builddir in
1041 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1042 *)
1043   case $ac_top_srcdir in
1044   .) ac_abs_top_srcdir=$ac_abs_builddir;;
1045   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1046   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1047   esac;;
1048 esac
1049
1050     cd $ac_dir
1051     # Check for guested configure; otherwise get Cygnus style configure.
1052     if test -f $ac_srcdir/configure.gnu; then
1053       echo
1054       $SHELL $ac_srcdir/configure.gnu  --help=recursive
1055     elif test -f $ac_srcdir/configure; then
1056       echo
1057       $SHELL $ac_srcdir/configure  --help=recursive
1058     elif test -f $ac_srcdir/configure.ac ||
1059            test -f $ac_srcdir/configure.in; then
1060       echo
1061       $ac_configure --help
1062     else
1063       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1064     fi
1065     cd $ac_popdir
1066   done
1067 fi
1068
1069 test -n "$ac_init_help" && exit 0
1070 if $ac_init_version; then
1071   cat <<\_ACEOF
1072 GNU Classpath configure 0.94-pre
1073 generated by GNU Autoconf 2.59
1074
1075 Copyright (C) 2003 Free Software Foundation, Inc.
1076 This configure script is free software; the Free Software Foundation
1077 gives unlimited permission to copy, distribute and modify it.
1078 _ACEOF
1079   exit 0
1080 fi
1081 exec 5>config.log
1082 cat >&5 <<_ACEOF
1083 This file contains any messages produced by compilers while
1084 running configure, to aid debugging if configure makes a mistake.
1085
1086 It was created by GNU Classpath $as_me 0.94-pre, which was
1087 generated by GNU Autoconf 2.59.  Invocation command line was
1088
1089   $ $0 $@
1090
1091 _ACEOF
1092 {
1093 cat <<_ASUNAME
1094 ## --------- ##
1095 ## Platform. ##
1096 ## --------- ##
1097
1098 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1099 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1100 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1101 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1102 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1103
1104 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1105 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1106
1107 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1108 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1109 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1110 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1111 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1112 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1113 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1114
1115 _ASUNAME
1116
1117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1118 for as_dir in $PATH
1119 do
1120   IFS=$as_save_IFS
1121   test -z "$as_dir" && as_dir=.
1122   echo "PATH: $as_dir"
1123 done
1124
1125 } >&5
1126
1127 cat >&5 <<_ACEOF
1128
1129
1130 ## ----------- ##
1131 ## Core tests. ##
1132 ## ----------- ##
1133
1134 _ACEOF
1135
1136
1137 # Keep a trace of the command line.
1138 # Strip out --no-create and --no-recursion so they do not pile up.
1139 # Strip out --silent because we don't want to record it for future runs.
1140 # Also quote any args containing shell meta-characters.
1141 # Make two passes to allow for proper duplicate-argument suppression.
1142 ac_configure_args=
1143 ac_configure_args0=
1144 ac_configure_args1=
1145 ac_sep=
1146 ac_must_keep_next=false
1147 for ac_pass in 1 2
1148 do
1149   for ac_arg
1150   do
1151     case $ac_arg in
1152     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1153     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1154     | -silent | --silent | --silen | --sile | --sil)
1155       continue ;;
1156     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1157       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1158     esac
1159     case $ac_pass in
1160     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1161     2)
1162       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1163       if test $ac_must_keep_next = true; then
1164         ac_must_keep_next=false # Got value, back to normal.
1165       else
1166         case $ac_arg in
1167           *=* | --config-cache | -C | -disable-* | --disable-* \
1168           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1169           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1170           | -with-* | --with-* | -without-* | --without-* | --x)
1171             case "$ac_configure_args0 " in
1172               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1173             esac
1174             ;;
1175           -* ) ac_must_keep_next=true ;;
1176         esac
1177       fi
1178       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1179       # Get rid of the leading space.
1180       ac_sep=" "
1181       ;;
1182     esac
1183   done
1184 done
1185 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1186 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1187
1188 # When interrupted or exit'd, cleanup temporary files, and complete
1189 # config.log.  We remove comments because anyway the quotes in there
1190 # would cause problems or look ugly.
1191 # WARNING: Be sure not to use single quotes in there, as some shells,
1192 # such as our DU 5.0 friend, will then `close' the trap.
1193 trap 'exit_status=$?
1194   # Save into config.log some information that might help in debugging.
1195   {
1196     echo
1197
1198     cat <<\_ASBOX
1199 ## ---------------- ##
1200 ## Cache variables. ##
1201 ## ---------------- ##
1202 _ASBOX
1203     echo
1204     # The following way of writing the cache mishandles newlines in values,
1205 {
1206   (set) 2>&1 |
1207     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1208     *ac_space=\ *)
1209       sed -n \
1210         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1211           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1212       ;;
1213     *)
1214       sed -n \
1215         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1216       ;;
1217     esac;
1218 }
1219     echo
1220
1221     cat <<\_ASBOX
1222 ## ----------------- ##
1223 ## Output variables. ##
1224 ## ----------------- ##
1225 _ASBOX
1226     echo
1227     for ac_var in $ac_subst_vars
1228     do
1229       eval ac_val=$`echo $ac_var`
1230       echo "$ac_var='"'"'$ac_val'"'"'"
1231     done | sort
1232     echo
1233
1234     if test -n "$ac_subst_files"; then
1235       cat <<\_ASBOX
1236 ## ------------- ##
1237 ## Output files. ##
1238 ## ------------- ##
1239 _ASBOX
1240       echo
1241       for ac_var in $ac_subst_files
1242       do
1243         eval ac_val=$`echo $ac_var`
1244         echo "$ac_var='"'"'$ac_val'"'"'"
1245       done | sort
1246       echo
1247     fi
1248
1249     if test -s confdefs.h; then
1250       cat <<\_ASBOX
1251 ## ----------- ##
1252 ## confdefs.h. ##
1253 ## ----------- ##
1254 _ASBOX
1255       echo
1256       sed "/^$/d" confdefs.h | sort
1257       echo
1258     fi
1259     test "$ac_signal" != 0 &&
1260       echo "$as_me: caught signal $ac_signal"
1261     echo "$as_me: exit $exit_status"
1262   } >&5
1263   rm -f core *.core &&
1264   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1265     exit $exit_status
1266      ' 0
1267 for ac_signal in 1 2 13 15; do
1268   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1269 done
1270 ac_signal=0
1271
1272 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1273 rm -rf conftest* confdefs.h
1274 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1275 echo >confdefs.h
1276
1277 # Predefined preprocessor variables.
1278
1279 cat >>confdefs.h <<_ACEOF
1280 #define PACKAGE_NAME "$PACKAGE_NAME"
1281 _ACEOF
1282
1283
1284 cat >>confdefs.h <<_ACEOF
1285 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1286 _ACEOF
1287
1288
1289 cat >>confdefs.h <<_ACEOF
1290 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1291 _ACEOF
1292
1293
1294 cat >>confdefs.h <<_ACEOF
1295 #define PACKAGE_STRING "$PACKAGE_STRING"
1296 _ACEOF
1297
1298
1299 cat >>confdefs.h <<_ACEOF
1300 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1301 _ACEOF
1302
1303
1304 # Let the site file select an alternate cache file if it wants to.
1305 # Prefer explicitly selected file to automatically selected ones.
1306 if test -z "$CONFIG_SITE"; then
1307   if test "x$prefix" != xNONE; then
1308     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1309   else
1310     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1311   fi
1312 fi
1313 for ac_site_file in $CONFIG_SITE; do
1314   if test -r "$ac_site_file"; then
1315     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1316 echo "$as_me: loading site script $ac_site_file" >&6;}
1317     sed 's/^/| /' "$ac_site_file" >&5
1318     . "$ac_site_file"
1319   fi
1320 done
1321
1322 if test -r "$cache_file"; then
1323   # Some versions of bash will fail to source /dev/null (special
1324   # files actually), so we avoid doing that.
1325   if test -f "$cache_file"; then
1326     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1327 echo "$as_me: loading cache $cache_file" >&6;}
1328     case $cache_file in
1329       [\\/]* | ?:[\\/]* ) . $cache_file;;
1330       *)                      . ./$cache_file;;
1331     esac
1332   fi
1333 else
1334   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1335 echo "$as_me: creating cache $cache_file" >&6;}
1336   >$cache_file
1337 fi
1338
1339 # Check that the precious variables saved in the cache have kept the same
1340 # value.
1341 ac_cache_corrupted=false
1342 for ac_var in `(set) 2>&1 |
1343                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1344   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1345   eval ac_new_set=\$ac_env_${ac_var}_set
1346   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1347   eval ac_new_val="\$ac_env_${ac_var}_value"
1348   case $ac_old_set,$ac_new_set in
1349     set,)
1350       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1351 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1352       ac_cache_corrupted=: ;;
1353     ,set)
1354       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1355 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1356       ac_cache_corrupted=: ;;
1357     ,);;
1358     *)
1359       if test "x$ac_old_val" != "x$ac_new_val"; then
1360         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1361 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1362         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1363 echo "$as_me:   former value:  $ac_old_val" >&2;}
1364         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1365 echo "$as_me:   current value: $ac_new_val" >&2;}
1366         ac_cache_corrupted=:
1367       fi;;
1368   esac
1369   # Pass precious variables to config.status.
1370   if test "$ac_new_set" = set; then
1371     case $ac_new_val in
1372     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1373       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1374     *) ac_arg=$ac_var=$ac_new_val ;;
1375     esac
1376     case " $ac_configure_args " in
1377       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1378       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1379     esac
1380   fi
1381 done
1382 if $ac_cache_corrupted; then
1383   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1384 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1385   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1386 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1387    { (exit 1); exit 1; }; }
1388 fi
1389
1390 ac_ext=c
1391 ac_cpp='$CPP $CPPFLAGS'
1392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
1422
1423
1424 ac_aux_dir=
1425 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1426   if test -f $ac_dir/install-sh; then
1427     ac_aux_dir=$ac_dir
1428     ac_install_sh="$ac_aux_dir/install-sh -c"
1429     break
1430   elif test -f $ac_dir/install.sh; then
1431     ac_aux_dir=$ac_dir
1432     ac_install_sh="$ac_aux_dir/install.sh -c"
1433     break
1434   elif test -f $ac_dir/shtool; then
1435     ac_aux_dir=$ac_dir
1436     ac_install_sh="$ac_aux_dir/shtool install -c"
1437     break
1438   fi
1439 done
1440 if test -z "$ac_aux_dir"; then
1441   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1442 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1443    { (exit 1); exit 1; }; }
1444 fi
1445 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1446 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1447 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1448
1449 # Make sure we can run config.sub.
1450 $ac_config_sub sun4 >/dev/null 2>&1 ||
1451   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1452 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1453    { (exit 1); exit 1; }; }
1454
1455 echo "$as_me:$LINENO: checking build system type" >&5
1456 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1457 if test "${ac_cv_build+set}" = set; then
1458   echo $ECHO_N "(cached) $ECHO_C" >&6
1459 else
1460   ac_cv_build_alias=$build_alias
1461 test -z "$ac_cv_build_alias" &&
1462   ac_cv_build_alias=`$ac_config_guess`
1463 test -z "$ac_cv_build_alias" &&
1464   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1465 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1466    { (exit 1); exit 1; }; }
1467 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1468   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1469 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1470    { (exit 1); exit 1; }; }
1471
1472 fi
1473 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1474 echo "${ECHO_T}$ac_cv_build" >&6
1475 build=$ac_cv_build
1476 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1477 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1478 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1479
1480
1481 echo "$as_me:$LINENO: checking host system type" >&5
1482 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1483 if test "${ac_cv_host+set}" = set; then
1484   echo $ECHO_N "(cached) $ECHO_C" >&6
1485 else
1486   ac_cv_host_alias=$host_alias
1487 test -z "$ac_cv_host_alias" &&
1488   ac_cv_host_alias=$ac_cv_build_alias
1489 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1490   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1491 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1492    { (exit 1); exit 1; }; }
1493
1494 fi
1495 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1496 echo "${ECHO_T}$ac_cv_host" >&6
1497 host=$ac_cv_host
1498 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1499 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1500 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1501
1502
1503 echo "$as_me:$LINENO: checking target system type" >&5
1504 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1505 if test "${ac_cv_target+set}" = set; then
1506   echo $ECHO_N "(cached) $ECHO_C" >&6
1507 else
1508   ac_cv_target_alias=$target_alias
1509 test "x$ac_cv_target_alias" = "x" &&
1510   ac_cv_target_alias=$ac_cv_host_alias
1511 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1512   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1513 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1514    { (exit 1); exit 1; }; }
1515
1516 fi
1517 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1518 echo "${ECHO_T}$ac_cv_target" >&6
1519 target=$ac_cv_target
1520 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1521 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1522 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1523
1524
1525 # The aliases save the names the user supplied, while $host etc.
1526 # will get canonicalized.
1527 test -n "$target_alias" &&
1528   test "$program_prefix$program_suffix$program_transform_name" = \
1529     NONENONEs,x,x, &&
1530   program_prefix=${target_alias}-
1531
1532 # Check whether --enable-java-maintainer-mode or --disable-java-maintainer-mode was given.
1533 if test "${enable_java_maintainer_mode+set}" = set; then
1534   enableval="$enable_java_maintainer_mode"
1535
1536 fi;
1537
1538
1539 if test "$enable_java_maintainer_mode" = yes; then
1540   JAVA_MAINTAINER_MODE_TRUE=
1541   JAVA_MAINTAINER_MODE_FALSE='#'
1542 else
1543   JAVA_MAINTAINER_MODE_TRUE='#'
1544   JAVA_MAINTAINER_MODE_FALSE=
1545 fi
1546
1547
1548 # Find the rest of the source tree framework.
1549 # Default to --enable-multilib
1550 # Check whether --enable-multilib or --disable-multilib was given.
1551 if test "${enable_multilib+set}" = set; then
1552   enableval="$enable_multilib"
1553   case "$enableval" in
1554   yes) multilib=yes ;;
1555   no)  multilib=no ;;
1556   *)   { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1557 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1558    { (exit 1); exit 1; }; } ;;
1559  esac
1560 else
1561   multilib=yes
1562 fi;
1563
1564 # We may get other options which we leave undocumented:
1565 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1566 # See config-ml.in if you want the gory details.
1567
1568 if test "$srcdir" = "."; then
1569   if test "$with_target_subdir" != "."; then
1570     multi_basedir="$srcdir/$with_multisrctop../../.."
1571   else
1572     multi_basedir="$srcdir/$with_multisrctop../.."
1573   fi
1574 else
1575   multi_basedir="$srcdir/../.."
1576 fi
1577
1578
1579 # Even if the default multilib is not a cross compilation,
1580 # it may be that some of the other multilibs are.
1581 if test $cross_compiling = no && test $multilib = yes \
1582    && test "x${with_multisubdir}" != x ; then
1583    cross_compiling=maybe
1584 fi
1585
1586           ac_config_commands="$ac_config_commands default-1"
1587
1588
1589 if expr ${target_cpu} : '.*86' > /dev/null; then target_cpu=x86; fi
1590
1591 LIBVERSION="0:0:0"
1592
1593 case "$host_os" in
1594      darwin*)
1595         cp_module=""
1596         ;;
1597         *)
1598         cp_module="-module"
1599         ;;
1600 esac
1601
1602 CLASSPATH_MODULE="${cp_module} -version-info ${LIBVERSION} -no-undefined"
1603
1604
1605 CLASSPATH_CONVENIENCE="-no-undefined"
1606
1607
1608
1609 am__api_version="1.9"
1610 # Find a good install program.  We prefer a C program (faster),
1611 # so one script is as good as another.  But avoid the broken or
1612 # incompatible versions:
1613 # SysV /etc/install, /usr/sbin/install
1614 # SunOS /usr/etc/install
1615 # IRIX /sbin/install
1616 # AIX /bin/install
1617 # AmigaOS /C/install, which installs bootblocks on floppy discs
1618 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1619 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1620 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1621 # OS/2's system install, which has a completely different semantic
1622 # ./install, which can be erroneously created by make from ./install.sh.
1623 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1624 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1625 if test -z "$INSTALL"; then
1626 if test "${ac_cv_path_install+set}" = set; then
1627   echo $ECHO_N "(cached) $ECHO_C" >&6
1628 else
1629   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1630 for as_dir in $PATH
1631 do
1632   IFS=$as_save_IFS
1633   test -z "$as_dir" && as_dir=.
1634   # Account for people who put trailing slashes in PATH elements.
1635 case $as_dir/ in
1636   ./ | .// | /cC/* | \
1637   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1638   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1639   /usr/ucb/* ) ;;
1640   *)
1641     # OSF1 and SCO ODT 3.0 have their own names for install.
1642     # Don't use installbsd from OSF since it installs stuff as root
1643     # by default.
1644     for ac_prog in ginstall scoinst install; do
1645       for ac_exec_ext in '' $ac_executable_extensions; do
1646         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1647           if test $ac_prog = install &&
1648             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1649             # AIX install.  It has an incompatible calling convention.
1650             :
1651           elif test $ac_prog = install &&
1652             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1653             # program-specific install script used by HP pwplus--don't use.
1654             :
1655           else
1656             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1657             break 3
1658           fi
1659         fi
1660       done
1661     done
1662     ;;
1663 esac
1664 done
1665
1666
1667 fi
1668   if test "${ac_cv_path_install+set}" = set; then
1669     INSTALL=$ac_cv_path_install
1670   else
1671     # As a last resort, use the slow shell script.  We don't cache a
1672     # path for INSTALL within a source directory, because that will
1673     # break other packages using the cache if that directory is
1674     # removed, or if the path is relative.
1675     INSTALL=$ac_install_sh
1676   fi
1677 fi
1678 echo "$as_me:$LINENO: result: $INSTALL" >&5
1679 echo "${ECHO_T}$INSTALL" >&6
1680
1681 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1682 # It thinks the first close brace ends the variable substitution.
1683 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1684
1685 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1686
1687 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1688
1689 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1690 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1691 # Just in case
1692 sleep 1
1693 echo timestamp > conftest.file
1694 # Do `set' in a subshell so we don't clobber the current shell's
1695 # arguments.  Must try -L first in case configure is actually a
1696 # symlink; some systems play weird games with the mod time of symlinks
1697 # (eg FreeBSD returns the mod time of the symlink's containing
1698 # directory).
1699 if (
1700    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1701    if test "$*" = "X"; then
1702       # -L didn't work.
1703       set X `ls -t $srcdir/configure conftest.file`
1704    fi
1705    rm -f conftest.file
1706    if test "$*" != "X $srcdir/configure conftest.file" \
1707       && test "$*" != "X conftest.file $srcdir/configure"; then
1708
1709       # If neither matched, then we have a broken ls.  This can happen
1710       # if, for instance, CONFIG_SHELL is bash and it inherits a
1711       # broken ls alias from the environment.  This has actually
1712       # happened.  Such a system could not be considered "sane".
1713       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1714 alias in your environment" >&5
1715 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1716 alias in your environment" >&2;}
1717    { (exit 1); exit 1; }; }
1718    fi
1719
1720    test "$2" = conftest.file
1721    )
1722 then
1723    # Ok.
1724    :
1725 else
1726    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1727 Check your system clock" >&5
1728 echo "$as_me: error: newly created file is older than distributed files!
1729 Check your system clock" >&2;}
1730    { (exit 1); exit 1; }; }
1731 fi
1732 echo "$as_me:$LINENO: result: yes" >&5
1733 echo "${ECHO_T}yes" >&6
1734 test "$program_prefix" != NONE &&
1735   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1736 # Use a double $ so make ignores it.
1737 test "$program_suffix" != NONE &&
1738   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1739 # Double any \ or $.  echo might interpret backslashes.
1740 # By default was `s,x,x', remove it if useless.
1741 cat <<\_ACEOF >conftest.sed
1742 s/[\\$]/&&/g;s/;s,x,x,$//
1743 _ACEOF
1744 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1745 rm conftest.sed
1746
1747 # expand $ac_aux_dir to an absolute path
1748 am_aux_dir=`cd $ac_aux_dir && pwd`
1749
1750 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1751 # Use eval to expand $SHELL
1752 if eval "$MISSING --run true"; then
1753   am_missing_run="$MISSING --run "
1754 else
1755   am_missing_run=
1756   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1757 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1758 fi
1759
1760 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1761   # We used to keeping the `.' as first argument, in order to
1762   # allow $(mkdir_p) to be used without argument.  As in
1763   #   $(mkdir_p) $(somedir)
1764   # where $(somedir) is conditionally defined.  However this is wrong
1765   # for two reasons:
1766   #  1. if the package is installed by a user who cannot write `.'
1767   #     make install will fail,
1768   #  2. the above comment should most certainly read
1769   #     $(mkdir_p) $(DESTDIR)$(somedir)
1770   #     so it does not work when $(somedir) is undefined and
1771   #     $(DESTDIR) is not.
1772   #  To support the latter case, we have to write
1773   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1774   #  so the `.' trick is pointless.
1775   mkdir_p='mkdir -p --'
1776 else
1777   # On NextStep and OpenStep, the `mkdir' command does not
1778   # recognize any option.  It will interpret all options as
1779   # directories to create, and then abort because `.' already
1780   # exists.
1781   for d in ./-p ./--version;
1782   do
1783     test -d $d && rmdir $d
1784   done
1785   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1786   if test -f "$ac_aux_dir/mkinstalldirs"; then
1787     mkdir_p='$(mkinstalldirs)'
1788   else
1789     mkdir_p='$(install_sh) -d'
1790   fi
1791 fi
1792
1793 for ac_prog in gawk mawk nawk awk
1794 do
1795   # Extract the first word of "$ac_prog", so it can be a program name with args.
1796 set dummy $ac_prog; ac_word=$2
1797 echo "$as_me:$LINENO: checking for $ac_word" >&5
1798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1799 if test "${ac_cv_prog_AWK+set}" = set; then
1800   echo $ECHO_N "(cached) $ECHO_C" >&6
1801 else
1802   if test -n "$AWK"; then
1803   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1804 else
1805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1806 for as_dir in $PATH
1807 do
1808   IFS=$as_save_IFS
1809   test -z "$as_dir" && as_dir=.
1810   for ac_exec_ext in '' $ac_executable_extensions; do
1811   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1812     ac_cv_prog_AWK="$ac_prog"
1813     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1814     break 2
1815   fi
1816 done
1817 done
1818
1819 fi
1820 fi
1821 AWK=$ac_cv_prog_AWK
1822 if test -n "$AWK"; then
1823   echo "$as_me:$LINENO: result: $AWK" >&5
1824 echo "${ECHO_T}$AWK" >&6
1825 else
1826   echo "$as_me:$LINENO: result: no" >&5
1827 echo "${ECHO_T}no" >&6
1828 fi
1829
1830   test -n "$AWK" && break
1831 done
1832
1833 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1834 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1835 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1836 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1837   echo $ECHO_N "(cached) $ECHO_C" >&6
1838 else
1839   cat >conftest.make <<\_ACEOF
1840 all:
1841         @echo 'ac_maketemp="$(MAKE)"'
1842 _ACEOF
1843 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1844 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1845 if test -n "$ac_maketemp"; then
1846   eval ac_cv_prog_make_${ac_make}_set=yes
1847 else
1848   eval ac_cv_prog_make_${ac_make}_set=no
1849 fi
1850 rm -f conftest.make
1851 fi
1852 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1853   echo "$as_me:$LINENO: result: yes" >&5
1854 echo "${ECHO_T}yes" >&6
1855   SET_MAKE=
1856 else
1857   echo "$as_me:$LINENO: result: no" >&5
1858 echo "${ECHO_T}no" >&6
1859   SET_MAKE="MAKE=${MAKE-make}"
1860 fi
1861
1862 rm -rf .tst 2>/dev/null
1863 mkdir .tst 2>/dev/null
1864 if test -d .tst; then
1865   am__leading_dot=.
1866 else
1867   am__leading_dot=_
1868 fi
1869 rmdir .tst 2>/dev/null
1870
1871 # test to see if srcdir already configured
1872 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1873    test -f $srcdir/config.status; then
1874   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1875 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1876    { (exit 1); exit 1; }; }
1877 fi
1878
1879 # test whether we have cygpath
1880 if test -z "$CYGPATH_W"; then
1881   if (cygpath --version) >/dev/null 2>/dev/null; then
1882     CYGPATH_W='cygpath -w'
1883   else
1884     CYGPATH_W=echo
1885   fi
1886 fi
1887
1888
1889 # Define the identity of the package.
1890  PACKAGE='classpath'
1891  VERSION='0.94-pre'
1892
1893
1894 cat >>confdefs.h <<_ACEOF
1895 #define PACKAGE "$PACKAGE"
1896 _ACEOF
1897
1898
1899 cat >>confdefs.h <<_ACEOF
1900 #define VERSION "$VERSION"
1901 _ACEOF
1902
1903 # Some tools Automake needs.
1904
1905 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1906
1907
1908 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1909
1910
1911 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1912
1913
1914 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1915
1916
1917 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1918
1919 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1920
1921 # Installed binaries are usually stripped using `strip' when the user
1922 # run `make install-strip'.  However `strip' might not be the right
1923 # tool to use in cross-compilation environments, therefore Automake
1924 # will honor the `STRIP' environment variable to overrule this program.
1925 if test "$cross_compiling" != no; then
1926   if test -n "$ac_tool_prefix"; then
1927   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1928 set dummy ${ac_tool_prefix}strip; ac_word=$2
1929 echo "$as_me:$LINENO: checking for $ac_word" >&5
1930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1931 if test "${ac_cv_prog_STRIP+set}" = set; then
1932   echo $ECHO_N "(cached) $ECHO_C" >&6
1933 else
1934   if test -n "$STRIP"; then
1935   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1936 else
1937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1938 for as_dir in $PATH
1939 do
1940   IFS=$as_save_IFS
1941   test -z "$as_dir" && as_dir=.
1942   for ac_exec_ext in '' $ac_executable_extensions; do
1943   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1944     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1945     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1946     break 2
1947   fi
1948 done
1949 done
1950
1951 fi
1952 fi
1953 STRIP=$ac_cv_prog_STRIP
1954 if test -n "$STRIP"; then
1955   echo "$as_me:$LINENO: result: $STRIP" >&5
1956 echo "${ECHO_T}$STRIP" >&6
1957 else
1958   echo "$as_me:$LINENO: result: no" >&5
1959 echo "${ECHO_T}no" >&6
1960 fi
1961
1962 fi
1963 if test -z "$ac_cv_prog_STRIP"; then
1964   ac_ct_STRIP=$STRIP
1965   # Extract the first word of "strip", so it can be a program name with args.
1966 set dummy strip; ac_word=$2
1967 echo "$as_me:$LINENO: checking for $ac_word" >&5
1968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1969 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1970   echo $ECHO_N "(cached) $ECHO_C" >&6
1971 else
1972   if test -n "$ac_ct_STRIP"; then
1973   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1974 else
1975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1976 for as_dir in $PATH
1977 do
1978   IFS=$as_save_IFS
1979   test -z "$as_dir" && as_dir=.
1980   for ac_exec_ext in '' $ac_executable_extensions; do
1981   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1982     ac_cv_prog_ac_ct_STRIP="strip"
1983     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1984     break 2
1985   fi
1986 done
1987 done
1988
1989   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1990 fi
1991 fi
1992 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1993 if test -n "$ac_ct_STRIP"; then
1994   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1995 echo "${ECHO_T}$ac_ct_STRIP" >&6
1996 else
1997   echo "$as_me:$LINENO: result: no" >&5
1998 echo "${ECHO_T}no" >&6
1999 fi
2000
2001   STRIP=$ac_ct_STRIP
2002 else
2003   STRIP="$ac_cv_prog_STRIP"
2004 fi
2005
2006 fi
2007 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2008
2009 # We need awk for the "check" target.  The system "awk" is bad on
2010 # some platforms.
2011 # Always define AMTAR for backward compatibility.
2012
2013 AMTAR=${AMTAR-"${am_missing_run}tar"}
2014
2015
2016 echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
2017 echo $ECHO_N "checking how to create a ustar tar archive... $ECHO_C" >&6
2018 # Loop over all known methods to create a tar archive until one works.
2019 _am_tools='gnutar plaintar pax cpio none'
2020 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2021 # Do not fold the above two line into one, because Tru64 sh and
2022 # Solaris sh will not grok spaces in the rhs of `-'.
2023 for _am_tool in $_am_tools
2024 do
2025   case $_am_tool in
2026   gnutar)
2027     for _am_tar in tar gnutar gtar;
2028     do
2029       { echo "$as_me:$LINENO: $_am_tar --version" >&5
2030    ($_am_tar --version) >&5 2>&5
2031    ac_status=$?
2032    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2033    (exit $ac_status); } && break
2034     done
2035     am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2036     am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2037     am__untar="$_am_tar -xf -"
2038     ;;
2039   plaintar)
2040     # Must skip GNU tar: if it does not support --format= it doesn't create
2041     # ustar tarball either.
2042     (tar --version) >/dev/null 2>&1 && continue
2043     am__tar='tar chf - "$$tardir"'
2044     am__tar_='tar chf - "$tardir"'
2045     am__untar='tar xf -'
2046     ;;
2047   pax)
2048     am__tar='pax -L -x ustar -w "$$tardir"'
2049     am__tar_='pax -L -x ustar -w "$tardir"'
2050     am__untar='pax -r'
2051     ;;
2052   cpio)
2053     am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2054     am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2055     am__untar='cpio -i -H ustar -d'
2056     ;;
2057   none)
2058     am__tar=false
2059     am__tar_=false
2060     am__untar=false
2061     ;;
2062   esac
2063
2064   # If the value was cached, stop now.  We just wanted to have am__tar
2065   # and am__untar set.
2066   test -n "${am_cv_prog_tar_ustar}" && break
2067
2068   # tar/untar a dummy directory, and stop if the command works
2069   rm -rf conftest.dir
2070   mkdir conftest.dir
2071   echo GrepMe > conftest.dir/file
2072   { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2073    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2074    ac_status=$?
2075    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2076    (exit $ac_status); }
2077   rm -rf conftest.dir
2078   if test -s conftest.tar; then
2079     { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2080    ($am__untar <conftest.tar) >&5 2>&5
2081    ac_status=$?
2082    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2083    (exit $ac_status); }
2084     grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2085   fi
2086 done
2087 rm -rf conftest.dir
2088
2089 if test "${am_cv_prog_tar_ustar+set}" = set; then
2090   echo $ECHO_N "(cached) $ECHO_C" >&6
2091 else
2092   am_cv_prog_tar_ustar=$_am_tool
2093 fi
2094
2095 echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
2096 echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6
2097
2098
2099
2100
2101
2102           ac_config_headers="$ac_config_headers include/config.h"
2103
2104
2105
2106
2107
2108 # Check whether --enable-collections or --disable-collections was given.
2109 if test "${enable_collections+set}" = set; then
2110   enableval="$enable_collections"
2111   case x"${enableval}" in
2112                 xyes) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"gnu/java/util/collections\"" ;;
2113                 xno) COMPILE_COLLECTIONS=no ;;
2114                 x) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"gnu/java/util/collections\"" ;;
2115                 *) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"${enableval}\"" ;;
2116               esac
2117 else
2118   COMPILE_COLLECTIONS=no
2119 fi;
2120
2121
2122 if test "x${COMPILE_COLLECTIONS}" = xyes; then
2123   CREATE_COLLECTIONS_TRUE=
2124   CREATE_COLLECTIONS_FALSE='#'
2125 else
2126   CREATE_COLLECTIONS_TRUE='#'
2127   CREATE_COLLECTIONS_FALSE=
2128 fi
2129
2130
2131 # Check whether --enable-jni or --disable-jni was given.
2132 if test "${enable_jni+set}" = set; then
2133   enableval="$enable_jni"
2134   case "${enableval}" in
2135                 yes) COMPILE_JNI=yes; COMPILE_JAVA=yes ;;
2136                 no) COMPILE_JNI=no ;;
2137                 *) COMPILE_JNI=yes; COMPILE_JAVA=yes ;;
2138               esac
2139 else
2140   COMPILE_JNI=yes
2141 fi;
2142
2143
2144 if test "x${COMPILE_JNI}" = xyes; then
2145   CREATE_JNI_LIBRARIES_TRUE=
2146   CREATE_JNI_LIBRARIES_FALSE='#'
2147 else
2148   CREATE_JNI_LIBRARIES_TRUE='#'
2149   CREATE_JNI_LIBRARIES_FALSE=
2150 fi
2151
2152
2153 # Check whether --enable-core-jni or --disable-core-jni was given.
2154 if test "${enable_core_jni+set}" = set; then
2155   enableval="$enable_core_jni"
2156   case "${enableval}" in
2157                 yes) COMPILE_CORE_JNI=yes; COMPILE_JAVA=yes ;;
2158                 no) COMPILE_CORE_JNI=no ;;
2159                 *) COMPILE_CORE_JNI=yes; COMPILE_JAVA=yes ;;
2160               esac
2161 else
2162   COMPILE_CORE_JNI=yes
2163 fi;
2164
2165
2166 if test "x${COMPILE_CORE_JNI}" = xyes; then
2167   CREATE_CORE_JNI_LIBRARIES_TRUE=
2168   CREATE_CORE_JNI_LIBRARIES_FALSE='#'
2169 else
2170   CREATE_CORE_JNI_LIBRARIES_TRUE='#'
2171   CREATE_CORE_JNI_LIBRARIES_FALSE=
2172 fi
2173
2174
2175 # Check whether --enable-default-preferences-peer or --disable-default-preferences-peer was given.
2176 if test "${enable_default_preferences_peer+set}" = set; then
2177   enableval="$enable_default_preferences_peer"
2178   case "${enableval}" in
2179                 file) DEFAULT_PREFS_PEER=gnu.java.util.prefs.FileBasedFactory  ;;
2180                 gconf|yes|true) DEFAULT_PREFS_PEER=gnu.java.util.prefs.GConfBasedFactory  ;;
2181                 memory) DEFAULT_PREFS_PEER=gnu.java.util.prefs.MemoryBasedFactory  ;;
2182                 no|false) { { echo "$as_me:$LINENO: error: bad value '${enableval}' for --enable-default-preferences-peer" >&5
2183 echo "$as_me: error: bad value '${enableval}' for --enable-default-preferences-peer" >&2;}
2184    { (exit 1); exit 1; }; } ;;
2185                 *) DEFAULT_PREFS_PEER=${enableval} ;;
2186               esac
2187 else
2188   DEFAULT_PREFS_PEER=gnu.java.util.prefs.GConfBasedFactory
2189 fi;
2190
2191 # Check whether --enable-gconf-peer or --disable-gconf-peer was given.
2192 if test "${enable_gconf_peer+set}" = set; then
2193   enableval="$enable_gconf_peer"
2194   case "${enableval}" in
2195                 yes) COMPILE_GCONF_PEER=yes ;;
2196                 no) COMPILE_GCONF_PEER=no ;;
2197                 *) COMPILE_GCONF_PEER=yes ;;
2198               esac
2199 else
2200   COMPILE_GCONF_PEER=yes
2201 fi;
2202
2203
2204 if test "x${COMPILE_GCONF_PEER}" = xyes; then
2205   CREATE_GCONF_PEER_LIBRARIES_TRUE=
2206   CREATE_GCONF_PEER_LIBRARIES_FALSE='#'
2207 else
2208   CREATE_GCONF_PEER_LIBRARIES_TRUE='#'
2209   CREATE_GCONF_PEER_LIBRARIES_FALSE=
2210 fi
2211
2212
2213 # Check whether --enable-gconf-peers or --disable-gconf-peers was given.
2214 if test "${enable_gconf_peers+set}" = set; then
2215   enableval="$enable_gconf_peers"
2216   { { echo "$as_me:$LINENO: error: No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" >&5
2217 echo "$as_me: error: No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" >&2;}
2218    { (exit 1); exit 1; }; }
2219 fi;
2220
2221 # Check whether --enable-Werror or --disable-Werror was given.
2222 if test "${enable_Werror+set}" = set; then
2223   enableval="$enable_Werror"
2224   case "${enableval}" in
2225                 yes) ENABLE_WERROR=yes ;;
2226                 no) ENABLE_WERROR=no ;;
2227                 *) ENABLE_WERROR=default ;;
2228               esac
2229 else
2230   ENABLE_WERROR=default
2231 fi;
2232
2233 # Check whether --enable-default-toolkit or --disable-default-toolkit was given.
2234 if test "${enable_default_toolkit+set}" = set; then
2235   enableval="$enable_default_toolkit"
2236
2237 fi;
2238 default_toolkit=$enable_default_toolkit
2239 if test "$default_toolkit" = ""; then
2240    default_toolkit=gnu.java.awt.peer.gtk.GtkToolkit
2241 fi
2242
2243
2244 # Check whether --enable-xmlj or --disable-xmlj was given.
2245 if test "${enable_xmlj+set}" = set; then
2246   enableval="$enable_xmlj"
2247   case "${enableval}" in
2248                 yes) COMPILE_XMLJ=yes ;;
2249                 no) COMPILE_XMLJ=no ;;
2250                 *) COMPILE_XMLJ=no ;;
2251               esac
2252 else
2253   COMPILE_XMLJ=no
2254 fi;
2255
2256
2257 if test "x${COMPILE_XMLJ}" = xyes; then
2258   CREATE_XMLJ_LIBRARY_TRUE=
2259   CREATE_XMLJ_LIBRARY_FALSE='#'
2260 else
2261   CREATE_XMLJ_LIBRARY_TRUE='#'
2262   CREATE_XMLJ_LIBRARY_FALSE=
2263 fi
2264
2265
2266 DEPDIR="${am__leading_dot}deps"
2267
2268           ac_config_commands="$ac_config_commands depfiles"
2269
2270
2271 am_make=${MAKE-make}
2272 cat > confinc << 'END'
2273 am__doit:
2274         @echo done
2275 .PHONY: am__doit
2276 END
2277 # If we don't find an include directive, just comment out the code.
2278 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2279 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2280 am__include="#"
2281 am__quote=
2282 _am_result=none
2283 # First try GNU make style include.
2284 echo "include confinc" > confmf
2285 # We grep out `Entering directory' and `Leaving directory'
2286 # messages which can occur if `w' ends up in MAKEFLAGS.
2287 # In particular we don't look at `^make:' because GNU make might
2288 # be invoked under some other name (usually "gmake"), in which
2289 # case it prints its new name instead of `make'.
2290 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2291    am__include=include
2292    am__quote=
2293    _am_result=GNU
2294 fi
2295 # Now try BSD make style include.
2296 if test "$am__include" = "#"; then
2297    echo '.include "confinc"' > confmf
2298    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2299       am__include=.include
2300       am__quote="\""
2301       _am_result=BSD
2302    fi
2303 fi
2304
2305
2306 echo "$as_me:$LINENO: result: $_am_result" >&5
2307 echo "${ECHO_T}$_am_result" >&6
2308 rm -f confinc confmf
2309
2310 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2311 if test "${enable_dependency_tracking+set}" = set; then
2312   enableval="$enable_dependency_tracking"
2313
2314 fi;
2315 if test "x$enable_dependency_tracking" != xno; then
2316   am_depcomp="$ac_aux_dir/depcomp"
2317   AMDEPBACKSLASH='\'
2318 fi
2319
2320
2321 if test "x$enable_dependency_tracking" != xno; then
2322   AMDEP_TRUE=
2323   AMDEP_FALSE='#'
2324 else
2325   AMDEP_TRUE='#'
2326   AMDEP_FALSE=
2327 fi
2328
2329
2330
2331 ac_ext=c
2332 ac_cpp='$CPP $CPPFLAGS'
2333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2336 if test -n "$ac_tool_prefix"; then
2337   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2338 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2339 echo "$as_me:$LINENO: checking for $ac_word" >&5
2340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2341 if test "${ac_cv_prog_CC+set}" = set; then
2342   echo $ECHO_N "(cached) $ECHO_C" >&6
2343 else
2344   if test -n "$CC"; then
2345   ac_cv_prog_CC="$CC" # Let the user override the test.
2346 else
2347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2348 for as_dir in $PATH
2349 do
2350   IFS=$as_save_IFS
2351   test -z "$as_dir" && as_dir=.
2352   for ac_exec_ext in '' $ac_executable_extensions; do
2353   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2354     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2355     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2356     break 2
2357   fi
2358 done
2359 done
2360
2361 fi
2362 fi
2363 CC=$ac_cv_prog_CC
2364 if test -n "$CC"; then
2365   echo "$as_me:$LINENO: result: $CC" >&5
2366 echo "${ECHO_T}$CC" >&6
2367 else
2368   echo "$as_me:$LINENO: result: no" >&5
2369 echo "${ECHO_T}no" >&6
2370 fi
2371
2372 fi
2373 if test -z "$ac_cv_prog_CC"; then
2374   ac_ct_CC=$CC
2375   # Extract the first word of "gcc", so it can be a program name with args.
2376 set dummy gcc; ac_word=$2
2377 echo "$as_me:$LINENO: checking for $ac_word" >&5
2378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2379 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2380   echo $ECHO_N "(cached) $ECHO_C" >&6
2381 else
2382   if test -n "$ac_ct_CC"; then
2383   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2384 else
2385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2386 for as_dir in $PATH
2387 do
2388   IFS=$as_save_IFS
2389   test -z "$as_dir" && as_dir=.
2390   for ac_exec_ext in '' $ac_executable_extensions; do
2391   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2392     ac_cv_prog_ac_ct_CC="gcc"
2393     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2394     break 2
2395   fi
2396 done
2397 done
2398
2399 fi
2400 fi
2401 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2402 if test -n "$ac_ct_CC"; then
2403   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2404 echo "${ECHO_T}$ac_ct_CC" >&6
2405 else
2406   echo "$as_me:$LINENO: result: no" >&5
2407 echo "${ECHO_T}no" >&6
2408 fi
2409
2410   CC=$ac_ct_CC
2411 else
2412   CC="$ac_cv_prog_CC"
2413 fi
2414
2415 if test -z "$CC"; then
2416   if test -n "$ac_tool_prefix"; then
2417   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2418 set dummy ${ac_tool_prefix}cc; ac_word=$2
2419 echo "$as_me:$LINENO: checking for $ac_word" >&5
2420 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2421 if test "${ac_cv_prog_CC+set}" = set; then
2422   echo $ECHO_N "(cached) $ECHO_C" >&6
2423 else
2424   if test -n "$CC"; then
2425   ac_cv_prog_CC="$CC" # Let the user override the test.
2426 else
2427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2428 for as_dir in $PATH
2429 do
2430   IFS=$as_save_IFS
2431   test -z "$as_dir" && as_dir=.
2432   for ac_exec_ext in '' $ac_executable_extensions; do
2433   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2434     ac_cv_prog_CC="${ac_tool_prefix}cc"
2435     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2436     break 2
2437   fi
2438 done
2439 done
2440
2441 fi
2442 fi
2443 CC=$ac_cv_prog_CC
2444 if test -n "$CC"; then
2445   echo "$as_me:$LINENO: result: $CC" >&5
2446 echo "${ECHO_T}$CC" >&6
2447 else
2448   echo "$as_me:$LINENO: result: no" >&5
2449 echo "${ECHO_T}no" >&6
2450 fi
2451
2452 fi
2453 if test -z "$ac_cv_prog_CC"; then
2454   ac_ct_CC=$CC
2455   # Extract the first word of "cc", so it can be a program name with args.
2456 set dummy cc; ac_word=$2
2457 echo "$as_me:$LINENO: checking for $ac_word" >&5
2458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2459 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2460   echo $ECHO_N "(cached) $ECHO_C" >&6
2461 else
2462   if test -n "$ac_ct_CC"; then
2463   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2464 else
2465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2466 for as_dir in $PATH
2467 do
2468   IFS=$as_save_IFS
2469   test -z "$as_dir" && as_dir=.
2470   for ac_exec_ext in '' $ac_executable_extensions; do
2471   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2472     ac_cv_prog_ac_ct_CC="cc"
2473     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2474     break 2
2475   fi
2476 done
2477 done
2478
2479 fi
2480 fi
2481 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2482 if test -n "$ac_ct_CC"; then
2483   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2484 echo "${ECHO_T}$ac_ct_CC" >&6
2485 else
2486   echo "$as_me:$LINENO: result: no" >&5
2487 echo "${ECHO_T}no" >&6
2488 fi
2489
2490   CC=$ac_ct_CC
2491 else
2492   CC="$ac_cv_prog_CC"
2493 fi
2494
2495 fi
2496 if test -z "$CC"; then
2497   # Extract the first word of "cc", so it can be a program name with args.
2498 set dummy cc; ac_word=$2
2499 echo "$as_me:$LINENO: checking for $ac_word" >&5
2500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2501 if test "${ac_cv_prog_CC+set}" = set; then
2502   echo $ECHO_N "(cached) $ECHO_C" >&6
2503 else
2504   if test -n "$CC"; then
2505   ac_cv_prog_CC="$CC" # Let the user override the test.
2506 else
2507   ac_prog_rejected=no
2508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2509 for as_dir in $PATH
2510 do
2511   IFS=$as_save_IFS
2512   test -z "$as_dir" && as_dir=.
2513   for ac_exec_ext in '' $ac_executable_extensions; do
2514   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2515     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2516        ac_prog_rejected=yes
2517        continue
2518      fi
2519     ac_cv_prog_CC="cc"
2520     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2521     break 2
2522   fi
2523 done
2524 done
2525
2526 if test $ac_prog_rejected = yes; then
2527   # We found a bogon in the path, so make sure we never use it.
2528   set dummy $ac_cv_prog_CC
2529   shift
2530   if test $# != 0; then
2531     # We chose a different compiler from the bogus one.
2532     # However, it has the same basename, so the bogon will be chosen
2533     # first if we set CC to just the basename; use the full file name.
2534     shift
2535     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2536   fi
2537 fi
2538 fi
2539 fi
2540 CC=$ac_cv_prog_CC
2541 if test -n "$CC"; then
2542   echo "$as_me:$LINENO: result: $CC" >&5
2543 echo "${ECHO_T}$CC" >&6
2544 else
2545   echo "$as_me:$LINENO: result: no" >&5
2546 echo "${ECHO_T}no" >&6
2547 fi
2548
2549 fi
2550 if test -z "$CC"; then
2551   if test -n "$ac_tool_prefix"; then
2552   for ac_prog in cl
2553   do
2554     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2555 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2556 echo "$as_me:$LINENO: checking for $ac_word" >&5
2557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2558 if test "${ac_cv_prog_CC+set}" = set; then
2559   echo $ECHO_N "(cached) $ECHO_C" >&6
2560 else
2561   if test -n "$CC"; then
2562   ac_cv_prog_CC="$CC" # Let the user override the test.
2563 else
2564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2565 for as_dir in $PATH
2566 do
2567   IFS=$as_save_IFS
2568   test -z "$as_dir" && as_dir=.
2569   for ac_exec_ext in '' $ac_executable_extensions; do
2570   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2571     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2572     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2573     break 2
2574   fi
2575 done
2576 done
2577
2578 fi
2579 fi
2580 CC=$ac_cv_prog_CC
2581 if test -n "$CC"; then
2582   echo "$as_me:$LINENO: result: $CC" >&5
2583 echo "${ECHO_T}$CC" >&6
2584 else
2585   echo "$as_me:$LINENO: result: no" >&5
2586 echo "${ECHO_T}no" >&6
2587 fi
2588
2589     test -n "$CC" && break
2590   done
2591 fi
2592 if test -z "$CC"; then
2593   ac_ct_CC=$CC
2594   for ac_prog in cl
2595 do
2596   # Extract the first word of "$ac_prog", so it can be a program name with args.
2597 set dummy $ac_prog; ac_word=$2
2598 echo "$as_me:$LINENO: checking for $ac_word" >&5
2599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2600 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2601   echo $ECHO_N "(cached) $ECHO_C" >&6
2602 else
2603   if test -n "$ac_ct_CC"; then
2604   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2605 else
2606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2607 for as_dir in $PATH
2608 do
2609   IFS=$as_save_IFS
2610   test -z "$as_dir" && as_dir=.
2611   for ac_exec_ext in '' $ac_executable_extensions; do
2612   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2613     ac_cv_prog_ac_ct_CC="$ac_prog"
2614     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2615     break 2
2616   fi
2617 done
2618 done
2619
2620 fi
2621 fi
2622 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2623 if test -n "$ac_ct_CC"; then
2624   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2625 echo "${ECHO_T}$ac_ct_CC" >&6
2626 else
2627   echo "$as_me:$LINENO: result: no" >&5
2628 echo "${ECHO_T}no" >&6
2629 fi
2630
2631   test -n "$ac_ct_CC" && break
2632 done
2633
2634   CC=$ac_ct_CC
2635 fi
2636
2637 fi
2638
2639
2640 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2641 See \`config.log' for more details." >&5
2642 echo "$as_me: error: no acceptable C compiler found in \$PATH
2643 See \`config.log' for more details." >&2;}
2644    { (exit 1); exit 1; }; }
2645
2646 # Provide some information about the compiler.
2647 echo "$as_me:$LINENO:" \
2648      "checking for C compiler version" >&5
2649 ac_compiler=`set X $ac_compile; echo $2`
2650 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2651   (eval $ac_compiler --version </dev/null >&5) 2>&5
2652   ac_status=$?
2653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2654   (exit $ac_status); }
2655 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2656   (eval $ac_compiler -v </dev/null >&5) 2>&5
2657   ac_status=$?
2658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2659   (exit $ac_status); }
2660 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2661   (eval $ac_compiler -V </dev/null >&5) 2>&5
2662   ac_status=$?
2663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664   (exit $ac_status); }
2665
2666 cat >conftest.$ac_ext <<_ACEOF
2667 /* confdefs.h.  */
2668 _ACEOF
2669 cat confdefs.h >>conftest.$ac_ext
2670 cat >>conftest.$ac_ext <<_ACEOF
2671 /* end confdefs.h.  */
2672
2673 int
2674 main ()
2675 {
2676
2677   ;
2678   return 0;
2679 }
2680 _ACEOF
2681 # FIXME: Cleanup?
2682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2683   (eval $ac_link) 2>&5
2684   ac_status=$?
2685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2686   (exit $ac_status); }; then
2687   gcc_no_link=no
2688 else
2689   gcc_no_link=yes
2690 fi
2691
2692 if test x$gcc_no_link = xyes; then
2693   # Setting cross_compile will disable run tests; it will
2694   # also disable AC_CHECK_FILE but that's generally
2695   # correct if we can't link.
2696   cross_compiling=yes
2697   EXEEXT=
2698 else
2699   cat >conftest.$ac_ext <<_ACEOF
2700 /* confdefs.h.  */
2701 _ACEOF
2702 cat confdefs.h >>conftest.$ac_ext
2703 cat >>conftest.$ac_ext <<_ACEOF
2704 /* end confdefs.h.  */
2705
2706 int
2707 main ()
2708 {
2709
2710   ;
2711   return 0;
2712 }
2713 _ACEOF
2714 ac_clean_files_save=$ac_clean_files
2715 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2716 # Try to create an executable without -o first, disregard a.out.
2717 # It will help us diagnose broken compilers, and finding out an intuition
2718 # of exeext.
2719 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2720 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2721 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2722 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2723   (eval $ac_link_default) 2>&5
2724   ac_status=$?
2725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2726   (exit $ac_status); }; then
2727   # Find the output, starting from the most likely.  This scheme is
2728 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2729 # resort.
2730
2731 # Be careful to initialize this variable, since it used to be cached.
2732 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2733 ac_cv_exeext=
2734 # b.out is created by i960 compilers.
2735 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2736 do
2737   test -f "$ac_file" || continue
2738   case $ac_file in
2739     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2740         ;;
2741     conftest.$ac_ext )
2742         # This is the source file.
2743         ;;
2744     [ab].out )
2745         # We found the default executable, but exeext='' is most
2746         # certainly right.
2747         break;;
2748     *.* )
2749         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2750         # FIXME: I believe we export ac_cv_exeext for Libtool,
2751         # but it would be cool to find out if it's true.  Does anybody
2752         # maintain Libtool? --akim.
2753         export ac_cv_exeext
2754         break;;
2755     * )
2756         break;;
2757   esac
2758 done
2759 else
2760   echo "$as_me: failed program was:" >&5
2761 sed 's/^/| /' conftest.$ac_ext >&5
2762
2763 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2764 See \`config.log' for more details." >&5
2765 echo "$as_me: error: C compiler cannot create executables
2766 See \`config.log' for more details." >&2;}
2767    { (exit 77); exit 77; }; }
2768 fi
2769
2770 ac_exeext=$ac_cv_exeext
2771 echo "$as_me:$LINENO: result: $ac_file" >&5
2772 echo "${ECHO_T}$ac_file" >&6
2773
2774 # Check the compiler produces executables we can run.  If not, either
2775 # the compiler is broken, or we cross compile.
2776 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2777 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2778 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2779 # If not cross compiling, check that we can run a simple program.
2780 if test "$cross_compiling" != yes; then
2781   if { ac_try='./$ac_file'
2782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2783   (eval $ac_try) 2>&5
2784   ac_status=$?
2785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786   (exit $ac_status); }; }; then
2787     cross_compiling=no
2788   else
2789     if test "$cross_compiling" = maybe; then
2790         cross_compiling=yes
2791     else
2792         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2793 If you meant to cross compile, use \`--host'.
2794 See \`config.log' for more details." >&5
2795 echo "$as_me: error: cannot run C compiled programs.
2796 If you meant to cross compile, use \`--host'.
2797 See \`config.log' for more details." >&2;}
2798    { (exit 1); exit 1; }; }
2799     fi
2800   fi
2801 fi
2802 echo "$as_me:$LINENO: result: yes" >&5
2803 echo "${ECHO_T}yes" >&6
2804
2805 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2806 ac_clean_files=$ac_clean_files_save
2807 # Check the compiler produces executables we can run.  If not, either
2808 # the compiler is broken, or we cross compile.
2809 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2810 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2811 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2812 echo "${ECHO_T}$cross_compiling" >&6
2813
2814 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2815 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2817   (eval $ac_link) 2>&5
2818   ac_status=$?
2819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2820   (exit $ac_status); }; then
2821   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2822 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2823 # work properly (i.e., refer to `conftest.exe'), while it won't with
2824 # `rm'.
2825 for ac_file in conftest.exe conftest conftest.*; do
2826   test -f "$ac_file" || continue
2827   case $ac_file in
2828     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2829     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2830           export ac_cv_exeext
2831           break;;
2832     * ) break;;
2833   esac
2834 done
2835 else
2836   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2837 See \`config.log' for more details." >&5
2838 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2839 See \`config.log' for more details." >&2;}
2840    { (exit 1); exit 1; }; }
2841 fi
2842
2843 rm -f conftest$ac_cv_exeext
2844 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2845 echo "${ECHO_T}$ac_cv_exeext" >&6
2846
2847 rm -f conftest.$ac_ext
2848 EXEEXT=$ac_cv_exeext
2849 ac_exeext=$EXEEXT
2850 fi
2851 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2852 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2853 if test "${ac_cv_objext+set}" = set; then
2854   echo $ECHO_N "(cached) $ECHO_C" >&6
2855 else
2856   cat >conftest.$ac_ext <<_ACEOF
2857 /* confdefs.h.  */
2858 _ACEOF
2859 cat confdefs.h >>conftest.$ac_ext
2860 cat >>conftest.$ac_ext <<_ACEOF
2861 /* end confdefs.h.  */
2862
2863 int
2864 main ()
2865 {
2866
2867   ;
2868   return 0;
2869 }
2870 _ACEOF
2871 rm -f conftest.o conftest.obj
2872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2873   (eval $ac_compile) 2>&5
2874   ac_status=$?
2875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2876   (exit $ac_status); }; then
2877   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2878   case $ac_file in
2879     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2880     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2881        break;;
2882   esac
2883 done
2884 else
2885   echo "$as_me: failed program was:" >&5
2886 sed 's/^/| /' conftest.$ac_ext >&5
2887
2888 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2889 See \`config.log' for more details." >&5
2890 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2891 See \`config.log' for more details." >&2;}
2892    { (exit 1); exit 1; }; }
2893 fi
2894
2895 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2896 fi
2897 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2898 echo "${ECHO_T}$ac_cv_objext" >&6
2899 OBJEXT=$ac_cv_objext
2900 ac_objext=$OBJEXT
2901 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2902 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2903 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2904   echo $ECHO_N "(cached) $ECHO_C" >&6
2905 else
2906   cat >conftest.$ac_ext <<_ACEOF
2907 /* confdefs.h.  */
2908 _ACEOF
2909 cat confdefs.h >>conftest.$ac_ext
2910 cat >>conftest.$ac_ext <<_ACEOF
2911 /* end confdefs.h.  */
2912
2913 int
2914 main ()
2915 {
2916 #ifndef __GNUC__
2917        choke me
2918 #endif
2919
2920   ;
2921   return 0;
2922 }
2923 _ACEOF
2924 rm -f conftest.$ac_objext
2925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2926   (eval $ac_compile) 2>conftest.er1
2927   ac_status=$?
2928   grep -v '^ *+' conftest.er1 >conftest.err
2929   rm -f conftest.er1
2930   cat conftest.err >&5
2931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2932   (exit $ac_status); } &&
2933          { ac_try='test -z "$ac_c_werror_flag"
2934                          || test ! -s conftest.err'
2935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2936   (eval $ac_try) 2>&5
2937   ac_status=$?
2938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939   (exit $ac_status); }; } &&
2940          { ac_try='test -s conftest.$ac_objext'
2941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2942   (eval $ac_try) 2>&5
2943   ac_status=$?
2944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2945   (exit $ac_status); }; }; then
2946   ac_compiler_gnu=yes
2947 else
2948   echo "$as_me: failed program was:" >&5
2949 sed 's/^/| /' conftest.$ac_ext >&5
2950
2951 ac_compiler_gnu=no
2952 fi
2953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2954 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2955
2956 fi
2957 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2958 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2959 GCC=`test $ac_compiler_gnu = yes && echo yes`
2960 ac_test_CFLAGS=${CFLAGS+set}
2961 ac_save_CFLAGS=$CFLAGS
2962 CFLAGS="-g"
2963 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2964 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2965 if test "${ac_cv_prog_cc_g+set}" = set; then
2966   echo $ECHO_N "(cached) $ECHO_C" >&6
2967 else
2968   cat >conftest.$ac_ext <<_ACEOF
2969 /* confdefs.h.  */
2970 _ACEOF
2971 cat confdefs.h >>conftest.$ac_ext
2972 cat >>conftest.$ac_ext <<_ACEOF
2973 /* end confdefs.h.  */
2974
2975 int
2976 main ()
2977 {
2978
2979   ;
2980   return 0;
2981 }
2982 _ACEOF
2983 rm -f conftest.$ac_objext
2984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2985   (eval $ac_compile) 2>conftest.er1
2986   ac_status=$?
2987   grep -v '^ *+' conftest.er1 >conftest.err
2988   rm -f conftest.er1
2989   cat conftest.err >&5
2990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2991   (exit $ac_status); } &&
2992          { ac_try='test -z "$ac_c_werror_flag"
2993                          || test ! -s conftest.err'
2994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2995   (eval $ac_try) 2>&5
2996   ac_status=$?
2997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2998   (exit $ac_status); }; } &&
2999          { ac_try='test -s conftest.$ac_objext'
3000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3001   (eval $ac_try) 2>&5
3002   ac_status=$?
3003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3004   (exit $ac_status); }; }; then
3005   ac_cv_prog_cc_g=yes
3006 else
3007   echo "$as_me: failed program was:" >&5
3008 sed 's/^/| /' conftest.$ac_ext >&5
3009
3010 ac_cv_prog_cc_g=no
3011 fi
3012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3013 fi
3014 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3015 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3016 if test "$ac_test_CFLAGS" = set; then
3017   CFLAGS=$ac_save_CFLAGS
3018 elif test $ac_cv_prog_cc_g = yes; then
3019   if test "$GCC" = yes; then
3020     CFLAGS="-g -O2"
3021   else
3022     CFLAGS="-g"
3023   fi
3024 else
3025   if test "$GCC" = yes; then
3026     CFLAGS="-O2"
3027   else
3028     CFLAGS=
3029   fi
3030 fi
3031 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3032 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3033 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3034   echo $ECHO_N "(cached) $ECHO_C" >&6
3035 else
3036   ac_cv_prog_cc_stdc=no
3037 ac_save_CC=$CC
3038 cat >conftest.$ac_ext <<_ACEOF
3039 /* confdefs.h.  */
3040 _ACEOF
3041 cat confdefs.h >>conftest.$ac_ext
3042 cat >>conftest.$ac_ext <<_ACEOF
3043 /* end confdefs.h.  */
3044 #include <stdarg.h>
3045 #include <stdio.h>
3046 #include <sys/types.h>
3047 #include <sys/stat.h>
3048 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3049 struct buf { int x; };
3050 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3051 static char *e (p, i)
3052      char **p;
3053      int i;
3054 {
3055   return p[i];
3056 }
3057 static char *f (char * (*g) (char **, int), char **p, ...)
3058 {
3059   char *s;
3060   va_list v;
3061   va_start (v,p);
3062   s = g (p, va_arg (v,int));
3063   va_end (v);
3064   return s;
3065 }
3066
3067 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3068    function prototypes and stuff, but not '\xHH' hex character constants.
3069    These don't provoke an error unfortunately, instead are silently treated
3070    as 'x'.  The following induces an error, until -std1 is added to get
3071    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3072    array size at least.  It's necessary to write '\x00'==0 to get something
3073    that's true only with -std1.  */
3074 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3075
3076 int test (int i, double x);
3077 struct s1 {int (*f) (int a);};
3078 struct s2 {int (*f) (double a);};
3079 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3080 int argc;
3081 char **argv;
3082 int
3083 main ()
3084 {
3085 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3086   ;
3087   return 0;
3088 }
3089 _ACEOF
3090 # Don't try gcc -ansi; that turns off useful extensions and
3091 # breaks some systems' header files.
3092 # AIX                   -qlanglvl=ansi
3093 # Ultrix and OSF/1      -std1
3094 # HP-UX 10.20 and later -Ae
3095 # HP-UX older versions  -Aa -D_HPUX_SOURCE
3096 # SVR4                  -Xc -D__EXTENSIONS__
3097 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3098 do
3099   CC="$ac_save_CC $ac_arg"
3100   rm -f conftest.$ac_objext
3101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3102   (eval $ac_compile) 2>conftest.er1
3103   ac_status=$?
3104   grep -v '^ *+' conftest.er1 >conftest.err
3105   rm -f conftest.er1
3106   cat conftest.err >&5
3107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3108   (exit $ac_status); } &&
3109          { ac_try='test -z "$ac_c_werror_flag"
3110                          || test ! -s conftest.err'
3111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3112   (eval $ac_try) 2>&5
3113   ac_status=$?
3114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3115   (exit $ac_status); }; } &&
3116          { ac_try='test -s conftest.$ac_objext'
3117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3118   (eval $ac_try) 2>&5
3119   ac_status=$?
3120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3121   (exit $ac_status); }; }; then
3122   ac_cv_prog_cc_stdc=$ac_arg
3123 break
3124 else
3125   echo "$as_me: failed program was:" >&5
3126 sed 's/^/| /' conftest.$ac_ext >&5
3127
3128 fi
3129 rm -f conftest.err conftest.$ac_objext
3130 done
3131 rm -f conftest.$ac_ext conftest.$ac_objext
3132 CC=$ac_save_CC
3133
3134 fi
3135
3136 case "x$ac_cv_prog_cc_stdc" in
3137   x|xno)
3138     echo "$as_me:$LINENO: result: none needed" >&5
3139 echo "${ECHO_T}none needed" >&6 ;;
3140   *)
3141     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3142 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3143     CC="$CC $ac_cv_prog_cc_stdc" ;;
3144 esac
3145
3146 # Some people use a C++ compiler to compile C.  Since we use `exit',
3147 # in C++ we need to declare it.  In case someone uses the same compiler
3148 # for both compiling C and C++ we need to have the C++ compiler decide
3149 # the declaration of exit, since it's the most demanding environment.
3150 cat >conftest.$ac_ext <<_ACEOF
3151 #ifndef __cplusplus
3152   choke me
3153 #endif
3154 _ACEOF
3155 rm -f conftest.$ac_objext
3156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3157   (eval $ac_compile) 2>conftest.er1
3158   ac_status=$?
3159   grep -v '^ *+' conftest.er1 >conftest.err
3160   rm -f conftest.er1
3161   cat conftest.err >&5
3162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163   (exit $ac_status); } &&
3164          { ac_try='test -z "$ac_c_werror_flag"
3165                          || test ! -s conftest.err'
3166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3167   (eval $ac_try) 2>&5
3168   ac_status=$?
3169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170   (exit $ac_status); }; } &&
3171          { ac_try='test -s conftest.$ac_objext'
3172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3173   (eval $ac_try) 2>&5
3174   ac_status=$?
3175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3176   (exit $ac_status); }; }; then
3177   for ac_declaration in \
3178    '' \
3179    'extern "C" void std::exit (int) throw (); using std::exit;' \
3180    'extern "C" void std::exit (int); using std::exit;' \
3181    'extern "C" void exit (int) throw ();' \
3182    'extern "C" void exit (int);' \
3183    'void exit (int);'
3184 do
3185   cat >conftest.$ac_ext <<_ACEOF
3186 /* confdefs.h.  */
3187 _ACEOF
3188 cat confdefs.h >>conftest.$ac_ext
3189 cat >>conftest.$ac_ext <<_ACEOF
3190 /* end confdefs.h.  */
3191 $ac_declaration
3192 #include <stdlib.h>
3193 int
3194 main ()
3195 {
3196 exit (42);
3197   ;
3198   return 0;
3199 }
3200 _ACEOF
3201 rm -f conftest.$ac_objext
3202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3203   (eval $ac_compile) 2>conftest.er1
3204   ac_status=$?
3205   grep -v '^ *+' conftest.er1 >conftest.err
3206   rm -f conftest.er1
3207   cat conftest.err >&5
3208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3209   (exit $ac_status); } &&
3210          { ac_try='test -z "$ac_c_werror_flag"
3211                          || test ! -s conftest.err'
3212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3213   (eval $ac_try) 2>&5
3214   ac_status=$?
3215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3216   (exit $ac_status); }; } &&
3217          { ac_try='test -s conftest.$ac_objext'
3218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3219   (eval $ac_try) 2>&5
3220   ac_status=$?
3221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3222   (exit $ac_status); }; }; then
3223   :
3224 else
3225   echo "$as_me: failed program was:" >&5
3226 sed 's/^/| /' conftest.$ac_ext >&5
3227
3228 continue
3229 fi
3230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3231   cat >conftest.$ac_ext <<_ACEOF
3232 /* confdefs.h.  */
3233 _ACEOF
3234 cat confdefs.h >>conftest.$ac_ext
3235 cat >>conftest.$ac_ext <<_ACEOF
3236 /* end confdefs.h.  */
3237 $ac_declaration
3238 int
3239 main ()
3240 {
3241 exit (42);
3242   ;
3243   return 0;
3244 }
3245 _ACEOF
3246 rm -f conftest.$ac_objext
3247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3248   (eval $ac_compile) 2>conftest.er1
3249   ac_status=$?
3250   grep -v '^ *+' conftest.er1 >conftest.err
3251   rm -f conftest.er1
3252   cat conftest.err >&5
3253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3254   (exit $ac_status); } &&
3255          { ac_try='test -z "$ac_c_werror_flag"
3256                          || test ! -s conftest.err'
3257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3258   (eval $ac_try) 2>&5
3259   ac_status=$?
3260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3261   (exit $ac_status); }; } &&
3262          { ac_try='test -s conftest.$ac_objext'
3263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3264   (eval $ac_try) 2>&5
3265   ac_status=$?
3266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3267   (exit $ac_status); }; }; then
3268   break
3269 else
3270   echo "$as_me: failed program was:" >&5
3271 sed 's/^/| /' conftest.$ac_ext >&5
3272
3273 fi
3274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3275 done
3276 rm -f conftest*
3277 if test -n "$ac_declaration"; then
3278   echo '#ifdef __cplusplus' >>confdefs.h
3279   echo $ac_declaration      >>confdefs.h
3280   echo '#endif'             >>confdefs.h
3281 fi
3282
3283 else
3284   echo "$as_me: failed program was:" >&5
3285 sed 's/^/| /' conftest.$ac_ext >&5
3286
3287 fi
3288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3289 ac_ext=c
3290 ac_cpp='$CPP $CPPFLAGS'
3291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3294
3295 depcc="$CC"   am_compiler_list=
3296
3297 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3298 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3299 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3300   echo $ECHO_N "(cached) $ECHO_C" >&6
3301 else
3302   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3303   # We make a subdir and do the tests there.  Otherwise we can end up
3304   # making bogus files that we don't know about and never remove.  For
3305   # instance it was reported that on HP-UX the gcc test will end up
3306   # making a dummy file named `D' -- because `-MD' means `put the output
3307   # in D'.
3308   mkdir conftest.dir
3309   # Copy depcomp to subdir because otherwise we won't find it if we're
3310   # using a relative directory.
3311   cp "$am_depcomp" conftest.dir
3312   cd conftest.dir
3313   # We will build objects and dependencies in a subdirectory because
3314   # it helps to detect inapplicable dependency modes.  For instance
3315   # both Tru64's cc and ICC support -MD to output dependencies as a
3316   # side effect of compilation, but ICC will put the dependencies in
3317   # the current directory while Tru64 will put them in the object
3318   # directory.
3319   mkdir sub
3320
3321   am_cv_CC_dependencies_compiler_type=none
3322   if test "$am_compiler_list" = ""; then
3323      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3324   fi
3325   for depmode in $am_compiler_list; do
3326     # Setup a source with many dependencies, because some compilers
3327     # like to wrap large dependency lists on column 80 (with \), and
3328     # we should not choose a depcomp mode which is confused by this.
3329     #
3330     # We need to recreate these files for each test, as the compiler may
3331     # overwrite some of them when testing with obscure command lines.
3332     # This happens at least with the AIX C compiler.
3333     : > sub/conftest.c
3334     for i in 1 2 3 4 5 6; do
3335       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3336       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3337       # Solaris 8's {/usr,}/bin/sh.
3338       touch sub/conftst$i.h
3339     done
3340     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3341
3342     case $depmode in
3343     nosideeffect)
3344       # after this tag, mechanisms are not by side-effect, so they'll
3345       # only be used when explicitly requested
3346       if test "x$enable_dependency_tracking" = xyes; then
3347         continue
3348       else
3349         break
3350       fi
3351       ;;
3352     none) break ;;
3353     esac
3354     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3355     # mode.  It turns out that the SunPro C++ compiler does not properly
3356     # handle `-M -o', and we need to detect this.
3357     if depmode=$depmode \
3358        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3359        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3360        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3361          >/dev/null 2>conftest.err &&
3362        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3363        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3364        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3365       # icc doesn't choke on unknown options, it will just issue warnings
3366       # or remarks (even with -Werror).  So we grep stderr for any message
3367       # that says an option was ignored or not supported.
3368       # When given -MP, icc 7.0 and 7.1 complain thusly:
3369       #   icc: Command line warning: ignoring option '-M'; no argument required
3370       # The diagnosis changed in icc 8.0:
3371       #   icc: Command line remark: option '-MP' not supported
3372       if (grep 'ignoring option' conftest.err ||
3373           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3374         am_cv_CC_dependencies_compiler_type=$depmode
3375         break
3376       fi
3377     fi
3378   done
3379
3380   cd ..
3381   rm -rf conftest.dir
3382 else
3383   am_cv_CC_dependencies_compiler_type=none
3384 fi
3385
3386 fi
3387 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3388 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3389 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3390
3391
3392
3393 if
3394   test "x$enable_dependency_tracking" != xno \
3395   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3396   am__fastdepCC_TRUE=
3397   am__fastdepCC_FALSE='#'
3398 else
3399   am__fastdepCC_TRUE='#'
3400   am__fastdepCC_FALSE=
3401 fi
3402
3403
3404
3405 ac_ext=c
3406 ac_cpp='$CPP $CPPFLAGS'
3407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3410 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3411 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3412 # On Suns, sometimes $CPP names a directory.
3413 if test -n "$CPP" && test -d "$CPP"; then
3414   CPP=
3415 fi
3416 if test -z "$CPP"; then
3417   if test "${ac_cv_prog_CPP+set}" = set; then
3418   echo $ECHO_N "(cached) $ECHO_C" >&6
3419 else
3420       # Double quotes because CPP needs to be expanded
3421     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3422     do
3423       ac_preproc_ok=false
3424 for ac_c_preproc_warn_flag in '' yes
3425 do
3426   # Use a header file that comes with gcc, so configuring glibc
3427   # with a fresh cross-compiler works.
3428   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3429   # <limits.h> exists even on freestanding compilers.
3430   # On the NeXT, cc -E runs the code through the compiler's parser,
3431   # not just through cpp. "Syntax error" is here to catch this case.
3432   cat >conftest.$ac_ext <<_ACEOF
3433 /* confdefs.h.  */
3434 _ACEOF
3435 cat confdefs.h >>conftest.$ac_ext
3436 cat >>conftest.$ac_ext <<_ACEOF
3437 /* end confdefs.h.  */
3438 #ifdef __STDC__
3439 # include <limits.h>
3440 #else
3441 # include <assert.h>
3442 #endif
3443                      Syntax error
3444 _ACEOF
3445 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3446   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3447   ac_status=$?
3448   grep -v '^ *+' conftest.er1 >conftest.err
3449   rm -f conftest.er1
3450   cat conftest.err >&5
3451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3452   (exit $ac_status); } >/dev/null; then
3453   if test -s conftest.err; then
3454     ac_cpp_err=$ac_c_preproc_warn_flag
3455     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3456   else
3457     ac_cpp_err=
3458   fi
3459 else
3460   ac_cpp_err=yes
3461 fi
3462 if test -z "$ac_cpp_err"; then
3463   :
3464 else
3465   echo "$as_me: failed program was:" >&5
3466 sed 's/^/| /' conftest.$ac_ext >&5
3467
3468   # Broken: fails on valid input.
3469 continue
3470 fi
3471 rm -f conftest.err conftest.$ac_ext
3472
3473   # OK, works on sane cases.  Now check whether non-existent headers
3474   # can be detected and how.
3475   cat >conftest.$ac_ext <<_ACEOF
3476 /* confdefs.h.  */
3477 _ACEOF
3478 cat confdefs.h >>conftest.$ac_ext
3479 cat >>conftest.$ac_ext <<_ACEOF
3480 /* end confdefs.h.  */
3481 #include <ac_nonexistent.h>
3482 _ACEOF
3483 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3484   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3485   ac_status=$?
3486   grep -v '^ *+' conftest.er1 >conftest.err
3487   rm -f conftest.er1
3488   cat conftest.err >&5
3489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3490   (exit $ac_status); } >/dev/null; then
3491   if test -s conftest.err; then
3492     ac_cpp_err=$ac_c_preproc_warn_flag
3493     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3494   else
3495     ac_cpp_err=
3496   fi
3497 else
3498   ac_cpp_err=yes
3499 fi
3500 if test -z "$ac_cpp_err"; then
3501   # Broken: success on invalid input.
3502 continue
3503 else
3504   echo "$as_me: failed program was:" >&5
3505 sed 's/^/| /' conftest.$ac_ext >&5
3506
3507   # Passes both tests.
3508 ac_preproc_ok=:
3509 break
3510 fi
3511 rm -f conftest.err conftest.$ac_ext
3512
3513 done
3514 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3515 rm -f conftest.err conftest.$ac_ext
3516 if $ac_preproc_ok; then
3517   break
3518 fi
3519
3520     done
3521     ac_cv_prog_CPP=$CPP
3522
3523 fi
3524   CPP=$ac_cv_prog_CPP
3525 else
3526   ac_cv_prog_CPP=$CPP
3527 fi
3528 echo "$as_me:$LINENO: result: $CPP" >&5
3529 echo "${ECHO_T}$CPP" >&6
3530 ac_preproc_ok=false
3531 for ac_c_preproc_warn_flag in '' yes
3532 do
3533   # Use a header file that comes with gcc, so configuring glibc
3534   # with a fresh cross-compiler works.
3535   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3536   # <limits.h> exists even on freestanding compilers.
3537   # On the NeXT, cc -E runs the code through the compiler's parser,
3538   # not just through cpp. "Syntax error" is here to catch this case.
3539   cat >conftest.$ac_ext <<_ACEOF
3540 /* confdefs.h.  */
3541 _ACEOF
3542 cat confdefs.h >>conftest.$ac_ext
3543 cat >>conftest.$ac_ext <<_ACEOF
3544 /* end confdefs.h.  */
3545 #ifdef __STDC__
3546 # include <limits.h>
3547 #else
3548 # include <assert.h>
3549 #endif
3550                      Syntax error
3551 _ACEOF
3552 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3553   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3554   ac_status=$?
3555   grep -v '^ *+' conftest.er1 >conftest.err
3556   rm -f conftest.er1
3557   cat conftest.err >&5
3558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3559   (exit $ac_status); } >/dev/null; then
3560   if test -s conftest.err; then
3561     ac_cpp_err=$ac_c_preproc_warn_flag
3562     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3563   else
3564     ac_cpp_err=
3565   fi
3566 else
3567   ac_cpp_err=yes
3568 fi
3569 if test -z "$ac_cpp_err"; then
3570   :
3571 else
3572   echo "$as_me: failed program was:" >&5
3573 sed 's/^/| /' conftest.$ac_ext >&5
3574
3575   # Broken: fails on valid input.
3576 continue
3577 fi
3578 rm -f conftest.err conftest.$ac_ext
3579
3580   # OK, works on sane cases.  Now check whether non-existent headers
3581   # can be detected and how.
3582   cat >conftest.$ac_ext <<_ACEOF
3583 /* confdefs.h.  */
3584 _ACEOF
3585 cat confdefs.h >>conftest.$ac_ext
3586 cat >>conftest.$ac_ext <<_ACEOF
3587 /* end confdefs.h.  */
3588 #include <ac_nonexistent.h>
3589 _ACEOF
3590 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3591   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3592   ac_status=$?
3593   grep -v '^ *+' conftest.er1 >conftest.err
3594   rm -f conftest.er1
3595   cat conftest.err >&5
3596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3597   (exit $ac_status); } >/dev/null; then
3598   if test -s conftest.err; then
3599     ac_cpp_err=$ac_c_preproc_warn_flag
3600     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3601   else
3602     ac_cpp_err=
3603   fi
3604 else
3605   ac_cpp_err=yes
3606 fi
3607 if test -z "$ac_cpp_err"; then
3608   # Broken: success on invalid input.
3609 continue
3610 else
3611   echo "$as_me: failed program was:" >&5
3612 sed 's/^/| /' conftest.$ac_ext >&5
3613
3614   # Passes both tests.
3615 ac_preproc_ok=:
3616 break
3617 fi
3618 rm -f conftest.err conftest.$ac_ext
3619
3620 done
3621 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3622 rm -f conftest.err conftest.$ac_ext
3623 if $ac_preproc_ok; then
3624   :
3625 else
3626   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3627 See \`config.log' for more details." >&5
3628 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3629 See \`config.log' for more details." >&2;}
3630    { (exit 1); exit 1; }; }
3631 fi
3632
3633 ac_ext=c
3634 ac_cpp='$CPP $CPPFLAGS'
3635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3638
3639
3640 echo "$as_me:$LINENO: checking for egrep" >&5
3641 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3642 if test "${ac_cv_prog_egrep+set}" = set; then
3643   echo $ECHO_N "(cached) $ECHO_C" >&6
3644 else
3645   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3646     then ac_cv_prog_egrep='grep -E'
3647     else ac_cv_prog_egrep='egrep'
3648     fi
3649 fi
3650 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3651 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3652  EGREP=$ac_cv_prog_egrep
3653
3654
3655 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3656 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3657 if test "${ac_cv_header_stdc+set}" = set; then
3658   echo $ECHO_N "(cached) $ECHO_C" >&6
3659 else
3660   cat >conftest.$ac_ext <<_ACEOF
3661 /* confdefs.h.  */
3662 _ACEOF
3663 cat confdefs.h >>conftest.$ac_ext
3664 cat >>conftest.$ac_ext <<_ACEOF
3665 /* end confdefs.h.  */
3666 #include <stdlib.h>
3667 #include <stdarg.h>
3668 #include <string.h>
3669 #include <float.h>
3670
3671 int
3672 main ()
3673 {
3674
3675   ;
3676   return 0;
3677 }
3678 _ACEOF
3679 rm -f conftest.$ac_objext
3680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3681   (eval $ac_compile) 2>conftest.er1
3682   ac_status=$?
3683   grep -v '^ *+' conftest.er1 >conftest.err
3684   rm -f conftest.er1
3685   cat conftest.err >&5
3686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3687   (exit $ac_status); } &&
3688          { ac_try='test -z "$ac_c_werror_flag"
3689                          || test ! -s conftest.err'
3690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3691   (eval $ac_try) 2>&5
3692   ac_status=$?
3693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3694   (exit $ac_status); }; } &&
3695          { ac_try='test -s conftest.$ac_objext'
3696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3697   (eval $ac_try) 2>&5
3698   ac_status=$?
3699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3700   (exit $ac_status); }; }; then
3701   ac_cv_header_stdc=yes
3702 else
3703   echo "$as_me: failed program was:" >&5
3704 sed 's/^/| /' conftest.$ac_ext >&5
3705
3706 ac_cv_header_stdc=no
3707 fi
3708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3709
3710 if test $ac_cv_header_stdc = yes; then
3711   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3712   cat >conftest.$ac_ext <<_ACEOF
3713 /* confdefs.h.  */
3714 _ACEOF
3715 cat confdefs.h >>conftest.$ac_ext
3716 cat >>conftest.$ac_ext <<_ACEOF
3717 /* end confdefs.h.  */
3718 #include <string.h>
3719
3720 _ACEOF
3721 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3722   $EGREP "memchr" >/dev/null 2>&1; then
3723   :
3724 else
3725   ac_cv_header_stdc=no
3726 fi
3727 rm -f conftest*
3728
3729 fi
3730
3731 if test $ac_cv_header_stdc = yes; then
3732   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3733   cat >conftest.$ac_ext <<_ACEOF
3734 /* confdefs.h.  */
3735 _ACEOF
3736 cat confdefs.h >>conftest.$ac_ext
3737 cat >>conftest.$ac_ext <<_ACEOF
3738 /* end confdefs.h.  */
3739 #include <stdlib.h>
3740
3741 _ACEOF
3742 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3743   $EGREP "free" >/dev/null 2>&1; then
3744   :
3745 else
3746   ac_cv_header_stdc=no
3747 fi
3748 rm -f conftest*
3749
3750 fi
3751
3752 if test $ac_cv_header_stdc = yes; then
3753   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3754   if test "$cross_compiling" = yes; then
3755   :
3756 else
3757   cat >conftest.$ac_ext <<_ACEOF
3758 /* confdefs.h.  */
3759 _ACEOF
3760 cat confdefs.h >>conftest.$ac_ext
3761 cat >>conftest.$ac_ext <<_ACEOF
3762 /* end confdefs.h.  */
3763 #include <ctype.h>
3764 #if ((' ' & 0x0FF) == 0x020)
3765 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3766 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3767 #else
3768 # define ISLOWER(c) \
3769                    (('a' <= (c) && (c) <= 'i') \
3770                      || ('j' <= (c) && (c) <= 'r') \
3771                      || ('s' <= (c) && (c) <= 'z'))
3772 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3773 #endif
3774
3775 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3776 int
3777 main ()
3778 {
3779   int i;
3780   for (i = 0; i < 256; i++)
3781     if (XOR (islower (i), ISLOWER (i))
3782         || toupper (i) != TOUPPER (i))
3783       exit(2);
3784   exit (0);
3785 }
3786 _ACEOF
3787 rm -f conftest$ac_exeext
3788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3789   (eval $ac_link) 2>&5
3790   ac_status=$?
3791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3792   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3794   (eval $ac_try) 2>&5
3795   ac_status=$?
3796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3797   (exit $ac_status); }; }; then
3798   :
3799 else
3800   echo "$as_me: program exited with status $ac_status" >&5
3801 echo "$as_me: failed program was:" >&5
3802 sed 's/^/| /' conftest.$ac_ext >&5
3803
3804 ( exit $ac_status )
3805 ac_cv_header_stdc=no
3806 fi
3807 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3808 fi
3809 fi
3810 fi
3811 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3812 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3813 if test $ac_cv_header_stdc = yes; then
3814
3815 cat >>confdefs.h <<\_ACEOF
3816 #define STDC_HEADERS 1
3817 _ACEOF
3818
3819 fi
3820
3821 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3832                   inttypes.h stdint.h unistd.h
3833 do
3834 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3835 echo "$as_me:$LINENO: checking for $ac_header" >&5
3836 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3837 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3838   echo $ECHO_N "(cached) $ECHO_C" >&6
3839 else
3840   cat >conftest.$ac_ext <<_ACEOF
3841 /* confdefs.h.  */
3842 _ACEOF
3843 cat confdefs.h >>conftest.$ac_ext
3844 cat >>conftest.$ac_ext <<_ACEOF
3845 /* end confdefs.h.  */
3846 $ac_includes_default
3847
3848 #include <$ac_header>
3849 _ACEOF
3850 rm -f conftest.$ac_objext
3851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3852   (eval $ac_compile) 2>conftest.er1
3853   ac_status=$?
3854   grep -v '^ *+' conftest.er1 >conftest.err
3855   rm -f conftest.er1
3856   cat conftest.err >&5
3857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3858   (exit $ac_status); } &&
3859          { ac_try='test -z "$ac_c_werror_flag"
3860                          || test ! -s conftest.err'
3861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3862   (eval $ac_try) 2>&5
3863   ac_status=$?
3864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3865   (exit $ac_status); }; } &&
3866          { ac_try='test -s conftest.$ac_objext'
3867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3868   (eval $ac_try) 2>&5
3869   ac_status=$?
3870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3871   (exit $ac_status); }; }; then
3872   eval "$as_ac_Header=yes"
3873 else
3874   echo "$as_me: failed program was:" >&5
3875 sed 's/^/| /' conftest.$ac_ext >&5
3876
3877 eval "$as_ac_Header=no"
3878 fi
3879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3880 fi
3881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3882 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3883 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3884   cat >>confdefs.h <<_ACEOF
3885 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3886 _ACEOF
3887
3888 fi
3889
3890 done
3891
3892
3893 # Check whether --enable-alsa or --disable-alsa was given.
3894 if test "${enable_alsa+set}" = set; then
3895   enableval="$enable_alsa"
3896   case "${enableval}" in
3897                 yes) COMPILE_ALSA=yes ;;
3898                 no) COMPILE_ALSA=no ;;
3899                 *) COMPILE_ALSA=yes ;;
3900               esac
3901 else
3902
3903 for ac_header in alsa/asoundlib.h
3904 do
3905 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3906 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3907   echo "$as_me:$LINENO: checking for $ac_header" >&5
3908 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3909 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3910   echo $ECHO_N "(cached) $ECHO_C" >&6
3911 fi
3912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3913 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3914 else
3915   # Is the header compilable?
3916 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3917 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3918 cat >conftest.$ac_ext <<_ACEOF
3919 /* confdefs.h.  */
3920 _ACEOF
3921 cat confdefs.h >>conftest.$ac_ext
3922 cat >>conftest.$ac_ext <<_ACEOF
3923 /* end confdefs.h.  */
3924 $ac_includes_default
3925 #include <$ac_header>
3926 _ACEOF
3927 rm -f conftest.$ac_objext
3928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3929   (eval $ac_compile) 2>conftest.er1
3930   ac_status=$?
3931   grep -v '^ *+' conftest.er1 >conftest.err
3932   rm -f conftest.er1
3933   cat conftest.err >&5
3934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3935   (exit $ac_status); } &&
3936          { ac_try='test -z "$ac_c_werror_flag"
3937                          || test ! -s conftest.err'
3938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3939   (eval $ac_try) 2>&5
3940   ac_status=$?
3941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3942   (exit $ac_status); }; } &&
3943          { ac_try='test -s conftest.$ac_objext'
3944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3945   (eval $ac_try) 2>&5
3946   ac_status=$?
3947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3948   (exit $ac_status); }; }; then
3949   ac_header_compiler=yes
3950 else
3951   echo "$as_me: failed program was:" >&5
3952 sed 's/^/| /' conftest.$ac_ext >&5
3953
3954 ac_header_compiler=no
3955 fi
3956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3957 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3958 echo "${ECHO_T}$ac_header_compiler" >&6
3959
3960 # Is the header present?
3961 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3962 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3963 cat >conftest.$ac_ext <<_ACEOF
3964 /* confdefs.h.  */
3965 _ACEOF
3966 cat confdefs.h >>conftest.$ac_ext
3967 cat >>conftest.$ac_ext <<_ACEOF
3968 /* end confdefs.h.  */
3969 #include <$ac_header>
3970 _ACEOF
3971 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3972   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3973   ac_status=$?
3974   grep -v '^ *+' conftest.er1 >conftest.err
3975   rm -f conftest.er1
3976   cat conftest.err >&5
3977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3978   (exit $ac_status); } >/dev/null; then
3979   if test -s conftest.err; then
3980     ac_cpp_err=$ac_c_preproc_warn_flag
3981     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3982   else
3983     ac_cpp_err=
3984   fi
3985 else
3986   ac_cpp_err=yes
3987 fi
3988 if test -z "$ac_cpp_err"; then
3989   ac_header_preproc=yes
3990 else
3991   echo "$as_me: failed program was:" >&5
3992 sed 's/^/| /' conftest.$ac_ext >&5
3993
3994   ac_header_preproc=no
3995 fi
3996 rm -f conftest.err conftest.$ac_ext
3997 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3998 echo "${ECHO_T}$ac_header_preproc" >&6
3999
4000 # So?  What about this header?
4001 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4002   yes:no: )
4003     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4004 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4005     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4006 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4007     ac_header_preproc=yes
4008     ;;
4009   no:yes:* )
4010     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4011 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4012     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4013 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4014     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4015 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4016     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4017 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4018     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4019 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4020     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4021 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4022     (
4023       cat <<\_ASBOX
4024 ## -------------------------------- ##
4025 ## Report this to classpath@gnu.org ##
4026 ## -------------------------------- ##
4027 _ASBOX
4028     ) |
4029       sed "s/^/$as_me: WARNING:     /" >&2
4030     ;;
4031 esac
4032 echo "$as_me:$LINENO: checking for $ac_header" >&5
4033 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4034 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4035   echo $ECHO_N "(cached) $ECHO_C" >&6
4036 else
4037   eval "$as_ac_Header=\$ac_header_preproc"
4038 fi
4039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4040 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4041
4042 fi
4043 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4044   cat >>confdefs.h <<_ACEOF
4045 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4046 _ACEOF
4047  echo "$as_me:$LINENO: checking for snd_seq_open in -lasound" >&5
4048 echo $ECHO_N "checking for snd_seq_open in -lasound... $ECHO_C" >&6
4049 if test "${ac_cv_lib_asound_snd_seq_open+set}" = set; then
4050   echo $ECHO_N "(cached) $ECHO_C" >&6
4051 else
4052   ac_check_lib_save_LIBS=$LIBS
4053 LIBS="-lasound  $LIBS"
4054 if test x$gcc_no_link = xyes; then
4055   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4057    { (exit 1); exit 1; }; }
4058 fi
4059 cat >conftest.$ac_ext <<_ACEOF
4060 /* confdefs.h.  */
4061 _ACEOF
4062 cat confdefs.h >>conftest.$ac_ext
4063 cat >>conftest.$ac_ext <<_ACEOF
4064 /* end confdefs.h.  */
4065
4066 /* Override any gcc2 internal prototype to avoid an error.  */
4067 #ifdef __cplusplus
4068 extern "C"
4069 #endif
4070 /* We use char because int might match the return type of a gcc2
4071    builtin and then its argument prototype would still apply.  */
4072 char snd_seq_open ();
4073 int
4074 main ()
4075 {
4076 snd_seq_open ();
4077   ;
4078   return 0;
4079 }
4080 _ACEOF
4081 rm -f conftest.$ac_objext conftest$ac_exeext
4082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4083   (eval $ac_link) 2>conftest.er1
4084   ac_status=$?
4085   grep -v '^ *+' conftest.er1 >conftest.err
4086   rm -f conftest.er1
4087   cat conftest.err >&5
4088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4089   (exit $ac_status); } &&
4090          { ac_try='test -z "$ac_c_werror_flag"
4091                          || test ! -s conftest.err'
4092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4093   (eval $ac_try) 2>&5
4094   ac_status=$?
4095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4096   (exit $ac_status); }; } &&
4097          { ac_try='test -s conftest$ac_exeext'
4098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4099   (eval $ac_try) 2>&5
4100   ac_status=$?
4101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4102   (exit $ac_status); }; }; then
4103   ac_cv_lib_asound_snd_seq_open=yes
4104 else
4105   echo "$as_me: failed program was:" >&5
4106 sed 's/^/| /' conftest.$ac_ext >&5
4107
4108 ac_cv_lib_asound_snd_seq_open=no
4109 fi
4110 rm -f conftest.err conftest.$ac_objext \
4111       conftest$ac_exeext conftest.$ac_ext
4112 LIBS=$ac_check_lib_save_LIBS
4113 fi
4114 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_seq_open" >&5
4115 echo "${ECHO_T}$ac_cv_lib_asound_snd_seq_open" >&6
4116 if test $ac_cv_lib_asound_snd_seq_open = yes; then
4117   COMPILE_ALSA=yes
4118 else
4119   COMPILE_ALSA=no
4120 fi
4121
4122 else
4123   COMPILE_ALSA=no
4124 fi
4125
4126 done
4127
4128 fi;
4129
4130
4131 if test "x${COMPILE_ALSA}" = xyes; then
4132   CREATE_ALSA_LIBRARIES_TRUE=
4133   CREATE_ALSA_LIBRARIES_FALSE='#'
4134 else
4135   CREATE_ALSA_LIBRARIES_TRUE='#'
4136   CREATE_ALSA_LIBRARIES_FALSE=
4137 fi
4138
4139
4140 # Check whether --enable-dssi or --disable-dssi was given.
4141 if test "${enable_dssi+set}" = set; then
4142   enableval="$enable_dssi"
4143   case "${enableval}" in
4144                 yes) COMPILE_DSSI=yes ;;
4145                 no) COMPILE_DSSI=no ;;
4146                 *) COMPILE_DSSI=yes ;;
4147               esac
4148 else
4149   COMPILE_DSSI=no
4150
4151 for ac_header in dssi.h
4152 do
4153 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4154 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4155   echo "$as_me:$LINENO: checking for $ac_header" >&5
4156 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4157 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4158   echo $ECHO_N "(cached) $ECHO_C" >&6
4159 fi
4160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4161 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4162 else
4163   # Is the header compilable?
4164 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4165 echo $ECHO_N "checking $ac_header usability... $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 $ac_includes_default
4173 #include <$ac_header>
4174 _ACEOF
4175 rm -f conftest.$ac_objext
4176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4177   (eval $ac_compile) 2>conftest.er1
4178   ac_status=$?
4179   grep -v '^ *+' conftest.er1 >conftest.err
4180   rm -f conftest.er1
4181   cat conftest.err >&5
4182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4183   (exit $ac_status); } &&
4184          { ac_try='test -z "$ac_c_werror_flag"
4185                          || test ! -s conftest.err'
4186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4187   (eval $ac_try) 2>&5
4188   ac_status=$?
4189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4190   (exit $ac_status); }; } &&
4191          { ac_try='test -s conftest.$ac_objext'
4192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4193   (eval $ac_try) 2>&5
4194   ac_status=$?
4195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4196   (exit $ac_status); }; }; then
4197   ac_header_compiler=yes
4198 else
4199   echo "$as_me: failed program was:" >&5
4200 sed 's/^/| /' conftest.$ac_ext >&5
4201
4202 ac_header_compiler=no
4203 fi
4204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4205 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4206 echo "${ECHO_T}$ac_header_compiler" >&6
4207
4208 # Is the header present?
4209 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4210 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4211 cat >conftest.$ac_ext <<_ACEOF
4212 /* confdefs.h.  */
4213 _ACEOF
4214 cat confdefs.h >>conftest.$ac_ext
4215 cat >>conftest.$ac_ext <<_ACEOF
4216 /* end confdefs.h.  */
4217 #include <$ac_header>
4218 _ACEOF
4219 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4220   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4221   ac_status=$?
4222   grep -v '^ *+' conftest.er1 >conftest.err
4223   rm -f conftest.er1
4224   cat conftest.err >&5
4225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4226   (exit $ac_status); } >/dev/null; then
4227   if test -s conftest.err; then
4228     ac_cpp_err=$ac_c_preproc_warn_flag
4229     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4230   else
4231     ac_cpp_err=
4232   fi
4233 else
4234   ac_cpp_err=yes
4235 fi
4236 if test -z "$ac_cpp_err"; then
4237   ac_header_preproc=yes
4238 else
4239   echo "$as_me: failed program was:" >&5
4240 sed 's/^/| /' conftest.$ac_ext >&5
4241
4242   ac_header_preproc=no
4243 fi
4244 rm -f conftest.err conftest.$ac_ext
4245 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4246 echo "${ECHO_T}$ac_header_preproc" >&6
4247
4248 # So?  What about this header?
4249 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4250   yes:no: )
4251     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4252 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4253     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4254 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4255     ac_header_preproc=yes
4256     ;;
4257   no:yes:* )
4258     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4259 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4260     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4261 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4262     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4263 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4264     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4265 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4266     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4267 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4268     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4269 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4270     (
4271       cat <<\_ASBOX
4272 ## -------------------------------- ##
4273 ## Report this to classpath@gnu.org ##
4274 ## -------------------------------- ##
4275 _ASBOX
4276     ) |
4277       sed "s/^/$as_me: WARNING:     /" >&2
4278     ;;
4279 esac
4280 echo "$as_me:$LINENO: checking for $ac_header" >&5
4281 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4283   echo $ECHO_N "(cached) $ECHO_C" >&6
4284 else
4285   eval "$as_ac_Header=\$ac_header_preproc"
4286 fi
4287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4288 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4289
4290 fi
4291 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4292   cat >>confdefs.h <<_ACEOF
4293 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4294 _ACEOF
4295
4296
4297 for ac_header in jack/jack.h
4298 do
4299 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4300 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4301   echo "$as_me:$LINENO: checking for $ac_header" >&5
4302 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4303 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4304   echo $ECHO_N "(cached) $ECHO_C" >&6
4305 fi
4306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4307 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4308 else
4309   # Is the header compilable?
4310 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4311 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4312 cat >conftest.$ac_ext <<_ACEOF
4313 /* confdefs.h.  */
4314 _ACEOF
4315 cat confdefs.h >>conftest.$ac_ext
4316 cat >>conftest.$ac_ext <<_ACEOF
4317 /* end confdefs.h.  */
4318 $ac_includes_default
4319 #include <$ac_header>
4320 _ACEOF
4321 rm -f conftest.$ac_objext
4322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4323   (eval $ac_compile) 2>conftest.er1
4324   ac_status=$?
4325   grep -v '^ *+' conftest.er1 >conftest.err
4326   rm -f conftest.er1
4327   cat conftest.err >&5
4328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4329   (exit $ac_status); } &&
4330          { ac_try='test -z "$ac_c_werror_flag"
4331                          || test ! -s conftest.err'
4332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4333   (eval $ac_try) 2>&5
4334   ac_status=$?
4335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4336   (exit $ac_status); }; } &&
4337          { ac_try='test -s conftest.$ac_objext'
4338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4339   (eval $ac_try) 2>&5
4340   ac_status=$?
4341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4342   (exit $ac_status); }; }; then
4343   ac_header_compiler=yes
4344 else
4345   echo "$as_me: failed program was:" >&5
4346 sed 's/^/| /' conftest.$ac_ext >&5
4347
4348 ac_header_compiler=no
4349 fi
4350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4351 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4352 echo "${ECHO_T}$ac_header_compiler" >&6
4353
4354 # Is the header present?
4355 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4356 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4357 cat >conftest.$ac_ext <<_ACEOF
4358 /* confdefs.h.  */
4359 _ACEOF
4360 cat confdefs.h >>conftest.$ac_ext
4361 cat >>conftest.$ac_ext <<_ACEOF
4362 /* end confdefs.h.  */
4363 #include <$ac_header>
4364 _ACEOF
4365 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4366   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4367   ac_status=$?
4368   grep -v '^ *+' conftest.er1 >conftest.err
4369   rm -f conftest.er1
4370   cat conftest.err >&5
4371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4372   (exit $ac_status); } >/dev/null; then
4373   if test -s conftest.err; then
4374     ac_cpp_err=$ac_c_preproc_warn_flag
4375     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4376   else
4377     ac_cpp_err=
4378   fi
4379 else
4380   ac_cpp_err=yes
4381 fi
4382 if test -z "$ac_cpp_err"; then
4383   ac_header_preproc=yes
4384 else
4385   echo "$as_me: failed program was:" >&5
4386 sed 's/^/| /' conftest.$ac_ext >&5
4387
4388   ac_header_preproc=no
4389 fi
4390 rm -f conftest.err conftest.$ac_ext
4391 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4392 echo "${ECHO_T}$ac_header_preproc" >&6
4393
4394 # So?  What about this header?
4395 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4396   yes:no: )
4397     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4398 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4399     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4400 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4401     ac_header_preproc=yes
4402     ;;
4403   no:yes:* )
4404     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4405 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4406     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4407 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4408     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4409 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4410     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4411 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4412     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4413 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4414     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4415 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4416     (
4417       cat <<\_ASBOX
4418 ## -------------------------------- ##
4419 ## Report this to classpath@gnu.org ##
4420 ## -------------------------------- ##
4421 _ASBOX
4422     ) |
4423       sed "s/^/$as_me: WARNING:     /" >&2
4424     ;;
4425 esac
4426 echo "$as_me:$LINENO: checking for $ac_header" >&5
4427 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4428 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4429   echo $ECHO_N "(cached) $ECHO_C" >&6
4430 else
4431   eval "$as_ac_Header=\$ac_header_preproc"
4432 fi
4433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4434 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4435
4436 fi
4437 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4438   cat >>confdefs.h <<_ACEOF
4439 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4440 _ACEOF
4441  COMPILE_DSSI=yes
4442 fi
4443
4444 done
4445
4446 fi
4447
4448 done
4449
4450 fi;
4451
4452
4453 if test "x${COMPILE_DSSI}" = xyes; then
4454   CREATE_DSSI_LIBRARIES_TRUE=
4455   CREATE_DSSI_LIBRARIES_FALSE='#'
4456 else
4457   CREATE_DSSI_LIBRARIES_TRUE='#'
4458   CREATE_DSSI_LIBRARIES_FALSE=
4459 fi
4460
4461
4462 # Check whether --enable-gtk-peer or --disable-gtk-peer was given.
4463 if test "${enable_gtk_peer+set}" = set; then
4464   enableval="$enable_gtk_peer"
4465   case "${enableval}" in
4466                 yes) COMPILE_GTK_PEER=yes ;;
4467                 no) COMPILE_GTK_PEER=no ;;
4468                 *) COMPILE_GTK_PEER=yes ;;
4469               esac
4470 else
4471   COMPILE_GTK_PEER=yes
4472 fi;
4473
4474
4475 if test "x${COMPILE_GTK_PEER}" = xyes; then
4476   CREATE_GTK_PEER_LIBRARIES_TRUE=
4477   CREATE_GTK_PEER_LIBRARIES_FALSE='#'
4478 else
4479   CREATE_GTK_PEER_LIBRARIES_TRUE='#'
4480   CREATE_GTK_PEER_LIBRARIES_FALSE=
4481 fi
4482
4483
4484 # Check whether --enable-gtk-peers or --disable-gtk-peers was given.
4485 if test "${enable_gtk_peers+set}" = set; then
4486   enableval="$enable_gtk_peers"
4487   { { echo "$as_me:$LINENO: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&5
4488 echo "$as_me: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&2;}
4489    { (exit 1); exit 1; }; }
4490 fi;
4491
4492 # Check whether --enable-qt-peer or --disable-qt-peer was given.
4493 if test "${enable_qt_peer+set}" = set; then
4494   enableval="$enable_qt_peer"
4495   case "${enableval}" in
4496                 yes) COMPILE_QT_PEER=yes ;;
4497                 no) COMPILE_QT_PEER=no ;;
4498                 *) COMPILE_QT_PEER=yes ;;
4499               esac
4500 else
4501   COMPILE_QT_PEER=no
4502 fi;
4503
4504
4505 if test "x${COMPILE_QT_PEER}" = xyes; then
4506   CREATE_QT_PEER_LIBRARIES_TRUE=
4507   CREATE_QT_PEER_LIBRARIES_FALSE='#'
4508 else
4509   CREATE_QT_PEER_LIBRARIES_TRUE='#'
4510   CREATE_QT_PEER_LIBRARIES_FALSE=
4511 fi
4512
4513
4514 # Check whether --enable-plugin or --disable-plugin was given.
4515 if test "${enable_plugin+set}" = set; then
4516   enableval="$enable_plugin"
4517   case "${enableval}" in
4518                 yes) COMPILE_PLUGIN=yes ;;
4519                 no) COMPILE_PLUGIN=no ;;
4520                 *) COMPILE_PLUGIN=yes ;;
4521               esac
4522 else
4523   COMPILE_PLUGIN=yes
4524 fi;
4525
4526
4527 if test "x${COMPILE_PLUGIN}" = xyes; then
4528   CREATE_PLUGIN_TRUE=
4529   CREATE_PLUGIN_FALSE='#'
4530 else
4531   CREATE_PLUGIN_TRUE='#'
4532   CREATE_PLUGIN_FALSE=
4533 fi
4534
4535
4536
4537   multi_os_directory=`$CC -print-multi-os-directory`
4538   case $multi_os_directory in
4539     .) toolexeclibdir=${libdir} ;; # Avoid trailing /.
4540     *) toolexeclibdir=${libdir}/${multi_os_directory} ;;
4541   esac
4542
4543
4544
4545
4546 # Check whether --with-native-libdir or --without-native-libdir was given.
4547 if test "${with_native_libdir+set}" = set; then
4548   withval="$with_native_libdir"
4549
4550              nativeexeclibdir=${withval}
4551
4552 else
4553
4554              nativeexeclibdir='${toolexeclibdir}/gcj-'`cat ${srcdir}/../../gcc/BASE-VER`
4555
4556 fi;
4557
4558
4559
4560
4561 # Check whether --with-glibj-dir or --without-glibj-dir was given.
4562 if test "${with_glibj_dir+set}" = set; then
4563   withval="$with_glibj_dir"
4564
4565              glibjdir=${withval}
4566
4567 else
4568
4569              glibjdir='${datadir}/${PACKAGE}'
4570
4571 fi;
4572
4573
4574
4575
4576 # Check whether --with-vm or --without-vm was given.
4577 if test "${with_vm+set}" = set; then
4578   withval="$with_vm"
4579
4580              VM_BINARY=${withval}
4581
4582 else
4583
4584              VM_BINARY='${prefix}/bin/jamvm'
4585
4586 fi;
4587
4588
4589
4590
4591 if test "x`basename $VM_BINARY`" = xcacao; then
4592   FOUND_CACAO_TRUE=
4593   FOUND_CACAO_FALSE='#'
4594 else
4595   FOUND_CACAO_TRUE='#'
4596   FOUND_CACAO_FALSE=
4597 fi
4598
4599
4600 # Check whether --enable-regen-headers or --disable-regen-headers was given.
4601 if test "${enable_regen_headers+set}" = set; then
4602   enableval="$enable_regen_headers"
4603   case "${enableval}" in
4604                 yes) REGENERATE_JNI_HEADERS=yes ;;
4605                 no) REGENERATE_JNI_HEADERS=no ;;
4606                 *) REGENERATE_JNI_HEADERS=no ;;
4607               esac
4608 else
4609   REGENERATE_JNI_HEADERS=no
4610 fi;
4611
4612
4613 if test "x${REGENERATE_JNI_HEADERS}" = xyes; then
4614   CREATE_JNI_HEADERS_TRUE=
4615   CREATE_JNI_HEADERS_FALSE='#'
4616 else
4617   CREATE_JNI_HEADERS_TRUE='#'
4618   CREATE_JNI_HEADERS_FALSE=
4619 fi
4620
4621
4622 # Check whether --enable-tool-wrappers or --disable-tool-wrappers was given.
4623 if test "${enable_tool_wrappers+set}" = set; then
4624   enableval="$enable_tool_wrappers"
4625   case x"${enableval}" in
4626                 xyes)
4627                   COMPILE_WRAPPERS=yes;
4628
4629 for ac_header in ltdl.h
4630 do
4631 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4632 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4633   echo "$as_me:$LINENO: checking for $ac_header" >&5
4634 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4635 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4636   echo $ECHO_N "(cached) $ECHO_C" >&6
4637 fi
4638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4639 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4640 else
4641   # Is the header compilable?
4642 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4643 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4644 cat >conftest.$ac_ext <<_ACEOF
4645 /* confdefs.h.  */
4646 _ACEOF
4647 cat confdefs.h >>conftest.$ac_ext
4648 cat >>conftest.$ac_ext <<_ACEOF
4649 /* end confdefs.h.  */
4650 $ac_includes_default
4651 #include <$ac_header>
4652 _ACEOF
4653 rm -f conftest.$ac_objext
4654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4655   (eval $ac_compile) 2>conftest.er1
4656   ac_status=$?
4657   grep -v '^ *+' conftest.er1 >conftest.err
4658   rm -f conftest.er1
4659   cat conftest.err >&5
4660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4661   (exit $ac_status); } &&
4662          { ac_try='test -z "$ac_c_werror_flag"
4663                          || test ! -s conftest.err'
4664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4665   (eval $ac_try) 2>&5
4666   ac_status=$?
4667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4668   (exit $ac_status); }; } &&
4669          { ac_try='test -s conftest.$ac_objext'
4670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4671   (eval $ac_try) 2>&5
4672   ac_status=$?
4673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4674   (exit $ac_status); }; }; then
4675   ac_header_compiler=yes
4676 else
4677   echo "$as_me: failed program was:" >&5
4678 sed 's/^/| /' conftest.$ac_ext >&5
4679
4680 ac_header_compiler=no
4681 fi
4682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4683 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4684 echo "${ECHO_T}$ac_header_compiler" >&6
4685
4686 # Is the header present?
4687 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4688 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4689 cat >conftest.$ac_ext <<_ACEOF
4690 /* confdefs.h.  */
4691 _ACEOF
4692 cat confdefs.h >>conftest.$ac_ext
4693 cat >>conftest.$ac_ext <<_ACEOF
4694 /* end confdefs.h.  */
4695 #include <$ac_header>
4696 _ACEOF
4697 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4698   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4699   ac_status=$?
4700   grep -v '^ *+' conftest.er1 >conftest.err
4701   rm -f conftest.er1
4702   cat conftest.err >&5
4703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4704   (exit $ac_status); } >/dev/null; then
4705   if test -s conftest.err; then
4706     ac_cpp_err=$ac_c_preproc_warn_flag
4707     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4708   else
4709     ac_cpp_err=
4710   fi
4711 else
4712   ac_cpp_err=yes
4713 fi
4714 if test -z "$ac_cpp_err"; then
4715   ac_header_preproc=yes
4716 else
4717   echo "$as_me: failed program was:" >&5
4718 sed 's/^/| /' conftest.$ac_ext >&5
4719
4720   ac_header_preproc=no
4721 fi
4722 rm -f conftest.err conftest.$ac_ext
4723 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4724 echo "${ECHO_T}$ac_header_preproc" >&6
4725
4726 # So?  What about this header?
4727 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4728   yes:no: )
4729     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4730 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4731     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4732 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4733     ac_header_preproc=yes
4734     ;;
4735   no:yes:* )
4736     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4737 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4738     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4739 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4740     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4741 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4742     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4743 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4744     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4745 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4746     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4747 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4748     (
4749       cat <<\_ASBOX
4750 ## -------------------------------- ##
4751 ## Report this to classpath@gnu.org ##
4752 ## -------------------------------- ##
4753 _ASBOX
4754     ) |
4755       sed "s/^/$as_me: WARNING:     /" >&2
4756     ;;
4757 esac
4758 echo "$as_me:$LINENO: checking for $ac_header" >&5
4759 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4761   echo $ECHO_N "(cached) $ECHO_C" >&6
4762 else
4763   eval "$as_ac_Header=\$ac_header_preproc"
4764 fi
4765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4766 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4767
4768 fi
4769 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4770   cat >>confdefs.h <<_ACEOF
4771 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4772 _ACEOF
4773
4774 else
4775   { { echo "$as_me:$LINENO: error: cannot find ltdl.h" >&5
4776 echo "$as_me: error: cannot find ltdl.h" >&2;}
4777    { (exit 1); exit 1; }; }
4778 fi
4779
4780 done
4781
4782
4783 echo "$as_me:$LINENO: checking for lt_dlopen in -lltdl" >&5
4784 echo $ECHO_N "checking for lt_dlopen in -lltdl... $ECHO_C" >&6
4785 if test "${ac_cv_lib_ltdl_lt_dlopen+set}" = set; then
4786   echo $ECHO_N "(cached) $ECHO_C" >&6
4787 else
4788   ac_check_lib_save_LIBS=$LIBS
4789 LIBS="-lltdl  $LIBS"
4790 if test x$gcc_no_link = xyes; then
4791   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4793    { (exit 1); exit 1; }; }
4794 fi
4795 cat >conftest.$ac_ext <<_ACEOF
4796 /* confdefs.h.  */
4797 _ACEOF
4798 cat confdefs.h >>conftest.$ac_ext
4799 cat >>conftest.$ac_ext <<_ACEOF
4800 /* end confdefs.h.  */
4801
4802 /* Override any gcc2 internal prototype to avoid an error.  */
4803 #ifdef __cplusplus
4804 extern "C"
4805 #endif
4806 /* We use char because int might match the return type of a gcc2
4807    builtin and then its argument prototype would still apply.  */
4808 char lt_dlopen ();
4809 int
4810 main ()
4811 {
4812 lt_dlopen ();
4813   ;
4814   return 0;
4815 }
4816 _ACEOF
4817 rm -f conftest.$ac_objext conftest$ac_exeext
4818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4819   (eval $ac_link) 2>conftest.er1
4820   ac_status=$?
4821   grep -v '^ *+' conftest.er1 >conftest.err
4822   rm -f conftest.er1
4823   cat conftest.err >&5
4824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4825   (exit $ac_status); } &&
4826          { ac_try='test -z "$ac_c_werror_flag"
4827                          || test ! -s conftest.err'
4828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4829   (eval $ac_try) 2>&5
4830   ac_status=$?
4831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4832   (exit $ac_status); }; } &&
4833          { ac_try='test -s conftest$ac_exeext'
4834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4835   (eval $ac_try) 2>&5
4836   ac_status=$?
4837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4838   (exit $ac_status); }; }; then
4839   ac_cv_lib_ltdl_lt_dlopen=yes
4840 else
4841   echo "$as_me: failed program was:" >&5
4842 sed 's/^/| /' conftest.$ac_ext >&5
4843
4844 ac_cv_lib_ltdl_lt_dlopen=no
4845 fi
4846 rm -f conftest.err conftest.$ac_objext \
4847       conftest$ac_exeext conftest.$ac_ext
4848 LIBS=$ac_check_lib_save_LIBS
4849 fi
4850 echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dlopen" >&5
4851 echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dlopen" >&6
4852 if test $ac_cv_lib_ltdl_lt_dlopen = yes; then
4853   cat >>confdefs.h <<_ACEOF
4854 #define HAVE_LIBLTDL 1
4855 _ACEOF
4856
4857   LIBS="-lltdl $LIBS"
4858
4859 else
4860   { { echo "$as_me:$LINENO: error: cannot find libltdl" >&5
4861 echo "$as_me: error: cannot find libltdl" >&2;}
4862    { (exit 1); exit 1; }; }
4863 fi
4864
4865                   ;;
4866                 xno) COMPILE_WRAPPERS=no ;;
4867                 x) COMPILE_WRAPPERS=yes ;;
4868                 *) COMPILE_WRAPPERS=yes ;;
4869               esac
4870 else
4871   COMPILE_WRAPPERS=no
4872 fi;
4873
4874
4875 if test "x${COMPILE_WRAPPERS}" = xyes; then
4876   CREATE_WRAPPERS_TRUE=
4877   CREATE_WRAPPERS_FALSE='#'
4878 else
4879   CREATE_WRAPPERS_TRUE='#'
4880   CREATE_WRAPPERS_FALSE=
4881 fi
4882
4883
4884 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4885 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4886 LN_S=$as_ln_s
4887 if test "$LN_S" = "ln -s"; then
4888   echo "$as_me:$LINENO: result: yes" >&5
4889 echo "${ECHO_T}yes" >&6
4890 else
4891   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4892 echo "${ECHO_T}no, using $LN_S" >&6
4893 fi
4894
4895 # Find a good install program.  We prefer a C program (faster),
4896 # so one script is as good as another.  But avoid the broken or
4897 # incompatible versions:
4898 # SysV /etc/install, /usr/sbin/install
4899 # SunOS /usr/etc/install
4900 # IRIX /sbin/install
4901 # AIX /bin/install
4902 # AmigaOS /C/install, which installs bootblocks on floppy discs
4903 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4904 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4905 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4906 # OS/2's system install, which has a completely different semantic
4907 # ./install, which can be erroneously created by make from ./install.sh.
4908 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4909 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4910 if test -z "$INSTALL"; then
4911 if test "${ac_cv_path_install+set}" = set; then
4912   echo $ECHO_N "(cached) $ECHO_C" >&6
4913 else
4914   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4915 for as_dir in $PATH
4916 do
4917   IFS=$as_save_IFS
4918   test -z "$as_dir" && as_dir=.
4919   # Account for people who put trailing slashes in PATH elements.
4920 case $as_dir/ in
4921   ./ | .// | /cC/* | \
4922   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4923   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4924   /usr/ucb/* ) ;;
4925   *)
4926     # OSF1 and SCO ODT 3.0 have their own names for install.
4927     # Don't use installbsd from OSF since it installs stuff as root
4928     # by default.
4929     for ac_prog in ginstall scoinst install; do
4930       for ac_exec_ext in '' $ac_executable_extensions; do
4931         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4932           if test $ac_prog = install &&
4933             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4934             # AIX install.  It has an incompatible calling convention.
4935             :
4936           elif test $ac_prog = install &&
4937             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4938             # program-specific install script used by HP pwplus--don't use.
4939             :
4940           else
4941             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4942             break 3
4943           fi
4944         fi
4945       done
4946     done
4947     ;;
4948 esac
4949 done
4950
4951
4952 fi
4953   if test "${ac_cv_path_install+set}" = set; then
4954     INSTALL=$ac_cv_path_install
4955   else
4956     # As a last resort, use the slow shell script.  We don't cache a
4957     # path for INSTALL within a source directory, because that will
4958     # break other packages using the cache if that directory is
4959     # removed, or if the path is relative.
4960     INSTALL=$ac_install_sh
4961   fi
4962 fi
4963 echo "$as_me:$LINENO: result: $INSTALL" >&5
4964 echo "${ECHO_T}$INSTALL" >&6
4965
4966 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4967 # It thinks the first close brace ends the variable substitution.
4968 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4969
4970 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4971
4972 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4973
4974
4975
4976 # Check whether --enable-static or --disable-static was given.
4977 if test "${enable_static+set}" = set; then
4978   enableval="$enable_static"
4979   p=${PACKAGE-default}
4980 case $enableval in
4981 yes) enable_static=yes ;;
4982 no) enable_static=no ;;
4983 *)
4984   enable_static=no
4985   # Look at the argument we got.  We use all the common list separators.
4986   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4987   for pkg in $enableval; do
4988     if test "X$pkg" = "X$p"; then
4989       enable_static=yes
4990     fi
4991   done
4992   IFS="$ac_save_ifs"
4993   ;;
4994 esac
4995 else
4996   enable_static=no
4997 fi;
4998 # Check whether --enable-shared or --disable-shared was given.
4999 if test "${enable_shared+set}" = set; then
5000   enableval="$enable_shared"
5001   p=${PACKAGE-default}
5002 case $enableval in
5003 yes) enable_shared=yes ;;
5004 no) enable_shared=no ;;
5005 *)
5006   enable_shared=no
5007   # Look at the argument we got.  We use all the common list separators.
5008   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
5009   for pkg in $enableval; do
5010     if test "X$pkg" = "X$p"; then
5011       enable_shared=yes
5012     fi
5013   done
5014   IFS="$ac_save_ifs"
5015   ;;
5016 esac
5017 else
5018   enable_shared=yes
5019 fi;
5020 # Check whether --enable-fast-install or --disable-fast-install was given.
5021 if test "${enable_fast_install+set}" = set; then
5022   enableval="$enable_fast_install"
5023   p=${PACKAGE-default}
5024 case $enableval in
5025 yes) enable_fast_install=yes ;;
5026 no) enable_fast_install=no ;;
5027 *)
5028   enable_fast_install=no
5029   # Look at the argument we got.  We use all the common list separators.
5030   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
5031   for pkg in $enableval; do
5032     if test "X$pkg" = "X$p"; then
5033       enable_fast_install=yes
5034     fi
5035   done
5036   IFS="$ac_save_ifs"
5037   ;;
5038 esac
5039 else
5040   enable_fast_install=yes
5041 fi;
5042
5043 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5044 if test "${with_gnu_ld+set}" = set; then
5045   withval="$with_gnu_ld"
5046   test "$withval" = no || with_gnu_ld=yes
5047 else
5048   with_gnu_ld=no
5049 fi;
5050 ac_prog=ld
5051 if test "$GCC" = yes; then
5052   # Check if gcc -print-prog-name=ld gives a path.
5053   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
5054 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
5055   case $host in
5056   *-*-mingw*)
5057     # gcc leaves a trailing carriage return which upsets mingw
5058     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5059   *)
5060     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5061   esac
5062   case $ac_prog in
5063     # Accept absolute paths.
5064     [\\/]* | [A-Za-z]:[\\/]*)
5065       re_direlt='/[^/][^/]*/\.\./'
5066       # Canonicalize the path of ld
5067       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
5068       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
5069         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
5070       done
5071       test -z "$LD" && LD="$ac_prog"
5072       ;;
5073   "")
5074     # If it fails, then pretend we aren't using GCC.
5075     ac_prog=ld
5076     ;;
5077   *)
5078     # If it is relative, then search for the first ld in PATH.
5079     with_gnu_ld=unknown
5080     ;;
5081   esac
5082 elif test "$with_gnu_ld" = yes; then
5083   echo "$as_me:$LINENO: checking for GNU ld" >&5
5084 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5085 else
5086   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5087 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5088 fi
5089 if test "${lt_cv_path_LD+set}" = set; then
5090   echo $ECHO_N "(cached) $ECHO_C" >&6
5091 else
5092   if test -z "$LD"; then
5093   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5094   for ac_dir in $PATH; do
5095     test -z "$ac_dir" && ac_dir=.
5096     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5097       lt_cv_path_LD="$ac_dir/$ac_prog"
5098       # Check to see if the program is GNU ld.  I'd rather use --version,
5099       # but apparently some GNU ld's only accept -v.
5100       # Break only if it was the GNU/non-GNU ld that we prefer.
5101       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
5102         test "$with_gnu_ld" != no && break
5103       else
5104         test "$with_gnu_ld" != yes && break
5105       fi
5106     fi
5107   done
5108   IFS="$ac_save_ifs"
5109 else
5110   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5111 fi
5112 fi
5113
5114 LD="$lt_cv_path_LD"
5115 if test -n "$LD"; then
5116   echo "$as_me:$LINENO: result: $LD" >&5
5117 echo "${ECHO_T}$LD" >&6
5118 else
5119   echo "$as_me:$LINENO: result: no" >&5
5120 echo "${ECHO_T}no" >&6
5121 fi
5122 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5123 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5124    { (exit 1); exit 1; }; }
5125 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5126 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5127 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5128   echo $ECHO_N "(cached) $ECHO_C" >&6
5129 else
5130   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5131 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
5132   lt_cv_prog_gnu_ld=yes
5133 else
5134   lt_cv_prog_gnu_ld=no
5135 fi
5136 fi
5137 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5138 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5139 with_gnu_ld=$lt_cv_prog_gnu_ld
5140
5141
5142 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5143 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
5144 if test "${lt_cv_ld_reload_flag+set}" = set; then
5145   echo $ECHO_N "(cached) $ECHO_C" >&6
5146 else
5147   lt_cv_ld_reload_flag='-r'
5148 fi
5149 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5150 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5151 reload_flag=$lt_cv_ld_reload_flag
5152 test -n "$reload_flag" && reload_flag=" $reload_flag"
5153
5154 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5155 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
5156 if test "${lt_cv_path_NM+set}" = set; then
5157   echo $ECHO_N "(cached) $ECHO_C" >&6
5158 else
5159   if test -n "$NM"; then
5160   # Let the user override the test.
5161   lt_cv_path_NM="$NM"
5162 else
5163   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5164   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
5165     test -z "$ac_dir" && ac_dir=.
5166     tmp_nm=$ac_dir/${ac_tool_prefix}nm
5167     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
5168       # Check to see if the nm accepts a BSD-compat flag.
5169       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5170       #   nm: unknown option "B" ignored
5171       # Tru64's nm complains that /dev/null is an invalid object file
5172       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
5173         lt_cv_path_NM="$tmp_nm -B"
5174         break
5175       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
5176         lt_cv_path_NM="$tmp_nm -p"
5177         break
5178       else
5179         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5180         continue # so that we can try to find one that supports BSD flags
5181       fi
5182     fi
5183   done
5184   IFS="$ac_save_ifs"
5185   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
5186 fi
5187 fi
5188
5189 NM="$lt_cv_path_NM"
5190 echo "$as_me:$LINENO: result: $NM" >&5
5191 echo "${ECHO_T}$NM" >&6
5192
5193 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
5194 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
5195 if test "${lt_cv_deplibs_check_method+set}" = set; then
5196   echo $ECHO_N "(cached) $ECHO_C" >&6
5197 else
5198   lt_cv_file_magic_cmd='$MAGIC_CMD'
5199 lt_cv_file_magic_test_file=
5200 lt_cv_deplibs_check_method='unknown'
5201 # Need to set the preceding variable on all platforms that support
5202 # interlibrary dependencies.
5203 # 'none' -- dependencies not supported.
5204 # `unknown' -- same as none, but documents that we really don't know.
5205 # 'pass_all' -- all dependencies passed with no checks.
5206 # 'test_compile' -- check by making test program.
5207 # 'file_magic [regex]' -- check by looking for files in library path
5208 # which responds to the $file_magic_cmd with a given egrep regex.
5209 # If you have `file' or equivalent on your system and you're not sure
5210 # whether `pass_all' will *always* work, you probably want this one.
5211
5212 case $host_os in
5213 aix*)
5214   lt_cv_deplibs_check_method=pass_all
5215   ;;
5216
5217 beos*)
5218   lt_cv_deplibs_check_method=pass_all
5219   ;;
5220
5221 bsdi4*)
5222   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5223   lt_cv_file_magic_cmd='/usr/bin/file -L'
5224   lt_cv_file_magic_test_file=/shlib/libc.so
5225   ;;
5226
5227 cygwin* | mingw* |pw32*)
5228   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5229   lt_cv_file_magic_cmd='$OBJDUMP -f'
5230   ;;
5231
5232 darwin* | rhapsody*)
5233   # this will be overwritten by pass_all, but leave it in just in case
5234   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
5235   lt_cv_file_magic_cmd='/usr/bin/file -L'
5236   case "$host_os" in
5237   rhapsody* | darwin1.012)
5238     lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
5239     ;;
5240   *) # Darwin 1.3 on
5241     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
5242     ;;
5243   esac
5244   lt_cv_deplibs_check_method=pass_all
5245   ;;
5246
5247 freebsd* | kfreebsd*-gnu)
5248   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5249     case $host_cpu in
5250     i*86 )
5251       # Not sure whether the presence of OpenBSD here was a mistake.
5252       # Let's accept both of them until this is cleared up.
5253       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
5254       lt_cv_file_magic_cmd=/usr/bin/file
5255       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5256       ;;
5257     esac
5258   else
5259     lt_cv_deplibs_check_method=pass_all
5260   fi
5261   ;;
5262
5263 gnu*)
5264   lt_cv_deplibs_check_method=pass_all
5265   ;;
5266
5267 hpux10.20*|hpux11*)
5268   case $host_cpu in
5269   hppa*)
5270     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5271     lt_cv_file_magic_cmd=/usr/bin/file
5272     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5273     ;;
5274   ia64*)
5275     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5276     lt_cv_file_magic_cmd=/usr/bin/file
5277     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5278     ;;
5279   esac
5280   ;;
5281
5282 irix5* | irix6*)
5283   case $host_os in
5284   irix5*)
5285     # this will be overridden with pass_all, but let us keep it just in case
5286     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
5287     ;;
5288   *)
5289     case $LD in
5290     *-32|*"-32 ") libmagic=32-bit;;
5291     *-n32|*"-n32 ") libmagic=N32;;
5292     *-64|*"-64 ") libmagic=64-bit;;
5293     *) libmagic=never-match;;
5294     esac
5295     # this will be overridden with pass_all, but let us keep it just in case
5296     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
5297     ;;
5298   esac
5299   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
5300   lt_cv_deplibs_check_method=pass_all
5301   ;;
5302
5303 # This must be Linux ELF.
5304 linux-gnu*)
5305   lt_cv_deplibs_check_method=pass_all
5306   ;;
5307
5308 netbsd* | knetbsd*-gnu)
5309   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5310     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
5311   else
5312     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
5313   fi
5314   ;;
5315
5316 newsos6)
5317   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5318   lt_cv_file_magic_cmd=/usr/bin/file
5319   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5320   ;;
5321
5322 osf3* | osf4* | osf5*)
5323   # this will be overridden with pass_all, but let us keep it just in case
5324   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
5325   lt_cv_file_magic_test_file=/shlib/libc.so
5326   lt_cv_deplibs_check_method=pass_all
5327   ;;
5328
5329 sco3.2v5*)
5330   lt_cv_deplibs_check_method=pass_all
5331   ;;
5332
5333 solaris*)
5334   lt_cv_deplibs_check_method=pass_all
5335   lt_cv_file_magic_test_file=/lib/libc.so
5336   ;;
5337
5338 sysv5uw[78]* | sysv4*uw2*)
5339   lt_cv_deplibs_check_method=pass_all
5340   ;;
5341
5342 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
5343   case $host_vendor in
5344   ncr)
5345     lt_cv_deplibs_check_method=pass_all
5346     ;;
5347   motorola)
5348     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]'
5349     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5350     ;;
5351   esac
5352   ;;
5353 esac
5354
5355 fi
5356 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5357 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5358 file_magic_cmd=$lt_cv_file_magic_cmd
5359 deplibs_check_method=$lt_cv_deplibs_check_method
5360
5361
5362
5363
5364 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5365
5366 # find the maximum length of command line arguments
5367 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5368 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5369 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5370   echo $ECHO_N "(cached) $ECHO_C" >&6
5371 else
5372     i=0
5373   teststring="ABCD"
5374
5375   case $build_os in
5376   msdosdjgpp*)
5377     # On DJGPP, this test can blow up pretty badly due to problems in libc
5378     # (any single argument exceeding 2000 bytes causes a buffer overrun
5379     # during glob expansion).  Even if it were fixed, the result of this
5380     # check would be larger than it should be.
5381     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5382     ;;
5383
5384   cygwin* | mingw*)
5385     # On Win9x/ME, this test blows up -- it succeeds, but takes
5386     # about 5 minutes as the teststring grows exponentially.
5387     # Worse, since 9x/ME are not pre-emptively multitasking,
5388     # you end up with a "frozen" computer, even though with patience
5389     # the test eventually succeeds (with a max line length of 256k).
5390     # Instead, let's just punt: use the minimum linelength reported by
5391     # all of the supported platforms: 8192 (on NT/2K/XP).
5392     lt_cv_sys_max_cmd_len=8192;
5393     ;;
5394
5395   amigaos*)
5396     # On AmigaOS with pdksh, this test takes hours, literally.
5397     # So we just punt and use a minimum line length of 8192.
5398     lt_cv_sys_max_cmd_len=8192;
5399     ;;
5400
5401   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5402     # This has been around since 386BSD, at least.  Likely further.
5403     if test -x /sbin/sysctl; then
5404       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5405     elif test -x /usr/sbin/sysctl; then
5406       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5407     else
5408       lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
5409     fi
5410     # And add a safety zone
5411     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5412     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5413     ;;
5414   esac
5415
5416 fi
5417
5418 if test -n "$lt_cv_sys_max_cmd_len" ; then
5419   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5420 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5421 else
5422   echo "$as_me:$LINENO: result: none" >&5
5423 echo "${ECHO_T}none" >&6
5424 fi
5425
5426
5427 # Only perform the check for file, if the check method requires it
5428 case $deplibs_check_method in
5429 file_magic*)
5430   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5431     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5432 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5433 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5434   echo $ECHO_N "(cached) $ECHO_C" >&6
5435 else
5436   case $MAGIC_CMD in
5437   /*)
5438   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5439   ;;
5440   ?:/*)
5441   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
5442   ;;
5443   *)
5444   ac_save_MAGIC_CMD="$MAGIC_CMD"
5445   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
5446   ac_dummy="/usr/bin:$PATH"
5447   for ac_dir in $ac_dummy; do
5448     test -z "$ac_dir" && ac_dir=.
5449     if test -f $ac_dir/${ac_tool_prefix}file; then
5450       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
5451       if test -n "$file_magic_test_file"; then
5452         case $deplibs_check_method in
5453         "file_magic "*)
5454           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5455           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5456           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5457             egrep "$file_magic_regex" > /dev/null; then
5458             :
5459           else
5460             cat <<EOF 1>&2
5461
5462 *** Warning: the command libtool uses to detect shared libraries,
5463 *** $file_magic_cmd, produces output that libtool cannot recognize.
5464 *** The result is that libtool may fail to recognize shared libraries
5465 *** as such.  This will affect the creation of libtool libraries that
5466 *** depend on shared libraries, but programs linked with such libtool
5467 *** libraries will work regardless of this problem.  Nevertheless, you
5468 *** may want to report the problem to your system manager and/or to
5469 *** bug-libtool@gnu.org
5470
5471 EOF
5472           fi ;;
5473         esac
5474       fi
5475       break
5476     fi
5477   done
5478   IFS="$ac_save_ifs"
5479   MAGIC_CMD="$ac_save_MAGIC_CMD"
5480   ;;
5481 esac
5482 fi
5483
5484 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5485 if test -n "$MAGIC_CMD"; then
5486   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5487 echo "${ECHO_T}$MAGIC_CMD" >&6
5488 else
5489   echo "$as_me:$LINENO: result: no" >&5
5490 echo "${ECHO_T}no" >&6
5491 fi
5492
5493 if test -z "$lt_cv_path_MAGIC_CMD"; then
5494   if test -n "$ac_tool_prefix"; then
5495     echo "$as_me:$LINENO: checking for file" >&5
5496 echo $ECHO_N "checking for file... $ECHO_C" >&6
5497 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5498   echo $ECHO_N "(cached) $ECHO_C" >&6
5499 else
5500   case $MAGIC_CMD in
5501   /*)
5502   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5503   ;;
5504   ?:/*)
5505   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
5506   ;;
5507   *)
5508   ac_save_MAGIC_CMD="$MAGIC_CMD"
5509   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
5510   ac_dummy="/usr/bin:$PATH"
5511   for ac_dir in $ac_dummy; do
5512     test -z "$ac_dir" && ac_dir=.
5513     if test -f $ac_dir/file; then
5514       lt_cv_path_MAGIC_CMD="$ac_dir/file"
5515       if test -n "$file_magic_test_file"; then
5516         case $deplibs_check_method in
5517         "file_magic "*)
5518           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5519           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5520           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5521             egrep "$file_magic_regex" > /dev/null; then
5522             :
5523           else
5524             cat <<EOF 1>&2
5525
5526 *** Warning: the command libtool uses to detect shared libraries,
5527 *** $file_magic_cmd, produces output that libtool cannot recognize.
5528 *** The result is that libtool may fail to recognize shared libraries
5529 *** as such.  This will affect the creation of libtool libraries that
5530 *** depend on shared libraries, but programs linked with such libtool
5531 *** libraries will work regardless of this problem.  Nevertheless, you
5532 *** may want to report the problem to your system manager and/or to
5533 *** bug-libtool@gnu.org
5534
5535 EOF
5536           fi ;;
5537         esac
5538       fi
5539       break
5540     fi
5541   done
5542   IFS="$ac_save_ifs"
5543   MAGIC_CMD="$ac_save_MAGIC_CMD"
5544   ;;
5545 esac
5546 fi
5547
5548 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5549 if test -n "$MAGIC_CMD"; then
5550   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5551 echo "${ECHO_T}$MAGIC_CMD" >&6
5552 else
5553   echo "$as_me:$LINENO: result: no" >&5
5554 echo "${ECHO_T}no" >&6
5555 fi
5556
5557   else
5558     MAGIC_CMD=:
5559   fi
5560 fi
5561
5562   fi
5563   ;;
5564 esac
5565
5566 if test -n "$ac_tool_prefix"; then
5567   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5568 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5569 echo "$as_me:$LINENO: checking for $ac_word" >&5
5570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5571 if test "${ac_cv_prog_RANLIB+set}" = set; then
5572   echo $ECHO_N "(cached) $ECHO_C" >&6
5573 else
5574   if test -n "$RANLIB"; then
5575   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5576 else
5577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5578 for as_dir in $PATH
5579 do
5580   IFS=$as_save_IFS
5581   test -z "$as_dir" && as_dir=.
5582   for ac_exec_ext in '' $ac_executable_extensions; do
5583   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5584     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5585     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5586     break 2
5587   fi
5588 done
5589 done
5590
5591 fi
5592 fi
5593 RANLIB=$ac_cv_prog_RANLIB
5594 if test -n "$RANLIB"; then
5595   echo "$as_me:$LINENO: result: $RANLIB" >&5
5596 echo "${ECHO_T}$RANLIB" >&6
5597 else
5598   echo "$as_me:$LINENO: result: no" >&5
5599 echo "${ECHO_T}no" >&6
5600 fi
5601
5602 fi
5603 if test -z "$ac_cv_prog_RANLIB"; then
5604   ac_ct_RANLIB=$RANLIB
5605   # Extract the first word of "ranlib", so it can be a program name with args.
5606 set dummy ranlib; ac_word=$2
5607 echo "$as_me:$LINENO: checking for $ac_word" >&5
5608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5609 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5610   echo $ECHO_N "(cached) $ECHO_C" >&6
5611 else
5612   if test -n "$ac_ct_RANLIB"; then
5613   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5614 else
5615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5616 for as_dir in $PATH
5617 do
5618   IFS=$as_save_IFS
5619   test -z "$as_dir" && as_dir=.
5620   for ac_exec_ext in '' $ac_executable_extensions; do
5621   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5622     ac_cv_prog_ac_ct_RANLIB="ranlib"
5623     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5624     break 2
5625   fi
5626 done
5627 done
5628
5629   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5630 fi
5631 fi
5632 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5633 if test -n "$ac_ct_RANLIB"; then
5634   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5635 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5636 else
5637   echo "$as_me:$LINENO: result: no" >&5
5638 echo "${ECHO_T}no" >&6
5639 fi
5640
5641   RANLIB=$ac_ct_RANLIB
5642 else
5643   RANLIB="$ac_cv_prog_RANLIB"
5644 fi
5645
5646 if test -n "$ac_tool_prefix"; then
5647   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5648 set dummy ${ac_tool_prefix}strip; ac_word=$2
5649 echo "$as_me:$LINENO: checking for $ac_word" >&5
5650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5651 if test "${ac_cv_prog_STRIP+set}" = set; then
5652   echo $ECHO_N "(cached) $ECHO_C" >&6
5653 else
5654   if test -n "$STRIP"; then
5655   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5656 else
5657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5658 for as_dir in $PATH
5659 do
5660   IFS=$as_save_IFS
5661   test -z "$as_dir" && as_dir=.
5662   for ac_exec_ext in '' $ac_executable_extensions; do
5663   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5664     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5665     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5666     break 2
5667   fi
5668 done
5669 done
5670
5671 fi
5672 fi
5673 STRIP=$ac_cv_prog_STRIP
5674 if test -n "$STRIP"; then
5675   echo "$as_me:$LINENO: result: $STRIP" >&5
5676 echo "${ECHO_T}$STRIP" >&6
5677 else
5678   echo "$as_me:$LINENO: result: no" >&5
5679 echo "${ECHO_T}no" >&6
5680 fi
5681
5682 fi
5683 if test -z "$ac_cv_prog_STRIP"; then
5684   ac_ct_STRIP=$STRIP
5685   # Extract the first word of "strip", so it can be a program name with args.
5686 set dummy strip; ac_word=$2
5687 echo "$as_me:$LINENO: checking for $ac_word" >&5
5688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5689 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5690   echo $ECHO_N "(cached) $ECHO_C" >&6
5691 else
5692   if test -n "$ac_ct_STRIP"; then
5693   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5694 else
5695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5696 for as_dir in $PATH
5697 do
5698   IFS=$as_save_IFS
5699   test -z "$as_dir" && as_dir=.
5700   for ac_exec_ext in '' $ac_executable_extensions; do
5701   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5702     ac_cv_prog_ac_ct_STRIP="strip"
5703     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5704     break 2
5705   fi
5706 done
5707 done
5708
5709   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5710 fi
5711 fi
5712 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5713 if test -n "$ac_ct_STRIP"; then
5714   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5715 echo "${ECHO_T}$ac_ct_STRIP" >&6
5716 else
5717   echo "$as_me:$LINENO: result: no" >&5
5718 echo "${ECHO_T}no" >&6
5719 fi
5720
5721   STRIP=$ac_ct_STRIP
5722 else
5723   STRIP="$ac_cv_prog_STRIP"
5724 fi
5725
5726
5727 # Check for any special flags to pass to ltconfig.
5728 libtool_flags="--cache-file=$cache_file"
5729 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
5730 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
5731 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
5732 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
5733 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
5734
5735
5736 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5737 if test "${enable_libtool_lock+set}" = set; then
5738   enableval="$enable_libtool_lock"
5739
5740 fi;
5741 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
5742 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
5743
5744
5745 # Check whether --with-pic or --without-pic was given.
5746 if test "${with_pic+set}" = set; then
5747   withval="$with_pic"
5748   pic_mode="$withval"
5749 else
5750   pic_mode=default
5751 fi;
5752 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
5753 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
5754
5755 # Some flags need to be propagated to the compiler or linker for good
5756 # libtool support.
5757 case $host in
5758 *-*-irix6*)
5759   # Find out which ABI we are using.
5760   echo '#line 5760 "configure"' > conftest.$ac_ext
5761   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5762   (eval $ac_compile) 2>&5
5763   ac_status=$?
5764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5765   (exit $ac_status); }; then
5766    if test "$lt_cv_prog_gnu_ld" = yes; then
5767     case `/usr/bin/file conftest.$ac_objext` in
5768     *32-bit*)
5769       LD="${LD-ld} -melf32bsmip"
5770       ;;
5771     *N32*)
5772       LD="${LD-ld} -melf32bmipn32"
5773       ;;
5774     *64-bit*)
5775       LD="${LD-ld} -melf64bmip"
5776       ;;
5777     esac
5778    else
5779     case `/usr/bin/file conftest.$ac_objext` in
5780     *32-bit*)
5781       LD="${LD-ld} -32"
5782       ;;
5783     *N32*)
5784       LD="${LD-ld} -n32"
5785       ;;
5786     *64-bit*)
5787       LD="${LD-ld} -64"
5788       ;;
5789     esac
5790    fi
5791   fi
5792   rm -rf conftest*
5793   ;;
5794
5795 ia64-*-hpux*)
5796   # Find out which ABI we are using.
5797   echo 'int i;' > conftest.$ac_ext
5798   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5799   (eval $ac_compile) 2>&5
5800   ac_status=$?
5801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5802   (exit $ac_status); }; then
5803     case "`/usr/bin/file conftest.o`" in
5804     *ELF-32*)
5805       HPUX_IA64_MODE="32"
5806       ;;
5807     *ELF-64*)
5808       HPUX_IA64_MODE="64"
5809       ;;
5810     esac
5811   fi
5812   rm -rf conftest*
5813   ;;
5814
5815 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
5816   # Find out which ABI we are using.
5817   echo 'int i;' > conftest.$ac_ext
5818   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5819   (eval $ac_compile) 2>&5
5820   ac_status=$?
5821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5822   (exit $ac_status); }; then
5823     case "`/usr/bin/file conftest.o`" in
5824     *32-bit*)
5825       case $host in
5826         x86_64-*linux*)
5827           LD="${LD-ld} -m elf_i386"
5828           ;;
5829         ppc64-*linux*|powerpc64-*linux*)
5830           LD="${LD-ld} -m elf32ppclinux"
5831           ;;
5832         s390x-*linux*)
5833           LD="${LD-ld} -m elf_s390"
5834           ;;
5835         sparc64-*linux*)
5836           LD="${LD-ld} -m elf32_sparc"
5837           ;;
5838       esac
5839       ;;
5840     *64-bit*)
5841       case $host in
5842         x86_64-*linux*)
5843           LD="${LD-ld} -m elf_x86_64"
5844           ;;
5845         ppc*-*linux*|powerpc*-*linux*)
5846           LD="${LD-ld} -m elf64ppc"
5847           ;;
5848         s390*-*linux*)
5849           LD="${LD-ld} -m elf64_s390"
5850           ;;
5851         sparc*-*linux*)
5852           LD="${LD-ld} -m elf64_sparc"
5853           ;;
5854       esac
5855       ;;
5856     esac
5857   fi
5858   rm -rf conftest*
5859   ;;
5860
5861 *-*-sco3.2v5*)
5862   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5863   SAVE_CFLAGS="$CFLAGS"
5864   CFLAGS="$CFLAGS -belf"
5865   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5866 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5867 if test "${lt_cv_cc_needs_belf+set}" = set; then
5868   echo $ECHO_N "(cached) $ECHO_C" >&6
5869 else
5870
5871
5872      ac_ext=c
5873 ac_cpp='$CPP $CPPFLAGS'
5874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5877
5878      if test x$gcc_no_link = xyes; then
5879   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5881    { (exit 1); exit 1; }; }
5882 fi
5883 cat >conftest.$ac_ext <<_ACEOF
5884 /* confdefs.h.  */
5885 _ACEOF
5886 cat confdefs.h >>conftest.$ac_ext
5887 cat >>conftest.$ac_ext <<_ACEOF
5888 /* end confdefs.h.  */
5889
5890 int
5891 main ()
5892 {
5893
5894   ;
5895   return 0;
5896 }
5897 _ACEOF
5898 rm -f conftest.$ac_objext conftest$ac_exeext
5899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5900   (eval $ac_link) 2>conftest.er1
5901   ac_status=$?
5902   grep -v '^ *+' conftest.er1 >conftest.err
5903   rm -f conftest.er1
5904   cat conftest.err >&5
5905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5906   (exit $ac_status); } &&
5907          { ac_try='test -z "$ac_c_werror_flag"
5908                          || test ! -s conftest.err'
5909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5910   (eval $ac_try) 2>&5
5911   ac_status=$?
5912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5913   (exit $ac_status); }; } &&
5914          { ac_try='test -s conftest$ac_exeext'
5915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5916   (eval $ac_try) 2>&5
5917   ac_status=$?
5918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5919   (exit $ac_status); }; }; then
5920   lt_cv_cc_needs_belf=yes
5921 else
5922   echo "$as_me: failed program was:" >&5
5923 sed 's/^/| /' conftest.$ac_ext >&5
5924
5925 lt_cv_cc_needs_belf=no
5926 fi
5927 rm -f conftest.err conftest.$ac_objext \
5928       conftest$ac_exeext conftest.$ac_ext
5929      ac_ext=c
5930 ac_cpp='$CPP $CPPFLAGS'
5931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5934
5935 fi
5936 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5937 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5938   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5939     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5940     CFLAGS="$SAVE_CFLAGS"
5941   fi
5942   ;;
5943
5944
5945 esac
5946
5947
5948 # Save cache, so that ltconfig can load it
5949 cat >confcache <<\_ACEOF
5950 # This file is a shell script that caches the results of configure
5951 # tests run on this system so they can be shared between configure
5952 # scripts and configure runs, see configure's option --config-cache.
5953 # It is not useful on other systems.  If it contains results you don't
5954 # want to keep, you may remove or edit it.
5955 #
5956 # config.status only pays attention to the cache file if you give it
5957 # the --recheck option to rerun configure.
5958 #
5959 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5960 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5961 # following values.
5962
5963 _ACEOF
5964
5965 # The following way of writing the cache mishandles newlines in values,
5966 # but we know of no workaround that is simple, portable, and efficient.
5967 # So, don't put newlines in cache variables' values.
5968 # Ultrix sh set writes to stderr and can't be redirected directly,
5969 # and sets the high bit in the cache file unless we assign to the vars.
5970 {
5971   (set) 2>&1 |
5972     case `(ac_space=' '; set | grep ac_space) 2>&1` in
5973     *ac_space=\ *)
5974       # `set' does not quote correctly, so add quotes (double-quote
5975       # substitution turns \\\\ into \\, and sed turns \\ into \).
5976       sed -n \
5977         "s/'/'\\\\''/g;
5978           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5979       ;;
5980     *)
5981       # `set' quotes correctly as required by POSIX, so do not add quotes.
5982       sed -n \
5983         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5984       ;;
5985     esac;
5986 } |
5987   sed '
5988      t clear
5989      : clear
5990      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5991      t end
5992      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5993      : end' >>confcache
5994 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5995   if test -w $cache_file; then
5996     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5997     cat confcache >$cache_file
5998   else
5999     echo "not updating unwritable cache $cache_file"
6000   fi
6001 fi
6002 rm -f confcache
6003
6004 # Actually configure libtool.  ac_aux_dir is where install-sh is found.
6005 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
6006 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
6007 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
6008 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
6009 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
6010 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
6011 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
6012 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
6013 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
6014 echo "$as_me: error: libtool configure failed" >&2;}
6015    { (exit 1); exit 1; }; }
6016
6017 # Reload cache, that may have been modified by ltconfig
6018 if test -r "$cache_file"; then
6019   # Some versions of bash will fail to source /dev/null (special
6020   # files actually), so we avoid doing that.
6021   if test -f "$cache_file"; then
6022     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
6023 echo "$as_me: loading cache $cache_file" >&6;}
6024     case $cache_file in
6025       [\\/]* | ?:[\\/]* ) . $cache_file;;
6026       *)                      . ./$cache_file;;
6027     esac
6028   fi
6029 else
6030   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
6031 echo "$as_me: creating cache $cache_file" >&6;}
6032   >$cache_file
6033 fi
6034
6035
6036 # This can be used to rebuild libtool when needed
6037 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
6038
6039 # Always use our own libtool.
6040 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6041
6042 # Redirect the config.log output again, so that the ltconfig log is not
6043 # clobbered by the next message.
6044 exec 5>>./config.log
6045
6046
6047
6048
6049
6050
6051 ac_ext=c
6052 ac_cpp='$CPP $CPPFLAGS'
6053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6056 if test -n "$ac_tool_prefix"; then
6057   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
6058 set dummy ${ac_tool_prefix}gcc; ac_word=$2
6059 echo "$as_me:$LINENO: checking for $ac_word" >&5
6060 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6061 if test "${ac_cv_prog_CC+set}" = set; then
6062   echo $ECHO_N "(cached) $ECHO_C" >&6
6063 else
6064   if test -n "$CC"; then
6065   ac_cv_prog_CC="$CC" # Let the user override the test.
6066 else
6067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6068 for as_dir in $PATH
6069 do
6070   IFS=$as_save_IFS
6071   test -z "$as_dir" && as_dir=.
6072   for ac_exec_ext in '' $ac_executable_extensions; do
6073   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6074     ac_cv_prog_CC="${ac_tool_prefix}gcc"
6075     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6076     break 2
6077   fi
6078 done
6079 done
6080
6081 fi
6082 fi
6083 CC=$ac_cv_prog_CC
6084 if test -n "$CC"; then
6085   echo "$as_me:$LINENO: result: $CC" >&5
6086 echo "${ECHO_T}$CC" >&6
6087 else
6088   echo "$as_me:$LINENO: result: no" >&5
6089 echo "${ECHO_T}no" >&6
6090 fi
6091
6092 fi
6093 if test -z "$ac_cv_prog_CC"; then
6094   ac_ct_CC=$CC
6095   # Extract the first word of "gcc", so it can be a program name with args.
6096 set dummy gcc; ac_word=$2
6097 echo "$as_me:$LINENO: checking for $ac_word" >&5
6098 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6099 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6100   echo $ECHO_N "(cached) $ECHO_C" >&6
6101 else
6102   if test -n "$ac_ct_CC"; then
6103   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6104 else
6105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6106 for as_dir in $PATH
6107 do
6108   IFS=$as_save_IFS
6109   test -z "$as_dir" && as_dir=.
6110   for ac_exec_ext in '' $ac_executable_extensions; do
6111   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6112     ac_cv_prog_ac_ct_CC="gcc"
6113     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6114     break 2
6115   fi
6116 done
6117 done
6118
6119 fi
6120 fi
6121 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6122 if test -n "$ac_ct_CC"; then
6123   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6124 echo "${ECHO_T}$ac_ct_CC" >&6
6125 else
6126   echo "$as_me:$LINENO: result: no" >&5
6127 echo "${ECHO_T}no" >&6
6128 fi
6129
6130   CC=$ac_ct_CC
6131 else
6132   CC="$ac_cv_prog_CC"
6133 fi
6134
6135 if test -z "$CC"; then
6136   if test -n "$ac_tool_prefix"; then
6137   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
6138 set dummy ${ac_tool_prefix}cc; ac_word=$2
6139 echo "$as_me:$LINENO: checking for $ac_word" >&5
6140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6141 if test "${ac_cv_prog_CC+set}" = set; then
6142   echo $ECHO_N "(cached) $ECHO_C" >&6
6143 else
6144   if test -n "$CC"; then
6145   ac_cv_prog_CC="$CC" # Let the user override the test.
6146 else
6147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6148 for as_dir in $PATH
6149 do
6150   IFS=$as_save_IFS
6151   test -z "$as_dir" && as_dir=.
6152   for ac_exec_ext in '' $ac_executable_extensions; do
6153   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6154     ac_cv_prog_CC="${ac_tool_prefix}cc"
6155     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6156     break 2
6157   fi
6158 done
6159 done
6160
6161 fi
6162 fi
6163 CC=$ac_cv_prog_CC
6164 if test -n "$CC"; then
6165   echo "$as_me:$LINENO: result: $CC" >&5
6166 echo "${ECHO_T}$CC" >&6
6167 else
6168   echo "$as_me:$LINENO: result: no" >&5
6169 echo "${ECHO_T}no" >&6
6170 fi
6171
6172 fi
6173 if test -z "$ac_cv_prog_CC"; then
6174   ac_ct_CC=$CC
6175   # Extract the first word of "cc", so it can be a program name with args.
6176 set dummy cc; ac_word=$2
6177 echo "$as_me:$LINENO: checking for $ac_word" >&5
6178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6179 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6180   echo $ECHO_N "(cached) $ECHO_C" >&6
6181 else
6182   if test -n "$ac_ct_CC"; then
6183   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6184 else
6185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6186 for as_dir in $PATH
6187 do
6188   IFS=$as_save_IFS
6189   test -z "$as_dir" && as_dir=.
6190   for ac_exec_ext in '' $ac_executable_extensions; do
6191   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6192     ac_cv_prog_ac_ct_CC="cc"
6193     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6194     break 2
6195   fi
6196 done
6197 done
6198
6199 fi
6200 fi
6201 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6202 if test -n "$ac_ct_CC"; then
6203   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6204 echo "${ECHO_T}$ac_ct_CC" >&6
6205 else
6206   echo "$as_me:$LINENO: result: no" >&5
6207 echo "${ECHO_T}no" >&6
6208 fi
6209
6210   CC=$ac_ct_CC
6211 else
6212   CC="$ac_cv_prog_CC"
6213 fi
6214
6215 fi
6216 if test -z "$CC"; then
6217   # Extract the first word of "cc", so it can be a program name with args.
6218 set dummy cc; ac_word=$2
6219 echo "$as_me:$LINENO: checking for $ac_word" >&5
6220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6221 if test "${ac_cv_prog_CC+set}" = set; then
6222   echo $ECHO_N "(cached) $ECHO_C" >&6
6223 else
6224   if test -n "$CC"; then
6225   ac_cv_prog_CC="$CC" # Let the user override the test.
6226 else
6227   ac_prog_rejected=no
6228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6229 for as_dir in $PATH
6230 do
6231   IFS=$as_save_IFS
6232   test -z "$as_dir" && as_dir=.
6233   for ac_exec_ext in '' $ac_executable_extensions; do
6234   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6235     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
6236        ac_prog_rejected=yes
6237        continue
6238      fi
6239     ac_cv_prog_CC="cc"
6240     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6241     break 2
6242   fi
6243 done
6244 done
6245
6246 if test $ac_prog_rejected = yes; then
6247   # We found a bogon in the path, so make sure we never use it.
6248   set dummy $ac_cv_prog_CC
6249   shift
6250   if test $# != 0; then
6251     # We chose a different compiler from the bogus one.
6252     # However, it has the same basename, so the bogon will be chosen
6253     # first if we set CC to just the basename; use the full file name.
6254     shift
6255     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
6256   fi
6257 fi
6258 fi
6259 fi
6260 CC=$ac_cv_prog_CC
6261 if test -n "$CC"; then
6262   echo "$as_me:$LINENO: result: $CC" >&5
6263 echo "${ECHO_T}$CC" >&6
6264 else
6265   echo "$as_me:$LINENO: result: no" >&5
6266 echo "${ECHO_T}no" >&6
6267 fi
6268
6269 fi
6270 if test -z "$CC"; then
6271   if test -n "$ac_tool_prefix"; then
6272   for ac_prog in cl
6273   do
6274     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6275 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6276 echo "$as_me:$LINENO: checking for $ac_word" >&5
6277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6278 if test "${ac_cv_prog_CC+set}" = set; then
6279   echo $ECHO_N "(cached) $ECHO_C" >&6
6280 else
6281   if test -n "$CC"; then
6282   ac_cv_prog_CC="$CC" # Let the user override the test.
6283 else
6284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6285 for as_dir in $PATH
6286 do
6287   IFS=$as_save_IFS
6288   test -z "$as_dir" && as_dir=.
6289   for ac_exec_ext in '' $ac_executable_extensions; do
6290   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6291     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
6292     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6293     break 2
6294   fi
6295 done
6296 done
6297
6298 fi
6299 fi
6300 CC=$ac_cv_prog_CC
6301 if test -n "$CC"; then
6302   echo "$as_me:$LINENO: result: $CC" >&5
6303 echo "${ECHO_T}$CC" >&6
6304 else
6305   echo "$as_me:$LINENO: result: no" >&5
6306 echo "${ECHO_T}no" >&6
6307 fi
6308
6309     test -n "$CC" && break
6310   done
6311 fi
6312 if test -z "$CC"; then
6313   ac_ct_CC=$CC
6314   for ac_prog in cl
6315 do
6316   # Extract the first word of "$ac_prog", so it can be a program name with args.
6317 set dummy $ac_prog; ac_word=$2
6318 echo "$as_me:$LINENO: checking for $ac_word" >&5
6319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6320 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6321   echo $ECHO_N "(cached) $ECHO_C" >&6
6322 else
6323   if test -n "$ac_ct_CC"; then
6324   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6325 else
6326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6327 for as_dir in $PATH
6328 do
6329   IFS=$as_save_IFS
6330   test -z "$as_dir" && as_dir=.
6331   for ac_exec_ext in '' $ac_executable_extensions; do
6332   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6333     ac_cv_prog_ac_ct_CC="$ac_prog"
6334     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6335     break 2
6336   fi
6337 done
6338 done
6339
6340 fi
6341 fi
6342 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6343 if test -n "$ac_ct_CC"; then
6344   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6345 echo "${ECHO_T}$ac_ct_CC" >&6
6346 else
6347   echo "$as_me:$LINENO: result: no" >&5
6348 echo "${ECHO_T}no" >&6
6349 fi
6350
6351   test -n "$ac_ct_CC" && break
6352 done
6353
6354   CC=$ac_ct_CC
6355 fi
6356
6357 fi
6358
6359
6360 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
6361 See \`config.log' for more details." >&5
6362 echo "$as_me: error: no acceptable C compiler found in \$PATH
6363 See \`config.log' for more details." >&2;}
6364    { (exit 1); exit 1; }; }
6365
6366 # Provide some information about the compiler.
6367 echo "$as_me:$LINENO:" \
6368      "checking for C compiler version" >&5
6369 ac_compiler=`set X $ac_compile; echo $2`
6370 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6371   (eval $ac_compiler --version </dev/null >&5) 2>&5
6372   ac_status=$?
6373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6374   (exit $ac_status); }
6375 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6376   (eval $ac_compiler -v </dev/null >&5) 2>&5
6377   ac_status=$?
6378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6379   (exit $ac_status); }
6380 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6381   (eval $ac_compiler -V </dev/null >&5) 2>&5
6382   ac_status=$?
6383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6384   (exit $ac_status); }
6385
6386 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
6387 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
6388 if test "${ac_cv_c_compiler_gnu+set}" = set; then
6389   echo $ECHO_N "(cached) $ECHO_C" >&6
6390 else
6391   cat >conftest.$ac_ext <<_ACEOF
6392 /* confdefs.h.  */
6393 _ACEOF
6394 cat confdefs.h >>conftest.$ac_ext
6395 cat >>conftest.$ac_ext <<_ACEOF
6396 /* end confdefs.h.  */
6397
6398 int
6399 main ()
6400 {
6401 #ifndef __GNUC__
6402        choke me
6403 #endif
6404
6405   ;
6406   return 0;
6407 }
6408 _ACEOF
6409 rm -f conftest.$ac_objext
6410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6411   (eval $ac_compile) 2>conftest.er1
6412   ac_status=$?
6413   grep -v '^ *+' conftest.er1 >conftest.err
6414   rm -f conftest.er1
6415   cat conftest.err >&5
6416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6417   (exit $ac_status); } &&
6418          { ac_try='test -z "$ac_c_werror_flag"
6419                          || test ! -s conftest.err'
6420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6421   (eval $ac_try) 2>&5
6422   ac_status=$?
6423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6424   (exit $ac_status); }; } &&
6425          { ac_try='test -s conftest.$ac_objext'
6426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6427   (eval $ac_try) 2>&5
6428   ac_status=$?
6429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6430   (exit $ac_status); }; }; then
6431   ac_compiler_gnu=yes
6432 else
6433   echo "$as_me: failed program was:" >&5
6434 sed 's/^/| /' conftest.$ac_ext >&5
6435
6436 ac_compiler_gnu=no
6437 fi
6438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6439 ac_cv_c_compiler_gnu=$ac_compiler_gnu
6440
6441 fi
6442 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
6443 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
6444 GCC=`test $ac_compiler_gnu = yes && echo yes`
6445 ac_test_CFLAGS=${CFLAGS+set}
6446 ac_save_CFLAGS=$CFLAGS
6447 CFLAGS="-g"
6448 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
6449 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
6450 if test "${ac_cv_prog_cc_g+set}" = set; then
6451   echo $ECHO_N "(cached) $ECHO_C" >&6
6452 else
6453   cat >conftest.$ac_ext <<_ACEOF
6454 /* confdefs.h.  */
6455 _ACEOF
6456 cat confdefs.h >>conftest.$ac_ext
6457 cat >>conftest.$ac_ext <<_ACEOF
6458 /* end confdefs.h.  */
6459
6460 int
6461 main ()
6462 {
6463
6464   ;
6465   return 0;
6466 }
6467 _ACEOF
6468 rm -f conftest.$ac_objext
6469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6470   (eval $ac_compile) 2>conftest.er1
6471   ac_status=$?
6472   grep -v '^ *+' conftest.er1 >conftest.err
6473   rm -f conftest.er1
6474   cat conftest.err >&5
6475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6476   (exit $ac_status); } &&
6477          { ac_try='test -z "$ac_c_werror_flag"
6478                          || test ! -s conftest.err'
6479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6480   (eval $ac_try) 2>&5
6481   ac_status=$?
6482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6483   (exit $ac_status); }; } &&
6484          { ac_try='test -s conftest.$ac_objext'
6485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6486   (eval $ac_try) 2>&5
6487   ac_status=$?
6488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6489   (exit $ac_status); }; }; then
6490   ac_cv_prog_cc_g=yes
6491 else
6492   echo "$as_me: failed program was:" >&5
6493 sed 's/^/| /' conftest.$ac_ext >&5
6494
6495 ac_cv_prog_cc_g=no
6496 fi
6497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6498 fi
6499 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
6500 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
6501 if test "$ac_test_CFLAGS" = set; then
6502   CFLAGS=$ac_save_CFLAGS
6503 elif test $ac_cv_prog_cc_g = yes; then
6504   if test "$GCC" = yes; then
6505     CFLAGS="-g -O2"
6506   else
6507     CFLAGS="-g"
6508   fi
6509 else
6510   if test "$GCC" = yes; then
6511     CFLAGS="-O2"
6512   else
6513     CFLAGS=
6514   fi
6515 fi
6516 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
6517 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
6518 if test "${ac_cv_prog_cc_stdc+set}" = set; then
6519   echo $ECHO_N "(cached) $ECHO_C" >&6
6520 else
6521   ac_cv_prog_cc_stdc=no
6522 ac_save_CC=$CC
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 #include <stdarg.h>
6530 #include <stdio.h>
6531 #include <sys/types.h>
6532 #include <sys/stat.h>
6533 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
6534 struct buf { int x; };
6535 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6536 static char *e (p, i)
6537      char **p;
6538      int i;
6539 {
6540   return p[i];
6541 }
6542 static char *f (char * (*g) (char **, int), char **p, ...)
6543 {
6544   char *s;
6545   va_list v;
6546   va_start (v,p);
6547   s = g (p, va_arg (v,int));
6548   va_end (v);
6549   return s;
6550 }
6551
6552 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
6553    function prototypes and stuff, but not '\xHH' hex character constants.
6554    These don't provoke an error unfortunately, instead are silently treated
6555    as 'x'.  The following induces an error, until -std1 is added to get
6556    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
6557    array size at least.  It's necessary to write '\x00'==0 to get something
6558    that's true only with -std1.  */
6559 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6560
6561 int test (int i, double x);
6562 struct s1 {int (*f) (int a);};
6563 struct s2 {int (*f) (double a);};
6564 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6565 int argc;
6566 char **argv;
6567 int
6568 main ()
6569 {
6570 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
6571   ;
6572   return 0;
6573 }
6574 _ACEOF
6575 # Don't try gcc -ansi; that turns off useful extensions and
6576 # breaks some systems' header files.
6577 # AIX                   -qlanglvl=ansi
6578 # Ultrix and OSF/1      -std1
6579 # HP-UX 10.20 and later -Ae
6580 # HP-UX older versions  -Aa -D_HPUX_SOURCE
6581 # SVR4                  -Xc -D__EXTENSIONS__
6582 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6583 do
6584   CC="$ac_save_CC $ac_arg"
6585   rm -f conftest.$ac_objext
6586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6587   (eval $ac_compile) 2>conftest.er1
6588   ac_status=$?
6589   grep -v '^ *+' conftest.er1 >conftest.err
6590   rm -f conftest.er1
6591   cat conftest.err >&5
6592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6593   (exit $ac_status); } &&
6594          { ac_try='test -z "$ac_c_werror_flag"
6595                          || test ! -s conftest.err'
6596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6597   (eval $ac_try) 2>&5
6598   ac_status=$?
6599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6600   (exit $ac_status); }; } &&
6601          { ac_try='test -s conftest.$ac_objext'
6602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6603   (eval $ac_try) 2>&5
6604   ac_status=$?
6605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6606   (exit $ac_status); }; }; then
6607   ac_cv_prog_cc_stdc=$ac_arg
6608 break
6609 else
6610   echo "$as_me: failed program was:" >&5
6611 sed 's/^/| /' conftest.$ac_ext >&5
6612
6613 fi
6614 rm -f conftest.err conftest.$ac_objext
6615 done
6616 rm -f conftest.$ac_ext conftest.$ac_objext
6617 CC=$ac_save_CC
6618
6619 fi
6620
6621 case "x$ac_cv_prog_cc_stdc" in
6622   x|xno)
6623     echo "$as_me:$LINENO: result: none needed" >&5
6624 echo "${ECHO_T}none needed" >&6 ;;
6625   *)
6626     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
6627 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
6628     CC="$CC $ac_cv_prog_cc_stdc" ;;
6629 esac
6630
6631 # Some people use a C++ compiler to compile C.  Since we use `exit',
6632 # in C++ we need to declare it.  In case someone uses the same compiler
6633 # for both compiling C and C++ we need to have the C++ compiler decide
6634 # the declaration of exit, since it's the most demanding environment.
6635 cat >conftest.$ac_ext <<_ACEOF
6636 #ifndef __cplusplus
6637   choke me
6638 #endif
6639 _ACEOF
6640 rm -f conftest.$ac_objext
6641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6642   (eval $ac_compile) 2>conftest.er1
6643   ac_status=$?
6644   grep -v '^ *+' conftest.er1 >conftest.err
6645   rm -f conftest.er1
6646   cat conftest.err >&5
6647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6648   (exit $ac_status); } &&
6649          { ac_try='test -z "$ac_c_werror_flag"
6650                          || test ! -s conftest.err'
6651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6652   (eval $ac_try) 2>&5
6653   ac_status=$?
6654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6655   (exit $ac_status); }; } &&
6656          { ac_try='test -s conftest.$ac_objext'
6657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6658   (eval $ac_try) 2>&5
6659   ac_status=$?
6660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6661   (exit $ac_status); }; }; then
6662   for ac_declaration in \
6663    '' \
6664    'extern "C" void std::exit (int) throw (); using std::exit;' \
6665    'extern "C" void std::exit (int); using std::exit;' \
6666    'extern "C" void exit (int) throw ();' \
6667    'extern "C" void exit (int);' \
6668    'void exit (int);'
6669 do
6670   cat >conftest.$ac_ext <<_ACEOF
6671 /* confdefs.h.  */
6672 _ACEOF
6673 cat confdefs.h >>conftest.$ac_ext
6674 cat >>conftest.$ac_ext <<_ACEOF
6675 /* end confdefs.h.  */
6676 $ac_declaration
6677 #include <stdlib.h>
6678 int
6679 main ()
6680 {
6681 exit (42);
6682   ;
6683   return 0;
6684 }
6685 _ACEOF
6686 rm -f conftest.$ac_objext
6687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6688   (eval $ac_compile) 2>conftest.er1
6689   ac_status=$?
6690   grep -v '^ *+' conftest.er1 >conftest.err
6691   rm -f conftest.er1
6692   cat conftest.err >&5
6693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6694   (exit $ac_status); } &&
6695          { ac_try='test -z "$ac_c_werror_flag"
6696                          || test ! -s conftest.err'
6697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6698   (eval $ac_try) 2>&5
6699   ac_status=$?
6700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6701   (exit $ac_status); }; } &&
6702          { ac_try='test -s conftest.$ac_objext'
6703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6704   (eval $ac_try) 2>&5
6705   ac_status=$?
6706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6707   (exit $ac_status); }; }; then
6708   :
6709 else
6710   echo "$as_me: failed program was:" >&5
6711 sed 's/^/| /' conftest.$ac_ext >&5
6712
6713 continue
6714 fi
6715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6716   cat >conftest.$ac_ext <<_ACEOF
6717 /* confdefs.h.  */
6718 _ACEOF
6719 cat confdefs.h >>conftest.$ac_ext
6720 cat >>conftest.$ac_ext <<_ACEOF
6721 /* end confdefs.h.  */
6722 $ac_declaration
6723 int
6724 main ()
6725 {
6726 exit (42);
6727   ;
6728   return 0;
6729 }
6730 _ACEOF
6731 rm -f conftest.$ac_objext
6732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6733   (eval $ac_compile) 2>conftest.er1
6734   ac_status=$?
6735   grep -v '^ *+' conftest.er1 >conftest.err
6736   rm -f conftest.er1
6737   cat conftest.err >&5
6738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6739   (exit $ac_status); } &&
6740          { ac_try='test -z "$ac_c_werror_flag"
6741                          || test ! -s conftest.err'
6742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6743   (eval $ac_try) 2>&5
6744   ac_status=$?
6745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6746   (exit $ac_status); }; } &&
6747          { ac_try='test -s conftest.$ac_objext'
6748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6749   (eval $ac_try) 2>&5
6750   ac_status=$?
6751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6752   (exit $ac_status); }; }; then
6753   break
6754 else
6755   echo "$as_me: failed program was:" >&5
6756 sed 's/^/| /' conftest.$ac_ext >&5
6757
6758 fi
6759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6760 done
6761 rm -f conftest*
6762 if test -n "$ac_declaration"; then
6763   echo '#ifdef __cplusplus' >>confdefs.h
6764   echo $ac_declaration      >>confdefs.h
6765   echo '#endif'             >>confdefs.h
6766 fi
6767
6768 else
6769   echo "$as_me: failed program was:" >&5
6770 sed 's/^/| /' conftest.$ac_ext >&5
6771
6772 fi
6773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6774 ac_ext=c
6775 ac_cpp='$CPP $CPPFLAGS'
6776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6779
6780 depcc="$CC"   am_compiler_list=
6781
6782 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6783 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6784 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
6785   echo $ECHO_N "(cached) $ECHO_C" >&6
6786 else
6787   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6788   # We make a subdir and do the tests there.  Otherwise we can end up
6789   # making bogus files that we don't know about and never remove.  For
6790   # instance it was reported that on HP-UX the gcc test will end up
6791   # making a dummy file named `D' -- because `-MD' means `put the output
6792   # in D'.
6793   mkdir conftest.dir
6794   # Copy depcomp to subdir because otherwise we won't find it if we're
6795   # using a relative directory.
6796   cp "$am_depcomp" conftest.dir
6797   cd conftest.dir
6798   # We will build objects and dependencies in a subdirectory because
6799   # it helps to detect inapplicable dependency modes.  For instance
6800   # both Tru64's cc and ICC support -MD to output dependencies as a
6801   # side effect of compilation, but ICC will put the dependencies in
6802   # the current directory while Tru64 will put them in the object
6803   # directory.
6804   mkdir sub
6805
6806   am_cv_CC_dependencies_compiler_type=none
6807   if test "$am_compiler_list" = ""; then
6808      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6809   fi
6810   for depmode in $am_compiler_list; do
6811     # Setup a source with many dependencies, because some compilers
6812     # like to wrap large dependency lists on column 80 (with \), and
6813     # we should not choose a depcomp mode which is confused by this.
6814     #
6815     # We need to recreate these files for each test, as the compiler may
6816     # overwrite some of them when testing with obscure command lines.
6817     # This happens at least with the AIX C compiler.
6818     : > sub/conftest.c
6819     for i in 1 2 3 4 5 6; do
6820       echo '#include "conftst'$i'.h"' >> sub/conftest.c
6821       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6822       # Solaris 8's {/usr,}/bin/sh.
6823       touch sub/conftst$i.h
6824     done
6825     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6826
6827     case $depmode in
6828     nosideeffect)
6829       # after this tag, mechanisms are not by side-effect, so they'll
6830       # only be used when explicitly requested
6831       if test "x$enable_dependency_tracking" = xyes; then
6832         continue
6833       else
6834         break
6835       fi
6836       ;;
6837     none) break ;;
6838     esac
6839     # We check with `-c' and `-o' for the sake of the "dashmstdout"
6840     # mode.  It turns out that the SunPro C++ compiler does not properly
6841     # handle `-M -o', and we need to detect this.
6842     if depmode=$depmode \
6843        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6844        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6845        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6846          >/dev/null 2>conftest.err &&
6847        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6848        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6849        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6850       # icc doesn't choke on unknown options, it will just issue warnings
6851       # or remarks (even with -Werror).  So we grep stderr for any message
6852       # that says an option was ignored or not supported.
6853       # When given -MP, icc 7.0 and 7.1 complain thusly:
6854       #   icc: Command line warning: ignoring option '-M'; no argument required
6855       # The diagnosis changed in icc 8.0:
6856       #   icc: Command line remark: option '-MP' not supported
6857       if (grep 'ignoring option' conftest.err ||
6858           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6859         am_cv_CC_dependencies_compiler_type=$depmode
6860         break
6861       fi
6862     fi
6863   done
6864
6865   cd ..
6866   rm -rf conftest.dir
6867 else
6868   am_cv_CC_dependencies_compiler_type=none
6869 fi
6870
6871 fi
6872 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
6873 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
6874 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6875
6876
6877
6878 if
6879   test "x$enable_dependency_tracking" != xno \
6880   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6881   am__fastdepCC_TRUE=
6882   am__fastdepCC_FALSE='#'
6883 else
6884   am__fastdepCC_TRUE='#'
6885   am__fastdepCC_FALSE=
6886 fi
6887
6888
6889 ac_ext=c
6890 ac_cpp='$CPP $CPPFLAGS'
6891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6894 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6895 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
6896 # On Suns, sometimes $CPP names a directory.
6897 if test -n "$CPP" && test -d "$CPP"; then
6898   CPP=
6899 fi
6900 if test -z "$CPP"; then
6901   if test "${ac_cv_prog_CPP+set}" = set; then
6902   echo $ECHO_N "(cached) $ECHO_C" >&6
6903 else
6904       # Double quotes because CPP needs to be expanded
6905     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6906     do
6907       ac_preproc_ok=false
6908 for ac_c_preproc_warn_flag in '' yes
6909 do
6910   # Use a header file that comes with gcc, so configuring glibc
6911   # with a fresh cross-compiler works.
6912   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6913   # <limits.h> exists even on freestanding compilers.
6914   # On the NeXT, cc -E runs the code through the compiler's parser,
6915   # not just through cpp. "Syntax error" is here to catch this case.
6916   cat >conftest.$ac_ext <<_ACEOF
6917 /* confdefs.h.  */
6918 _ACEOF
6919 cat confdefs.h >>conftest.$ac_ext
6920 cat >>conftest.$ac_ext <<_ACEOF
6921 /* end confdefs.h.  */
6922 #ifdef __STDC__
6923 # include <limits.h>
6924 #else
6925 # include <assert.h>
6926 #endif
6927                      Syntax error
6928 _ACEOF
6929 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6930   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6931   ac_status=$?
6932   grep -v '^ *+' conftest.er1 >conftest.err
6933   rm -f conftest.er1
6934   cat conftest.err >&5
6935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6936   (exit $ac_status); } >/dev/null; then
6937   if test -s conftest.err; then
6938     ac_cpp_err=$ac_c_preproc_warn_flag
6939     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6940   else
6941     ac_cpp_err=
6942   fi
6943 else
6944   ac_cpp_err=yes
6945 fi
6946 if test -z "$ac_cpp_err"; then
6947   :
6948 else
6949   echo "$as_me: failed program was:" >&5
6950 sed 's/^/| /' conftest.$ac_ext >&5
6951
6952   # Broken: fails on valid input.
6953 continue
6954 fi
6955 rm -f conftest.err conftest.$ac_ext
6956
6957   # OK, works on sane cases.  Now check whether non-existent headers
6958   # can be detected and how.
6959   cat >conftest.$ac_ext <<_ACEOF
6960 /* confdefs.h.  */
6961 _ACEOF
6962 cat confdefs.h >>conftest.$ac_ext
6963 cat >>conftest.$ac_ext <<_ACEOF
6964 /* end confdefs.h.  */
6965 #include <ac_nonexistent.h>
6966 _ACEOF
6967 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6968   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6969   ac_status=$?
6970   grep -v '^ *+' conftest.er1 >conftest.err
6971   rm -f conftest.er1
6972   cat conftest.err >&5
6973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6974   (exit $ac_status); } >/dev/null; then
6975   if test -s conftest.err; then
6976     ac_cpp_err=$ac_c_preproc_warn_flag
6977     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6978   else
6979     ac_cpp_err=
6980   fi
6981 else
6982   ac_cpp_err=yes
6983 fi
6984 if test -z "$ac_cpp_err"; then
6985   # Broken: success on invalid input.
6986 continue
6987 else
6988   echo "$as_me: failed program was:" >&5
6989 sed 's/^/| /' conftest.$ac_ext >&5
6990
6991   # Passes both tests.
6992 ac_preproc_ok=:
6993 break
6994 fi
6995 rm -f conftest.err conftest.$ac_ext
6996
6997 done
6998 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6999 rm -f conftest.err conftest.$ac_ext
7000 if $ac_preproc_ok; then
7001   break
7002 fi
7003
7004     done
7005     ac_cv_prog_CPP=$CPP
7006
7007 fi
7008   CPP=$ac_cv_prog_CPP
7009 else
7010   ac_cv_prog_CPP=$CPP
7011 fi
7012 echo "$as_me:$LINENO: result: $CPP" >&5
7013 echo "${ECHO_T}$CPP" >&6
7014 ac_preproc_ok=false
7015 for ac_c_preproc_warn_flag in '' yes
7016 do
7017   # Use a header file that comes with gcc, so configuring glibc
7018   # with a fresh cross-compiler works.
7019   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7020   # <limits.h> exists even on freestanding compilers.
7021   # On the NeXT, cc -E runs the code through the compiler's parser,
7022   # not just through cpp. "Syntax error" is here to catch this case.
7023   cat >conftest.$ac_ext <<_ACEOF
7024 /* confdefs.h.  */
7025 _ACEOF
7026 cat confdefs.h >>conftest.$ac_ext
7027 cat >>conftest.$ac_ext <<_ACEOF
7028 /* end confdefs.h.  */
7029 #ifdef __STDC__
7030 # include <limits.h>
7031 #else
7032 # include <assert.h>
7033 #endif
7034                      Syntax error
7035 _ACEOF
7036 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7037   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7038   ac_status=$?
7039   grep -v '^ *+' conftest.er1 >conftest.err
7040   rm -f conftest.er1
7041   cat conftest.err >&5
7042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7043   (exit $ac_status); } >/dev/null; then
7044   if test -s conftest.err; then
7045     ac_cpp_err=$ac_c_preproc_warn_flag
7046     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7047   else
7048     ac_cpp_err=
7049   fi
7050 else
7051   ac_cpp_err=yes
7052 fi
7053 if test -z "$ac_cpp_err"; then
7054   :
7055 else
7056   echo "$as_me: failed program was:" >&5
7057 sed 's/^/| /' conftest.$ac_ext >&5
7058
7059   # Broken: fails on valid input.
7060 continue
7061 fi
7062 rm -f conftest.err conftest.$ac_ext
7063
7064   # OK, works on sane cases.  Now check whether non-existent headers
7065   # can be detected and how.
7066   cat >conftest.$ac_ext <<_ACEOF
7067 /* confdefs.h.  */
7068 _ACEOF
7069 cat confdefs.h >>conftest.$ac_ext
7070 cat >>conftest.$ac_ext <<_ACEOF
7071 /* end confdefs.h.  */
7072 #include <ac_nonexistent.h>
7073 _ACEOF
7074 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7075   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7076   ac_status=$?
7077   grep -v '^ *+' conftest.er1 >conftest.err
7078   rm -f conftest.er1
7079   cat conftest.err >&5
7080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7081   (exit $ac_status); } >/dev/null; then
7082   if test -s conftest.err; then
7083     ac_cpp_err=$ac_c_preproc_warn_flag
7084     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7085   else
7086     ac_cpp_err=
7087   fi
7088 else
7089   ac_cpp_err=yes
7090 fi
7091 if test -z "$ac_cpp_err"; then
7092   # Broken: success on invalid input.
7093 continue
7094 else
7095   echo "$as_me: failed program was:" >&5
7096 sed 's/^/| /' conftest.$ac_ext >&5
7097
7098   # Passes both tests.
7099 ac_preproc_ok=:
7100 break
7101 fi
7102 rm -f conftest.err conftest.$ac_ext
7103
7104 done
7105 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7106 rm -f conftest.err conftest.$ac_ext
7107 if $ac_preproc_ok; then
7108   :
7109 else
7110   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7111 See \`config.log' for more details." >&5
7112 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7113 See \`config.log' for more details." >&2;}
7114    { (exit 1); exit 1; }; }
7115 fi
7116
7117 ac_ext=c
7118 ac_cpp='$CPP $CPPFLAGS'
7119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7122
7123 ac_ext=cc
7124 ac_cpp='$CXXCPP $CPPFLAGS'
7125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7128 if test -n "$ac_tool_prefix"; then
7129   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
7130   do
7131     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7132 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7133 echo "$as_me:$LINENO: checking for $ac_word" >&5
7134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7135 if test "${ac_cv_prog_CXX+set}" = set; then
7136   echo $ECHO_N "(cached) $ECHO_C" >&6
7137 else
7138   if test -n "$CXX"; then
7139   ac_cv_prog_CXX="$CXX" # Let the user override the test.
7140 else
7141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7142 for as_dir in $PATH
7143 do
7144   IFS=$as_save_IFS
7145   test -z "$as_dir" && as_dir=.
7146   for ac_exec_ext in '' $ac_executable_extensions; do
7147   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7148     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7149     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7150     break 2
7151   fi
7152 done
7153 done
7154
7155 fi
7156 fi
7157 CXX=$ac_cv_prog_CXX
7158 if test -n "$CXX"; then
7159   echo "$as_me:$LINENO: result: $CXX" >&5
7160 echo "${ECHO_T}$CXX" >&6
7161 else
7162   echo "$as_me:$LINENO: result: no" >&5
7163 echo "${ECHO_T}no" >&6
7164 fi
7165
7166     test -n "$CXX" && break
7167   done
7168 fi
7169 if test -z "$CXX"; then
7170   ac_ct_CXX=$CXX
7171   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
7172 do
7173   # Extract the first word of "$ac_prog", so it can be a program name with args.
7174 set dummy $ac_prog; ac_word=$2
7175 echo "$as_me:$LINENO: checking for $ac_word" >&5
7176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7177 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
7178   echo $ECHO_N "(cached) $ECHO_C" >&6
7179 else
7180   if test -n "$ac_ct_CXX"; then
7181   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7182 else
7183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7184 for as_dir in $PATH
7185 do
7186   IFS=$as_save_IFS
7187   test -z "$as_dir" && as_dir=.
7188   for ac_exec_ext in '' $ac_executable_extensions; do
7189   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7190     ac_cv_prog_ac_ct_CXX="$ac_prog"
7191     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7192     break 2
7193   fi
7194 done
7195 done
7196
7197 fi
7198 fi
7199 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7200 if test -n "$ac_ct_CXX"; then
7201   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
7202 echo "${ECHO_T}$ac_ct_CXX" >&6
7203 else
7204   echo "$as_me:$LINENO: result: no" >&5
7205 echo "${ECHO_T}no" >&6
7206 fi
7207
7208   test -n "$ac_ct_CXX" && break
7209 done
7210 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
7211
7212   CXX=$ac_ct_CXX
7213 fi
7214
7215
7216 # Provide some information about the compiler.
7217 echo "$as_me:$LINENO:" \
7218      "checking for C++ compiler version" >&5
7219 ac_compiler=`set X $ac_compile; echo $2`
7220 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
7221   (eval $ac_compiler --version </dev/null >&5) 2>&5
7222   ac_status=$?
7223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7224   (exit $ac_status); }
7225 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
7226   (eval $ac_compiler -v </dev/null >&5) 2>&5
7227   ac_status=$?
7228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7229   (exit $ac_status); }
7230 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
7231   (eval $ac_compiler -V </dev/null >&5) 2>&5
7232   ac_status=$?
7233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7234   (exit $ac_status); }
7235
7236 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
7237 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
7238 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
7239   echo $ECHO_N "(cached) $ECHO_C" >&6
7240 else
7241   cat >conftest.$ac_ext <<_ACEOF
7242 /* confdefs.h.  */
7243 _ACEOF
7244 cat confdefs.h >>conftest.$ac_ext
7245 cat >>conftest.$ac_ext <<_ACEOF
7246 /* end confdefs.h.  */
7247
7248 int
7249 main ()
7250 {
7251 #ifndef __GNUC__
7252        choke me
7253 #endif
7254
7255   ;
7256   return 0;
7257 }
7258 _ACEOF
7259 rm -f conftest.$ac_objext
7260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7261   (eval $ac_compile) 2>conftest.er1
7262   ac_status=$?
7263   grep -v '^ *+' conftest.er1 >conftest.err
7264   rm -f conftest.er1
7265   cat conftest.err >&5
7266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7267   (exit $ac_status); } &&
7268          { ac_try='test -z "$ac_cxx_werror_flag"
7269                          || test ! -s conftest.err'
7270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7271   (eval $ac_try) 2>&5
7272   ac_status=$?
7273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7274   (exit $ac_status); }; } &&
7275          { ac_try='test -s conftest.$ac_objext'
7276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7277   (eval $ac_try) 2>&5
7278   ac_status=$?
7279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7280   (exit $ac_status); }; }; then
7281   ac_compiler_gnu=yes
7282 else
7283   echo "$as_me: failed program was:" >&5
7284 sed 's/^/| /' conftest.$ac_ext >&5
7285
7286 ac_compiler_gnu=no
7287 fi
7288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7289 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7290
7291 fi
7292 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
7293 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
7294 GXX=`test $ac_compiler_gnu = yes && echo yes`
7295 ac_test_CXXFLAGS=${CXXFLAGS+set}
7296 ac_save_CXXFLAGS=$CXXFLAGS
7297 CXXFLAGS="-g"
7298 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
7299 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
7300 if test "${ac_cv_prog_cxx_g+set}" = set; then
7301   echo $ECHO_N "(cached) $ECHO_C" >&6
7302 else
7303   cat >conftest.$ac_ext <<_ACEOF
7304 /* confdefs.h.  */
7305 _ACEOF
7306 cat confdefs.h >>conftest.$ac_ext
7307 cat >>conftest.$ac_ext <<_ACEOF
7308 /* end confdefs.h.  */
7309
7310 int
7311 main ()
7312 {
7313
7314   ;
7315   return 0;
7316 }
7317 _ACEOF
7318 rm -f conftest.$ac_objext
7319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7320   (eval $ac_compile) 2>conftest.er1
7321   ac_status=$?
7322   grep -v '^ *+' conftest.er1 >conftest.err
7323   rm -f conftest.er1
7324   cat conftest.err >&5
7325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7326   (exit $ac_status); } &&
7327          { ac_try='test -z "$ac_cxx_werror_flag"
7328                          || test ! -s conftest.err'
7329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7330   (eval $ac_try) 2>&5
7331   ac_status=$?
7332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7333   (exit $ac_status); }; } &&
7334          { ac_try='test -s conftest.$ac_objext'
7335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7336   (eval $ac_try) 2>&5
7337   ac_status=$?
7338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7339   (exit $ac_status); }; }; then
7340   ac_cv_prog_cxx_g=yes
7341 else
7342   echo "$as_me: failed program was:" >&5
7343 sed 's/^/| /' conftest.$ac_ext >&5
7344
7345 ac_cv_prog_cxx_g=no
7346 fi
7347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7348 fi
7349 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7350 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
7351 if test "$ac_test_CXXFLAGS" = set; then
7352   CXXFLAGS=$ac_save_CXXFLAGS
7353 elif test $ac_cv_prog_cxx_g = yes; then
7354   if test "$GXX" = yes; then
7355     CXXFLAGS="-g -O2"
7356   else
7357     CXXFLAGS="-g"
7358   fi
7359 else
7360   if test "$GXX" = yes; then
7361     CXXFLAGS="-O2"
7362   else
7363     CXXFLAGS=
7364   fi
7365 fi
7366 for ac_declaration in \
7367    '' \
7368    'extern "C" void std::exit (int) throw (); using std::exit;' \
7369    'extern "C" void std::exit (int); using std::exit;' \
7370    'extern "C" void exit (int) throw ();' \
7371    'extern "C" void exit (int);' \
7372    'void exit (int);'
7373 do
7374   cat >conftest.$ac_ext <<_ACEOF
7375 /* confdefs.h.  */
7376 _ACEOF
7377 cat confdefs.h >>conftest.$ac_ext
7378 cat >>conftest.$ac_ext <<_ACEOF
7379 /* end confdefs.h.  */
7380 $ac_declaration
7381 #include <stdlib.h>
7382 int
7383 main ()
7384 {
7385 exit (42);
7386   ;
7387   return 0;
7388 }
7389 _ACEOF
7390 rm -f conftest.$ac_objext
7391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7392   (eval $ac_compile) 2>conftest.er1
7393   ac_status=$?
7394   grep -v '^ *+' conftest.er1 >conftest.err
7395   rm -f conftest.er1
7396   cat conftest.err >&5
7397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7398   (exit $ac_status); } &&
7399          { ac_try='test -z "$ac_cxx_werror_flag"
7400                          || test ! -s conftest.err'
7401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7402   (eval $ac_try) 2>&5
7403   ac_status=$?
7404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7405   (exit $ac_status); }; } &&
7406          { ac_try='test -s conftest.$ac_objext'
7407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7408   (eval $ac_try) 2>&5
7409   ac_status=$?
7410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7411   (exit $ac_status); }; }; then
7412   :
7413 else
7414   echo "$as_me: failed program was:" >&5
7415 sed 's/^/| /' conftest.$ac_ext >&5
7416
7417 continue
7418 fi
7419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7420   cat >conftest.$ac_ext <<_ACEOF
7421 /* confdefs.h.  */
7422 _ACEOF
7423 cat confdefs.h >>conftest.$ac_ext
7424 cat >>conftest.$ac_ext <<_ACEOF
7425 /* end confdefs.h.  */
7426 $ac_declaration
7427 int
7428 main ()
7429 {
7430 exit (42);
7431   ;
7432   return 0;
7433 }
7434 _ACEOF
7435 rm -f conftest.$ac_objext
7436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7437   (eval $ac_compile) 2>conftest.er1
7438   ac_status=$?
7439   grep -v '^ *+' conftest.er1 >conftest.err
7440   rm -f conftest.er1
7441   cat conftest.err >&5
7442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7443   (exit $ac_status); } &&
7444          { ac_try='test -z "$ac_cxx_werror_flag"
7445                          || test ! -s conftest.err'
7446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7447   (eval $ac_try) 2>&5
7448   ac_status=$?
7449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7450   (exit $ac_status); }; } &&
7451          { ac_try='test -s conftest.$ac_objext'
7452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7453   (eval $ac_try) 2>&5
7454   ac_status=$?
7455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7456   (exit $ac_status); }; }; then
7457   break
7458 else
7459   echo "$as_me: failed program was:" >&5
7460 sed 's/^/| /' conftest.$ac_ext >&5
7461
7462 fi
7463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7464 done
7465 rm -f conftest*
7466 if test -n "$ac_declaration"; then
7467   echo '#ifdef __cplusplus' >>confdefs.h
7468   echo $ac_declaration      >>confdefs.h
7469   echo '#endif'             >>confdefs.h
7470 fi
7471
7472 ac_ext=c
7473 ac_cpp='$CPP $CPPFLAGS'
7474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7477
7478 depcc="$CXX"  am_compiler_list=
7479
7480 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
7481 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
7482 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
7483   echo $ECHO_N "(cached) $ECHO_C" >&6
7484 else
7485   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7486   # We make a subdir and do the tests there.  Otherwise we can end up
7487   # making bogus files that we don't know about and never remove.  For
7488   # instance it was reported that on HP-UX the gcc test will end up
7489   # making a dummy file named `D' -- because `-MD' means `put the output
7490   # in D'.
7491   mkdir conftest.dir
7492   # Copy depcomp to subdir because otherwise we won't find it if we're
7493   # using a relative directory.
7494   cp "$am_depcomp" conftest.dir
7495   cd conftest.dir
7496   # We will build objects and dependencies in a subdirectory because
7497   # it helps to detect inapplicable dependency modes.  For instance
7498   # both Tru64's cc and ICC support -MD to output dependencies as a
7499   # side effect of compilation, but ICC will put the dependencies in
7500   # the current directory while Tru64 will put them in the object
7501   # directory.
7502   mkdir sub
7503
7504   am_cv_CXX_dependencies_compiler_type=none
7505   if test "$am_compiler_list" = ""; then
7506      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7507   fi
7508   for depmode in $am_compiler_list; do
7509     # Setup a source with many dependencies, because some compilers
7510     # like to wrap large dependency lists on column 80 (with \), and
7511     # we should not choose a depcomp mode which is confused by this.
7512     #
7513     # We need to recreate these files for each test, as the compiler may
7514     # overwrite some of them when testing with obscure command lines.
7515     # This happens at least with the AIX C compiler.
7516     : > sub/conftest.c
7517     for i in 1 2 3 4 5 6; do
7518       echo '#include "conftst'$i'.h"' >> sub/conftest.c
7519       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
7520       # Solaris 8's {/usr,}/bin/sh.
7521       touch sub/conftst$i.h
7522     done
7523     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7524
7525     case $depmode in
7526     nosideeffect)
7527       # after this tag, mechanisms are not by side-effect, so they'll
7528       # only be used when explicitly requested
7529       if test "x$enable_dependency_tracking" = xyes; then
7530         continue
7531       else
7532         break
7533       fi
7534       ;;
7535     none) break ;;
7536     esac
7537     # We check with `-c' and `-o' for the sake of the "dashmstdout"
7538     # mode.  It turns out that the SunPro C++ compiler does not properly
7539     # handle `-M -o', and we need to detect this.
7540     if depmode=$depmode \
7541        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
7542        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7543        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
7544          >/dev/null 2>conftest.err &&
7545        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7546        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
7547        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7548       # icc doesn't choke on unknown options, it will just issue warnings
7549       # or remarks (even with -Werror).  So we grep stderr for any message
7550       # that says an option was ignored or not supported.
7551       # When given -MP, icc 7.0 and 7.1 complain thusly:
7552       #   icc: Command line warning: ignoring option '-M'; no argument required
7553       # The diagnosis changed in icc 8.0:
7554       #   icc: Command line remark: option '-MP' not supported
7555       if (grep 'ignoring option' conftest.err ||
7556           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7557         am_cv_CXX_dependencies_compiler_type=$depmode
7558         break
7559       fi
7560     fi
7561   done
7562
7563   cd ..
7564   rm -rf conftest.dir
7565 else
7566   am_cv_CXX_dependencies_compiler_type=none
7567 fi
7568
7569 fi
7570 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
7571 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
7572 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
7573
7574
7575
7576 if
7577   test "x$enable_dependency_tracking" != xno \
7578   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
7579   am__fastdepCXX_TRUE=
7580   am__fastdepCXX_FALSE='#'
7581 else
7582   am__fastdepCXX_TRUE='#'
7583   am__fastdepCXX_FALSE=
7584 fi
7585
7586 ac_ext=cc
7587 ac_cpp='$CXXCPP $CPPFLAGS'
7588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7591 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7592 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
7593 if test -z "$CXXCPP"; then
7594   if test "${ac_cv_prog_CXXCPP+set}" = set; then
7595   echo $ECHO_N "(cached) $ECHO_C" >&6
7596 else
7597       # Double quotes because CXXCPP needs to be expanded
7598     for CXXCPP in "$CXX -E" "/lib/cpp"
7599     do
7600       ac_preproc_ok=false
7601 for ac_cxx_preproc_warn_flag in '' yes
7602 do
7603   # Use a header file that comes with gcc, so configuring glibc
7604   # with a fresh cross-compiler works.
7605   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7606   # <limits.h> exists even on freestanding compilers.
7607   # On the NeXT, cc -E runs the code through the compiler's parser,
7608   # not just through cpp. "Syntax error" is here to catch this case.
7609   cat >conftest.$ac_ext <<_ACEOF
7610 /* confdefs.h.  */
7611 _ACEOF
7612 cat confdefs.h >>conftest.$ac_ext
7613 cat >>conftest.$ac_ext <<_ACEOF
7614 /* end confdefs.h.  */
7615 #ifdef __STDC__
7616 # include <limits.h>
7617 #else
7618 # include <assert.h>
7619 #endif
7620                      Syntax error
7621 _ACEOF
7622 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7623   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7624   ac_status=$?
7625   grep -v '^ *+' conftest.er1 >conftest.err
7626   rm -f conftest.er1
7627   cat conftest.err >&5
7628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7629   (exit $ac_status); } >/dev/null; then
7630   if test -s conftest.err; then
7631     ac_cpp_err=$ac_cxx_preproc_warn_flag
7632     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7633   else
7634     ac_cpp_err=
7635   fi
7636 else
7637   ac_cpp_err=yes
7638 fi
7639 if test -z "$ac_cpp_err"; then
7640   :
7641 else
7642   echo "$as_me: failed program was:" >&5
7643 sed 's/^/| /' conftest.$ac_ext >&5
7644
7645   # Broken: fails on valid input.
7646 continue
7647 fi
7648 rm -f conftest.err conftest.$ac_ext
7649
7650   # OK, works on sane cases.  Now check whether non-existent headers
7651   # can be detected and how.
7652   cat >conftest.$ac_ext <<_ACEOF
7653 /* confdefs.h.  */
7654 _ACEOF
7655 cat confdefs.h >>conftest.$ac_ext
7656 cat >>conftest.$ac_ext <<_ACEOF
7657 /* end confdefs.h.  */
7658 #include <ac_nonexistent.h>
7659 _ACEOF
7660 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7661   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7662   ac_status=$?
7663   grep -v '^ *+' conftest.er1 >conftest.err
7664   rm -f conftest.er1
7665   cat conftest.err >&5
7666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7667   (exit $ac_status); } >/dev/null; then
7668   if test -s conftest.err; then
7669     ac_cpp_err=$ac_cxx_preproc_warn_flag
7670     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7671   else
7672     ac_cpp_err=
7673   fi
7674 else
7675   ac_cpp_err=yes
7676 fi
7677 if test -z "$ac_cpp_err"; then
7678   # Broken: success on invalid input.
7679 continue
7680 else
7681   echo "$as_me: failed program was:" >&5
7682 sed 's/^/| /' conftest.$ac_ext >&5
7683
7684   # Passes both tests.
7685 ac_preproc_ok=:
7686 break
7687 fi
7688 rm -f conftest.err conftest.$ac_ext
7689
7690 done
7691 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7692 rm -f conftest.err conftest.$ac_ext
7693 if $ac_preproc_ok; then
7694   break
7695 fi
7696
7697     done
7698     ac_cv_prog_CXXCPP=$CXXCPP
7699
7700 fi
7701   CXXCPP=$ac_cv_prog_CXXCPP
7702 else
7703   ac_cv_prog_CXXCPP=$CXXCPP
7704 fi
7705 echo "$as_me:$LINENO: result: $CXXCPP" >&5
7706 echo "${ECHO_T}$CXXCPP" >&6
7707 ac_preproc_ok=false
7708 for ac_cxx_preproc_warn_flag in '' yes
7709 do
7710   # Use a header file that comes with gcc, so configuring glibc
7711   # with a fresh cross-compiler works.
7712   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7713   # <limits.h> exists even on freestanding compilers.
7714   # On the NeXT, cc -E runs the code through the compiler's parser,
7715   # not just through cpp. "Syntax error" is here to catch this case.
7716   cat >conftest.$ac_ext <<_ACEOF
7717 /* confdefs.h.  */
7718 _ACEOF
7719 cat confdefs.h >>conftest.$ac_ext
7720 cat >>conftest.$ac_ext <<_ACEOF
7721 /* end confdefs.h.  */
7722 #ifdef __STDC__
7723 # include <limits.h>
7724 #else
7725 # include <assert.h>
7726 #endif
7727                      Syntax error
7728 _ACEOF
7729 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7730   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7731   ac_status=$?
7732   grep -v '^ *+' conftest.er1 >conftest.err
7733   rm -f conftest.er1
7734   cat conftest.err >&5
7735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7736   (exit $ac_status); } >/dev/null; then
7737   if test -s conftest.err; then
7738     ac_cpp_err=$ac_cxx_preproc_warn_flag
7739     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7740   else
7741     ac_cpp_err=
7742   fi
7743 else
7744   ac_cpp_err=yes
7745 fi
7746 if test -z "$ac_cpp_err"; then
7747   :
7748 else
7749   echo "$as_me: failed program was:" >&5
7750 sed 's/^/| /' conftest.$ac_ext >&5
7751
7752   # Broken: fails on valid input.
7753 continue
7754 fi
7755 rm -f conftest.err conftest.$ac_ext
7756
7757   # OK, works on sane cases.  Now check whether non-existent headers
7758   # can be detected and how.
7759   cat >conftest.$ac_ext <<_ACEOF
7760 /* confdefs.h.  */
7761 _ACEOF
7762 cat confdefs.h >>conftest.$ac_ext
7763 cat >>conftest.$ac_ext <<_ACEOF
7764 /* end confdefs.h.  */
7765 #include <ac_nonexistent.h>
7766 _ACEOF
7767 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7768   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7769   ac_status=$?
7770   grep -v '^ *+' conftest.er1 >conftest.err
7771   rm -f conftest.er1
7772   cat conftest.err >&5
7773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7774   (exit $ac_status); } >/dev/null; then
7775   if test -s conftest.err; then
7776     ac_cpp_err=$ac_cxx_preproc_warn_flag
7777     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7778   else
7779     ac_cpp_err=
7780   fi
7781 else
7782   ac_cpp_err=yes
7783 fi
7784 if test -z "$ac_cpp_err"; then
7785   # Broken: success on invalid input.
7786 continue
7787 else
7788   echo "$as_me: failed program was:" >&5
7789 sed 's/^/| /' conftest.$ac_ext >&5
7790
7791   # Passes both tests.
7792 ac_preproc_ok=:
7793 break
7794 fi
7795 rm -f conftest.err conftest.$ac_ext
7796
7797 done
7798 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7799 rm -f conftest.err conftest.$ac_ext
7800 if $ac_preproc_ok; then
7801   :
7802 else
7803   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7804 See \`config.log' for more details." >&5
7805 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7806 See \`config.log' for more details." >&2;}
7807    { (exit 1); exit 1; }; }
7808 fi
7809
7810 ac_ext=c
7811 ac_cpp='$CPP $CPPFLAGS'
7812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7815
7816
7817
7818 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
7819 lt_save_CC="$CC"
7820 lt_save_CFLAGS="$CFLAGS"
7821 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
7822 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
7823 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
7824 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
7825 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
7826 deplibs_check_method="$deplibs_check_method" \
7827 file_magic_cmd="$file_magic_cmd" \
7828 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
7829 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
7830 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
7831 echo "$as_me: error: libtool tag configuration failed" >&2;}
7832    { (exit 1); exit 1; }; }
7833 CC="$lt_save_CC"
7834 CFLAGS="$lt_save_CFLAGS"
7835
7836 # Redirect the config.log output again, so that the ltconfig log is not
7837 # clobbered by the next message.
7838 exec 5>>./config.log
7839
7840
7841
7842
7843 # Handle -Werror default case.
7844 if test "$ENABLE_WERROR" = default; then
7845   case "$host_os" in
7846     *linux*)
7847       if test "$GCC" = yes; then
7848         ENABLE_WERROR=yes
7849       fi
7850       ;;
7851   esac
7852 fi
7853
7854 if test "x${COMPILE_COLLECTIONS}" = xyes; then
7855   # Extract the first word of "perl", so it can be a program name with args.
7856 set dummy perl; ac_word=$2
7857 echo "$as_me:$LINENO: checking for $ac_word" >&5
7858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7859 if test "${ac_cv_path_PERL+set}" = set; then
7860   echo $ECHO_N "(cached) $ECHO_C" >&6
7861 else
7862   case $PERL in
7863   [\\/]* | ?:[\\/]*)
7864   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
7865   ;;
7866   *)
7867   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7868 for as_dir in $PATH
7869 do
7870   IFS=$as_save_IFS
7871   test -z "$as_dir" && as_dir=.
7872   for ac_exec_ext in '' $ac_executable_extensions; do
7873   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7874     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
7875     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7876     break 2
7877   fi
7878 done
7879 done
7880
7881   ;;
7882 esac
7883 fi
7884 PERL=$ac_cv_path_PERL
7885
7886 if test -n "$PERL"; then
7887   echo "$as_me:$LINENO: result: $PERL" >&5
7888 echo "${ECHO_T}$PERL" >&6
7889 else
7890   echo "$as_me:$LINENO: result: no" >&5
7891 echo "${ECHO_T}no" >&6
7892 fi
7893
7894
7895
7896             ac_config_files="$ac_config_files lib/mkcollections.pl"
7897
7898             ac_config_commands="$ac_config_commands mkcollections.pl"
7899
7900 fi
7901
7902 if test "x${COMPILE_JNI}" = xyes; then
7903
7904
7905
7906  echo "$as_me:$LINENO: checking __attribute__((,,))" >&5
7907 echo $ECHO_N "checking __attribute__((,,))... $ECHO_C" >&6
7908  if test "${cv_c_gcc_attribute_supported+set}" = set; then
7909   echo $ECHO_N "(cached) $ECHO_C" >&6
7910 else
7911
7912   cat >conftest.$ac_ext <<_ACEOF
7913 /* confdefs.h.  */
7914 _ACEOF
7915 cat confdefs.h >>conftest.$ac_ext
7916 cat >>conftest.$ac_ext <<_ACEOF
7917 /* end confdefs.h.  */
7918
7919 int
7920 main ()
7921 {
7922 extern int testfunction(int x) __attribute__((,,))
7923   ;
7924   return 0;
7925 }
7926 _ACEOF
7927 rm -f conftest.$ac_objext
7928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7929   (eval $ac_compile) 2>conftest.er1
7930   ac_status=$?
7931   grep -v '^ *+' conftest.er1 >conftest.err
7932   rm -f conftest.er1
7933   cat conftest.err >&5
7934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7935   (exit $ac_status); } &&
7936          { ac_try='test -z "$ac_c_werror_flag"
7937                          || test ! -s conftest.err'
7938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7939   (eval $ac_try) 2>&5
7940   ac_status=$?
7941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7942   (exit $ac_status); }; } &&
7943          { ac_try='test -s conftest.$ac_objext'
7944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7945   (eval $ac_try) 2>&5
7946   ac_status=$?
7947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7948   (exit $ac_status); }; }; then
7949   cv_c_gcc_attribute_supported=yes
7950 else
7951   echo "$as_me: failed program was:" >&5
7952 sed 's/^/| /' conftest.$ac_ext >&5
7953
7954 cv_c_gcc_attribute_supported=no
7955 fi
7956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7957
7958 fi
7959
7960  if test "x$cv_c_gcc_attribute_supported" = xyes; then
7961   true
7962   echo "$as_me:$LINENO: result: yes" >&5
7963 echo "${ECHO_T}yes" >&6
7964
7965 cat >>confdefs.h <<\_ACEOF
7966 #define HAVE_GNUC25_ATTRIB
7967 _ACEOF
7968
7969
7970  else
7971   true
7972   echo "$as_me:$LINENO: result: no" >&5
7973 echo "${ECHO_T}no" >&6
7974
7975  fi
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986  echo "$as_me:$LINENO: checking __attribute__((unused))" >&5
7987 echo $ECHO_N "checking __attribute__((unused))... $ECHO_C" >&6
7988  if test "${cv_c_gcc_attribute_unused+set}" = set; then
7989   echo $ECHO_N "(cached) $ECHO_C" >&6
7990 else
7991
7992   cat >conftest.$ac_ext <<_ACEOF
7993 /* confdefs.h.  */
7994 _ACEOF
7995 cat confdefs.h >>conftest.$ac_ext
7996 cat >>conftest.$ac_ext <<_ACEOF
7997 /* end confdefs.h.  */
7998
7999 int
8000 main ()
8001 {
8002 extern int testfunction(int x) __attribute__((unused))
8003   ;
8004   return 0;
8005 }
8006 _ACEOF
8007 rm -f conftest.$ac_objext
8008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8009   (eval $ac_compile) 2>conftest.er1
8010   ac_status=$?
8011   grep -v '^ *+' conftest.er1 >conftest.err
8012   rm -f conftest.er1
8013   cat conftest.err >&5
8014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8015   (exit $ac_status); } &&
8016          { ac_try='test -z "$ac_c_werror_flag"
8017                          || test ! -s conftest.err'
8018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8019   (eval $ac_try) 2>&5
8020   ac_status=$?
8021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8022   (exit $ac_status); }; } &&
8023          { ac_try='test -s conftest.$ac_objext'
8024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8025   (eval $ac_try) 2>&5
8026   ac_status=$?
8027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8028   (exit $ac_status); }; }; then
8029   cv_c_gcc_attribute_unused=yes
8030 else
8031   echo "$as_me: failed program was:" >&5
8032 sed 's/^/| /' conftest.$ac_ext >&5
8033
8034 cv_c_gcc_attribute_unused=no
8035 fi
8036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8037
8038 fi
8039
8040  if test "x$cv_c_gcc_attribute_unused" = xyes; then
8041   true
8042   echo "$as_me:$LINENO: result: yes" >&5
8043 echo "${ECHO_T}yes" >&6
8044
8045 cat >>confdefs.h <<\_ACEOF
8046 #define HAVE_GNUC25_UNUSED
8047 _ACEOF
8048
8049
8050  else
8051   true
8052   echo "$as_me:$LINENO: result: no" >&5
8053 echo "${ECHO_T}no" >&6
8054
8055  fi
8056
8057
8058
8059
8060
8061
8062   echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8063 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
8064 if test "${ac_cv_header_stdc+set}" = set; then
8065   echo $ECHO_N "(cached) $ECHO_C" >&6
8066 else
8067   cat >conftest.$ac_ext <<_ACEOF
8068 /* confdefs.h.  */
8069 _ACEOF
8070 cat confdefs.h >>conftest.$ac_ext
8071 cat >>conftest.$ac_ext <<_ACEOF
8072 /* end confdefs.h.  */
8073 #include <stdlib.h>
8074 #include <stdarg.h>
8075 #include <string.h>
8076 #include <float.h>
8077
8078 int
8079 main ()
8080 {
8081
8082   ;
8083   return 0;
8084 }
8085 _ACEOF
8086 rm -f conftest.$ac_objext
8087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8088   (eval $ac_compile) 2>conftest.er1
8089   ac_status=$?
8090   grep -v '^ *+' conftest.er1 >conftest.err
8091   rm -f conftest.er1
8092   cat conftest.err >&5
8093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8094   (exit $ac_status); } &&
8095          { ac_try='test -z "$ac_c_werror_flag"
8096                          || test ! -s conftest.err'
8097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8098   (eval $ac_try) 2>&5
8099   ac_status=$?
8100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8101   (exit $ac_status); }; } &&
8102          { ac_try='test -s conftest.$ac_objext'
8103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8104   (eval $ac_try) 2>&5
8105   ac_status=$?
8106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8107   (exit $ac_status); }; }; then
8108   ac_cv_header_stdc=yes
8109 else
8110   echo "$as_me: failed program was:" >&5
8111 sed 's/^/| /' conftest.$ac_ext >&5
8112
8113 ac_cv_header_stdc=no
8114 fi
8115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8116
8117 if test $ac_cv_header_stdc = yes; then
8118   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8119   cat >conftest.$ac_ext <<_ACEOF
8120 /* confdefs.h.  */
8121 _ACEOF
8122 cat confdefs.h >>conftest.$ac_ext
8123 cat >>conftest.$ac_ext <<_ACEOF
8124 /* end confdefs.h.  */
8125 #include <string.h>
8126
8127 _ACEOF
8128 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8129   $EGREP "memchr" >/dev/null 2>&1; then
8130   :
8131 else
8132   ac_cv_header_stdc=no
8133 fi
8134 rm -f conftest*
8135
8136 fi
8137
8138 if test $ac_cv_header_stdc = yes; then
8139   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8140   cat >conftest.$ac_ext <<_ACEOF
8141 /* confdefs.h.  */
8142 _ACEOF
8143 cat confdefs.h >>conftest.$ac_ext
8144 cat >>conftest.$ac_ext <<_ACEOF
8145 /* end confdefs.h.  */
8146 #include <stdlib.h>
8147
8148 _ACEOF
8149 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8150   $EGREP "free" >/dev/null 2>&1; then
8151   :
8152 else
8153   ac_cv_header_stdc=no
8154 fi
8155 rm -f conftest*
8156
8157 fi
8158
8159 if test $ac_cv_header_stdc = yes; then
8160   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8161   if test "$cross_compiling" = yes; then
8162   :
8163 else
8164   cat >conftest.$ac_ext <<_ACEOF
8165 /* confdefs.h.  */
8166 _ACEOF
8167 cat confdefs.h >>conftest.$ac_ext
8168 cat >>conftest.$ac_ext <<_ACEOF
8169 /* end confdefs.h.  */
8170 #include <ctype.h>
8171 #if ((' ' & 0x0FF) == 0x020)
8172 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8173 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8174 #else
8175 # define ISLOWER(c) \
8176                    (('a' <= (c) && (c) <= 'i') \
8177                      || ('j' <= (c) && (c) <= 'r') \
8178                      || ('s' <= (c) && (c) <= 'z'))
8179 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8180 #endif
8181
8182 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8183 int
8184 main ()
8185 {
8186   int i;
8187   for (i = 0; i < 256; i++)
8188     if (XOR (islower (i), ISLOWER (i))
8189         || toupper (i) != TOUPPER (i))
8190       exit(2);
8191   exit (0);
8192 }
8193 _ACEOF
8194 rm -f conftest$ac_exeext
8195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8196   (eval $ac_link) 2>&5
8197   ac_status=$?
8198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8199   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8201   (eval $ac_try) 2>&5
8202   ac_status=$?
8203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8204   (exit $ac_status); }; }; then
8205   :
8206 else
8207   echo "$as_me: program exited with status $ac_status" >&5
8208 echo "$as_me: failed program was:" >&5
8209 sed 's/^/| /' conftest.$ac_ext >&5
8210
8211 ( exit $ac_status )
8212 ac_cv_header_stdc=no
8213 fi
8214 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8215 fi
8216 fi
8217 fi
8218 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8219 echo "${ECHO_T}$ac_cv_header_stdc" >&6
8220 if test $ac_cv_header_stdc = yes; then
8221
8222 cat >>confdefs.h <<\_ACEOF
8223 #define STDC_HEADERS 1
8224 _ACEOF
8225
8226 fi
8227
8228
8229       echo "$as_me:$LINENO: checking size of void *" >&5
8230 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
8231 if test "${ac_cv_sizeof_void_p+set}" = set; then
8232   echo $ECHO_N "(cached) $ECHO_C" >&6
8233 else
8234   for ac_size in 4 8 1 2 16 12  ; do # List sizes in rough order of prevalence.
8235   cat >conftest.$ac_ext <<_ACEOF
8236 /* confdefs.h.  */
8237 _ACEOF
8238 cat confdefs.h >>conftest.$ac_ext
8239 cat >>conftest.$ac_ext <<_ACEOF
8240 /* end confdefs.h.  */
8241 #include "confdefs.h"
8242 #include <sys/types.h>
8243
8244
8245 int
8246 main ()
8247 {
8248 switch (0) case 0: case (sizeof (void *) == $ac_size):;
8249   ;
8250   return 0;
8251 }
8252 _ACEOF
8253 rm -f conftest.$ac_objext
8254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8255   (eval $ac_compile) 2>conftest.er1
8256   ac_status=$?
8257   grep -v '^ *+' conftest.er1 >conftest.err
8258   rm -f conftest.er1
8259   cat conftest.err >&5
8260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8261   (exit $ac_status); } &&
8262          { ac_try='test -z "$ac_c_werror_flag"
8263                          || test ! -s conftest.err'
8264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8265   (eval $ac_try) 2>&5
8266   ac_status=$?
8267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8268   (exit $ac_status); }; } &&
8269          { ac_try='test -s conftest.$ac_objext'
8270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8271   (eval $ac_try) 2>&5
8272   ac_status=$?
8273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8274   (exit $ac_status); }; }; then
8275   ac_cv_sizeof_void_p=$ac_size
8276 else
8277   echo "$as_me: failed program was:" >&5
8278 sed 's/^/| /' conftest.$ac_ext >&5
8279
8280 fi
8281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8282   if test x$ac_cv_sizeof_void_p != x ; then break; fi
8283 done
8284
8285 fi
8286
8287 if test x$ac_cv_sizeof_void_p = x ; then
8288   { { echo "$as_me:$LINENO: error: cannot determine a size for void *" >&5
8289 echo "$as_me: error: cannot determine a size for void *" >&2;}
8290    { (exit 1); exit 1; }; }
8291 fi
8292 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
8293 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
8294
8295 cat >>confdefs.h <<_ACEOF
8296 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
8297 _ACEOF
8298
8299
8300
8301     echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
8302 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
8303 if test "${ac_cv_c_bigendian+set}" = set; then
8304   echo $ECHO_N "(cached) $ECHO_C" >&6
8305 else
8306   ac_cv_c_bigendian=unknown
8307 # See if sys/param.h defines the BYTE_ORDER macro.
8308 cat >conftest.$ac_ext <<_ACEOF
8309 /* confdefs.h.  */
8310 _ACEOF
8311 cat confdefs.h >>conftest.$ac_ext
8312 cat >>conftest.$ac_ext <<_ACEOF
8313 /* end confdefs.h.  */
8314 #include <sys/types.h>
8315 #include <sys/param.h>
8316 int
8317 main ()
8318 {
8319
8320 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
8321  bogus endian macros
8322 #endif
8323   ;
8324   return 0;
8325 }
8326 _ACEOF
8327 rm -f conftest.$ac_objext
8328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8329   (eval $ac_compile) 2>conftest.er1
8330   ac_status=$?
8331   grep -v '^ *+' conftest.er1 >conftest.err
8332   rm -f conftest.er1
8333   cat conftest.err >&5
8334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8335   (exit $ac_status); } &&
8336          { ac_try='test -z "$ac_c_werror_flag"
8337                          || test ! -s conftest.err'
8338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8339   (eval $ac_try) 2>&5
8340   ac_status=$?
8341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8342   (exit $ac_status); }; } &&
8343          { ac_try='test -s conftest.$ac_objext'
8344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8345   (eval $ac_try) 2>&5
8346   ac_status=$?
8347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8348   (exit $ac_status); }; }; then
8349   # It does; now see whether it defined to BIG_ENDIAN or not.
8350 cat >conftest.$ac_ext <<_ACEOF
8351 /* confdefs.h.  */
8352 _ACEOF
8353 cat confdefs.h >>conftest.$ac_ext
8354 cat >>conftest.$ac_ext <<_ACEOF
8355 /* end confdefs.h.  */
8356 #include <sys/types.h>
8357 #include <sys/param.h>
8358 int
8359 main ()
8360 {
8361
8362 #if BYTE_ORDER != BIG_ENDIAN
8363  not big endian
8364 #endif
8365   ;
8366   return 0;
8367 }
8368 _ACEOF
8369 rm -f conftest.$ac_objext
8370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8371   (eval $ac_compile) 2>conftest.er1
8372   ac_status=$?
8373   grep -v '^ *+' conftest.er1 >conftest.err
8374   rm -f conftest.er1
8375   cat conftest.err >&5
8376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8377   (exit $ac_status); } &&
8378          { ac_try='test -z "$ac_c_werror_flag"
8379                          || test ! -s conftest.err'
8380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8381   (eval $ac_try) 2>&5
8382   ac_status=$?
8383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8384   (exit $ac_status); }; } &&
8385          { ac_try='test -s conftest.$ac_objext'
8386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8387   (eval $ac_try) 2>&5
8388   ac_status=$?
8389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8390   (exit $ac_status); }; }; then
8391   ac_cv_c_bigendian=yes
8392 else
8393   echo "$as_me: failed program was:" >&5
8394 sed 's/^/| /' conftest.$ac_ext >&5
8395
8396 ac_cv_c_bigendian=no
8397 fi
8398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8399 else
8400   echo "$as_me: failed program was:" >&5
8401 sed 's/^/| /' conftest.$ac_ext >&5
8402
8403 fi
8404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8405 if test $ac_cv_c_bigendian = unknown; then
8406 if test "$cross_compiling" = yes; then
8407    echo $ac_n "cross-compiling... " 2>&6
8408 else
8409   cat >conftest.$ac_ext <<_ACEOF
8410 /* confdefs.h.  */
8411 _ACEOF
8412 cat confdefs.h >>conftest.$ac_ext
8413 cat >>conftest.$ac_ext <<_ACEOF
8414 /* end confdefs.h.  */
8415 main () {
8416   /* Are we little or big endian?  From Harbison&Steele.  */
8417   union
8418   {
8419     long l;
8420     char c[sizeof (long)];
8421   } u;
8422   u.l = 1;
8423   exit (u.c[sizeof (long) - 1] == 1);
8424 }
8425 _ACEOF
8426 rm -f conftest$ac_exeext
8427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8428   (eval $ac_link) 2>&5
8429   ac_status=$?
8430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8431   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8433   (eval $ac_try) 2>&5
8434   ac_status=$?
8435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8436   (exit $ac_status); }; }; then
8437   ac_cv_c_bigendian=no
8438 else
8439   echo "$as_me: program exited with status $ac_status" >&5
8440 echo "$as_me: failed program was:" >&5
8441 sed 's/^/| /' conftest.$ac_ext >&5
8442
8443 ( exit $ac_status )
8444 ac_cv_c_bigendian=yes
8445 fi
8446 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8447 fi
8448 fi
8449 fi
8450 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
8451 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
8452 if test $ac_cv_c_bigendian = unknown; then
8453 echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
8454 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6
8455
8456 cat >conftest.c <<EOF
8457 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
8458 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
8459 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
8460 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
8461 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
8462 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
8463 int main() { _ascii (); _ebcdic (); return 0; }
8464 EOF
8465  if test -f conftest.c ; then
8466      if ${CC-cc} ${CFLAGS} -c conftest.c -o conftest.o && test -f conftest.o ; then
8467         if test `grep -l BIGenDianSyS conftest.o` ; then
8468            echo $ac_n ' big endian probe OK, ' 1>&6
8469            ac_cv_c_bigendian=yes
8470         fi
8471         if test `grep -l LiTTleEnDian conftest.o` ; then
8472            echo $ac_n ' little endian probe OK, ' 1>&6
8473            if test $ac_cv_c_bigendian = yes ; then
8474             ac_cv_c_bigendian=unknown;
8475            else
8476             ac_cv_c_bigendian=no
8477            fi
8478         fi
8479         echo $ac_n 'guessing bigendian ...  ' >&6
8480      fi
8481   fi
8482 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
8483 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
8484 fi
8485 if test $ac_cv_c_bigendian = yes; then
8486
8487 cat >>confdefs.h <<\_ACEOF
8488 #define WORDS_BIGENDIAN 1
8489 _ACEOF
8490
8491
8492 cat >>confdefs.h <<\_ACEOF
8493 #define HOST_WORDS_BIG_ENDIAN 1
8494 _ACEOF
8495
8496   BYTEORDER=4321
8497 else
8498   BYTEORDER=1234
8499 fi
8500
8501 cat >>confdefs.h <<_ACEOF
8502 #define BYTEORDER $BYTEORDER
8503 _ACEOF
8504
8505 if test $ac_cv_c_bigendian = unknown; then
8506   { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5
8507 echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;}
8508    { (exit 1); exit 1; }; }
8509 fi
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531 for ac_header in unistd.h sys/types.h sys/config.h sys/ioctl.h \
8532                     asm/ioctls.h \
8533                     inttypes.h stdint.h utime.h sys/utime.h sys/filio.h \
8534                     sys/time.h \
8535                     sys/select.h \
8536                     crt_externs.h \
8537                     fcntl.h \
8538                     sys/mman.h \
8539                     magic.h \
8540                     sys/event.h sys/epoll.h \
8541                     ifaddrs.h
8542 do
8543 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8544 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8545   echo "$as_me:$LINENO: checking for $ac_header" >&5
8546 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8547 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8548   echo $ECHO_N "(cached) $ECHO_C" >&6
8549 fi
8550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8551 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8552 else
8553   # Is the header compilable?
8554 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8555 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8556 cat >conftest.$ac_ext <<_ACEOF
8557 /* confdefs.h.  */
8558 _ACEOF
8559 cat confdefs.h >>conftest.$ac_ext
8560 cat >>conftest.$ac_ext <<_ACEOF
8561 /* end confdefs.h.  */
8562 $ac_includes_default
8563 #include <$ac_header>
8564 _ACEOF
8565 rm -f conftest.$ac_objext
8566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8567   (eval $ac_compile) 2>conftest.er1
8568   ac_status=$?
8569   grep -v '^ *+' conftest.er1 >conftest.err
8570   rm -f conftest.er1
8571   cat conftest.err >&5
8572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8573   (exit $ac_status); } &&
8574          { ac_try='test -z "$ac_c_werror_flag"
8575                          || test ! -s conftest.err'
8576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8577   (eval $ac_try) 2>&5
8578   ac_status=$?
8579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8580   (exit $ac_status); }; } &&
8581          { ac_try='test -s conftest.$ac_objext'
8582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8583   (eval $ac_try) 2>&5
8584   ac_status=$?
8585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8586   (exit $ac_status); }; }; then
8587   ac_header_compiler=yes
8588 else
8589   echo "$as_me: failed program was:" >&5
8590 sed 's/^/| /' conftest.$ac_ext >&5
8591
8592 ac_header_compiler=no
8593 fi
8594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8595 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8596 echo "${ECHO_T}$ac_header_compiler" >&6
8597
8598 # Is the header present?
8599 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8600 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8601 cat >conftest.$ac_ext <<_ACEOF
8602 /* confdefs.h.  */
8603 _ACEOF
8604 cat confdefs.h >>conftest.$ac_ext
8605 cat >>conftest.$ac_ext <<_ACEOF
8606 /* end confdefs.h.  */
8607 #include <$ac_header>
8608 _ACEOF
8609 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8610   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8611   ac_status=$?
8612   grep -v '^ *+' conftest.er1 >conftest.err
8613   rm -f conftest.er1
8614   cat conftest.err >&5
8615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8616   (exit $ac_status); } >/dev/null; then
8617   if test -s conftest.err; then
8618     ac_cpp_err=$ac_c_preproc_warn_flag
8619     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8620   else
8621     ac_cpp_err=
8622   fi
8623 else
8624   ac_cpp_err=yes
8625 fi
8626 if test -z "$ac_cpp_err"; then
8627   ac_header_preproc=yes
8628 else
8629   echo "$as_me: failed program was:" >&5
8630 sed 's/^/| /' conftest.$ac_ext >&5
8631
8632   ac_header_preproc=no
8633 fi
8634 rm -f conftest.err conftest.$ac_ext
8635 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8636 echo "${ECHO_T}$ac_header_preproc" >&6
8637
8638 # So?  What about this header?
8639 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8640   yes:no: )
8641     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8642 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8643     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8644 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8645     ac_header_preproc=yes
8646     ;;
8647   no:yes:* )
8648     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8649 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8650     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
8651 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
8652     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8653 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8654     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
8655 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
8656     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8657 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8658     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8659 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8660     (
8661       cat <<\_ASBOX
8662 ## -------------------------------- ##
8663 ## Report this to classpath@gnu.org ##
8664 ## -------------------------------- ##
8665 _ASBOX
8666     ) |
8667       sed "s/^/$as_me: WARNING:     /" >&2
8668     ;;
8669 esac
8670 echo "$as_me:$LINENO: checking for $ac_header" >&5
8671 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8672 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8673   echo $ECHO_N "(cached) $ECHO_C" >&6
8674 else
8675   eval "$as_ac_Header=\$ac_header_preproc"
8676 fi
8677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8678 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8679
8680 fi
8681 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8682   cat >>confdefs.h <<_ACEOF
8683 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8684 _ACEOF
8685
8686 fi
8687
8688 done
8689
8690
8691   cat >conftest.$ac_ext <<_ACEOF
8692 /* confdefs.h.  */
8693 _ACEOF
8694 cat confdefs.h >>conftest.$ac_ext
8695 cat >>conftest.$ac_ext <<_ACEOF
8696 /* end confdefs.h.  */
8697 #include <stdint.h>
8698
8699 _ACEOF
8700 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8701   $EGREP "uint32_t" >/dev/null 2>&1; then
8702
8703 cat >>confdefs.h <<\_ACEOF
8704 #define HAVE_INT32_DEFINED 1
8705 _ACEOF
8706
8707 fi
8708 rm -f conftest*
8709
8710   cat >conftest.$ac_ext <<_ACEOF
8711 /* confdefs.h.  */
8712 _ACEOF
8713 cat confdefs.h >>conftest.$ac_ext
8714 cat >>conftest.$ac_ext <<_ACEOF
8715 /* end confdefs.h.  */
8716 #include <inttypes.h>
8717
8718 _ACEOF
8719 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8720   $EGREP "uint32_t" >/dev/null 2>&1; then
8721
8722 cat >>confdefs.h <<\_ACEOF
8723 #define HAVE_INT32_DEFINED 1
8724 _ACEOF
8725
8726 fi
8727 rm -f conftest*
8728
8729   cat >conftest.$ac_ext <<_ACEOF
8730 /* confdefs.h.  */
8731 _ACEOF
8732 cat confdefs.h >>conftest.$ac_ext
8733 cat >>conftest.$ac_ext <<_ACEOF
8734 /* end confdefs.h.  */
8735 #include <sys/types.h>
8736
8737 _ACEOF
8738 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8739   $EGREP "u_int32_t" >/dev/null 2>&1; then
8740
8741 cat >>confdefs.h <<\_ACEOF
8742 #define HAVE_BSD_INT32_DEFINED 1
8743 _ACEOF
8744
8745 fi
8746 rm -f conftest*
8747
8748   cat >conftest.$ac_ext <<_ACEOF
8749 /* confdefs.h.  */
8750 _ACEOF
8751 cat confdefs.h >>conftest.$ac_ext
8752 cat >>conftest.$ac_ext <<_ACEOF
8753 /* end confdefs.h.  */
8754 #include <sys/config.h>
8755
8756 _ACEOF
8757 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8758   $EGREP "u_int32_t" >/dev/null 2>&1; then
8759
8760 cat >>confdefs.h <<\_ACEOF
8761 #define HAVE_BSD_INT32_DEFINED 1
8762 _ACEOF
8763
8764 fi
8765 rm -f conftest*
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822 for ac_func in ftruncate fsync select \
8823                   gethostname socket strerror fork pipe execve open close \
8824                   lseek fstat read readv write writev htonl memset htons connect \
8825                   getsockname getpeername bind listen accept \
8826                   recvfrom send sendto setsockopt getsockopt time mktime \
8827                   gethostbyname_r localtime_r \
8828                   strerror_r \
8829                   fcntl \
8830                   mmap munmap mincore msync madvise getpagesize sysconf \
8831                   lstat readlink \
8832                   inet_aton inet_addr inet_pton \
8833                   getifaddrs kqueue kevent epoll_create \
8834                   readdir_r
8835 do
8836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8837 echo "$as_me:$LINENO: checking for $ac_func" >&5
8838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8839 if eval "test \"\${$as_ac_var+set}\" = set"; then
8840   echo $ECHO_N "(cached) $ECHO_C" >&6
8841 else
8842   if test x$gcc_no_link = xyes; then
8843   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8845    { (exit 1); exit 1; }; }
8846 fi
8847 cat >conftest.$ac_ext <<_ACEOF
8848 /* confdefs.h.  */
8849 _ACEOF
8850 cat confdefs.h >>conftest.$ac_ext
8851 cat >>conftest.$ac_ext <<_ACEOF
8852 /* end confdefs.h.  */
8853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8854    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8855 #define $ac_func innocuous_$ac_func
8856
8857 /* System header to define __stub macros and hopefully few prototypes,
8858     which can conflict with char $ac_func (); below.
8859     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8860     <limits.h> exists even on freestanding compilers.  */
8861
8862 #ifdef __STDC__
8863 # include <limits.h>
8864 #else
8865 # include <assert.h>
8866 #endif
8867
8868 #undef $ac_func
8869
8870 /* Override any gcc2 internal prototype to avoid an error.  */
8871 #ifdef __cplusplus
8872 extern "C"
8873 {
8874 #endif
8875 /* We use char because int might match the return type of a gcc2
8876    builtin and then its argument prototype would still apply.  */
8877 char $ac_func ();
8878 /* The GNU C library defines this for functions which it implements
8879     to always fail with ENOSYS.  Some functions are actually named
8880     something starting with __ and the normal name is an alias.  */
8881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8882 choke me
8883 #else
8884 char (*f) () = $ac_func;
8885 #endif
8886 #ifdef __cplusplus
8887 }
8888 #endif
8889
8890 int
8891 main ()
8892 {
8893 return f != $ac_func;
8894   ;
8895   return 0;
8896 }
8897 _ACEOF
8898 rm -f conftest.$ac_objext conftest$ac_exeext
8899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8900   (eval $ac_link) 2>conftest.er1
8901   ac_status=$?
8902   grep -v '^ *+' conftest.er1 >conftest.err
8903   rm -f conftest.er1
8904   cat conftest.err >&5
8905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8906   (exit $ac_status); } &&
8907          { ac_try='test -z "$ac_c_werror_flag"
8908                          || test ! -s conftest.err'
8909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8910   (eval $ac_try) 2>&5
8911   ac_status=$?
8912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8913   (exit $ac_status); }; } &&
8914          { ac_try='test -s conftest$ac_exeext'
8915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8916   (eval $ac_try) 2>&5
8917   ac_status=$?
8918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8919   (exit $ac_status); }; }; then
8920   eval "$as_ac_var=yes"
8921 else
8922   echo "$as_me: failed program was:" >&5
8923 sed 's/^/| /' conftest.$ac_ext >&5
8924
8925 eval "$as_ac_var=no"
8926 fi
8927 rm -f conftest.err conftest.$ac_objext \
8928       conftest$ac_exeext conftest.$ac_ext
8929 fi
8930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8932 if test `eval echo '${'$as_ac_var'}'` = yes; then
8933   cat >>confdefs.h <<_ACEOF
8934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8935 _ACEOF
8936
8937 fi
8938 done
8939
8940
8941   LIBMAGIC=
8942   echo "$as_me:$LINENO: checking for magic_open in -lmagic" >&5
8943 echo $ECHO_N "checking for magic_open in -lmagic... $ECHO_C" >&6
8944 if test "${ac_cv_lib_magic_magic_open+set}" = set; then
8945   echo $ECHO_N "(cached) $ECHO_C" >&6
8946 else
8947   ac_check_lib_save_LIBS=$LIBS
8948 LIBS="-lmagic  $LIBS"
8949 if test x$gcc_no_link = xyes; then
8950   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8952    { (exit 1); exit 1; }; }
8953 fi
8954 cat >conftest.$ac_ext <<_ACEOF
8955 /* confdefs.h.  */
8956 _ACEOF
8957 cat confdefs.h >>conftest.$ac_ext
8958 cat >>conftest.$ac_ext <<_ACEOF
8959 /* end confdefs.h.  */
8960
8961 /* Override any gcc2 internal prototype to avoid an error.  */
8962 #ifdef __cplusplus
8963 extern "C"
8964 #endif
8965 /* We use char because int might match the return type of a gcc2
8966    builtin and then its argument prototype would still apply.  */
8967 char magic_open ();
8968 int
8969 main ()
8970 {
8971 magic_open ();
8972   ;
8973   return 0;
8974 }
8975 _ACEOF
8976 rm -f conftest.$ac_objext conftest$ac_exeext
8977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8978   (eval $ac_link) 2>conftest.er1
8979   ac_status=$?
8980   grep -v '^ *+' conftest.er1 >conftest.err
8981   rm -f conftest.er1
8982   cat conftest.err >&5
8983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8984   (exit $ac_status); } &&
8985          { ac_try='test -z "$ac_c_werror_flag"
8986                          || test ! -s conftest.err'
8987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8988   (eval $ac_try) 2>&5
8989   ac_status=$?
8990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8991   (exit $ac_status); }; } &&
8992          { ac_try='test -s conftest$ac_exeext'
8993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8994   (eval $ac_try) 2>&5
8995   ac_status=$?
8996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8997   (exit $ac_status); }; }; then
8998   ac_cv_lib_magic_magic_open=yes
8999 else
9000   echo "$as_me: failed program was:" >&5
9001 sed 's/^/| /' conftest.$ac_ext >&5
9002
9003 ac_cv_lib_magic_magic_open=no
9004 fi
9005 rm -f conftest.err conftest.$ac_objext \
9006       conftest$ac_exeext conftest.$ac_ext
9007 LIBS=$ac_check_lib_save_LIBS
9008 fi
9009 echo "$as_me:$LINENO: result: $ac_cv_lib_magic_magic_open" >&5
9010 echo "${ECHO_T}$ac_cv_lib_magic_magic_open" >&6
9011 if test $ac_cv_lib_magic_magic_open = yes; then
9012   LIBMAGIC=-lmagic
9013 fi
9014
9015
9016
9017   echo "$as_me:$LINENO: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
9018 echo $ECHO_N "checking whether struct sockaddr_in6 is in netinet/in.h... $ECHO_C" >&6
9019   cat >conftest.$ac_ext <<_ACEOF
9020 /* confdefs.h.  */
9021 _ACEOF
9022 cat confdefs.h >>conftest.$ac_ext
9023 cat >>conftest.$ac_ext <<_ACEOF
9024 /* end confdefs.h.  */
9025 #include <netinet/in.h>
9026 int
9027 main ()
9028 {
9029 struct sockaddr_in6 addr6;
9030   ;
9031   return 0;
9032 }
9033 _ACEOF
9034 rm -f conftest.$ac_objext
9035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9036   (eval $ac_compile) 2>conftest.er1
9037   ac_status=$?
9038   grep -v '^ *+' conftest.er1 >conftest.err
9039   rm -f conftest.er1
9040   cat conftest.err >&5
9041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9042   (exit $ac_status); } &&
9043          { ac_try='test -z "$ac_c_werror_flag"
9044                          || test ! -s conftest.err'
9045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9046   (eval $ac_try) 2>&5
9047   ac_status=$?
9048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9049   (exit $ac_status); }; } &&
9050          { ac_try='test -s conftest.$ac_objext'
9051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9052   (eval $ac_try) 2>&5
9053   ac_status=$?
9054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9055   (exit $ac_status); }; }; then
9056
9057 cat >>confdefs.h <<\_ACEOF
9058 #define HAVE_INET6 1
9059 _ACEOF
9060
9061                      echo "$as_me:$LINENO: result: yes" >&5
9062 echo "${ECHO_T}yes" >&6
9063 else
9064   echo "$as_me: failed program was:" >&5
9065 sed 's/^/| /' conftest.$ac_ext >&5
9066
9067 echo "$as_me:$LINENO: result: no" >&5
9068 echo "${ECHO_T}no" >&6
9069 fi
9070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9071
9072   echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
9073 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
9074 if test "${ac_cv_header_time+set}" = set; then
9075   echo $ECHO_N "(cached) $ECHO_C" >&6
9076 else
9077   cat >conftest.$ac_ext <<_ACEOF
9078 /* confdefs.h.  */
9079 _ACEOF
9080 cat confdefs.h >>conftest.$ac_ext
9081 cat >>conftest.$ac_ext <<_ACEOF
9082 /* end confdefs.h.  */
9083 #include <sys/types.h>
9084 #include <sys/time.h>
9085 #include <time.h>
9086
9087 int
9088 main ()
9089 {
9090 if ((struct tm *) 0)
9091 return 0;
9092   ;
9093   return 0;
9094 }
9095 _ACEOF
9096 rm -f conftest.$ac_objext
9097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9098   (eval $ac_compile) 2>conftest.er1
9099   ac_status=$?
9100   grep -v '^ *+' conftest.er1 >conftest.err
9101   rm -f conftest.er1
9102   cat conftest.err >&5
9103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9104   (exit $ac_status); } &&
9105          { ac_try='test -z "$ac_c_werror_flag"
9106                          || test ! -s conftest.err'
9107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9108   (eval $ac_try) 2>&5
9109   ac_status=$?
9110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9111   (exit $ac_status); }; } &&
9112          { ac_try='test -s conftest.$ac_objext'
9113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9114   (eval $ac_try) 2>&5
9115   ac_status=$?
9116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9117   (exit $ac_status); }; }; then
9118   ac_cv_header_time=yes
9119 else
9120   echo "$as_me: failed program was:" >&5
9121 sed 's/^/| /' conftest.$ac_ext >&5
9122
9123 ac_cv_header_time=no
9124 fi
9125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9126 fi
9127 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
9128 echo "${ECHO_T}$ac_cv_header_time" >&6
9129 if test $ac_cv_header_time = yes; then
9130
9131 cat >>confdefs.h <<\_ACEOF
9132 #define TIME_WITH_SYS_TIME 1
9133 _ACEOF
9134
9135 fi
9136
9137   echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
9138 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
9139 if test "${ac_cv_struct_tm+set}" = set; then
9140   echo $ECHO_N "(cached) $ECHO_C" >&6
9141 else
9142   cat >conftest.$ac_ext <<_ACEOF
9143 /* confdefs.h.  */
9144 _ACEOF
9145 cat confdefs.h >>conftest.$ac_ext
9146 cat >>conftest.$ac_ext <<_ACEOF
9147 /* end confdefs.h.  */
9148 #include <sys/types.h>
9149 #include <time.h>
9150
9151 int
9152 main ()
9153 {
9154 struct tm *tp; tp->tm_sec;
9155   ;
9156   return 0;
9157 }
9158 _ACEOF
9159 rm -f conftest.$ac_objext
9160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9161   (eval $ac_compile) 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_objext'
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_struct_tm=time.h
9182 else
9183   echo "$as_me: failed program was:" >&5
9184 sed 's/^/| /' conftest.$ac_ext >&5
9185
9186 ac_cv_struct_tm=sys/time.h
9187 fi
9188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9189 fi
9190 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
9191 echo "${ECHO_T}$ac_cv_struct_tm" >&6
9192 if test $ac_cv_struct_tm = sys/time.h; then
9193
9194 cat >>confdefs.h <<\_ACEOF
9195 #define TM_IN_SYS_TIME 1
9196 _ACEOF
9197
9198 fi
9199
9200   echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
9201 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
9202 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
9203   echo $ECHO_N "(cached) $ECHO_C" >&6
9204 else
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 <sys/types.h>
9212 #include <$ac_cv_struct_tm>
9213
9214
9215 int
9216 main ()
9217 {
9218 static struct tm ac_aggr;
9219 if (ac_aggr.tm_zone)
9220 return 0;
9221   ;
9222   return 0;
9223 }
9224 _ACEOF
9225 rm -f conftest.$ac_objext
9226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9227   (eval $ac_compile) 2>conftest.er1
9228   ac_status=$?
9229   grep -v '^ *+' conftest.er1 >conftest.err
9230   rm -f conftest.er1
9231   cat conftest.err >&5
9232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9233   (exit $ac_status); } &&
9234          { ac_try='test -z "$ac_c_werror_flag"
9235                          || test ! -s conftest.err'
9236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9237   (eval $ac_try) 2>&5
9238   ac_status=$?
9239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9240   (exit $ac_status); }; } &&
9241          { ac_try='test -s conftest.$ac_objext'
9242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9243   (eval $ac_try) 2>&5
9244   ac_status=$?
9245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9246   (exit $ac_status); }; }; then
9247   ac_cv_member_struct_tm_tm_zone=yes
9248 else
9249   echo "$as_me: failed program was:" >&5
9250 sed 's/^/| /' conftest.$ac_ext >&5
9251
9252 cat >conftest.$ac_ext <<_ACEOF
9253 /* confdefs.h.  */
9254 _ACEOF
9255 cat confdefs.h >>conftest.$ac_ext
9256 cat >>conftest.$ac_ext <<_ACEOF
9257 /* end confdefs.h.  */
9258 #include <sys/types.h>
9259 #include <$ac_cv_struct_tm>
9260
9261
9262 int
9263 main ()
9264 {
9265 static struct tm ac_aggr;
9266 if (sizeof ac_aggr.tm_zone)
9267 return 0;
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   ac_cv_member_struct_tm_tm_zone=yes
9295 else
9296   echo "$as_me: failed program was:" >&5
9297 sed 's/^/| /' conftest.$ac_ext >&5
9298
9299 ac_cv_member_struct_tm_tm_zone=no
9300 fi
9301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9302 fi
9303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9304 fi
9305 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
9306 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
9307 if test $ac_cv_member_struct_tm_tm_zone = yes; then
9308
9309 cat >>confdefs.h <<_ACEOF
9310 #define HAVE_STRUCT_TM_TM_ZONE 1
9311 _ACEOF
9312
9313
9314 fi
9315
9316 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
9317
9318 cat >>confdefs.h <<\_ACEOF
9319 #define HAVE_TM_ZONE 1
9320 _ACEOF
9321
9322 else
9323   echo "$as_me:$LINENO: checking for tzname" >&5
9324 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
9325 if test "${ac_cv_var_tzname+set}" = set; then
9326   echo $ECHO_N "(cached) $ECHO_C" >&6
9327 else
9328   if test x$gcc_no_link = xyes; then
9329   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9331    { (exit 1); exit 1; }; }
9332 fi
9333 cat >conftest.$ac_ext <<_ACEOF
9334 /* confdefs.h.  */
9335 _ACEOF
9336 cat confdefs.h >>conftest.$ac_ext
9337 cat >>conftest.$ac_ext <<_ACEOF
9338 /* end confdefs.h.  */
9339 #include <time.h>
9340 #ifndef tzname /* For SGI.  */
9341 extern char *tzname[]; /* RS6000 and others reject char **tzname.  */
9342 #endif
9343
9344 int
9345 main ()
9346 {
9347 atoi(*tzname);
9348   ;
9349   return 0;
9350 }
9351 _ACEOF
9352 rm -f conftest.$ac_objext conftest$ac_exeext
9353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9354   (eval $ac_link) 2>conftest.er1
9355   ac_status=$?
9356   grep -v '^ *+' conftest.er1 >conftest.err
9357   rm -f conftest.er1
9358   cat conftest.err >&5
9359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9360   (exit $ac_status); } &&
9361          { ac_try='test -z "$ac_c_werror_flag"
9362                          || test ! -s conftest.err'
9363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9364   (eval $ac_try) 2>&5
9365   ac_status=$?
9366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9367   (exit $ac_status); }; } &&
9368          { ac_try='test -s conftest$ac_exeext'
9369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9370   (eval $ac_try) 2>&5
9371   ac_status=$?
9372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9373   (exit $ac_status); }; }; then
9374   ac_cv_var_tzname=yes
9375 else
9376   echo "$as_me: failed program was:" >&5
9377 sed 's/^/| /' conftest.$ac_ext >&5
9378
9379 ac_cv_var_tzname=no
9380 fi
9381 rm -f conftest.err conftest.$ac_objext \
9382       conftest$ac_exeext conftest.$ac_ext
9383 fi
9384 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
9385 echo "${ECHO_T}$ac_cv_var_tzname" >&6
9386   if test $ac_cv_var_tzname = yes; then
9387
9388 cat >>confdefs.h <<\_ACEOF
9389 #define HAVE_TZNAME 1
9390 _ACEOF
9391
9392   fi
9393 fi
9394
9395
9396   echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
9397 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
9398   cat >conftest.$ac_ext <<_ACEOF
9399 /* confdefs.h.  */
9400 _ACEOF
9401 cat confdefs.h >>conftest.$ac_ext
9402 cat >>conftest.$ac_ext <<_ACEOF
9403 /* end confdefs.h.  */
9404 #include <time.h>
9405 int
9406 main ()
9407 {
9408 struct tm tim; tim.tm_gmtoff = 0;
9409   ;
9410   return 0;
9411 }
9412 _ACEOF
9413 rm -f conftest.$ac_objext
9414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9415   (eval $ac_compile) 2>conftest.er1
9416   ac_status=$?
9417   grep -v '^ *+' conftest.er1 >conftest.err
9418   rm -f conftest.er1
9419   cat conftest.err >&5
9420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9421   (exit $ac_status); } &&
9422          { ac_try='test -z "$ac_c_werror_flag"
9423                          || test ! -s conftest.err'
9424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9425   (eval $ac_try) 2>&5
9426   ac_status=$?
9427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9428   (exit $ac_status); }; } &&
9429          { ac_try='test -s conftest.$ac_objext'
9430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9431   (eval $ac_try) 2>&5
9432   ac_status=$?
9433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9434   (exit $ac_status); }; }; then
9435
9436 cat >>confdefs.h <<\_ACEOF
9437 #define STRUCT_TM_HAS_GMTOFF 1
9438 _ACEOF
9439
9440    echo "$as_me:$LINENO: result: yes" >&5
9441 echo "${ECHO_T}yes" >&6
9442 else
9443   echo "$as_me: failed program was:" >&5
9444 sed 's/^/| /' conftest.$ac_ext >&5
9445
9446 echo "$as_me:$LINENO: result: no" >&5
9447 echo "${ECHO_T}no" >&6
9448    echo "$as_me:$LINENO: checking for global timezone variable" >&5
9449 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
9450                cat >conftest.$ac_ext <<_ACEOF
9451 /* confdefs.h.  */
9452 _ACEOF
9453 cat confdefs.h >>conftest.$ac_ext
9454 cat >>conftest.$ac_ext <<_ACEOF
9455 /* end confdefs.h.  */
9456 #include <time.h>
9457 int
9458 main ()
9459 {
9460 void i(){long z2 = 2*timezone;}
9461   ;
9462   return 0;
9463 }
9464 _ACEOF
9465 rm -f conftest.$ac_objext
9466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9467   (eval $ac_compile) 2>conftest.er1
9468   ac_status=$?
9469   grep -v '^ *+' conftest.er1 >conftest.err
9470   rm -f conftest.er1
9471   cat conftest.err >&5
9472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9473   (exit $ac_status); } &&
9474          { ac_try='test -z "$ac_c_werror_flag"
9475                          || test ! -s conftest.err'
9476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9477   (eval $ac_try) 2>&5
9478   ac_status=$?
9479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9480   (exit $ac_status); }; } &&
9481          { ac_try='test -s conftest.$ac_objext'
9482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9483   (eval $ac_try) 2>&5
9484   ac_status=$?
9485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9486   (exit $ac_status); }; }; then
9487
9488 cat >>confdefs.h <<\_ACEOF
9489 #define HAVE_TIMEZONE 1
9490 _ACEOF
9491
9492       echo "$as_me:$LINENO: result: yes" >&5
9493 echo "${ECHO_T}yes" >&6
9494 else
9495   echo "$as_me: failed program was:" >&5
9496 sed 's/^/| /' conftest.$ac_ext >&5
9497
9498 echo "$as_me:$LINENO: result: no" >&5
9499 echo "${ECHO_T}no" >&6
9500        echo "$as_me:$LINENO: checking for global _timezone variable" >&5
9501 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
9502               cat >conftest.$ac_ext <<_ACEOF
9503 /* confdefs.h.  */
9504 _ACEOF
9505 cat confdefs.h >>conftest.$ac_ext
9506 cat >>conftest.$ac_ext <<_ACEOF
9507 /* end confdefs.h.  */
9508 #include <time.h>
9509 int
9510 main ()
9511 {
9512 long z2 = _timezone;
9513   ;
9514   return 0;
9515 }
9516 _ACEOF
9517 rm -f conftest.$ac_objext
9518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9519   (eval $ac_compile) 2>conftest.er1
9520   ac_status=$?
9521   grep -v '^ *+' conftest.er1 >conftest.err
9522   rm -f conftest.er1
9523   cat conftest.err >&5
9524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9525   (exit $ac_status); } &&
9526          { ac_try='test -z "$ac_c_werror_flag"
9527                          || test ! -s conftest.err'
9528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9529   (eval $ac_try) 2>&5
9530   ac_status=$?
9531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9532   (exit $ac_status); }; } &&
9533          { ac_try='test -s conftest.$ac_objext'
9534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9535   (eval $ac_try) 2>&5
9536   ac_status=$?
9537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9538   (exit $ac_status); }; }; then
9539
9540 cat >>confdefs.h <<\_ACEOF
9541 #define HAVE_UNDERSCORE_TIMEZONE 1
9542 _ACEOF
9543
9544           echo "$as_me:$LINENO: result: yes" >&5
9545 echo "${ECHO_T}yes" >&6
9546 else
9547   echo "$as_me: failed program was:" >&5
9548 sed 's/^/| /' conftest.$ac_ext >&5
9549
9550 echo "$as_me:$LINENO: result: no" >&5
9551 echo "${ECHO_T}no" >&6
9552 fi
9553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9554 fi
9555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9556 fi
9557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9558
9559   echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
9560 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
9561 if test "${ac_cv_c_const+set}" = set; then
9562   echo $ECHO_N "(cached) $ECHO_C" >&6
9563 else
9564   cat >conftest.$ac_ext <<_ACEOF
9565 /* confdefs.h.  */
9566 _ACEOF
9567 cat confdefs.h >>conftest.$ac_ext
9568 cat >>conftest.$ac_ext <<_ACEOF
9569 /* end confdefs.h.  */
9570
9571 int
9572 main ()
9573 {
9574 /* FIXME: Include the comments suggested by Paul. */
9575 #ifndef __cplusplus
9576   /* Ultrix mips cc rejects this.  */
9577   typedef int charset[2];
9578   const charset x;
9579   /* SunOS 4.1.1 cc rejects this.  */
9580   char const *const *ccp;
9581   char **p;
9582   /* NEC SVR4.0.2 mips cc rejects this.  */
9583   struct point {int x, y;};
9584   static struct point const zero = {0,0};
9585   /* AIX XL C 1.02.0.0 rejects this.
9586      It does not let you subtract one const X* pointer from another in
9587      an arm of an if-expression whose if-part is not a constant
9588      expression */
9589   const char *g = "string";
9590   ccp = &g + (g ? g-g : 0);
9591   /* HPUX 7.0 cc rejects these. */
9592   ++ccp;
9593   p = (char**) ccp;
9594   ccp = (char const *const *) p;
9595   { /* SCO 3.2v4 cc rejects this.  */
9596     char *t;
9597     char const *s = 0 ? (char *) 0 : (char const *) 0;
9598
9599     *t++ = 0;
9600   }
9601   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
9602     int x[] = {25, 17};
9603     const int *foo = &x[0];
9604     ++foo;
9605   }
9606   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9607     typedef const int *iptr;
9608     iptr p = 0;
9609     ++p;
9610   }
9611   { /* AIX XL C 1.02.0.0 rejects this saying
9612        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9613     struct s { int j; const int *ap[3]; };
9614     struct s *b; b->j = 5;
9615   }
9616   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9617     const int foo = 10;
9618   }
9619 #endif
9620
9621   ;
9622   return 0;
9623 }
9624 _ACEOF
9625 rm -f conftest.$ac_objext
9626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9627   (eval $ac_compile) 2>conftest.er1
9628   ac_status=$?
9629   grep -v '^ *+' conftest.er1 >conftest.err
9630   rm -f conftest.er1
9631   cat conftest.err >&5
9632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9633   (exit $ac_status); } &&
9634          { ac_try='test -z "$ac_c_werror_flag"
9635                          || test ! -s conftest.err'
9636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9637   (eval $ac_try) 2>&5
9638   ac_status=$?
9639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9640   (exit $ac_status); }; } &&
9641          { ac_try='test -s conftest.$ac_objext'
9642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9643   (eval $ac_try) 2>&5
9644   ac_status=$?
9645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9646   (exit $ac_status); }; }; then
9647   ac_cv_c_const=yes
9648 else
9649   echo "$as_me: failed program was:" >&5
9650 sed 's/^/| /' conftest.$ac_ext >&5
9651
9652 ac_cv_c_const=no
9653 fi
9654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9655 fi
9656 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
9657 echo "${ECHO_T}$ac_cv_c_const" >&6
9658 if test $ac_cv_c_const = no; then
9659
9660 cat >>confdefs.h <<\_ACEOF
9661 #define const
9662 _ACEOF
9663
9664 fi
9665
9666   echo "$as_me:$LINENO: checking for __attribute__" >&5
9667 echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
9668 if test "${ac_cv_c_attribute+set}" = set; then
9669   echo $ECHO_N "(cached) $ECHO_C" >&6
9670 else
9671
9672 cat >conftest.$ac_ext <<_ACEOF
9673 /* confdefs.h.  */
9674 _ACEOF
9675 cat confdefs.h >>conftest.$ac_ext
9676 cat >>conftest.$ac_ext <<_ACEOF
9677 /* end confdefs.h.  */
9678 void foo(void) __attribute__ ((__noreturn__));
9679
9680 _ACEOF
9681 rm -f conftest.$ac_objext
9682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9683   (eval $ac_compile) 2>conftest.er1
9684   ac_status=$?
9685   grep -v '^ *+' conftest.er1 >conftest.err
9686   rm -f conftest.er1
9687   cat conftest.err >&5
9688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9689   (exit $ac_status); } &&
9690          { ac_try='test -z "$ac_c_werror_flag"
9691                          || test ! -s conftest.err'
9692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9693   (eval $ac_try) 2>&5
9694   ac_status=$?
9695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9696   (exit $ac_status); }; } &&
9697          { ac_try='test -s conftest.$ac_objext'
9698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9699   (eval $ac_try) 2>&5
9700   ac_status=$?
9701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9702   (exit $ac_status); }; }; then
9703   ac_cv_c_attribute=yes
9704 else
9705   echo "$as_me: failed program was:" >&5
9706 sed 's/^/| /' conftest.$ac_ext >&5
9707
9708 ac_cv_c_attribute=no
9709
9710 fi
9711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9712
9713 fi
9714 echo "$as_me:$LINENO: result: $ac_cv_c_attribute" >&5
9715 echo "${ECHO_T}$ac_cv_c_attribute" >&6
9716
9717
9718 case $ac_cv_c_attribute in
9719   yes) ;;
9720   no)
9721     cat >>confdefs.h <<_ACEOF
9722 #define __attribute__(x)    /* nothing */
9723 _ACEOF
9724     ;;
9725 esac
9726
9727
9728
9729       if test "X$prefix" = "XNONE"; then
9730     acl_final_prefix="$ac_default_prefix"
9731   else
9732     acl_final_prefix="$prefix"
9733   fi
9734   if test "X$exec_prefix" = "XNONE"; then
9735     acl_final_exec_prefix='${prefix}'
9736   else
9737     acl_final_exec_prefix="$exec_prefix"
9738   fi
9739   acl_save_prefix="$prefix"
9740   prefix="$acl_final_prefix"
9741   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
9742   prefix="$acl_save_prefix"
9743
9744
9745 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9746 if test "${with_gnu_ld+set}" = set; then
9747   withval="$with_gnu_ld"
9748   test "$withval" = no || with_gnu_ld=yes
9749 else
9750   with_gnu_ld=no
9751 fi;
9752 # Prepare PATH_SEPARATOR.
9753 # The user is always right.
9754 if test "${PATH_SEPARATOR+set}" != set; then
9755   echo "#! /bin/sh" >conf$$.sh
9756   echo  "exit 0"   >>conf$$.sh
9757   chmod +x conf$$.sh
9758   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
9759     PATH_SEPARATOR=';'
9760   else
9761     PATH_SEPARATOR=:
9762   fi
9763   rm -f conf$$.sh
9764 fi
9765 ac_prog=ld
9766 if test "$GCC" = yes; then
9767   # Check if gcc -print-prog-name=ld gives a path.
9768   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
9769 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
9770   case $host in
9771   *-*-mingw*)
9772     # gcc leaves a trailing carriage return which upsets mingw
9773     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9774   *)
9775     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9776   esac
9777   case $ac_prog in
9778     # Accept absolute paths.
9779     [\\/]* | [A-Za-z]:[\\/]*)
9780       re_direlt='/[^/][^/]*/\.\./'
9781       # Canonicalize the path of ld
9782       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
9783       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9784         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
9785       done
9786       test -z "$LD" && LD="$ac_prog"
9787       ;;
9788   "")
9789     # If it fails, then pretend we aren't using GCC.
9790     ac_prog=ld
9791     ;;
9792   *)
9793     # If it is relative, then search for the first ld in PATH.
9794     with_gnu_ld=unknown
9795     ;;
9796   esac
9797 elif test "$with_gnu_ld" = yes; then
9798   echo "$as_me:$LINENO: checking for GNU ld" >&5
9799 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9800 else
9801   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9802 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9803 fi
9804 if test "${acl_cv_path_LD+set}" = set; then
9805   echo $ECHO_N "(cached) $ECHO_C" >&6
9806 else
9807   if test -z "$LD"; then
9808   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
9809   for ac_dir in $PATH; do
9810     test -z "$ac_dir" && ac_dir=.
9811     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9812       acl_cv_path_LD="$ac_dir/$ac_prog"
9813       # Check to see if the program is GNU ld.  I'd rather use --version,
9814       # but apparently some GNU ld's only accept -v.
9815       # Break only if it was the GNU/non-GNU ld that we prefer.
9816       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
9817         test "$with_gnu_ld" != no && break
9818       else
9819         test "$with_gnu_ld" != yes && break
9820       fi
9821     fi
9822   done
9823   IFS="$ac_save_ifs"
9824 else
9825   acl_cv_path_LD="$LD" # Let the user override the test with a path.
9826 fi
9827 fi
9828
9829 LD="$acl_cv_path_LD"
9830 if test -n "$LD"; then
9831   echo "$as_me:$LINENO: result: $LD" >&5
9832 echo "${ECHO_T}$LD" >&6
9833 else
9834   echo "$as_me:$LINENO: result: no" >&5
9835 echo "${ECHO_T}no" >&6
9836 fi
9837 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9838 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9839    { (exit 1); exit 1; }; }
9840 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9841 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9842 if test "${acl_cv_prog_gnu_ld+set}" = set; then
9843   echo $ECHO_N "(cached) $ECHO_C" >&6
9844 else
9845   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9846 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
9847   acl_cv_prog_gnu_ld=yes
9848 else
9849   acl_cv_prog_gnu_ld=no
9850 fi
9851 fi
9852 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
9853 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
9854 with_gnu_ld=$acl_cv_prog_gnu_ld
9855
9856
9857
9858                                                 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
9859 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
9860 if test "${acl_cv_rpath+set}" = set; then
9861   echo $ECHO_N "(cached) $ECHO_C" >&6
9862 else
9863
9864     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
9865     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
9866     . ./conftest.sh
9867     rm -f ./conftest.sh
9868     acl_cv_rpath=done
9869
9870 fi
9871 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
9872 echo "${ECHO_T}$acl_cv_rpath" >&6
9873   wl="$acl_cv_wl"
9874   libext="$acl_cv_libext"
9875   shlibext="$acl_cv_shlibext"
9876   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
9877   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
9878   hardcode_direct="$acl_cv_hardcode_direct"
9879   hardcode_minus_L="$acl_cv_hardcode_minus_L"
9880     # Check whether --enable-rpath or --disable-rpath was given.
9881 if test "${enable_rpath+set}" = set; then
9882   enableval="$enable_rpath"
9883   :
9884 else
9885   enable_rpath=yes
9886 fi;
9887
9888
9889
9890
9891
9892
9893
9894     use_additional=yes
9895
9896   acl_save_prefix="$prefix"
9897   prefix="$acl_final_prefix"
9898   acl_save_exec_prefix="$exec_prefix"
9899   exec_prefix="$acl_final_exec_prefix"
9900
9901     eval additional_includedir=\"$includedir\"
9902     eval additional_libdir=\"$libdir\"
9903
9904   exec_prefix="$acl_save_exec_prefix"
9905   prefix="$acl_save_prefix"
9906
9907
9908 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
9909 if test "${with_libiconv_prefix+set}" = set; then
9910   withval="$with_libiconv_prefix"
9911
9912     if test "X$withval" = "Xno"; then
9913       use_additional=no
9914     else
9915       if test "X$withval" = "X"; then
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
9922           eval additional_includedir=\"$includedir\"
9923           eval additional_libdir=\"$libdir\"
9924
9925   exec_prefix="$acl_save_exec_prefix"
9926   prefix="$acl_save_prefix"
9927
9928       else
9929         additional_includedir="$withval/include"
9930         additional_libdir="$withval/lib"
9931       fi
9932     fi
9933
9934 fi;
9935       LIBICONV=
9936   LTLIBICONV=
9937   INCICONV=
9938   rpathdirs=
9939   ltrpathdirs=
9940   names_already_handled=
9941   names_next_round='iconv '
9942   while test -n "$names_next_round"; do
9943     names_this_round="$names_next_round"
9944     names_next_round=
9945     for name in $names_this_round; do
9946       already_handled=
9947       for n in $names_already_handled; do
9948         if test "$n" = "$name"; then
9949           already_handled=yes
9950           break
9951         fi
9952       done
9953       if test -z "$already_handled"; then
9954         names_already_handled="$names_already_handled $name"
9955                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
9956         eval value=\"\$HAVE_LIB$uppername\"
9957         if test -n "$value"; then
9958           if test "$value" = yes; then
9959             eval value=\"\$LIB$uppername\"
9960             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
9961             eval value=\"\$LTLIB$uppername\"
9962             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
9963           else
9964                                     :
9965           fi
9966         else
9967                               found_dir=
9968           found_la=
9969           found_so=
9970           found_a=
9971           if test $use_additional = yes; then
9972             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
9973               found_dir="$additional_libdir"
9974               found_so="$additional_libdir/lib$name.$shlibext"
9975               if test -f "$additional_libdir/lib$name.la"; then
9976                 found_la="$additional_libdir/lib$name.la"
9977               fi
9978             else
9979               if test -f "$additional_libdir/lib$name.$libext"; then
9980                 found_dir="$additional_libdir"
9981                 found_a="$additional_libdir/lib$name.$libext"
9982                 if test -f "$additional_libdir/lib$name.la"; then
9983                   found_la="$additional_libdir/lib$name.la"
9984                 fi
9985               fi
9986             fi
9987           fi
9988           if test "X$found_dir" = "X"; then
9989             for x in $LDFLAGS $LTLIBICONV; do
9990
9991   acl_save_prefix="$prefix"
9992   prefix="$acl_final_prefix"
9993   acl_save_exec_prefix="$exec_prefix"
9994   exec_prefix="$acl_final_exec_prefix"
9995   eval x=\"$x\"
9996   exec_prefix="$acl_save_exec_prefix"
9997   prefix="$acl_save_prefix"
9998
9999               case "$x" in
10000                 -L*)
10001                   dir=`echo "X$x" | sed -e 's/^X-L//'`
10002                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
10003                     found_dir="$dir"
10004                     found_so="$dir/lib$name.$shlibext"
10005                     if test -f "$dir/lib$name.la"; then
10006                       found_la="$dir/lib$name.la"
10007                     fi
10008                   else
10009                     if test -f "$dir/lib$name.$libext"; then
10010                       found_dir="$dir"
10011                       found_a="$dir/lib$name.$libext"
10012                       if test -f "$dir/lib$name.la"; then
10013                         found_la="$dir/lib$name.la"
10014                       fi
10015                     fi
10016                   fi
10017                   ;;
10018               esac
10019               if test "X$found_dir" != "X"; then
10020                 break
10021               fi
10022             done
10023           fi
10024           if test "X$found_dir" != "X"; then
10025                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
10026             if test "X$found_so" != "X"; then
10027                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
10028                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
10029               else
10030                                                                                 haveit=
10031                 for x in $ltrpathdirs; do
10032                   if test "X$x" = "X$found_dir"; then
10033                     haveit=yes
10034                     break
10035                   fi
10036                 done
10037                 if test -z "$haveit"; then
10038                   ltrpathdirs="$ltrpathdirs $found_dir"
10039                 fi
10040                                 if test "$hardcode_direct" = yes; then
10041                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
10042                 else
10043                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
10044                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
10045                                                             haveit=
10046                     for x in $rpathdirs; do
10047                       if test "X$x" = "X$found_dir"; then
10048                         haveit=yes
10049                         break
10050                       fi
10051                     done
10052                     if test -z "$haveit"; then
10053                       rpathdirs="$rpathdirs $found_dir"
10054                     fi
10055                   else
10056                                                                                 haveit=
10057                     for x in $LDFLAGS $LIBICONV; do
10058
10059   acl_save_prefix="$prefix"
10060   prefix="$acl_final_prefix"
10061   acl_save_exec_prefix="$exec_prefix"
10062   exec_prefix="$acl_final_exec_prefix"
10063   eval x=\"$x\"
10064   exec_prefix="$acl_save_exec_prefix"
10065   prefix="$acl_save_prefix"
10066
10067                       if test "X$x" = "X-L$found_dir"; then
10068                         haveit=yes
10069                         break
10070                       fi
10071                     done
10072                     if test -z "$haveit"; then
10073                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
10074                     fi
10075                     if test "$hardcode_minus_L" != no; then
10076                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
10077                     else
10078                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
10079                     fi
10080                   fi
10081                 fi
10082               fi
10083             else
10084               if test "X$found_a" != "X"; then
10085                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
10086               else
10087                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
10088               fi
10089             fi
10090                         additional_includedir=
10091             case "$found_dir" in
10092               */lib | */lib/)
10093                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
10094                 additional_includedir="$basedir/include"
10095                 ;;
10096             esac
10097             if test "X$additional_includedir" != "X"; then
10098                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
10099                 haveit=
10100                 if test "X$additional_includedir" = "X/usr/local/include"; then
10101                   if test -n "$GCC"; then
10102                     case $host_os in
10103                       linux*) haveit=yes;;
10104                     esac
10105                   fi
10106                 fi
10107                 if test -z "$haveit"; then
10108                   for x in $CPPFLAGS $INCICONV; do
10109
10110   acl_save_prefix="$prefix"
10111   prefix="$acl_final_prefix"
10112   acl_save_exec_prefix="$exec_prefix"
10113   exec_prefix="$acl_final_exec_prefix"
10114   eval x=\"$x\"
10115   exec_prefix="$acl_save_exec_prefix"
10116   prefix="$acl_save_prefix"
10117
10118                     if test "X$x" = "X-I$additional_includedir"; then
10119                       haveit=yes
10120                       break
10121                     fi
10122                   done
10123                   if test -z "$haveit"; then
10124                     if test -d "$additional_includedir"; then
10125                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
10126                     fi
10127                   fi
10128                 fi
10129               fi
10130             fi
10131                         if test -n "$found_la"; then
10132                                                         save_libdir="$libdir"
10133               case "$found_la" in
10134                 */* | *\\*) . "$found_la" ;;
10135                 *) . "./$found_la" ;;
10136               esac
10137               libdir="$save_libdir"
10138                             for dep in $dependency_libs; do
10139                 case "$dep" in
10140                   -L*)
10141                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
10142                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
10143                       haveit=
10144                       if test "X$additional_libdir" = "X/usr/local/lib"; then
10145                         if test -n "$GCC"; then
10146                           case $host_os in
10147                             linux*) haveit=yes;;
10148                           esac
10149                         fi
10150                       fi
10151                       if test -z "$haveit"; then
10152                         haveit=
10153                         for x in $LDFLAGS $LIBICONV; do
10154
10155   acl_save_prefix="$prefix"
10156   prefix="$acl_final_prefix"
10157   acl_save_exec_prefix="$exec_prefix"
10158   exec_prefix="$acl_final_exec_prefix"
10159   eval x=\"$x\"
10160   exec_prefix="$acl_save_exec_prefix"
10161   prefix="$acl_save_prefix"
10162
10163                           if test "X$x" = "X-L$additional_libdir"; then
10164                             haveit=yes
10165                             break
10166                           fi
10167                         done
10168                         if test -z "$haveit"; then
10169                           if test -d "$additional_libdir"; then
10170                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
10171                           fi
10172                         fi
10173                         haveit=
10174                         for x in $LDFLAGS $LTLIBICONV; do
10175
10176   acl_save_prefix="$prefix"
10177   prefix="$acl_final_prefix"
10178   acl_save_exec_prefix="$exec_prefix"
10179   exec_prefix="$acl_final_exec_prefix"
10180   eval x=\"$x\"
10181   exec_prefix="$acl_save_exec_prefix"
10182   prefix="$acl_save_prefix"
10183
10184                           if test "X$x" = "X-L$additional_libdir"; then
10185                             haveit=yes
10186                             break
10187                           fi
10188                         done
10189                         if test -z "$haveit"; then
10190                           if test -d "$additional_libdir"; then
10191                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
10192                           fi
10193                         fi
10194                       fi
10195                     fi
10196                     ;;
10197                   -R*)
10198                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
10199                     if test "$enable_rpath" != no; then
10200                                                                   haveit=
10201                       for x in $rpathdirs; do
10202                         if test "X$x" = "X$dir"; then
10203                           haveit=yes
10204                           break
10205                         fi
10206                       done
10207                       if test -z "$haveit"; then
10208                         rpathdirs="$rpathdirs $dir"
10209                       fi
10210                                                                   haveit=
10211                       for x in $ltrpathdirs; do
10212                         if test "X$x" = "X$dir"; then
10213                           haveit=yes
10214                           break
10215                         fi
10216                       done
10217                       if test -z "$haveit"; then
10218                         ltrpathdirs="$ltrpathdirs $dir"
10219                       fi
10220                     fi
10221                     ;;
10222                   -l*)
10223                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
10224                     ;;
10225                   *.la)
10226                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
10227                     ;;
10228                   *)
10229                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
10230                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
10231                     ;;
10232                 esac
10233               done
10234             fi
10235           else
10236                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
10237             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
10238           fi
10239         fi
10240       fi
10241     done
10242   done
10243   if test "X$rpathdirs" != "X"; then
10244     if test -n "$hardcode_libdir_separator"; then
10245                         alldirs=
10246       for found_dir in $rpathdirs; do
10247         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
10248       done
10249             acl_save_libdir="$libdir"
10250       libdir="$alldirs"
10251       eval flag=\"$hardcode_libdir_flag_spec\"
10252       libdir="$acl_save_libdir"
10253       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
10254     else
10255             for found_dir in $rpathdirs; do
10256         acl_save_libdir="$libdir"
10257         libdir="$found_dir"
10258         eval flag=\"$hardcode_libdir_flag_spec\"
10259         libdir="$acl_save_libdir"
10260         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
10261       done
10262     fi
10263   fi
10264   if test "X$ltrpathdirs" != "X"; then
10265             for found_dir in $ltrpathdirs; do
10266       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
10267     done
10268   fi
10269
10270
10271
10272
10273
10274
10275
10276           am_save_CPPFLAGS="$CPPFLAGS"
10277
10278   for element in $INCICONV; do
10279     haveit=
10280     for x in $CPPFLAGS; do
10281
10282   acl_save_prefix="$prefix"
10283   prefix="$acl_final_prefix"
10284   acl_save_exec_prefix="$exec_prefix"
10285   exec_prefix="$acl_final_exec_prefix"
10286   eval x=\"$x\"
10287   exec_prefix="$acl_save_exec_prefix"
10288   prefix="$acl_save_prefix"
10289
10290       if test "X$x" = "X$element"; then
10291         haveit=yes
10292         break
10293       fi
10294     done
10295     if test -z "$haveit"; then
10296       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
10297     fi
10298   done
10299
10300
10301   echo "$as_me:$LINENO: checking for iconv" >&5
10302 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
10303 if test "${am_cv_func_iconv+set}" = set; then
10304   echo $ECHO_N "(cached) $ECHO_C" >&6
10305 else
10306
10307     am_cv_func_iconv="no, consider installing GNU libiconv"
10308     am_cv_lib_iconv=no
10309     if test x$gcc_no_link = xyes; then
10310   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10312    { (exit 1); exit 1; }; }
10313 fi
10314 cat >conftest.$ac_ext <<_ACEOF
10315 /* confdefs.h.  */
10316 _ACEOF
10317 cat confdefs.h >>conftest.$ac_ext
10318 cat >>conftest.$ac_ext <<_ACEOF
10319 /* end confdefs.h.  */
10320 #include <stdlib.h>
10321 #include <iconv.h>
10322 int
10323 main ()
10324 {
10325 iconv_t cd = iconv_open("","");
10326        iconv(cd,NULL,NULL,NULL,NULL);
10327        iconv_close(cd);
10328   ;
10329   return 0;
10330 }
10331 _ACEOF
10332 rm -f conftest.$ac_objext conftest$ac_exeext
10333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10334   (eval $ac_link) 2>conftest.er1
10335   ac_status=$?
10336   grep -v '^ *+' conftest.er1 >conftest.err
10337   rm -f conftest.er1
10338   cat conftest.err >&5
10339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10340   (exit $ac_status); } &&
10341          { ac_try='test -z "$ac_c_werror_flag"
10342                          || test ! -s conftest.err'
10343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10344   (eval $ac_try) 2>&5
10345   ac_status=$?
10346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10347   (exit $ac_status); }; } &&
10348          { ac_try='test -s conftest$ac_exeext'
10349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10350   (eval $ac_try) 2>&5
10351   ac_status=$?
10352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10353   (exit $ac_status); }; }; then
10354   am_cv_func_iconv=yes
10355 else
10356   echo "$as_me: failed program was:" >&5
10357 sed 's/^/| /' conftest.$ac_ext >&5
10358
10359 fi
10360 rm -f conftest.err conftest.$ac_objext \
10361       conftest$ac_exeext conftest.$ac_ext
10362     if test "$am_cv_func_iconv" != yes; then
10363       am_save_LIBS="$LIBS"
10364       LIBS="$LIBS $LIBICONV"
10365       if test x$gcc_no_link = xyes; then
10366   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10368    { (exit 1); exit 1; }; }
10369 fi
10370 cat >conftest.$ac_ext <<_ACEOF
10371 /* confdefs.h.  */
10372 _ACEOF
10373 cat confdefs.h >>conftest.$ac_ext
10374 cat >>conftest.$ac_ext <<_ACEOF
10375 /* end confdefs.h.  */
10376 #include <stdlib.h>
10377 #include <iconv.h>
10378 int
10379 main ()
10380 {
10381 iconv_t cd = iconv_open("","");
10382          iconv(cd,NULL,NULL,NULL,NULL);
10383          iconv_close(cd);
10384   ;
10385   return 0;
10386 }
10387 _ACEOF
10388 rm -f conftest.$ac_objext conftest$ac_exeext
10389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10390   (eval $ac_link) 2>conftest.er1
10391   ac_status=$?
10392   grep -v '^ *+' conftest.er1 >conftest.err
10393   rm -f conftest.er1
10394   cat conftest.err >&5
10395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10396   (exit $ac_status); } &&
10397          { ac_try='test -z "$ac_c_werror_flag"
10398                          || test ! -s conftest.err'
10399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10400   (eval $ac_try) 2>&5
10401   ac_status=$?
10402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10403   (exit $ac_status); }; } &&
10404          { ac_try='test -s conftest$ac_exeext'
10405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10406   (eval $ac_try) 2>&5
10407   ac_status=$?
10408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10409   (exit $ac_status); }; }; then
10410   am_cv_lib_iconv=yes
10411         am_cv_func_iconv=yes
10412 else
10413   echo "$as_me: failed program was:" >&5
10414 sed 's/^/| /' conftest.$ac_ext >&5
10415
10416 fi
10417 rm -f conftest.err conftest.$ac_objext \
10418       conftest$ac_exeext conftest.$ac_ext
10419       LIBS="$am_save_LIBS"
10420     fi
10421
10422 fi
10423 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
10424 echo "${ECHO_T}$am_cv_func_iconv" >&6
10425   if test "$am_cv_func_iconv" = yes; then
10426
10427 cat >>confdefs.h <<\_ACEOF
10428 #define HAVE_ICONV 1
10429 _ACEOF
10430
10431   fi
10432   if test "$am_cv_lib_iconv" = yes; then
10433     echo "$as_me:$LINENO: checking how to link with libiconv" >&5
10434 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
10435     echo "$as_me:$LINENO: result: $LIBICONV" >&5
10436 echo "${ECHO_T}$LIBICONV" >&6
10437   else
10438             CPPFLAGS="$am_save_CPPFLAGS"
10439     LIBICONV=
10440     LTLIBICONV=
10441   fi
10442
10443
10444
10445   if test "$am_cv_func_iconv" = yes; then
10446     echo "$as_me:$LINENO: checking for iconv declaration" >&5
10447 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
10448     if test "${am_cv_proto_iconv+set}" = set; then
10449   echo $ECHO_N "(cached) $ECHO_C" >&6
10450 else
10451
10452       cat >conftest.$ac_ext <<_ACEOF
10453 /* confdefs.h.  */
10454 _ACEOF
10455 cat confdefs.h >>conftest.$ac_ext
10456 cat >>conftest.$ac_ext <<_ACEOF
10457 /* end confdefs.h.  */
10458
10459 #include <stdlib.h>
10460 #include <iconv.h>
10461 extern
10462 #ifdef __cplusplus
10463 "C"
10464 #endif
10465 #if defined(__STDC__) || defined(__cplusplus)
10466 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
10467 #else
10468 size_t iconv();
10469 #endif
10470
10471 int
10472 main ()
10473 {
10474
10475   ;
10476   return 0;
10477 }
10478 _ACEOF
10479 rm -f conftest.$ac_objext
10480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10481   (eval $ac_compile) 2>conftest.er1
10482   ac_status=$?
10483   grep -v '^ *+' conftest.er1 >conftest.err
10484   rm -f conftest.er1
10485   cat conftest.err >&5
10486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10487   (exit $ac_status); } &&
10488          { ac_try='test -z "$ac_c_werror_flag"
10489                          || test ! -s conftest.err'
10490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10491   (eval $ac_try) 2>&5
10492   ac_status=$?
10493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10494   (exit $ac_status); }; } &&
10495          { ac_try='test -s conftest.$ac_objext'
10496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10497   (eval $ac_try) 2>&5
10498   ac_status=$?
10499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10500   (exit $ac_status); }; }; then
10501   am_cv_proto_iconv_arg1=""
10502 else
10503   echo "$as_me: failed program was:" >&5
10504 sed 's/^/| /' conftest.$ac_ext >&5
10505
10506 am_cv_proto_iconv_arg1="const"
10507 fi
10508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10509       am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
10510 fi
10511
10512     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
10513     echo "$as_me:$LINENO: result: ${ac_t:-
10514          }$am_cv_proto_iconv" >&5
10515 echo "${ECHO_T}${ac_t:-
10516          }$am_cv_proto_iconv" >&6
10517
10518 cat >>confdefs.h <<_ACEOF
10519 #define ICONV_CONST $am_cv_proto_iconv_arg1
10520 _ACEOF
10521
10522   fi
10523
10524
10525     if test "x${GCC}" = xyes; then
10526
10527             WARNING_CFLAGS='-W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long'
10528
10529
10530             STRICT_WARNING_CFLAGS='-Wstrict-prototypes -pedantic'
10531
10532
10533             ERROR_CFLAGS=
10534     if test "x${ENABLE_WERROR}" = xyes; then
10535        ERROR_CFLAGS='-Werror'
10536     fi
10537
10538   fi
10539
10540     if test "x${COMPILE_XMLJ}" = xyes; then
10541
10542   succeeded=no
10543
10544   if test -z "$PKG_CONFIG"; then
10545     # Extract the first word of "pkg-config", so it can be a program name with args.
10546 set dummy pkg-config; ac_word=$2
10547 echo "$as_me:$LINENO: checking for $ac_word" >&5
10548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10549 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
10550   echo $ECHO_N "(cached) $ECHO_C" >&6
10551 else
10552   case $PKG_CONFIG in
10553   [\\/]* | ?:[\\/]*)
10554   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10555   ;;
10556   *)
10557   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10558 for as_dir in $PATH
10559 do
10560   IFS=$as_save_IFS
10561   test -z "$as_dir" && as_dir=.
10562   for ac_exec_ext in '' $ac_executable_extensions; do
10563   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10564     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10565     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10566     break 2
10567   fi
10568 done
10569 done
10570
10571   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
10572   ;;
10573 esac
10574 fi
10575 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
10576
10577 if test -n "$PKG_CONFIG"; then
10578   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
10579 echo "${ECHO_T}$PKG_CONFIG" >&6
10580 else
10581   echo "$as_me:$LINENO: result: no" >&5
10582 echo "${ECHO_T}no" >&6
10583 fi
10584
10585   fi
10586
10587   if test "$PKG_CONFIG" = "no" ; then
10588      echo "*** The pkg-config script could not be found. Make sure it is"
10589      echo "*** in your path, or set the PKG_CONFIG environment variable"
10590      echo "*** to the full path to pkg-config."
10591      echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
10592   else
10593      PKG_CONFIG_MIN_VERSION=0.9.0
10594      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
10595         echo "$as_me:$LINENO: checking for libxml-2.0 >= 2.6.8" >&5
10596 echo $ECHO_N "checking for libxml-2.0 >= 2.6.8... $ECHO_C" >&6
10597
10598         if $PKG_CONFIG --exists "libxml-2.0 >= 2.6.8" ; then
10599             echo "$as_me:$LINENO: result: yes" >&5
10600 echo "${ECHO_T}yes" >&6
10601             succeeded=yes
10602
10603             echo "$as_me:$LINENO: checking XML_CFLAGS" >&5
10604 echo $ECHO_N "checking XML_CFLAGS... $ECHO_C" >&6
10605             XML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.8"`
10606             echo "$as_me:$LINENO: result: $XML_CFLAGS" >&5
10607 echo "${ECHO_T}$XML_CFLAGS" >&6
10608
10609             echo "$as_me:$LINENO: checking XML_LIBS" >&5
10610 echo $ECHO_N "checking XML_LIBS... $ECHO_C" >&6
10611             XML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.8"`
10612             echo "$as_me:$LINENO: result: $XML_LIBS" >&5
10613 echo "${ECHO_T}$XML_LIBS" >&6
10614         else
10615             XML_CFLAGS=""
10616             XML_LIBS=""
10617             ## If we have a custom action on failure, don't print errors, but
10618             ## do set a variable so people can do so.
10619             XML_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= 2.6.8"`
10620             echo $XML_PKG_ERRORS
10621         fi
10622
10623
10624
10625      else
10626         echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
10627         echo "*** See http://www.freedesktop.org/software/pkgconfig"
10628      fi
10629   fi
10630
10631   if test $succeeded = yes; then
10632      :
10633   else
10634      { { 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
10635 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;}
10636    { (exit 1); exit 1; }; }
10637   fi
10638
10639
10640   succeeded=no
10641
10642   if test -z "$PKG_CONFIG"; then
10643     # Extract the first word of "pkg-config", so it can be a program name with args.
10644 set dummy pkg-config; ac_word=$2
10645 echo "$as_me:$LINENO: checking for $ac_word" >&5
10646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10647 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
10648   echo $ECHO_N "(cached) $ECHO_C" >&6
10649 else
10650   case $PKG_CONFIG in
10651   [\\/]* | ?:[\\/]*)
10652   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10653   ;;
10654   *)
10655   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10656 for as_dir in $PATH
10657 do
10658   IFS=$as_save_IFS
10659   test -z "$as_dir" && as_dir=.
10660   for ac_exec_ext in '' $ac_executable_extensions; do
10661   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10662     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10663     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10664     break 2
10665   fi
10666 done
10667 done
10668
10669   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
10670   ;;
10671 esac
10672 fi
10673 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
10674
10675 if test -n "$PKG_CONFIG"; then
10676   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
10677 echo "${ECHO_T}$PKG_CONFIG" >&6
10678 else
10679   echo "$as_me:$LINENO: result: no" >&5
10680 echo "${ECHO_T}no" >&6
10681 fi
10682
10683   fi
10684
10685   if test "$PKG_CONFIG" = "no" ; then
10686      echo "*** The pkg-config script could not be found. Make sure it is"
10687      echo "*** in your path, or set the PKG_CONFIG environment variable"
10688      echo "*** to the full path to pkg-config."
10689      echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
10690   else
10691      PKG_CONFIG_MIN_VERSION=0.9.0
10692      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
10693         echo "$as_me:$LINENO: checking for libxslt >= 1.1.11" >&5
10694 echo $ECHO_N "checking for libxslt >= 1.1.11... $ECHO_C" >&6
10695
10696         if $PKG_CONFIG --exists "libxslt >= 1.1.11" ; then
10697             echo "$as_me:$LINENO: result: yes" >&5
10698 echo "${ECHO_T}yes" >&6
10699             succeeded=yes
10700
10701             echo "$as_me:$LINENO: checking XSLT_CFLAGS" >&5
10702 echo $ECHO_N "checking XSLT_CFLAGS... $ECHO_C" >&6
10703             XSLT_CFLAGS=`$PKG_CONFIG --cflags "libxslt >= 1.1.11"`
10704             echo "$as_me:$LINENO: result: $XSLT_CFLAGS" >&5
10705 echo "${ECHO_T}$XSLT_CFLAGS" >&6
10706
10707             echo "$as_me:$LINENO: checking XSLT_LIBS" >&5
10708 echo $ECHO_N "checking XSLT_LIBS... $ECHO_C" >&6
10709             XSLT_LIBS=`$PKG_CONFIG --libs "libxslt >= 1.1.11"`
10710             echo "$as_me:$LINENO: result: $XSLT_LIBS" >&5
10711 echo "${ECHO_T}$XSLT_LIBS" >&6
10712         else
10713             XSLT_CFLAGS=""
10714             XSLT_LIBS=""
10715             ## If we have a custom action on failure, don't print errors, but
10716             ## do set a variable so people can do so.
10717             XSLT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxslt >= 1.1.11"`
10718             echo $XSLT_PKG_ERRORS
10719         fi
10720
10721
10722
10723      else
10724         echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
10725         echo "*** See http://www.freedesktop.org/software/pkgconfig"
10726      fi
10727   fi
10728
10729   if test $succeeded = yes; then
10730      :
10731   else
10732      { { 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
10733 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;}
10734    { (exit 1); exit 1; }; }
10735   fi
10736
10737
10738
10739
10740
10741   fi
10742
10743     if test "x${COMPILE_GTK_PEER}" = xyes; then
10744     echo "$as_me:$LINENO: checking for X" >&5
10745 echo $ECHO_N "checking for X... $ECHO_C" >&6
10746
10747
10748 # Check whether --with-x or --without-x was given.
10749 if test "${with_x+set}" = set; then
10750   withval="$with_x"
10751
10752 fi;
10753 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10754 if test "x$with_x" = xno; then
10755   # The user explicitly disabled X.
10756   have_x=disabled
10757 else
10758   if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
10759     # Both variables are already set.
10760     have_x=yes
10761   else
10762     if test "${ac_cv_have_x+set}" = set; then
10763   echo $ECHO_N "(cached) $ECHO_C" >&6
10764 else
10765   # One or both of the vars are not set, and there is no cached value.
10766 ac_x_includes=no ac_x_libraries=no
10767 rm -fr conftest.dir
10768 if mkdir conftest.dir; then
10769   cd conftest.dir
10770   # Make sure to not put "make" in the Imakefile rules, since we grep it out.
10771   cat >Imakefile <<'_ACEOF'
10772 acfindx:
10773         @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
10774 _ACEOF
10775   if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
10776     # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10777     eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
10778     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10779     for ac_extension in a so sl; do
10780       if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
10781          test -f $ac_im_libdir/libX11.$ac_extension; then
10782         ac_im_usrlibdir=$ac_im_libdir; break
10783       fi
10784     done
10785     # Screen out bogus values from the imake configuration.  They are
10786     # bogus both because they are the default anyway, and because
10787     # using them would break gcc on systems where it needs fixed includes.
10788     case $ac_im_incroot in
10789         /usr/include) ;;
10790         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10791     esac
10792     case $ac_im_usrlibdir in
10793         /usr/lib | /lib) ;;
10794         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10795     esac
10796   fi
10797   cd ..
10798   rm -fr conftest.dir
10799 fi
10800
10801 # Standard set of common directories for X headers.
10802 # Check X11 before X11Rn because it is often a symlink to the current release.
10803 ac_x_header_dirs='
10804 /usr/X11/include
10805 /usr/X11R6/include
10806 /usr/X11R5/include
10807 /usr/X11R4/include
10808
10809 /usr/include/X11
10810 /usr/include/X11R6
10811 /usr/include/X11R5
10812 /usr/include/X11R4
10813
10814 /usr/local/X11/include
10815 /usr/local/X11R6/include
10816 /usr/local/X11R5/include
10817 /usr/local/X11R4/include
10818
10819 /usr/local/include/X11
10820 /usr/local/include/X11R6
10821 /usr/local/include/X11R5
10822 /usr/local/include/X11R4
10823
10824 /usr/X386/include
10825 /usr/x386/include
10826 /usr/XFree86/include/X11
10827
10828 /usr/include
10829 /usr/local/include
10830 /usr/unsupported/include
10831 /usr/athena/include
10832 /usr/local/x11r5/include
10833 /usr/lpp/Xamples/include
10834
10835 /usr/openwin/include
10836 /usr/openwin/share/include'
10837
10838 if test "$ac_x_includes" = no; then
10839   # Guess where to find include files, by looking for Xlib.h.
10840   # First, try using that file with no special directory specified.
10841   cat >conftest.$ac_ext <<_ACEOF
10842 /* confdefs.h.  */
10843 _ACEOF
10844 cat confdefs.h >>conftest.$ac_ext
10845 cat >>conftest.$ac_ext <<_ACEOF
10846 /* end confdefs.h.  */
10847 #include <X11/Xlib.h>
10848 _ACEOF
10849 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10850   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10851   ac_status=$?
10852   grep -v '^ *+' conftest.er1 >conftest.err
10853   rm -f conftest.er1
10854   cat conftest.err >&5
10855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10856   (exit $ac_status); } >/dev/null; then
10857   if test -s conftest.err; then
10858     ac_cpp_err=$ac_c_preproc_warn_flag
10859     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10860   else
10861     ac_cpp_err=
10862   fi
10863 else
10864   ac_cpp_err=yes
10865 fi
10866 if test -z "$ac_cpp_err"; then
10867   # We can compile using X headers with no special include directory.
10868 ac_x_includes=
10869 else
10870   echo "$as_me: failed program was:" >&5
10871 sed 's/^/| /' conftest.$ac_ext >&5
10872
10873   for ac_dir in $ac_x_header_dirs; do
10874   if test -r "$ac_dir/X11/Xlib.h"; then
10875     ac_x_includes=$ac_dir
10876     break
10877   fi
10878 done
10879 fi
10880 rm -f conftest.err conftest.$ac_ext
10881 fi # $ac_x_includes = no
10882
10883 if test "$ac_x_libraries" = no; then
10884   # Check for the libraries.
10885   # See if we find them without any special options.
10886   # Don't add to $LIBS permanently.
10887   ac_save_LIBS=$LIBS
10888   LIBS="-lX11 $LIBS"
10889   if test x$gcc_no_link = xyes; then
10890   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10892    { (exit 1); exit 1; }; }
10893 fi
10894 cat >conftest.$ac_ext <<_ACEOF
10895 /* confdefs.h.  */
10896 _ACEOF
10897 cat confdefs.h >>conftest.$ac_ext
10898 cat >>conftest.$ac_ext <<_ACEOF
10899 /* end confdefs.h.  */
10900 #include <X11/Xlib.h>
10901 int
10902 main ()
10903 {
10904 XrmInitialize ()
10905   ;
10906   return 0;
10907 }
10908 _ACEOF
10909 rm -f conftest.$ac_objext conftest$ac_exeext
10910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10911   (eval $ac_link) 2>conftest.er1
10912   ac_status=$?
10913   grep -v '^ *+' conftest.er1 >conftest.err
10914   rm -f conftest.er1
10915   cat conftest.err >&5
10916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10917   (exit $ac_status); } &&
10918          { ac_try='test -z "$ac_c_werror_flag"
10919                          || test ! -s conftest.err'
10920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10921   (eval $ac_try) 2>&5
10922   ac_status=$?
10923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10924   (exit $ac_status); }; } &&
10925          { ac_try='test -s conftest$ac_exeext'
10926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10927   (eval $ac_try) 2>&5
10928   ac_status=$?
10929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10930   (exit $ac_status); }; }; then
10931   LIBS=$ac_save_LIBS
10932 # We can link X programs with no special library path.
10933 ac_x_libraries=
10934 else
10935   echo "$as_me: failed program was:" >&5
10936 sed 's/^/| /' conftest.$ac_ext >&5
10937
10938 LIBS=$ac_save_LIBS
10939 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10940 do
10941   # Don't even attempt the hair of trying to link an X program!
10942   for ac_extension in a so sl; do
10943     if test -r $ac_dir/libXt.$ac_extension; then
10944       ac_x_libraries=$ac_dir
10945       break 2
10946     fi
10947   done
10948 done
10949 fi
10950 rm -f conftest.err conftest.$ac_objext \
10951       conftest$ac_exeext conftest.$ac_ext
10952 fi # $ac_x_libraries = no
10953
10954 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
10955   # Didn't find X anywhere.  Cache the known absence of X.
10956   ac_cv_have_x="have_x=no"
10957 else
10958   # Record where we found X for the cache.
10959   ac_cv_have_x="have_x=yes \
10960                 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
10961 fi
10962 fi
10963
10964   fi
10965   eval "$ac_cv_have_x"
10966 fi # $with_x != no
10967
10968 if test "$have_x" != yes; then
10969   echo "$as_me:$LINENO: result: $have_x" >&5
10970 echo "${ECHO_T}$have_x" >&6
10971   no_x=yes
10972 else
10973   # If each of the values was on the command line, it overrides each guess.
10974   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10975   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10976   # Update the cache value to reflect the command line values.
10977   ac_cv_have_x="have_x=yes \
10978                 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
10979   echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
10980 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
10981 fi
10982
10983 if test "$no_x" = yes; then
10984   # Not all programs may use this symbol, but it does not hurt to define it.
10985
10986 cat >>confdefs.h <<\_ACEOF
10987 #define X_DISPLAY_MISSING 1
10988 _ACEOF
10989
10990   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10991 else
10992   if test -n "$x_includes"; then
10993     X_CFLAGS="$X_CFLAGS -I$x_includes"
10994   fi
10995
10996   # It would also be nice to do this for all -L options, not just this one.
10997   if test -n "$x_libraries"; then
10998     X_LIBS="$X_LIBS -L$x_libraries"
10999     # For Solaris; some versions of Sun CC require a space after -R and
11000     # others require no space.  Words are not sufficient . . . .
11001     case `(uname -sr) 2>/dev/null` in
11002     "SunOS 5"*)
11003       echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
11004 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
11005       ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
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 int
11019 main ()
11020 {
11021
11022   ;
11023   return 0;
11024 }
11025 _ACEOF
11026 rm -f conftest.$ac_objext conftest$ac_exeext
11027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11028   (eval $ac_link) 2>conftest.er1
11029   ac_status=$?
11030   grep -v '^ *+' conftest.er1 >conftest.err
11031   rm -f conftest.er1
11032   cat conftest.err >&5
11033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11034   (exit $ac_status); } &&
11035          { ac_try='test -z "$ac_c_werror_flag"
11036                          || test ! -s conftest.err'
11037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11038   (eval $ac_try) 2>&5
11039   ac_status=$?
11040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11041   (exit $ac_status); }; } &&
11042          { ac_try='test -s conftest$ac_exeext'
11043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11044   (eval $ac_try) 2>&5
11045   ac_status=$?
11046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11047   (exit $ac_status); }; }; then
11048   ac_R_nospace=yes
11049 else
11050   echo "$as_me: failed program was:" >&5
11051 sed 's/^/| /' conftest.$ac_ext >&5
11052
11053 ac_R_nospace=no
11054 fi
11055 rm -f conftest.err conftest.$ac_objext \
11056       conftest$ac_exeext conftest.$ac_ext
11057       if test $ac_R_nospace = yes; then
11058         echo "$as_me:$LINENO: result: no" >&5
11059 echo "${ECHO_T}no" >&6
11060         X_LIBS="$X_LIBS -R$x_libraries"
11061       else
11062         LIBS="$ac_xsave_LIBS -R $x_libraries"
11063         if test x$gcc_no_link = xyes; then
11064   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11065 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11066    { (exit 1); exit 1; }; }
11067 fi
11068 cat >conftest.$ac_ext <<_ACEOF
11069 /* confdefs.h.  */
11070 _ACEOF
11071 cat confdefs.h >>conftest.$ac_ext
11072 cat >>conftest.$ac_ext <<_ACEOF
11073 /* end confdefs.h.  */
11074
11075 int
11076 main ()
11077 {
11078
11079   ;
11080   return 0;
11081 }
11082 _ACEOF
11083 rm -f conftest.$ac_objext conftest$ac_exeext
11084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11085   (eval $ac_link) 2>conftest.er1
11086   ac_status=$?
11087   grep -v '^ *+' conftest.er1 >conftest.err
11088   rm -f conftest.er1
11089   cat conftest.err >&5
11090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11091   (exit $ac_status); } &&
11092          { ac_try='test -z "$ac_c_werror_flag"
11093                          || test ! -s conftest.err'
11094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11095   (eval $ac_try) 2>&5
11096   ac_status=$?
11097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11098   (exit $ac_status); }; } &&
11099          { ac_try='test -s conftest$ac_exeext'
11100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11101   (eval $ac_try) 2>&5
11102   ac_status=$?
11103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11104   (exit $ac_status); }; }; then
11105   ac_R_space=yes
11106 else
11107   echo "$as_me: failed program was:" >&5
11108 sed 's/^/| /' conftest.$ac_ext >&5
11109
11110 ac_R_space=no
11111 fi
11112 rm -f conftest.err conftest.$ac_objext \
11113       conftest$ac_exeext conftest.$ac_ext
11114         if test $ac_R_space = yes; then
11115           echo "$as_me:$LINENO: result: yes" >&5
11116 echo "${ECHO_T}yes" >&6
11117           X_LIBS="$X_LIBS -R $x_libraries"
11118         else
11119           echo "$as_me:$LINENO: result: neither works" >&5
11120 echo "${ECHO_T}neither works" >&6
11121         fi
11122       fi
11123       LIBS=$ac_xsave_LIBS
11124     esac
11125   fi
11126
11127   # Check for system-dependent libraries X programs must link with.
11128   # Do this before checking for the system-independent R6 libraries
11129   # (-lICE), since we may need -lsocket or whatever for X linking.
11130
11131   if test "$ISC" = yes; then
11132     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11133   else
11134     # Martyn Johnson says this is needed for Ultrix, if the X
11135     # libraries were built with DECnet support.  And Karl Berry says
11136     # the Alpha needs dnet_stub (dnet does not exist).
11137     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11138     if test x$gcc_no_link = xyes; then
11139   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11141    { (exit 1); exit 1; }; }
11142 fi
11143 cat >conftest.$ac_ext <<_ACEOF
11144 /* confdefs.h.  */
11145 _ACEOF
11146 cat confdefs.h >>conftest.$ac_ext
11147 cat >>conftest.$ac_ext <<_ACEOF
11148 /* end confdefs.h.  */
11149
11150 /* Override any gcc2 internal prototype to avoid an error.  */
11151 #ifdef __cplusplus
11152 extern "C"
11153 #endif
11154 /* We use char because int might match the return type of a gcc2
11155    builtin and then its argument prototype would still apply.  */
11156 char XOpenDisplay ();
11157 int
11158 main ()
11159 {
11160 XOpenDisplay ();
11161   ;
11162   return 0;
11163 }
11164 _ACEOF
11165 rm -f conftest.$ac_objext conftest$ac_exeext
11166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11167   (eval $ac_link) 2>conftest.er1
11168   ac_status=$?
11169   grep -v '^ *+' conftest.er1 >conftest.err
11170   rm -f conftest.er1
11171   cat conftest.err >&5
11172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11173   (exit $ac_status); } &&
11174          { ac_try='test -z "$ac_c_werror_flag"
11175                          || test ! -s conftest.err'
11176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11177   (eval $ac_try) 2>&5
11178   ac_status=$?
11179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11180   (exit $ac_status); }; } &&
11181          { ac_try='test -s conftest$ac_exeext'
11182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11183   (eval $ac_try) 2>&5
11184   ac_status=$?
11185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11186   (exit $ac_status); }; }; then
11187   :
11188 else
11189   echo "$as_me: failed program was:" >&5
11190 sed 's/^/| /' conftest.$ac_ext >&5
11191
11192 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
11193 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
11194 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
11195   echo $ECHO_N "(cached) $ECHO_C" >&6
11196 else
11197   ac_check_lib_save_LIBS=$LIBS
11198 LIBS="-ldnet  $LIBS"
11199 if test x$gcc_no_link = xyes; then
11200   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11202    { (exit 1); exit 1; }; }
11203 fi
11204 cat >conftest.$ac_ext <<_ACEOF
11205 /* confdefs.h.  */
11206 _ACEOF
11207 cat confdefs.h >>conftest.$ac_ext
11208 cat >>conftest.$ac_ext <<_ACEOF
11209 /* end confdefs.h.  */
11210
11211 /* Override any gcc2 internal prototype to avoid an error.  */
11212 #ifdef __cplusplus
11213 extern "C"
11214 #endif
11215 /* We use char because int might match the return type of a gcc2
11216    builtin and then its argument prototype would still apply.  */
11217 char dnet_ntoa ();
11218 int
11219 main ()
11220 {
11221 dnet_ntoa ();
11222   ;
11223   return 0;
11224 }
11225 _ACEOF
11226 rm -f conftest.$ac_objext conftest$ac_exeext
11227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11228   (eval $ac_link) 2>conftest.er1
11229   ac_status=$?
11230   grep -v '^ *+' conftest.er1 >conftest.err
11231   rm -f conftest.er1
11232   cat conftest.err >&5
11233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11234   (exit $ac_status); } &&
11235          { ac_try='test -z "$ac_c_werror_flag"
11236                          || test ! -s conftest.err'
11237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11238   (eval $ac_try) 2>&5
11239   ac_status=$?
11240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11241   (exit $ac_status); }; } &&
11242          { ac_try='test -s conftest$ac_exeext'
11243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11244   (eval $ac_try) 2>&5
11245   ac_status=$?
11246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11247   (exit $ac_status); }; }; then
11248   ac_cv_lib_dnet_dnet_ntoa=yes
11249 else
11250   echo "$as_me: failed program was:" >&5
11251 sed 's/^/| /' conftest.$ac_ext >&5
11252
11253 ac_cv_lib_dnet_dnet_ntoa=no
11254 fi
11255 rm -f conftest.err conftest.$ac_objext \
11256       conftest$ac_exeext conftest.$ac_ext
11257 LIBS=$ac_check_lib_save_LIBS
11258 fi
11259 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11260 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
11261 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
11262   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11263 fi
11264
11265     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11266       echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
11267 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
11268 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
11269   echo $ECHO_N "(cached) $ECHO_C" >&6
11270 else
11271   ac_check_lib_save_LIBS=$LIBS
11272 LIBS="-ldnet_stub  $LIBS"
11273 if test x$gcc_no_link = xyes; then
11274   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11276    { (exit 1); exit 1; }; }
11277 fi
11278 cat >conftest.$ac_ext <<_ACEOF
11279 /* confdefs.h.  */
11280 _ACEOF
11281 cat confdefs.h >>conftest.$ac_ext
11282 cat >>conftest.$ac_ext <<_ACEOF
11283 /* end confdefs.h.  */
11284
11285 /* Override any gcc2 internal prototype to avoid an error.  */
11286 #ifdef __cplusplus
11287 extern "C"
11288 #endif
11289 /* We use char because int might match the return type of a gcc2
11290    builtin and then its argument prototype would still apply.  */
11291 char dnet_ntoa ();
11292 int
11293 main ()
11294 {
11295 dnet_ntoa ();
11296   ;
11297   return 0;
11298 }
11299 _ACEOF
11300 rm -f conftest.$ac_objext conftest$ac_exeext
11301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11302   (eval $ac_link) 2>conftest.er1
11303   ac_status=$?
11304   grep -v '^ *+' conftest.er1 >conftest.err
11305   rm -f conftest.er1
11306   cat conftest.err >&5
11307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11308   (exit $ac_status); } &&
11309          { ac_try='test -z "$ac_c_werror_flag"
11310                          || test ! -s conftest.err'
11311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11312   (eval $ac_try) 2>&5
11313   ac_status=$?
11314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11315   (exit $ac_status); }; } &&
11316          { ac_try='test -s conftest$ac_exeext'
11317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11318   (eval $ac_try) 2>&5
11319   ac_status=$?
11320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11321   (exit $ac_status); }; }; then
11322   ac_cv_lib_dnet_stub_dnet_ntoa=yes
11323 else
11324   echo "$as_me: failed program was:" >&5
11325 sed 's/^/| /' conftest.$ac_ext >&5
11326
11327 ac_cv_lib_dnet_stub_dnet_ntoa=no
11328 fi
11329 rm -f conftest.err conftest.$ac_objext \
11330       conftest$ac_exeext conftest.$ac_ext
11331 LIBS=$ac_check_lib_save_LIBS
11332 fi
11333 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11334 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
11335 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
11336   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11337 fi
11338
11339     fi
11340 fi
11341 rm -f conftest.err conftest.$ac_objext \
11342       conftest$ac_exeext conftest.$ac_ext
11343     LIBS="$ac_xsave_LIBS"
11344
11345     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11346     # to get the SysV transport functions.
11347     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11348     # needs -lnsl.
11349     # The nsl library prevents programs from opening the X display
11350     # on Irix 5.2, according to T.E. Dickey.
11351     # The functions gethostbyname, getservbyname, and inet_addr are
11352     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11353     echo "$as_me:$LINENO: checking for gethostbyname" >&5
11354 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
11355 if test "${ac_cv_func_gethostbyname+set}" = set; then
11356   echo $ECHO_N "(cached) $ECHO_C" >&6
11357 else
11358   if test x$gcc_no_link = xyes; then
11359   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11361    { (exit 1); exit 1; }; }
11362 fi
11363 cat >conftest.$ac_ext <<_ACEOF
11364 /* confdefs.h.  */
11365 _ACEOF
11366 cat confdefs.h >>conftest.$ac_ext
11367 cat >>conftest.$ac_ext <<_ACEOF
11368 /* end confdefs.h.  */
11369 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
11370    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11371 #define gethostbyname innocuous_gethostbyname
11372
11373 /* System header to define __stub macros and hopefully few prototypes,
11374     which can conflict with char gethostbyname (); below.
11375     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11376     <limits.h> exists even on freestanding compilers.  */
11377
11378 #ifdef __STDC__
11379 # include <limits.h>
11380 #else
11381 # include <assert.h>
11382 #endif
11383
11384 #undef gethostbyname
11385
11386 /* Override any gcc2 internal prototype to avoid an error.  */
11387 #ifdef __cplusplus
11388 extern "C"
11389 {
11390 #endif
11391 /* We use char because int might match the return type of a gcc2
11392    builtin and then its argument prototype would still apply.  */
11393 char gethostbyname ();
11394 /* The GNU C library defines this for functions which it implements
11395     to always fail with ENOSYS.  Some functions are actually named
11396     something starting with __ and the normal name is an alias.  */
11397 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
11398 choke me
11399 #else
11400 char (*f) () = gethostbyname;
11401 #endif
11402 #ifdef __cplusplus
11403 }
11404 #endif
11405
11406 int
11407 main ()
11408 {
11409 return f != gethostbyname;
11410   ;
11411   return 0;
11412 }
11413 _ACEOF
11414 rm -f conftest.$ac_objext conftest$ac_exeext
11415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11416   (eval $ac_link) 2>conftest.er1
11417   ac_status=$?
11418   grep -v '^ *+' conftest.er1 >conftest.err
11419   rm -f conftest.er1
11420   cat conftest.err >&5
11421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11422   (exit $ac_status); } &&
11423          { ac_try='test -z "$ac_c_werror_flag"
11424                          || test ! -s conftest.err'
11425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11426   (eval $ac_try) 2>&5
11427   ac_status=$?
11428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11429   (exit $ac_status); }; } &&
11430          { ac_try='test -s conftest$ac_exeext'
11431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11432   (eval $ac_try) 2>&5
11433   ac_status=$?
11434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11435   (exit $ac_status); }; }; then
11436   ac_cv_func_gethostbyname=yes
11437 else
11438   echo "$as_me: failed program was:" >&5
11439 sed 's/^/| /' conftest.$ac_ext >&5
11440
11441 ac_cv_func_gethostbyname=no
11442 fi
11443 rm -f conftest.err conftest.$ac_objext \
11444       conftest$ac_exeext conftest.$ac_ext
11445 fi
11446 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
11447 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
11448
11449     if test $ac_cv_func_gethostbyname = no; then
11450       echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
11451 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
11452 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
11453   echo $ECHO_N "(cached) $ECHO_C" >&6
11454 else
11455   ac_check_lib_save_LIBS=$LIBS
11456 LIBS="-lnsl  $LIBS"
11457 if test x$gcc_no_link = xyes; then
11458   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11460    { (exit 1); exit 1; }; }
11461 fi
11462 cat >conftest.$ac_ext <<_ACEOF
11463 /* confdefs.h.  */
11464 _ACEOF
11465 cat confdefs.h >>conftest.$ac_ext
11466 cat >>conftest.$ac_ext <<_ACEOF
11467 /* end confdefs.h.  */
11468
11469 /* Override any gcc2 internal prototype to avoid an error.  */
11470 #ifdef __cplusplus
11471 extern "C"
11472 #endif
11473 /* We use char because int might match the return type of a gcc2
11474    builtin and then its argument prototype would still apply.  */
11475 char gethostbyname ();
11476 int
11477 main ()
11478 {
11479 gethostbyname ();
11480   ;
11481   return 0;
11482 }
11483 _ACEOF
11484 rm -f conftest.$ac_objext conftest$ac_exeext
11485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11486   (eval $ac_link) 2>conftest.er1
11487   ac_status=$?
11488   grep -v '^ *+' conftest.er1 >conftest.err
11489   rm -f conftest.er1
11490   cat conftest.err >&5
11491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11492   (exit $ac_status); } &&
11493          { ac_try='test -z "$ac_c_werror_flag"
11494                          || test ! -s conftest.err'
11495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11496   (eval $ac_try) 2>&5
11497   ac_status=$?
11498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11499   (exit $ac_status); }; } &&
11500          { ac_try='test -s conftest$ac_exeext'
11501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11502   (eval $ac_try) 2>&5
11503   ac_status=$?
11504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11505   (exit $ac_status); }; }; then
11506   ac_cv_lib_nsl_gethostbyname=yes
11507 else
11508   echo "$as_me: failed program was:" >&5
11509 sed 's/^/| /' conftest.$ac_ext >&5
11510
11511 ac_cv_lib_nsl_gethostbyname=no
11512 fi
11513 rm -f conftest.err conftest.$ac_objext \
11514       conftest$ac_exeext conftest.$ac_ext
11515 LIBS=$ac_check_lib_save_LIBS
11516 fi
11517 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
11518 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
11519 if test $ac_cv_lib_nsl_gethostbyname = yes; then
11520   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11521 fi
11522
11523       if test $ac_cv_lib_nsl_gethostbyname = no; then
11524         echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
11525 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
11526 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
11527   echo $ECHO_N "(cached) $ECHO_C" >&6
11528 else
11529   ac_check_lib_save_LIBS=$LIBS
11530 LIBS="-lbsd  $LIBS"
11531 if test x$gcc_no_link = xyes; then
11532   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11534    { (exit 1); exit 1; }; }
11535 fi
11536 cat >conftest.$ac_ext <<_ACEOF
11537 /* confdefs.h.  */
11538 _ACEOF
11539 cat confdefs.h >>conftest.$ac_ext
11540 cat >>conftest.$ac_ext <<_ACEOF
11541 /* end confdefs.h.  */
11542
11543 /* Override any gcc2 internal prototype to avoid an error.  */
11544 #ifdef __cplusplus
11545 extern "C"
11546 #endif
11547 /* We use char because int might match the return type of a gcc2
11548    builtin and then its argument prototype would still apply.  */
11549 char gethostbyname ();
11550 int
11551 main ()
11552 {
11553 gethostbyname ();
11554   ;
11555   return 0;
11556 }
11557 _ACEOF
11558 rm -f conftest.$ac_objext conftest$ac_exeext
11559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11560   (eval $ac_link) 2>conftest.er1
11561   ac_status=$?
11562   grep -v '^ *+' conftest.er1 >conftest.err
11563   rm -f conftest.er1
11564   cat conftest.err >&5
11565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11566   (exit $ac_status); } &&
11567          { ac_try='test -z "$ac_c_werror_flag"
11568                          || test ! -s conftest.err'
11569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11570   (eval $ac_try) 2>&5
11571   ac_status=$?
11572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11573   (exit $ac_status); }; } &&
11574          { ac_try='test -s conftest$ac_exeext'
11575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11576   (eval $ac_try) 2>&5
11577   ac_status=$?
11578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11579   (exit $ac_status); }; }; then
11580   ac_cv_lib_bsd_gethostbyname=yes
11581 else
11582   echo "$as_me: failed program was:" >&5
11583 sed 's/^/| /' conftest.$ac_ext >&5
11584
11585 ac_cv_lib_bsd_gethostbyname=no
11586 fi
11587 rm -f conftest.err conftest.$ac_objext \
11588       conftest$ac_exeext conftest.$ac_ext
11589 LIBS=$ac_check_lib_save_LIBS
11590 fi
11591 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
11592 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
11593 if test $ac_cv_lib_bsd_gethostbyname = yes; then
11594   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11595 fi
11596
11597       fi
11598     fi
11599
11600     # lieder@skyler.mavd.honeywell.com says without -lsocket,
11601     # socket/setsockopt and other routines are undefined under SCO ODT
11602     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
11603     # on later versions), says Simon Leinen: it contains gethostby*
11604     # variants that don't use the name server (or something).  -lsocket
11605     # must be given before -lnsl if both are needed.  We assume that
11606     # if connect needs -lnsl, so does gethostbyname.
11607     echo "$as_me:$LINENO: checking for connect" >&5
11608 echo $ECHO_N "checking for connect... $ECHO_C" >&6
11609 if test "${ac_cv_func_connect+set}" = set; then
11610   echo $ECHO_N "(cached) $ECHO_C" >&6
11611 else
11612   if test x$gcc_no_link = xyes; then
11613   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11615    { (exit 1); exit 1; }; }
11616 fi
11617 cat >conftest.$ac_ext <<_ACEOF
11618 /* confdefs.h.  */
11619 _ACEOF
11620 cat confdefs.h >>conftest.$ac_ext
11621 cat >>conftest.$ac_ext <<_ACEOF
11622 /* end confdefs.h.  */
11623 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
11624    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11625 #define connect innocuous_connect
11626
11627 /* System header to define __stub macros and hopefully few prototypes,
11628     which can conflict with char connect (); below.
11629     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11630     <limits.h> exists even on freestanding compilers.  */
11631
11632 #ifdef __STDC__
11633 # include <limits.h>
11634 #else
11635 # include <assert.h>
11636 #endif
11637
11638 #undef connect
11639
11640 /* Override any gcc2 internal prototype to avoid an error.  */
11641 #ifdef __cplusplus
11642 extern "C"
11643 {
11644 #endif
11645 /* We use char because int might match the return type of a gcc2
11646    builtin and then its argument prototype would still apply.  */
11647 char connect ();
11648 /* The GNU C library defines this for functions which it implements
11649     to always fail with ENOSYS.  Some functions are actually named
11650     something starting with __ and the normal name is an alias.  */
11651 #if defined (__stub_connect) || defined (__stub___connect)
11652 choke me
11653 #else
11654 char (*f) () = connect;
11655 #endif
11656 #ifdef __cplusplus
11657 }
11658 #endif
11659
11660 int
11661 main ()
11662 {
11663 return f != connect;
11664   ;
11665   return 0;
11666 }
11667 _ACEOF
11668 rm -f conftest.$ac_objext conftest$ac_exeext
11669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11670   (eval $ac_link) 2>conftest.er1
11671   ac_status=$?
11672   grep -v '^ *+' conftest.er1 >conftest.err
11673   rm -f conftest.er1
11674   cat conftest.err >&5
11675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11676   (exit $ac_status); } &&
11677          { ac_try='test -z "$ac_c_werror_flag"
11678                          || test ! -s conftest.err'
11679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11680   (eval $ac_try) 2>&5
11681   ac_status=$?
11682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11683   (exit $ac_status); }; } &&
11684          { ac_try='test -s conftest$ac_exeext'
11685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11686   (eval $ac_try) 2>&5
11687   ac_status=$?
11688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11689   (exit $ac_status); }; }; then
11690   ac_cv_func_connect=yes
11691 else
11692   echo "$as_me: failed program was:" >&5
11693 sed 's/^/| /' conftest.$ac_ext >&5
11694
11695 ac_cv_func_connect=no
11696 fi
11697 rm -f conftest.err conftest.$ac_objext \
11698       conftest$ac_exeext conftest.$ac_ext
11699 fi
11700 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
11701 echo "${ECHO_T}$ac_cv_func_connect" >&6
11702
11703     if test $ac_cv_func_connect = no; then
11704       echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
11705 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
11706 if test "${ac_cv_lib_socket_connect+set}" = set; then
11707   echo $ECHO_N "(cached) $ECHO_C" >&6
11708 else
11709   ac_check_lib_save_LIBS=$LIBS
11710 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11711 if test x$gcc_no_link = xyes; then
11712   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11714    { (exit 1); exit 1; }; }
11715 fi
11716 cat >conftest.$ac_ext <<_ACEOF
11717 /* confdefs.h.  */
11718 _ACEOF
11719 cat confdefs.h >>conftest.$ac_ext
11720 cat >>conftest.$ac_ext <<_ACEOF
11721 /* end confdefs.h.  */
11722
11723 /* Override any gcc2 internal prototype to avoid an error.  */
11724 #ifdef __cplusplus
11725 extern "C"
11726 #endif
11727 /* We use char because int might match the return type of a gcc2
11728    builtin and then its argument prototype would still apply.  */
11729 char connect ();
11730 int
11731 main ()
11732 {
11733 connect ();
11734   ;
11735   return 0;
11736 }
11737 _ACEOF
11738 rm -f conftest.$ac_objext conftest$ac_exeext
11739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11740   (eval $ac_link) 2>conftest.er1
11741   ac_status=$?
11742   grep -v '^ *+' conftest.er1 >conftest.err
11743   rm -f conftest.er1
11744   cat conftest.err >&5
11745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11746   (exit $ac_status); } &&
11747          { ac_try='test -z "$ac_c_werror_flag"
11748                          || test ! -s conftest.err'
11749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11750   (eval $ac_try) 2>&5
11751   ac_status=$?
11752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11753   (exit $ac_status); }; } &&
11754          { ac_try='test -s conftest$ac_exeext'
11755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11756   (eval $ac_try) 2>&5
11757   ac_status=$?
11758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11759   (exit $ac_status); }; }; then
11760   ac_cv_lib_socket_connect=yes
11761 else
11762   echo "$as_me: failed program was:" >&5
11763 sed 's/^/| /' conftest.$ac_ext >&5
11764
11765 ac_cv_lib_socket_connect=no
11766 fi
11767 rm -f conftest.err conftest.$ac_objext \
11768       conftest$ac_exeext conftest.$ac_ext
11769 LIBS=$ac_check_lib_save_LIBS
11770 fi
11771 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
11772 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
11773 if test $ac_cv_lib_socket_connect = yes; then
11774   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11775 fi
11776
11777     fi
11778
11779     # Guillermo Gomez says -lposix is necessary on A/UX.
11780     echo "$as_me:$LINENO: checking for remove" >&5
11781 echo $ECHO_N "checking for remove... $ECHO_C" >&6
11782 if test "${ac_cv_func_remove+set}" = set; then
11783   echo $ECHO_N "(cached) $ECHO_C" >&6
11784 else
11785   if test x$gcc_no_link = xyes; then
11786   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11788    { (exit 1); exit 1; }; }
11789 fi
11790 cat >conftest.$ac_ext <<_ACEOF
11791 /* confdefs.h.  */
11792 _ACEOF
11793 cat confdefs.h >>conftest.$ac_ext
11794 cat >>conftest.$ac_ext <<_ACEOF
11795 /* end confdefs.h.  */
11796 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
11797    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11798 #define remove innocuous_remove
11799
11800 /* System header to define __stub macros and hopefully few prototypes,
11801     which can conflict with char remove (); below.
11802     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11803     <limits.h> exists even on freestanding compilers.  */
11804
11805 #ifdef __STDC__
11806 # include <limits.h>
11807 #else
11808 # include <assert.h>
11809 #endif
11810
11811 #undef remove
11812
11813 /* Override any gcc2 internal prototype to avoid an error.  */
11814 #ifdef __cplusplus
11815 extern "C"
11816 {
11817 #endif
11818 /* We use char because int might match the return type of a gcc2
11819    builtin and then its argument prototype would still apply.  */
11820 char remove ();
11821 /* The GNU C library defines this for functions which it implements
11822     to always fail with ENOSYS.  Some functions are actually named
11823     something starting with __ and the normal name is an alias.  */
11824 #if defined (__stub_remove) || defined (__stub___remove)
11825 choke me
11826 #else
11827 char (*f) () = remove;
11828 #endif
11829 #ifdef __cplusplus
11830 }
11831 #endif
11832
11833 int
11834 main ()
11835 {
11836 return f != remove;
11837   ;
11838   return 0;
11839 }
11840 _ACEOF
11841 rm -f conftest.$ac_objext conftest$ac_exeext
11842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11843   (eval $ac_link) 2>conftest.er1
11844   ac_status=$?
11845   grep -v '^ *+' conftest.er1 >conftest.err
11846   rm -f conftest.er1
11847   cat conftest.err >&5
11848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11849   (exit $ac_status); } &&
11850          { ac_try='test -z "$ac_c_werror_flag"
11851                          || test ! -s conftest.err'
11852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11853   (eval $ac_try) 2>&5
11854   ac_status=$?
11855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11856   (exit $ac_status); }; } &&
11857          { ac_try='test -s conftest$ac_exeext'
11858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11859   (eval $ac_try) 2>&5
11860   ac_status=$?
11861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11862   (exit $ac_status); }; }; then
11863   ac_cv_func_remove=yes
11864 else
11865   echo "$as_me: failed program was:" >&5
11866 sed 's/^/| /' conftest.$ac_ext >&5
11867
11868 ac_cv_func_remove=no
11869 fi
11870 rm -f conftest.err conftest.$ac_objext \
11871       conftest$ac_exeext conftest.$ac_ext
11872 fi
11873 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
11874 echo "${ECHO_T}$ac_cv_func_remove" >&6
11875
11876     if test $ac_cv_func_remove = no; then
11877       echo "$as_me:$LINENO: checking for remove in -lposix" >&5
11878 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
11879 if test "${ac_cv_lib_posix_remove+set}" = set; then
11880   echo $ECHO_N "(cached) $ECHO_C" >&6
11881 else
11882   ac_check_lib_save_LIBS=$LIBS
11883 LIBS="-lposix  $LIBS"
11884 if test x$gcc_no_link = xyes; then
11885   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11887    { (exit 1); exit 1; }; }
11888 fi
11889 cat >conftest.$ac_ext <<_ACEOF
11890 /* confdefs.h.  */
11891 _ACEOF
11892 cat confdefs.h >>conftest.$ac_ext
11893 cat >>conftest.$ac_ext <<_ACEOF
11894 /* end confdefs.h.  */
11895
11896 /* Override any gcc2 internal prototype to avoid an error.  */
11897 #ifdef __cplusplus
11898 extern "C"
11899 #endif
11900 /* We use char because int might match the return type of a gcc2
11901    builtin and then its argument prototype would still apply.  */
11902 char remove ();
11903 int
11904 main ()
11905 {
11906 remove ();
11907   ;
11908   return 0;
11909 }
11910 _ACEOF
11911 rm -f conftest.$ac_objext conftest$ac_exeext
11912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11913   (eval $ac_link) 2>conftest.er1
11914   ac_status=$?
11915   grep -v '^ *+' conftest.er1 >conftest.err
11916   rm -f conftest.er1
11917   cat conftest.err >&5
11918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11919   (exit $ac_status); } &&
11920          { ac_try='test -z "$ac_c_werror_flag"
11921                          || test ! -s conftest.err'
11922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11923   (eval $ac_try) 2>&5
11924   ac_status=$?
11925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11926   (exit $ac_status); }; } &&
11927          { ac_try='test -s conftest$ac_exeext'
11928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11929   (eval $ac_try) 2>&5
11930   ac_status=$?
11931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11932   (exit $ac_status); }; }; then
11933   ac_cv_lib_posix_remove=yes
11934 else
11935   echo "$as_me: failed program was:" >&5
11936 sed 's/^/| /' conftest.$ac_ext >&5
11937
11938 ac_cv_lib_posix_remove=no
11939 fi
11940 rm -f conftest.err conftest.$ac_objext \
11941       conftest$ac_exeext conftest.$ac_ext
11942 LIBS=$ac_check_lib_save_LIBS
11943 fi
11944 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
11945 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
11946 if test $ac_cv_lib_posix_remove = yes; then
11947   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11948 fi
11949
11950     fi
11951
11952     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11953     echo "$as_me:$LINENO: checking for shmat" >&5
11954 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
11955 if test "${ac_cv_func_shmat+set}" = set; then
11956   echo $ECHO_N "(cached) $ECHO_C" >&6
11957 else
11958   if test x$gcc_no_link = xyes; then
11959   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11961    { (exit 1); exit 1; }; }
11962 fi
11963 cat >conftest.$ac_ext <<_ACEOF
11964 /* confdefs.h.  */
11965 _ACEOF
11966 cat confdefs.h >>conftest.$ac_ext
11967 cat >>conftest.$ac_ext <<_ACEOF
11968 /* end confdefs.h.  */
11969 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
11970    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11971 #define shmat innocuous_shmat
11972
11973 /* System header to define __stub macros and hopefully few prototypes,
11974     which can conflict with char shmat (); below.
11975     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11976     <limits.h> exists even on freestanding compilers.  */
11977
11978 #ifdef __STDC__
11979 # include <limits.h>
11980 #else
11981 # include <assert.h>
11982 #endif
11983
11984 #undef shmat
11985
11986 /* Override any gcc2 internal prototype to avoid an error.  */
11987 #ifdef __cplusplus
11988 extern "C"
11989 {
11990 #endif
11991 /* We use char because int might match the return type of a gcc2
11992    builtin and then its argument prototype would still apply.  */
11993 char shmat ();
11994 /* The GNU C library defines this for functions which it implements
11995     to always fail with ENOSYS.  Some functions are actually named
11996     something starting with __ and the normal name is an alias.  */
11997 #if defined (__stub_shmat) || defined (__stub___shmat)
11998 choke me
11999 #else
12000 char (*f) () = shmat;
12001 #endif
12002 #ifdef __cplusplus
12003 }
12004 #endif
12005
12006 int
12007 main ()
12008 {
12009 return f != shmat;
12010   ;
12011   return 0;
12012 }
12013 _ACEOF
12014 rm -f conftest.$ac_objext conftest$ac_exeext
12015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12016   (eval $ac_link) 2>conftest.er1
12017   ac_status=$?
12018   grep -v '^ *+' conftest.er1 >conftest.err
12019   rm -f conftest.er1
12020   cat conftest.err >&5
12021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12022   (exit $ac_status); } &&
12023          { ac_try='test -z "$ac_c_werror_flag"
12024                          || test ! -s conftest.err'
12025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12026   (eval $ac_try) 2>&5
12027   ac_status=$?
12028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12029   (exit $ac_status); }; } &&
12030          { ac_try='test -s conftest$ac_exeext'
12031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12032   (eval $ac_try) 2>&5
12033   ac_status=$?
12034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12035   (exit $ac_status); }; }; then
12036   ac_cv_func_shmat=yes
12037 else
12038   echo "$as_me: failed program was:" >&5
12039 sed 's/^/| /' conftest.$ac_ext >&5
12040
12041 ac_cv_func_shmat=no
12042 fi
12043 rm -f conftest.err conftest.$ac_objext \
12044       conftest$ac_exeext conftest.$ac_ext
12045 fi
12046 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
12047 echo "${ECHO_T}$ac_cv_func_shmat" >&6
12048
12049     if test $ac_cv_func_shmat = no; then
12050       echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
12051 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
12052 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
12053   echo $ECHO_N "(cached) $ECHO_C" >&6
12054 else
12055   ac_check_lib_save_LIBS=$LIBS
12056 LIBS="-lipc  $LIBS"
12057 if test x$gcc_no_link = xyes; then
12058   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12060    { (exit 1); exit 1; }; }
12061 fi
12062 cat >conftest.$ac_ext <<_ACEOF
12063 /* confdefs.h.  */
12064 _ACEOF
12065 cat confdefs.h >>conftest.$ac_ext
12066 cat >>conftest.$ac_ext <<_ACEOF
12067 /* end confdefs.h.  */
12068
12069 /* Override any gcc2 internal prototype to avoid an error.  */
12070 #ifdef __cplusplus
12071 extern "C"
12072 #endif
12073 /* We use char because int might match the return type of a gcc2
12074    builtin and then its argument prototype would still apply.  */
12075 char shmat ();
12076 int
12077 main ()
12078 {
12079 shmat ();
12080   ;
12081   return 0;
12082 }
12083 _ACEOF
12084 rm -f conftest.$ac_objext conftest$ac_exeext
12085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12086   (eval $ac_link) 2>conftest.er1
12087   ac_status=$?
12088   grep -v '^ *+' conftest.er1 >conftest.err
12089   rm -f conftest.er1
12090   cat conftest.err >&5
12091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12092   (exit $ac_status); } &&
12093          { ac_try='test -z "$ac_c_werror_flag"
12094                          || test ! -s conftest.err'
12095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12096   (eval $ac_try) 2>&5
12097   ac_status=$?
12098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12099   (exit $ac_status); }; } &&
12100          { ac_try='test -s conftest$ac_exeext'
12101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12102   (eval $ac_try) 2>&5
12103   ac_status=$?
12104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12105   (exit $ac_status); }; }; then
12106   ac_cv_lib_ipc_shmat=yes
12107 else
12108   echo "$as_me: failed program was:" >&5
12109 sed 's/^/| /' conftest.$ac_ext >&5
12110
12111 ac_cv_lib_ipc_shmat=no
12112 fi
12113 rm -f conftest.err conftest.$ac_objext \
12114       conftest$ac_exeext conftest.$ac_ext
12115 LIBS=$ac_check_lib_save_LIBS
12116 fi
12117 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
12118 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
12119 if test $ac_cv_lib_ipc_shmat = yes; then
12120   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
12121 fi
12122
12123     fi
12124   fi
12125
12126   # Check for libraries that X11R6 Xt/Xaw programs need.
12127   ac_save_LDFLAGS=$LDFLAGS
12128   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
12129   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
12130   # check for ICE first), but we must link in the order -lSM -lICE or
12131   # we get undefined symbols.  So assume we have SM if we have ICE.
12132   # These have to be linked with before -lX11, unlike the other
12133   # libraries we check for below, so use a different variable.
12134   # John Interrante, Karl Berry
12135   echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
12136 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
12137 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
12138   echo $ECHO_N "(cached) $ECHO_C" >&6
12139 else
12140   ac_check_lib_save_LIBS=$LIBS
12141 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
12142 if test x$gcc_no_link = xyes; then
12143   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12145    { (exit 1); exit 1; }; }
12146 fi
12147 cat >conftest.$ac_ext <<_ACEOF
12148 /* confdefs.h.  */
12149 _ACEOF
12150 cat confdefs.h >>conftest.$ac_ext
12151 cat >>conftest.$ac_ext <<_ACEOF
12152 /* end confdefs.h.  */
12153
12154 /* Override any gcc2 internal prototype to avoid an error.  */
12155 #ifdef __cplusplus
12156 extern "C"
12157 #endif
12158 /* We use char because int might match the return type of a gcc2
12159    builtin and then its argument prototype would still apply.  */
12160 char IceConnectionNumber ();
12161 int
12162 main ()
12163 {
12164 IceConnectionNumber ();
12165   ;
12166   return 0;
12167 }
12168 _ACEOF
12169 rm -f conftest.$ac_objext conftest$ac_exeext
12170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12171   (eval $ac_link) 2>conftest.er1
12172   ac_status=$?
12173   grep -v '^ *+' conftest.er1 >conftest.err
12174   rm -f conftest.er1
12175   cat conftest.err >&5
12176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12177   (exit $ac_status); } &&
12178          { ac_try='test -z "$ac_c_werror_flag"
12179                          || test ! -s conftest.err'
12180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12181   (eval $ac_try) 2>&5
12182   ac_status=$?
12183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12184   (exit $ac_status); }; } &&
12185          { ac_try='test -s conftest$ac_exeext'
12186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12187   (eval $ac_try) 2>&5
12188   ac_status=$?
12189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12190   (exit $ac_status); }; }; then
12191   ac_cv_lib_ICE_IceConnectionNumber=yes
12192 else
12193   echo "$as_me: failed program was:" >&5
12194 sed 's/^/| /' conftest.$ac_ext >&5
12195
12196 ac_cv_lib_ICE_IceConnectionNumber=no
12197 fi
12198 rm -f conftest.err conftest.$ac_objext \
12199       conftest$ac_exeext conftest.$ac_ext
12200 LIBS=$ac_check_lib_save_LIBS
12201 fi
12202 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
12203 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
12204 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
12205   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
12206 fi
12207
12208   LDFLAGS=$ac_save_LDFLAGS
12209
12210 fi
12211
12212     if test "$no_x" = yes; then
12213         { { echo "$as_me:$LINENO: error: GTK+ peers requested but no X library available" >&5
12214 echo "$as_me: error: GTK+ peers requested but no X library available" >&2;}
12215    { (exit 1); exit 1; }; }
12216     fi
12217         echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
12218 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
12219 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
12220   echo $ECHO_N "(cached) $ECHO_C" >&6
12221 else
12222   ac_check_lib_save_LIBS=$LIBS
12223 LIBS="-lXtst ${X_LIBS} $LIBS"
12224 if test x$gcc_no_link = xyes; then
12225   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12227    { (exit 1); exit 1; }; }
12228 fi
12229 cat >conftest.$ac_ext <<_ACEOF
12230 /* confdefs.h.  */
12231 _ACEOF
12232 cat confdefs.h >>conftest.$ac_ext
12233 cat >>conftest.$ac_ext <<_ACEOF
12234 /* end confdefs.h.  */
12235
12236 /* Override any gcc2 internal prototype to avoid an error.  */
12237 #ifdef __cplusplus
12238 extern "C"
12239 #endif
12240 /* We use char because int might match the return type of a gcc2
12241    builtin and then its argument prototype would still apply.  */
12242 char XTestQueryExtension ();
12243 int
12244 main ()
12245 {
12246 XTestQueryExtension ();
12247   ;
12248   return 0;
12249 }
12250 _ACEOF
12251 rm -f conftest.$ac_objext conftest$ac_exeext
12252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12253   (eval $ac_link) 2>conftest.er1
12254   ac_status=$?
12255   grep -v '^ *+' conftest.er1 >conftest.err
12256   rm -f conftest.er1
12257   cat conftest.err >&5
12258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12259   (exit $ac_status); } &&
12260          { ac_try='test -z "$ac_c_werror_flag"
12261                          || test ! -s conftest.err'
12262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12263   (eval $ac_try) 2>&5
12264   ac_status=$?
12265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12266   (exit $ac_status); }; } &&
12267          { ac_try='test -s conftest$ac_exeext'
12268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12269   (eval $ac_try) 2>&5
12270   ac_status=$?
12271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12272   (exit $ac_status); }; }; then
12273   ac_cv_lib_Xtst_XTestQueryExtension=yes
12274 else
12275   echo "$as_me: failed program was:" >&5
12276 sed 's/^/| /' conftest.$ac_ext >&5
12277
12278 ac_cv_lib_Xtst_XTestQueryExtension=no
12279 fi
12280 rm -f conftest.err conftest.$ac_objext \
12281       conftest$ac_exeext conftest.$ac_ext
12282 LIBS=$ac_check_lib_save_LIBS
12283 fi
12284 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
12285 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
12286 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
12287   XTEST_LIBS="$XTEST_LIBS -lX11 -lXtst"
12288 else
12289   { { echo "$as_me:$LINENO: error: libXtst NOT found, required for GdkRobot" >&5
12290 echo "$as_me: error: libXtst NOT found, required for GdkRobot" >&2;}
12291    { (exit 1); exit 1; }; }
12292 fi
12293
12294
12295
12296   succeeded=no
12297
12298   if test -z "$PKG_CONFIG"; then
12299     # Extract the first word of "pkg-config", so it can be a program name with args.
12300 set dummy pkg-config; ac_word=$2
12301 echo "$as_me:$LINENO: checking for $ac_word" >&5
12302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12303 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12304   echo $ECHO_N "(cached) $ECHO_C" >&6
12305 else
12306   case $PKG_CONFIG in
12307   [\\/]* | ?:[\\/]*)
12308   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12309   ;;
12310   *)
12311   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12312 for as_dir in $PATH
12313 do
12314   IFS=$as_save_IFS
12315   test -z "$as_dir" && as_dir=.
12316   for ac_exec_ext in '' $ac_executable_extensions; do
12317   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12318     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12319     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12320     break 2
12321   fi
12322 done
12323 done
12324
12325   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12326   ;;
12327 esac
12328 fi
12329 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12330
12331 if test -n "$PKG_CONFIG"; then
12332   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12333 echo "${ECHO_T}$PKG_CONFIG" >&6
12334 else
12335   echo "$as_me:$LINENO: result: no" >&5
12336 echo "${ECHO_T}no" >&6
12337 fi
12338
12339   fi
12340
12341   if test "$PKG_CONFIG" = "no" ; then
12342      echo "*** The pkg-config script could not be found. Make sure it is"
12343      echo "*** in your path, or set the PKG_CONFIG environment variable"
12344      echo "*** to the full path to pkg-config."
12345      echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12346   else
12347      PKG_CONFIG_MIN_VERSION=0.9.0
12348      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12349         echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
12350 echo $ECHO_N "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... $ECHO_C" >&6
12351
12352         if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
12353             echo "$as_me:$LINENO: result: yes" >&5
12354 echo "${ECHO_T}yes" >&6
12355             succeeded=yes
12356
12357             echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
12358 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
12359             GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
12360             echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
12361 echo "${ECHO_T}$GTK_CFLAGS" >&6
12362
12363             echo "$as_me:$LINENO: checking GTK_LIBS" >&5
12364 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
12365             GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
12366             echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
12367 echo "${ECHO_T}$GTK_LIBS" >&6
12368         else
12369             GTK_CFLAGS=""
12370             GTK_LIBS=""
12371             ## If we have a custom action on failure, don't print errors, but
12372             ## do set a variable so people can do so.
12373             GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
12374             echo $GTK_PKG_ERRORS
12375         fi
12376
12377
12378
12379      else
12380         echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12381         echo "*** See http://www.freedesktop.org/software/pkgconfig"
12382      fi
12383   fi
12384
12385   if test $succeeded = yes; then
12386      :
12387   else
12388      { { 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
12389 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;}
12390    { (exit 1); exit 1; }; }
12391   fi
12392
12393
12394   succeeded=no
12395
12396   if test -z "$PKG_CONFIG"; then
12397     # Extract the first word of "pkg-config", so it can be a program name with args.
12398 set dummy pkg-config; ac_word=$2
12399 echo "$as_me:$LINENO: checking for $ac_word" >&5
12400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12401 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12402   echo $ECHO_N "(cached) $ECHO_C" >&6
12403 else
12404   case $PKG_CONFIG in
12405   [\\/]* | ?:[\\/]*)
12406   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12407   ;;
12408   *)
12409   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12410 for as_dir in $PATH
12411 do
12412   IFS=$as_save_IFS
12413   test -z "$as_dir" && as_dir=.
12414   for ac_exec_ext in '' $ac_executable_extensions; do
12415   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12416     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12417     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12418     break 2
12419   fi
12420 done
12421 done
12422
12423   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12424   ;;
12425 esac
12426 fi
12427 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12428
12429 if test -n "$PKG_CONFIG"; then
12430   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12431 echo "${ECHO_T}$PKG_CONFIG" >&6
12432 else
12433   echo "$as_me:$LINENO: result: no" >&5
12434 echo "${ECHO_T}no" >&6
12435 fi
12436
12437   fi
12438
12439   if test "$PKG_CONFIG" = "no" ; then
12440      echo "*** The pkg-config script could not be found. Make sure it is"
12441      echo "*** in your path, or set the PKG_CONFIG environment variable"
12442      echo "*** to the full path to pkg-config."
12443      echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12444   else
12445      PKG_CONFIG_MIN_VERSION=0.9.0
12446      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12447         echo "$as_me:$LINENO: checking for freetype2" >&5
12448 echo $ECHO_N "checking for freetype2... $ECHO_C" >&6
12449
12450         if $PKG_CONFIG --exists "freetype2" ; then
12451             echo "$as_me:$LINENO: result: yes" >&5
12452 echo "${ECHO_T}yes" >&6
12453             succeeded=yes
12454
12455             echo "$as_me:$LINENO: checking FREETYPE2_CFLAGS" >&5
12456 echo $ECHO_N "checking FREETYPE2_CFLAGS... $ECHO_C" >&6
12457             FREETYPE2_CFLAGS=`$PKG_CONFIG --cflags "freetype2"`
12458             echo "$as_me:$LINENO: result: $FREETYPE2_CFLAGS" >&5
12459 echo "${ECHO_T}$FREETYPE2_CFLAGS" >&6
12460
12461             echo "$as_me:$LINENO: checking FREETYPE2_LIBS" >&5
12462 echo $ECHO_N "checking FREETYPE2_LIBS... $ECHO_C" >&6
12463             FREETYPE2_LIBS=`$PKG_CONFIG --libs "freetype2"`
12464             echo "$as_me:$LINENO: result: $FREETYPE2_LIBS" >&5
12465 echo "${ECHO_T}$FREETYPE2_LIBS" >&6
12466         else
12467             FREETYPE2_CFLAGS=""
12468             FREETYPE2_LIBS=""
12469             ## If we have a custom action on failure, don't print errors, but
12470             ## do set a variable so people can do so.
12471             FREETYPE2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"`
12472             echo $FREETYPE2_PKG_ERRORS
12473         fi
12474
12475
12476
12477      else
12478         echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12479         echo "*** See http://www.freedesktop.org/software/pkgconfig"
12480      fi
12481   fi
12482
12483   if test $succeeded = yes; then
12484      :
12485   else
12486      { { 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
12487 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;}
12488    { (exit 1); exit 1; }; }
12489   fi
12490
12491
12492   succeeded=no
12493
12494   if test -z "$PKG_CONFIG"; then
12495     # Extract the first word of "pkg-config", so it can be a program name with args.
12496 set dummy pkg-config; ac_word=$2
12497 echo "$as_me:$LINENO: checking for $ac_word" >&5
12498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12499 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12500   echo $ECHO_N "(cached) $ECHO_C" >&6
12501 else
12502   case $PKG_CONFIG in
12503   [\\/]* | ?:[\\/]*)
12504   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12505   ;;
12506   *)
12507   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12508 for as_dir in $PATH
12509 do
12510   IFS=$as_save_IFS
12511   test -z "$as_dir" && as_dir=.
12512   for ac_exec_ext in '' $ac_executable_extensions; do
12513   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12514     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12515     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12516     break 2
12517   fi
12518 done
12519 done
12520
12521   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12522   ;;
12523 esac
12524 fi
12525 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12526
12527 if test -n "$PKG_CONFIG"; then
12528   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12529 echo "${ECHO_T}$PKG_CONFIG" >&6
12530 else
12531   echo "$as_me:$LINENO: result: no" >&5
12532 echo "${ECHO_T}no" >&6
12533 fi
12534
12535   fi
12536
12537   if test "$PKG_CONFIG" = "no" ; then
12538      echo "*** The pkg-config script could not be found. Make sure it is"
12539      echo "*** in your path, or set the PKG_CONFIG environment variable"
12540      echo "*** to the full path to pkg-config."
12541      echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12542   else
12543      PKG_CONFIG_MIN_VERSION=0.9.0
12544      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12545         echo "$as_me:$LINENO: checking for pangoft2" >&5
12546 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
12547
12548         if $PKG_CONFIG --exists "pangoft2" ; then
12549             echo "$as_me:$LINENO: result: yes" >&5
12550 echo "${ECHO_T}yes" >&6
12551             succeeded=yes
12552
12553             echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
12554 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
12555             PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
12556             echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
12557 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
12558
12559             echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
12560 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
12561             PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
12562             echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
12563 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
12564         else
12565             PANGOFT2_CFLAGS=""
12566             PANGOFT2_LIBS=""
12567             ## If we have a custom action on failure, don't print errors, but
12568             ## do set a variable so people can do so.
12569             PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
12570             echo $PANGOFT2_PKG_ERRORS
12571         fi
12572
12573
12574
12575      else
12576         echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12577         echo "*** See http://www.freedesktop.org/software/pkgconfig"
12578      fi
12579   fi
12580
12581   if test $succeeded = yes; then
12582      :
12583   else
12584      { { 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
12585 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;}
12586    { (exit 1); exit 1; }; }
12587   fi
12588
12589             echo "$as_me:$LINENO: checking for XRenderQueryExtension in -lXrender" >&5
12590 echo $ECHO_N "checking for XRenderQueryExtension in -lXrender... $ECHO_C" >&6
12591 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then
12592   echo $ECHO_N "(cached) $ECHO_C" >&6
12593 else
12594   ac_check_lib_save_LIBS=$LIBS
12595 LIBS="-lXrender ${X_LIBS} $LIBS"
12596 if test x$gcc_no_link = xyes; then
12597   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12599    { (exit 1); exit 1; }; }
12600 fi
12601 cat >conftest.$ac_ext <<_ACEOF
12602 /* confdefs.h.  */
12603 _ACEOF
12604 cat confdefs.h >>conftest.$ac_ext
12605 cat >>conftest.$ac_ext <<_ACEOF
12606 /* end confdefs.h.  */
12607
12608 /* Override any gcc2 internal prototype to avoid an error.  */
12609 #ifdef __cplusplus
12610 extern "C"
12611 #endif
12612 /* We use char because int might match the return type of a gcc2
12613    builtin and then its argument prototype would still apply.  */
12614 char XRenderQueryExtension ();
12615 int
12616 main ()
12617 {
12618 XRenderQueryExtension ();
12619   ;
12620   return 0;
12621 }
12622 _ACEOF
12623 rm -f conftest.$ac_objext conftest$ac_exeext
12624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12625   (eval $ac_link) 2>conftest.er1
12626   ac_status=$?
12627   grep -v '^ *+' conftest.er1 >conftest.err
12628   rm -f conftest.er1
12629   cat conftest.err >&5
12630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12631   (exit $ac_status); } &&
12632          { ac_try='test -z "$ac_c_werror_flag"
12633                          || test ! -s conftest.err'
12634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12635   (eval $ac_try) 2>&5
12636   ac_status=$?
12637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12638   (exit $ac_status); }; } &&
12639          { ac_try='test -s conftest$ac_exeext'
12640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12641   (eval $ac_try) 2>&5
12642   ac_status=$?
12643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12644   (exit $ac_status); }; }; then
12645   ac_cv_lib_Xrender_XRenderQueryExtension=yes
12646 else
12647   echo "$as_me: failed program was:" >&5
12648 sed 's/^/| /' conftest.$ac_ext >&5
12649
12650 ac_cv_lib_Xrender_XRenderQueryExtension=no
12651 fi
12652 rm -f conftest.err conftest.$ac_objext \
12653       conftest$ac_exeext conftest.$ac_ext
12654 LIBS=$ac_check_lib_save_LIBS
12655 fi
12656 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
12657 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderQueryExtension" >&6
12658 if test $ac_cv_lib_Xrender_XRenderQueryExtension = yes; then
12659
12660 cat >>confdefs.h <<\_ACEOF
12661 #define HAVE_XRENDER 1
12662 _ACEOF
12663 X_EXTRA_LIBS="$X_EXTRA_LIBS -lXrender"
12664 else
12665   true
12666 fi
12667
12668
12669             echo "$as_me:$LINENO: checking for XRRQueryExtension in -lXrandr" >&5
12670 echo $ECHO_N "checking for XRRQueryExtension in -lXrandr... $ECHO_C" >&6
12671 if test "${ac_cv_lib_Xrandr_XRRQueryExtension+set}" = set; then
12672   echo $ECHO_N "(cached) $ECHO_C" >&6
12673 else
12674   ac_check_lib_save_LIBS=$LIBS
12675 LIBS="-lXrandr ${X_LIBS} $LIBS"
12676 if test x$gcc_no_link = xyes; then
12677   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12679    { (exit 1); exit 1; }; }
12680 fi
12681 cat >conftest.$ac_ext <<_ACEOF
12682 /* confdefs.h.  */
12683 _ACEOF
12684 cat confdefs.h >>conftest.$ac_ext
12685 cat >>conftest.$ac_ext <<_ACEOF
12686 /* end confdefs.h.  */
12687
12688 /* Override any gcc2 internal prototype to avoid an error.  */
12689 #ifdef __cplusplus
12690 extern "C"
12691 #endif
12692 /* We use char because int might match the return type of a gcc2
12693    builtin and then its argument prototype would still apply.  */
12694 char XRRQueryExtension ();
12695 int
12696 main ()
12697 {
12698 XRRQueryExtension ();
12699   ;
12700   return 0;
12701 }
12702 _ACEOF
12703 rm -f conftest.$ac_objext conftest$ac_exeext
12704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12705   (eval $ac_link) 2>conftest.er1
12706   ac_status=$?
12707   grep -v '^ *+' conftest.er1 >conftest.err
12708   rm -f conftest.er1
12709   cat conftest.err >&5
12710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12711   (exit $ac_status); } &&
12712          { ac_try='test -z "$ac_c_werror_flag"
12713                          || test ! -s conftest.err'
12714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12715   (eval $ac_try) 2>&5
12716   ac_status=$?
12717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12718   (exit $ac_status); }; } &&
12719          { ac_try='test -s conftest$ac_exeext'
12720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12721   (eval $ac_try) 2>&5
12722   ac_status=$?
12723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12724   (exit $ac_status); }; }; then
12725   ac_cv_lib_Xrandr_XRRQueryExtension=yes
12726 else
12727   echo "$as_me: failed program was:" >&5
12728 sed 's/^/| /' conftest.$ac_ext >&5
12729
12730 ac_cv_lib_Xrandr_XRRQueryExtension=no
12731 fi
12732 rm -f conftest.err conftest.$ac_objext \
12733       conftest$ac_exeext conftest.$ac_ext
12734 LIBS=$ac_check_lib_save_LIBS
12735 fi
12736 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrandr_XRRQueryExtension" >&5
12737 echo "${ECHO_T}$ac_cv_lib_Xrandr_XRRQueryExtension" >&6
12738 if test $ac_cv_lib_Xrandr_XRRQueryExtension = yes; then
12739
12740 cat >>confdefs.h <<\_ACEOF
12741 #define HAVE_XRANDR 1
12742 _ACEOF
12743 X_EXTRA_LIBS="$X_EXTRA_LIBS -lXrandr"
12744 else
12745   true
12746 fi
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756   fi
12757
12758     if  test "x${COMPILE_GCONF_PEER}" = xyes; then
12759
12760   succeeded=no
12761
12762   if test -z "$PKG_CONFIG"; then
12763     # Extract the first word of "pkg-config", so it can be a program name with args.
12764 set dummy pkg-config; ac_word=$2
12765 echo "$as_me:$LINENO: checking for $ac_word" >&5
12766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12767 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12768   echo $ECHO_N "(cached) $ECHO_C" >&6
12769 else
12770   case $PKG_CONFIG in
12771   [\\/]* | ?:[\\/]*)
12772   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12773   ;;
12774   *)
12775   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12776 for as_dir in $PATH
12777 do
12778   IFS=$as_save_IFS
12779   test -z "$as_dir" && as_dir=.
12780   for ac_exec_ext in '' $ac_executable_extensions; do
12781   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12782     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12783     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12784     break 2
12785   fi
12786 done
12787 done
12788
12789   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12790   ;;
12791 esac
12792 fi
12793 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12794
12795 if test -n "$PKG_CONFIG"; then
12796   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12797 echo "${ECHO_T}$PKG_CONFIG" >&6
12798 else
12799   echo "$as_me:$LINENO: result: no" >&5
12800 echo "${ECHO_T}no" >&6
12801 fi
12802
12803   fi
12804
12805   if test "$PKG_CONFIG" = "no" ; then
12806      echo "*** The pkg-config script could not be found. Make sure it is"
12807      echo "*** in your path, or set the PKG_CONFIG environment variable"
12808      echo "*** to the full path to pkg-config."
12809      echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12810   else
12811      PKG_CONFIG_MIN_VERSION=0.9.0
12812      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12813         echo "$as_me:$LINENO: checking for gconf-2.0 >= 2.11.2" >&5
12814 echo $ECHO_N "checking for gconf-2.0 >= 2.11.2... $ECHO_C" >&6
12815
12816         if $PKG_CONFIG --exists "gconf-2.0 >= 2.11.2" ; then
12817             echo "$as_me:$LINENO: result: yes" >&5
12818 echo "${ECHO_T}yes" >&6
12819             succeeded=yes
12820
12821             echo "$as_me:$LINENO: checking GCONF_CFLAGS" >&5
12822 echo $ECHO_N "checking GCONF_CFLAGS... $ECHO_C" >&6
12823             GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.11.2"`
12824             echo "$as_me:$LINENO: result: $GCONF_CFLAGS" >&5
12825 echo "${ECHO_T}$GCONF_CFLAGS" >&6
12826
12827             echo "$as_me:$LINENO: checking GCONF_LIBS" >&5
12828 echo $ECHO_N "checking GCONF_LIBS... $ECHO_C" >&6
12829             GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.11.2"`
12830             echo "$as_me:$LINENO: result: $GCONF_LIBS" >&5
12831 echo "${ECHO_T}$GCONF_LIBS" >&6
12832         else
12833             GCONF_CFLAGS=""
12834             GCONF_LIBS=""
12835             ## If we have a custom action on failure, don't print errors, but
12836             ## do set a variable so people can do so.
12837             GCONF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gconf-2.0 >= 2.11.2"`
12838             echo $GCONF_PKG_ERRORS
12839         fi
12840
12841
12842
12843      else
12844         echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12845         echo "*** See http://www.freedesktop.org/software/pkgconfig"
12846      fi
12847   fi
12848
12849   if test $succeeded = yes; then
12850      :
12851   else
12852      { { 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
12853 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;}
12854    { (exit 1); exit 1; }; }
12855   fi
12856
12857
12858
12859
12860   succeeded=no
12861
12862   if test -z "$PKG_CONFIG"; then
12863     # Extract the first word of "pkg-config", so it can be a program name with args.
12864 set dummy pkg-config; ac_word=$2
12865 echo "$as_me:$LINENO: checking for $ac_word" >&5
12866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12867 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12868   echo $ECHO_N "(cached) $ECHO_C" >&6
12869 else
12870   case $PKG_CONFIG in
12871   [\\/]* | ?:[\\/]*)
12872   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12873   ;;
12874   *)
12875   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12876 for as_dir in $PATH
12877 do
12878   IFS=$as_save_IFS
12879   test -z "$as_dir" && as_dir=.
12880   for ac_exec_ext in '' $ac_executable_extensions; do
12881   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12882     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12883     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12884     break 2
12885   fi
12886 done
12887 done
12888
12889   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12890   ;;
12891 esac
12892 fi
12893 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12894
12895 if test -n "$PKG_CONFIG"; then
12896   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12897 echo "${ECHO_T}$PKG_CONFIG" >&6
12898 else
12899   echo "$as_me:$LINENO: result: no" >&5
12900 echo "${ECHO_T}no" >&6
12901 fi
12902
12903   fi
12904
12905   if test "$PKG_CONFIG" = "no" ; then
12906      echo "*** The pkg-config script could not be found. Make sure it is"
12907      echo "*** in your path, or set the PKG_CONFIG environment variable"
12908      echo "*** to the full path to pkg-config."
12909      echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12910   else
12911      PKG_CONFIG_MIN_VERSION=0.9.0
12912      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12913         echo "$as_me:$LINENO: checking for gdk-2.0 >= 2.8" >&5
12914 echo $ECHO_N "checking for gdk-2.0 >= 2.8... $ECHO_C" >&6
12915
12916         if $PKG_CONFIG --exists "gdk-2.0 >= 2.8" ; then
12917             echo "$as_me:$LINENO: result: yes" >&5
12918 echo "${ECHO_T}yes" >&6
12919             succeeded=yes
12920
12921             echo "$as_me:$LINENO: checking GDK_CFLAGS" >&5
12922 echo $ECHO_N "checking GDK_CFLAGS... $ECHO_C" >&6
12923             GDK_CFLAGS=`$PKG_CONFIG --cflags "gdk-2.0 >= 2.8"`
12924             echo "$as_me:$LINENO: result: $GDK_CFLAGS" >&5
12925 echo "${ECHO_T}$GDK_CFLAGS" >&6
12926
12927             echo "$as_me:$LINENO: checking GDK_LIBS" >&5
12928 echo $ECHO_N "checking GDK_LIBS... $ECHO_C" >&6
12929             GDK_LIBS=`$PKG_CONFIG --libs "gdk-2.0 >= 2.8"`
12930             echo "$as_me:$LINENO: result: $GDK_LIBS" >&5
12931 echo "${ECHO_T}$GDK_LIBS" >&6
12932         else
12933             GDK_CFLAGS=""
12934             GDK_LIBS=""
12935             ## If we have a custom action on failure, don't print errors, but
12936             ## do set a variable so people can do so.
12937             GDK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-2.0 >= 2.8"`
12938             echo $GDK_PKG_ERRORS
12939         fi
12940
12941
12942
12943      else
12944         echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12945         echo "*** See http://www.freedesktop.org/software/pkgconfig"
12946      fi
12947   fi
12948
12949   if test $succeeded = yes; then
12950      :
12951   else
12952      { { 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
12953 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;}
12954    { (exit 1); exit 1; }; }
12955   fi
12956
12957
12958
12959                 USE_GCONF_PREFS_PEER=$enable_default_preferences_peer
12960     if test "$USE_GCONF_PREFS_PEER" = ""; then
12961         DEFAULT_PREFS_PEER=gnu.java.util.prefs.GConfBasedFactory
12962     fi
12963   fi
12964
12965     if test "x${COMPILE_QT_PEER}" = xyes; then
12966
12967   succeeded=no
12968
12969   if test -z "$PKG_CONFIG"; then
12970     # Extract the first word of "pkg-config", so it can be a program name with args.
12971 set dummy pkg-config; ac_word=$2
12972 echo "$as_me:$LINENO: checking for $ac_word" >&5
12973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12974 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12975   echo $ECHO_N "(cached) $ECHO_C" >&6
12976 else
12977   case $PKG_CONFIG in
12978   [\\/]* | ?:[\\/]*)
12979   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12980   ;;
12981   *)
12982   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12983 for as_dir in $PATH
12984 do
12985   IFS=$as_save_IFS
12986   test -z "$as_dir" && as_dir=.
12987   for ac_exec_ext in '' $ac_executable_extensions; do
12988   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12989     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12990     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12991     break 2
12992   fi
12993 done
12994 done
12995
12996   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12997   ;;
12998 esac
12999 fi
13000 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13001
13002 if test -n "$PKG_CONFIG"; then
13003   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13004 echo "${ECHO_T}$PKG_CONFIG" >&6
13005 else
13006   echo "$as_me:$LINENO: result: no" >&5
13007 echo "${ECHO_T}no" >&6
13008 fi
13009
13010   fi
13011
13012   if test "$PKG_CONFIG" = "no" ; then
13013      echo "*** The pkg-config script could not be found. Make sure it is"
13014      echo "*** in your path, or set the PKG_CONFIG environment variable"
13015      echo "*** to the full path to pkg-config."
13016      echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13017   else
13018      PKG_CONFIG_MIN_VERSION=0.9.0
13019      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13020         echo "$as_me:$LINENO: checking for QtCore QtGui >= 4.1.0" >&5
13021 echo $ECHO_N "checking for QtCore QtGui >= 4.1.0... $ECHO_C" >&6
13022
13023         if $PKG_CONFIG --exists "QtCore QtGui >= 4.1.0" ; then
13024             echo "$as_me:$LINENO: result: yes" >&5
13025 echo "${ECHO_T}yes" >&6
13026             succeeded=yes
13027
13028             echo "$as_me:$LINENO: checking QT_CFLAGS" >&5
13029 echo $ECHO_N "checking QT_CFLAGS... $ECHO_C" >&6
13030             QT_CFLAGS=`$PKG_CONFIG --cflags "QtCore QtGui >= 4.1.0"`
13031             echo "$as_me:$LINENO: result: $QT_CFLAGS" >&5
13032 echo "${ECHO_T}$QT_CFLAGS" >&6
13033
13034             echo "$as_me:$LINENO: checking QT_LIBS" >&5
13035 echo $ECHO_N "checking QT_LIBS... $ECHO_C" >&6
13036             QT_LIBS=`$PKG_CONFIG --libs "QtCore QtGui >= 4.1.0"`
13037             echo "$as_me:$LINENO: result: $QT_LIBS" >&5
13038 echo "${ECHO_T}$QT_LIBS" >&6
13039         else
13040             QT_CFLAGS=""
13041             QT_LIBS=""
13042             ## If we have a custom action on failure, don't print errors, but
13043             ## do set a variable so people can do so.
13044             QT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtCore QtGui >= 4.1.0"`
13045
13046         fi
13047
13048
13049
13050      else
13051         echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13052         echo "*** See http://www.freedesktop.org/software/pkgconfig"
13053      fi
13054   fi
13055
13056   if test $succeeded = yes; then
13057      HAVE_QT4="yes"
13058   else
13059      HAVE_QT4="no"
13060   fi
13061
13062     if test "x$HAVE_QT4" = "xyes"; then
13063                   QT_INCLUDE_DIR=`$PKG_CONFIG --variable=includedir QtGui`
13064       EXTRA_QT_INCLUDE_DIR="$QT_INCLUDE_DIR/Qt"
13065       as_ac_File=`echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
13066 echo "$as_me:$LINENO: checking for $QT_INCLUDE_DIR/QWidget" >&5
13067 echo $ECHO_N "checking for $QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
13068 if eval "test \"\${$as_ac_File+set}\" = set"; then
13069   echo $ECHO_N "(cached) $ECHO_C" >&6
13070 else
13071   test "$cross_compiling" = yes &&
13072   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
13073 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
13074    { (exit 1); exit 1; }; }
13075 if test -r "$QT_INCLUDE_DIR/QWidget"; then
13076   eval "$as_ac_File=yes"
13077 else
13078   eval "$as_ac_File=no"
13079 fi
13080 fi
13081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
13082 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
13083 if test `eval echo '${'$as_ac_File'}'` = yes; then
13084   { echo "$as_me:$LINENO: No extra QT_INCLUDE_DIR needed" >&5
13085 echo "$as_me: No extra QT_INCLUDE_DIR needed" >&6;}
13086 else
13087   as_ac_File=`echo "ac_cv_file_$EXTRA_QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
13088 echo "$as_me:$LINENO: checking for $EXTRA_QT_INCLUDE_DIR/QWidget" >&5
13089 echo $ECHO_N "checking for $EXTRA_QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
13090 if eval "test \"\${$as_ac_File+set}\" = set"; then
13091   echo $ECHO_N "(cached) $ECHO_C" >&6
13092 else
13093   test "$cross_compiling" = yes &&
13094   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
13095 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
13096    { (exit 1); exit 1; }; }
13097 if test -r "$EXTRA_QT_INCLUDE_DIR/QWidget"; then
13098   eval "$as_ac_File=yes"
13099 else
13100   eval "$as_ac_File=no"
13101 fi
13102 fi
13103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
13104 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
13105 if test `eval echo '${'$as_ac_File'}'` = yes; then
13106   QT_CFLAGS="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR"
13107 else
13108   { echo "$as_me:$LINENO: WARNING: QWidget not found" >&5
13109 echo "$as_me: WARNING: QWidget not found" >&2;}
13110 fi
13111
13112 fi
13113
13114         # Extract the first word of "moc", so it can be a program name with args.
13115 set dummy moc; ac_word=$2
13116 echo "$as_me:$LINENO: checking for $ac_word" >&5
13117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13118 if test "${ac_cv_prog_MOC+set}" = set; then
13119   echo $ECHO_N "(cached) $ECHO_C" >&6
13120 else
13121   if test -n "$MOC"; then
13122   ac_cv_prog_MOC="$MOC" # Let the user override the test.
13123 else
13124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13125 for as_dir in $PATH
13126 do
13127   IFS=$as_save_IFS
13128   test -z "$as_dir" && as_dir=.
13129   for ac_exec_ext in '' $ac_executable_extensions; do
13130   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13131     ac_cv_prog_MOC="moc"
13132     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13133     break 2
13134   fi
13135 done
13136 done
13137
13138 fi
13139 fi
13140 MOC=$ac_cv_prog_MOC
13141 if test -n "$MOC"; then
13142   echo "$as_me:$LINENO: result: $MOC" >&5
13143 echo "${ECHO_T}$MOC" >&6
13144 else
13145   echo "$as_me:$LINENO: result: no" >&5
13146 echo "${ECHO_T}no" >&6
13147 fi
13148
13149         # Extract the first word of "moc-qt4", so it can be a program name with args.
13150 set dummy moc-qt4; ac_word=$2
13151 echo "$as_me:$LINENO: checking for $ac_word" >&5
13152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13153 if test "${ac_cv_prog_MOC+set}" = set; then
13154   echo $ECHO_N "(cached) $ECHO_C" >&6
13155 else
13156   if test -n "$MOC"; then
13157   ac_cv_prog_MOC="$MOC" # Let the user override the test.
13158 else
13159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13160 for as_dir in $PATH
13161 do
13162   IFS=$as_save_IFS
13163   test -z "$as_dir" && as_dir=.
13164   for ac_exec_ext in '' $ac_executable_extensions; do
13165   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13166     ac_cv_prog_MOC="moc-qt4"
13167     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13168     break 2
13169   fi
13170 done
13171 done
13172
13173 fi
13174 fi
13175 MOC=$ac_cv_prog_MOC
13176 if test -n "$MOC"; then
13177   echo "$as_me:$LINENO: result: $MOC" >&5
13178 echo "${ECHO_T}$MOC" >&6
13179 else
13180   echo "$as_me:$LINENO: result: no" >&5
13181 echo "${ECHO_T}no" >&6
13182 fi
13183
13184     fi
13185     if test "x$HAVE_QT4" = "xno"; then
13186       { echo "$as_me:$LINENO: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&5
13187 echo "$as_me: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&6;}
13188       case "$host_os" in
13189         darwin*)
13190
13191 # Check whether --with-qt4dir or --without-qt4dir was given.
13192 if test "${with_qt4dir+set}" = set; then
13193   withval="$with_qt4dir"
13194   QT4DIR=$withval
13195
13196 fi;
13197           if test x"$QT4DIR" = x ; then
13198             { { echo "$as_me:$LINENO: error: *** No path for Qt4 --with-qt4dir option given" >&5
13199 echo "$as_me: error: *** No path for Qt4 --with-qt4dir option given" >&2;}
13200    { (exit 1); exit 1; }; }
13201           fi
13202           echo "$as_me:$LINENO: result: QT4DIR... $QT4DIR" >&5
13203 echo "${ECHO_T}QT4DIR... $QT4DIR" >&6
13204           # Extract the first word of "moc", so it can be a program name with args.
13205 set dummy moc; ac_word=$2
13206 echo "$as_me:$LINENO: checking for $ac_word" >&5
13207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13208 if test "${ac_cv_prog_MOC+set}" = set; then
13209   echo $ECHO_N "(cached) $ECHO_C" >&6
13210 else
13211   if test -n "$MOC"; then
13212   ac_cv_prog_MOC="$MOC" # Let the user override the test.
13213 else
13214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13215 for as_dir in $QT4DIR/bin
13216 do
13217   IFS=$as_save_IFS
13218   test -z "$as_dir" && as_dir=.
13219   for ac_exec_ext in '' $ac_executable_extensions; do
13220   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13221     ac_cv_prog_MOC="$QT4DIR/bin/moc"
13222     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13223     break 2
13224   fi
13225 done
13226 done
13227
13228 fi
13229 fi
13230 MOC=$ac_cv_prog_MOC
13231 if test -n "$MOC"; then
13232   echo "$as_me:$LINENO: result: $MOC" >&5
13233 echo "${ECHO_T}$MOC" >&6
13234 else
13235   echo "$as_me:$LINENO: result: no" >&5
13236 echo "${ECHO_T}no" >&6
13237 fi
13238
13239           if test x"$MOC" = x; then
13240             { { echo "$as_me:$LINENO: error: *** This is not the right Qt installation" >&5
13241 echo "$as_me: error: *** This is not the right Qt installation" >&2;}
13242    { (exit 1); exit 1; }; }
13243           fi
13244           QT_CFLAGS="-F$QT4DIR/lib -I$QT4DIR/lib/QtCore.framework/Headers"
13245           QT_CFLAGS="$QT_CFLAGS -I$QT4DIR/lib/QtGui.framework/Headers"
13246           QT_LIBS="-Xlinker -F$QT4DIR/lib -Xlinker -framework -Xlinker QtCore"
13247           QT_LIBS="$QT_LIBS -Xlinker -framework -Xlinker QtGui"
13248           ;;
13249         *)
13250           { { echo "$as_me:$LINENO: error: *** Please check PKG_CONFIG_PATH or the version
13251           of your installed Qt4 installation." >&5
13252 echo "$as_me: error: *** Please check PKG_CONFIG_PATH or the version
13253           of your installed Qt4 installation." >&2;}
13254    { (exit 1); exit 1; }; }
13255           ;;
13256       esac
13257     fi
13258     { echo "$as_me:$LINENO: Set QT_CFLAGS... $QT_CFLAGS" >&5
13259 echo "$as_me: Set QT_CFLAGS... $QT_CFLAGS" >&6;}
13260
13261
13262   fi
13263         echo "$as_me:$LINENO: checking for MSG_NOSIGNAL" >&5
13264 echo $ECHO_N "checking for MSG_NOSIGNAL... $ECHO_C" >&6
13265   cat >conftest.$ac_ext <<_ACEOF
13266 /* confdefs.h.  */
13267 _ACEOF
13268 cat confdefs.h >>conftest.$ac_ext
13269 cat >>conftest.$ac_ext <<_ACEOF
13270 /* end confdefs.h.  */
13271 #include <sys/socket.h>
13272 int
13273 main ()
13274 {
13275  int f = MSG_NOSIGNAL;
13276   ;
13277   return 0;
13278 }
13279 _ACEOF
13280 rm -f conftest.$ac_objext
13281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13282   (eval $ac_compile) 2>conftest.er1
13283   ac_status=$?
13284   grep -v '^ *+' conftest.er1 >conftest.err
13285   rm -f conftest.er1
13286   cat conftest.err >&5
13287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13288   (exit $ac_status); } &&
13289          { ac_try='test -z "$ac_c_werror_flag"
13290                          || test ! -s conftest.err'
13291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13292   (eval $ac_try) 2>&5
13293   ac_status=$?
13294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13295   (exit $ac_status); }; } &&
13296          { ac_try='test -s conftest.$ac_objext'
13297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13298   (eval $ac_try) 2>&5
13299   ac_status=$?
13300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13301   (exit $ac_status); }; }; then
13302    echo "$as_me:$LINENO: result: yes" >&5
13303 echo "${ECHO_T}yes" >&6
13304
13305 cat >>confdefs.h <<\_ACEOF
13306 #define HAVE_MSG_NOSIGNAL 1
13307 _ACEOF
13308
13309 else
13310   echo "$as_me: failed program was:" >&5
13311 sed 's/^/| /' conftest.$ac_ext >&5
13312
13313  echo "$as_me:$LINENO: result: no" >&5
13314 echo "${ECHO_T}no" >&6
13315
13316 fi
13317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13318     echo "$as_me:$LINENO: checking for SO_NOSIGPIPE " >&5
13319 echo $ECHO_N "checking for SO_NOSIGPIPE ... $ECHO_C" >&6
13320  cat >conftest.$ac_ext <<_ACEOF
13321 /* confdefs.h.  */
13322 _ACEOF
13323 cat confdefs.h >>conftest.$ac_ext
13324 cat >>conftest.$ac_ext <<_ACEOF
13325 /* end confdefs.h.  */
13326 #include <sys/socket.h>
13327 int
13328 main ()
13329 {
13330  int f = SO_NOSIGPIPE;
13331   ;
13332   return 0;
13333 }
13334 _ACEOF
13335 rm -f conftest.$ac_objext
13336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13337   (eval $ac_compile) 2>conftest.er1
13338   ac_status=$?
13339   grep -v '^ *+' conftest.er1 >conftest.err
13340   rm -f conftest.er1
13341   cat conftest.err >&5
13342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13343   (exit $ac_status); } &&
13344          { ac_try='test -z "$ac_c_werror_flag"
13345                          || test ! -s conftest.err'
13346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13347   (eval $ac_try) 2>&5
13348   ac_status=$?
13349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13350   (exit $ac_status); }; } &&
13351          { ac_try='test -s conftest.$ac_objext'
13352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13353   (eval $ac_try) 2>&5
13354   ac_status=$?
13355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13356   (exit $ac_status); }; }; then
13357    echo "$as_me:$LINENO: result: yes" >&5
13358 echo "${ECHO_T}yes" >&6
13359
13360 cat >>confdefs.h <<\_ACEOF
13361 #define HAVE_SO_NOSIGPIPE 1
13362 _ACEOF
13363
13364 else
13365   echo "$as_me: failed program was:" >&5
13366 sed 's/^/| /' conftest.$ac_ext >&5
13367
13368  echo "$as_me:$LINENO: result: no" >&5
13369 echo "${ECHO_T}no" >&6
13370
13371 fi
13372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13373
13374     if test "x${COMPILE_PLUGIN}" = xyes; then
13375
13376   succeeded=no
13377
13378   if test -z "$PKG_CONFIG"; then
13379     # Extract the first word of "pkg-config", so it can be a program name with args.
13380 set dummy pkg-config; ac_word=$2
13381 echo "$as_me:$LINENO: checking for $ac_word" >&5
13382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13383 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13384   echo $ECHO_N "(cached) $ECHO_C" >&6
13385 else
13386   case $PKG_CONFIG in
13387   [\\/]* | ?:[\\/]*)
13388   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13389   ;;
13390   *)
13391   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13392 for as_dir in $PATH
13393 do
13394   IFS=$as_save_IFS
13395   test -z "$as_dir" && as_dir=.
13396   for ac_exec_ext in '' $ac_executable_extensions; do
13397   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13398     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13399     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13400     break 2
13401   fi
13402 done
13403 done
13404
13405   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13406   ;;
13407 esac
13408 fi
13409 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13410
13411 if test -n "$PKG_CONFIG"; then
13412   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13413 echo "${ECHO_T}$PKG_CONFIG" >&6
13414 else
13415   echo "$as_me:$LINENO: result: no" >&5
13416 echo "${ECHO_T}no" >&6
13417 fi
13418
13419   fi
13420
13421   if test "$PKG_CONFIG" = "no" ; then
13422      echo "*** The pkg-config script could not be found. Make sure it is"
13423      echo "*** in your path, or set the PKG_CONFIG environment variable"
13424      echo "*** to the full path to pkg-config."
13425      echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13426   else
13427      PKG_CONFIG_MIN_VERSION=0.9.0
13428      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13429         echo "$as_me:$LINENO: checking for mozilla-plugin" >&5
13430 echo $ECHO_N "checking for mozilla-plugin... $ECHO_C" >&6
13431
13432         if $PKG_CONFIG --exists "mozilla-plugin" ; then
13433             echo "$as_me:$LINENO: result: yes" >&5
13434 echo "${ECHO_T}yes" >&6
13435             succeeded=yes
13436
13437             echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13438 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13439             MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "mozilla-plugin"`
13440             echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13441 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13442
13443             echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13444 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13445             MOZILLA_LIBS=`$PKG_CONFIG --libs "mozilla-plugin"`
13446             echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13447 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13448         else
13449             MOZILLA_CFLAGS=""
13450             MOZILLA_LIBS=""
13451             ## If we have a custom action on failure, don't print errors, but
13452             ## do set a variable so people can do so.
13453             MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-plugin"`
13454
13455         fi
13456
13457
13458
13459      else
13460         echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13461         echo "*** See http://www.freedesktop.org/software/pkgconfig"
13462      fi
13463   fi
13464
13465   if test $succeeded = yes; then
13466      MOZILLA_FOUND=yes
13467   else
13468      MOZILLA_FOUND=no
13469   fi
13470
13471     if test "x${MOZILLA_FOUND}" = xno; then
13472
13473   succeeded=no
13474
13475   if test -z "$PKG_CONFIG"; then
13476     # Extract the first word of "pkg-config", so it can be a program name with args.
13477 set dummy pkg-config; ac_word=$2
13478 echo "$as_me:$LINENO: checking for $ac_word" >&5
13479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13480 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13481   echo $ECHO_N "(cached) $ECHO_C" >&6
13482 else
13483   case $PKG_CONFIG in
13484   [\\/]* | ?:[\\/]*)
13485   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13486   ;;
13487   *)
13488   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13489 for as_dir in $PATH
13490 do
13491   IFS=$as_save_IFS
13492   test -z "$as_dir" && as_dir=.
13493   for ac_exec_ext in '' $ac_executable_extensions; do
13494   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13495     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13496     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13497     break 2
13498   fi
13499 done
13500 done
13501
13502   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13503   ;;
13504 esac
13505 fi
13506 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13507
13508 if test -n "$PKG_CONFIG"; then
13509   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13510 echo "${ECHO_T}$PKG_CONFIG" >&6
13511 else
13512   echo "$as_me:$LINENO: result: no" >&5
13513 echo "${ECHO_T}no" >&6
13514 fi
13515
13516   fi
13517
13518   if test "$PKG_CONFIG" = "no" ; then
13519      echo "*** The pkg-config script could not be found. Make sure it is"
13520      echo "*** in your path, or set the PKG_CONFIG environment variable"
13521      echo "*** to the full path to pkg-config."
13522      echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13523   else
13524      PKG_CONFIG_MIN_VERSION=0.9.0
13525      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13526         echo "$as_me:$LINENO: checking for firefox-plugin firefox-xpcom" >&5
13527 echo $ECHO_N "checking for firefox-plugin firefox-xpcom... $ECHO_C" >&6
13528
13529         if $PKG_CONFIG --exists "firefox-plugin firefox-xpcom" ; then
13530             echo "$as_me:$LINENO: result: yes" >&5
13531 echo "${ECHO_T}yes" >&6
13532             succeeded=yes
13533
13534             echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13535 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13536             MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "firefox-plugin firefox-xpcom"`
13537             echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13538 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13539
13540             echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13541 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13542             MOZILLA_LIBS=`$PKG_CONFIG --libs "firefox-plugin firefox-xpcom"`
13543             echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13544 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13545         else
13546             MOZILLA_CFLAGS=""
13547             MOZILLA_LIBS=""
13548             ## If we have a custom action on failure, don't print errors, but
13549             ## do set a variable so people can do so.
13550             MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "firefox-plugin firefox-xpcom"`
13551
13552         fi
13553
13554
13555
13556      else
13557         echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13558         echo "*** See http://www.freedesktop.org/software/pkgconfig"
13559      fi
13560   fi
13561
13562   if test $succeeded = yes; then
13563      MOZILLA_FOUND=yes
13564   else
13565      MOZILLA_FOUND=no
13566   fi
13567
13568     fi
13569     if test "x${MOZILLA_FOUND}" = xno; then
13570
13571   succeeded=no
13572
13573   if test -z "$PKG_CONFIG"; then
13574     # Extract the first word of "pkg-config", so it can be a program name with args.
13575 set dummy pkg-config; ac_word=$2
13576 echo "$as_me:$LINENO: checking for $ac_word" >&5
13577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13578 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13579   echo $ECHO_N "(cached) $ECHO_C" >&6
13580 else
13581   case $PKG_CONFIG in
13582   [\\/]* | ?:[\\/]*)
13583   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13584   ;;
13585   *)
13586   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13587 for as_dir in $PATH
13588 do
13589   IFS=$as_save_IFS
13590   test -z "$as_dir" && as_dir=.
13591   for ac_exec_ext in '' $ac_executable_extensions; do
13592   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13593     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13594     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13595     break 2
13596   fi
13597 done
13598 done
13599
13600   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13601   ;;
13602 esac
13603 fi
13604 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13605
13606 if test -n "$PKG_CONFIG"; then
13607   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13608 echo "${ECHO_T}$PKG_CONFIG" >&6
13609 else
13610   echo "$as_me:$LINENO: result: no" >&5
13611 echo "${ECHO_T}no" >&6
13612 fi
13613
13614   fi
13615
13616   if test "$PKG_CONFIG" = "no" ; then
13617      echo "*** The pkg-config script could not be found. Make sure it is"
13618      echo "*** in your path, or set the PKG_CONFIG environment variable"
13619      echo "*** to the full path to pkg-config."
13620      echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13621   else
13622      PKG_CONFIG_MIN_VERSION=0.9.0
13623      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13624         echo "$as_me:$LINENO: checking for xulrunner-plugin xulrunner-xpcom" >&5
13625 echo $ECHO_N "checking for xulrunner-plugin xulrunner-xpcom... $ECHO_C" >&6
13626
13627         if $PKG_CONFIG --exists "xulrunner-plugin xulrunner-xpcom" ; then
13628             echo "$as_me:$LINENO: result: yes" >&5
13629 echo "${ECHO_T}yes" >&6
13630             succeeded=yes
13631
13632             echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13633 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13634             MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "xulrunner-plugin xulrunner-xpcom"`
13635             echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13636 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13637
13638             echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13639 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13640             MOZILLA_LIBS=`$PKG_CONFIG --libs "xulrunner-plugin xulrunner-xpcom"`
13641             echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13642 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13643         else
13644             MOZILLA_CFLAGS=""
13645             MOZILLA_LIBS=""
13646             ## If we have a custom action on failure, don't print errors, but
13647             ## do set a variable so people can do so.
13648             MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xulrunner-plugin xulrunner-xpcom"`
13649
13650         fi
13651
13652
13653
13654      else
13655         echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13656         echo "*** See http://www.freedesktop.org/software/pkgconfig"
13657      fi
13658   fi
13659
13660   if test $succeeded = yes; then
13661      MOZILLA_FOUND=yes
13662   else
13663      MOZILLA_FOUND=no
13664   fi
13665
13666     fi
13667     if test "x${MOZILLA_FOUND}" = xno; then
13668
13669   succeeded=no
13670
13671   if test -z "$PKG_CONFIG"; then
13672     # Extract the first word of "pkg-config", so it can be a program name with args.
13673 set dummy pkg-config; ac_word=$2
13674 echo "$as_me:$LINENO: checking for $ac_word" >&5
13675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13676 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13677   echo $ECHO_N "(cached) $ECHO_C" >&6
13678 else
13679   case $PKG_CONFIG in
13680   [\\/]* | ?:[\\/]*)
13681   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13682   ;;
13683   *)
13684   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13685 for as_dir in $PATH
13686 do
13687   IFS=$as_save_IFS
13688   test -z "$as_dir" && as_dir=.
13689   for ac_exec_ext in '' $ac_executable_extensions; do
13690   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13691     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13692     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13693     break 2
13694   fi
13695 done
13696 done
13697
13698   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13699   ;;
13700 esac
13701 fi
13702 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13703
13704 if test -n "$PKG_CONFIG"; then
13705   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13706 echo "${ECHO_T}$PKG_CONFIG" >&6
13707 else
13708   echo "$as_me:$LINENO: result: no" >&5
13709 echo "${ECHO_T}no" >&6
13710 fi
13711
13712   fi
13713
13714   if test "$PKG_CONFIG" = "no" ; then
13715      echo "*** The pkg-config script could not be found. Make sure it is"
13716      echo "*** in your path, or set the PKG_CONFIG environment variable"
13717      echo "*** to the full path to pkg-config."
13718      echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13719   else
13720      PKG_CONFIG_MIN_VERSION=0.9.0
13721      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13722         echo "$as_me:$LINENO: checking for mozilla-firefox-plugin mozilla-firefox-xpcom" >&5
13723 echo $ECHO_N "checking for mozilla-firefox-plugin mozilla-firefox-xpcom... $ECHO_C" >&6
13724
13725         if $PKG_CONFIG --exists "mozilla-firefox-plugin mozilla-firefox-xpcom" ; then
13726             echo "$as_me:$LINENO: result: yes" >&5
13727 echo "${ECHO_T}yes" >&6
13728             succeeded=yes
13729
13730             echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13731 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13732             MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "mozilla-firefox-plugin mozilla-firefox-xpcom"`
13733             echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13734 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13735
13736             echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13737 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13738             MOZILLA_LIBS=`$PKG_CONFIG --libs "mozilla-firefox-plugin mozilla-firefox-xpcom"`
13739             echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13740 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13741         else
13742             MOZILLA_CFLAGS=""
13743             MOZILLA_LIBS=""
13744             ## If we have a custom action on failure, don't print errors, but
13745             ## do set a variable so people can do so.
13746             MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-firefox-plugin mozilla-firefox-xpcom"`
13747
13748         fi
13749
13750
13751
13752      else
13753         echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13754         echo "*** See http://www.freedesktop.org/software/pkgconfig"
13755      fi
13756   fi
13757
13758   if test $succeeded = yes; then
13759      MOZILLA_FOUND=yes
13760   else
13761      MOZILLA_FOUND=no
13762   fi
13763
13764     fi
13765     if test "x${MOZILLA_FOUND}" = xno; then
13766
13767   succeeded=no
13768
13769   if test -z "$PKG_CONFIG"; then
13770     # Extract the first word of "pkg-config", so it can be a program name with args.
13771 set dummy pkg-config; ac_word=$2
13772 echo "$as_me:$LINENO: checking for $ac_word" >&5
13773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13774 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13775   echo $ECHO_N "(cached) $ECHO_C" >&6
13776 else
13777   case $PKG_CONFIG in
13778   [\\/]* | ?:[\\/]*)
13779   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13780   ;;
13781   *)
13782   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13783 for as_dir in $PATH
13784 do
13785   IFS=$as_save_IFS
13786   test -z "$as_dir" && as_dir=.
13787   for ac_exec_ext in '' $ac_executable_extensions; do
13788   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13789     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13790     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13791     break 2
13792   fi
13793 done
13794 done
13795
13796   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13797   ;;
13798 esac
13799 fi
13800 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13801
13802 if test -n "$PKG_CONFIG"; then
13803   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13804 echo "${ECHO_T}$PKG_CONFIG" >&6
13805 else
13806   echo "$as_me:$LINENO: result: no" >&5
13807 echo "${ECHO_T}no" >&6
13808 fi
13809
13810   fi
13811
13812   if test "$PKG_CONFIG" = "no" ; then
13813      echo "*** The pkg-config script could not be found. Make sure it is"
13814      echo "*** in your path, or set the PKG_CONFIG environment variable"
13815      echo "*** to the full path to pkg-config."
13816      echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13817   else
13818      PKG_CONFIG_MIN_VERSION=0.9.0
13819      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13820         echo "$as_me:$LINENO: checking for seamonkey-plugin seamonkey-xpcom" >&5
13821 echo $ECHO_N "checking for seamonkey-plugin seamonkey-xpcom... $ECHO_C" >&6
13822
13823         if $PKG_CONFIG --exists "seamonkey-plugin seamonkey-xpcom" ; then
13824             echo "$as_me:$LINENO: result: yes" >&5
13825 echo "${ECHO_T}yes" >&6
13826             succeeded=yes
13827
13828             echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13829 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13830             MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "seamonkey-plugin seamonkey-xpcom"`
13831             echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13832 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13833
13834             echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13835 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13836             MOZILLA_LIBS=`$PKG_CONFIG --libs "seamonkey-plugin seamonkey-xpcom"`
13837             echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13838 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13839         else
13840             MOZILLA_CFLAGS=""
13841             MOZILLA_LIBS=""
13842             ## If we have a custom action on failure, don't print errors, but
13843             ## do set a variable so people can do so.
13844             MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "seamonkey-plugin seamonkey-xpcom"`
13845
13846         fi
13847
13848
13849
13850      else
13851         echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13852         echo "*** See http://www.freedesktop.org/software/pkgconfig"
13853      fi
13854   fi
13855
13856   if test $succeeded = yes; then
13857      MOZILLA_FOUND=yes
13858   else
13859      MOZILLA_FOUND=no
13860   fi
13861
13862     fi
13863
13864   succeeded=no
13865
13866   if test -z "$PKG_CONFIG"; then
13867     # Extract the first word of "pkg-config", so it can be a program name with args.
13868 set dummy pkg-config; ac_word=$2
13869 echo "$as_me:$LINENO: checking for $ac_word" >&5
13870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13871 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13872   echo $ECHO_N "(cached) $ECHO_C" >&6
13873 else
13874   case $PKG_CONFIG in
13875   [\\/]* | ?:[\\/]*)
13876   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13877   ;;
13878   *)
13879   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13880 for as_dir in $PATH
13881 do
13882   IFS=$as_save_IFS
13883   test -z "$as_dir" && as_dir=.
13884   for ac_exec_ext in '' $ac_executable_extensions; do
13885   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13886     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13887     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13888     break 2
13889   fi
13890 done
13891 done
13892
13893   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13894   ;;
13895 esac
13896 fi
13897 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13898
13899 if test -n "$PKG_CONFIG"; then
13900   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13901 echo "${ECHO_T}$PKG_CONFIG" >&6
13902 else
13903   echo "$as_me:$LINENO: result: no" >&5
13904 echo "${ECHO_T}no" >&6
13905 fi
13906
13907   fi
13908
13909   if test "$PKG_CONFIG" = "no" ; then
13910      echo "*** The pkg-config script could not be found. Make sure it is"
13911      echo "*** in your path, or set the PKG_CONFIG environment variable"
13912      echo "*** to the full path to pkg-config."
13913      echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13914   else
13915      PKG_CONFIG_MIN_VERSION=0.9.0
13916      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13917         echo "$as_me:$LINENO: checking for glib-2.0" >&5
13918 echo $ECHO_N "checking for glib-2.0... $ECHO_C" >&6
13919
13920         if $PKG_CONFIG --exists "glib-2.0" ; then
13921             echo "$as_me:$LINENO: result: yes" >&5
13922 echo "${ECHO_T}yes" >&6
13923             succeeded=yes
13924
13925             echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
13926 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
13927             GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0"`
13928             echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
13929 echo "${ECHO_T}$GLIB_CFLAGS" >&6
13930
13931             echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
13932 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
13933             GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0"`
13934             echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
13935 echo "${ECHO_T}$GLIB_LIBS" >&6
13936         else
13937             GLIB_CFLAGS=""
13938             GLIB_LIBS=""
13939             ## If we have a custom action on failure, don't print errors, but
13940             ## do set a variable so people can do so.
13941             GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
13942             echo $GLIB_PKG_ERRORS
13943         fi
13944
13945
13946
13947      else
13948         echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13949         echo "*** See http://www.freedesktop.org/software/pkgconfig"
13950      fi
13951   fi
13952
13953   if test $succeeded = yes; then
13954      :
13955   else
13956      { { 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
13957 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;}
13958    { (exit 1); exit 1; }; }
13959   fi
13960
13961
13962
13963
13964
13965
13966
13967     PLUGIN_DIR=$HOME/.mozilla/plugins/
13968
13969   fi
13970 fi
13971
13972
13973
13974 # Check whether --with-javah or --without-javah was given.
13975 if test "${with_javah+set}" = set; then
13976   withval="$with_javah"
13977
13978     if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
13979
13980   if test "x${withval}" != x; then
13981     if test -f "${withval}"; then
13982       USER_JAVAH="${withval}"
13983     else
13984       # Extract the first word of ""${withval}"", so it can be a program name with args.
13985 set dummy "${withval}"; ac_word=$2
13986 echo "$as_me:$LINENO: checking for $ac_word" >&5
13987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13988 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
13989   echo $ECHO_N "(cached) $ECHO_C" >&6
13990 else
13991   case $USER_JAVAH in
13992   [\\/]* | ?:[\\/]*)
13993   ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
13994   ;;
13995   *)
13996   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13997 for as_dir in $PATH
13998 do
13999   IFS=$as_save_IFS
14000   test -z "$as_dir" && as_dir=.
14001   for ac_exec_ext in '' $ac_executable_extensions; do
14002   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14003     ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
14004     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14005     break 2
14006   fi
14007 done
14008 done
14009
14010   ;;
14011 esac
14012 fi
14013 USER_JAVAH=$ac_cv_path_USER_JAVAH
14014
14015 if test -n "$USER_JAVAH"; then
14016   echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
14017 echo "${ECHO_T}$USER_JAVAH" >&6
14018 else
14019   echo "$as_me:$LINENO: result: no" >&5
14020 echo "${ECHO_T}no" >&6
14021 fi
14022
14023     fi
14024   else
14025     for javah_name in gcjh javah; do
14026       # Extract the first word of ""$javah_name"", so it can be a program name with args.
14027 set dummy "$javah_name"; ac_word=$2
14028 echo "$as_me:$LINENO: checking for $ac_word" >&5
14029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14030 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
14031   echo $ECHO_N "(cached) $ECHO_C" >&6
14032 else
14033   case $USER_JAVAH in
14034   [\\/]* | ?:[\\/]*)
14035   ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
14036   ;;
14037   *)
14038   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14039 for as_dir in $PATH
14040 do
14041   IFS=$as_save_IFS
14042   test -z "$as_dir" && as_dir=.
14043   for ac_exec_ext in '' $ac_executable_extensions; do
14044   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14045     ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
14046     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14047     break 2
14048   fi
14049 done
14050 done
14051
14052   ;;
14053 esac
14054 fi
14055 USER_JAVAH=$ac_cv_path_USER_JAVAH
14056
14057 if test -n "$USER_JAVAH"; then
14058   echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
14059 echo "${ECHO_T}$USER_JAVAH" >&6
14060 else
14061   echo "$as_me:$LINENO: result: no" >&5
14062 echo "${ECHO_T}no" >&6
14063 fi
14064
14065       if test "x${USER_JAVAH}" != x; then
14066         break
14067       fi
14068     done
14069   fi
14070
14071 #  if test "x${USER_JAVAH}" = x; then
14072 #    echo "configure: cannot find javah" 1>&2
14073 #    exit 1
14074 #  fi
14075
14076     else
14077
14078   if test "x" != x; then
14079     if test -f ""; then
14080       USER_JAVAH=""
14081     else
14082       # Extract the first word of """", so it can be a program name with args.
14083 set dummy ""; ac_word=$2
14084 echo "$as_me:$LINENO: checking for $ac_word" >&5
14085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14086 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
14087   echo $ECHO_N "(cached) $ECHO_C" >&6
14088 else
14089   case $USER_JAVAH in
14090   [\\/]* | ?:[\\/]*)
14091   ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
14092   ;;
14093   *)
14094   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14095 for as_dir in $PATH
14096 do
14097   IFS=$as_save_IFS
14098   test -z "$as_dir" && as_dir=.
14099   for ac_exec_ext in '' $ac_executable_extensions; do
14100   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14101     ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
14102     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14103     break 2
14104   fi
14105 done
14106 done
14107
14108   ;;
14109 esac
14110 fi
14111 USER_JAVAH=$ac_cv_path_USER_JAVAH
14112
14113 if test -n "$USER_JAVAH"; then
14114   echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
14115 echo "${ECHO_T}$USER_JAVAH" >&6
14116 else
14117   echo "$as_me:$LINENO: result: no" >&5
14118 echo "${ECHO_T}no" >&6
14119 fi
14120
14121     fi
14122   else
14123     for javah_name in gcjh javah; do
14124       # Extract the first word of ""$javah_name"", so it can be a program name with args.
14125 set dummy "$javah_name"; ac_word=$2
14126 echo "$as_me:$LINENO: checking for $ac_word" >&5
14127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14128 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
14129   echo $ECHO_N "(cached) $ECHO_C" >&6
14130 else
14131   case $USER_JAVAH in
14132   [\\/]* | ?:[\\/]*)
14133   ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
14134   ;;
14135   *)
14136   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14137 for as_dir in $PATH
14138 do
14139   IFS=$as_save_IFS
14140   test -z "$as_dir" && as_dir=.
14141   for ac_exec_ext in '' $ac_executable_extensions; do
14142   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14143     ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
14144     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14145     break 2
14146   fi
14147 done
14148 done
14149
14150   ;;
14151 esac
14152 fi
14153 USER_JAVAH=$ac_cv_path_USER_JAVAH
14154
14155 if test -n "$USER_JAVAH"; then
14156   echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
14157 echo "${ECHO_T}$USER_JAVAH" >&6
14158 else
14159   echo "$as_me:$LINENO: result: no" >&5
14160 echo "${ECHO_T}no" >&6
14161 fi
14162
14163       if test "x${USER_JAVAH}" != x; then
14164         break
14165       fi
14166     done
14167   fi
14168
14169 #  if test "x${USER_JAVAH}" = x; then
14170 #    echo "configure: cannot find javah" 1>&2
14171 #    exit 1
14172 #  fi
14173
14174     fi
14175
14176 else
14177
14178
14179   if test "x" != x; then
14180     if test -f ""; then
14181       USER_JAVAH=""
14182     else
14183       # Extract the first word of """", so it can be a program name with args.
14184 set dummy ""; ac_word=$2
14185 echo "$as_me:$LINENO: checking for $ac_word" >&5
14186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14187 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
14188   echo $ECHO_N "(cached) $ECHO_C" >&6
14189 else
14190   case $USER_JAVAH in
14191   [\\/]* | ?:[\\/]*)
14192   ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
14193   ;;
14194   *)
14195   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14196 for as_dir in $PATH
14197 do
14198   IFS=$as_save_IFS
14199   test -z "$as_dir" && as_dir=.
14200   for ac_exec_ext in '' $ac_executable_extensions; do
14201   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14202     ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
14203     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14204     break 2
14205   fi
14206 done
14207 done
14208
14209   ;;
14210 esac
14211 fi
14212 USER_JAVAH=$ac_cv_path_USER_JAVAH
14213
14214 if test -n "$USER_JAVAH"; then
14215   echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
14216 echo "${ECHO_T}$USER_JAVAH" >&6
14217 else
14218   echo "$as_me:$LINENO: result: no" >&5
14219 echo "${ECHO_T}no" >&6
14220 fi
14221
14222     fi
14223   else
14224     for javah_name in gcjh javah; do
14225       # Extract the first word of ""$javah_name"", so it can be a program name with args.
14226 set dummy "$javah_name"; ac_word=$2
14227 echo "$as_me:$LINENO: checking for $ac_word" >&5
14228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14229 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
14230   echo $ECHO_N "(cached) $ECHO_C" >&6
14231 else
14232   case $USER_JAVAH in
14233   [\\/]* | ?:[\\/]*)
14234   ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
14235   ;;
14236   *)
14237   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14238 for as_dir in $PATH
14239 do
14240   IFS=$as_save_IFS
14241   test -z "$as_dir" && as_dir=.
14242   for ac_exec_ext in '' $ac_executable_extensions; do
14243   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14244     ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
14245     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14246     break 2
14247   fi
14248 done
14249 done
14250
14251   ;;
14252 esac
14253 fi
14254 USER_JAVAH=$ac_cv_path_USER_JAVAH
14255
14256 if test -n "$USER_JAVAH"; then
14257   echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
14258 echo "${ECHO_T}$USER_JAVAH" >&6
14259 else
14260   echo "$as_me:$LINENO: result: no" >&5
14261 echo "${ECHO_T}no" >&6
14262 fi
14263
14264       if test "x${USER_JAVAH}" != x; then
14265         break
14266       fi
14267     done
14268   fi
14269
14270 #  if test "x${USER_JAVAH}" = x; then
14271 #    echo "configure: cannot find javah" 1>&2
14272 #    exit 1
14273 #  fi
14274
14275
14276 fi;
14277
14278
14279 if test "x${USER_JAVAH}" != x; then
14280   USER_SPECIFIED_JAVAH_TRUE=
14281   USER_SPECIFIED_JAVAH_FALSE='#'
14282 else
14283   USER_SPECIFIED_JAVAH_TRUE='#'
14284   USER_SPECIFIED_JAVAH_FALSE=
14285 fi
14286
14287
14288
14289
14290 CLASSPATH_INCLUDES="-I\$(top_srcdir)/include -I\$(top_srcdir)/native/jni/classpath -I\$(top_srcdir)/native/jni/native-lib"
14291
14292
14293 if test "x${COMPILE_JNI}" = xyes; then
14294   echo "$as_me:$LINENO: checking jni_md.h support" >&5
14295 echo $ECHO_N "checking jni_md.h support... $ECHO_C" >&6
14296   if test -f ${srcdir}/include/jni_md-${target_cpu}-${target_os}.h; then
14297     echo "$as_me:$LINENO: result: yes" >&5
14298 echo "${ECHO_T}yes" >&6
14299   else
14300     target_cpu=x86
14301     target_os=linux-gnu
14302     { echo "$as_me:$LINENO: WARNING: no" >&5
14303 echo "$as_me: WARNING: no" >&2;}
14304   fi
14305   ac_sources="include/jni_md-${target_cpu}-${target_os}.h"
14306   ac_dests="include/jni_md.h"
14307   while test -n "$ac_sources"; do
14308     set $ac_dests; ac_dest=$1; shift; ac_dests=$*
14309     set $ac_sources; ac_source=$1; shift; ac_sources=$*
14310     ac_config_links_1="$ac_config_links_1 $ac_dest:$ac_source"
14311   done
14312             ac_config_links="$ac_config_links $ac_config_links_1"
14313
14314 fi
14315
14316
14317   user_specified_javac=
14318
14319
14320
14321 # Check whether --with-gcj or --without-gcj was given.
14322 if test "${with_gcj+set}" = set; then
14323   withval="$with_gcj"
14324
14325     if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
14326
14327   if test "x${withval}" != x; then
14328     if test -f "${withval}"; then
14329       GCJ="${withval}"
14330     else
14331       # Extract the first word of ""${withval}"", so it can be a program name with args.
14332 set dummy "${withval}"; ac_word=$2
14333 echo "$as_me:$LINENO: checking for $ac_word" >&5
14334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14335 if test "${ac_cv_path_GCJ+set}" = set; then
14336   echo $ECHO_N "(cached) $ECHO_C" >&6
14337 else
14338   case $GCJ in
14339   [\\/]* | ?:[\\/]*)
14340   ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
14341   ;;
14342   *)
14343   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14344 for as_dir in $PATH
14345 do
14346   IFS=$as_save_IFS
14347   test -z "$as_dir" && as_dir=.
14348   for ac_exec_ext in '' $ac_executable_extensions; do
14349   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14350     ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
14351     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14352     break 2
14353   fi
14354 done
14355 done
14356
14357   ;;
14358 esac
14359 fi
14360 GCJ=$ac_cv_path_GCJ
14361
14362 if test -n "$GCJ"; then
14363   echo "$as_me:$LINENO: result: $GCJ" >&5
14364 echo "${ECHO_T}$GCJ" >&6
14365 else
14366   echo "$as_me:$LINENO: result: no" >&5
14367 echo "${ECHO_T}no" >&6
14368 fi
14369
14370     fi
14371   else
14372     # Extract the first word of ""gcj"", so it can be a program name with args.
14373 set dummy "gcj"; ac_word=$2
14374 echo "$as_me:$LINENO: checking for $ac_word" >&5
14375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14376 if test "${ac_cv_path_GCJ+set}" = set; then
14377   echo $ECHO_N "(cached) $ECHO_C" >&6
14378 else
14379   case $GCJ in
14380   [\\/]* | ?:[\\/]*)
14381   ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
14382   ;;
14383   *)
14384   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14385 for as_dir in $PATH
14386 do
14387   IFS=$as_save_IFS
14388   test -z "$as_dir" && as_dir=.
14389   for ac_exec_ext in '' $ac_executable_extensions; do
14390   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14391     ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
14392     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14393     break 2
14394   fi
14395 done
14396 done
14397
14398   ;;
14399 esac
14400 fi
14401 GCJ=$ac_cv_path_GCJ
14402
14403 if test -n "$GCJ"; then
14404   echo "$as_me:$LINENO: result: $GCJ" >&5
14405 echo "${ECHO_T}$GCJ" >&6
14406 else
14407   echo "$as_me:$LINENO: result: no" >&5
14408 echo "${ECHO_T}no" >&6
14409 fi
14410
14411   fi
14412     if test "x$GCJ" != x; then
14413     echo "$as_me:$LINENO: checking gcj version 4.0" >&5
14414 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
14415     ac_ext=c
14416 ac_cpp='$CPP $CPPFLAGS'
14417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14420
14421     cat >conftest.$ac_ext <<_ACEOF
14422 #if __GNUC__ <= 3
14423     #error GCJ 4.0.0 or higher is required
14424     #endif
14425
14426 _ACEOF
14427     $GCJ -E conftest.c > /dev/null
14428     gcj_4_result=$?
14429     if test "x$gcj_4_result" = "x0"; then
14430       echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
14431 echo "${ECHO_T}4.0 or higher found" >&6
14432     else
14433       { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
14434 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
14435     fi
14436     ac_ext=c
14437 ac_cpp='$CPP $CPPFLAGS'
14438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14441
14442   fi
14443
14444     else
14445       if test "x${withval}" != xno; then
14446
14447   if test "x" != x; then
14448     if test -f ""; then
14449       GCJ=""
14450     else
14451       # Extract the first word of """", so it can be a program name with args.
14452 set dummy ""; ac_word=$2
14453 echo "$as_me:$LINENO: checking for $ac_word" >&5
14454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14455 if test "${ac_cv_path_GCJ+set}" = set; then
14456   echo $ECHO_N "(cached) $ECHO_C" >&6
14457 else
14458   case $GCJ in
14459   [\\/]* | ?:[\\/]*)
14460   ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
14461   ;;
14462   *)
14463   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14464 for as_dir in $PATH
14465 do
14466   IFS=$as_save_IFS
14467   test -z "$as_dir" && as_dir=.
14468   for ac_exec_ext in '' $ac_executable_extensions; do
14469   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14470     ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
14471     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14472     break 2
14473   fi
14474 done
14475 done
14476
14477   ;;
14478 esac
14479 fi
14480 GCJ=$ac_cv_path_GCJ
14481
14482 if test -n "$GCJ"; then
14483   echo "$as_me:$LINENO: result: $GCJ" >&5
14484 echo "${ECHO_T}$GCJ" >&6
14485 else
14486   echo "$as_me:$LINENO: result: no" >&5
14487 echo "${ECHO_T}no" >&6
14488 fi
14489
14490     fi
14491   else
14492     # Extract the first word of ""gcj"", so it can be a program name with args.
14493 set dummy "gcj"; ac_word=$2
14494 echo "$as_me:$LINENO: checking for $ac_word" >&5
14495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14496 if test "${ac_cv_path_GCJ+set}" = set; then
14497   echo $ECHO_N "(cached) $ECHO_C" >&6
14498 else
14499   case $GCJ in
14500   [\\/]* | ?:[\\/]*)
14501   ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
14502   ;;
14503   *)
14504   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14505 for as_dir in $PATH
14506 do
14507   IFS=$as_save_IFS
14508   test -z "$as_dir" && as_dir=.
14509   for ac_exec_ext in '' $ac_executable_extensions; do
14510   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14511     ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
14512     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14513     break 2
14514   fi
14515 done
14516 done
14517
14518   ;;
14519 esac
14520 fi
14521 GCJ=$ac_cv_path_GCJ
14522
14523 if test -n "$GCJ"; then
14524   echo "$as_me:$LINENO: result: $GCJ" >&5
14525 echo "${ECHO_T}$GCJ" >&6
14526 else
14527   echo "$as_me:$LINENO: result: no" >&5
14528 echo "${ECHO_T}no" >&6
14529 fi
14530
14531   fi
14532     if test "x$GCJ" != x; then
14533     echo "$as_me:$LINENO: checking gcj version 4.0" >&5
14534 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
14535     ac_ext=c
14536 ac_cpp='$CPP $CPPFLAGS'
14537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14540
14541     cat >conftest.$ac_ext <<_ACEOF
14542 #if __GNUC__ <= 3
14543     #error GCJ 4.0.0 or higher is required
14544     #endif
14545
14546 _ACEOF
14547     $GCJ -E conftest.c > /dev/null
14548     gcj_4_result=$?
14549     if test "x$gcj_4_result" = "x0"; then
14550       echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
14551 echo "${ECHO_T}4.0 or higher found" >&6
14552     else
14553       { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
14554 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
14555     fi
14556     ac_ext=c
14557 ac_cpp='$CPP $CPPFLAGS'
14558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14561
14562   fi
14563
14564       fi
14565     fi
14566     user_specified_javac=gcj
14567
14568 else
14569
14570
14571   if test "x" != x; then
14572     if test -f ""; then
14573       GCJ=""
14574     else
14575       # Extract the first word of """", so it can be a program name with args.
14576 set dummy ""; ac_word=$2
14577 echo "$as_me:$LINENO: checking for $ac_word" >&5
14578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14579 if test "${ac_cv_path_GCJ+set}" = set; then
14580   echo $ECHO_N "(cached) $ECHO_C" >&6
14581 else
14582   case $GCJ in
14583   [\\/]* | ?:[\\/]*)
14584   ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
14585   ;;
14586   *)
14587   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14588 for as_dir in $PATH
14589 do
14590   IFS=$as_save_IFS
14591   test -z "$as_dir" && as_dir=.
14592   for ac_exec_ext in '' $ac_executable_extensions; do
14593   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14594     ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
14595     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14596     break 2
14597   fi
14598 done
14599 done
14600
14601   ;;
14602 esac
14603 fi
14604 GCJ=$ac_cv_path_GCJ
14605
14606 if test -n "$GCJ"; then
14607   echo "$as_me:$LINENO: result: $GCJ" >&5
14608 echo "${ECHO_T}$GCJ" >&6
14609 else
14610   echo "$as_me:$LINENO: result: no" >&5
14611 echo "${ECHO_T}no" >&6
14612 fi
14613
14614     fi
14615   else
14616     # Extract the first word of ""gcj"", so it can be a program name with args.
14617 set dummy "gcj"; ac_word=$2
14618 echo "$as_me:$LINENO: checking for $ac_word" >&5
14619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14620 if test "${ac_cv_path_GCJ+set}" = set; then
14621   echo $ECHO_N "(cached) $ECHO_C" >&6
14622 else
14623   case $GCJ in
14624   [\\/]* | ?:[\\/]*)
14625   ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
14626   ;;
14627   *)
14628   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14629 for as_dir in $PATH
14630 do
14631   IFS=$as_save_IFS
14632   test -z "$as_dir" && as_dir=.
14633   for ac_exec_ext in '' $ac_executable_extensions; do
14634   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14635     ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
14636     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14637     break 2
14638   fi
14639 done
14640 done
14641
14642   ;;
14643 esac
14644 fi
14645 GCJ=$ac_cv_path_GCJ
14646
14647 if test -n "$GCJ"; then
14648   echo "$as_me:$LINENO: result: $GCJ" >&5
14649 echo "${ECHO_T}$GCJ" >&6
14650 else
14651   echo "$as_me:$LINENO: result: no" >&5
14652 echo "${ECHO_T}no" >&6
14653 fi
14654
14655   fi
14656     if test "x$GCJ" != x; then
14657     echo "$as_me:$LINENO: checking gcj version 4.0" >&5
14658 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
14659     ac_ext=c
14660 ac_cpp='$CPP $CPPFLAGS'
14661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14664
14665     cat >conftest.$ac_ext <<_ACEOF
14666 #if __GNUC__ <= 3
14667     #error GCJ 4.0.0 or higher is required
14668     #endif
14669
14670 _ACEOF
14671     $GCJ -E conftest.c > /dev/null
14672     gcj_4_result=$?
14673     if test "x$gcj_4_result" = "x0"; then
14674       echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
14675 echo "${ECHO_T}4.0 or higher found" >&6
14676     else
14677       { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
14678 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
14679     fi
14680     ac_ext=c
14681 ac_cpp='$CPP $CPPFLAGS'
14682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14685
14686   fi
14687
14688
14689 fi;
14690
14691
14692
14693
14694 # Check whether --with-jikes or --without-jikes was given.
14695 if test "${with_jikes+set}" = set; then
14696   withval="$with_jikes"
14697
14698     if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
14699
14700   if test "x${withval}" != x; then
14701     if test -f "${withval}"; then
14702       JIKES="${withval}"
14703     else
14704       # Extract the first word of ""${withval}"", so it can be a program name with args.
14705 set dummy "${withval}"; ac_word=$2
14706 echo "$as_me:$LINENO: checking for $ac_word" >&5
14707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14708 if test "${ac_cv_path_JIKES+set}" = set; then
14709   echo $ECHO_N "(cached) $ECHO_C" >&6
14710 else
14711   case $JIKES in
14712   [\\/]* | ?:[\\/]*)
14713   ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
14714   ;;
14715   *)
14716   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14717 for as_dir in $PATH
14718 do
14719   IFS=$as_save_IFS
14720   test -z "$as_dir" && as_dir=.
14721   for ac_exec_ext in '' $ac_executable_extensions; do
14722   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14723     ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
14724     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14725     break 2
14726   fi
14727 done
14728 done
14729
14730   ;;
14731 esac
14732 fi
14733 JIKES=$ac_cv_path_JIKES
14734
14735 if test -n "$JIKES"; then
14736   echo "$as_me:$LINENO: result: $JIKES" >&5
14737 echo "${ECHO_T}$JIKES" >&6
14738 else
14739   echo "$as_me:$LINENO: result: no" >&5
14740 echo "${ECHO_T}no" >&6
14741 fi
14742
14743     fi
14744   else
14745     # Extract the first word of ""jikes"", so it can be a program name with args.
14746 set dummy "jikes"; ac_word=$2
14747 echo "$as_me:$LINENO: checking for $ac_word" >&5
14748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14749 if test "${ac_cv_path_JIKES+set}" = set; then
14750   echo $ECHO_N "(cached) $ECHO_C" >&6
14751 else
14752   case $JIKES in
14753   [\\/]* | ?:[\\/]*)
14754   ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
14755   ;;
14756   *)
14757   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14758 for as_dir in $PATH
14759 do
14760   IFS=$as_save_IFS
14761   test -z "$as_dir" && as_dir=.
14762   for ac_exec_ext in '' $ac_executable_extensions; do
14763   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14764     ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
14765     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14766     break 2
14767   fi
14768 done
14769 done
14770
14771   ;;
14772 esac
14773 fi
14774 JIKES=$ac_cv_path_JIKES
14775
14776 if test -n "$JIKES"; then
14777   echo "$as_me:$LINENO: result: $JIKES" >&5
14778 echo "${ECHO_T}$JIKES" >&6
14779 else
14780   echo "$as_me:$LINENO: result: no" >&5
14781 echo "${ECHO_T}no" >&6
14782 fi
14783
14784   fi
14785   if test "x$JIKES" != "x"; then
14786         echo "$as_me:$LINENO: checking jikes version" >&5
14787 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
14788     JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
14789     JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
14790     JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
14791     if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then
14792       if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then
14793         JIKES=""
14794       fi
14795     fi
14796     if test "x$JIKES" != "x"; then
14797       echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
14798 echo "${ECHO_T}$JIKES_VERSION" >&6
14799     else
14800       { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
14801 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
14802     fi
14803
14804     JIKESENCODING=
14805     if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
14806       JIKESENCODING='-encoding UTF-8'
14807     fi
14808
14809
14810     JIKESWARNINGS="+Pno-switchcheck"
14811     if test "x$JIKES_VERSION_MAJOR" = x"1" ; then
14812       if ! test "x$JIKES_VERSION_MINOR" = x"19"; then
14813         JIKESWARNINGS="$JIKESWARNINGS +Pno-shadow"
14814       fi
14815     fi
14816
14817
14818   fi
14819
14820     else
14821       if test "x${withval}" != xno; then
14822
14823   if test "x" != x; then
14824     if test -f ""; then
14825       JIKES=""
14826     else
14827       # Extract the first word of """", so it can be a program name with args.
14828 set dummy ""; ac_word=$2
14829 echo "$as_me:$LINENO: checking for $ac_word" >&5
14830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14831 if test "${ac_cv_path_JIKES+set}" = set; then
14832   echo $ECHO_N "(cached) $ECHO_C" >&6
14833 else
14834   case $JIKES in
14835   [\\/]* | ?:[\\/]*)
14836   ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
14837   ;;
14838   *)
14839   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14840 for as_dir in $PATH
14841 do
14842   IFS=$as_save_IFS
14843   test -z "$as_dir" && as_dir=.
14844   for ac_exec_ext in '' $ac_executable_extensions; do
14845   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14846     ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
14847     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14848     break 2
14849   fi
14850 done
14851 done
14852
14853   ;;
14854 esac
14855 fi
14856 JIKES=$ac_cv_path_JIKES
14857
14858 if test -n "$JIKES"; then
14859   echo "$as_me:$LINENO: result: $JIKES" >&5
14860 echo "${ECHO_T}$JIKES" >&6
14861 else
14862   echo "$as_me:$LINENO: result: no" >&5
14863 echo "${ECHO_T}no" >&6
14864 fi
14865
14866     fi
14867   else
14868     # Extract the first word of ""jikes"", so it can be a program name with args.
14869 set dummy "jikes"; ac_word=$2
14870 echo "$as_me:$LINENO: checking for $ac_word" >&5
14871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14872 if test "${ac_cv_path_JIKES+set}" = set; then
14873   echo $ECHO_N "(cached) $ECHO_C" >&6
14874 else
14875   case $JIKES in
14876   [\\/]* | ?:[\\/]*)
14877   ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
14878   ;;
14879   *)
14880   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14881 for as_dir in $PATH
14882 do
14883   IFS=$as_save_IFS
14884   test -z "$as_dir" && as_dir=.
14885   for ac_exec_ext in '' $ac_executable_extensions; do
14886   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14887     ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
14888     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14889     break 2
14890   fi
14891 done
14892 done
14893
14894   ;;
14895 esac
14896 fi
14897 JIKES=$ac_cv_path_JIKES
14898
14899 if test -n "$JIKES"; then
14900   echo "$as_me:$LINENO: result: $JIKES" >&5
14901 echo "${ECHO_T}$JIKES" >&6
14902 else
14903   echo "$as_me:$LINENO: result: no" >&5
14904 echo "${ECHO_T}no" >&6
14905 fi
14906
14907   fi
14908   if test "x$JIKES" != "x"; then
14909         echo "$as_me:$LINENO: checking jikes version" >&5
14910 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
14911     JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
14912     JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
14913     JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
14914     if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then
14915       if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then
14916         JIKES=""
14917       fi
14918     fi
14919     if test "x$JIKES" != "x"; then
14920       echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
14921 echo "${ECHO_T}$JIKES_VERSION" >&6
14922     else
14923       { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
14924 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
14925     fi
14926
14927     JIKESENCODING=
14928     if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
14929       JIKESENCODING='-encoding UTF-8'
14930     fi
14931
14932
14933     JIKESWARNINGS="+Pno-switchcheck"
14934     if test "x$JIKES_VERSION_MAJOR" = x"1" ; then
14935       if ! test "x$JIKES_VERSION_MINOR" = x"19"; then
14936         JIKESWARNINGS="$JIKESWARNINGS +Pno-shadow"
14937       fi
14938     fi
14939
14940
14941   fi
14942
14943       fi
14944     fi
14945     user_specified_javac=jikes
14946
14947 else
14948
14949
14950   if test "x" != x; then
14951     if test -f ""; then
14952       JIKES=""
14953     else
14954       # Extract the first word of """", so it can be a program name with args.
14955 set dummy ""; ac_word=$2
14956 echo "$as_me:$LINENO: checking for $ac_word" >&5
14957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14958 if test "${ac_cv_path_JIKES+set}" = set; then
14959   echo $ECHO_N "(cached) $ECHO_C" >&6
14960 else
14961   case $JIKES in
14962   [\\/]* | ?:[\\/]*)
14963   ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
14964   ;;
14965   *)
14966   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14967 for as_dir in $PATH
14968 do
14969   IFS=$as_save_IFS
14970   test -z "$as_dir" && as_dir=.
14971   for ac_exec_ext in '' $ac_executable_extensions; do
14972   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14973     ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
14974     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14975     break 2
14976   fi
14977 done
14978 done
14979
14980   ;;
14981 esac
14982 fi
14983 JIKES=$ac_cv_path_JIKES
14984
14985 if test -n "$JIKES"; then
14986   echo "$as_me:$LINENO: result: $JIKES" >&5
14987 echo "${ECHO_T}$JIKES" >&6
14988 else
14989   echo "$as_me:$LINENO: result: no" >&5
14990 echo "${ECHO_T}no" >&6
14991 fi
14992
14993     fi
14994   else
14995     # Extract the first word of ""jikes"", so it can be a program name with args.
14996 set dummy "jikes"; ac_word=$2
14997 echo "$as_me:$LINENO: checking for $ac_word" >&5
14998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14999 if test "${ac_cv_path_JIKES+set}" = set; then
15000   echo $ECHO_N "(cached) $ECHO_C" >&6
15001 else
15002   case $JIKES in
15003   [\\/]* | ?:[\\/]*)
15004   ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
15005   ;;
15006   *)
15007   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15008 for as_dir in $PATH
15009 do
15010   IFS=$as_save_IFS
15011   test -z "$as_dir" && as_dir=.
15012   for ac_exec_ext in '' $ac_executable_extensions; do
15013   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15014     ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
15015     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15016     break 2
15017   fi
15018 done
15019 done
15020
15021   ;;
15022 esac
15023 fi
15024 JIKES=$ac_cv_path_JIKES
15025
15026 if test -n "$JIKES"; then
15027   echo "$as_me:$LINENO: result: $JIKES" >&5
15028 echo "${ECHO_T}$JIKES" >&6
15029 else
15030   echo "$as_me:$LINENO: result: no" >&5
15031 echo "${ECHO_T}no" >&6
15032 fi
15033
15034   fi
15035   if test "x$JIKES" != "x"; then
15036         echo "$as_me:$LINENO: checking jikes version" >&5
15037 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
15038     JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
15039     JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
15040     JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
15041     if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then
15042       if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then
15043         JIKES=""
15044       fi
15045     fi
15046     if test "x$JIKES" != "x"; then
15047       echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
15048 echo "${ECHO_T}$JIKES_VERSION" >&6
15049     else
15050       { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
15051 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
15052     fi
15053
15054     JIKESENCODING=
15055     if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
15056       JIKESENCODING='-encoding UTF-8'
15057     fi
15058
15059
15060     JIKESWARNINGS="+Pno-switchcheck"
15061     if test "x$JIKES_VERSION_MAJOR" = x"1" ; then
15062       if ! test "x$JIKES_VERSION_MINOR" = x"19"; then
15063         JIKESWARNINGS="$JIKESWARNINGS +Pno-shadow"
15064       fi
15065     fi
15066
15067
15068   fi
15069
15070
15071 fi;
15072
15073
15074
15075
15076 # Check whether --with-kjc or --without-kjc was given.
15077 if test "${with_kjc+set}" = set; then
15078   withval="$with_kjc"
15079
15080     if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
15081
15082   if test "x${withval}" != x; then
15083     if test -f "${withval}"; then
15084       KJC="${withval}"
15085     else
15086       # Extract the first word of ""${withval}"", so it can be a program name with args.
15087 set dummy "${withval}"; ac_word=$2
15088 echo "$as_me:$LINENO: checking for $ac_word" >&5
15089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15090 if test "${ac_cv_path_KJC+set}" = set; then
15091   echo $ECHO_N "(cached) $ECHO_C" >&6
15092 else
15093   case $KJC in
15094   [\\/]* | ?:[\\/]*)
15095   ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
15096   ;;
15097   *)
15098   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15099 for as_dir in $PATH
15100 do
15101   IFS=$as_save_IFS
15102   test -z "$as_dir" && as_dir=.
15103   for ac_exec_ext in '' $ac_executable_extensions; do
15104   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15105     ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
15106     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15107     break 2
15108   fi
15109 done
15110 done
15111
15112   ;;
15113 esac
15114 fi
15115 KJC=$ac_cv_path_KJC
15116
15117 if test -n "$KJC"; then
15118   echo "$as_me:$LINENO: result: $KJC" >&5
15119 echo "${ECHO_T}$KJC" >&6
15120 else
15121   echo "$as_me:$LINENO: result: no" >&5
15122 echo "${ECHO_T}no" >&6
15123 fi
15124
15125     fi
15126   else
15127     # Extract the first word of ""kJC"", so it can be a program name with args.
15128 set dummy "kJC"; ac_word=$2
15129 echo "$as_me:$LINENO: checking for $ac_word" >&5
15130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15131 if test "${ac_cv_path_KJC+set}" = set; then
15132   echo $ECHO_N "(cached) $ECHO_C" >&6
15133 else
15134   case $KJC in
15135   [\\/]* | ?:[\\/]*)
15136   ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
15137   ;;
15138   *)
15139   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15140 for as_dir in $PATH
15141 do
15142   IFS=$as_save_IFS
15143   test -z "$as_dir" && as_dir=.
15144   for ac_exec_ext in '' $ac_executable_extensions; do
15145   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15146     ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
15147     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15148     break 2
15149   fi
15150 done
15151 done
15152
15153   ;;
15154 esac
15155 fi
15156 KJC=$ac_cv_path_KJC
15157
15158 if test -n "$KJC"; then
15159   echo "$as_me:$LINENO: result: $KJC" >&5
15160 echo "${ECHO_T}$KJC" >&6
15161 else
15162   echo "$as_me:$LINENO: result: no" >&5
15163 echo "${ECHO_T}no" >&6
15164 fi
15165
15166   fi
15167
15168     else
15169       if test "x${withval}" != xno; then
15170
15171   if test "x" != x; then
15172     if test -f ""; then
15173       KJC=""
15174     else
15175       # Extract the first word of """", so it can be a program name with args.
15176 set dummy ""; ac_word=$2
15177 echo "$as_me:$LINENO: checking for $ac_word" >&5
15178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15179 if test "${ac_cv_path_KJC+set}" = set; then
15180   echo $ECHO_N "(cached) $ECHO_C" >&6
15181 else
15182   case $KJC in
15183   [\\/]* | ?:[\\/]*)
15184   ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
15185   ;;
15186   *)
15187   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15188 for as_dir in $PATH
15189 do
15190   IFS=$as_save_IFS
15191   test -z "$as_dir" && as_dir=.
15192   for ac_exec_ext in '' $ac_executable_extensions; do
15193   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15194     ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
15195     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15196     break 2
15197   fi
15198 done
15199 done
15200
15201   ;;
15202 esac
15203 fi
15204 KJC=$ac_cv_path_KJC
15205
15206 if test -n "$KJC"; then
15207   echo "$as_me:$LINENO: result: $KJC" >&5
15208 echo "${ECHO_T}$KJC" >&6
15209 else
15210   echo "$as_me:$LINENO: result: no" >&5
15211 echo "${ECHO_T}no" >&6
15212 fi
15213
15214     fi
15215   else
15216     # Extract the first word of ""kJC"", so it can be a program name with args.
15217 set dummy "kJC"; ac_word=$2
15218 echo "$as_me:$LINENO: checking for $ac_word" >&5
15219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15220 if test "${ac_cv_path_KJC+set}" = set; then
15221   echo $ECHO_N "(cached) $ECHO_C" >&6
15222 else
15223   case $KJC in
15224   [\\/]* | ?:[\\/]*)
15225   ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
15226   ;;
15227   *)
15228   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15229 for as_dir in $PATH
15230 do
15231   IFS=$as_save_IFS
15232   test -z "$as_dir" && as_dir=.
15233   for ac_exec_ext in '' $ac_executable_extensions; do
15234   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15235     ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
15236     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15237     break 2
15238   fi
15239 done
15240 done
15241
15242   ;;
15243 esac
15244 fi
15245 KJC=$ac_cv_path_KJC
15246
15247 if test -n "$KJC"; then
15248   echo "$as_me:$LINENO: result: $KJC" >&5
15249 echo "${ECHO_T}$KJC" >&6
15250 else
15251   echo "$as_me:$LINENO: result: no" >&5
15252 echo "${ECHO_T}no" >&6
15253 fi
15254
15255   fi
15256
15257       fi
15258     fi
15259     user_specified_javac=kjc
15260
15261 else
15262
15263
15264   if test "x" != x; then
15265     if test -f ""; then
15266       KJC=""
15267     else
15268       # Extract the first word of """", so it can be a program name with args.
15269 set dummy ""; ac_word=$2
15270 echo "$as_me:$LINENO: checking for $ac_word" >&5
15271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15272 if test "${ac_cv_path_KJC+set}" = set; then
15273   echo $ECHO_N "(cached) $ECHO_C" >&6
15274 else
15275   case $KJC in
15276   [\\/]* | ?:[\\/]*)
15277   ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
15278   ;;
15279   *)
15280   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15281 for as_dir in $PATH
15282 do
15283   IFS=$as_save_IFS
15284   test -z "$as_dir" && as_dir=.
15285   for ac_exec_ext in '' $ac_executable_extensions; do
15286   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15287     ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
15288     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15289     break 2
15290   fi
15291 done
15292 done
15293
15294   ;;
15295 esac
15296 fi
15297 KJC=$ac_cv_path_KJC
15298
15299 if test -n "$KJC"; then
15300   echo "$as_me:$LINENO: result: $KJC" >&5
15301 echo "${ECHO_T}$KJC" >&6
15302 else
15303   echo "$as_me:$LINENO: result: no" >&5
15304 echo "${ECHO_T}no" >&6
15305 fi
15306
15307     fi
15308   else
15309     # Extract the first word of ""kJC"", so it can be a program name with args.
15310 set dummy "kJC"; ac_word=$2
15311 echo "$as_me:$LINENO: checking for $ac_word" >&5
15312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15313 if test "${ac_cv_path_KJC+set}" = set; then
15314   echo $ECHO_N "(cached) $ECHO_C" >&6
15315 else
15316   case $KJC in
15317   [\\/]* | ?:[\\/]*)
15318   ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
15319   ;;
15320   *)
15321   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15322 for as_dir in $PATH
15323 do
15324   IFS=$as_save_IFS
15325   test -z "$as_dir" && as_dir=.
15326   for ac_exec_ext in '' $ac_executable_extensions; do
15327   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15328     ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
15329     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15330     break 2
15331   fi
15332 done
15333 done
15334
15335   ;;
15336 esac
15337 fi
15338 KJC=$ac_cv_path_KJC
15339
15340 if test -n "$KJC"; then
15341   echo "$as_me:$LINENO: result: $KJC" >&5
15342 echo "${ECHO_T}$KJC" >&6
15343 else
15344   echo "$as_me:$LINENO: result: no" >&5
15345 echo "${ECHO_T}no" >&6
15346 fi
15347
15348   fi
15349
15350
15351 fi;
15352
15353
15354
15355
15356 # Check whether --with-gcjx or --without-gcjx was given.
15357 if test "${with_gcjx+set}" = set; then
15358   withval="$with_gcjx"
15359
15360     if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
15361
15362   if test "x${withval}" != x; then
15363     if test -f "${withval}"; then
15364       GCJX="${withval}"
15365     else
15366       # Extract the first word of ""${withval}"", so it can be a program name with args.
15367 set dummy "${withval}"; ac_word=$2
15368 echo "$as_me:$LINENO: checking for $ac_word" >&5
15369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15370 if test "${ac_cv_path_GCJX+set}" = set; then
15371   echo $ECHO_N "(cached) $ECHO_C" >&6
15372 else
15373   case $GCJX in
15374   [\\/]* | ?:[\\/]*)
15375   ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
15376   ;;
15377   *)
15378   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15379 for as_dir in $PATH
15380 do
15381   IFS=$as_save_IFS
15382   test -z "$as_dir" && as_dir=.
15383   for ac_exec_ext in '' $ac_executable_extensions; do
15384   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15385     ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
15386     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15387     break 2
15388   fi
15389 done
15390 done
15391
15392   ;;
15393 esac
15394 fi
15395 GCJX=$ac_cv_path_GCJX
15396
15397 if test -n "$GCJX"; then
15398   echo "$as_me:$LINENO: result: $GCJX" >&5
15399 echo "${ECHO_T}$GCJX" >&6
15400 else
15401   echo "$as_me:$LINENO: result: no" >&5
15402 echo "${ECHO_T}no" >&6
15403 fi
15404
15405     fi
15406   else
15407     # Extract the first word of ""gcjx"", so it can be a program name with args.
15408 set dummy "gcjx"; ac_word=$2
15409 echo "$as_me:$LINENO: checking for $ac_word" >&5
15410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15411 if test "${ac_cv_path_GCJX+set}" = set; then
15412   echo $ECHO_N "(cached) $ECHO_C" >&6
15413 else
15414   case $GCJX in
15415   [\\/]* | ?:[\\/]*)
15416   ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
15417   ;;
15418   *)
15419   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15420 for as_dir in $PATH
15421 do
15422   IFS=$as_save_IFS
15423   test -z "$as_dir" && as_dir=.
15424   for ac_exec_ext in '' $ac_executable_extensions; do
15425   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15426     ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
15427     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15428     break 2
15429   fi
15430 done
15431 done
15432
15433   ;;
15434 esac
15435 fi
15436 GCJX=$ac_cv_path_GCJX
15437
15438 if test -n "$GCJX"; then
15439   echo "$as_me:$LINENO: result: $GCJX" >&5
15440 echo "${ECHO_T}$GCJX" >&6
15441 else
15442   echo "$as_me:$LINENO: result: no" >&5
15443 echo "${ECHO_T}no" >&6
15444 fi
15445
15446   fi
15447
15448     else
15449       if test "x${withval}" != xno; then
15450
15451   if test "x" != x; then
15452     if test -f ""; then
15453       GCJX=""
15454     else
15455       # Extract the first word of """", so it can be a program name with args.
15456 set dummy ""; ac_word=$2
15457 echo "$as_me:$LINENO: checking for $ac_word" >&5
15458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15459 if test "${ac_cv_path_GCJX+set}" = set; then
15460   echo $ECHO_N "(cached) $ECHO_C" >&6
15461 else
15462   case $GCJX in
15463   [\\/]* | ?:[\\/]*)
15464   ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
15465   ;;
15466   *)
15467   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15468 for as_dir in $PATH
15469 do
15470   IFS=$as_save_IFS
15471   test -z "$as_dir" && as_dir=.
15472   for ac_exec_ext in '' $ac_executable_extensions; do
15473   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15474     ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
15475     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15476     break 2
15477   fi
15478 done
15479 done
15480
15481   ;;
15482 esac
15483 fi
15484 GCJX=$ac_cv_path_GCJX
15485
15486 if test -n "$GCJX"; then
15487   echo "$as_me:$LINENO: result: $GCJX" >&5
15488 echo "${ECHO_T}$GCJX" >&6
15489 else
15490   echo "$as_me:$LINENO: result: no" >&5
15491 echo "${ECHO_T}no" >&6
15492 fi
15493
15494     fi
15495   else
15496     # Extract the first word of ""gcjx"", so it can be a program name with args.
15497 set dummy "gcjx"; ac_word=$2
15498 echo "$as_me:$LINENO: checking for $ac_word" >&5
15499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15500 if test "${ac_cv_path_GCJX+set}" = set; then
15501   echo $ECHO_N "(cached) $ECHO_C" >&6
15502 else
15503   case $GCJX in
15504   [\\/]* | ?:[\\/]*)
15505   ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
15506   ;;
15507   *)
15508   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15509 for as_dir in $PATH
15510 do
15511   IFS=$as_save_IFS
15512   test -z "$as_dir" && as_dir=.
15513   for ac_exec_ext in '' $ac_executable_extensions; do
15514   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15515     ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
15516     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15517     break 2
15518   fi
15519 done
15520 done
15521
15522   ;;
15523 esac
15524 fi
15525 GCJX=$ac_cv_path_GCJX
15526
15527 if test -n "$GCJX"; then
15528   echo "$as_me:$LINENO: result: $GCJX" >&5
15529 echo "${ECHO_T}$GCJX" >&6
15530 else
15531   echo "$as_me:$LINENO: result: no" >&5
15532 echo "${ECHO_T}no" >&6
15533 fi
15534
15535   fi
15536
15537       fi
15538     fi
15539     user_specified_javac=gcjx
15540
15541 else
15542
15543
15544   if test "x" != x; then
15545     if test -f ""; then
15546       GCJX=""
15547     else
15548       # Extract the first word of """", so it can be a program name with args.
15549 set dummy ""; ac_word=$2
15550 echo "$as_me:$LINENO: checking for $ac_word" >&5
15551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15552 if test "${ac_cv_path_GCJX+set}" = set; then
15553   echo $ECHO_N "(cached) $ECHO_C" >&6
15554 else
15555   case $GCJX in
15556   [\\/]* | ?:[\\/]*)
15557   ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
15558   ;;
15559   *)
15560   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15561 for as_dir in $PATH
15562 do
15563   IFS=$as_save_IFS
15564   test -z "$as_dir" && as_dir=.
15565   for ac_exec_ext in '' $ac_executable_extensions; do
15566   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15567     ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
15568     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15569     break 2
15570   fi
15571 done
15572 done
15573
15574   ;;
15575 esac
15576 fi
15577 GCJX=$ac_cv_path_GCJX
15578
15579 if test -n "$GCJX"; then
15580   echo "$as_me:$LINENO: result: $GCJX" >&5
15581 echo "${ECHO_T}$GCJX" >&6
15582 else
15583   echo "$as_me:$LINENO: result: no" >&5
15584 echo "${ECHO_T}no" >&6
15585 fi
15586
15587     fi
15588   else
15589     # Extract the first word of ""gcjx"", so it can be a program name with args.
15590 set dummy "gcjx"; ac_word=$2
15591 echo "$as_me:$LINENO: checking for $ac_word" >&5
15592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15593 if test "${ac_cv_path_GCJX+set}" = set; then
15594   echo $ECHO_N "(cached) $ECHO_C" >&6
15595 else
15596   case $GCJX in
15597   [\\/]* | ?:[\\/]*)
15598   ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
15599   ;;
15600   *)
15601   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15602 for as_dir in $PATH
15603 do
15604   IFS=$as_save_IFS
15605   test -z "$as_dir" && as_dir=.
15606   for ac_exec_ext in '' $ac_executable_extensions; do
15607   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15608     ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
15609     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15610     break 2
15611   fi
15612 done
15613 done
15614
15615   ;;
15616 esac
15617 fi
15618 GCJX=$ac_cv_path_GCJX
15619
15620 if test -n "$GCJX"; then
15621   echo "$as_me:$LINENO: result: $GCJX" >&5
15622 echo "${ECHO_T}$GCJX" >&6
15623 else
15624   echo "$as_me:$LINENO: result: no" >&5
15625 echo "${ECHO_T}no" >&6
15626 fi
15627
15628   fi
15629
15630
15631 fi;
15632
15633
15634
15635
15636 # Check whether --with-ecj or --without-ecj was given.
15637 if test "${with_ecj+set}" = set; then
15638   withval="$with_ecj"
15639
15640     if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
15641
15642   if test "x${withval}" != x; then
15643     if test -f "${withval}"; then
15644       ECJ="${withval}"
15645     else
15646       # Extract the first word of ""${withval}"", so it can be a program name with args.
15647 set dummy "${withval}"; ac_word=$2
15648 echo "$as_me:$LINENO: checking for $ac_word" >&5
15649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15650 if test "${ac_cv_path_ECJ+set}" = set; then
15651   echo $ECHO_N "(cached) $ECHO_C" >&6
15652 else
15653   case $ECJ in
15654   [\\/]* | ?:[\\/]*)
15655   ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
15656   ;;
15657   *)
15658   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15659 for as_dir in $PATH
15660 do
15661   IFS=$as_save_IFS
15662   test -z "$as_dir" && as_dir=.
15663   for ac_exec_ext in '' $ac_executable_extensions; do
15664   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15665     ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
15666     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15667     break 2
15668   fi
15669 done
15670 done
15671
15672   ;;
15673 esac
15674 fi
15675 ECJ=$ac_cv_path_ECJ
15676
15677 if test -n "$ECJ"; then
15678   echo "$as_me:$LINENO: result: $ECJ" >&5
15679 echo "${ECHO_T}$ECJ" >&6
15680 else
15681   echo "$as_me:$LINENO: result: no" >&5
15682 echo "${ECHO_T}no" >&6
15683 fi
15684
15685     fi
15686   else
15687     # Extract the first word of ""ecj"", so it can be a program name with args.
15688 set dummy "ecj"; ac_word=$2
15689 echo "$as_me:$LINENO: checking for $ac_word" >&5
15690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15691 if test "${ac_cv_path_ECJ+set}" = set; then
15692   echo $ECHO_N "(cached) $ECHO_C" >&6
15693 else
15694   case $ECJ in
15695   [\\/]* | ?:[\\/]*)
15696   ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
15697   ;;
15698   *)
15699   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15700 for as_dir in $PATH
15701 do
15702   IFS=$as_save_IFS
15703   test -z "$as_dir" && as_dir=.
15704   for ac_exec_ext in '' $ac_executable_extensions; do
15705   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15706     ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
15707     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15708     break 2
15709   fi
15710 done
15711 done
15712
15713   ;;
15714 esac
15715 fi
15716 ECJ=$ac_cv_path_ECJ
15717
15718 if test -n "$ECJ"; then
15719   echo "$as_me:$LINENO: result: $ECJ" >&5
15720 echo "${ECHO_T}$ECJ" >&6
15721 else
15722   echo "$as_me:$LINENO: result: no" >&5
15723 echo "${ECHO_T}no" >&6
15724 fi
15725
15726   fi
15727
15728     else
15729       if test "x${withval}" != xno; then
15730
15731   if test "x" != x; then
15732     if test -f ""; then
15733       ECJ=""
15734     else
15735       # Extract the first word of """", so it can be a program name with args.
15736 set dummy ""; ac_word=$2
15737 echo "$as_me:$LINENO: checking for $ac_word" >&5
15738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15739 if test "${ac_cv_path_ECJ+set}" = set; then
15740   echo $ECHO_N "(cached) $ECHO_C" >&6
15741 else
15742   case $ECJ in
15743   [\\/]* | ?:[\\/]*)
15744   ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
15745   ;;
15746   *)
15747   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15748 for as_dir in $PATH
15749 do
15750   IFS=$as_save_IFS
15751   test -z "$as_dir" && as_dir=.
15752   for ac_exec_ext in '' $ac_executable_extensions; do
15753   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15754     ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
15755     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15756     break 2
15757   fi
15758 done
15759 done
15760
15761   ;;
15762 esac
15763 fi
15764 ECJ=$ac_cv_path_ECJ
15765
15766 if test -n "$ECJ"; then
15767   echo "$as_me:$LINENO: result: $ECJ" >&5
15768 echo "${ECHO_T}$ECJ" >&6
15769 else
15770   echo "$as_me:$LINENO: result: no" >&5
15771 echo "${ECHO_T}no" >&6
15772 fi
15773
15774     fi
15775   else
15776     # Extract the first word of ""ecj"", so it can be a program name with args.
15777 set dummy "ecj"; ac_word=$2
15778 echo "$as_me:$LINENO: checking for $ac_word" >&5
15779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15780 if test "${ac_cv_path_ECJ+set}" = set; then
15781   echo $ECHO_N "(cached) $ECHO_C" >&6
15782 else
15783   case $ECJ in
15784   [\\/]* | ?:[\\/]*)
15785   ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
15786   ;;
15787   *)
15788   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15789 for as_dir in $PATH
15790 do
15791   IFS=$as_save_IFS
15792   test -z "$as_dir" && as_dir=.
15793   for ac_exec_ext in '' $ac_executable_extensions; do
15794   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15795     ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
15796     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15797     break 2
15798   fi
15799 done
15800 done
15801
15802   ;;
15803 esac
15804 fi
15805 ECJ=$ac_cv_path_ECJ
15806
15807 if test -n "$ECJ"; then
15808   echo "$as_me:$LINENO: result: $ECJ" >&5
15809 echo "${ECHO_T}$ECJ" >&6
15810 else
15811   echo "$as_me:$LINENO: result: no" >&5
15812 echo "${ECHO_T}no" >&6
15813 fi
15814
15815   fi
15816
15817       fi
15818     fi
15819     user_specified_javac=ecj
15820
15821 else
15822
15823
15824   if test "x" != x; then
15825     if test -f ""; then
15826       ECJ=""
15827     else
15828       # Extract the first word of """", so it can be a program name with args.
15829 set dummy ""; ac_word=$2
15830 echo "$as_me:$LINENO: checking for $ac_word" >&5
15831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15832 if test "${ac_cv_path_ECJ+set}" = set; then
15833   echo $ECHO_N "(cached) $ECHO_C" >&6
15834 else
15835   case $ECJ in
15836   [\\/]* | ?:[\\/]*)
15837   ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
15838   ;;
15839   *)
15840   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15841 for as_dir in $PATH
15842 do
15843   IFS=$as_save_IFS
15844   test -z "$as_dir" && as_dir=.
15845   for ac_exec_ext in '' $ac_executable_extensions; do
15846   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15847     ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
15848     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15849     break 2
15850   fi
15851 done
15852 done
15853
15854   ;;
15855 esac
15856 fi
15857 ECJ=$ac_cv_path_ECJ
15858
15859 if test -n "$ECJ"; then
15860   echo "$as_me:$LINENO: result: $ECJ" >&5
15861 echo "${ECHO_T}$ECJ" >&6
15862 else
15863   echo "$as_me:$LINENO: result: no" >&5
15864 echo "${ECHO_T}no" >&6
15865 fi
15866
15867     fi
15868   else
15869     # Extract the first word of ""ecj"", so it can be a program name with args.
15870 set dummy "ecj"; ac_word=$2
15871 echo "$as_me:$LINENO: checking for $ac_word" >&5
15872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15873 if test "${ac_cv_path_ECJ+set}" = set; then
15874   echo $ECHO_N "(cached) $ECHO_C" >&6
15875 else
15876   case $ECJ in
15877   [\\/]* | ?:[\\/]*)
15878   ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
15879   ;;
15880   *)
15881   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15882 for as_dir in $PATH
15883 do
15884   IFS=$as_save_IFS
15885   test -z "$as_dir" && as_dir=.
15886   for ac_exec_ext in '' $ac_executable_extensions; do
15887   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15888     ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
15889     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15890     break 2
15891   fi
15892 done
15893 done
15894
15895   ;;
15896 esac
15897 fi
15898 ECJ=$ac_cv_path_ECJ
15899
15900 if test -n "$ECJ"; then
15901   echo "$as_me:$LINENO: result: $ECJ" >&5
15902 echo "${ECHO_T}$ECJ" >&6
15903 else
15904   echo "$as_me:$LINENO: result: no" >&5
15905 echo "${ECHO_T}no" >&6
15906 fi
15907
15908   fi
15909
15910
15911 fi;
15912
15913
15914
15915   if test "x${user_specified_javac}" = x; then
15916
15917
15918 if test "x${GCJ}" != x; then
15919   FOUND_GCJ_TRUE=
15920   FOUND_GCJ_FALSE='#'
15921 else
15922   FOUND_GCJ_TRUE='#'
15923   FOUND_GCJ_FALSE=
15924 fi
15925
15926
15927
15928 if test "x${JIKES}" != x; then
15929   FOUND_JIKES_TRUE=
15930   FOUND_JIKES_FALSE='#'
15931 else
15932   FOUND_JIKES_TRUE='#'
15933   FOUND_JIKES_FALSE=
15934 fi
15935
15936
15937
15938 if test "x${ECJ}" != x; then
15939   FOUND_ECJ_TRUE=
15940   FOUND_ECJ_FALSE='#'
15941 else
15942   FOUND_ECJ_TRUE='#'
15943   FOUND_ECJ_FALSE=
15944 fi
15945
15946   else
15947
15948
15949 if test "x${user_specified_javac}" = xgcj; then
15950   FOUND_GCJ_TRUE=
15951   FOUND_GCJ_FALSE='#'
15952 else
15953   FOUND_GCJ_TRUE='#'
15954   FOUND_GCJ_FALSE=
15955 fi
15956
15957
15958
15959 if test "x${user_specified_javac}" = xjikes; then
15960   FOUND_JIKES_TRUE=
15961   FOUND_JIKES_FALSE='#'
15962 else
15963   FOUND_JIKES_TRUE='#'
15964   FOUND_JIKES_FALSE=
15965 fi
15966
15967
15968
15969 if test "x${user_specified_javac}" = xecj; then
15970   FOUND_ECJ_TRUE=
15971   FOUND_ECJ_FALSE='#'
15972 else
15973   FOUND_ECJ_TRUE='#'
15974   FOUND_ECJ_FALSE=
15975 fi
15976
15977   fi
15978
15979
15980 if test "x${user_specified_javac}" = xkjc; then
15981   FOUND_KJC_TRUE=
15982   FOUND_KJC_FALSE='#'
15983 else
15984   FOUND_KJC_TRUE='#'
15985   FOUND_KJC_FALSE=
15986 fi
15987
15988
15989
15990 if test "x${user_specified_javac}" = xgcjx; then
15991   FOUND_GCJX_TRUE=
15992   FOUND_GCJX_FALSE='#'
15993 else
15994   FOUND_GCJX_TRUE='#'
15995   FOUND_GCJX_FALSE=
15996 fi
15997
15998
15999   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
16000       { { echo "$as_me:$LINENO: error: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx" >&5
16001 echo "$as_me: error: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx" >&2;}
16002    { (exit 1); exit 1; }; }
16003   fi
16004
16005
16006
16007
16008 # Check whether --with-classpath or --without-classpath was given.
16009 if test "${with_classpath+set}" = set; then
16010   withval="$with_classpath"
16011
16012     if test "x${withval}" = xyes; then
16013       # set user classpath to CLASSPATH from env
16014       echo "$as_me:$LINENO: checking for classlib" >&5
16015 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
16016       USER_CLASSLIB=${CLASSPATH}
16017
16018       echo "$as_me:$LINENO: result: ${USER_CLASSLIB}" >&5
16019 echo "${ECHO_T}${USER_CLASSLIB}" >&6
16020       conditional_with_classlib=true
16021     elif test "x${withval}" != x && test "x${withval}" != xno; then
16022       # set user classpath to specified value
16023       echo "$as_me:$LINENO: checking for classlib" >&5
16024 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
16025       USER_CLASSLIB=${withval}
16026
16027       echo "$as_me:$LINENO: result: ${withval}" >&5
16028 echo "${ECHO_T}${withval}" >&6
16029       conditional_with_classlib=true
16030     fi
16031
16032 else
16033    conditional_with_classlib=false
16034 fi;
16035
16036
16037 if test "x${conditional_with_classlib}" = xtrue; then
16038   USER_SPECIFIED_CLASSLIB_TRUE=
16039   USER_SPECIFIED_CLASSLIB_FALSE='#'
16040 else
16041   USER_SPECIFIED_CLASSLIB_TRUE='#'
16042   USER_SPECIFIED_CLASSLIB_FALSE=
16043 fi
16044
16045
16046
16047 # Check whether --with-vm-classes or --without-vm-classes was given.
16048 if test "${with_vm_classes+set}" = set; then
16049   withval="$with_vm_classes"
16050   vm_classes="$with_vm_classes"
16051 else
16052   vm_classes='${top_srcdir}/vm/reference'
16053 fi;
16054
16055
16056
16057 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
16058 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
16059     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
16060 if test "${enable_maintainer_mode+set}" = set; then
16061   enableval="$enable_maintainer_mode"
16062   USE_MAINTAINER_MODE=$enableval
16063 else
16064   USE_MAINTAINER_MODE=no
16065 fi;
16066   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
16067 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
16068
16069
16070 if test $USE_MAINTAINER_MODE = yes; then
16071   MAINTAINER_MODE_TRUE=
16072   MAINTAINER_MODE_FALSE='#'
16073 else
16074   MAINTAINER_MODE_TRUE='#'
16075   MAINTAINER_MODE_FALSE=
16076 fi
16077
16078   MAINT=$MAINTAINER_MODE_TRUE
16079
16080
16081
16082 # Check whether --enable-debug or --disable-debug was given.
16083 if test "${enable_debug+set}" = set; then
16084   enableval="$enable_debug"
16085   case "${enableval}" in
16086                 yes)
16087                 LIBDEBUG="true"
16088
16089 cat >>confdefs.h <<\_ACEOF
16090 #define DEBUG 1
16091 _ACEOF
16092
16093                 ;;
16094                 no)   LIBDEBUG="false" ;;
16095                 *)      { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
16096 echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
16097    { (exit 1); exit 1; }; } ;;
16098               esac
16099 else
16100   LIBDEBUG="false"
16101 fi;
16102
16103
16104 # Check whether --enable-load-library or --disable-load-library was given.
16105 if test "${enable_load_library+set}" = set; then
16106   enableval="$enable_load_library"
16107   case "${enableval}" in
16108                 yes) INIT_LOAD_LIBRARY="true" ;;
16109                 no) INIT_LOAD_LIBRARY="false" ;;
16110                 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-load-library" >&5
16111 echo "$as_me: error: bad value ${enableval} for --enable-load-library" >&2;}
16112    { (exit 1); exit 1; }; } ;;
16113               esac
16114 else
16115   INIT_LOAD_LIBRARY="true"
16116 fi;
16117
16118
16119
16120
16121 # Check whether --with-ecj-jar or --without-ecj-jar was given.
16122 if test "${with_ecj_jar+set}" = set; then
16123   withval="$with_ecj_jar"
16124   ECJ_JAR=$withval
16125 else
16126   if test -f $multi_basedir/ecj.jar; then
16127                ECJ_JAR='$(jardir)/ecj.jar'
16128              fi
16129 fi;
16130
16131
16132 # Check whether --enable-java-lang-system-explicit-initialization or --disable-java-lang-system-explicit-initialization was given.
16133 if test "${enable_java_lang_system_explicit_initialization+set}" = set; then
16134   enableval="$enable_java_lang_system_explicit_initialization"
16135   case "${enableval}" in
16136                 yes|true) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="true" ;;
16137                 no|false) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="false" ;;
16138                 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&5
16139 echo "$as_me: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&2;}
16140    { (exit 1); exit 1; }; } ;;
16141               esac
16142 else
16143   JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="false"
16144 fi;
16145
16146
16147
16148 REMOVE=""
16149
16150
16151 # Extract the first word of "mkdir", so it can be a program name with args.
16152 set dummy mkdir; ac_word=$2
16153 echo "$as_me:$LINENO: checking for $ac_word" >&5
16154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16155 if test "${ac_cv_path_MKDIR+set}" = set; then
16156   echo $ECHO_N "(cached) $ECHO_C" >&6
16157 else
16158   case $MKDIR in
16159   [\\/]* | ?:[\\/]*)
16160   ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
16161   ;;
16162   *)
16163   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16164 for as_dir in $PATH
16165 do
16166   IFS=$as_save_IFS
16167   test -z "$as_dir" && as_dir=.
16168   for ac_exec_ext in '' $ac_executable_extensions; do
16169   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16170     ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
16171     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16172     break 2
16173   fi
16174 done
16175 done
16176
16177   ;;
16178 esac
16179 fi
16180 MKDIR=$ac_cv_path_MKDIR
16181
16182 if test -n "$MKDIR"; then
16183   echo "$as_me:$LINENO: result: $MKDIR" >&5
16184 echo "${ECHO_T}$MKDIR" >&6
16185 else
16186   echo "$as_me:$LINENO: result: no" >&5
16187 echo "${ECHO_T}no" >&6
16188 fi
16189
16190 # Extract the first word of "cp", so it can be a program name with args.
16191 set dummy cp; ac_word=$2
16192 echo "$as_me:$LINENO: checking for $ac_word" >&5
16193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16194 if test "${ac_cv_path_CP+set}" = set; then
16195   echo $ECHO_N "(cached) $ECHO_C" >&6
16196 else
16197   case $CP in
16198   [\\/]* | ?:[\\/]*)
16199   ac_cv_path_CP="$CP" # Let the user override the test with a path.
16200   ;;
16201   *)
16202   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16203 for as_dir in $PATH
16204 do
16205   IFS=$as_save_IFS
16206   test -z "$as_dir" && as_dir=.
16207   for ac_exec_ext in '' $ac_executable_extensions; do
16208   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16209     ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
16210     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16211     break 2
16212   fi
16213 done
16214 done
16215
16216   ;;
16217 esac
16218 fi
16219 CP=$ac_cv_path_CP
16220
16221 if test -n "$CP"; then
16222   echo "$as_me:$LINENO: result: $CP" >&5
16223 echo "${ECHO_T}$CP" >&6
16224 else
16225   echo "$as_me:$LINENO: result: no" >&5
16226 echo "${ECHO_T}no" >&6
16227 fi
16228
16229 # Extract the first word of "date", so it can be a program name with args.
16230 set dummy date; ac_word=$2
16231 echo "$as_me:$LINENO: checking for $ac_word" >&5
16232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16233 if test "${ac_cv_path_DATE+set}" = set; then
16234   echo $ECHO_N "(cached) $ECHO_C" >&6
16235 else
16236   case $DATE in
16237   [\\/]* | ?:[\\/]*)
16238   ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
16239   ;;
16240   *)
16241   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16242 for as_dir in $PATH
16243 do
16244   IFS=$as_save_IFS
16245   test -z "$as_dir" && as_dir=.
16246   for ac_exec_ext in '' $ac_executable_extensions; do
16247   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16248     ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
16249     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16250     break 2
16251   fi
16252 done
16253 done
16254
16255   ;;
16256 esac
16257 fi
16258 DATE=$ac_cv_path_DATE
16259
16260 if test -n "$DATE"; then
16261   echo "$as_me:$LINENO: result: $DATE" >&5
16262 echo "${ECHO_T}$DATE" >&6
16263 else
16264   echo "$as_me:$LINENO: result: no" >&5
16265 echo "${ECHO_T}no" >&6
16266 fi
16267
16268
16269 # Extract the first word of "find", so it can be a program name with args.
16270 set dummy find; ac_word=$2
16271 echo "$as_me:$LINENO: checking for $ac_word" >&5
16272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16273 if test "${ac_cv_path_FIND+set}" = set; then
16274   echo $ECHO_N "(cached) $ECHO_C" >&6
16275 else
16276   case $FIND in
16277   [\\/]* | ?:[\\/]*)
16278   ac_cv_path_FIND="$FIND" # Let the user override the test with a path.
16279   ;;
16280   *)
16281   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16282 for as_dir in $PATH
16283 do
16284   IFS=$as_save_IFS
16285   test -z "$as_dir" && as_dir=.
16286   for ac_exec_ext in '' $ac_executable_extensions; do
16287   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16288     ac_cv_path_FIND="$as_dir/$ac_word$ac_exec_ext"
16289     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16290     break 2
16291   fi
16292 done
16293 done
16294
16295   ;;
16296 esac
16297 fi
16298 FIND=$ac_cv_path_FIND
16299
16300 if test -n "$FIND"; then
16301   echo "$as_me:$LINENO: result: $FIND" >&5
16302 echo "${ECHO_T}$FIND" >&6
16303 else
16304   echo "$as_me:$LINENO: result: no" >&5
16305 echo "${ECHO_T}no" >&6
16306 fi
16307
16308
16309
16310   # Extract the first word of "zip", so it can be a program name with args.
16311 set dummy zip; ac_word=$2
16312 echo "$as_me:$LINENO: checking for $ac_word" >&5
16313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16314 if test "${ac_cv_path_ZIP+set}" = set; then
16315   echo $ECHO_N "(cached) $ECHO_C" >&6
16316 else
16317   case $ZIP in
16318   [\\/]* | ?:[\\/]*)
16319   ac_cv_path_ZIP="$ZIP" # Let the user override the test with a path.
16320   ;;
16321   *)
16322   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16323 for as_dir in $PATH
16324 do
16325   IFS=$as_save_IFS
16326   test -z "$as_dir" && as_dir=.
16327   for ac_exec_ext in '' $ac_executable_extensions; do
16328   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16329     ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext"
16330     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16331     break 2
16332   fi
16333 done
16334 done
16335
16336   ;;
16337 esac
16338 fi
16339 ZIP=$ac_cv_path_ZIP
16340
16341 if test -n "$ZIP"; then
16342   echo "$as_me:$LINENO: result: $ZIP" >&5
16343 echo "${ECHO_T}$ZIP" >&6
16344 else
16345   echo "$as_me:$LINENO: result: no" >&5
16346 echo "${ECHO_T}no" >&6
16347 fi
16348
16349
16350 # Check whether --with-fastjar or --without-fastjar was given.
16351 if test "${with_fastjar+set}" = set; then
16352   withval="$with_fastjar"
16353
16354                 echo "$as_me:$LINENO: checking for user supplied fastjar" >&5
16355 echo $ECHO_N "checking for user supplied fastjar... $ECHO_C" >&6
16356                 FASTJAR=${withval}
16357                 echo "$as_me:$LINENO: result: ${FASTJAR}" >&5
16358 echo "${ECHO_T}${FASTJAR}" >&6
16359
16360 else
16361   # Extract the first word of "fastjar", so it can be a program name with args.
16362 set dummy fastjar; ac_word=$2
16363 echo "$as_me:$LINENO: checking for $ac_word" >&5
16364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16365 if test "${ac_cv_path_FASTJAR+set}" = set; then
16366   echo $ECHO_N "(cached) $ECHO_C" >&6
16367 else
16368   case $FASTJAR in
16369   [\\/]* | ?:[\\/]*)
16370   ac_cv_path_FASTJAR="$FASTJAR" # Let the user override the test with a path.
16371   ;;
16372   *)
16373   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16374 for as_dir in $PATH
16375 do
16376   IFS=$as_save_IFS
16377   test -z "$as_dir" && as_dir=.
16378   for ac_exec_ext in '' $ac_executable_extensions; do
16379   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16380     ac_cv_path_FASTJAR="$as_dir/$ac_word$ac_exec_ext"
16381     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16382     break 2
16383   fi
16384 done
16385 done
16386
16387   ;;
16388 esac
16389 fi
16390 FASTJAR=$ac_cv_path_FASTJAR
16391
16392 if test -n "$FASTJAR"; then
16393   echo "$as_me:$LINENO: result: $FASTJAR" >&5
16394 echo "${ECHO_T}$FASTJAR" >&6
16395 else
16396   echo "$as_me:$LINENO: result: no" >&5
16397 echo "${ECHO_T}no" >&6
16398 fi
16399
16400 fi;
16401   if test x"${FASTJAR}" != x; then
16402     ZIP=""
16403   fi
16404
16405
16406 # Check whether --with-glibj or --without-glibj was given.
16407 if test "${with_glibj+set}" = set; then
16408   withval="$with_glibj"
16409
16410                 if test "x${withval}" = xyes || test "x${withval}" = xzip; then
16411                   install_class_files=no
16412                   build_class_files=yes
16413                   use_zip=yes
16414                 elif test "x${withval}" = xboth; then
16415                   install_class_files=yes
16416                   build_class_files=yes
16417                   use_zip=yes
16418                 elif test "x${withval}" = xflat; then
16419                   install_class_files=yes
16420                   build_class_files=yes
16421                   use_zip=no
16422                 elif test "x${withval}" = xno || test "x${withval}" = xnone; then
16423                   install_class_files=no
16424                   build_class_files=no
16425                   use_zip=no
16426                 elif test "x${withval}" = xbuild; then
16427                   install_class_files=no
16428                   build_class_files=yes
16429                   use_zip=no
16430                 else
16431                   { { echo "$as_me:$LINENO: error: unknown value given to --with-glibj" >&5
16432 echo "$as_me: error: unknown value given to --with-glibj" >&2;}
16433    { (exit 1); exit 1; }; }
16434                 fi
16435
16436 else
16437
16438                 install_class_files=no
16439                 use_zip=yes
16440
16441 fi;
16442
16443
16444 if test "x${use_zip}" = xyes; then
16445   INSTALL_GLIBJ_ZIP_TRUE=
16446   INSTALL_GLIBJ_ZIP_FALSE='#'
16447 else
16448   INSTALL_GLIBJ_ZIP_TRUE='#'
16449   INSTALL_GLIBJ_ZIP_FALSE=
16450 fi
16451
16452
16453
16454 if test "x${install_class_files}" = xyes; then
16455   INSTALL_CLASS_FILES_TRUE=
16456   INSTALL_CLASS_FILES_FALSE='#'
16457 else
16458   INSTALL_CLASS_FILES_TRUE='#'
16459   INSTALL_CLASS_FILES_FALSE=
16460 fi
16461
16462
16463
16464 if test "x${build_class_files}" = xyes; then
16465   BUILD_CLASS_FILES_TRUE=
16466   BUILD_CLASS_FILES_FALSE='#'
16467 else
16468   BUILD_CLASS_FILES_TRUE='#'
16469   BUILD_CLASS_FILES_FALSE=
16470 fi
16471
16472
16473   # Check whether --enable-examples or --disable-examples was given.
16474 if test "${enable_examples+set}" = set; then
16475   enableval="$enable_examples"
16476   case "${enableval}" in
16477                   yes) EXAMPLESDIR="examples" ;;
16478                   no) EXAMPLESDIR="" ;;
16479                   *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-examples" >&5
16480 echo "$as_me: error: bad value ${enableval} for --enable-examples" >&2;}
16481    { (exit 1); exit 1; }; } ;;
16482                 esac
16483 else
16484   EXAMPLESDIR="examples"
16485 fi;
16486   if test "x${use_zip}" = xno && test "x${install_class_files}" = xno; then
16487     EXAMPLESDIR=""
16488   fi
16489
16490
16491
16492
16493
16494 # Check whether --with-gjdoc or --without-gjdoc was given.
16495 if test "${with_gjdoc+set}" = set; then
16496   withval="$with_gjdoc"
16497   if test "x${withval}" = xno; then
16498                  WITH_GJDOC=no;
16499                elif test "x${withval}" = xyes -o "x{withval}" = x; then
16500                  WITH_GJDOC=yes;
16501                  # Extract the first word of "gjdoc", so it can be a program name with args.
16502 set dummy gjdoc; ac_word=$2
16503 echo "$as_me:$LINENO: checking for $ac_word" >&5
16504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16505 if test "${ac_cv_path_GJDOC+set}" = set; then
16506   echo $ECHO_N "(cached) $ECHO_C" >&6
16507 else
16508   case $GJDOC in
16509   [\\/]* | ?:[\\/]*)
16510   ac_cv_path_GJDOC="$GJDOC" # Let the user override the test with a path.
16511   ;;
16512   *)
16513   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16514 for as_dir in $PATH
16515 do
16516   IFS=$as_save_IFS
16517   test -z "$as_dir" && as_dir=.
16518   for ac_exec_ext in '' $ac_executable_extensions; do
16519   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16520     ac_cv_path_GJDOC="$as_dir/$ac_word$ac_exec_ext"
16521     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16522     break 2
16523   fi
16524 done
16525 done
16526
16527   test -z "$ac_cv_path_GJDOC" && ac_cv_path_GJDOC=""no""
16528   ;;
16529 esac
16530 fi
16531 GJDOC=$ac_cv_path_GJDOC
16532
16533 if test -n "$GJDOC"; then
16534   echo "$as_me:$LINENO: result: $GJDOC" >&5
16535 echo "${ECHO_T}$GJDOC" >&6
16536 else
16537   echo "$as_me:$LINENO: result: no" >&5
16538 echo "${ECHO_T}no" >&6
16539 fi
16540
16541                  if test "x${GJDOC}" = xno; then
16542                    { { echo "$as_me:$LINENO: error: \"gjdoc executable not found\"" >&5
16543 echo "$as_me: error: \"gjdoc executable not found\"" >&2;}
16544    { (exit 1); exit 1; }; };
16545                  fi
16546                else
16547                  WITH_GJDOC=yes
16548                  GJDOC="${withval}"
16549                  as_ac_File=`echo "ac_cv_file_${GJDOC}" | $as_tr_sh`
16550 echo "$as_me:$LINENO: checking for ${GJDOC}" >&5
16551 echo $ECHO_N "checking for ${GJDOC}... $ECHO_C" >&6
16552 if eval "test \"\${$as_ac_File+set}\" = set"; then
16553   echo $ECHO_N "(cached) $ECHO_C" >&6
16554 else
16555   test "$cross_compiling" = yes &&
16556   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
16557 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
16558    { (exit 1); exit 1; }; }
16559 if test -r "${GJDOC}"; then
16560   eval "$as_ac_File=yes"
16561 else
16562   eval "$as_ac_File=no"
16563 fi
16564 fi
16565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
16566 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
16567 if test `eval echo '${'$as_ac_File'}'` = yes; then
16568   :
16569 else
16570   { { echo "$as_me:$LINENO: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&5
16571 echo "$as_me: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&2;}
16572    { (exit 1); exit 1; }; }
16573 fi
16574
16575                fi
16576 else
16577   WITH_GJDOC=no
16578 fi;
16579
16580
16581
16582 if test "x${WITH_GJDOC}" = xyes; then
16583   CREATE_API_DOCS_TRUE=
16584   CREATE_API_DOCS_FALSE='#'
16585 else
16586   CREATE_API_DOCS_TRUE='#'
16587   CREATE_API_DOCS_FALSE=
16588 fi
16589
16590
16591
16592
16593
16594 # Check whether --with-jay or --without-jay was given.
16595 if test "${with_jay+set}" = set; then
16596   withval="$with_jay"
16597
16598     if test -d "${withval}"; then
16599       JAY_DIR_PATH="${withval}"
16600       # Extract the first word of "jay", so it can be a program name with args.
16601 set dummy jay; ac_word=$2
16602 echo "$as_me:$LINENO: checking for $ac_word" >&5
16603 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16604 if test "${ac_cv_path_JAY+set}" = set; then
16605   echo $ECHO_N "(cached) $ECHO_C" >&6
16606 else
16607   case $JAY in
16608   [\\/]* | ?:[\\/]*)
16609   ac_cv_path_JAY="$JAY" # Let the user override the test with a path.
16610   ;;
16611   *)
16612   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16613 for as_dir in ${JAY_DIR_PATH}
16614 do
16615   IFS=$as_save_IFS
16616   test -z "$as_dir" && as_dir=.
16617   for ac_exec_ext in '' $ac_executable_extensions; do
16618   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16619     ac_cv_path_JAY="$as_dir/$ac_word$ac_exec_ext"
16620     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16621     break 2
16622   fi
16623 done
16624 done
16625
16626   test -z "$ac_cv_path_JAY" && ac_cv_path_JAY=""no""
16627   ;;
16628 esac
16629 fi
16630 JAY=$ac_cv_path_JAY
16631
16632 if test -n "$JAY"; then
16633   echo "$as_me:$LINENO: result: $JAY" >&5
16634 echo "${ECHO_T}$JAY" >&6
16635 else
16636   echo "$as_me:$LINENO: result: no" >&5
16637 echo "${ECHO_T}no" >&6
16638 fi
16639
16640       if test "x${JAY}" = xno; then
16641         { { echo "$as_me:$LINENO: error: \"jay executable not found\"" >&5
16642 echo "$as_me: error: \"jay executable not found\"" >&2;}
16643    { (exit 1); exit 1; }; };
16644       fi
16645     else
16646       JAY_DIR_PATH=`dirname "${withval}"`
16647       JAY="${withval}"
16648
16649     fi
16650     JAY_SKELETON="${JAY_DIR_PATH}/skeleton"
16651     as_ac_File=`echo "ac_cv_file_${JAY_SKELETON}" | $as_tr_sh`
16652 echo "$as_me:$LINENO: checking for ${JAY_SKELETON}" >&5
16653 echo $ECHO_N "checking for ${JAY_SKELETON}... $ECHO_C" >&6
16654 if eval "test \"\${$as_ac_File+set}\" = set"; then
16655   echo $ECHO_N "(cached) $ECHO_C" >&6
16656 else
16657   test "$cross_compiling" = yes &&
16658   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
16659 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
16660    { (exit 1); exit 1; }; }
16661 if test -r "${JAY_SKELETON}"; then
16662   eval "$as_ac_File=yes"
16663 else
16664   eval "$as_ac_File=no"
16665 fi
16666 fi
16667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
16668 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
16669 if test `eval echo '${'$as_ac_File'}'` = yes; then
16670   :
16671 else
16672   { { echo "$as_me:$LINENO: error: \"Expected skeleton file in \`dirname ${withval}\`\"" >&5
16673 echo "$as_me: error: \"Expected skeleton file in \`dirname ${withval}\`\"" >&2;}
16674    { (exit 1); exit 1; }; }
16675 fi
16676
16677     JAY_FOUND=yes
16678
16679 else
16680
16681     JAY_FOUND=no
16682
16683 fi;
16684
16685
16686 if test "x${JAY_FOUND}" = xyes; then
16687   REGEN_PARSERS_TRUE=
16688   REGEN_PARSERS_FALSE='#'
16689 else
16690   REGEN_PARSERS_TRUE='#'
16691   REGEN_PARSERS_FALSE=
16692 fi
16693
16694
16695
16696 # Check whether --enable-portable-native-sync or --disable-portable-native-sync was given.
16697 if test "${enable_portable_native_sync+set}" = set; then
16698   enableval="$enable_portable_native_sync"
16699   case "${enableval}" in
16700                 yes)
16701
16702 cat >>confdefs.h <<\_ACEOF
16703 #define PORTABLE_NATIVE_SYNC 1
16704 _ACEOF
16705
16706                      ;;
16707                 no)  ;;
16708                 *)
16709                      { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-portable-native-sync" >&5
16710 echo "$as_me: error: bad value ${enableval} for --enable-portable-native-sync" >&2;}
16711    { (exit 1); exit 1; }; }
16712                      ;;
16713               esac
16714 fi;
16715
16716 # ------ AX CREATE STDINT H -------------------------------------
16717 echo "$as_me:$LINENO: checking for stdint types" >&5
16718 echo $ECHO_N "checking for stdint types... $ECHO_C" >&6
16719 ac_stdint_h=`echo include/config-int.h`
16720 # try to shortcircuit - if the default include path of the compiler
16721 # can find a "stdint.h" header then we assume that all compilers can.
16722 if test "${ac_cv_header_stdint_t+set}" = set; then
16723   echo $ECHO_N "(cached) $ECHO_C" >&6
16724 else
16725
16726 old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS=""
16727 old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS=""
16728 old_CFLAGS="$CFLAGS"     ; CFLAGS=""
16729 cat >conftest.$ac_ext <<_ACEOF
16730 /* confdefs.h.  */
16731 _ACEOF
16732 cat confdefs.h >>conftest.$ac_ext
16733 cat >>conftest.$ac_ext <<_ACEOF
16734 /* end confdefs.h.  */
16735 #include <stdint.h>
16736 int
16737 main ()
16738 {
16739 int_least32_t v = 0;
16740   ;
16741   return 0;
16742 }
16743 _ACEOF
16744 rm -f conftest.$ac_objext
16745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16746   (eval $ac_compile) 2>conftest.er1
16747   ac_status=$?
16748   grep -v '^ *+' conftest.er1 >conftest.err
16749   rm -f conftest.er1
16750   cat conftest.err >&5
16751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16752   (exit $ac_status); } &&
16753          { ac_try='test -z "$ac_c_werror_flag"
16754                          || test ! -s conftest.err'
16755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16756   (eval $ac_try) 2>&5
16757   ac_status=$?
16758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16759   (exit $ac_status); }; } &&
16760          { ac_try='test -s conftest.$ac_objext'
16761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16762   (eval $ac_try) 2>&5
16763   ac_status=$?
16764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16765   (exit $ac_status); }; }; then
16766   ac_cv_stdint_result="(assuming C99 compatible system)"
16767  ac_cv_header_stdint_t="stdint.h";
16768 else
16769   echo "$as_me: failed program was:" >&5
16770 sed 's/^/| /' conftest.$ac_ext >&5
16771
16772 ac_cv_header_stdint_t=""
16773 fi
16774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16775 CXXFLAGS="$old_CXXFLAGS"
16776 CPPFLAGS="$old_CPPFLAGS"
16777 CFLAGS="$old_CFLAGS"
16778 fi
16779
16780
16781 v="... $ac_cv_header_stdint_h"
16782 if test "$ac_stdint_h" = "stdint.h" ; then
16783  echo "$as_me:$LINENO: result: (are you sure you want them in ./stdint.h?)" >&5
16784 echo "${ECHO_T}(are you sure you want them in ./stdint.h?)" >&6
16785 elif test "$ac_stdint_h" = "inttypes.h" ; then
16786  echo "$as_me:$LINENO: result: (are you sure you want them in ./inttypes.h?)" >&5
16787 echo "${ECHO_T}(are you sure you want them in ./inttypes.h?)" >&6
16788 elif test "_$ac_cv_header_stdint_t" = "_" ; then
16789  echo "$as_me:$LINENO: result: (putting them into $ac_stdint_h)$v" >&5
16790 echo "${ECHO_T}(putting them into $ac_stdint_h)$v" >&6
16791 else
16792  ac_cv_header_stdint="$ac_cv_header_stdint_t"
16793  echo "$as_me:$LINENO: result: $ac_cv_header_stdint (shortcircuit)" >&5
16794 echo "${ECHO_T}$ac_cv_header_stdint (shortcircuit)" >&6
16795 fi
16796
16797 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
16798
16799
16800 inttype_headers=`echo  | sed -e 's/,/ /g'`
16801
16802 ac_cv_stdint_result="(no helpful system typedefs seen)"
16803
16804 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
16805 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
16806 if test "${ac_cv_header_stdint_x+set}" = set; then
16807   echo $ECHO_N "(cached) $ECHO_C" >&6
16808 else
16809
16810  ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
16811   echo "$as_me:$LINENO: result: (..)" >&5
16812 echo "${ECHO_T}(..)" >&6
16813   for i in    stdint.h inttypes.h sys/inttypes.h $inttype_headers ; do
16814    unset ac_cv_type_uintptr_t
16815    unset ac_cv_type_uint64_t
16816    echo "$as_me:$LINENO: checking for uintptr_t" >&5
16817 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
16818 if test "${ac_cv_type_uintptr_t+set}" = set; then
16819   echo $ECHO_N "(cached) $ECHO_C" >&6
16820 else
16821   cat >conftest.$ac_ext <<_ACEOF
16822 /* confdefs.h.  */
16823 _ACEOF
16824 cat confdefs.h >>conftest.$ac_ext
16825 cat >>conftest.$ac_ext <<_ACEOF
16826 /* end confdefs.h.  */
16827 #include <$i>
16828
16829 int
16830 main ()
16831 {
16832 if ((uintptr_t *) 0)
16833   return 0;
16834 if (sizeof (uintptr_t))
16835   return 0;
16836   ;
16837   return 0;
16838 }
16839 _ACEOF
16840 rm -f conftest.$ac_objext
16841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16842   (eval $ac_compile) 2>conftest.er1
16843   ac_status=$?
16844   grep -v '^ *+' conftest.er1 >conftest.err
16845   rm -f conftest.er1
16846   cat conftest.err >&5
16847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16848   (exit $ac_status); } &&
16849          { ac_try='test -z "$ac_c_werror_flag"
16850                          || test ! -s conftest.err'
16851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16852   (eval $ac_try) 2>&5
16853   ac_status=$?
16854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16855   (exit $ac_status); }; } &&
16856          { ac_try='test -s conftest.$ac_objext'
16857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16858   (eval $ac_try) 2>&5
16859   ac_status=$?
16860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16861   (exit $ac_status); }; }; then
16862   ac_cv_type_uintptr_t=yes
16863 else
16864   echo "$as_me: failed program was:" >&5
16865 sed 's/^/| /' conftest.$ac_ext >&5
16866
16867 ac_cv_type_uintptr_t=no
16868 fi
16869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16870 fi
16871 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
16872 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
16873 if test $ac_cv_type_uintptr_t = yes; then
16874   ac_cv_header_stdint_x=$i
16875 else
16876   continue
16877 fi
16878
16879    echo "$as_me:$LINENO: checking for uint64_t" >&5
16880 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
16881 if test "${ac_cv_type_uint64_t+set}" = set; then
16882   echo $ECHO_N "(cached) $ECHO_C" >&6
16883 else
16884   cat >conftest.$ac_ext <<_ACEOF
16885 /* confdefs.h.  */
16886 _ACEOF
16887 cat confdefs.h >>conftest.$ac_ext
16888 cat >>conftest.$ac_ext <<_ACEOF
16889 /* end confdefs.h.  */
16890 #include<$i>
16891
16892 int
16893 main ()
16894 {
16895 if ((uint64_t *) 0)
16896   return 0;
16897 if (sizeof (uint64_t))
16898   return 0;
16899   ;
16900   return 0;
16901 }
16902 _ACEOF
16903 rm -f conftest.$ac_objext
16904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16905   (eval $ac_compile) 2>conftest.er1
16906   ac_status=$?
16907   grep -v '^ *+' conftest.er1 >conftest.err
16908   rm -f conftest.er1
16909   cat conftest.err >&5
16910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16911   (exit $ac_status); } &&
16912          { ac_try='test -z "$ac_c_werror_flag"
16913                          || test ! -s conftest.err'
16914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16915   (eval $ac_try) 2>&5
16916   ac_status=$?
16917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16918   (exit $ac_status); }; } &&
16919          { ac_try='test -s conftest.$ac_objext'
16920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16921   (eval $ac_try) 2>&5
16922   ac_status=$?
16923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16924   (exit $ac_status); }; }; then
16925   ac_cv_type_uint64_t=yes
16926 else
16927   echo "$as_me: failed program was:" >&5
16928 sed 's/^/| /' conftest.$ac_ext >&5
16929
16930 ac_cv_type_uint64_t=no
16931 fi
16932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16933 fi
16934 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
16935 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
16936 if test $ac_cv_type_uint64_t = yes; then
16937   and64="/uint64_t"
16938 else
16939   and64=""
16940 fi
16941
16942       stdint.h inttypes.h sys/inttypes.h $inttype_headers
16943  break
16944   done
16945   echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
16946 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
16947
16948 fi
16949 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_x" >&5
16950 echo "${ECHO_T}$ac_cv_header_stdint_x" >&6
16951
16952
16953 if test "_$ac_cv_header_stdint_x" = "_" ; then
16954
16955 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
16956 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
16957 if test "${ac_cv_header_stdint_o+set}" = set; then
16958   echo $ECHO_N "(cached) $ECHO_C" >&6
16959 else
16960
16961  ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
16962   echo "$as_me:$LINENO: result: (..)" >&5
16963 echo "${ECHO_T}(..)" >&6
16964   for i in    inttypes.h sys/inttypes.h stdint.h $inttype_headers ; do
16965    unset ac_cv_type_uint32_t
16966    unset ac_cv_type_uint64_t
16967    echo "$as_me:$LINENO: checking for uint32_t" >&5
16968 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
16969 if test "${ac_cv_type_uint32_t+set}" = set; then
16970   echo $ECHO_N "(cached) $ECHO_C" >&6
16971 else
16972   cat >conftest.$ac_ext <<_ACEOF
16973 /* confdefs.h.  */
16974 _ACEOF
16975 cat confdefs.h >>conftest.$ac_ext
16976 cat >>conftest.$ac_ext <<_ACEOF
16977 /* end confdefs.h.  */
16978 #include <$i>
16979
16980 int
16981 main ()
16982 {
16983 if ((uint32_t *) 0)
16984   return 0;
16985 if (sizeof (uint32_t))
16986   return 0;
16987   ;
16988   return 0;
16989 }
16990 _ACEOF
16991 rm -f conftest.$ac_objext
16992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16993   (eval $ac_compile) 2>conftest.er1
16994   ac_status=$?
16995   grep -v '^ *+' conftest.er1 >conftest.err
16996   rm -f conftest.er1
16997   cat conftest.err >&5
16998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16999   (exit $ac_status); } &&
17000          { ac_try='test -z "$ac_c_werror_flag"
17001                          || test ! -s conftest.err'
17002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17003   (eval $ac_try) 2>&5
17004   ac_status=$?
17005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17006   (exit $ac_status); }; } &&
17007          { ac_try='test -s conftest.$ac_objext'
17008   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17009   (eval $ac_try) 2>&5
17010   ac_status=$?
17011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17012   (exit $ac_status); }; }; then
17013   ac_cv_type_uint32_t=yes
17014 else
17015   echo "$as_me: failed program was:" >&5
17016 sed 's/^/| /' conftest.$ac_ext >&5
17017
17018 ac_cv_type_uint32_t=no
17019 fi
17020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17021 fi
17022 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
17023 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
17024 if test $ac_cv_type_uint32_t = yes; then
17025   ac_cv_header_stdint_o=$i
17026 else
17027   continue
17028 fi
17029
17030    echo "$as_me:$LINENO: checking for uint64_t" >&5
17031 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
17032 if test "${ac_cv_type_uint64_t+set}" = set; then
17033   echo $ECHO_N "(cached) $ECHO_C" >&6
17034 else
17035   cat >conftest.$ac_ext <<_ACEOF
17036 /* confdefs.h.  */
17037 _ACEOF
17038 cat confdefs.h >>conftest.$ac_ext
17039 cat >>conftest.$ac_ext <<_ACEOF
17040 /* end confdefs.h.  */
17041 #include<$i>
17042
17043 int
17044 main ()
17045 {
17046 if ((uint64_t *) 0)
17047   return 0;
17048 if (sizeof (uint64_t))
17049   return 0;
17050   ;
17051   return 0;
17052 }
17053 _ACEOF
17054 rm -f conftest.$ac_objext
17055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17056   (eval $ac_compile) 2>conftest.er1
17057   ac_status=$?
17058   grep -v '^ *+' conftest.er1 >conftest.err
17059   rm -f conftest.er1
17060   cat conftest.err >&5
17061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17062   (exit $ac_status); } &&
17063          { ac_try='test -z "$ac_c_werror_flag"
17064                          || test ! -s conftest.err'
17065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17066   (eval $ac_try) 2>&5
17067   ac_status=$?
17068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17069   (exit $ac_status); }; } &&
17070          { ac_try='test -s conftest.$ac_objext'
17071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17072   (eval $ac_try) 2>&5
17073   ac_status=$?
17074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17075   (exit $ac_status); }; }; then
17076   ac_cv_type_uint64_t=yes
17077 else
17078   echo "$as_me: failed program was:" >&5
17079 sed 's/^/| /' conftest.$ac_ext >&5
17080
17081 ac_cv_type_uint64_t=no
17082 fi
17083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17084 fi
17085 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
17086 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
17087 if test $ac_cv_type_uint64_t = yes; then
17088   and64="/uint64_t"
17089 else
17090   and64=""
17091 fi
17092
17093       inttypes.h sys/inttypes.h stdint.h $inttype_headers
17094  break
17095    break;
17096   done
17097   echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
17098 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
17099
17100 fi
17101 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_o" >&5
17102 echo "${ECHO_T}$ac_cv_header_stdint_o" >&6
17103
17104 fi
17105
17106 if test "_$ac_cv_header_stdint_x" = "_" ; then
17107 if test "_$ac_cv_header_stdint_o" = "_" ; then
17108
17109 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
17110 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
17111 if test "${ac_cv_header_stdint_u+set}" = set; then
17112   echo $ECHO_N "(cached) $ECHO_C" >&6
17113 else
17114
17115  ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
17116   echo "$as_me:$LINENO: result: (..)" >&5
17117 echo "${ECHO_T}(..)" >&6
17118   for i in    sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do
17119    unset ac_cv_type_u_int32_t
17120    unset ac_cv_type_u_int64_t
17121    echo "$as_me:$LINENO: checking for u_int32_t" >&5
17122 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
17123 if test "${ac_cv_type_u_int32_t+set}" = set; then
17124   echo $ECHO_N "(cached) $ECHO_C" >&6
17125 else
17126   cat >conftest.$ac_ext <<_ACEOF
17127 /* confdefs.h.  */
17128 _ACEOF
17129 cat confdefs.h >>conftest.$ac_ext
17130 cat >>conftest.$ac_ext <<_ACEOF
17131 /* end confdefs.h.  */
17132 #include <$i>
17133
17134 int
17135 main ()
17136 {
17137 if ((u_int32_t *) 0)
17138   return 0;
17139 if (sizeof (u_int32_t))
17140   return 0;
17141   ;
17142   return 0;
17143 }
17144 _ACEOF
17145 rm -f conftest.$ac_objext
17146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17147   (eval $ac_compile) 2>conftest.er1
17148   ac_status=$?
17149   grep -v '^ *+' conftest.er1 >conftest.err
17150   rm -f conftest.er1
17151   cat conftest.err >&5
17152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17153   (exit $ac_status); } &&
17154          { ac_try='test -z "$ac_c_werror_flag"
17155                          || test ! -s conftest.err'
17156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17157   (eval $ac_try) 2>&5
17158   ac_status=$?
17159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17160   (exit $ac_status); }; } &&
17161          { ac_try='test -s conftest.$ac_objext'
17162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17163   (eval $ac_try) 2>&5
17164   ac_status=$?
17165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17166   (exit $ac_status); }; }; then
17167   ac_cv_type_u_int32_t=yes
17168 else
17169   echo "$as_me: failed program was:" >&5
17170 sed 's/^/| /' conftest.$ac_ext >&5
17171
17172 ac_cv_type_u_int32_t=no
17173 fi
17174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17175 fi
17176 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
17177 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
17178 if test $ac_cv_type_u_int32_t = yes; then
17179   ac_cv_header_stdint_u=$i
17180 else
17181   continue
17182 fi
17183
17184    echo "$as_me:$LINENO: checking for u_int64_t" >&5
17185 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
17186 if test "${ac_cv_type_u_int64_t+set}" = set; then
17187   echo $ECHO_N "(cached) $ECHO_C" >&6
17188 else
17189   cat >conftest.$ac_ext <<_ACEOF
17190 /* confdefs.h.  */
17191 _ACEOF
17192 cat confdefs.h >>conftest.$ac_ext
17193 cat >>conftest.$ac_ext <<_ACEOF
17194 /* end confdefs.h.  */
17195 #include<$i>
17196
17197 int
17198 main ()
17199 {
17200 if ((u_int64_t *) 0)
17201   return 0;
17202 if (sizeof (u_int64_t))
17203   return 0;
17204   ;
17205   return 0;
17206 }
17207 _ACEOF
17208 rm -f conftest.$ac_objext
17209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17210   (eval $ac_compile) 2>conftest.er1
17211   ac_status=$?
17212   grep -v '^ *+' conftest.er1 >conftest.err
17213   rm -f conftest.er1
17214   cat conftest.err >&5
17215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17216   (exit $ac_status); } &&
17217          { ac_try='test -z "$ac_c_werror_flag"
17218                          || test ! -s conftest.err'
17219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17220   (eval $ac_try) 2>&5
17221   ac_status=$?
17222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17223   (exit $ac_status); }; } &&
17224          { ac_try='test -s conftest.$ac_objext'
17225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17226   (eval $ac_try) 2>&5
17227   ac_status=$?
17228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17229   (exit $ac_status); }; }; then
17230   ac_cv_type_u_int64_t=yes
17231 else
17232   echo "$as_me: failed program was:" >&5
17233 sed 's/^/| /' conftest.$ac_ext >&5
17234
17235 ac_cv_type_u_int64_t=no
17236 fi
17237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17238 fi
17239 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
17240 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
17241 if test $ac_cv_type_u_int64_t = yes; then
17242   and64="/u_int64_t"
17243 else
17244   and64=""
17245 fi
17246
17247       sys/types.h inttypes.h sys/inttypes.h $inttype_headers
17248  break
17249    break;
17250   done
17251   echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
17252 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
17253
17254 fi
17255 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_u" >&5
17256 echo "${ECHO_T}$ac_cv_header_stdint_u" >&6
17257
17258 fi fi
17259
17260 if test "_$ac_cv_header_stdint_x" = "_" ; then
17261    echo "$as_me:$LINENO: checking for stdint datatype model" >&5
17262 echo $ECHO_N "checking for stdint datatype model... $ECHO_C" >&6
17263    echo "$as_me:$LINENO: result: (..)" >&5
17264 echo "${ECHO_T}(..)" >&6
17265
17266    echo "$as_me:$LINENO: checking for char" >&5
17267 echo $ECHO_N "checking for char... $ECHO_C" >&6
17268 if test "${ac_cv_type_char+set}" = set; then
17269   echo $ECHO_N "(cached) $ECHO_C" >&6
17270 else
17271   cat >conftest.$ac_ext <<_ACEOF
17272 /* confdefs.h.  */
17273 _ACEOF
17274 cat confdefs.h >>conftest.$ac_ext
17275 cat >>conftest.$ac_ext <<_ACEOF
17276 /* end confdefs.h.  */
17277 $ac_includes_default
17278 int
17279 main ()
17280 {
17281 if ((char *) 0)
17282   return 0;
17283 if (sizeof (char))
17284   return 0;
17285   ;
17286   return 0;
17287 }
17288 _ACEOF
17289 rm -f conftest.$ac_objext
17290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17291   (eval $ac_compile) 2>conftest.er1
17292   ac_status=$?
17293   grep -v '^ *+' conftest.er1 >conftest.err
17294   rm -f conftest.er1
17295   cat conftest.err >&5
17296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17297   (exit $ac_status); } &&
17298          { ac_try='test -z "$ac_c_werror_flag"
17299                          || test ! -s conftest.err'
17300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17301   (eval $ac_try) 2>&5
17302   ac_status=$?
17303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17304   (exit $ac_status); }; } &&
17305          { ac_try='test -s conftest.$ac_objext'
17306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17307   (eval $ac_try) 2>&5
17308   ac_status=$?
17309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17310   (exit $ac_status); }; }; then
17311   ac_cv_type_char=yes
17312 else
17313   echo "$as_me: failed program was:" >&5
17314 sed 's/^/| /' conftest.$ac_ext >&5
17315
17316 ac_cv_type_char=no
17317 fi
17318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17319 fi
17320 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17321 echo "${ECHO_T}$ac_cv_type_char" >&6
17322
17323 echo "$as_me:$LINENO: checking size of char" >&5
17324 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17325 if test "${ac_cv_sizeof_char+set}" = set; then
17326   echo $ECHO_N "(cached) $ECHO_C" >&6
17327 else
17328   if test "$ac_cv_type_char" = yes; then
17329   # The cast to unsigned long works around a bug in the HP C Compiler
17330   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17331   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17332   # This bug is HP SR number 8606223364.
17333   if test "$cross_compiling" = yes; then
17334   # Depending upon the size, compute the lo and hi bounds.
17335 cat >conftest.$ac_ext <<_ACEOF
17336 /* confdefs.h.  */
17337 _ACEOF
17338 cat confdefs.h >>conftest.$ac_ext
17339 cat >>conftest.$ac_ext <<_ACEOF
17340 /* end confdefs.h.  */
17341 $ac_includes_default
17342 int
17343 main ()
17344 {
17345 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17346 test_array [0] = 0
17347
17348   ;
17349   return 0;
17350 }
17351 _ACEOF
17352 rm -f conftest.$ac_objext
17353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17354   (eval $ac_compile) 2>conftest.er1
17355   ac_status=$?
17356   grep -v '^ *+' conftest.er1 >conftest.err
17357   rm -f conftest.er1
17358   cat conftest.err >&5
17359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17360   (exit $ac_status); } &&
17361          { ac_try='test -z "$ac_c_werror_flag"
17362                          || test ! -s conftest.err'
17363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17364   (eval $ac_try) 2>&5
17365   ac_status=$?
17366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17367   (exit $ac_status); }; } &&
17368          { ac_try='test -s conftest.$ac_objext'
17369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17370   (eval $ac_try) 2>&5
17371   ac_status=$?
17372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17373   (exit $ac_status); }; }; then
17374   ac_lo=0 ac_mid=0
17375   while :; do
17376     cat >conftest.$ac_ext <<_ACEOF
17377 /* confdefs.h.  */
17378 _ACEOF
17379 cat confdefs.h >>conftest.$ac_ext
17380 cat >>conftest.$ac_ext <<_ACEOF
17381 /* end confdefs.h.  */
17382 $ac_includes_default
17383 int
17384 main ()
17385 {
17386 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17387 test_array [0] = 0
17388
17389   ;
17390   return 0;
17391 }
17392 _ACEOF
17393 rm -f conftest.$ac_objext
17394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17395   (eval $ac_compile) 2>conftest.er1
17396   ac_status=$?
17397   grep -v '^ *+' conftest.er1 >conftest.err
17398   rm -f conftest.er1
17399   cat conftest.err >&5
17400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17401   (exit $ac_status); } &&
17402          { ac_try='test -z "$ac_c_werror_flag"
17403                          || test ! -s conftest.err'
17404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17405   (eval $ac_try) 2>&5
17406   ac_status=$?
17407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17408   (exit $ac_status); }; } &&
17409          { ac_try='test -s conftest.$ac_objext'
17410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17411   (eval $ac_try) 2>&5
17412   ac_status=$?
17413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17414   (exit $ac_status); }; }; then
17415   ac_hi=$ac_mid; break
17416 else
17417   echo "$as_me: failed program was:" >&5
17418 sed 's/^/| /' conftest.$ac_ext >&5
17419
17420 ac_lo=`expr $ac_mid + 1`
17421                     if test $ac_lo -le $ac_mid; then
17422                       ac_lo= ac_hi=
17423                       break
17424                     fi
17425                     ac_mid=`expr 2 '*' $ac_mid + 1`
17426 fi
17427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17428   done
17429 else
17430   echo "$as_me: failed program was:" >&5
17431 sed 's/^/| /' conftest.$ac_ext >&5
17432
17433 cat >conftest.$ac_ext <<_ACEOF
17434 /* confdefs.h.  */
17435 _ACEOF
17436 cat confdefs.h >>conftest.$ac_ext
17437 cat >>conftest.$ac_ext <<_ACEOF
17438 /* end confdefs.h.  */
17439 $ac_includes_default
17440 int
17441 main ()
17442 {
17443 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17444 test_array [0] = 0
17445
17446   ;
17447   return 0;
17448 }
17449 _ACEOF
17450 rm -f conftest.$ac_objext
17451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17452   (eval $ac_compile) 2>conftest.er1
17453   ac_status=$?
17454   grep -v '^ *+' conftest.er1 >conftest.err
17455   rm -f conftest.er1
17456   cat conftest.err >&5
17457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17458   (exit $ac_status); } &&
17459          { ac_try='test -z "$ac_c_werror_flag"
17460                          || test ! -s conftest.err'
17461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17462   (eval $ac_try) 2>&5
17463   ac_status=$?
17464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17465   (exit $ac_status); }; } &&
17466          { ac_try='test -s conftest.$ac_objext'
17467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17468   (eval $ac_try) 2>&5
17469   ac_status=$?
17470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17471   (exit $ac_status); }; }; then
17472   ac_hi=-1 ac_mid=-1
17473   while :; do
17474     cat >conftest.$ac_ext <<_ACEOF
17475 /* confdefs.h.  */
17476 _ACEOF
17477 cat confdefs.h >>conftest.$ac_ext
17478 cat >>conftest.$ac_ext <<_ACEOF
17479 /* end confdefs.h.  */
17480 $ac_includes_default
17481 int
17482 main ()
17483 {
17484 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17485 test_array [0] = 0
17486
17487   ;
17488   return 0;
17489 }
17490 _ACEOF
17491 rm -f conftest.$ac_objext
17492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17493   (eval $ac_compile) 2>conftest.er1
17494   ac_status=$?
17495   grep -v '^ *+' conftest.er1 >conftest.err
17496   rm -f conftest.er1
17497   cat conftest.err >&5
17498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17499   (exit $ac_status); } &&
17500          { ac_try='test -z "$ac_c_werror_flag"
17501                          || test ! -s conftest.err'
17502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17503   (eval $ac_try) 2>&5
17504   ac_status=$?
17505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17506   (exit $ac_status); }; } &&
17507          { ac_try='test -s conftest.$ac_objext'
17508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17509   (eval $ac_try) 2>&5
17510   ac_status=$?
17511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17512   (exit $ac_status); }; }; then
17513   ac_lo=$ac_mid; break
17514 else
17515   echo "$as_me: failed program was:" >&5
17516 sed 's/^/| /' conftest.$ac_ext >&5
17517
17518 ac_hi=`expr '(' $ac_mid ')' - 1`
17519                        if test $ac_mid -le $ac_hi; then
17520                          ac_lo= ac_hi=
17521                          break
17522                        fi
17523                        ac_mid=`expr 2 '*' $ac_mid`
17524 fi
17525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17526   done
17527 else
17528   echo "$as_me: failed program was:" >&5
17529 sed 's/^/| /' conftest.$ac_ext >&5
17530
17531 ac_lo= ac_hi=
17532 fi
17533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17534 fi
17535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17536 # Binary search between lo and hi bounds.
17537 while test "x$ac_lo" != "x$ac_hi"; do
17538   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17539   cat >conftest.$ac_ext <<_ACEOF
17540 /* confdefs.h.  */
17541 _ACEOF
17542 cat confdefs.h >>conftest.$ac_ext
17543 cat >>conftest.$ac_ext <<_ACEOF
17544 /* end confdefs.h.  */
17545 $ac_includes_default
17546 int
17547 main ()
17548 {
17549 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17550 test_array [0] = 0
17551
17552   ;
17553   return 0;
17554 }
17555 _ACEOF
17556 rm -f conftest.$ac_objext
17557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17558   (eval $ac_compile) 2>conftest.er1
17559   ac_status=$?
17560   grep -v '^ *+' conftest.er1 >conftest.err
17561   rm -f conftest.er1
17562   cat conftest.err >&5
17563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17564   (exit $ac_status); } &&
17565          { ac_try='test -z "$ac_c_werror_flag"
17566                          || test ! -s conftest.err'
17567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17568   (eval $ac_try) 2>&5
17569   ac_status=$?
17570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17571   (exit $ac_status); }; } &&
17572          { ac_try='test -s conftest.$ac_objext'
17573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17574   (eval $ac_try) 2>&5
17575   ac_status=$?
17576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17577   (exit $ac_status); }; }; then
17578   ac_hi=$ac_mid
17579 else
17580   echo "$as_me: failed program was:" >&5
17581 sed 's/^/| /' conftest.$ac_ext >&5
17582
17583 ac_lo=`expr '(' $ac_mid ')' + 1`
17584 fi
17585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17586 done
17587 case $ac_lo in
17588 ?*) ac_cv_sizeof_char=$ac_lo;;
17589 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17590 See \`config.log' for more details." >&5
17591 echo "$as_me: error: cannot compute sizeof (char), 77
17592 See \`config.log' for more details." >&2;}
17593    { (exit 1); exit 1; }; } ;;
17594 esac
17595 else
17596   if test "$cross_compiling" = yes; then
17597   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17598 See \`config.log' for more details." >&5
17599 echo "$as_me: error: cannot run test program while cross compiling
17600 See \`config.log' for more details." >&2;}
17601    { (exit 1); exit 1; }; }
17602 else
17603   cat >conftest.$ac_ext <<_ACEOF
17604 /* confdefs.h.  */
17605 _ACEOF
17606 cat confdefs.h >>conftest.$ac_ext
17607 cat >>conftest.$ac_ext <<_ACEOF
17608 /* end confdefs.h.  */
17609 $ac_includes_default
17610 long longval () { return (long) (sizeof (char)); }
17611 unsigned long ulongval () { return (long) (sizeof (char)); }
17612 #include <stdio.h>
17613 #include <stdlib.h>
17614 int
17615 main ()
17616 {
17617
17618   FILE *f = fopen ("conftest.val", "w");
17619   if (! f)
17620     exit (1);
17621   if (((long) (sizeof (char))) < 0)
17622     {
17623       long i = longval ();
17624       if (i != ((long) (sizeof (char))))
17625         exit (1);
17626       fprintf (f, "%ld\n", i);
17627     }
17628   else
17629     {
17630       unsigned long i = ulongval ();
17631       if (i != ((long) (sizeof (char))))
17632         exit (1);
17633       fprintf (f, "%lu\n", i);
17634     }
17635   exit (ferror (f) || fclose (f) != 0);
17636
17637   ;
17638   return 0;
17639 }
17640 _ACEOF
17641 rm -f conftest$ac_exeext
17642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17643   (eval $ac_link) 2>&5
17644   ac_status=$?
17645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17646   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17648   (eval $ac_try) 2>&5
17649   ac_status=$?
17650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17651   (exit $ac_status); }; }; then
17652   ac_cv_sizeof_char=`cat conftest.val`
17653 else
17654   echo "$as_me: program exited with status $ac_status" >&5
17655 echo "$as_me: failed program was:" >&5
17656 sed 's/^/| /' conftest.$ac_ext >&5
17657
17658 ( exit $ac_status )
17659 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17660 See \`config.log' for more details." >&5
17661 echo "$as_me: error: cannot compute sizeof (char), 77
17662 See \`config.log' for more details." >&2;}
17663    { (exit 1); exit 1; }; }
17664 fi
17665 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17666 fi
17667 fi
17668 rm -f conftest.val
17669 else
17670   ac_cv_sizeof_char=0
17671 fi
17672 fi
17673 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17674 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17675 cat >>confdefs.h <<_ACEOF
17676 #define SIZEOF_CHAR $ac_cv_sizeof_char
17677 _ACEOF
17678
17679
17680    echo "$as_me:$LINENO: checking for short" >&5
17681 echo $ECHO_N "checking for short... $ECHO_C" >&6
17682 if test "${ac_cv_type_short+set}" = set; then
17683   echo $ECHO_N "(cached) $ECHO_C" >&6
17684 else
17685   cat >conftest.$ac_ext <<_ACEOF
17686 /* confdefs.h.  */
17687 _ACEOF
17688 cat confdefs.h >>conftest.$ac_ext
17689 cat >>conftest.$ac_ext <<_ACEOF
17690 /* end confdefs.h.  */
17691 $ac_includes_default
17692 int
17693 main ()
17694 {
17695 if ((short *) 0)
17696   return 0;
17697 if (sizeof (short))
17698   return 0;
17699   ;
17700   return 0;
17701 }
17702 _ACEOF
17703 rm -f conftest.$ac_objext
17704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17705   (eval $ac_compile) 2>conftest.er1
17706   ac_status=$?
17707   grep -v '^ *+' conftest.er1 >conftest.err
17708   rm -f conftest.er1
17709   cat conftest.err >&5
17710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711   (exit $ac_status); } &&
17712          { ac_try='test -z "$ac_c_werror_flag"
17713                          || test ! -s conftest.err'
17714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17715   (eval $ac_try) 2>&5
17716   ac_status=$?
17717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17718   (exit $ac_status); }; } &&
17719          { ac_try='test -s conftest.$ac_objext'
17720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17721   (eval $ac_try) 2>&5
17722   ac_status=$?
17723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17724   (exit $ac_status); }; }; then
17725   ac_cv_type_short=yes
17726 else
17727   echo "$as_me: failed program was:" >&5
17728 sed 's/^/| /' conftest.$ac_ext >&5
17729
17730 ac_cv_type_short=no
17731 fi
17732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17733 fi
17734 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17735 echo "${ECHO_T}$ac_cv_type_short" >&6
17736
17737 echo "$as_me:$LINENO: checking size of short" >&5
17738 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17739 if test "${ac_cv_sizeof_short+set}" = set; then
17740   echo $ECHO_N "(cached) $ECHO_C" >&6
17741 else
17742   if test "$ac_cv_type_short" = yes; then
17743   # The cast to unsigned long works around a bug in the HP C Compiler
17744   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17745   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17746   # This bug is HP SR number 8606223364.
17747   if test "$cross_compiling" = yes; then
17748   # Depending upon the size, compute the lo and hi bounds.
17749 cat >conftest.$ac_ext <<_ACEOF
17750 /* confdefs.h.  */
17751 _ACEOF
17752 cat confdefs.h >>conftest.$ac_ext
17753 cat >>conftest.$ac_ext <<_ACEOF
17754 /* end confdefs.h.  */
17755 $ac_includes_default
17756 int
17757 main ()
17758 {
17759 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17760 test_array [0] = 0
17761
17762   ;
17763   return 0;
17764 }
17765 _ACEOF
17766 rm -f conftest.$ac_objext
17767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17768   (eval $ac_compile) 2>conftest.er1
17769   ac_status=$?
17770   grep -v '^ *+' conftest.er1 >conftest.err
17771   rm -f conftest.er1
17772   cat conftest.err >&5
17773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17774   (exit $ac_status); } &&
17775          { ac_try='test -z "$ac_c_werror_flag"
17776                          || test ! -s conftest.err'
17777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17778   (eval $ac_try) 2>&5
17779   ac_status=$?
17780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17781   (exit $ac_status); }; } &&
17782          { ac_try='test -s conftest.$ac_objext'
17783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17784   (eval $ac_try) 2>&5
17785   ac_status=$?
17786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17787   (exit $ac_status); }; }; then
17788   ac_lo=0 ac_mid=0
17789   while :; do
17790     cat >conftest.$ac_ext <<_ACEOF
17791 /* confdefs.h.  */
17792 _ACEOF
17793 cat confdefs.h >>conftest.$ac_ext
17794 cat >>conftest.$ac_ext <<_ACEOF
17795 /* end confdefs.h.  */
17796 $ac_includes_default
17797 int
17798 main ()
17799 {
17800 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17801 test_array [0] = 0
17802
17803   ;
17804   return 0;
17805 }
17806 _ACEOF
17807 rm -f conftest.$ac_objext
17808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17809   (eval $ac_compile) 2>conftest.er1
17810   ac_status=$?
17811   grep -v '^ *+' conftest.er1 >conftest.err
17812   rm -f conftest.er1
17813   cat conftest.err >&5
17814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17815   (exit $ac_status); } &&
17816          { ac_try='test -z "$ac_c_werror_flag"
17817                          || test ! -s conftest.err'
17818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17819   (eval $ac_try) 2>&5
17820   ac_status=$?
17821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17822   (exit $ac_status); }; } &&
17823          { ac_try='test -s conftest.$ac_objext'
17824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17825   (eval $ac_try) 2>&5
17826   ac_status=$?
17827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17828   (exit $ac_status); }; }; then
17829   ac_hi=$ac_mid; break
17830 else
17831   echo "$as_me: failed program was:" >&5
17832 sed 's/^/| /' conftest.$ac_ext >&5
17833
17834 ac_lo=`expr $ac_mid + 1`
17835                     if test $ac_lo -le $ac_mid; then
17836                       ac_lo= ac_hi=
17837                       break
17838                     fi
17839                     ac_mid=`expr 2 '*' $ac_mid + 1`
17840 fi
17841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17842   done
17843 else
17844   echo "$as_me: failed program was:" >&5
17845 sed 's/^/| /' conftest.$ac_ext >&5
17846
17847 cat >conftest.$ac_ext <<_ACEOF
17848 /* confdefs.h.  */
17849 _ACEOF
17850 cat confdefs.h >>conftest.$ac_ext
17851 cat >>conftest.$ac_ext <<_ACEOF
17852 /* end confdefs.h.  */
17853 $ac_includes_default
17854 int
17855 main ()
17856 {
17857 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17858 test_array [0] = 0
17859
17860   ;
17861   return 0;
17862 }
17863 _ACEOF
17864 rm -f conftest.$ac_objext
17865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17866   (eval $ac_compile) 2>conftest.er1
17867   ac_status=$?
17868   grep -v '^ *+' conftest.er1 >conftest.err
17869   rm -f conftest.er1
17870   cat conftest.err >&5
17871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17872   (exit $ac_status); } &&
17873          { ac_try='test -z "$ac_c_werror_flag"
17874                          || test ! -s conftest.err'
17875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17876   (eval $ac_try) 2>&5
17877   ac_status=$?
17878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17879   (exit $ac_status); }; } &&
17880          { ac_try='test -s conftest.$ac_objext'
17881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17882   (eval $ac_try) 2>&5
17883   ac_status=$?
17884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17885   (exit $ac_status); }; }; then
17886   ac_hi=-1 ac_mid=-1
17887   while :; do
17888     cat >conftest.$ac_ext <<_ACEOF
17889 /* confdefs.h.  */
17890 _ACEOF
17891 cat confdefs.h >>conftest.$ac_ext
17892 cat >>conftest.$ac_ext <<_ACEOF
17893 /* end confdefs.h.  */
17894 $ac_includes_default
17895 int
17896 main ()
17897 {
17898 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17899 test_array [0] = 0
17900
17901   ;
17902   return 0;
17903 }
17904 _ACEOF
17905 rm -f conftest.$ac_objext
17906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17907   (eval $ac_compile) 2>conftest.er1
17908   ac_status=$?
17909   grep -v '^ *+' conftest.er1 >conftest.err
17910   rm -f conftest.er1
17911   cat conftest.err >&5
17912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17913   (exit $ac_status); } &&
17914          { ac_try='test -z "$ac_c_werror_flag"
17915                          || test ! -s conftest.err'
17916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17917   (eval $ac_try) 2>&5
17918   ac_status=$?
17919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17920   (exit $ac_status); }; } &&
17921          { ac_try='test -s conftest.$ac_objext'
17922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17923   (eval $ac_try) 2>&5
17924   ac_status=$?
17925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17926   (exit $ac_status); }; }; then
17927   ac_lo=$ac_mid; break
17928 else
17929   echo "$as_me: failed program was:" >&5
17930 sed 's/^/| /' conftest.$ac_ext >&5
17931
17932 ac_hi=`expr '(' $ac_mid ')' - 1`
17933                        if test $ac_mid -le $ac_hi; then
17934                          ac_lo= ac_hi=
17935                          break
17936                        fi
17937                        ac_mid=`expr 2 '*' $ac_mid`
17938 fi
17939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17940   done
17941 else
17942   echo "$as_me: failed program was:" >&5
17943 sed 's/^/| /' conftest.$ac_ext >&5
17944
17945 ac_lo= ac_hi=
17946 fi
17947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17948 fi
17949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17950 # Binary search between lo and hi bounds.
17951 while test "x$ac_lo" != "x$ac_hi"; do
17952   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17953   cat >conftest.$ac_ext <<_ACEOF
17954 /* confdefs.h.  */
17955 _ACEOF
17956 cat confdefs.h >>conftest.$ac_ext
17957 cat >>conftest.$ac_ext <<_ACEOF
17958 /* end confdefs.h.  */
17959 $ac_includes_default
17960 int
17961 main ()
17962 {
17963 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17964 test_array [0] = 0
17965
17966   ;
17967   return 0;
17968 }
17969 _ACEOF
17970 rm -f conftest.$ac_objext
17971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17972   (eval $ac_compile) 2>conftest.er1
17973   ac_status=$?
17974   grep -v '^ *+' conftest.er1 >conftest.err
17975   rm -f conftest.er1
17976   cat conftest.err >&5
17977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17978   (exit $ac_status); } &&
17979          { ac_try='test -z "$ac_c_werror_flag"
17980                          || test ! -s conftest.err'
17981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17982   (eval $ac_try) 2>&5
17983   ac_status=$?
17984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17985   (exit $ac_status); }; } &&
17986          { ac_try='test -s conftest.$ac_objext'
17987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17988   (eval $ac_try) 2>&5
17989   ac_status=$?
17990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17991   (exit $ac_status); }; }; then
17992   ac_hi=$ac_mid
17993 else
17994   echo "$as_me: failed program was:" >&5
17995 sed 's/^/| /' conftest.$ac_ext >&5
17996
17997 ac_lo=`expr '(' $ac_mid ')' + 1`
17998 fi
17999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18000 done
18001 case $ac_lo in
18002 ?*) ac_cv_sizeof_short=$ac_lo;;
18003 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18004 See \`config.log' for more details." >&5
18005 echo "$as_me: error: cannot compute sizeof (short), 77
18006 See \`config.log' for more details." >&2;}
18007    { (exit 1); exit 1; }; } ;;
18008 esac
18009 else
18010   if test "$cross_compiling" = yes; then
18011   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18012 See \`config.log' for more details." >&5
18013 echo "$as_me: error: cannot run test program while cross compiling
18014 See \`config.log' for more details." >&2;}
18015    { (exit 1); exit 1; }; }
18016 else
18017   cat >conftest.$ac_ext <<_ACEOF
18018 /* confdefs.h.  */
18019 _ACEOF
18020 cat confdefs.h >>conftest.$ac_ext
18021 cat >>conftest.$ac_ext <<_ACEOF
18022 /* end confdefs.h.  */
18023 $ac_includes_default
18024 long longval () { return (long) (sizeof (short)); }
18025 unsigned long ulongval () { return (long) (sizeof (short)); }
18026 #include <stdio.h>
18027 #include <stdlib.h>
18028 int
18029 main ()
18030 {
18031
18032   FILE *f = fopen ("conftest.val", "w");
18033   if (! f)
18034     exit (1);
18035   if (((long) (sizeof (short))) < 0)
18036     {
18037       long i = longval ();
18038       if (i != ((long) (sizeof (short))))
18039         exit (1);
18040       fprintf (f, "%ld\n", i);
18041     }
18042   else
18043     {
18044       unsigned long i = ulongval ();
18045       if (i != ((long) (sizeof (short))))
18046         exit (1);
18047       fprintf (f, "%lu\n", i);
18048     }
18049   exit (ferror (f) || fclose (f) != 0);
18050
18051   ;
18052   return 0;
18053 }
18054 _ACEOF
18055 rm -f conftest$ac_exeext
18056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18057   (eval $ac_link) 2>&5
18058   ac_status=$?
18059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18060   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18062   (eval $ac_try) 2>&5
18063   ac_status=$?
18064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18065   (exit $ac_status); }; }; then
18066   ac_cv_sizeof_short=`cat conftest.val`
18067 else
18068   echo "$as_me: program exited with status $ac_status" >&5
18069 echo "$as_me: failed program was:" >&5
18070 sed 's/^/| /' conftest.$ac_ext >&5
18071
18072 ( exit $ac_status )
18073 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18074 See \`config.log' for more details." >&5
18075 echo "$as_me: error: cannot compute sizeof (short), 77
18076 See \`config.log' for more details." >&2;}
18077    { (exit 1); exit 1; }; }
18078 fi
18079 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18080 fi
18081 fi
18082 rm -f conftest.val
18083 else
18084   ac_cv_sizeof_short=0
18085 fi
18086 fi
18087 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18088 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18089 cat >>confdefs.h <<_ACEOF
18090 #define SIZEOF_SHORT $ac_cv_sizeof_short
18091 _ACEOF
18092
18093
18094    echo "$as_me:$LINENO: checking for int" >&5
18095 echo $ECHO_N "checking for int... $ECHO_C" >&6
18096 if test "${ac_cv_type_int+set}" = set; then
18097   echo $ECHO_N "(cached) $ECHO_C" >&6
18098 else
18099   cat >conftest.$ac_ext <<_ACEOF
18100 /* confdefs.h.  */
18101 _ACEOF
18102 cat confdefs.h >>conftest.$ac_ext
18103 cat >>conftest.$ac_ext <<_ACEOF
18104 /* end confdefs.h.  */
18105 $ac_includes_default
18106 int
18107 main ()
18108 {
18109 if ((int *) 0)
18110   return 0;
18111 if (sizeof (int))
18112   return 0;
18113   ;
18114   return 0;
18115 }
18116 _ACEOF
18117 rm -f conftest.$ac_objext
18118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18119   (eval $ac_compile) 2>conftest.er1
18120   ac_status=$?
18121   grep -v '^ *+' conftest.er1 >conftest.err
18122   rm -f conftest.er1
18123   cat conftest.err >&5
18124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18125   (exit $ac_status); } &&
18126          { ac_try='test -z "$ac_c_werror_flag"
18127                          || test ! -s conftest.err'
18128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18129   (eval $ac_try) 2>&5
18130   ac_status=$?
18131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18132   (exit $ac_status); }; } &&
18133          { ac_try='test -s conftest.$ac_objext'
18134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18135   (eval $ac_try) 2>&5
18136   ac_status=$?
18137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18138   (exit $ac_status); }; }; then
18139   ac_cv_type_int=yes
18140 else
18141   echo "$as_me: failed program was:" >&5
18142 sed 's/^/| /' conftest.$ac_ext >&5
18143
18144 ac_cv_type_int=no
18145 fi
18146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18147 fi
18148 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18149 echo "${ECHO_T}$ac_cv_type_int" >&6
18150
18151 echo "$as_me:$LINENO: checking size of int" >&5
18152 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18153 if test "${ac_cv_sizeof_int+set}" = set; then
18154   echo $ECHO_N "(cached) $ECHO_C" >&6
18155 else
18156   if test "$ac_cv_type_int" = yes; then
18157   # The cast to unsigned long works around a bug in the HP C Compiler
18158   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18159   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18160   # This bug is HP SR number 8606223364.
18161   if test "$cross_compiling" = yes; then
18162   # Depending upon the size, compute the lo and hi bounds.
18163 cat >conftest.$ac_ext <<_ACEOF
18164 /* confdefs.h.  */
18165 _ACEOF
18166 cat confdefs.h >>conftest.$ac_ext
18167 cat >>conftest.$ac_ext <<_ACEOF
18168 /* end confdefs.h.  */
18169 $ac_includes_default
18170 int
18171 main ()
18172 {
18173 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18174 test_array [0] = 0
18175
18176   ;
18177   return 0;
18178 }
18179 _ACEOF
18180 rm -f conftest.$ac_objext
18181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18182   (eval $ac_compile) 2>conftest.er1
18183   ac_status=$?
18184   grep -v '^ *+' conftest.er1 >conftest.err
18185   rm -f conftest.er1
18186   cat conftest.err >&5
18187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18188   (exit $ac_status); } &&
18189          { ac_try='test -z "$ac_c_werror_flag"
18190                          || test ! -s conftest.err'
18191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18192   (eval $ac_try) 2>&5
18193   ac_status=$?
18194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18195   (exit $ac_status); }; } &&
18196          { ac_try='test -s conftest.$ac_objext'
18197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18198   (eval $ac_try) 2>&5
18199   ac_status=$?
18200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18201   (exit $ac_status); }; }; then
18202   ac_lo=0 ac_mid=0
18203   while :; do
18204     cat >conftest.$ac_ext <<_ACEOF
18205 /* confdefs.h.  */
18206 _ACEOF
18207 cat confdefs.h >>conftest.$ac_ext
18208 cat >>conftest.$ac_ext <<_ACEOF
18209 /* end confdefs.h.  */
18210 $ac_includes_default
18211 int
18212 main ()
18213 {
18214 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18215 test_array [0] = 0
18216
18217   ;
18218   return 0;
18219 }
18220 _ACEOF
18221 rm -f conftest.$ac_objext
18222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18223   (eval $ac_compile) 2>conftest.er1
18224   ac_status=$?
18225   grep -v '^ *+' conftest.er1 >conftest.err
18226   rm -f conftest.er1
18227   cat conftest.err >&5
18228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18229   (exit $ac_status); } &&
18230          { ac_try='test -z "$ac_c_werror_flag"
18231                          || test ! -s conftest.err'
18232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18233   (eval $ac_try) 2>&5
18234   ac_status=$?
18235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18236   (exit $ac_status); }; } &&
18237          { ac_try='test -s conftest.$ac_objext'
18238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18239   (eval $ac_try) 2>&5
18240   ac_status=$?
18241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18242   (exit $ac_status); }; }; then
18243   ac_hi=$ac_mid; break
18244 else
18245   echo "$as_me: failed program was:" >&5
18246 sed 's/^/| /' conftest.$ac_ext >&5
18247
18248 ac_lo=`expr $ac_mid + 1`
18249                     if test $ac_lo -le $ac_mid; then
18250                       ac_lo= ac_hi=
18251                       break
18252                     fi
18253                     ac_mid=`expr 2 '*' $ac_mid + 1`
18254 fi
18255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18256   done
18257 else
18258   echo "$as_me: failed program was:" >&5
18259 sed 's/^/| /' conftest.$ac_ext >&5
18260
18261 cat >conftest.$ac_ext <<_ACEOF
18262 /* confdefs.h.  */
18263 _ACEOF
18264 cat confdefs.h >>conftest.$ac_ext
18265 cat >>conftest.$ac_ext <<_ACEOF
18266 /* end confdefs.h.  */
18267 $ac_includes_default
18268 int
18269 main ()
18270 {
18271 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18272 test_array [0] = 0
18273
18274   ;
18275   return 0;
18276 }
18277 _ACEOF
18278 rm -f conftest.$ac_objext
18279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18280   (eval $ac_compile) 2>conftest.er1
18281   ac_status=$?
18282   grep -v '^ *+' conftest.er1 >conftest.err
18283   rm -f conftest.er1
18284   cat conftest.err >&5
18285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286   (exit $ac_status); } &&
18287          { ac_try='test -z "$ac_c_werror_flag"
18288                          || test ! -s conftest.err'
18289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18290   (eval $ac_try) 2>&5
18291   ac_status=$?
18292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18293   (exit $ac_status); }; } &&
18294          { ac_try='test -s conftest.$ac_objext'
18295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18296   (eval $ac_try) 2>&5
18297   ac_status=$?
18298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18299   (exit $ac_status); }; }; then
18300   ac_hi=-1 ac_mid=-1
18301   while :; do
18302     cat >conftest.$ac_ext <<_ACEOF
18303 /* confdefs.h.  */
18304 _ACEOF
18305 cat confdefs.h >>conftest.$ac_ext
18306 cat >>conftest.$ac_ext <<_ACEOF
18307 /* end confdefs.h.  */
18308 $ac_includes_default
18309 int
18310 main ()
18311 {
18312 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18313 test_array [0] = 0
18314
18315   ;
18316   return 0;
18317 }
18318 _ACEOF
18319 rm -f conftest.$ac_objext
18320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18321   (eval $ac_compile) 2>conftest.er1
18322   ac_status=$?
18323   grep -v '^ *+' conftest.er1 >conftest.err
18324   rm -f conftest.er1
18325   cat conftest.err >&5
18326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18327   (exit $ac_status); } &&
18328          { ac_try='test -z "$ac_c_werror_flag"
18329                          || test ! -s conftest.err'
18330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18331   (eval $ac_try) 2>&5
18332   ac_status=$?
18333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18334   (exit $ac_status); }; } &&
18335          { ac_try='test -s conftest.$ac_objext'
18336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18337   (eval $ac_try) 2>&5
18338   ac_status=$?
18339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18340   (exit $ac_status); }; }; then
18341   ac_lo=$ac_mid; break
18342 else
18343   echo "$as_me: failed program was:" >&5
18344 sed 's/^/| /' conftest.$ac_ext >&5
18345
18346 ac_hi=`expr '(' $ac_mid ')' - 1`
18347                        if test $ac_mid -le $ac_hi; then
18348                          ac_lo= ac_hi=
18349                          break
18350                        fi
18351                        ac_mid=`expr 2 '*' $ac_mid`
18352 fi
18353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18354   done
18355 else
18356   echo "$as_me: failed program was:" >&5
18357 sed 's/^/| /' conftest.$ac_ext >&5
18358
18359 ac_lo= ac_hi=
18360 fi
18361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18362 fi
18363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18364 # Binary search between lo and hi bounds.
18365 while test "x$ac_lo" != "x$ac_hi"; do
18366   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18367   cat >conftest.$ac_ext <<_ACEOF
18368 /* confdefs.h.  */
18369 _ACEOF
18370 cat confdefs.h >>conftest.$ac_ext
18371 cat >>conftest.$ac_ext <<_ACEOF
18372 /* end confdefs.h.  */
18373 $ac_includes_default
18374 int
18375 main ()
18376 {
18377 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18378 test_array [0] = 0
18379
18380   ;
18381   return 0;
18382 }
18383 _ACEOF
18384 rm -f conftest.$ac_objext
18385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18386   (eval $ac_compile) 2>conftest.er1
18387   ac_status=$?
18388   grep -v '^ *+' conftest.er1 >conftest.err
18389   rm -f conftest.er1
18390   cat conftest.err >&5
18391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18392   (exit $ac_status); } &&
18393          { ac_try='test -z "$ac_c_werror_flag"
18394                          || test ! -s conftest.err'
18395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18396   (eval $ac_try) 2>&5
18397   ac_status=$?
18398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18399   (exit $ac_status); }; } &&
18400          { ac_try='test -s conftest.$ac_objext'
18401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18402   (eval $ac_try) 2>&5
18403   ac_status=$?
18404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18405   (exit $ac_status); }; }; then
18406   ac_hi=$ac_mid
18407 else
18408   echo "$as_me: failed program was:" >&5
18409 sed 's/^/| /' conftest.$ac_ext >&5
18410
18411 ac_lo=`expr '(' $ac_mid ')' + 1`
18412 fi
18413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18414 done
18415 case $ac_lo in
18416 ?*) ac_cv_sizeof_int=$ac_lo;;
18417 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18418 See \`config.log' for more details." >&5
18419 echo "$as_me: error: cannot compute sizeof (int), 77
18420 See \`config.log' for more details." >&2;}
18421    { (exit 1); exit 1; }; } ;;
18422 esac
18423 else
18424   if test "$cross_compiling" = yes; then
18425   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18426 See \`config.log' for more details." >&5
18427 echo "$as_me: error: cannot run test program while cross compiling
18428 See \`config.log' for more details." >&2;}
18429    { (exit 1); exit 1; }; }
18430 else
18431   cat >conftest.$ac_ext <<_ACEOF
18432 /* confdefs.h.  */
18433 _ACEOF
18434 cat confdefs.h >>conftest.$ac_ext
18435 cat >>conftest.$ac_ext <<_ACEOF
18436 /* end confdefs.h.  */
18437 $ac_includes_default
18438 long longval () { return (long) (sizeof (int)); }
18439 unsigned long ulongval () { return (long) (sizeof (int)); }
18440 #include <stdio.h>
18441 #include <stdlib.h>
18442 int
18443 main ()
18444 {
18445
18446   FILE *f = fopen ("conftest.val", "w");
18447   if (! f)
18448     exit (1);
18449   if (((long) (sizeof (int))) < 0)
18450     {
18451       long i = longval ();
18452       if (i != ((long) (sizeof (int))))
18453         exit (1);
18454       fprintf (f, "%ld\n", i);
18455     }
18456   else
18457     {
18458       unsigned long i = ulongval ();
18459       if (i != ((long) (sizeof (int))))
18460         exit (1);
18461       fprintf (f, "%lu\n", i);
18462     }
18463   exit (ferror (f) || fclose (f) != 0);
18464
18465   ;
18466   return 0;
18467 }
18468 _ACEOF
18469 rm -f conftest$ac_exeext
18470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18471   (eval $ac_link) 2>&5
18472   ac_status=$?
18473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18474   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18476   (eval $ac_try) 2>&5
18477   ac_status=$?
18478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18479   (exit $ac_status); }; }; then
18480   ac_cv_sizeof_int=`cat conftest.val`
18481 else
18482   echo "$as_me: program exited with status $ac_status" >&5
18483 echo "$as_me: failed program was:" >&5
18484 sed 's/^/| /' conftest.$ac_ext >&5
18485
18486 ( exit $ac_status )
18487 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18488 See \`config.log' for more details." >&5
18489 echo "$as_me: error: cannot compute sizeof (int), 77
18490 See \`config.log' for more details." >&2;}
18491    { (exit 1); exit 1; }; }
18492 fi
18493 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18494 fi
18495 fi
18496 rm -f conftest.val
18497 else
18498   ac_cv_sizeof_int=0
18499 fi
18500 fi
18501 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18502 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18503 cat >>confdefs.h <<_ACEOF
18504 #define SIZEOF_INT $ac_cv_sizeof_int
18505 _ACEOF
18506
18507
18508    echo "$as_me:$LINENO: checking for long" >&5
18509 echo $ECHO_N "checking for long... $ECHO_C" >&6
18510 if test "${ac_cv_type_long+set}" = set; then
18511   echo $ECHO_N "(cached) $ECHO_C" >&6
18512 else
18513   cat >conftest.$ac_ext <<_ACEOF
18514 /* confdefs.h.  */
18515 _ACEOF
18516 cat confdefs.h >>conftest.$ac_ext
18517 cat >>conftest.$ac_ext <<_ACEOF
18518 /* end confdefs.h.  */
18519 $ac_includes_default
18520 int
18521 main ()
18522 {
18523 if ((long *) 0)
18524   return 0;
18525 if (sizeof (long))
18526   return 0;
18527   ;
18528   return 0;
18529 }
18530 _ACEOF
18531 rm -f conftest.$ac_objext
18532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18533   (eval $ac_compile) 2>conftest.er1
18534   ac_status=$?
18535   grep -v '^ *+' conftest.er1 >conftest.err
18536   rm -f conftest.er1
18537   cat conftest.err >&5
18538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18539   (exit $ac_status); } &&
18540          { ac_try='test -z "$ac_c_werror_flag"
18541                          || test ! -s conftest.err'
18542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18543   (eval $ac_try) 2>&5
18544   ac_status=$?
18545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18546   (exit $ac_status); }; } &&
18547          { ac_try='test -s conftest.$ac_objext'
18548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18549   (eval $ac_try) 2>&5
18550   ac_status=$?
18551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18552   (exit $ac_status); }; }; then
18553   ac_cv_type_long=yes
18554 else
18555   echo "$as_me: failed program was:" >&5
18556 sed 's/^/| /' conftest.$ac_ext >&5
18557
18558 ac_cv_type_long=no
18559 fi
18560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18561 fi
18562 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18563 echo "${ECHO_T}$ac_cv_type_long" >&6
18564
18565 echo "$as_me:$LINENO: checking size of long" >&5
18566 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18567 if test "${ac_cv_sizeof_long+set}" = set; then
18568   echo $ECHO_N "(cached) $ECHO_C" >&6
18569 else
18570   if test "$ac_cv_type_long" = yes; then
18571   # The cast to unsigned long works around a bug in the HP C Compiler
18572   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18573   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18574   # This bug is HP SR number 8606223364.
18575   if test "$cross_compiling" = yes; then
18576   # Depending upon the size, compute the lo and hi bounds.
18577 cat >conftest.$ac_ext <<_ACEOF
18578 /* confdefs.h.  */
18579 _ACEOF
18580 cat confdefs.h >>conftest.$ac_ext
18581 cat >>conftest.$ac_ext <<_ACEOF
18582 /* end confdefs.h.  */
18583 $ac_includes_default
18584 int
18585 main ()
18586 {
18587 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
18588 test_array [0] = 0
18589
18590   ;
18591   return 0;
18592 }
18593 _ACEOF
18594 rm -f conftest.$ac_objext
18595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18596   (eval $ac_compile) 2>conftest.er1
18597   ac_status=$?
18598   grep -v '^ *+' conftest.er1 >conftest.err
18599   rm -f conftest.er1
18600   cat conftest.err >&5
18601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18602   (exit $ac_status); } &&
18603          { ac_try='test -z "$ac_c_werror_flag"
18604                          || test ! -s conftest.err'
18605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18606   (eval $ac_try) 2>&5
18607   ac_status=$?
18608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18609   (exit $ac_status); }; } &&
18610          { ac_try='test -s conftest.$ac_objext'
18611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18612   (eval $ac_try) 2>&5
18613   ac_status=$?
18614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18615   (exit $ac_status); }; }; then
18616   ac_lo=0 ac_mid=0
18617   while :; do
18618     cat >conftest.$ac_ext <<_ACEOF
18619 /* confdefs.h.  */
18620 _ACEOF
18621 cat confdefs.h >>conftest.$ac_ext
18622 cat >>conftest.$ac_ext <<_ACEOF
18623 /* end confdefs.h.  */
18624 $ac_includes_default
18625 int
18626 main ()
18627 {
18628 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18629 test_array [0] = 0
18630
18631   ;
18632   return 0;
18633 }
18634 _ACEOF
18635 rm -f conftest.$ac_objext
18636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18637   (eval $ac_compile) 2>conftest.er1
18638   ac_status=$?
18639   grep -v '^ *+' conftest.er1 >conftest.err
18640   rm -f conftest.er1
18641   cat conftest.err >&5
18642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18643   (exit $ac_status); } &&
18644          { ac_try='test -z "$ac_c_werror_flag"
18645                          || test ! -s conftest.err'
18646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18647   (eval $ac_try) 2>&5
18648   ac_status=$?
18649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18650   (exit $ac_status); }; } &&
18651          { ac_try='test -s conftest.$ac_objext'
18652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18653   (eval $ac_try) 2>&5
18654   ac_status=$?
18655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18656   (exit $ac_status); }; }; then
18657   ac_hi=$ac_mid; break
18658 else
18659   echo "$as_me: failed program was:" >&5
18660 sed 's/^/| /' conftest.$ac_ext >&5
18661
18662 ac_lo=`expr $ac_mid + 1`
18663                     if test $ac_lo -le $ac_mid; then
18664                       ac_lo= ac_hi=
18665                       break
18666                     fi
18667                     ac_mid=`expr 2 '*' $ac_mid + 1`
18668 fi
18669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18670   done
18671 else
18672   echo "$as_me: failed program was:" >&5
18673 sed 's/^/| /' conftest.$ac_ext >&5
18674
18675 cat >conftest.$ac_ext <<_ACEOF
18676 /* confdefs.h.  */
18677 _ACEOF
18678 cat confdefs.h >>conftest.$ac_ext
18679 cat >>conftest.$ac_ext <<_ACEOF
18680 /* end confdefs.h.  */
18681 $ac_includes_default
18682 int
18683 main ()
18684 {
18685 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
18686 test_array [0] = 0
18687
18688   ;
18689   return 0;
18690 }
18691 _ACEOF
18692 rm -f conftest.$ac_objext
18693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18694   (eval $ac_compile) 2>conftest.er1
18695   ac_status=$?
18696   grep -v '^ *+' conftest.er1 >conftest.err
18697   rm -f conftest.er1
18698   cat conftest.err >&5
18699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18700   (exit $ac_status); } &&
18701          { ac_try='test -z "$ac_c_werror_flag"
18702                          || test ! -s conftest.err'
18703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18704   (eval $ac_try) 2>&5
18705   ac_status=$?
18706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18707   (exit $ac_status); }; } &&
18708          { ac_try='test -s conftest.$ac_objext'
18709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18710   (eval $ac_try) 2>&5
18711   ac_status=$?
18712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18713   (exit $ac_status); }; }; then
18714   ac_hi=-1 ac_mid=-1
18715   while :; do
18716     cat >conftest.$ac_ext <<_ACEOF
18717 /* confdefs.h.  */
18718 _ACEOF
18719 cat confdefs.h >>conftest.$ac_ext
18720 cat >>conftest.$ac_ext <<_ACEOF
18721 /* end confdefs.h.  */
18722 $ac_includes_default
18723 int
18724 main ()
18725 {
18726 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
18727 test_array [0] = 0
18728
18729   ;
18730   return 0;
18731 }
18732 _ACEOF
18733 rm -f conftest.$ac_objext
18734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18735   (eval $ac_compile) 2>conftest.er1
18736   ac_status=$?
18737   grep -v '^ *+' conftest.er1 >conftest.err
18738   rm -f conftest.er1
18739   cat conftest.err >&5
18740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18741   (exit $ac_status); } &&
18742          { ac_try='test -z "$ac_c_werror_flag"
18743                          || test ! -s conftest.err'
18744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18745   (eval $ac_try) 2>&5
18746   ac_status=$?
18747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18748   (exit $ac_status); }; } &&
18749          { ac_try='test -s conftest.$ac_objext'
18750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18751   (eval $ac_try) 2>&5
18752   ac_status=$?
18753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18754   (exit $ac_status); }; }; then
18755   ac_lo=$ac_mid; break
18756 else
18757   echo "$as_me: failed program was:" >&5
18758 sed 's/^/| /' conftest.$ac_ext >&5
18759
18760 ac_hi=`expr '(' $ac_mid ')' - 1`
18761                        if test $ac_mid -le $ac_hi; then
18762                          ac_lo= ac_hi=
18763                          break
18764                        fi
18765                        ac_mid=`expr 2 '*' $ac_mid`
18766 fi
18767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18768   done
18769 else
18770   echo "$as_me: failed program was:" >&5
18771 sed 's/^/| /' conftest.$ac_ext >&5
18772
18773 ac_lo= ac_hi=
18774 fi
18775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18776 fi
18777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18778 # Binary search between lo and hi bounds.
18779 while test "x$ac_lo" != "x$ac_hi"; do
18780   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18781   cat >conftest.$ac_ext <<_ACEOF
18782 /* confdefs.h.  */
18783 _ACEOF
18784 cat confdefs.h >>conftest.$ac_ext
18785 cat >>conftest.$ac_ext <<_ACEOF
18786 /* end confdefs.h.  */
18787 $ac_includes_default
18788 int
18789 main ()
18790 {
18791 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18792 test_array [0] = 0
18793
18794   ;
18795   return 0;
18796 }
18797 _ACEOF
18798 rm -f conftest.$ac_objext
18799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18800   (eval $ac_compile) 2>conftest.er1
18801   ac_status=$?
18802   grep -v '^ *+' conftest.er1 >conftest.err
18803   rm -f conftest.er1
18804   cat conftest.err >&5
18805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18806   (exit $ac_status); } &&
18807          { ac_try='test -z "$ac_c_werror_flag"
18808                          || test ! -s conftest.err'
18809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18810   (eval $ac_try) 2>&5
18811   ac_status=$?
18812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18813   (exit $ac_status); }; } &&
18814          { ac_try='test -s conftest.$ac_objext'
18815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18816   (eval $ac_try) 2>&5
18817   ac_status=$?
18818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18819   (exit $ac_status); }; }; then
18820   ac_hi=$ac_mid
18821 else
18822   echo "$as_me: failed program was:" >&5
18823 sed 's/^/| /' conftest.$ac_ext >&5
18824
18825 ac_lo=`expr '(' $ac_mid ')' + 1`
18826 fi
18827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18828 done
18829 case $ac_lo in
18830 ?*) ac_cv_sizeof_long=$ac_lo;;
18831 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18832 See \`config.log' for more details." >&5
18833 echo "$as_me: error: cannot compute sizeof (long), 77
18834 See \`config.log' for more details." >&2;}
18835    { (exit 1); exit 1; }; } ;;
18836 esac
18837 else
18838   if test "$cross_compiling" = yes; then
18839   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18840 See \`config.log' for more details." >&5
18841 echo "$as_me: error: cannot run test program while cross compiling
18842 See \`config.log' for more details." >&2;}
18843    { (exit 1); exit 1; }; }
18844 else
18845   cat >conftest.$ac_ext <<_ACEOF
18846 /* confdefs.h.  */
18847 _ACEOF
18848 cat confdefs.h >>conftest.$ac_ext
18849 cat >>conftest.$ac_ext <<_ACEOF
18850 /* end confdefs.h.  */
18851 $ac_includes_default
18852 long longval () { return (long) (sizeof (long)); }
18853 unsigned long ulongval () { return (long) (sizeof (long)); }
18854 #include <stdio.h>
18855 #include <stdlib.h>
18856 int
18857 main ()
18858 {
18859
18860   FILE *f = fopen ("conftest.val", "w");
18861   if (! f)
18862     exit (1);
18863   if (((long) (sizeof (long))) < 0)
18864     {
18865       long i = longval ();
18866       if (i != ((long) (sizeof (long))))
18867         exit (1);
18868       fprintf (f, "%ld\n", i);
18869     }
18870   else
18871     {
18872       unsigned long i = ulongval ();
18873       if (i != ((long) (sizeof (long))))
18874         exit (1);
18875       fprintf (f, "%lu\n", i);
18876     }
18877   exit (ferror (f) || fclose (f) != 0);
18878
18879   ;
18880   return 0;
18881 }
18882 _ACEOF
18883 rm -f conftest$ac_exeext
18884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18885   (eval $ac_link) 2>&5
18886   ac_status=$?
18887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18888   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18890   (eval $ac_try) 2>&5
18891   ac_status=$?
18892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18893   (exit $ac_status); }; }; then
18894   ac_cv_sizeof_long=`cat conftest.val`
18895 else
18896   echo "$as_me: program exited with status $ac_status" >&5
18897 echo "$as_me: failed program was:" >&5
18898 sed 's/^/| /' conftest.$ac_ext >&5
18899
18900 ( exit $ac_status )
18901 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18902 See \`config.log' for more details." >&5
18903 echo "$as_me: error: cannot compute sizeof (long), 77
18904 See \`config.log' for more details." >&2;}
18905    { (exit 1); exit 1; }; }
18906 fi
18907 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18908 fi
18909 fi
18910 rm -f conftest.val
18911 else
18912   ac_cv_sizeof_long=0
18913 fi
18914 fi
18915 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
18916 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
18917 cat >>confdefs.h <<_ACEOF
18918 #define SIZEOF_LONG $ac_cv_sizeof_long
18919 _ACEOF
18920
18921
18922    echo "$as_me:$LINENO: checking for void*" >&5
18923 echo $ECHO_N "checking for void*... $ECHO_C" >&6
18924 if test "${ac_cv_type_voidp+set}" = set; then
18925   echo $ECHO_N "(cached) $ECHO_C" >&6
18926 else
18927   cat >conftest.$ac_ext <<_ACEOF
18928 /* confdefs.h.  */
18929 _ACEOF
18930 cat confdefs.h >>conftest.$ac_ext
18931 cat >>conftest.$ac_ext <<_ACEOF
18932 /* end confdefs.h.  */
18933 $ac_includes_default
18934 int
18935 main ()
18936 {
18937 if ((void* *) 0)
18938   return 0;
18939 if (sizeof (void*))
18940   return 0;
18941   ;
18942   return 0;
18943 }
18944 _ACEOF
18945 rm -f conftest.$ac_objext
18946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18947   (eval $ac_compile) 2>conftest.er1
18948   ac_status=$?
18949   grep -v '^ *+' conftest.er1 >conftest.err
18950   rm -f conftest.er1
18951   cat conftest.err >&5
18952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18953   (exit $ac_status); } &&
18954          { ac_try='test -z "$ac_c_werror_flag"
18955                          || test ! -s conftest.err'
18956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18957   (eval $ac_try) 2>&5
18958   ac_status=$?
18959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18960   (exit $ac_status); }; } &&
18961          { ac_try='test -s conftest.$ac_objext'
18962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18963   (eval $ac_try) 2>&5
18964   ac_status=$?
18965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18966   (exit $ac_status); }; }; then
18967   ac_cv_type_voidp=yes
18968 else
18969   echo "$as_me: failed program was:" >&5
18970 sed 's/^/| /' conftest.$ac_ext >&5
18971
18972 ac_cv_type_voidp=no
18973 fi
18974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18975 fi
18976 echo "$as_me:$LINENO: result: $ac_cv_type_voidp" >&5
18977 echo "${ECHO_T}$ac_cv_type_voidp" >&6
18978
18979 echo "$as_me:$LINENO: checking size of void*" >&5
18980 echo $ECHO_N "checking size of void*... $ECHO_C" >&6
18981 if test "${ac_cv_sizeof_voidp+set}" = set; then
18982   echo $ECHO_N "(cached) $ECHO_C" >&6
18983 else
18984   if test "$ac_cv_type_voidp" = yes; then
18985   # The cast to unsigned long works around a bug in the HP C Compiler
18986   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18987   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18988   # This bug is HP SR number 8606223364.
18989   if test "$cross_compiling" = yes; then
18990   # Depending upon the size, compute the lo and hi bounds.
18991 cat >conftest.$ac_ext <<_ACEOF
18992 /* confdefs.h.  */
18993 _ACEOF
18994 cat confdefs.h >>conftest.$ac_ext
18995 cat >>conftest.$ac_ext <<_ACEOF
18996 /* end confdefs.h.  */
18997 $ac_includes_default
18998 int
18999 main ()
19000 {
19001 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= 0)];
19002 test_array [0] = 0
19003
19004   ;
19005   return 0;
19006 }
19007 _ACEOF
19008 rm -f conftest.$ac_objext
19009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19010   (eval $ac_compile) 2>conftest.er1
19011   ac_status=$?
19012   grep -v '^ *+' conftest.er1 >conftest.err
19013   rm -f conftest.er1
19014   cat conftest.err >&5
19015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19016   (exit $ac_status); } &&
19017          { ac_try='test -z "$ac_c_werror_flag"
19018                          || test ! -s conftest.err'
19019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19020   (eval $ac_try) 2>&5
19021   ac_status=$?
19022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19023   (exit $ac_status); }; } &&
19024          { ac_try='test -s conftest.$ac_objext'
19025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19026   (eval $ac_try) 2>&5
19027   ac_status=$?
19028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19029   (exit $ac_status); }; }; then
19030   ac_lo=0 ac_mid=0
19031   while :; do
19032     cat >conftest.$ac_ext <<_ACEOF
19033 /* confdefs.h.  */
19034 _ACEOF
19035 cat confdefs.h >>conftest.$ac_ext
19036 cat >>conftest.$ac_ext <<_ACEOF
19037 /* end confdefs.h.  */
19038 $ac_includes_default
19039 int
19040 main ()
19041 {
19042 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
19043 test_array [0] = 0
19044
19045   ;
19046   return 0;
19047 }
19048 _ACEOF
19049 rm -f conftest.$ac_objext
19050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19051   (eval $ac_compile) 2>conftest.er1
19052   ac_status=$?
19053   grep -v '^ *+' conftest.er1 >conftest.err
19054   rm -f conftest.er1
19055   cat conftest.err >&5
19056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19057   (exit $ac_status); } &&
19058          { ac_try='test -z "$ac_c_werror_flag"
19059                          || test ! -s conftest.err'
19060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19061   (eval $ac_try) 2>&5
19062   ac_status=$?
19063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19064   (exit $ac_status); }; } &&
19065          { ac_try='test -s conftest.$ac_objext'
19066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19067   (eval $ac_try) 2>&5
19068   ac_status=$?
19069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19070   (exit $ac_status); }; }; then
19071   ac_hi=$ac_mid; break
19072 else
19073   echo "$as_me: failed program was:" >&5
19074 sed 's/^/| /' conftest.$ac_ext >&5
19075
19076 ac_lo=`expr $ac_mid + 1`
19077                     if test $ac_lo -le $ac_mid; then
19078                       ac_lo= ac_hi=
19079                       break
19080                     fi
19081                     ac_mid=`expr 2 '*' $ac_mid + 1`
19082 fi
19083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19084   done
19085 else
19086   echo "$as_me: failed program was:" >&5
19087 sed 's/^/| /' conftest.$ac_ext >&5
19088
19089 cat >conftest.$ac_ext <<_ACEOF
19090 /* confdefs.h.  */
19091 _ACEOF
19092 cat confdefs.h >>conftest.$ac_ext
19093 cat >>conftest.$ac_ext <<_ACEOF
19094 /* end confdefs.h.  */
19095 $ac_includes_default
19096 int
19097 main ()
19098 {
19099 static int test_array [1 - 2 * !(((long) (sizeof (void*))) < 0)];
19100 test_array [0] = 0
19101
19102   ;
19103   return 0;
19104 }
19105 _ACEOF
19106 rm -f conftest.$ac_objext
19107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19108   (eval $ac_compile) 2>conftest.er1
19109   ac_status=$?
19110   grep -v '^ *+' conftest.er1 >conftest.err
19111   rm -f conftest.er1
19112   cat conftest.err >&5
19113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19114   (exit $ac_status); } &&
19115          { ac_try='test -z "$ac_c_werror_flag"
19116                          || test ! -s conftest.err'
19117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19118   (eval $ac_try) 2>&5
19119   ac_status=$?
19120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19121   (exit $ac_status); }; } &&
19122          { ac_try='test -s conftest.$ac_objext'
19123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19124   (eval $ac_try) 2>&5
19125   ac_status=$?
19126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19127   (exit $ac_status); }; }; then
19128   ac_hi=-1 ac_mid=-1
19129   while :; do
19130     cat >conftest.$ac_ext <<_ACEOF
19131 /* confdefs.h.  */
19132 _ACEOF
19133 cat confdefs.h >>conftest.$ac_ext
19134 cat >>conftest.$ac_ext <<_ACEOF
19135 /* end confdefs.h.  */
19136 $ac_includes_default
19137 int
19138 main ()
19139 {
19140 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= $ac_mid)];
19141 test_array [0] = 0
19142
19143   ;
19144   return 0;
19145 }
19146 _ACEOF
19147 rm -f conftest.$ac_objext
19148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19149   (eval $ac_compile) 2>conftest.er1
19150   ac_status=$?
19151   grep -v '^ *+' conftest.er1 >conftest.err
19152   rm -f conftest.er1
19153   cat conftest.err >&5
19154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19155   (exit $ac_status); } &&
19156          { ac_try='test -z "$ac_c_werror_flag"
19157                          || test ! -s conftest.err'
19158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19159   (eval $ac_try) 2>&5
19160   ac_status=$?
19161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19162   (exit $ac_status); }; } &&
19163          { ac_try='test -s conftest.$ac_objext'
19164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19165   (eval $ac_try) 2>&5
19166   ac_status=$?
19167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19168   (exit $ac_status); }; }; then
19169   ac_lo=$ac_mid; break
19170 else
19171   echo "$as_me: failed program was:" >&5
19172 sed 's/^/| /' conftest.$ac_ext >&5
19173
19174 ac_hi=`expr '(' $ac_mid ')' - 1`
19175                        if test $ac_mid -le $ac_hi; then
19176                          ac_lo= ac_hi=
19177                          break
19178                        fi
19179                        ac_mid=`expr 2 '*' $ac_mid`
19180 fi
19181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19182   done
19183 else
19184   echo "$as_me: failed program was:" >&5
19185 sed 's/^/| /' conftest.$ac_ext >&5
19186
19187 ac_lo= ac_hi=
19188 fi
19189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19190 fi
19191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19192 # Binary search between lo and hi bounds.
19193 while test "x$ac_lo" != "x$ac_hi"; do
19194   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19195   cat >conftest.$ac_ext <<_ACEOF
19196 /* confdefs.h.  */
19197 _ACEOF
19198 cat confdefs.h >>conftest.$ac_ext
19199 cat >>conftest.$ac_ext <<_ACEOF
19200 /* end confdefs.h.  */
19201 $ac_includes_default
19202 int
19203 main ()
19204 {
19205 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
19206 test_array [0] = 0
19207
19208   ;
19209   return 0;
19210 }
19211 _ACEOF
19212 rm -f conftest.$ac_objext
19213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19214   (eval $ac_compile) 2>conftest.er1
19215   ac_status=$?
19216   grep -v '^ *+' conftest.er1 >conftest.err
19217   rm -f conftest.er1
19218   cat conftest.err >&5
19219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19220   (exit $ac_status); } &&
19221          { ac_try='test -z "$ac_c_werror_flag"
19222                          || test ! -s conftest.err'
19223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19224   (eval $ac_try) 2>&5
19225   ac_status=$?
19226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19227   (exit $ac_status); }; } &&
19228          { ac_try='test -s conftest.$ac_objext'
19229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19230   (eval $ac_try) 2>&5
19231   ac_status=$?
19232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19233   (exit $ac_status); }; }; then
19234   ac_hi=$ac_mid
19235 else
19236   echo "$as_me: failed program was:" >&5
19237 sed 's/^/| /' conftest.$ac_ext >&5
19238
19239 ac_lo=`expr '(' $ac_mid ')' + 1`
19240 fi
19241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19242 done
19243 case $ac_lo in
19244 ?*) ac_cv_sizeof_voidp=$ac_lo;;
19245 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
19246 See \`config.log' for more details." >&5
19247 echo "$as_me: error: cannot compute sizeof (void*), 77
19248 See \`config.log' for more details." >&2;}
19249    { (exit 1); exit 1; }; } ;;
19250 esac
19251 else
19252   if test "$cross_compiling" = yes; then
19253   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19254 See \`config.log' for more details." >&5
19255 echo "$as_me: error: cannot run test program while cross compiling
19256 See \`config.log' for more details." >&2;}
19257    { (exit 1); exit 1; }; }
19258 else
19259   cat >conftest.$ac_ext <<_ACEOF
19260 /* confdefs.h.  */
19261 _ACEOF
19262 cat confdefs.h >>conftest.$ac_ext
19263 cat >>conftest.$ac_ext <<_ACEOF
19264 /* end confdefs.h.  */
19265 $ac_includes_default
19266 long longval () { return (long) (sizeof (void*)); }
19267 unsigned long ulongval () { return (long) (sizeof (void*)); }
19268 #include <stdio.h>
19269 #include <stdlib.h>
19270 int
19271 main ()
19272 {
19273
19274   FILE *f = fopen ("conftest.val", "w");
19275   if (! f)
19276     exit (1);
19277   if (((long) (sizeof (void*))) < 0)
19278     {
19279       long i = longval ();
19280       if (i != ((long) (sizeof (void*))))
19281         exit (1);
19282       fprintf (f, "%ld\n", i);
19283     }
19284   else
19285     {
19286       unsigned long i = ulongval ();
19287       if (i != ((long) (sizeof (void*))))
19288         exit (1);
19289       fprintf (f, "%lu\n", i);
19290     }
19291   exit (ferror (f) || fclose (f) != 0);
19292
19293   ;
19294   return 0;
19295 }
19296 _ACEOF
19297 rm -f conftest$ac_exeext
19298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19299   (eval $ac_link) 2>&5
19300   ac_status=$?
19301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19302   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19304   (eval $ac_try) 2>&5
19305   ac_status=$?
19306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19307   (exit $ac_status); }; }; then
19308   ac_cv_sizeof_voidp=`cat conftest.val`
19309 else
19310   echo "$as_me: program exited with status $ac_status" >&5
19311 echo "$as_me: failed program was:" >&5
19312 sed 's/^/| /' conftest.$ac_ext >&5
19313
19314 ( exit $ac_status )
19315 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
19316 See \`config.log' for more details." >&5
19317 echo "$as_me: error: cannot compute sizeof (void*), 77
19318 See \`config.log' for more details." >&2;}
19319    { (exit 1); exit 1; }; }
19320 fi
19321 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19322 fi
19323 fi
19324 rm -f conftest.val
19325 else
19326   ac_cv_sizeof_voidp=0
19327 fi
19328 fi
19329 echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5
19330 echo "${ECHO_T}$ac_cv_sizeof_voidp" >&6
19331 cat >>confdefs.h <<_ACEOF
19332 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
19333 _ACEOF
19334
19335
19336    ac_cv_char_data_model=""
19337    ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char"
19338    ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short"
19339    ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int"
19340    ac_cv_long_data_model=""
19341    ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int"
19342    ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long"
19343    ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
19344    echo "$as_me:$LINENO: checking data model" >&5
19345 echo $ECHO_N "checking data model... $ECHO_C" >&6
19346    case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
19347     122/242)     ac_cv_data_model="IP16"  ; n="standard 16bit machine" ;;
19348     122/244)     ac_cv_data_model="LP32"  ; n="standard 32bit machine" ;;
19349     122/*)       ac_cv_data_model="i16"   ; n="unusual int16 model" ;;
19350     124/444)     ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;;
19351     124/488)     ac_cv_data_model="LP64"  ; n="standard 64bit unixish" ;;
19352     124/448)     ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;;
19353     124/*)       ac_cv_data_model="i32"   ; n="unusual int32 model" ;;
19354     128/888)     ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;;
19355     128/*)       ac_cv_data_model="i64"   ; n="unusual int64 model" ;;
19356     222/*2)      ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;;
19357     333/*3)      ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;;
19358     444/*4)      ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;;
19359     666/*6)      ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;;
19360     888/*8)      ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;;
19361     222/*|333/*|444/*|666/*|888/*) :
19362                  ac_cv_data_model="iDSP"  ; n="unusual dsptype" ;;
19363      *)          ac_cv_data_model="none"  ; n="very unusual model" ;;
19364    esac
19365    echo "$as_me:$LINENO: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
19366 echo "${ECHO_T}$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6
19367
19368 fi
19369
19370 if test "_$ac_cv_header_stdint_x" != "_" ; then
19371    ac_cv_header_stdint="$ac_cv_header_stdint_x"
19372 elif  test "_$ac_cv_header_stdint_o" != "_" ; then
19373    ac_cv_header_stdint="$ac_cv_header_stdint_o"
19374 elif  test "_$ac_cv_header_stdint_u" != "_" ; then
19375    ac_cv_header_stdint="$ac_cv_header_stdint_u"
19376 else
19377    ac_cv_header_stdint="stddef.h"
19378 fi
19379
19380 echo "$as_me:$LINENO: checking for extra inttypes in chosen header" >&5
19381 echo $ECHO_N "checking for extra inttypes in chosen header... $ECHO_C" >&6
19382 echo "$as_me:$LINENO: result: ($ac_cv_header_stdint)" >&5
19383 echo "${ECHO_T}($ac_cv_header_stdint)" >&6
19384 unset ac_cv_type_int_least32_t
19385 unset ac_cv_type_int_fast32_t
19386 echo "$as_me:$LINENO: checking for int_least32_t" >&5
19387 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
19388 if test "${ac_cv_type_int_least32_t+set}" = set; then
19389   echo $ECHO_N "(cached) $ECHO_C" >&6
19390 else
19391   cat >conftest.$ac_ext <<_ACEOF
19392 /* confdefs.h.  */
19393 _ACEOF
19394 cat confdefs.h >>conftest.$ac_ext
19395 cat >>conftest.$ac_ext <<_ACEOF
19396 /* end confdefs.h.  */
19397 #include <$ac_cv_header_stdint>
19398
19399 int
19400 main ()
19401 {
19402 if ((int_least32_t *) 0)
19403   return 0;
19404 if (sizeof (int_least32_t))
19405   return 0;
19406   ;
19407   return 0;
19408 }
19409 _ACEOF
19410 rm -f conftest.$ac_objext
19411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19412   (eval $ac_compile) 2>conftest.er1
19413   ac_status=$?
19414   grep -v '^ *+' conftest.er1 >conftest.err
19415   rm -f conftest.er1
19416   cat conftest.err >&5
19417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19418   (exit $ac_status); } &&
19419          { ac_try='test -z "$ac_c_werror_flag"
19420                          || test ! -s conftest.err'
19421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19422   (eval $ac_try) 2>&5
19423   ac_status=$?
19424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19425   (exit $ac_status); }; } &&
19426          { ac_try='test -s conftest.$ac_objext'
19427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19428   (eval $ac_try) 2>&5
19429   ac_status=$?
19430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19431   (exit $ac_status); }; }; then
19432   ac_cv_type_int_least32_t=yes
19433 else
19434   echo "$as_me: failed program was:" >&5
19435 sed 's/^/| /' conftest.$ac_ext >&5
19436
19437 ac_cv_type_int_least32_t=no
19438 fi
19439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19440 fi
19441 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
19442 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
19443
19444 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
19445 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
19446 if test "${ac_cv_type_int_fast32_t+set}" = set; then
19447   echo $ECHO_N "(cached) $ECHO_C" >&6
19448 else
19449   cat >conftest.$ac_ext <<_ACEOF
19450 /* confdefs.h.  */
19451 _ACEOF
19452 cat confdefs.h >>conftest.$ac_ext
19453 cat >>conftest.$ac_ext <<_ACEOF
19454 /* end confdefs.h.  */
19455 #include<$ac_cv_header_stdint>
19456
19457 int
19458 main ()
19459 {
19460 if ((int_fast32_t *) 0)
19461   return 0;
19462 if (sizeof (int_fast32_t))
19463   return 0;
19464   ;
19465   return 0;
19466 }
19467 _ACEOF
19468 rm -f conftest.$ac_objext
19469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19470   (eval $ac_compile) 2>conftest.er1
19471   ac_status=$?
19472   grep -v '^ *+' conftest.er1 >conftest.err
19473   rm -f conftest.er1
19474   cat conftest.err >&5
19475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19476   (exit $ac_status); } &&
19477          { ac_try='test -z "$ac_c_werror_flag"
19478                          || test ! -s conftest.err'
19479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19480   (eval $ac_try) 2>&5
19481   ac_status=$?
19482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19483   (exit $ac_status); }; } &&
19484          { ac_try='test -s conftest.$ac_objext'
19485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19486   (eval $ac_try) 2>&5
19487   ac_status=$?
19488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19489   (exit $ac_status); }; }; then
19490   ac_cv_type_int_fast32_t=yes
19491 else
19492   echo "$as_me: failed program was:" >&5
19493 sed 's/^/| /' conftest.$ac_ext >&5
19494
19495 ac_cv_type_int_fast32_t=no
19496 fi
19497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19498 fi
19499 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
19500 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
19501
19502 echo "$as_me:$LINENO: checking for intmax_t" >&5
19503 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6
19504 if test "${ac_cv_type_intmax_t+set}" = set; then
19505   echo $ECHO_N "(cached) $ECHO_C" >&6
19506 else
19507   cat >conftest.$ac_ext <<_ACEOF
19508 /* confdefs.h.  */
19509 _ACEOF
19510 cat confdefs.h >>conftest.$ac_ext
19511 cat >>conftest.$ac_ext <<_ACEOF
19512 /* end confdefs.h.  */
19513 #include <$ac_cv_header_stdint>
19514
19515 int
19516 main ()
19517 {
19518 if ((intmax_t *) 0)
19519   return 0;
19520 if (sizeof (intmax_t))
19521   return 0;
19522   ;
19523   return 0;
19524 }
19525 _ACEOF
19526 rm -f conftest.$ac_objext
19527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19528   (eval $ac_compile) 2>conftest.er1
19529   ac_status=$?
19530   grep -v '^ *+' conftest.er1 >conftest.err
19531   rm -f conftest.er1
19532   cat conftest.err >&5
19533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19534   (exit $ac_status); } &&
19535          { ac_try='test -z "$ac_c_werror_flag"
19536                          || test ! -s conftest.err'
19537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19538   (eval $ac_try) 2>&5
19539   ac_status=$?
19540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19541   (exit $ac_status); }; } &&
19542          { ac_try='test -s conftest.$ac_objext'
19543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19544   (eval $ac_try) 2>&5
19545   ac_status=$?
19546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19547   (exit $ac_status); }; }; then
19548   ac_cv_type_intmax_t=yes
19549 else
19550   echo "$as_me: failed program was:" >&5
19551 sed 's/^/| /' conftest.$ac_ext >&5
19552
19553 ac_cv_type_intmax_t=no
19554 fi
19555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19556 fi
19557 echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5
19558 echo "${ECHO_T}$ac_cv_type_intmax_t" >&6
19559
19560
19561 fi # shortcircut to system "stdint.h"
19562 # ------------------ PREPARE VARIABLES ------------------------------
19563 if test "$GCC" = "yes" ; then
19564 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
19565 else
19566 ac_cv_stdint_message="using $CC"
19567 fi
19568
19569 echo "$as_me:$LINENO: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
19570 echo "${ECHO_T}make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6
19571
19572 # ----------------- DONE inttypes.h checks START header -------------
19573           ac_config_commands="$ac_config_commands $ac_stdint_h"
19574
19575
19576
19577
19578 # Check whether --with-glibj_zip or --without-glibj_zip was given.
19579 if test "${with_glibj_zip+set}" = set; then
19580   withval="$with_glibj_zip"
19581
19582 fi;
19583
19584 case "$with_glibj_zip" in
19585 "")
19586         use_glibj_zip=false
19587         ;;
19588 "no" )
19589         use_glibj_zip=false
19590         ;;
19591 "yes")
19592         { { echo "$as_me:$LINENO: error: Please suply an absolute path to a prebuilt glibj.zip" >&5
19593 echo "$as_me: error: Please suply an absolute path to a prebuilt glibj.zip" >&2;}
19594    { (exit 1); exit 1; }; }
19595         ;;
19596 *)
19597         use_glibj_zip=true
19598         PATH_TO_GLIBJ_ZIP=$with_glibj_zip
19599         ;;
19600 esac;
19601
19602
19603
19604 if test x$use_glibj_zip = xtrue; then
19605   USE_PREBUILT_GLIBJ_ZIP_TRUE=
19606   USE_PREBUILT_GLIBJ_ZIP_FALSE='#'
19607 else
19608   USE_PREBUILT_GLIBJ_ZIP_TRUE='#'
19609   USE_PREBUILT_GLIBJ_ZIP_FALSE=
19610 fi
19611
19612
19613
19614
19615 # Check whether --with-escher or --without-escher was given.
19616 if test "${with_escher+set}" = set; then
19617   withval="$with_escher"
19618
19619 fi;
19620 case "$with_escher" in
19621 "")
19622         use_escher=false
19623         ;;
19624 "no")
19625         use_escher=false
19626         ;;
19627 "yes")
19628         { { echo "$as_me:$LINENO: error: Please supply an absolute path to Escher library" >&5
19629 echo "$as_me: error: Please supply an absolute path to Escher library" >&2;}
19630    { (exit 1); exit 1; }; }
19631         ;;
19632 *)
19633         use_escher=true
19634         PATH_TO_ESCHER=$with_escher
19635         ;;
19636 esac
19637
19638
19639
19640 if test x$use_escher = xtrue; then
19641   USE_ESCHER_TRUE=
19642   USE_ESCHER_FALSE='#'
19643 else
19644   USE_ESCHER_TRUE='#'
19645   USE_ESCHER_FALSE=
19646 fi
19647
19648
19649
19650 # Check whether --enable-local-sockets or --disable-local-sockets was given.
19651 if test "${enable_local_sockets+set}" = set; then
19652   enableval="$enable_local_sockets"
19653   case "${enableval}" in
19654                 yes)
19655                   ENABLE_LOCAL_SOCKETS=yes
19656                   ;;
19657                 *)
19658                   ENABLE_LOCAL_SOCKETS=no
19659                   ;;
19660                esac
19661 fi;
19662 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"
19663 then
19664   if test "${ac_cv_header_sys_un_h+set}" = set; then
19665   echo "$as_me:$LINENO: checking for sys/un.h" >&5
19666 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
19667 if test "${ac_cv_header_sys_un_h+set}" = set; then
19668   echo $ECHO_N "(cached) $ECHO_C" >&6
19669 fi
19670 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
19671 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
19672 else
19673   # Is the header compilable?
19674 echo "$as_me:$LINENO: checking sys/un.h usability" >&5
19675 echo $ECHO_N "checking sys/un.h usability... $ECHO_C" >&6
19676 cat >conftest.$ac_ext <<_ACEOF
19677 /* confdefs.h.  */
19678 _ACEOF
19679 cat confdefs.h >>conftest.$ac_ext
19680 cat >>conftest.$ac_ext <<_ACEOF
19681 /* end confdefs.h.  */
19682 $ac_includes_default
19683 #include <sys/un.h>
19684 _ACEOF
19685 rm -f conftest.$ac_objext
19686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19687   (eval $ac_compile) 2>conftest.er1
19688   ac_status=$?
19689   grep -v '^ *+' conftest.er1 >conftest.err
19690   rm -f conftest.er1
19691   cat conftest.err >&5
19692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19693   (exit $ac_status); } &&
19694          { ac_try='test -z "$ac_c_werror_flag"
19695                          || test ! -s conftest.err'
19696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19697   (eval $ac_try) 2>&5
19698   ac_status=$?
19699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19700   (exit $ac_status); }; } &&
19701          { ac_try='test -s conftest.$ac_objext'
19702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19703   (eval $ac_try) 2>&5
19704   ac_status=$?
19705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19706   (exit $ac_status); }; }; then
19707   ac_header_compiler=yes
19708 else
19709   echo "$as_me: failed program was:" >&5
19710 sed 's/^/| /' conftest.$ac_ext >&5
19711
19712 ac_header_compiler=no
19713 fi
19714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19715 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19716 echo "${ECHO_T}$ac_header_compiler" >&6
19717
19718 # Is the header present?
19719 echo "$as_me:$LINENO: checking sys/un.h presence" >&5
19720 echo $ECHO_N "checking sys/un.h presence... $ECHO_C" >&6
19721 cat >conftest.$ac_ext <<_ACEOF
19722 /* confdefs.h.  */
19723 _ACEOF
19724 cat confdefs.h >>conftest.$ac_ext
19725 cat >>conftest.$ac_ext <<_ACEOF
19726 /* end confdefs.h.  */
19727 #include <sys/un.h>
19728 _ACEOF
19729 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19730   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19731   ac_status=$?
19732   grep -v '^ *+' conftest.er1 >conftest.err
19733   rm -f conftest.er1
19734   cat conftest.err >&5
19735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19736   (exit $ac_status); } >/dev/null; then
19737   if test -s conftest.err; then
19738     ac_cpp_err=$ac_c_preproc_warn_flag
19739     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19740   else
19741     ac_cpp_err=
19742   fi
19743 else
19744   ac_cpp_err=yes
19745 fi
19746 if test -z "$ac_cpp_err"; then
19747   ac_header_preproc=yes
19748 else
19749   echo "$as_me: failed program was:" >&5
19750 sed 's/^/| /' conftest.$ac_ext >&5
19751
19752   ac_header_preproc=no
19753 fi
19754 rm -f conftest.err conftest.$ac_ext
19755 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19756 echo "${ECHO_T}$ac_header_preproc" >&6
19757
19758 # So?  What about this header?
19759 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19760   yes:no: )
19761     { echo "$as_me:$LINENO: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&5
19762 echo "$as_me: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19763     { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the compiler's result" >&5
19764 echo "$as_me: WARNING: sys/un.h: proceeding with the compiler's result" >&2;}
19765     ac_header_preproc=yes
19766     ;;
19767   no:yes:* )
19768     { echo "$as_me:$LINENO: WARNING: sys/un.h: present but cannot be compiled" >&5
19769 echo "$as_me: WARNING: sys/un.h: present but cannot be compiled" >&2;}
19770     { echo "$as_me:$LINENO: WARNING: sys/un.h:     check for missing prerequisite headers?" >&5
19771 echo "$as_me: WARNING: sys/un.h:     check for missing prerequisite headers?" >&2;}
19772     { echo "$as_me:$LINENO: WARNING: sys/un.h: see the Autoconf documentation" >&5
19773 echo "$as_me: WARNING: sys/un.h: see the Autoconf documentation" >&2;}
19774     { echo "$as_me:$LINENO: WARNING: sys/un.h:     section \"Present But Cannot Be Compiled\"" >&5
19775 echo "$as_me: WARNING: sys/un.h:     section \"Present But Cannot Be Compiled\"" >&2;}
19776     { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the preprocessor's result" >&5
19777 echo "$as_me: WARNING: sys/un.h: proceeding with the preprocessor's result" >&2;}
19778     { echo "$as_me:$LINENO: WARNING: sys/un.h: in the future, the compiler will take precedence" >&5
19779 echo "$as_me: WARNING: sys/un.h: in the future, the compiler will take precedence" >&2;}
19780     (
19781       cat <<\_ASBOX
19782 ## -------------------------------- ##
19783 ## Report this to classpath@gnu.org ##
19784 ## -------------------------------- ##
19785 _ASBOX
19786     ) |
19787       sed "s/^/$as_me: WARNING:     /" >&2
19788     ;;
19789 esac
19790 echo "$as_me:$LINENO: checking for sys/un.h" >&5
19791 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
19792 if test "${ac_cv_header_sys_un_h+set}" = set; then
19793   echo $ECHO_N "(cached) $ECHO_C" >&6
19794 else
19795   ac_cv_header_sys_un_h=$ac_header_preproc
19796 fi
19797 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
19798 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
19799
19800 fi
19801
19802
19803
19804
19805
19806
19807
19808
19809 for ac_func in read write bind listen accept shutdown
19810 do
19811 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19812 echo "$as_me:$LINENO: checking for $ac_func" >&5
19813 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19814 if eval "test \"\${$as_ac_var+set}\" = set"; then
19815   echo $ECHO_N "(cached) $ECHO_C" >&6
19816 else
19817   if test x$gcc_no_link = xyes; then
19818   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19819 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19820    { (exit 1); exit 1; }; }
19821 fi
19822 cat >conftest.$ac_ext <<_ACEOF
19823 /* confdefs.h.  */
19824 _ACEOF
19825 cat confdefs.h >>conftest.$ac_ext
19826 cat >>conftest.$ac_ext <<_ACEOF
19827 /* end confdefs.h.  */
19828 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19829    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19830 #define $ac_func innocuous_$ac_func
19831
19832 /* System header to define __stub macros and hopefully few prototypes,
19833     which can conflict with char $ac_func (); below.
19834     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19835     <limits.h> exists even on freestanding compilers.  */
19836
19837 #ifdef __STDC__
19838 # include <limits.h>
19839 #else
19840 # include <assert.h>
19841 #endif
19842
19843 #undef $ac_func
19844
19845 /* Override any gcc2 internal prototype to avoid an error.  */
19846 #ifdef __cplusplus
19847 extern "C"
19848 {
19849 #endif
19850 /* We use char because int might match the return type of a gcc2
19851    builtin and then its argument prototype would still apply.  */
19852 char $ac_func ();
19853 /* The GNU C library defines this for functions which it implements
19854     to always fail with ENOSYS.  Some functions are actually named
19855     something starting with __ and the normal name is an alias.  */
19856 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19857 choke me
19858 #else
19859 char (*f) () = $ac_func;
19860 #endif
19861 #ifdef __cplusplus
19862 }
19863 #endif
19864
19865 int
19866 main ()
19867 {
19868 return f != $ac_func;
19869   ;
19870   return 0;
19871 }
19872 _ACEOF
19873 rm -f conftest.$ac_objext conftest$ac_exeext
19874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19875   (eval $ac_link) 2>conftest.er1
19876   ac_status=$?
19877   grep -v '^ *+' conftest.er1 >conftest.err
19878   rm -f conftest.er1
19879   cat conftest.err >&5
19880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19881   (exit $ac_status); } &&
19882          { ac_try='test -z "$ac_c_werror_flag"
19883                          || test ! -s conftest.err'
19884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19885   (eval $ac_try) 2>&5
19886   ac_status=$?
19887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19888   (exit $ac_status); }; } &&
19889          { ac_try='test -s conftest$ac_exeext'
19890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19891   (eval $ac_try) 2>&5
19892   ac_status=$?
19893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19894   (exit $ac_status); }; }; then
19895   eval "$as_ac_var=yes"
19896 else
19897   echo "$as_me: failed program was:" >&5
19898 sed 's/^/| /' conftest.$ac_ext >&5
19899
19900 eval "$as_ac_var=no"
19901 fi
19902 rm -f conftest.err conftest.$ac_objext \
19903       conftest$ac_exeext conftest.$ac_ext
19904 fi
19905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19906 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19907 if test `eval echo '${'$as_ac_var'}'` = yes; then
19908   cat >>confdefs.h <<_ACEOF
19909 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19910 _ACEOF
19911
19912 else
19913   { { echo "$as_me:$LINENO: error: networking support not available" >&5
19914 echo "$as_me: error: networking support not available" >&2;}
19915    { (exit 1); exit 1; }; }
19916 fi
19917 done
19918
19919
19920 cat >>confdefs.h <<\_ACEOF
19921 #define ENABLE_LOCAL_SOCKETS 1
19922 _ACEOF
19923
19924 fi
19925
19926
19927 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"; then
19928   ENABLE_LOCAL_SOCKETS_TRUE=
19929   ENABLE_LOCAL_SOCKETS_FALSE='#'
19930 else
19931   ENABLE_LOCAL_SOCKETS_TRUE='#'
19932   ENABLE_LOCAL_SOCKETS_FALSE=
19933 fi
19934
19935
19936
19937
19938                                                                                                                                                                                                                                                                                                                                                                                                                 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"
19939
19940
19941 if test "x${COMPILE_WRAPPERS}" = xno
19942 then
19943                                                                                                                         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"
19944
19945           ac_config_commands="$ac_config_commands gappletviewer"
19946
19947           ac_config_commands="$ac_config_commands gjarsigner"
19948
19949           ac_config_commands="$ac_config_commands gkeytool"
19950
19951           ac_config_commands="$ac_config_commands gjar"
19952
19953           ac_config_commands="$ac_config_commands gnative2ascii"
19954
19955           ac_config_commands="$ac_config_commands gserialver"
19956
19957           ac_config_commands="$ac_config_commands grmiregistry"
19958
19959           ac_config_commands="$ac_config_commands gtnameserv"
19960
19961           ac_config_commands="$ac_config_commands gorbd"
19962
19963           ac_config_commands="$ac_config_commands grmid"
19964
19965           ac_config_commands="$ac_config_commands grmic"
19966
19967           ac_config_commands="$ac_config_commands gjavah"
19968
19969 fi
19970
19971           ac_config_commands="$ac_config_commands gen-classlist"
19972
19973           ac_config_commands="$ac_config_commands copy-vmresources"
19974
19975 cat >confcache <<\_ACEOF
19976 # This file is a shell script that caches the results of configure
19977 # tests run on this system so they can be shared between configure
19978 # scripts and configure runs, see configure's option --config-cache.
19979 # It is not useful on other systems.  If it contains results you don't
19980 # want to keep, you may remove or edit it.
19981 #
19982 # config.status only pays attention to the cache file if you give it
19983 # the --recheck option to rerun configure.
19984 #
19985 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19986 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19987 # following values.
19988
19989 _ACEOF
19990
19991 # The following way of writing the cache mishandles newlines in values,
19992 # but we know of no workaround that is simple, portable, and efficient.
19993 # So, don't put newlines in cache variables' values.
19994 # Ultrix sh set writes to stderr and can't be redirected directly,
19995 # and sets the high bit in the cache file unless we assign to the vars.
19996 {
19997   (set) 2>&1 |
19998     case `(ac_space=' '; set | grep ac_space) 2>&1` in
19999     *ac_space=\ *)
20000       # `set' does not quote correctly, so add quotes (double-quote
20001       # substitution turns \\\\ into \\, and sed turns \\ into \).
20002       sed -n \
20003         "s/'/'\\\\''/g;
20004           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20005       ;;
20006     *)
20007       # `set' quotes correctly as required by POSIX, so do not add quotes.
20008       sed -n \
20009         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20010       ;;
20011     esac;
20012 } |
20013   sed '
20014      t clear
20015      : clear
20016      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20017      t end
20018      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20019      : end' >>confcache
20020 if diff $cache_file confcache >/dev/null 2>&1; then :; else
20021   if test -w $cache_file; then
20022     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20023     cat confcache >$cache_file
20024   else
20025     echo "not updating unwritable cache $cache_file"
20026   fi
20027 fi
20028 rm -f confcache
20029
20030 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20031 # Let make expand exec_prefix.
20032 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20033
20034 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20035 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20036 # trailing colons and then remove the whole line if VPATH becomes empty
20037 # (actually we leave an empty line to preserve line numbers).
20038 if test "x$srcdir" = x.; then
20039   ac_vpsub='/^[  ]*VPATH[        ]*=/{
20040 s/:*\$(srcdir):*/:/;
20041 s/:*\${srcdir}:*/:/;
20042 s/:*@srcdir@:*/:/;
20043 s/^\([^=]*=[     ]*\):*/\1/;
20044 s/:*$//;
20045 s/^[^=]*=[       ]*$//;
20046 }'
20047 fi
20048
20049 DEFS=-DHAVE_CONFIG_H
20050
20051 ac_libobjs=
20052 ac_ltlibobjs=
20053 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20054   # 1. Remove the extension, and $U if already installed.
20055   ac_i=`echo "$ac_i" |
20056          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20057   # 2. Add them.
20058   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
20059   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
20060 done
20061 LIBOBJS=$ac_libobjs
20062
20063 LTLIBOBJS=$ac_ltlibobjs
20064
20065
20066 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
20067   { { echo "$as_me:$LINENO: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
20068 Usually this means the macro was only invoked conditionally." >&5
20069 echo "$as_me: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
20070 Usually this means the macro was only invoked conditionally." >&2;}
20071    { (exit 1); exit 1; }; }
20072 fi
20073 if test -z "${CREATE_COLLECTIONS_TRUE}" && test -z "${CREATE_COLLECTIONS_FALSE}"; then
20074   { { echo "$as_me:$LINENO: error: conditional \"CREATE_COLLECTIONS\" was never defined.
20075 Usually this means the macro was only invoked conditionally." >&5
20076 echo "$as_me: error: conditional \"CREATE_COLLECTIONS\" was never defined.
20077 Usually this means the macro was only invoked conditionally." >&2;}
20078    { (exit 1); exit 1; }; }
20079 fi
20080 if test -z "${CREATE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_JNI_LIBRARIES_FALSE}"; then
20081   { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
20082 Usually this means the macro was only invoked conditionally." >&5
20083 echo "$as_me: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
20084 Usually this means the macro was only invoked conditionally." >&2;}
20085    { (exit 1); exit 1; }; }
20086 fi
20087 if test -z "${CREATE_CORE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_CORE_JNI_LIBRARIES_FALSE}"; then
20088   { { echo "$as_me:$LINENO: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
20089 Usually this means the macro was only invoked conditionally." >&5
20090 echo "$as_me: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
20091 Usually this means the macro was only invoked conditionally." >&2;}
20092    { (exit 1); exit 1; }; }
20093 fi
20094 if test -z "${CREATE_GCONF_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GCONF_PEER_LIBRARIES_FALSE}"; then
20095   { { echo "$as_me:$LINENO: error: conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
20096 Usually this means the macro was only invoked conditionally." >&5
20097 echo "$as_me: error: conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
20098 Usually this means the macro was only invoked conditionally." >&2;}
20099    { (exit 1); exit 1; }; }
20100 fi
20101 if test -z "${CREATE_XMLJ_LIBRARY_TRUE}" && test -z "${CREATE_XMLJ_LIBRARY_FALSE}"; then
20102   { { echo "$as_me:$LINENO: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
20103 Usually this means the macro was only invoked conditionally." >&5
20104 echo "$as_me: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
20105 Usually this means the macro was only invoked conditionally." >&2;}
20106    { (exit 1); exit 1; }; }
20107 fi
20108 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20109   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20110 Usually this means the macro was only invoked conditionally." >&5
20111 echo "$as_me: error: conditional \"AMDEP\" was never defined.
20112 Usually this means the macro was only invoked conditionally." >&2;}
20113    { (exit 1); exit 1; }; }
20114 fi
20115 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20116   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20117 Usually this means the macro was only invoked conditionally." >&5
20118 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20119 Usually this means the macro was only invoked conditionally." >&2;}
20120    { (exit 1); exit 1; }; }
20121 fi
20122 if test -z "${CREATE_ALSA_LIBRARIES_TRUE}" && test -z "${CREATE_ALSA_LIBRARIES_FALSE}"; then
20123   { { echo "$as_me:$LINENO: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
20124 Usually this means the macro was only invoked conditionally." >&5
20125 echo "$as_me: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
20126 Usually this means the macro was only invoked conditionally." >&2;}
20127    { (exit 1); exit 1; }; }
20128 fi
20129 if test -z "${CREATE_DSSI_LIBRARIES_TRUE}" && test -z "${CREATE_DSSI_LIBRARIES_FALSE}"; then
20130   { { echo "$as_me:$LINENO: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
20131 Usually this means the macro was only invoked conditionally." >&5
20132 echo "$as_me: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
20133 Usually this means the macro was only invoked conditionally." >&2;}
20134    { (exit 1); exit 1; }; }
20135 fi
20136 if test -z "${CREATE_GTK_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GTK_PEER_LIBRARIES_FALSE}"; then
20137   { { echo "$as_me:$LINENO: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
20138 Usually this means the macro was only invoked conditionally." >&5
20139 echo "$as_me: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
20140 Usually this means the macro was only invoked conditionally." >&2;}
20141    { (exit 1); exit 1; }; }
20142 fi
20143 if test -z "${CREATE_QT_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_QT_PEER_LIBRARIES_FALSE}"; then
20144   { { echo "$as_me:$LINENO: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
20145 Usually this means the macro was only invoked conditionally." >&5
20146 echo "$as_me: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
20147 Usually this means the macro was only invoked conditionally." >&2;}
20148    { (exit 1); exit 1; }; }
20149 fi
20150 if test -z "${CREATE_PLUGIN_TRUE}" && test -z "${CREATE_PLUGIN_FALSE}"; then
20151   { { echo "$as_me:$LINENO: error: conditional \"CREATE_PLUGIN\" was never defined.
20152 Usually this means the macro was only invoked conditionally." >&5
20153 echo "$as_me: error: conditional \"CREATE_PLUGIN\" was never defined.
20154 Usually this means the macro was only invoked conditionally." >&2;}
20155    { (exit 1); exit 1; }; }
20156 fi
20157 if test -z "${FOUND_CACAO_TRUE}" && test -z "${FOUND_CACAO_FALSE}"; then
20158   { { echo "$as_me:$LINENO: error: conditional \"FOUND_CACAO\" was never defined.
20159 Usually this means the macro was only invoked conditionally." >&5
20160 echo "$as_me: error: conditional \"FOUND_CACAO\" was never defined.
20161 Usually this means the macro was only invoked conditionally." >&2;}
20162    { (exit 1); exit 1; }; }
20163 fi
20164 if test -z "${CREATE_JNI_HEADERS_TRUE}" && test -z "${CREATE_JNI_HEADERS_FALSE}"; then
20165   { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
20166 Usually this means the macro was only invoked conditionally." >&5
20167 echo "$as_me: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
20168 Usually this means the macro was only invoked conditionally." >&2;}
20169    { (exit 1); exit 1; }; }
20170 fi
20171 if test -z "${CREATE_WRAPPERS_TRUE}" && test -z "${CREATE_WRAPPERS_FALSE}"; then
20172   { { echo "$as_me:$LINENO: error: conditional \"CREATE_WRAPPERS\" was never defined.
20173 Usually this means the macro was only invoked conditionally." >&5
20174 echo "$as_me: error: conditional \"CREATE_WRAPPERS\" was never defined.
20175 Usually this means the macro was only invoked conditionally." >&2;}
20176    { (exit 1); exit 1; }; }
20177 fi
20178 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20179   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20180 Usually this means the macro was only invoked conditionally." >&5
20181 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20182 Usually this means the macro was only invoked conditionally." >&2;}
20183    { (exit 1); exit 1; }; }
20184 fi
20185 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20186   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
20187 Usually this means the macro was only invoked conditionally." >&5
20188 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
20189 Usually this means the macro was only invoked conditionally." >&2;}
20190    { (exit 1); exit 1; }; }
20191 fi
20192 if test -z "${USER_SPECIFIED_JAVAH_TRUE}" && test -z "${USER_SPECIFIED_JAVAH_FALSE}"; then
20193   { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
20194 Usually this means the macro was only invoked conditionally." >&5
20195 echo "$as_me: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
20196 Usually this means the macro was only invoked conditionally." >&2;}
20197    { (exit 1); exit 1; }; }
20198 fi
20199 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
20200   { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
20201 Usually this means the macro was only invoked conditionally." >&5
20202 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
20203 Usually this means the macro was only invoked conditionally." >&2;}
20204    { (exit 1); exit 1; }; }
20205 fi
20206 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
20207   { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
20208 Usually this means the macro was only invoked conditionally." >&5
20209 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
20210 Usually this means the macro was only invoked conditionally." >&2;}
20211    { (exit 1); exit 1; }; }
20212 fi
20213 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
20214   { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
20215 Usually this means the macro was only invoked conditionally." >&5
20216 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
20217 Usually this means the macro was only invoked conditionally." >&2;}
20218    { (exit 1); exit 1; }; }
20219 fi
20220 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
20221   { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
20222 Usually this means the macro was only invoked conditionally." >&5
20223 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
20224 Usually this means the macro was only invoked conditionally." >&2;}
20225    { (exit 1); exit 1; }; }
20226 fi
20227 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
20228   { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
20229 Usually this means the macro was only invoked conditionally." >&5
20230 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
20231 Usually this means the macro was only invoked conditionally." >&2;}
20232    { (exit 1); exit 1; }; }
20233 fi
20234 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
20235   { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
20236 Usually this means the macro was only invoked conditionally." >&5
20237 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
20238 Usually this means the macro was only invoked conditionally." >&2;}
20239    { (exit 1); exit 1; }; }
20240 fi
20241 if test -z "${FOUND_KJC_TRUE}" && test -z "${FOUND_KJC_FALSE}"; then
20242   { { echo "$as_me:$LINENO: error: conditional \"FOUND_KJC\" was never defined.
20243 Usually this means the macro was only invoked conditionally." >&5
20244 echo "$as_me: error: conditional \"FOUND_KJC\" was never defined.
20245 Usually this means the macro was only invoked conditionally." >&2;}
20246    { (exit 1); exit 1; }; }
20247 fi
20248 if test -z "${FOUND_GCJX_TRUE}" && test -z "${FOUND_GCJX_FALSE}"; then
20249   { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJX\" was never defined.
20250 Usually this means the macro was only invoked conditionally." >&5
20251 echo "$as_me: error: conditional \"FOUND_GCJX\" was never defined.
20252 Usually this means the macro was only invoked conditionally." >&2;}
20253    { (exit 1); exit 1; }; }
20254 fi
20255 if test -z "${USER_SPECIFIED_CLASSLIB_TRUE}" && test -z "${USER_SPECIFIED_CLASSLIB_FALSE}"; then
20256   { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
20257 Usually this means the macro was only invoked conditionally." >&5
20258 echo "$as_me: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
20259 Usually this means the macro was only invoked conditionally." >&2;}
20260    { (exit 1); exit 1; }; }
20261 fi
20262 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
20263   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
20264 Usually this means the macro was only invoked conditionally." >&5
20265 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
20266 Usually this means the macro was only invoked conditionally." >&2;}
20267    { (exit 1); exit 1; }; }
20268 fi
20269 if test -z "${INSTALL_GLIBJ_ZIP_TRUE}" && test -z "${INSTALL_GLIBJ_ZIP_FALSE}"; then
20270   { { echo "$as_me:$LINENO: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
20271 Usually this means the macro was only invoked conditionally." >&5
20272 echo "$as_me: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
20273 Usually this means the macro was only invoked conditionally." >&2;}
20274    { (exit 1); exit 1; }; }
20275 fi
20276 if test -z "${INSTALL_CLASS_FILES_TRUE}" && test -z "${INSTALL_CLASS_FILES_FALSE}"; then
20277   { { echo "$as_me:$LINENO: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
20278 Usually this means the macro was only invoked conditionally." >&5
20279 echo "$as_me: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
20280 Usually this means the macro was only invoked conditionally." >&2;}
20281    { (exit 1); exit 1; }; }
20282 fi
20283 if test -z "${BUILD_CLASS_FILES_TRUE}" && test -z "${BUILD_CLASS_FILES_FALSE}"; then
20284   { { echo "$as_me:$LINENO: error: conditional \"BUILD_CLASS_FILES\" was never defined.
20285 Usually this means the macro was only invoked conditionally." >&5
20286 echo "$as_me: error: conditional \"BUILD_CLASS_FILES\" was never defined.
20287 Usually this means the macro was only invoked conditionally." >&2;}
20288    { (exit 1); exit 1; }; }
20289 fi
20290 if test -z "${CREATE_API_DOCS_TRUE}" && test -z "${CREATE_API_DOCS_FALSE}"; then
20291   { { echo "$as_me:$LINENO: error: conditional \"CREATE_API_DOCS\" was never defined.
20292 Usually this means the macro was only invoked conditionally." >&5
20293 echo "$as_me: error: conditional \"CREATE_API_DOCS\" was never defined.
20294 Usually this means the macro was only invoked conditionally." >&2;}
20295    { (exit 1); exit 1; }; }
20296 fi
20297 if test -z "${REGEN_PARSERS_TRUE}" && test -z "${REGEN_PARSERS_FALSE}"; then
20298   { { echo "$as_me:$LINENO: error: conditional \"REGEN_PARSERS\" was never defined.
20299 Usually this means the macro was only invoked conditionally." >&5
20300 echo "$as_me: error: conditional \"REGEN_PARSERS\" was never defined.
20301 Usually this means the macro was only invoked conditionally." >&2;}
20302    { (exit 1); exit 1; }; }
20303 fi
20304 if test -z "${USE_PREBUILT_GLIBJ_ZIP_TRUE}" && test -z "${USE_PREBUILT_GLIBJ_ZIP_FALSE}"; then
20305   { { echo "$as_me:$LINENO: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
20306 Usually this means the macro was only invoked conditionally." >&5
20307 echo "$as_me: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
20308 Usually this means the macro was only invoked conditionally." >&2;}
20309    { (exit 1); exit 1; }; }
20310 fi
20311 if test -z "${USE_ESCHER_TRUE}" && test -z "${USE_ESCHER_FALSE}"; then
20312   { { echo "$as_me:$LINENO: error: conditional \"USE_ESCHER\" was never defined.
20313 Usually this means the macro was only invoked conditionally." >&5
20314 echo "$as_me: error: conditional \"USE_ESCHER\" was never defined.
20315 Usually this means the macro was only invoked conditionally." >&2;}
20316    { (exit 1); exit 1; }; }
20317 fi
20318 if test -z "${ENABLE_LOCAL_SOCKETS_TRUE}" && test -z "${ENABLE_LOCAL_SOCKETS_FALSE}"; then
20319   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
20320 Usually this means the macro was only invoked conditionally." >&5
20321 echo "$as_me: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
20322 Usually this means the macro was only invoked conditionally." >&2;}
20323    { (exit 1); exit 1; }; }
20324 fi
20325
20326 : ${CONFIG_STATUS=./config.status}
20327 ac_clean_files_save=$ac_clean_files
20328 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20329 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20330 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20331 cat >$CONFIG_STATUS <<_ACEOF
20332 #! $SHELL
20333 # Generated by $as_me.
20334 # Run this file to recreate the current configuration.
20335 # Compiler output produced by configure, useful for debugging
20336 # configure, is in config.log if it exists.
20337
20338 debug=false
20339 ac_cs_recheck=false
20340 ac_cs_silent=false
20341 SHELL=\${CONFIG_SHELL-$SHELL}
20342 _ACEOF
20343
20344 cat >>$CONFIG_STATUS <<\_ACEOF
20345 ## --------------------- ##
20346 ## M4sh Initialization.  ##
20347 ## --------------------- ##
20348
20349 # Be Bourne compatible
20350 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20351   emulate sh
20352   NULLCMD=:
20353   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20354   # is contrary to our usage.  Disable this feature.
20355   alias -g '${1+"$@"}'='"$@"'
20356 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20357   set -o posix
20358 fi
20359 DUALCASE=1; export DUALCASE # for MKS sh
20360
20361 # Support unset when possible.
20362 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20363   as_unset=unset
20364 else
20365   as_unset=false
20366 fi
20367
20368
20369 # Work around bugs in pre-3.0 UWIN ksh.
20370 $as_unset ENV MAIL MAILPATH
20371 PS1='$ '
20372 PS2='> '
20373 PS4='+ '
20374
20375 # NLS nuisances.
20376 for as_var in \
20377   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20378   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20379   LC_TELEPHONE LC_TIME
20380 do
20381   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20382     eval $as_var=C; export $as_var
20383   else
20384     $as_unset $as_var
20385   fi
20386 done
20387
20388 # Required to use basename.
20389 if expr a : '\(a\)' >/dev/null 2>&1; then
20390   as_expr=expr
20391 else
20392   as_expr=false
20393 fi
20394
20395 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
20396   as_basename=basename
20397 else
20398   as_basename=false
20399 fi
20400
20401
20402 # Name of the executable.
20403 as_me=`$as_basename "$0" ||
20404 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20405          X"$0" : 'X\(//\)$' \| \
20406          X"$0" : 'X\(/\)$' \| \
20407          .     : '\(.\)' 2>/dev/null ||
20408 echo X/"$0" |
20409     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20410           /^X\/\(\/\/\)$/{ s//\1/; q; }
20411           /^X\/\(\/\).*/{ s//\1/; q; }
20412           s/.*/./; q'`
20413
20414
20415 # PATH needs CR, and LINENO needs CR and PATH.
20416 # Avoid depending upon Character Ranges.
20417 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20420 as_cr_digits='0123456789'
20421 as_cr_alnum=$as_cr_Letters$as_cr_digits
20422
20423 # The user is always right.
20424 if test "${PATH_SEPARATOR+set}" != set; then
20425   echo "#! /bin/sh" >conf$$.sh
20426   echo  "exit 0"   >>conf$$.sh
20427   chmod +x conf$$.sh
20428   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20429     PATH_SEPARATOR=';'
20430   else
20431     PATH_SEPARATOR=:
20432   fi
20433   rm -f conf$$.sh
20434 fi
20435
20436
20437   as_lineno_1=$LINENO
20438   as_lineno_2=$LINENO
20439   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20440   test "x$as_lineno_1" != "x$as_lineno_2" &&
20441   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
20442   # Find who we are.  Look in the path if we contain no path at all
20443   # relative or not.
20444   case $0 in
20445     *[\\/]* ) as_myself=$0 ;;
20446     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20447 for as_dir in $PATH
20448 do
20449   IFS=$as_save_IFS
20450   test -z "$as_dir" && as_dir=.
20451   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20452 done
20453
20454        ;;
20455   esac
20456   # We did not find ourselves, most probably we were run as `sh COMMAND'
20457   # in which case we are not to be found in the path.
20458   if test "x$as_myself" = x; then
20459     as_myself=$0
20460   fi
20461   if test ! -f "$as_myself"; then
20462     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20463 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20464    { (exit 1); exit 1; }; }
20465   fi
20466   case $CONFIG_SHELL in
20467   '')
20468     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20469 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
20470 do
20471   IFS=$as_save_IFS
20472   test -z "$as_dir" && as_dir=.
20473   for as_base in sh bash ksh sh5; do
20474          case $as_dir in
20475          /*)
20476            if ("$as_dir/$as_base" -c '
20477   as_lineno_1=$LINENO
20478   as_lineno_2=$LINENO
20479   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20480   test "x$as_lineno_1" != "x$as_lineno_2" &&
20481   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
20482              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
20483              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
20484              CONFIG_SHELL=$as_dir/$as_base
20485              export CONFIG_SHELL
20486              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20487            fi;;
20488          esac
20489        done
20490 done
20491 ;;
20492   esac
20493
20494   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20495   # uniformly replaced by the line number.  The first 'sed' inserts a
20496   # line-number line before each line; the second 'sed' does the real
20497   # work.  The second script uses 'N' to pair each line-number line
20498   # with the numbered line, and appends trailing '-' during
20499   # substitution so that $LINENO is not a special case at line end.
20500   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20501   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
20502   sed '=' <$as_myself |
20503     sed '
20504       N
20505       s,$,-,
20506       : loop
20507       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20508       t loop
20509       s,-$,,
20510       s,^['$as_cr_digits']*\n,,
20511     ' >$as_me.lineno &&
20512   chmod +x $as_me.lineno ||
20513     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20514 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20515    { (exit 1); exit 1; }; }
20516
20517   # Don't try to exec as it changes $[0], causing all sort of problems
20518   # (the dirname of $[0] is not the place where we might find the
20519   # original and so on.  Autoconf is especially sensible to this).
20520   . ./$as_me.lineno
20521   # Exit status is that of the last command.
20522   exit
20523 }
20524
20525
20526 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20527   *c*,-n*) ECHO_N= ECHO_C='
20528 ' ECHO_T='      ' ;;
20529   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
20530   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
20531 esac
20532
20533 if expr a : '\(a\)' >/dev/null 2>&1; then
20534   as_expr=expr
20535 else
20536   as_expr=false
20537 fi
20538
20539 rm -f conf$$ conf$$.exe conf$$.file
20540 echo >conf$$.file
20541 if ln -s conf$$.file conf$$ 2>/dev/null; then
20542   # We could just check for DJGPP; but this test a) works b) is more generic
20543   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20544   if test -f conf$$.exe; then
20545     # Don't use ln at all; we don't have any links
20546     as_ln_s='cp -p'
20547   else
20548     as_ln_s='ln -s'
20549   fi
20550 elif ln conf$$.file conf$$ 2>/dev/null; then
20551   as_ln_s=ln
20552 else
20553   as_ln_s='cp -p'
20554 fi
20555 rm -f conf$$ conf$$.exe conf$$.file
20556
20557 if mkdir -p . 2>/dev/null; then
20558   as_mkdir_p=:
20559 else
20560   test -d ./-p && rmdir ./-p
20561   as_mkdir_p=false
20562 fi
20563
20564 as_executable_p="test -f"
20565
20566 # Sed expression to map a string onto a valid CPP name.
20567 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20568
20569 # Sed expression to map a string onto a valid variable name.
20570 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20571
20572
20573 # IFS
20574 # We need space, tab and new line, in precisely that order.
20575 as_nl='
20576 '
20577 IFS="   $as_nl"
20578
20579 # CDPATH.
20580 $as_unset CDPATH
20581
20582 exec 6>&1
20583
20584 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20585 # report actual input values of CONFIG_FILES etc. instead of their
20586 # values after options handling.  Logging --version etc. is OK.
20587 exec 5>>config.log
20588 {
20589   echo
20590   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20591 ## Running $as_me. ##
20592 _ASBOX
20593 } >&5
20594 cat >&5 <<_CSEOF
20595
20596 This file was extended by GNU Classpath $as_me 0.94-pre, which was
20597 generated by GNU Autoconf 2.59.  Invocation command line was
20598
20599   CONFIG_FILES    = $CONFIG_FILES
20600   CONFIG_HEADERS  = $CONFIG_HEADERS
20601   CONFIG_LINKS    = $CONFIG_LINKS
20602   CONFIG_COMMANDS = $CONFIG_COMMANDS
20603   $ $0 $@
20604
20605 _CSEOF
20606 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20607 echo >&5
20608 _ACEOF
20609
20610 # Files that config.status was made for.
20611 if test -n "$ac_config_files"; then
20612   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20613 fi
20614
20615 if test -n "$ac_config_headers"; then
20616   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20617 fi
20618
20619 if test -n "$ac_config_links"; then
20620   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20621 fi
20622
20623 if test -n "$ac_config_commands"; then
20624   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20625 fi
20626
20627 cat >>$CONFIG_STATUS <<\_ACEOF
20628
20629 ac_cs_usage="\
20630 \`$as_me' instantiates files from templates according to the
20631 current configuration.
20632
20633 Usage: $0 [OPTIONS] [FILE]...
20634
20635   -h, --help       print this help, then exit
20636   -V, --version    print version number, then exit
20637   -q, --quiet      do not print progress messages
20638   -d, --debug      don't remove temporary files
20639       --recheck    update $as_me by reconfiguring in the same conditions
20640   --file=FILE[:TEMPLATE]
20641                    instantiate the configuration file FILE
20642   --header=FILE[:TEMPLATE]
20643                    instantiate the configuration header FILE
20644
20645 Configuration files:
20646 $config_files
20647
20648 Configuration headers:
20649 $config_headers
20650
20651 Configuration links:
20652 $config_links
20653
20654 Configuration commands:
20655 $config_commands
20656
20657 Report bugs to <bug-autoconf@gnu.org>."
20658 _ACEOF
20659
20660 cat >>$CONFIG_STATUS <<_ACEOF
20661 ac_cs_version="\\
20662 GNU Classpath config.status 0.94-pre
20663 configured by $0, generated by GNU Autoconf 2.59,
20664   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20665
20666 Copyright (C) 2003 Free Software Foundation, Inc.
20667 This config.status script is free software; the Free Software Foundation
20668 gives unlimited permission to copy, distribute and modify it."
20669 srcdir=$srcdir
20670 INSTALL="$INSTALL"
20671 _ACEOF
20672
20673 cat >>$CONFIG_STATUS <<\_ACEOF
20674 # If no file are specified by the user, then we need to provide default
20675 # value.  By we need to know if files were specified by the user.
20676 ac_need_defaults=:
20677 while test $# != 0
20678 do
20679   case $1 in
20680   --*=*)
20681     ac_option=`expr "x$1" : 'x\([^=]*\)='`
20682     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
20683     ac_shift=:
20684     ;;
20685   -*)
20686     ac_option=$1
20687     ac_optarg=$2
20688     ac_shift=shift
20689     ;;
20690   *) # This is not an option, so the user has probably given explicit
20691      # arguments.
20692      ac_option=$1
20693      ac_need_defaults=false;;
20694   esac
20695
20696   case $ac_option in
20697   # Handling of the options.
20698 _ACEOF
20699 cat >>$CONFIG_STATUS <<\_ACEOF
20700   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20701     ac_cs_recheck=: ;;
20702   --version | --vers* | -V )
20703     echo "$ac_cs_version"; exit 0 ;;
20704   --he | --h)
20705     # Conflict between --help and --header
20706     { { echo "$as_me:$LINENO: error: ambiguous option: $1
20707 Try \`$0 --help' for more information." >&5
20708 echo "$as_me: error: ambiguous option: $1
20709 Try \`$0 --help' for more information." >&2;}
20710    { (exit 1); exit 1; }; };;
20711   --help | --hel | -h )
20712     echo "$ac_cs_usage"; exit 0 ;;
20713   --debug | --d* | -d )
20714     debug=: ;;
20715   --file | --fil | --fi | --f )
20716     $ac_shift
20717     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
20718     ac_need_defaults=false;;
20719   --header | --heade | --head | --hea )
20720     $ac_shift
20721     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
20722     ac_need_defaults=false;;
20723   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20724   | -silent | --silent | --silen | --sile | --sil | --si | --s)
20725     ac_cs_silent=: ;;
20726
20727   # This is an error.
20728   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20729 Try \`$0 --help' for more information." >&5
20730 echo "$as_me: error: unrecognized option: $1
20731 Try \`$0 --help' for more information." >&2;}
20732    { (exit 1); exit 1; }; } ;;
20733
20734   *) ac_config_targets="$ac_config_targets $1" ;;
20735
20736   esac
20737   shift
20738 done
20739
20740 ac_configure_extra_args=
20741
20742 if $ac_cs_silent; then
20743   exec 6>/dev/null
20744   ac_configure_extra_args="$ac_configure_extra_args --silent"
20745 fi
20746
20747 _ACEOF
20748 cat >>$CONFIG_STATUS <<_ACEOF
20749 if \$ac_cs_recheck; then
20750   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20751   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20752 fi
20753
20754 _ACEOF
20755
20756 cat >>$CONFIG_STATUS <<_ACEOF
20757 #
20758 # INIT-COMMANDS section.
20759 #
20760
20761
20762 srcdir="$srcdir"
20763 host="$host"
20764 target="$target"
20765 with_multisubdir="$with_multisubdir"
20766 with_multisrctop="$with_multisrctop"
20767 with_target_subdir="$with_target_subdir"
20768 ac_configure_args="${multilib_arg} ${ac_configure_args}"
20769 multi_basedir="$multi_basedir"
20770 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
20771 CC="$CC"
20772 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20773 # variables for create stdint.h replacement
20774 PACKAGE="$PACKAGE"
20775 VERSION="$VERSION"
20776 ac_stdint_h="$ac_stdint_h"
20777 _ac_stdint_h=`echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
20778 ac_cv_stdint_message="$ac_cv_stdint_message"
20779 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
20780 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
20781 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
20782 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
20783 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
20784 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
20785 ac_cv_char_data_model="$ac_cv_char_data_model"
20786 ac_cv_long_data_model="$ac_cv_long_data_model"
20787 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
20788 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
20789 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
20790
20791
20792 _ACEOF
20793
20794
20795
20796 cat >>$CONFIG_STATUS <<\_ACEOF
20797 for ac_config_target in $ac_config_targets
20798 do
20799   case "$ac_config_target" in
20800   # Handling of arguments.
20801   "lib/mkcollections.pl" ) CONFIG_FILES="$CONFIG_FILES lib/mkcollections.pl" ;;
20802   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20803   "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
20804   "doc/api/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/api/Makefile" ;;
20805   "external/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/Makefile" ;;
20806   "external/sax/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/sax/Makefile" ;;
20807   "external/w3c_dom/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/w3c_dom/Makefile" ;;
20808   "external/relaxngDatatype/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/relaxngDatatype/Makefile" ;;
20809   "external/jsr166/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/jsr166/Makefile" ;;
20810   "gnu/classpath/Configuration.java" ) CONFIG_FILES="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
20811   "gnu/java/security/Configuration.java" ) CONFIG_FILES="$CONFIG_FILES gnu/java/security/Configuration.java" ;;
20812   "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
20813   "native/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/Makefile" ;;
20814   "native/fdlibm/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/fdlibm/Makefile" ;;
20815   "native/jawt/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jawt/Makefile" ;;
20816   "native/jni/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/Makefile" ;;
20817   "native/jni/classpath/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/classpath/Makefile" ;;
20818   "native/jni/java-io/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-io/Makefile" ;;
20819   "native/jni/java-lang/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-lang/Makefile" ;;
20820   "native/jni/java-net/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-net/Makefile" ;;
20821   "native/jni/java-nio/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-nio/Makefile" ;;
20822   "native/jni/java-util/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-util/Makefile" ;;
20823   "native/jni/gtk-peer/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/gtk-peer/Makefile" ;;
20824   "native/jni/gconf-peer/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/gconf-peer/Makefile" ;;
20825   "native/jni/qt-peer/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/qt-peer/Makefile" ;;
20826   "native/jni/xmlj/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/xmlj/Makefile" ;;
20827   "native/jni/midi-alsa/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/midi-alsa/Makefile" ;;
20828   "native/jni/midi-dssi/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/midi-dssi/Makefile" ;;
20829   "native/jni/native-lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/native-lib/Makefile" ;;
20830   "native/plugin/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/plugin/Makefile" ;;
20831   "resource/Makefile" ) CONFIG_FILES="$CONFIG_FILES resource/Makefile" ;;
20832   "resource/META-INF/services/java.util.prefs.PreferencesFactory" ) CONFIG_FILES="$CONFIG_FILES resource/META-INF/services/java.util.prefs.PreferencesFactory" ;;
20833   "scripts/Makefile" ) CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
20834   "scripts/classpath.spec" ) CONFIG_FILES="$CONFIG_FILES scripts/classpath.spec" ;;
20835   "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
20836   "lib/gen-classlist.sh" ) CONFIG_FILES="$CONFIG_FILES lib/gen-classlist.sh" ;;
20837   "lib/copy-vmresources.sh" ) CONFIG_FILES="$CONFIG_FILES lib/copy-vmresources.sh" ;;
20838   "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
20839   "examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
20840   "examples/Makefile.jawt" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile.jawt" ;;
20841   "examples/Makefile.java2d" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile.java2d" ;;
20842   "tools/gappletviewer" ) CONFIG_FILES="$CONFIG_FILES tools/gappletviewer" ;;
20843   "tools/gjarsigner" ) CONFIG_FILES="$CONFIG_FILES tools/gjarsigner" ;;
20844   "tools/gkeytool" ) CONFIG_FILES="$CONFIG_FILES tools/gkeytool" ;;
20845   "tools/gjar" ) CONFIG_FILES="$CONFIG_FILES tools/gjar" ;;
20846   "tools/gnative2ascii" ) CONFIG_FILES="$CONFIG_FILES tools/gnative2ascii" ;;
20847   "tools/gserialver" ) CONFIG_FILES="$CONFIG_FILES tools/gserialver" ;;
20848   "tools/grmiregistry" ) CONFIG_FILES="$CONFIG_FILES tools/grmiregistry" ;;
20849   "tools/gtnameserv" ) CONFIG_FILES="$CONFIG_FILES tools/gtnameserv" ;;
20850   "tools/gorbd" ) CONFIG_FILES="$CONFIG_FILES tools/gorbd" ;;
20851   "tools/grmid" ) CONFIG_FILES="$CONFIG_FILES tools/grmid" ;;
20852   "tools/grmic" ) CONFIG_FILES="$CONFIG_FILES tools/grmic" ;;
20853   "tools/gjavah" ) CONFIG_FILES="$CONFIG_FILES tools/gjavah" ;;
20854   "$ac_config_links_1" ) CONFIG_LINKS="$CONFIG_LINKS $ac_config_links_1" ;;
20855   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
20856   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20857   "mkcollections.pl" ) CONFIG_COMMANDS="$CONFIG_COMMANDS mkcollections.pl" ;;
20858   "$ac_stdint_h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS $ac_stdint_h" ;;
20859   "gappletviewer" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gappletviewer" ;;
20860   "gjarsigner" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gjarsigner" ;;
20861   "gkeytool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gkeytool" ;;
20862   "gjar" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gjar" ;;
20863   "gnative2ascii" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gnative2ascii" ;;
20864   "gserialver" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gserialver" ;;
20865   "grmiregistry" ) CONFIG_COMMANDS="$CONFIG_COMMANDS grmiregistry" ;;
20866   "gtnameserv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gtnameserv" ;;
20867   "gorbd" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gorbd" ;;
20868   "grmid" ) CONFIG_COMMANDS="$CONFIG_COMMANDS grmid" ;;
20869   "grmic" ) CONFIG_COMMANDS="$CONFIG_COMMANDS grmic" ;;
20870   "gjavah" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gjavah" ;;
20871   "gen-classlist" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gen-classlist" ;;
20872   "copy-vmresources" ) CONFIG_COMMANDS="$CONFIG_COMMANDS copy-vmresources" ;;
20873   "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20874   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20875 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20876    { (exit 1); exit 1; }; };;
20877   esac
20878 done
20879
20880 # If the user did not use the arguments to specify the items to instantiate,
20881 # then the envvar interface is used.  Set only those that are not.
20882 # We use the long form for the default assignment because of an extremely
20883 # bizarre bug on SunOS 4.1.3.
20884 if $ac_need_defaults; then
20885   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20886   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20887   test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20888   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20889 fi
20890
20891 # Have a temporary directory for convenience.  Make it in the build tree
20892 # simply because there is no reason to put it here, and in addition,
20893 # creating and moving files from /tmp can sometimes cause problems.
20894 # Create a temporary directory, and hook for its removal unless debugging.
20895 $debug ||
20896 {
20897   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20898   trap '{ (exit 1); exit 1; }' 1 2 13 15
20899 }
20900
20901 # Create a (secure) tmp directory for tmp files.
20902
20903 {
20904   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20905   test -n "$tmp" && test -d "$tmp"
20906 }  ||
20907 {
20908   tmp=./confstat$$-$RANDOM
20909   (umask 077 && mkdir $tmp)
20910 } ||
20911 {
20912    echo "$me: cannot create a temporary directory in ." >&2
20913    { (exit 1); exit 1; }
20914 }
20915
20916 _ACEOF
20917
20918 cat >>$CONFIG_STATUS <<_ACEOF
20919
20920 #
20921 # CONFIG_FILES section.
20922 #
20923
20924 # No need to generate the scripts if there are no CONFIG_FILES.
20925 # This happens for instance when ./config.status config.h
20926 if test -n "\$CONFIG_FILES"; then
20927   # Protect against being on the right side of a sed subst in config.status.
20928   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20929    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20930 s,@SHELL@,$SHELL,;t t
20931 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20932 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20933 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20934 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20935 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20936 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20937 s,@exec_prefix@,$exec_prefix,;t t
20938 s,@prefix@,$prefix,;t t
20939 s,@program_transform_name@,$program_transform_name,;t t
20940 s,@bindir@,$bindir,;t t
20941 s,@sbindir@,$sbindir,;t t
20942 s,@libexecdir@,$libexecdir,;t t
20943 s,@datadir@,$datadir,;t t
20944 s,@sysconfdir@,$sysconfdir,;t t
20945 s,@sharedstatedir@,$sharedstatedir,;t t
20946 s,@localstatedir@,$localstatedir,;t t
20947 s,@libdir@,$libdir,;t t
20948 s,@includedir@,$includedir,;t t
20949 s,@oldincludedir@,$oldincludedir,;t t
20950 s,@infodir@,$infodir,;t t
20951 s,@mandir@,$mandir,;t t
20952 s,@build_alias@,$build_alias,;t t
20953 s,@host_alias@,$host_alias,;t t
20954 s,@target_alias@,$target_alias,;t t
20955 s,@DEFS@,$DEFS,;t t
20956 s,@ECHO_C@,$ECHO_C,;t t
20957 s,@ECHO_N@,$ECHO_N,;t t
20958 s,@ECHO_T@,$ECHO_T,;t t
20959 s,@LIBS@,$LIBS,;t t
20960 s,@build@,$build,;t t
20961 s,@build_cpu@,$build_cpu,;t t
20962 s,@build_vendor@,$build_vendor,;t t
20963 s,@build_os@,$build_os,;t t
20964 s,@host@,$host,;t t
20965 s,@host_cpu@,$host_cpu,;t t
20966 s,@host_vendor@,$host_vendor,;t t
20967 s,@host_os@,$host_os,;t t
20968 s,@target@,$target,;t t
20969 s,@target_cpu@,$target_cpu,;t t
20970 s,@target_vendor@,$target_vendor,;t t
20971 s,@target_os@,$target_os,;t t
20972 s,@JAVA_MAINTAINER_MODE_TRUE@,$JAVA_MAINTAINER_MODE_TRUE,;t t
20973 s,@JAVA_MAINTAINER_MODE_FALSE@,$JAVA_MAINTAINER_MODE_FALSE,;t t
20974 s,@multi_basedir@,$multi_basedir,;t t
20975 s,@LIBVERSION@,$LIBVERSION,;t t
20976 s,@CLASSPATH_MODULE@,$CLASSPATH_MODULE,;t t
20977 s,@CLASSPATH_CONVENIENCE@,$CLASSPATH_CONVENIENCE,;t t
20978 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20979 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20980 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20981 s,@CYGPATH_W@,$CYGPATH_W,;t t
20982 s,@PACKAGE@,$PACKAGE,;t t
20983 s,@VERSION@,$VERSION,;t t
20984 s,@ACLOCAL@,$ACLOCAL,;t t
20985 s,@AUTOCONF@,$AUTOCONF,;t t
20986 s,@AUTOMAKE@,$AUTOMAKE,;t t
20987 s,@AUTOHEADER@,$AUTOHEADER,;t t
20988 s,@MAKEINFO@,$MAKEINFO,;t t
20989 s,@install_sh@,$install_sh,;t t
20990 s,@STRIP@,$STRIP,;t t
20991 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20992 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
20993 s,@mkdir_p@,$mkdir_p,;t t
20994 s,@AWK@,$AWK,;t t
20995 s,@SET_MAKE@,$SET_MAKE,;t t
20996 s,@am__leading_dot@,$am__leading_dot,;t t
20997 s,@AMTAR@,$AMTAR,;t t
20998 s,@am__tar@,$am__tar,;t t
20999 s,@am__untar@,$am__untar,;t t
21000 s,@CREATE_COLLECTIONS_TRUE@,$CREATE_COLLECTIONS_TRUE,;t t
21001 s,@CREATE_COLLECTIONS_FALSE@,$CREATE_COLLECTIONS_FALSE,;t t
21002 s,@CREATE_JNI_LIBRARIES_TRUE@,$CREATE_JNI_LIBRARIES_TRUE,;t t
21003 s,@CREATE_JNI_LIBRARIES_FALSE@,$CREATE_JNI_LIBRARIES_FALSE,;t t
21004 s,@CREATE_CORE_JNI_LIBRARIES_TRUE@,$CREATE_CORE_JNI_LIBRARIES_TRUE,;t t
21005 s,@CREATE_CORE_JNI_LIBRARIES_FALSE@,$CREATE_CORE_JNI_LIBRARIES_FALSE,;t t
21006 s,@CREATE_GCONF_PEER_LIBRARIES_TRUE@,$CREATE_GCONF_PEER_LIBRARIES_TRUE,;t t
21007 s,@CREATE_GCONF_PEER_LIBRARIES_FALSE@,$CREATE_GCONF_PEER_LIBRARIES_FALSE,;t t
21008 s,@default_toolkit@,$default_toolkit,;t t
21009 s,@CREATE_XMLJ_LIBRARY_TRUE@,$CREATE_XMLJ_LIBRARY_TRUE,;t t
21010 s,@CREATE_XMLJ_LIBRARY_FALSE@,$CREATE_XMLJ_LIBRARY_FALSE,;t t
21011 s,@CC@,$CC,;t t
21012 s,@CFLAGS@,$CFLAGS,;t t
21013 s,@LDFLAGS@,$LDFLAGS,;t t
21014 s,@CPPFLAGS@,$CPPFLAGS,;t t
21015 s,@ac_ct_CC@,$ac_ct_CC,;t t
21016 s,@EXEEXT@,$EXEEXT,;t t
21017 s,@OBJEXT@,$OBJEXT,;t t
21018 s,@DEPDIR@,$DEPDIR,;t t
21019 s,@am__include@,$am__include,;t t
21020 s,@am__quote@,$am__quote,;t t
21021 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
21022 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
21023 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
21024 s,@CCDEPMODE@,$CCDEPMODE,;t t
21025 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
21026 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
21027 s,@CPP@,$CPP,;t t
21028 s,@EGREP@,$EGREP,;t t
21029 s,@CREATE_ALSA_LIBRARIES_TRUE@,$CREATE_ALSA_LIBRARIES_TRUE,;t t
21030 s,@CREATE_ALSA_LIBRARIES_FALSE@,$CREATE_ALSA_LIBRARIES_FALSE,;t t
21031 s,@CREATE_DSSI_LIBRARIES_TRUE@,$CREATE_DSSI_LIBRARIES_TRUE,;t t
21032 s,@CREATE_DSSI_LIBRARIES_FALSE@,$CREATE_DSSI_LIBRARIES_FALSE,;t t
21033 s,@CREATE_GTK_PEER_LIBRARIES_TRUE@,$CREATE_GTK_PEER_LIBRARIES_TRUE,;t t
21034 s,@CREATE_GTK_PEER_LIBRARIES_FALSE@,$CREATE_GTK_PEER_LIBRARIES_FALSE,;t t
21035 s,@CREATE_QT_PEER_LIBRARIES_TRUE@,$CREATE_QT_PEER_LIBRARIES_TRUE,;t t
21036 s,@CREATE_QT_PEER_LIBRARIES_FALSE@,$CREATE_QT_PEER_LIBRARIES_FALSE,;t t
21037 s,@CREATE_PLUGIN_TRUE@,$CREATE_PLUGIN_TRUE,;t t
21038 s,@CREATE_PLUGIN_FALSE@,$CREATE_PLUGIN_FALSE,;t t
21039 s,@toolexeclibdir@,$toolexeclibdir,;t t
21040 s,@nativeexeclibdir@,$nativeexeclibdir,;t t
21041 s,@glibjdir@,$glibjdir,;t t
21042 s,@VM_BINARY@,$VM_BINARY,;t t
21043 s,@FOUND_CACAO_TRUE@,$FOUND_CACAO_TRUE,;t t
21044 s,@FOUND_CACAO_FALSE@,$FOUND_CACAO_FALSE,;t t
21045 s,@CREATE_JNI_HEADERS_TRUE@,$CREATE_JNI_HEADERS_TRUE,;t t
21046 s,@CREATE_JNI_HEADERS_FALSE@,$CREATE_JNI_HEADERS_FALSE,;t t
21047 s,@CREATE_WRAPPERS_TRUE@,$CREATE_WRAPPERS_TRUE,;t t
21048 s,@CREATE_WRAPPERS_FALSE@,$CREATE_WRAPPERS_FALSE,;t t
21049 s,@LN_S@,$LN_S,;t t
21050 s,@RANLIB@,$RANLIB,;t t
21051 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21052 s,@LIBTOOL@,$LIBTOOL,;t t
21053 s,@CXX@,$CXX,;t t
21054 s,@CXXFLAGS@,$CXXFLAGS,;t t
21055 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
21056 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
21057 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
21058 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
21059 s,@CXXCPP@,$CXXCPP,;t t
21060 s,@PERL@,$PERL,;t t
21061 s,@COLLECTIONS_PREFIX@,$COLLECTIONS_PREFIX,;t t
21062 s,@LIBMAGIC@,$LIBMAGIC,;t t
21063 s,@LIBICONV@,$LIBICONV,;t t
21064 s,@LTLIBICONV@,$LTLIBICONV,;t t
21065 s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t
21066 s,@STRICT_WARNING_CFLAGS@,$STRICT_WARNING_CFLAGS,;t t
21067 s,@ERROR_CFLAGS@,$ERROR_CFLAGS,;t t
21068 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
21069 s,@XML_CFLAGS@,$XML_CFLAGS,;t t
21070 s,@XML_LIBS@,$XML_LIBS,;t t
21071 s,@XSLT_CFLAGS@,$XSLT_CFLAGS,;t t
21072 s,@XSLT_LIBS@,$XSLT_LIBS,;t t
21073 s,@X_CFLAGS@,$X_CFLAGS,;t t
21074 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
21075 s,@X_LIBS@,$X_LIBS,;t t
21076 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
21077 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
21078 s,@GTK_LIBS@,$GTK_LIBS,;t t
21079 s,@FREETYPE2_CFLAGS@,$FREETYPE2_CFLAGS,;t t
21080 s,@FREETYPE2_LIBS@,$FREETYPE2_LIBS,;t t
21081 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
21082 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
21083 s,@XTEST_LIBS@,$XTEST_LIBS,;t t
21084 s,@GCONF_CFLAGS@,$GCONF_CFLAGS,;t t
21085 s,@GCONF_LIBS@,$GCONF_LIBS,;t t
21086 s,@GDK_CFLAGS@,$GDK_CFLAGS,;t t
21087 s,@GDK_LIBS@,$GDK_LIBS,;t t
21088 s,@QT_CFLAGS@,$QT_CFLAGS,;t t
21089 s,@QT_LIBS@,$QT_LIBS,;t t
21090 s,@MOC@,$MOC,;t t
21091 s,@MOZILLA_CFLAGS@,$MOZILLA_CFLAGS,;t t
21092 s,@MOZILLA_LIBS@,$MOZILLA_LIBS,;t t
21093 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
21094 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
21095 s,@PLUGIN_DIR@,$PLUGIN_DIR,;t t
21096 s,@USER_JAVAH@,$USER_JAVAH,;t t
21097 s,@USER_SPECIFIED_JAVAH_TRUE@,$USER_SPECIFIED_JAVAH_TRUE,;t t
21098 s,@USER_SPECIFIED_JAVAH_FALSE@,$USER_SPECIFIED_JAVAH_FALSE,;t t
21099 s,@CLASSPATH_INCLUDES@,$CLASSPATH_INCLUDES,;t t
21100 s,@GCJ@,$GCJ,;t t
21101 s,@JIKES@,$JIKES,;t t
21102 s,@JIKESENCODING@,$JIKESENCODING,;t t
21103 s,@JIKESWARNINGS@,$JIKESWARNINGS,;t t
21104 s,@KJC@,$KJC,;t t
21105 s,@GCJX@,$GCJX,;t t
21106 s,@ECJ@,$ECJ,;t t
21107 s,@FOUND_GCJ_TRUE@,$FOUND_GCJ_TRUE,;t t
21108 s,@FOUND_GCJ_FALSE@,$FOUND_GCJ_FALSE,;t t
21109 s,@FOUND_JIKES_TRUE@,$FOUND_JIKES_TRUE,;t t
21110 s,@FOUND_JIKES_FALSE@,$FOUND_JIKES_FALSE,;t t
21111 s,@FOUND_ECJ_TRUE@,$FOUND_ECJ_TRUE,;t t
21112 s,@FOUND_ECJ_FALSE@,$FOUND_ECJ_FALSE,;t t
21113 s,@FOUND_KJC_TRUE@,$FOUND_KJC_TRUE,;t t
21114 s,@FOUND_KJC_FALSE@,$FOUND_KJC_FALSE,;t t
21115 s,@FOUND_GCJX_TRUE@,$FOUND_GCJX_TRUE,;t t
21116 s,@FOUND_GCJX_FALSE@,$FOUND_GCJX_FALSE,;t t
21117 s,@USER_CLASSLIB@,$USER_CLASSLIB,;t t
21118 s,@USER_SPECIFIED_CLASSLIB_TRUE@,$USER_SPECIFIED_CLASSLIB_TRUE,;t t
21119 s,@USER_SPECIFIED_CLASSLIB_FALSE@,$USER_SPECIFIED_CLASSLIB_FALSE,;t t
21120 s,@vm_classes@,$vm_classes,;t t
21121 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
21122 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
21123 s,@MAINT@,$MAINT,;t t
21124 s,@LIBDEBUG@,$LIBDEBUG,;t t
21125 s,@INIT_LOAD_LIBRARY@,$INIT_LOAD_LIBRARY,;t t
21126 s,@ECJ_JAR@,$ECJ_JAR,;t t
21127 s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,$JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION,;t t
21128 s,@REMOVE@,$REMOVE,;t t
21129 s,@MKDIR@,$MKDIR,;t t
21130 s,@CP@,$CP,;t t
21131 s,@DATE@,$DATE,;t t
21132 s,@FIND@,$FIND,;t t
21133 s,@ZIP@,$ZIP,;t t
21134 s,@FASTJAR@,$FASTJAR,;t t
21135 s,@INSTALL_GLIBJ_ZIP_TRUE@,$INSTALL_GLIBJ_ZIP_TRUE,;t t
21136 s,@INSTALL_GLIBJ_ZIP_FALSE@,$INSTALL_GLIBJ_ZIP_FALSE,;t t
21137 s,@INSTALL_CLASS_FILES_TRUE@,$INSTALL_CLASS_FILES_TRUE,;t t
21138 s,@INSTALL_CLASS_FILES_FALSE@,$INSTALL_CLASS_FILES_FALSE,;t t
21139 s,@BUILD_CLASS_FILES_TRUE@,$BUILD_CLASS_FILES_TRUE,;t t
21140 s,@BUILD_CLASS_FILES_FALSE@,$BUILD_CLASS_FILES_FALSE,;t t
21141 s,@EXAMPLESDIR@,$EXAMPLESDIR,;t t
21142 s,@GJDOC@,$GJDOC,;t t
21143 s,@CREATE_API_DOCS_TRUE@,$CREATE_API_DOCS_TRUE,;t t
21144 s,@CREATE_API_DOCS_FALSE@,$CREATE_API_DOCS_FALSE,;t t
21145 s,@JAY@,$JAY,;t t
21146 s,@JAY_SKELETON@,$JAY_SKELETON,;t t
21147 s,@REGEN_PARSERS_TRUE@,$REGEN_PARSERS_TRUE,;t t
21148 s,@REGEN_PARSERS_FALSE@,$REGEN_PARSERS_FALSE,;t t
21149 s,@USE_PREBUILT_GLIBJ_ZIP_TRUE@,$USE_PREBUILT_GLIBJ_ZIP_TRUE,;t t
21150 s,@USE_PREBUILT_GLIBJ_ZIP_FALSE@,$USE_PREBUILT_GLIBJ_ZIP_FALSE,;t t
21151 s,@PATH_TO_GLIBJ_ZIP@,$PATH_TO_GLIBJ_ZIP,;t t
21152 s,@USE_ESCHER_TRUE@,$USE_ESCHER_TRUE,;t t
21153 s,@USE_ESCHER_FALSE@,$USE_ESCHER_FALSE,;t t
21154 s,@PATH_TO_ESCHER@,$PATH_TO_ESCHER,;t t
21155 s,@ENABLE_LOCAL_SOCKETS_TRUE@,$ENABLE_LOCAL_SOCKETS_TRUE,;t t
21156 s,@ENABLE_LOCAL_SOCKETS_FALSE@,$ENABLE_LOCAL_SOCKETS_FALSE,;t t
21157 s,@DEFAULT_PREFS_PEER@,$DEFAULT_PREFS_PEER,;t t
21158 s,@LIBOBJS@,$LIBOBJS,;t t
21159 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21160 CEOF
21161
21162 _ACEOF
21163
21164   cat >>$CONFIG_STATUS <<\_ACEOF
21165   # Split the substitutions into bite-sized pieces for seds with
21166   # small command number limits, like on Digital OSF/1 and HP-UX.
21167   ac_max_sed_lines=48
21168   ac_sed_frag=1 # Number of current file.
21169   ac_beg=1 # First line for current file.
21170   ac_end=$ac_max_sed_lines # Line after last line for current file.
21171   ac_more_lines=:
21172   ac_sed_cmds=
21173   while $ac_more_lines; do
21174     if test $ac_beg -gt 1; then
21175       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21176     else
21177       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21178     fi
21179     if test ! -s $tmp/subs.frag; then
21180       ac_more_lines=false
21181     else
21182       # The purpose of the label and of the branching condition is to
21183       # speed up the sed processing (if there are no `@' at all, there
21184       # is no need to browse any of the substitutions).
21185       # These are the two extra sed commands mentioned above.
21186       (echo ':t
21187   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
21188       if test -z "$ac_sed_cmds"; then
21189         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
21190       else
21191         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21192       fi
21193       ac_sed_frag=`expr $ac_sed_frag + 1`
21194       ac_beg=$ac_end
21195       ac_end=`expr $ac_end + $ac_max_sed_lines`
21196     fi
21197   done
21198   if test -z "$ac_sed_cmds"; then
21199     ac_sed_cmds=cat
21200   fi
21201 fi # test -n "$CONFIG_FILES"
21202
21203 _ACEOF
21204 cat >>$CONFIG_STATUS <<\_ACEOF
21205 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
21206   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21207   case $ac_file in
21208   - | *:- | *:-:* ) # input from stdin
21209         cat >$tmp/stdin
21210         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21211         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21212   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21213         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21214   * )   ac_file_in=$ac_file.in ;;
21215   esac
21216
21217   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21218   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21219 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21220          X"$ac_file" : 'X\(//\)[^/]' \| \
21221          X"$ac_file" : 'X\(//\)$' \| \
21222          X"$ac_file" : 'X\(/\)' \| \
21223          .     : '\(.\)' 2>/dev/null ||
21224 echo X"$ac_file" |
21225     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21226           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21227           /^X\(\/\/\)$/{ s//\1/; q; }
21228           /^X\(\/\).*/{ s//\1/; q; }
21229           s/.*/./; q'`
21230   { if $as_mkdir_p; then
21231     mkdir -p "$ac_dir"
21232   else
21233     as_dir="$ac_dir"
21234     as_dirs=
21235     while test ! -d "$as_dir"; do
21236       as_dirs="$as_dir $as_dirs"
21237       as_dir=`(dirname "$as_dir") 2>/dev/null ||
21238 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21239          X"$as_dir" : 'X\(//\)[^/]' \| \
21240          X"$as_dir" : 'X\(//\)$' \| \
21241          X"$as_dir" : 'X\(/\)' \| \
21242          .     : '\(.\)' 2>/dev/null ||
21243 echo X"$as_dir" |
21244     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21245           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21246           /^X\(\/\/\)$/{ s//\1/; q; }
21247           /^X\(\/\).*/{ s//\1/; q; }
21248           s/.*/./; q'`
21249     done
21250     test ! -n "$as_dirs" || mkdir $as_dirs
21251   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21252 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21253    { (exit 1); exit 1; }; }; }
21254
21255   ac_builddir=.
21256
21257 if test "$ac_dir" != .; then
21258   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21259   # A "../" for each directory in $ac_dir_suffix.
21260   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21261 else
21262   ac_dir_suffix= ac_top_builddir=
21263 fi
21264
21265 case $srcdir in
21266   .)  # No --srcdir option.  We are building in place.
21267     ac_srcdir=.
21268     if test -z "$ac_top_builddir"; then
21269        ac_top_srcdir=.
21270     else
21271        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21272     fi ;;
21273   [\\/]* | ?:[\\/]* )  # Absolute path.
21274     ac_srcdir=$srcdir$ac_dir_suffix;
21275     ac_top_srcdir=$srcdir ;;
21276   *) # Relative path.
21277     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21278     ac_top_srcdir=$ac_top_builddir$srcdir ;;
21279 esac
21280
21281 # Do not use `cd foo && pwd` to compute absolute paths, because
21282 # the directories may not exist.
21283 case `pwd` in
21284 .) ac_abs_builddir="$ac_dir";;
21285 *)
21286   case "$ac_dir" in
21287   .) ac_abs_builddir=`pwd`;;
21288   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21289   *) ac_abs_builddir=`pwd`/"$ac_dir";;
21290   esac;;
21291 esac
21292 case $ac_abs_builddir in
21293 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21294 *)
21295   case ${ac_top_builddir}. in
21296   .) ac_abs_top_builddir=$ac_abs_builddir;;
21297   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21298   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21299   esac;;
21300 esac
21301 case $ac_abs_builddir in
21302 .) ac_abs_srcdir=$ac_srcdir;;
21303 *)
21304   case $ac_srcdir in
21305   .) ac_abs_srcdir=$ac_abs_builddir;;
21306   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21307   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21308   esac;;
21309 esac
21310 case $ac_abs_builddir in
21311 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21312 *)
21313   case $ac_top_srcdir in
21314   .) ac_abs_top_srcdir=$ac_abs_builddir;;
21315   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21316   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21317   esac;;
21318 esac
21319
21320
21321   case $INSTALL in
21322   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21323   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
21324   esac
21325
21326   if test x"$ac_file" != x-; then
21327     { echo "$as_me:$LINENO: creating $ac_file" >&5
21328 echo "$as_me: creating $ac_file" >&6;}
21329     rm -f "$ac_file"
21330   fi
21331   # Let's still pretend it is `configure' which instantiates (i.e., don't
21332   # use $as_me), people would be surprised to read:
21333   #    /* config.h.  Generated by config.status.  */
21334   if test x"$ac_file" = x-; then
21335     configure_input=
21336   else
21337     configure_input="$ac_file.  "
21338   fi
21339   configure_input=$configure_input"Generated from `echo $ac_file_in |
21340                                      sed 's,.*/,,'` by configure."
21341
21342   # First look for the input files in the build tree, otherwise in the
21343   # src tree.
21344   ac_file_inputs=`IFS=:
21345     for f in $ac_file_in; do
21346       case $f in
21347       -) echo $tmp/stdin ;;
21348       [\\/$]*)
21349          # Absolute (can't be DOS-style, as IFS=:)
21350          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21351 echo "$as_me: error: cannot find input file: $f" >&2;}
21352    { (exit 1); exit 1; }; }
21353          echo "$f";;
21354       *) # Relative
21355          if test -f "$f"; then
21356            # Build tree
21357            echo "$f"
21358          elif test -f "$srcdir/$f"; then
21359            # Source tree
21360            echo "$srcdir/$f"
21361          else
21362            # /dev/null tree
21363            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21364 echo "$as_me: error: cannot find input file: $f" >&2;}
21365    { (exit 1); exit 1; }; }
21366          fi;;
21367       esac
21368     done` || { (exit 1); exit 1; }
21369 _ACEOF
21370 cat >>$CONFIG_STATUS <<_ACEOF
21371   sed "$ac_vpsub
21372 $extrasub
21373 _ACEOF
21374 cat >>$CONFIG_STATUS <<\_ACEOF
21375 :t
21376 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21377 s,@configure_input@,$configure_input,;t t
21378 s,@srcdir@,$ac_srcdir,;t t
21379 s,@abs_srcdir@,$ac_abs_srcdir,;t t
21380 s,@top_srcdir@,$ac_top_srcdir,;t t
21381 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
21382 s,@builddir@,$ac_builddir,;t t
21383 s,@abs_builddir@,$ac_abs_builddir,;t t
21384 s,@top_builddir@,$ac_top_builddir,;t t
21385 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
21386 s,@INSTALL@,$ac_INSTALL,;t t
21387 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21388   rm -f $tmp/stdin
21389   if test x"$ac_file" != x-; then
21390     mv $tmp/out $ac_file
21391   else
21392     cat $tmp/out
21393     rm -f $tmp/out
21394   fi
21395
21396 done
21397 _ACEOF
21398 cat >>$CONFIG_STATUS <<\_ACEOF
21399
21400 #
21401 # CONFIG_HEADER section.
21402 #
21403
21404 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21405 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21406 #
21407 # ac_d sets the value in "#define NAME VALUE" lines.
21408 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
21409 ac_dB='[         ].*$,\1#\2'
21410 ac_dC=' '
21411 ac_dD=',;t'
21412 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21413 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
21414 ac_uB='$,\1#\2define\3'
21415 ac_uC=' '
21416 ac_uD=',;t'
21417
21418 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
21419   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21420   case $ac_file in
21421   - | *:- | *:-:* ) # input from stdin
21422         cat >$tmp/stdin
21423         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21424         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21425   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21426         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21427   * )   ac_file_in=$ac_file.in ;;
21428   esac
21429
21430   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
21431 echo "$as_me: creating $ac_file" >&6;}
21432
21433   # First look for the input files in the build tree, otherwise in the
21434   # src tree.
21435   ac_file_inputs=`IFS=:
21436     for f in $ac_file_in; do
21437       case $f in
21438       -) echo $tmp/stdin ;;
21439       [\\/$]*)
21440          # Absolute (can't be DOS-style, as IFS=:)
21441          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21442 echo "$as_me: error: cannot find input file: $f" >&2;}
21443    { (exit 1); exit 1; }; }
21444          # Do quote $f, to prevent DOS paths from being IFS'd.
21445          echo "$f";;
21446       *) # Relative
21447          if test -f "$f"; then
21448            # Build tree
21449            echo "$f"
21450          elif test -f "$srcdir/$f"; then
21451            # Source tree
21452            echo "$srcdir/$f"
21453          else
21454            # /dev/null tree
21455            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21456 echo "$as_me: error: cannot find input file: $f" >&2;}
21457    { (exit 1); exit 1; }; }
21458          fi;;
21459       esac
21460     done` || { (exit 1); exit 1; }
21461   # Remove the trailing spaces.
21462   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
21463
21464 _ACEOF
21465
21466 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21467 # `conftest.undefs', that substitutes the proper values into
21468 # config.h.in to produce config.h.  The first handles `#define'
21469 # templates, and the second `#undef' templates.
21470 # And first: Protect against being on the right side of a sed subst in
21471 # config.status.  Protect against being in an unquoted here document
21472 # in config.status.
21473 rm -f conftest.defines conftest.undefs
21474 # Using a here document instead of a string reduces the quoting nightmare.
21475 # Putting comments in sed scripts is not portable.
21476 #
21477 # `end' is used to avoid that the second main sed command (meant for
21478 # 0-ary CPP macros) applies to n-ary macro definitions.
21479 # See the Autoconf documentation for `clear'.
21480 cat >confdef2sed.sed <<\_ACEOF
21481 s/[\\&,]/\\&/g
21482 s,[\\$`],\\&,g
21483 t clear
21484 : clear
21485 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21486 t end
21487 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21488 : end
21489 _ACEOF
21490 # If some macros were called several times there might be several times
21491 # the same #defines, which is useless.  Nevertheless, we may not want to
21492 # sort them, since we want the *last* AC-DEFINE to be honored.
21493 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21494 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21495 rm -f confdef2sed.sed
21496
21497 # This sed command replaces #undef with comments.  This is necessary, for
21498 # example, in the case of _POSIX_SOURCE, which is predefined and required
21499 # on some systems where configure will not decide to define it.
21500 cat >>conftest.undefs <<\_ACEOF
21501 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21502 _ACEOF
21503
21504 # Break up conftest.defines because some shells have a limit on the size
21505 # of here documents, and old seds have small limits too (100 cmds).
21506 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21507 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21508 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21509 echo '  :' >>$CONFIG_STATUS
21510 rm -f conftest.tail
21511 while grep . conftest.defines >/dev/null
21512 do
21513   # Write a limited-size here document to $tmp/defines.sed.
21514   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21515   # Speed up: don't consider the non `#define' lines.
21516   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
21517   # Work around the forget-to-reset-the-flag bug.
21518   echo 't clr' >>$CONFIG_STATUS
21519   echo ': clr' >>$CONFIG_STATUS
21520   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
21521   echo 'CEOF
21522   sed -f $tmp/defines.sed $tmp/in >$tmp/out
21523   rm -f $tmp/in
21524   mv $tmp/out $tmp/in
21525 ' >>$CONFIG_STATUS
21526   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
21527   rm -f conftest.defines
21528   mv conftest.tail conftest.defines
21529 done
21530 rm -f conftest.defines
21531 echo '  fi # grep' >>$CONFIG_STATUS
21532 echo >>$CONFIG_STATUS
21533
21534 # Break up conftest.undefs because some shells have a limit on the size
21535 # of here documents, and old seds have small limits too (100 cmds).
21536 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
21537 rm -f conftest.tail
21538 while grep . conftest.undefs >/dev/null
21539 do
21540   # Write a limited-size here document to $tmp/undefs.sed.
21541   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21542   # Speed up: don't consider the non `#undef'
21543   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
21544   # Work around the forget-to-reset-the-flag bug.
21545   echo 't clr' >>$CONFIG_STATUS
21546   echo ': clr' >>$CONFIG_STATUS
21547   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21548   echo 'CEOF
21549   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21550   rm -f $tmp/in
21551   mv $tmp/out $tmp/in
21552 ' >>$CONFIG_STATUS
21553   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21554   rm -f conftest.undefs
21555   mv conftest.tail conftest.undefs
21556 done
21557 rm -f conftest.undefs
21558
21559 cat >>$CONFIG_STATUS <<\_ACEOF
21560   # Let's still pretend it is `configure' which instantiates (i.e., don't
21561   # use $as_me), people would be surprised to read:
21562   #    /* config.h.  Generated by config.status.  */
21563   if test x"$ac_file" = x-; then
21564     echo "/* Generated by configure.  */" >$tmp/config.h
21565   else
21566     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
21567   fi
21568   cat $tmp/in >>$tmp/config.h
21569   rm -f $tmp/in
21570   if test x"$ac_file" != x-; then
21571     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
21572       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21573 echo "$as_me: $ac_file is unchanged" >&6;}
21574     else
21575       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21576 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21577          X"$ac_file" : 'X\(//\)[^/]' \| \
21578          X"$ac_file" : 'X\(//\)$' \| \
21579          X"$ac_file" : 'X\(/\)' \| \
21580          .     : '\(.\)' 2>/dev/null ||
21581 echo X"$ac_file" |
21582     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21583           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21584           /^X\(\/\/\)$/{ s//\1/; q; }
21585           /^X\(\/\).*/{ s//\1/; q; }
21586           s/.*/./; q'`
21587       { if $as_mkdir_p; then
21588     mkdir -p "$ac_dir"
21589   else
21590     as_dir="$ac_dir"
21591     as_dirs=
21592     while test ! -d "$as_dir"; do
21593       as_dirs="$as_dir $as_dirs"
21594       as_dir=`(dirname "$as_dir") 2>/dev/null ||
21595 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21596          X"$as_dir" : 'X\(//\)[^/]' \| \
21597          X"$as_dir" : 'X\(//\)$' \| \
21598          X"$as_dir" : 'X\(/\)' \| \
21599          .     : '\(.\)' 2>/dev/null ||
21600 echo X"$as_dir" |
21601     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21602           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21603           /^X\(\/\/\)$/{ s//\1/; q; }
21604           /^X\(\/\).*/{ s//\1/; q; }
21605           s/.*/./; q'`
21606     done
21607     test ! -n "$as_dirs" || mkdir $as_dirs
21608   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21609 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21610    { (exit 1); exit 1; }; }; }
21611
21612       rm -f $ac_file
21613       mv $tmp/config.h $ac_file
21614     fi
21615   else
21616     cat $tmp/config.h
21617     rm -f $tmp/config.h
21618   fi
21619 # Compute $ac_file's index in $config_headers.
21620 _am_stamp_count=1
21621 for _am_header in $config_headers :; do
21622   case $_am_header in
21623     $ac_file | $ac_file:* )
21624       break ;;
21625     * )
21626       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
21627   esac
21628 done
21629 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
21630 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21631          X$ac_file : 'X\(//\)[^/]' \| \
21632          X$ac_file : 'X\(//\)$' \| \
21633          X$ac_file : 'X\(/\)' \| \
21634          .     : '\(.\)' 2>/dev/null ||
21635 echo X$ac_file |
21636     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21637           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21638           /^X\(\/\/\)$/{ s//\1/; q; }
21639           /^X\(\/\).*/{ s//\1/; q; }
21640           s/.*/./; q'`/stamp-h$_am_stamp_count
21641 done
21642 _ACEOF
21643 cat >>$CONFIG_STATUS <<\_ACEOF
21644
21645 #
21646 # CONFIG_LINKS section.
21647 #
21648
21649 for ac_file in : $CONFIG_LINKS; do test "x$ac_file" = x: && continue
21650   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
21651   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
21652
21653   { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
21654 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
21655
21656   if test ! -r $srcdir/$ac_source; then
21657     { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
21658 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
21659    { (exit 1); exit 1; }; }
21660   fi
21661   rm -f $ac_dest
21662
21663   # Make relative symlinks.
21664   ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null ||
21665 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21666          X"$ac_dest" : 'X\(//\)[^/]' \| \
21667          X"$ac_dest" : 'X\(//\)$' \| \
21668          X"$ac_dest" : 'X\(/\)' \| \
21669          .     : '\(.\)' 2>/dev/null ||
21670 echo X"$ac_dest" |
21671     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21672           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21673           /^X\(\/\/\)$/{ s//\1/; q; }
21674           /^X\(\/\).*/{ s//\1/; q; }
21675           s/.*/./; q'`
21676   { if $as_mkdir_p; then
21677     mkdir -p "$ac_dest_dir"
21678   else
21679     as_dir="$ac_dest_dir"
21680     as_dirs=
21681     while test ! -d "$as_dir"; do
21682       as_dirs="$as_dir $as_dirs"
21683       as_dir=`(dirname "$as_dir") 2>/dev/null ||
21684 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21685          X"$as_dir" : 'X\(//\)[^/]' \| \
21686          X"$as_dir" : 'X\(//\)$' \| \
21687          X"$as_dir" : 'X\(/\)' \| \
21688          .     : '\(.\)' 2>/dev/null ||
21689 echo X"$as_dir" |
21690     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21691           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21692           /^X\(\/\/\)$/{ s//\1/; q; }
21693           /^X\(\/\).*/{ s//\1/; q; }
21694           s/.*/./; q'`
21695     done
21696     test ! -n "$as_dirs" || mkdir $as_dirs
21697   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
21698 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
21699    { (exit 1); exit 1; }; }; }
21700
21701   ac_builddir=.
21702
21703 if test "$ac_dest_dir" != .; then
21704   ac_dir_suffix=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
21705   # A "../" for each directory in $ac_dir_suffix.
21706   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21707 else
21708   ac_dir_suffix= ac_top_builddir=
21709 fi
21710
21711 case $srcdir in
21712   .)  # No --srcdir option.  We are building in place.
21713     ac_srcdir=.
21714     if test -z "$ac_top_builddir"; then
21715        ac_top_srcdir=.
21716     else
21717        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21718     fi ;;
21719   [\\/]* | ?:[\\/]* )  # Absolute path.
21720     ac_srcdir=$srcdir$ac_dir_suffix;
21721     ac_top_srcdir=$srcdir ;;
21722   *) # Relative path.
21723     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21724     ac_top_srcdir=$ac_top_builddir$srcdir ;;
21725 esac
21726
21727 # Do not use `cd foo && pwd` to compute absolute paths, because
21728 # the directories may not exist.
21729 case `pwd` in
21730 .) ac_abs_builddir="$ac_dest_dir";;
21731 *)
21732   case "$ac_dest_dir" in
21733   .) ac_abs_builddir=`pwd`;;
21734   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";;
21735   *) ac_abs_builddir=`pwd`/"$ac_dest_dir";;
21736   esac;;
21737 esac
21738 case $ac_abs_builddir in
21739 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21740 *)
21741   case ${ac_top_builddir}. in
21742   .) ac_abs_top_builddir=$ac_abs_builddir;;
21743   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21744   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21745   esac;;
21746 esac
21747 case $ac_abs_builddir in
21748 .) ac_abs_srcdir=$ac_srcdir;;
21749 *)
21750   case $ac_srcdir in
21751   .) ac_abs_srcdir=$ac_abs_builddir;;
21752   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21753   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21754   esac;;
21755 esac
21756 case $ac_abs_builddir in
21757 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21758 *)
21759   case $ac_top_srcdir in
21760   .) ac_abs_top_srcdir=$ac_abs_builddir;;
21761   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21762   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21763   esac;;
21764 esac
21765
21766
21767   case $srcdir in
21768   [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
21769       *) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;;
21770   esac
21771
21772   # Try a symlink, then a hard link, then a copy.
21773   ln -s $ac_rel_source $ac_dest 2>/dev/null ||
21774     ln $srcdir/$ac_source $ac_dest 2>/dev/null ||
21775     cp -p $srcdir/$ac_source $ac_dest ||
21776     { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
21777 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
21778    { (exit 1); exit 1; }; }
21779 done
21780 _ACEOF
21781 cat >>$CONFIG_STATUS <<\_ACEOF
21782
21783 #
21784 # CONFIG_COMMANDS section.
21785 #
21786 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
21787   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
21788   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
21789   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
21790 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21791          X"$ac_dest" : 'X\(//\)[^/]' \| \
21792          X"$ac_dest" : 'X\(//\)$' \| \
21793          X"$ac_dest" : 'X\(/\)' \| \
21794          .     : '\(.\)' 2>/dev/null ||
21795 echo X"$ac_dest" |
21796     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21797           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21798           /^X\(\/\/\)$/{ s//\1/; q; }
21799           /^X\(\/\).*/{ s//\1/; q; }
21800           s/.*/./; q'`
21801   { if $as_mkdir_p; then
21802     mkdir -p "$ac_dir"
21803   else
21804     as_dir="$ac_dir"
21805     as_dirs=
21806     while test ! -d "$as_dir"; do
21807       as_dirs="$as_dir $as_dirs"
21808       as_dir=`(dirname "$as_dir") 2>/dev/null ||
21809 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21810          X"$as_dir" : 'X\(//\)[^/]' \| \
21811          X"$as_dir" : 'X\(//\)$' \| \
21812          X"$as_dir" : 'X\(/\)' \| \
21813          .     : '\(.\)' 2>/dev/null ||
21814 echo X"$as_dir" |
21815     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21816           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21817           /^X\(\/\/\)$/{ s//\1/; q; }
21818           /^X\(\/\).*/{ s//\1/; q; }
21819           s/.*/./; q'`
21820     done
21821     test ! -n "$as_dirs" || mkdir $as_dirs
21822   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21823 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21824    { (exit 1); exit 1; }; }; }
21825
21826   ac_builddir=.
21827
21828 if test "$ac_dir" != .; then
21829   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21830   # A "../" for each directory in $ac_dir_suffix.
21831   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21832 else
21833   ac_dir_suffix= ac_top_builddir=
21834 fi
21835
21836 case $srcdir in
21837   .)  # No --srcdir option.  We are building in place.
21838     ac_srcdir=.
21839     if test -z "$ac_top_builddir"; then
21840        ac_top_srcdir=.
21841     else
21842        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21843     fi ;;
21844   [\\/]* | ?:[\\/]* )  # Absolute path.
21845     ac_srcdir=$srcdir$ac_dir_suffix;
21846     ac_top_srcdir=$srcdir ;;
21847   *) # Relative path.
21848     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21849     ac_top_srcdir=$ac_top_builddir$srcdir ;;
21850 esac
21851
21852 # Do not use `cd foo && pwd` to compute absolute paths, because
21853 # the directories may not exist.
21854 case `pwd` in
21855 .) ac_abs_builddir="$ac_dir";;
21856 *)
21857   case "$ac_dir" in
21858   .) ac_abs_builddir=`pwd`;;
21859   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21860   *) ac_abs_builddir=`pwd`/"$ac_dir";;
21861   esac;;
21862 esac
21863 case $ac_abs_builddir in
21864 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21865 *)
21866   case ${ac_top_builddir}. in
21867   .) ac_abs_top_builddir=$ac_abs_builddir;;
21868   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21869   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21870   esac;;
21871 esac
21872 case $ac_abs_builddir in
21873 .) ac_abs_srcdir=$ac_srcdir;;
21874 *)
21875   case $ac_srcdir in
21876   .) ac_abs_srcdir=$ac_abs_builddir;;
21877   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21878   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21879   esac;;
21880 esac
21881 case $ac_abs_builddir in
21882 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21883 *)
21884   case $ac_top_srcdir in
21885   .) ac_abs_top_srcdir=$ac_abs_builddir;;
21886   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21887   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21888   esac;;
21889 esac
21890
21891
21892   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21893 echo "$as_me: executing $ac_dest commands" >&6;}
21894   case $ac_dest in
21895     default-1 )
21896 # Only add multilib support code if we just rebuilt the top-level
21897 # Makefile.
21898 case " $CONFIG_FILES " in
21899  *" Makefile "*)
21900    ac_file=Makefile . ${multi_basedir}/config-ml.in
21901    ;;
21902 esac ;;
21903     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
21904   # Strip MF so we end up with the name of the file.
21905   mf=`echo "$mf" | sed -e 's/:.*$//'`
21906   # Check whether this is an Automake generated Makefile or not.
21907   # We used to match only the files named `Makefile.in', but
21908   # some people rename them; so instead we look at the file content.
21909   # Grep'ing the first line is not enough: some people post-process
21910   # each Makefile.in and add a new line on top of each file to say so.
21911   # So let's grep whole file.
21912   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
21913     dirpart=`(dirname "$mf") 2>/dev/null ||
21914 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21915          X"$mf" : 'X\(//\)[^/]' \| \
21916          X"$mf" : 'X\(//\)$' \| \
21917          X"$mf" : 'X\(/\)' \| \
21918          .     : '\(.\)' 2>/dev/null ||
21919 echo X"$mf" |
21920     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21921           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21922           /^X\(\/\/\)$/{ s//\1/; q; }
21923           /^X\(\/\).*/{ s//\1/; q; }
21924           s/.*/./; q'`
21925   else
21926     continue
21927   fi
21928   # Extract the definition of DEPDIR, am__include, and am__quote
21929   # from the Makefile without running `make'.
21930   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
21931   test -z "$DEPDIR" && continue
21932   am__include=`sed -n 's/^am__include = //p' < "$mf"`
21933   test -z "am__include" && continue
21934   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
21935   # When using ansi2knr, U may be empty or an underscore; expand it
21936   U=`sed -n 's/^U = //p' < "$mf"`
21937   # Find all dependency output files, they are included files with
21938   # $(DEPDIR) in their names.  We invoke sed twice because it is the
21939   # simplest approach to changing $(DEPDIR) to its actual value in the
21940   # expansion.
21941   for file in `sed -n "
21942     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21943        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21944     # Make sure the directory exists.
21945     test -f "$dirpart/$file" && continue
21946     fdir=`(dirname "$file") 2>/dev/null ||
21947 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21948          X"$file" : 'X\(//\)[^/]' \| \
21949          X"$file" : 'X\(//\)$' \| \
21950          X"$file" : 'X\(/\)' \| \
21951          .     : '\(.\)' 2>/dev/null ||
21952 echo X"$file" |
21953     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21954           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21955           /^X\(\/\/\)$/{ s//\1/; q; }
21956           /^X\(\/\).*/{ s//\1/; q; }
21957           s/.*/./; q'`
21958     { if $as_mkdir_p; then
21959     mkdir -p $dirpart/$fdir
21960   else
21961     as_dir=$dirpart/$fdir
21962     as_dirs=
21963     while test ! -d "$as_dir"; do
21964       as_dirs="$as_dir $as_dirs"
21965       as_dir=`(dirname "$as_dir") 2>/dev/null ||
21966 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21967          X"$as_dir" : 'X\(//\)[^/]' \| \
21968          X"$as_dir" : 'X\(//\)$' \| \
21969          X"$as_dir" : 'X\(/\)' \| \
21970          .     : '\(.\)' 2>/dev/null ||
21971 echo X"$as_dir" |
21972     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21973           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21974           /^X\(\/\/\)$/{ s//\1/; q; }
21975           /^X\(\/\).*/{ s//\1/; q; }
21976           s/.*/./; q'`
21977     done
21978     test ! -n "$as_dirs" || mkdir $as_dirs
21979   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
21980 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
21981    { (exit 1); exit 1; }; }; }
21982
21983     # echo "creating $dirpart/$file"
21984     echo '# dummy' > "$dirpart/$file"
21985   done
21986 done
21987  ;;
21988     mkcollections.pl ) chmod 755 lib/mkcollections.pl ;;
21989     $ac_stdint_h )
21990 { echo "$as_me:$LINENO: creating $ac_stdint_h : $_ac_stdint_h" >&5
21991 echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
21992 ac_stdint=$tmp/_stdint.h
21993
21994 echo "#ifndef" $_ac_stdint_h >$ac_stdint
21995 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
21996 echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint
21997 echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint
21998 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
21999 if test "_$ac_cv_header_stdint_t" != "_" ; then
22000 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
22001 echo "#include <stdint.h>" >>$ac_stdint
22002 echo "#endif" >>$ac_stdint
22003 echo "#endif" >>$ac_stdint
22004 else
22005
22006 cat >>$ac_stdint <<STDINT_EOF
22007
22008 /* ................... shortcircuit part ........................... */
22009
22010 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
22011 #include <stdint.h>
22012 #else
22013 #include <stddef.h>
22014
22015 /* .................... configured part ............................ */
22016
22017 STDINT_EOF
22018
22019 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
22020 if test "_$ac_cv_header_stdint_x" != "_" ; then
22021   ac_header="$ac_cv_header_stdint_x"
22022   echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
22023 else
22024   echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
22025 fi
22026
22027 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
22028 if  test "_$ac_cv_header_stdint_o" != "_" ; then
22029   ac_header="$ac_cv_header_stdint_o"
22030   echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
22031 else
22032   echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
22033 fi
22034
22035 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
22036 if  test "_$ac_cv_header_stdint_u" != "_" ; then
22037   ac_header="$ac_cv_header_stdint_u"
22038   echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
22039 else
22040   echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
22041 fi
22042
22043 echo "" >>$ac_stdint
22044
22045 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
22046   echo "#include <$ac_header>" >>$ac_stdint
22047   echo "" >>$ac_stdint
22048 fi fi
22049
22050 echo "/* which 64bit typedef has been found */" >>$ac_stdint
22051 if test "$ac_cv_type_uint64_t" = "yes" ; then
22052 echo "#define   _STDINT_HAVE_UINT64_T" "1"  >>$ac_stdint
22053 else
22054 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
22055 fi
22056 if test "$ac_cv_type_u_int64_t" = "yes" ; then
22057 echo "#define   _STDINT_HAVE_U_INT64_T" "1"  >>$ac_stdint
22058 else
22059 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
22060 fi
22061 echo "" >>$ac_stdint
22062
22063 echo "/* which type model has been detected */" >>$ac_stdint
22064 if test "_$ac_cv_char_data_model" != "_" ; then
22065 echo "#define   _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
22066 echo "#define   _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
22067 else
22068 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
22069 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
22070 fi
22071 echo "" >>$ac_stdint
22072
22073 echo "/* whether int_least types were detected */" >>$ac_stdint
22074 if test "$ac_cv_type_int_least32_t" = "yes"; then
22075 echo "#define   _STDINT_HAVE_INT_LEAST32_T" "1"  >>$ac_stdint
22076 else
22077 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
22078 fi
22079 echo "/* whether int_fast types were detected */" >>$ac_stdint
22080 if test "$ac_cv_type_int_fast32_t" = "yes"; then
22081 echo "#define   _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
22082 else
22083 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
22084 fi
22085 echo "/* whether intmax_t type was detected */" >>$ac_stdint
22086 if test "$ac_cv_type_intmax_t" = "yes"; then
22087 echo "#define   _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
22088 else
22089 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
22090 fi
22091 echo "" >>$ac_stdint
22092
22093   cat >>$ac_stdint <<STDINT_EOF
22094 /* .................... detections part ............................ */
22095
22096 /* whether we need to define bitspecific types from compiler base types */
22097 #ifndef _STDINT_HEADER_INTPTR
22098 #ifndef _STDINT_HEADER_UINT32
22099 #ifndef _STDINT_HEADER_U_INT32
22100 #define _STDINT_NEED_INT_MODEL_T
22101 #else
22102 #define _STDINT_HAVE_U_INT_TYPES
22103 #endif
22104 #endif
22105 #endif
22106
22107 #ifdef _STDINT_HAVE_U_INT_TYPES
22108 #undef _STDINT_NEED_INT_MODEL_T
22109 #endif
22110
22111 #ifdef  _STDINT_CHAR_MODEL
22112 #if     _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
22113 #ifndef _STDINT_BYTE_MODEL
22114 #define _STDINT_BYTE_MODEL 12
22115 #endif
22116 #endif
22117 #endif
22118
22119 #ifndef _STDINT_HAVE_INT_LEAST32_T
22120 #define _STDINT_NEED_INT_LEAST_T
22121 #endif
22122
22123 #ifndef _STDINT_HAVE_INT_FAST32_T
22124 #define _STDINT_NEED_INT_FAST_T
22125 #endif
22126
22127 #ifndef _STDINT_HEADER_INTPTR
22128 #define _STDINT_NEED_INTPTR_T
22129 #ifndef _STDINT_HAVE_INTMAX_T
22130 #define _STDINT_NEED_INTMAX_T
22131 #endif
22132 #endif
22133
22134
22135 /* .................... definition part ............................ */
22136
22137 /* some system headers have good uint64_t */
22138 #ifndef _HAVE_UINT64_T
22139 #if     defined _STDINT_HAVE_UINT64_T  || defined HAVE_UINT64_T
22140 #define _HAVE_UINT64_T
22141 #elif   defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
22142 #define _HAVE_UINT64_T
22143 typedef u_int64_t uint64_t;
22144 #endif
22145 #endif
22146
22147 #ifndef _HAVE_UINT64_T
22148 /* .. here are some common heuristics using compiler runtime specifics */
22149 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
22150 #define _HAVE_UINT64_T
22151 #define _HAVE_LONGLONG_UINT64_T
22152 typedef long long int64_t;
22153 typedef unsigned long long uint64_t;
22154
22155 #elif !defined __STRICT_ANSI__
22156 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
22157 #define _HAVE_UINT64_T
22158 typedef __int64 int64_t;
22159 typedef unsigned __int64 uint64_t;
22160
22161 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
22162 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
22163 #if !defined _NO_LONGLONG
22164 #define _HAVE_UINT64_T
22165 #define _HAVE_LONGLONG_UINT64_T
22166 typedef long long int64_t;
22167 typedef unsigned long long uint64_t;
22168 #endif
22169
22170 #elif defined __alpha || (defined __mips && defined _ABIN32)
22171 #if !defined _NO_LONGLONG
22172 typedef long int64_t;
22173 typedef unsigned long uint64_t;
22174 #endif
22175   /* compiler/cpu type to define int64_t */
22176 #endif
22177 #endif
22178 #endif
22179
22180 #if defined _STDINT_HAVE_U_INT_TYPES
22181 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
22182 typedef u_int8_t uint8_t;
22183 typedef u_int16_t uint16_t;
22184 typedef u_int32_t uint32_t;
22185
22186 /* glibc compatibility */
22187 #ifndef __int8_t_defined
22188 #define __int8_t_defined
22189 #endif
22190 #endif
22191
22192 #ifdef _STDINT_NEED_INT_MODEL_T
22193 /* we must guess all the basic types. Apart from byte-adressable system, */
22194 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
22195 /* (btw, those nibble-addressable systems are way off, or so we assume) */
22196
22197
22198 #if defined _STDINT_BYTE_MODEL
22199 #if _STDINT_LONG_MODEL+0 == 242
22200 /* 2:4:2 =  IP16 = a normal 16-bit system                */
22201 typedef unsigned char   uint8_t;
22202 typedef unsigned short  uint16_t;
22203 typedef unsigned long   uint32_t;
22204 #ifndef __int8_t_defined
22205 #define __int8_t_defined
22206 typedef          char    int8_t;
22207 typedef          short   int16_t;
22208 typedef          long    int32_t;
22209 #endif
22210 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
22211 /* 2:4:4 =  LP32 = a 32-bit system derived from a 16-bit */
22212 /* 4:4:4 = ILP32 = a normal 32-bit system                */
22213 typedef unsigned char   uint8_t;
22214 typedef unsigned short  uint16_t;
22215 typedef unsigned int    uint32_t;
22216 #ifndef __int8_t_defined
22217 #define __int8_t_defined
22218 typedef          char    int8_t;
22219 typedef          short   int16_t;
22220 typedef          int     int32_t;
22221 #endif
22222 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
22223 /* 4:8:4 =  IP32 = a 32-bit system prepared for 64-bit    */
22224 /* 4:8:8 =  LP64 = a normal 64-bit system                 */
22225 typedef unsigned char   uint8_t;
22226 typedef unsigned short  uint16_t;
22227 typedef unsigned int    uint32_t;
22228 #ifndef __int8_t_defined
22229 #define __int8_t_defined
22230 typedef          char    int8_t;
22231 typedef          short   int16_t;
22232 typedef          int     int32_t;
22233 #endif
22234 /* this system has a "long" of 64bit */
22235 #ifndef _HAVE_UINT64_T
22236 #define _HAVE_UINT64_T
22237 typedef unsigned long   uint64_t;
22238 typedef          long    int64_t;
22239 #endif
22240 #elif _STDINT_LONG_MODEL+0 == 448
22241 /*      LLP64   a 64-bit system derived from a 32-bit system */
22242 typedef unsigned char   uint8_t;
22243 typedef unsigned short  uint16_t;
22244 typedef unsigned int    uint32_t;
22245 #ifndef __int8_t_defined
22246 #define __int8_t_defined
22247 typedef          char    int8_t;
22248 typedef          short   int16_t;
22249 typedef          int     int32_t;
22250 #endif
22251 /* assuming the system has a "long long" */
22252 #ifndef _HAVE_UINT64_T
22253 #define _HAVE_UINT64_T
22254 #define _HAVE_LONGLONG_UINT64_T
22255 typedef unsigned long long uint64_t;
22256 typedef          long long  int64_t;
22257 #endif
22258 #else
22259 #define _STDINT_NO_INT32_T
22260 #endif
22261 #else
22262 #define _STDINT_NO_INT8_T
22263 #define _STDINT_NO_INT32_T
22264 #endif
22265 #endif
22266
22267 /*
22268  * quote from SunOS-5.8 sys/inttypes.h:
22269  * Use at your own risk.  As of February 1996, the committee is squarely
22270  * behind the fixed sized types; the "least" and "fast" types are still being
22271  * discussed.  The probability that the "fast" types may be removed before
22272  * the standard is finalized is high enough that they are not currently
22273  * implemented.
22274  */
22275
22276 #if defined _STDINT_NEED_INT_LEAST_T
22277 typedef  int8_t    int_least8_t;
22278 typedef  int16_t   int_least16_t;
22279 typedef  int32_t   int_least32_t;
22280 #ifdef _HAVE_UINT64_T
22281 typedef  int64_t   int_least64_t;
22282 #endif
22283
22284 typedef uint8_t   uint_least8_t;
22285 typedef uint16_t  uint_least16_t;
22286 typedef uint32_t  uint_least32_t;
22287 #ifdef _HAVE_UINT64_T
22288 typedef uint64_t  uint_least64_t;
22289 #endif
22290   /* least types */
22291 #endif
22292
22293 #if defined _STDINT_NEED_INT_FAST_T
22294 typedef  int8_t    int_fast8_t;
22295 typedef  int       int_fast16_t;
22296 typedef  int32_t   int_fast32_t;
22297 #ifdef _HAVE_UINT64_T
22298 typedef  int64_t   int_fast64_t;
22299 #endif
22300
22301 typedef uint8_t   uint_fast8_t;
22302 typedef unsigned  uint_fast16_t;
22303 typedef uint32_t  uint_fast32_t;
22304 #ifdef _HAVE_UINT64_T
22305 typedef uint64_t  uint_fast64_t;
22306 #endif
22307   /* fast types */
22308 #endif
22309
22310 #ifdef _STDINT_NEED_INTMAX_T
22311 #ifdef _HAVE_UINT64_T
22312 typedef  int64_t       intmax_t;
22313 typedef uint64_t      uintmax_t;
22314 #else
22315 typedef          long  intmax_t;
22316 typedef unsigned long uintmax_t;
22317 #endif
22318 #endif
22319
22320 #ifdef _STDINT_NEED_INTPTR_T
22321 #ifndef __intptr_t_defined
22322 #define __intptr_t_defined
22323 /* we encourage using "long" to store pointer values, never use "int" ! */
22324 #if   _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
22325 typedef  unsigned int   uintptr_t;
22326 typedef           int    intptr_t;
22327 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
22328 typedef  unsigned long  uintptr_t;
22329 typedef           long   intptr_t;
22330 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
22331 typedef        uint64_t uintptr_t;
22332 typedef         int64_t  intptr_t;
22333 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
22334 typedef  unsigned long  uintptr_t;
22335 typedef           long   intptr_t;
22336 #endif
22337 #endif
22338 #endif
22339
22340 /* The ISO C99 standard specifies that in C++ implementations these
22341    should only be defined if explicitly requested.  */
22342 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
22343 #ifndef UINT32_C
22344
22345 /* Signed.  */
22346 # define INT8_C(c)      c
22347 # define INT16_C(c)     c
22348 # define INT32_C(c)     c
22349 # ifdef _HAVE_LONGLONG_UINT64_T
22350 #  define INT64_C(c)    c ## L
22351 # else
22352 #  define INT64_C(c)    c ## LL
22353 # endif
22354
22355 /* Unsigned.  */
22356 # define UINT8_C(c)     c ## U
22357 # define UINT16_C(c)    c ## U
22358 # define UINT32_C(c)    c ## U
22359 # ifdef _HAVE_LONGLONG_UINT64_T
22360 #  define UINT64_C(c)   c ## UL
22361 # else
22362 #  define UINT64_C(c)   c ## ULL
22363 # endif
22364
22365 /* Maximal type.  */
22366 # ifdef _HAVE_LONGLONG_UINT64_T
22367 #  define INTMAX_C(c)   c ## L
22368 #  define UINTMAX_C(c)  c ## UL
22369 # else
22370 #  define INTMAX_C(c)   c ## LL
22371 #  define UINTMAX_C(c)  c ## ULL
22372 # endif
22373
22374   /* literalnumbers */
22375 #endif
22376 #endif
22377
22378 /* These limits are merily those of a two complement byte-oriented system */
22379
22380 /* Minimum of signed integral types.  */
22381 # define INT8_MIN               (-128)
22382 # define INT16_MIN              (-32767-1)
22383 # define INT32_MIN              (-2147483647-1)
22384 # define INT64_MIN              (-__INT64_C(9223372036854775807)-1)
22385 /* Maximum of signed integral types.  */
22386 # define INT8_MAX               (127)
22387 # define INT16_MAX              (32767)
22388 # define INT32_MAX              (2147483647)
22389 # define INT64_MAX              (__INT64_C(9223372036854775807))
22390
22391 /* Maximum of unsigned integral types.  */
22392 # define UINT8_MAX              (255)
22393 # define UINT16_MAX             (65535)
22394 # define UINT32_MAX             (4294967295U)
22395 # define UINT64_MAX             (__UINT64_C(18446744073709551615))
22396
22397 /* Minimum of signed integral types having a minimum size.  */
22398 # define INT_LEAST8_MIN         INT8_MIN
22399 # define INT_LEAST16_MIN        INT16_MIN
22400 # define INT_LEAST32_MIN        INT32_MIN
22401 # define INT_LEAST64_MIN        INT64_MIN
22402 /* Maximum of signed integral types having a minimum size.  */
22403 # define INT_LEAST8_MAX         INT8_MAX
22404 # define INT_LEAST16_MAX        INT16_MAX
22405 # define INT_LEAST32_MAX        INT32_MAX
22406 # define INT_LEAST64_MAX        INT64_MAX
22407
22408 /* Maximum of unsigned integral types having a minimum size.  */
22409 # define UINT_LEAST8_MAX        UINT8_MAX
22410 # define UINT_LEAST16_MAX       UINT16_MAX
22411 # define UINT_LEAST32_MAX       UINT32_MAX
22412 # define UINT_LEAST64_MAX       UINT64_MAX
22413
22414   /* shortcircuit*/
22415 #endif
22416   /* once */
22417 #endif
22418 #endif
22419 STDINT_EOF
22420 fi
22421     if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then
22422       { echo "$as_me:$LINENO: $ac_stdint_h is unchanged" >&5
22423 echo "$as_me: $ac_stdint_h is unchanged" >&6;}
22424     else
22425       ac_dir=`(dirname "$ac_stdint_h") 2>/dev/null ||
22426 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22427          X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
22428          X"$ac_stdint_h" : 'X\(//\)$' \| \
22429          X"$ac_stdint_h" : 'X\(/\)' \| \
22430          .     : '\(.\)' 2>/dev/null ||
22431 echo X"$ac_stdint_h" |
22432     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22433           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22434           /^X\(\/\/\)$/{ s//\1/; q; }
22435           /^X\(\/\).*/{ s//\1/; q; }
22436           s/.*/./; q'`
22437       { if $as_mkdir_p; then
22438     mkdir -p "$ac_dir"
22439   else
22440     as_dir="$ac_dir"
22441     as_dirs=
22442     while test ! -d "$as_dir"; do
22443       as_dirs="$as_dir $as_dirs"
22444       as_dir=`(dirname "$as_dir") 2>/dev/null ||
22445 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22446          X"$as_dir" : 'X\(//\)[^/]' \| \
22447          X"$as_dir" : 'X\(//\)$' \| \
22448          X"$as_dir" : 'X\(/\)' \| \
22449          .     : '\(.\)' 2>/dev/null ||
22450 echo X"$as_dir" |
22451     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22452           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22453           /^X\(\/\/\)$/{ s//\1/; q; }
22454           /^X\(\/\).*/{ s//\1/; q; }
22455           s/.*/./; q'`
22456     done
22457     test ! -n "$as_dirs" || mkdir $as_dirs
22458   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22459 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22460    { (exit 1); exit 1; }; }; }
22461
22462       rm -f $ac_stdint_h
22463       mv $ac_stdint $ac_stdint_h
22464     fi
22465  ;;
22466     gappletviewer ) chmod 755 tools/gappletviewer ;;
22467     gjarsigner ) chmod 755 tools/gjarsigner ;;
22468     gkeytool ) chmod 755 tools/gkeytool ;;
22469     gjar ) chmod 755 tools/gjar ;;
22470     gnative2ascii ) chmod 755 tools/gnative2ascii ;;
22471     gserialver ) chmod 755 tools/gserialver ;;
22472     grmiregistry ) chmod 755 tools/grmiregistry ;;
22473     gtnameserv ) chmod 755 tools/gtnameserv ;;
22474     gorbd ) chmod 755 tools/gorbd ;;
22475     grmid ) chmod 755 tools/grmid ;;
22476     grmic ) chmod 755 tools/grmic ;;
22477     gjavah ) chmod 755 tools/gjavah ;;
22478     gen-classlist ) chmod 755 lib/gen-classlist.sh ;;
22479     copy-vmresources ) chmod 755 lib/copy-vmresources.sh ;;
22480   esac
22481 done
22482 _ACEOF
22483
22484 cat >>$CONFIG_STATUS <<\_ACEOF
22485
22486 { (exit 0); exit 0; }
22487 _ACEOF
22488 chmod +x $CONFIG_STATUS
22489 ac_clean_files=$ac_clean_files_save
22490
22491
22492 # configure is writing to config.log, and then calls config.status.
22493 # config.status does its own redirection, appending to config.log.
22494 # Unfortunately, on DOS this fails, as config.log is still kept open
22495 # by configure, so config.status won't be able to write to it; its
22496 # output is simply discarded.  So we exec the FD to /dev/null,
22497 # effectively closing config.log, so it can be properly (re)opened and
22498 # appended to by config.status.  When coming back to configure, we
22499 # need to make the FD available again.
22500 if test "$no_create" != yes; then
22501   ac_cs_success=:
22502   ac_config_status_args=
22503   test "$silent" = yes &&
22504     ac_config_status_args="$ac_config_status_args --quiet"
22505   exec 5>/dev/null
22506   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22507   exec 5>>config.log
22508   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22509   # would make configure fail if this is the last instruction.
22510   $ac_cs_success || { (exit 1); exit 1; }
22511 fi
22512
22513
22514 # Create standard.omit based on decisions we just made.
22515 cat ${srcdir}/lib/standard.omit.in > lib/standard.omit
22516 if test x$use_escher != xtrue; then
22517    echo gnu/java/awt/peer/x/.*java$ >> lib/standard.omit
22518 fi