OSDN Git Service

2005-12-01 Anthony Green <green@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.20-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.20-pre'
273 PACKAGE_STRING='GNU Classpath 0.20-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 LIBVERSION CLASSPATH_MODULE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CREATE_JNI_LIBRARIES_TRUE CREATE_JNI_LIBRARIES_FALSE CREATE_CORE_JNI_LIBRARIES_TRUE CREATE_CORE_JNI_LIBRARIES_FALSE default_toolkit CREATE_XMLJ_LIBRARY_TRUE CREATE_XMLJ_LIBRARY_FALSE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP CREATE_ALSA_LIBRARIES_TRUE CREATE_ALSA_LIBRARIES_FALSE CREATE_DSSI_LIBRARIES_TRUE CREATE_DSSI_LIBRARIES_FALSE CREATE_GTK_PEER_LIBRARIES_TRUE CREATE_GTK_PEER_LIBRARIES_FALSE GTK_CAIRO_ENABLED GTK_CAIRO_TRUE GTK_CAIRO_FALSE CREATE_QT_PEER_LIBRARIES_TRUE CREATE_QT_PEER_LIBRARIES_FALSE nativelibdir glibjdir CREATE_JNI_HEADERS_TRUE CREATE_JNI_HEADERS_FALSE LN_S RANLIB ac_ct_RANLIB LIBTOOL CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP LIBICONV LTLIBICONV WARNING_CFLAGS STRICT_WARNING_CFLAGS ERROR_CFLAGS PKG_CONFIG XML_CFLAGS XML_LIBS XSLT_CFLAGS XSLT_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS GTK_CFLAGS GTK_LIBS CAIRO_CFLAGS CAIRO_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS QT_CFLAGS QT_LIBS MOC USER_JAVAH USER_SPECIFIED_JAVAH_TRUE USER_SPECIFIED_JAVAH_FALSE CLASSPATH_INCLUDES GCJ JIKES JIKESENCODING KJC GCJX ECJ FOUND_GCJ_TRUE FOUND_GCJ_FALSE FOUND_JIKES_TRUE FOUND_JIKES_FALSE FOUND_ECJ_TRUE FOUND_ECJ_FALSE FOUND_KJC_TRUE FOUND_KJC_FALSE FOUND_GCJX_TRUE FOUND_GCJX_FALSE USER_CLASSLIB USER_SPECIFIED_CLASSLIB_TRUE USER_SPECIFIED_CLASSLIB_FALSE vm_classes MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBDEBUG INIT_LOAD_LIBRARY JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION REMOVE MKDIR CP DATE FIND ZIP INSTALL_GLIBJ_ZIP_TRUE INSTALL_GLIBJ_ZIP_FALSE INSTALL_CLASS_FILES_TRUE INSTALL_CLASS_FILES_FALSE BUILD_CLASS_FILES_TRUE BUILD_CLASS_FILES_FALSE EXAMPLESDIR GJDOC CREATE_API_DOCS_TRUE CREATE_API_DOCS_FALSE JAY JAY_SKELETON REGEN_PARSERS_TRUE REGEN_PARSERS_FALSE LIBOBJS LTLIBOBJS'
316 ac_subst_files=''
317
318 # Initialize some variables set by options.
319 ac_init_help=
320 ac_init_version=false
321 # The variables have the same names as the options, with
322 # dashes changed to underlines.
323 cache_file=/dev/null
324 exec_prefix=NONE
325 no_create=
326 no_recursion=
327 prefix=NONE
328 program_prefix=NONE
329 program_suffix=NONE
330 program_transform_name=s,x,x,
331 silent=
332 site=
333 srcdir=
334 verbose=
335 x_includes=NONE
336 x_libraries=NONE
337
338 # Installation directory options.
339 # These are left unexpanded so users can "make install exec_prefix=/foo"
340 # and all the variables that are supposed to be based on exec_prefix
341 # by default will actually change.
342 # Use braces instead of parens because sh, perl, etc. also accept them.
343 bindir='${exec_prefix}/bin'
344 sbindir='${exec_prefix}/sbin'
345 libexecdir='${exec_prefix}/libexec'
346 datadir='${prefix}/share'
347 sysconfdir='${prefix}/etc'
348 sharedstatedir='${prefix}/com'
349 localstatedir='${prefix}/var'
350 libdir='${exec_prefix}/lib'
351 includedir='${prefix}/include'
352 oldincludedir='/usr/include'
353 infodir='${prefix}/info'
354 mandir='${prefix}/man'
355
356 ac_prev=
357 for ac_option
358 do
359   # If the previous option needs an argument, assign it.
360   if test -n "$ac_prev"; then
361     eval "$ac_prev=\$ac_option"
362     ac_prev=
363     continue
364   fi
365
366   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367
368   # Accept the important Cygnus configure options, so we can diagnose typos.
369
370   case $ac_option in
371
372   -bindir | --bindir | --bindi | --bind | --bin | --bi)
373     ac_prev=bindir ;;
374   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
375     bindir=$ac_optarg ;;
376
377   -build | --build | --buil | --bui | --bu)
378     ac_prev=build_alias ;;
379   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
380     build_alias=$ac_optarg ;;
381
382   -cache-file | --cache-file | --cache-fil | --cache-fi \
383   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
384     ac_prev=cache_file ;;
385   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
386   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
387     cache_file=$ac_optarg ;;
388
389   --config-cache | -C)
390     cache_file=config.cache ;;
391
392   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
393     ac_prev=datadir ;;
394   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
395   | --da=*)
396     datadir=$ac_optarg ;;
397
398   -disable-* | --disable-*)
399     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400     # Reject names that are not valid shell variable names.
401     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
402       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403    { (exit 1); exit 1; }; }
404     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
405     eval "enable_$ac_feature=no" ;;
406
407   -enable-* | --enable-*)
408     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409     # Reject names that are not valid shell variable names.
410     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
411       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412    { (exit 1); exit 1; }; }
413     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
414     case $ac_option in
415       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416       *) ac_optarg=yes ;;
417     esac
418     eval "enable_$ac_feature='$ac_optarg'" ;;
419
420   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
421   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
422   | --exec | --exe | --ex)
423     ac_prev=exec_prefix ;;
424   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
425   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
426   | --exec=* | --exe=* | --ex=*)
427     exec_prefix=$ac_optarg ;;
428
429   -gas | --gas | --ga | --g)
430     # Obsolete; use --with-gas.
431     with_gas=yes ;;
432
433   -help | --help | --hel | --he | -h)
434     ac_init_help=long ;;
435   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
436     ac_init_help=recursive ;;
437   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
438     ac_init_help=short ;;
439
440   -host | --host | --hos | --ho)
441     ac_prev=host_alias ;;
442   -host=* | --host=* | --hos=* | --ho=*)
443     host_alias=$ac_optarg ;;
444
445   -includedir | --includedir | --includedi | --included | --include \
446   | --includ | --inclu | --incl | --inc)
447     ac_prev=includedir ;;
448   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
449   | --includ=* | --inclu=* | --incl=* | --inc=*)
450     includedir=$ac_optarg ;;
451
452   -infodir | --infodir | --infodi | --infod | --info | --inf)
453     ac_prev=infodir ;;
454   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
455     infodir=$ac_optarg ;;
456
457   -libdir | --libdir | --libdi | --libd)
458     ac_prev=libdir ;;
459   -libdir=* | --libdir=* | --libdi=* | --libd=*)
460     libdir=$ac_optarg ;;
461
462   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
463   | --libexe | --libex | --libe)
464     ac_prev=libexecdir ;;
465   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
466   | --libexe=* | --libex=* | --libe=*)
467     libexecdir=$ac_optarg ;;
468
469   -localstatedir | --localstatedir | --localstatedi | --localstated \
470   | --localstate | --localstat | --localsta | --localst \
471   | --locals | --local | --loca | --loc | --lo)
472     ac_prev=localstatedir ;;
473   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
474   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
475   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
476     localstatedir=$ac_optarg ;;
477
478   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
479     ac_prev=mandir ;;
480   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481     mandir=$ac_optarg ;;
482
483   -nfp | --nfp | --nf)
484     # Obsolete; use --without-fp.
485     with_fp=no ;;
486
487   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
488   | --no-cr | --no-c | -n)
489     no_create=yes ;;
490
491   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
492   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
493     no_recursion=yes ;;
494
495   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
496   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
497   | --oldin | --oldi | --old | --ol | --o)
498     ac_prev=oldincludedir ;;
499   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
500   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
501   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
502     oldincludedir=$ac_optarg ;;
503
504   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
505     ac_prev=prefix ;;
506   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
507     prefix=$ac_optarg ;;
508
509   -program-prefix | --program-prefix | --program-prefi | --program-pref \
510   | --program-pre | --program-pr | --program-p)
511     ac_prev=program_prefix ;;
512   -program-prefix=* | --program-prefix=* | --program-prefi=* \
513   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
514     program_prefix=$ac_optarg ;;
515
516   -program-suffix | --program-suffix | --program-suffi | --program-suff \
517   | --program-suf | --program-su | --program-s)
518     ac_prev=program_suffix ;;
519   -program-suffix=* | --program-suffix=* | --program-suffi=* \
520   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
521     program_suffix=$ac_optarg ;;
522
523   -program-transform-name | --program-transform-name \
524   | --program-transform-nam | --program-transform-na \
525   | --program-transform-n | --program-transform- \
526   | --program-transform | --program-transfor \
527   | --program-transfo | --program-transf \
528   | --program-trans | --program-tran \
529   | --progr-tra | --program-tr | --program-t)
530     ac_prev=program_transform_name ;;
531   -program-transform-name=* | --program-transform-name=* \
532   | --program-transform-nam=* | --program-transform-na=* \
533   | --program-transform-n=* | --program-transform-=* \
534   | --program-transform=* | --program-transfor=* \
535   | --program-transfo=* | --program-transf=* \
536   | --program-trans=* | --program-tran=* \
537   | --progr-tra=* | --program-tr=* | --program-t=*)
538     program_transform_name=$ac_optarg ;;
539
540   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
541   | -silent | --silent | --silen | --sile | --sil)
542     silent=yes ;;
543
544   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
545     ac_prev=sbindir ;;
546   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
547   | --sbi=* | --sb=*)
548     sbindir=$ac_optarg ;;
549
550   -sharedstatedir | --sharedstatedir | --sharedstatedi \
551   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
552   | --sharedst | --shareds | --shared | --share | --shar \
553   | --sha | --sh)
554     ac_prev=sharedstatedir ;;
555   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
556   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
557   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
558   | --sha=* | --sh=*)
559     sharedstatedir=$ac_optarg ;;
560
561   -site | --site | --sit)
562     ac_prev=site ;;
563   -site=* | --site=* | --sit=*)
564     site=$ac_optarg ;;
565
566   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
567     ac_prev=srcdir ;;
568   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
569     srcdir=$ac_optarg ;;
570
571   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
572   | --syscon | --sysco | --sysc | --sys | --sy)
573     ac_prev=sysconfdir ;;
574   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
575   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
576     sysconfdir=$ac_optarg ;;
577
578   -target | --target | --targe | --targ | --tar | --ta | --t)
579     ac_prev=target_alias ;;
580   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
581     target_alias=$ac_optarg ;;
582
583   -v | -verbose | --verbose | --verbos | --verbo | --verb)
584     verbose=yes ;;
585
586   -version | --version | --versio | --versi | --vers | -V)
587     ac_init_version=: ;;
588
589   -with-* | --with-*)
590     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591     # Reject names that are not valid shell variable names.
592     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
593       { echo "$as_me: error: invalid package name: $ac_package" >&2
594    { (exit 1); exit 1; }; }
595     ac_package=`echo $ac_package| sed 's/-/_/g'`
596     case $ac_option in
597       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598       *) ac_optarg=yes ;;
599     esac
600     eval "with_$ac_package='$ac_optarg'" ;;
601
602   -without-* | --without-*)
603     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604     # Reject names that are not valid shell variable names.
605     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
606       { echo "$as_me: error: invalid package name: $ac_package" >&2
607    { (exit 1); exit 1; }; }
608     ac_package=`echo $ac_package | sed 's/-/_/g'`
609     eval "with_$ac_package=no" ;;
610
611   --x)
612     # Obsolete; use --with-x.
613     with_x=yes ;;
614
615   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
616   | --x-incl | --x-inc | --x-in | --x-i)
617     ac_prev=x_includes ;;
618   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
619   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
620     x_includes=$ac_optarg ;;
621
622   -x-libraries | --x-libraries | --x-librarie | --x-librari \
623   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
624     ac_prev=x_libraries ;;
625   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
626   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
627     x_libraries=$ac_optarg ;;
628
629   -*) { echo "$as_me: error: unrecognized option: $ac_option
630 Try \`$0 --help' for more information." >&2
631    { (exit 1); exit 1; }; }
632     ;;
633
634   *=*)
635     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
636     # Reject names that are not valid shell variable names.
637     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
638       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639    { (exit 1); exit 1; }; }
640     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
641     eval "$ac_envvar='$ac_optarg'"
642     export $ac_envvar ;;
643
644   *)
645     # FIXME: should be removed in autoconf 3.0.
646     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
648       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
650     ;;
651
652   esac
653 done
654
655 if test -n "$ac_prev"; then
656   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
657   { echo "$as_me: error: missing argument to $ac_option" >&2
658    { (exit 1); exit 1; }; }
659 fi
660
661 # Be sure to have absolute paths.
662 for ac_var in exec_prefix prefix
663 do
664   eval ac_val=$`echo $ac_var`
665   case $ac_val in
666     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
667     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668    { (exit 1); exit 1; }; };;
669   esac
670 done
671
672 # Be sure to have absolute paths.
673 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674               localstatedir libdir includedir oldincludedir infodir mandir
675 do
676   eval ac_val=$`echo $ac_var`
677   case $ac_val in
678     [\\/$]* | ?:[\\/]* ) ;;
679     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680    { (exit 1); exit 1; }; };;
681   esac
682 done
683
684 # There might be people who depend on the old broken behavior: `$host'
685 # used to hold the argument of --host etc.
686 # FIXME: To remove some day.
687 build=$build_alias
688 host=$host_alias
689 target=$target_alias
690
691 # FIXME: To remove some day.
692 if test "x$host_alias" != x; then
693   if test "x$build_alias" = x; then
694     cross_compiling=maybe
695     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
696     If a cross compiler is detected then cross compile mode will be used." >&2
697   elif test "x$build_alias" != "x$host_alias"; then
698     cross_compiling=yes
699   fi
700 fi
701
702 ac_tool_prefix=
703 test -n "$host_alias" && ac_tool_prefix=$host_alias-
704
705 test "$silent" = yes && exec 6>/dev/null
706
707
708 # Find the source files, if location was not specified.
709 if test -z "$srcdir"; then
710   ac_srcdir_defaulted=yes
711   # Try the directory containing this script, then its parent.
712   ac_confdir=`(dirname "$0") 2>/dev/null ||
713 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714          X"$0" : 'X\(//\)[^/]' \| \
715          X"$0" : 'X\(//\)$' \| \
716          X"$0" : 'X\(/\)' \| \
717          .     : '\(.\)' 2>/dev/null ||
718 echo X"$0" |
719     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721           /^X\(\/\/\)$/{ s//\1/; q; }
722           /^X\(\/\).*/{ s//\1/; q; }
723           s/.*/./; q'`
724   srcdir=$ac_confdir
725   if test ! -r $srcdir/$ac_unique_file; then
726     srcdir=..
727   fi
728 else
729   ac_srcdir_defaulted=no
730 fi
731 if test ! -r $srcdir/$ac_unique_file; then
732   if test "$ac_srcdir_defaulted" = yes; then
733     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734    { (exit 1); exit 1; }; }
735   else
736     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737    { (exit 1); exit 1; }; }
738   fi
739 fi
740 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
741   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742    { (exit 1); exit 1; }; }
743 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744 ac_env_build_alias_set=${build_alias+set}
745 ac_env_build_alias_value=$build_alias
746 ac_cv_env_build_alias_set=${build_alias+set}
747 ac_cv_env_build_alias_value=$build_alias
748 ac_env_host_alias_set=${host_alias+set}
749 ac_env_host_alias_value=$host_alias
750 ac_cv_env_host_alias_set=${host_alias+set}
751 ac_cv_env_host_alias_value=$host_alias
752 ac_env_target_alias_set=${target_alias+set}
753 ac_env_target_alias_value=$target_alias
754 ac_cv_env_target_alias_set=${target_alias+set}
755 ac_cv_env_target_alias_value=$target_alias
756 ac_env_CC_set=${CC+set}
757 ac_env_CC_value=$CC
758 ac_cv_env_CC_set=${CC+set}
759 ac_cv_env_CC_value=$CC
760 ac_env_CFLAGS_set=${CFLAGS+set}
761 ac_env_CFLAGS_value=$CFLAGS
762 ac_cv_env_CFLAGS_set=${CFLAGS+set}
763 ac_cv_env_CFLAGS_value=$CFLAGS
764 ac_env_LDFLAGS_set=${LDFLAGS+set}
765 ac_env_LDFLAGS_value=$LDFLAGS
766 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
767 ac_cv_env_LDFLAGS_value=$LDFLAGS
768 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
772 ac_env_CPP_set=${CPP+set}
773 ac_env_CPP_value=$CPP
774 ac_cv_env_CPP_set=${CPP+set}
775 ac_cv_env_CPP_value=$CPP
776 ac_env_CXX_set=${CXX+set}
777 ac_env_CXX_value=$CXX
778 ac_cv_env_CXX_set=${CXX+set}
779 ac_cv_env_CXX_value=$CXX
780 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
781 ac_env_CXXFLAGS_value=$CXXFLAGS
782 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
783 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
784 ac_env_CXXCPP_set=${CXXCPP+set}
785 ac_env_CXXCPP_value=$CXXCPP
786 ac_cv_env_CXXCPP_set=${CXXCPP+set}
787 ac_cv_env_CXXCPP_value=$CXXCPP
788
789 #
790 # Report the --help message.
791 #
792 if test "$ac_init_help" = "long"; then
793   # Omit some internal or obsolete options to make the list less imposing.
794   # This message is too long to be a string in the A/UX 3.1 sh.
795   cat <<_ACEOF
796 \`configure' configures GNU Classpath 0.20-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.20-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-jni            compile JNI source default=yes
875   --enable-core-jni       compile JNI sources for core default=yes
876   --enable-Werror         whether to compile C code with -Werror which turns
877                           any compiler warning into a compilation failure
878                           default=no
879   --enable-default-toolkit
880                           fully qualified class name of default AWT toolkit
881   --enable-xmlj           compile native libxml/xslt library default=no
882   --disable-alsa          compile ALSA providers (enable by --enable-alsa)
883                           default=yes
884   --disable-dependency-tracking  speeds up one-time build
885   --enable-dependency-tracking   do not reject slow dependency extractors
886   --disable-dssi          compile DSSI providers (enable by --enable-dssi)
887                           default=yes
888   --disable-gtk-peer      compile GTK native peers (disabled by --disable-jni)
889                           default=yes
890
891   --enable-gtk-cairo      build the cairo Graphics2D implementation on GTK
892                           default=no
893   --enable-qt-peer        compile Qt4 native peers (disabled by --disable-jni)
894                           default=no
895   --enable-regen-headers  automatically regenerate JNI headers default=no
896   --enable-static=PKGS  build static libraries default=no
897   --enable-shared=PKGS  build shared libraries default=yes
898   --enable-fast-install=PKGS  optimize for fast installation default=yes
899   --disable-libtool-lock  avoid locking (might break parallel builds)
900   --disable-rpath         do not hardcode runtime library paths
901   --enable-maintainer-mode  enable make rules and dependencies not useful
902                           (and sometimes confusing) to the casual installer
903   --enable-debug          enable runtime debugging code
904   --enable-load-library   enable to use JNI native methods default=yes
905   --enable-java-lang-system-explicit-initialization
906                           will the VM explicitly invoke java.lang.System's
907                           static initialization methods default=no
908   --enable-examples       enable build of the examples default=yes
909   --enable-portable-native-sync
910                           synchronize VM threads portably
911
912 Optional Packages:
913   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
914   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
915   --with-native-libdir    sets the installation directore for native libraries
916                           default='${libdir}/${PACKAGE}'
917   --with-glibj-dir        sets the installation directory for glibj.zip
918                           default='${libdir}/${PACKAGE}'
919   --with-gnu-ld           assume the C compiler uses GNU ld default=no
920   --with-pic              try to use only PIC/non-PIC objects default=use both
921   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
922   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
923   --with-x                use the X Window System
924   --with-qt4dir=DIR       Qt4 installation directory used for OS-X. For other
925                           systems use pkg-config.
926   --with-javah            specify path or name of a javah-like program
927   --with-gcj              bytecode compilation with gcj
928   --with-jikes            bytecode compilation with jikes
929   --with-kjc              bytecode compilation with kjc
930   --with-gcjx             bytecode compilation with gcjx
931   --with-ecj              bytecode compilation with ecj
932   --with-classpath        specify path to a classes.zip like file
933   --with-vm-classes       specify path to VM override source files
934   --with-glibj            define what to install (zip|flat|both|none|build)
935                           [default=zip]
936   --with-gjdoc            generate documentation using gjdoc (default is NO)
937   --with-jay              Regenerate the parsers with jay must be given the
938                           path to the jay executable
939
940 Some influential environment variables:
941   CC          C compiler command
942   CFLAGS      C compiler flags
943   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
944               nonstandard directory <lib dir>
945   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
946               headers in a nonstandard directory <include dir>
947   CPP         C preprocessor
948   CXX         C++ compiler command
949   CXXFLAGS    C++ compiler flags
950   CXXCPP      C++ preprocessor
951
952 Use these variables to override the choices made by `configure' or to help
953 it to find libraries and programs with nonstandard names/locations.
954
955 Report bugs to <classpath@gnu.org>.
956 _ACEOF
957 fi
958
959 if test "$ac_init_help" = "recursive"; then
960   # If there are subdirs, report their specific --help.
961   ac_popdir=`pwd`
962   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
963     test -d $ac_dir || continue
964     ac_builddir=.
965
966 if test "$ac_dir" != .; then
967   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
968   # A "../" for each directory in $ac_dir_suffix.
969   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
970 else
971   ac_dir_suffix= ac_top_builddir=
972 fi
973
974 case $srcdir in
975   .)  # No --srcdir option.  We are building in place.
976     ac_srcdir=.
977     if test -z "$ac_top_builddir"; then
978        ac_top_srcdir=.
979     else
980        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
981     fi ;;
982   [\\/]* | ?:[\\/]* )  # Absolute path.
983     ac_srcdir=$srcdir$ac_dir_suffix;
984     ac_top_srcdir=$srcdir ;;
985   *) # Relative path.
986     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
987     ac_top_srcdir=$ac_top_builddir$srcdir ;;
988 esac
989
990 # Do not use `cd foo && pwd` to compute absolute paths, because
991 # the directories may not exist.
992 case `pwd` in
993 .) ac_abs_builddir="$ac_dir";;
994 *)
995   case "$ac_dir" in
996   .) ac_abs_builddir=`pwd`;;
997   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
998   *) ac_abs_builddir=`pwd`/"$ac_dir";;
999   esac;;
1000 esac
1001 case $ac_abs_builddir in
1002 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1003 *)
1004   case ${ac_top_builddir}. in
1005   .) ac_abs_top_builddir=$ac_abs_builddir;;
1006   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1007   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1008   esac;;
1009 esac
1010 case $ac_abs_builddir in
1011 .) ac_abs_srcdir=$ac_srcdir;;
1012 *)
1013   case $ac_srcdir in
1014   .) ac_abs_srcdir=$ac_abs_builddir;;
1015   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1016   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1017   esac;;
1018 esac
1019 case $ac_abs_builddir in
1020 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1021 *)
1022   case $ac_top_srcdir in
1023   .) ac_abs_top_srcdir=$ac_abs_builddir;;
1024   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1025   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1026   esac;;
1027 esac
1028
1029     cd $ac_dir
1030     # Check for guested configure; otherwise get Cygnus style configure.
1031     if test -f $ac_srcdir/configure.gnu; then
1032       echo
1033       $SHELL $ac_srcdir/configure.gnu  --help=recursive
1034     elif test -f $ac_srcdir/configure; then
1035       echo
1036       $SHELL $ac_srcdir/configure  --help=recursive
1037     elif test -f $ac_srcdir/configure.ac ||
1038            test -f $ac_srcdir/configure.in; then
1039       echo
1040       $ac_configure --help
1041     else
1042       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1043     fi
1044     cd $ac_popdir
1045   done
1046 fi
1047
1048 test -n "$ac_init_help" && exit 0
1049 if $ac_init_version; then
1050   cat <<\_ACEOF
1051 GNU Classpath configure 0.20-pre
1052 generated by GNU Autoconf 2.59
1053
1054 Copyright (C) 2003 Free Software Foundation, Inc.
1055 This configure script is free software; the Free Software Foundation
1056 gives unlimited permission to copy, distribute and modify it.
1057 _ACEOF
1058   exit 0
1059 fi
1060 exec 5>config.log
1061 cat >&5 <<_ACEOF
1062 This file contains any messages produced by compilers while
1063 running configure, to aid debugging if configure makes a mistake.
1064
1065 It was created by GNU Classpath $as_me 0.20-pre, which was
1066 generated by GNU Autoconf 2.59.  Invocation command line was
1067
1068   $ $0 $@
1069
1070 _ACEOF
1071 {
1072 cat <<_ASUNAME
1073 ## --------- ##
1074 ## Platform. ##
1075 ## --------- ##
1076
1077 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1078 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1079 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1080 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1081 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1082
1083 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1084 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1085
1086 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1087 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1088 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1089 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1090 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1091 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1092 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1093
1094 _ASUNAME
1095
1096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1097 for as_dir in $PATH
1098 do
1099   IFS=$as_save_IFS
1100   test -z "$as_dir" && as_dir=.
1101   echo "PATH: $as_dir"
1102 done
1103
1104 } >&5
1105
1106 cat >&5 <<_ACEOF
1107
1108
1109 ## ----------- ##
1110 ## Core tests. ##
1111 ## ----------- ##
1112
1113 _ACEOF
1114
1115
1116 # Keep a trace of the command line.
1117 # Strip out --no-create and --no-recursion so they do not pile up.
1118 # Strip out --silent because we don't want to record it for future runs.
1119 # Also quote any args containing shell meta-characters.
1120 # Make two passes to allow for proper duplicate-argument suppression.
1121 ac_configure_args=
1122 ac_configure_args0=
1123 ac_configure_args1=
1124 ac_sep=
1125 ac_must_keep_next=false
1126 for ac_pass in 1 2
1127 do
1128   for ac_arg
1129   do
1130     case $ac_arg in
1131     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1132     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1133     | -silent | --silent | --silen | --sile | --sil)
1134       continue ;;
1135     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1136       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1137     esac
1138     case $ac_pass in
1139     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1140     2)
1141       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1142       if test $ac_must_keep_next = true; then
1143         ac_must_keep_next=false # Got value, back to normal.
1144       else
1145         case $ac_arg in
1146           *=* | --config-cache | -C | -disable-* | --disable-* \
1147           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1148           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1149           | -with-* | --with-* | -without-* | --without-* | --x)
1150             case "$ac_configure_args0 " in
1151               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1152             esac
1153             ;;
1154           -* ) ac_must_keep_next=true ;;
1155         esac
1156       fi
1157       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1158       # Get rid of the leading space.
1159       ac_sep=" "
1160       ;;
1161     esac
1162   done
1163 done
1164 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1165 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1166
1167 # When interrupted or exit'd, cleanup temporary files, and complete
1168 # config.log.  We remove comments because anyway the quotes in there
1169 # would cause problems or look ugly.
1170 # WARNING: Be sure not to use single quotes in there, as some shells,
1171 # such as our DU 5.0 friend, will then `close' the trap.
1172 trap 'exit_status=$?
1173   # Save into config.log some information that might help in debugging.
1174   {
1175     echo
1176
1177     cat <<\_ASBOX
1178 ## ---------------- ##
1179 ## Cache variables. ##
1180 ## ---------------- ##
1181 _ASBOX
1182     echo
1183     # The following way of writing the cache mishandles newlines in values,
1184 {
1185   (set) 2>&1 |
1186     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1187     *ac_space=\ *)
1188       sed -n \
1189         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1190           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1191       ;;
1192     *)
1193       sed -n \
1194         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1195       ;;
1196     esac;
1197 }
1198     echo
1199
1200     cat <<\_ASBOX
1201 ## ----------------- ##
1202 ## Output variables. ##
1203 ## ----------------- ##
1204 _ASBOX
1205     echo
1206     for ac_var in $ac_subst_vars
1207     do
1208       eval ac_val=$`echo $ac_var`
1209       echo "$ac_var='"'"'$ac_val'"'"'"
1210     done | sort
1211     echo
1212
1213     if test -n "$ac_subst_files"; then
1214       cat <<\_ASBOX
1215 ## ------------- ##
1216 ## Output files. ##
1217 ## ------------- ##
1218 _ASBOX
1219       echo
1220       for ac_var in $ac_subst_files
1221       do
1222         eval ac_val=$`echo $ac_var`
1223         echo "$ac_var='"'"'$ac_val'"'"'"
1224       done | sort
1225       echo
1226     fi
1227
1228     if test -s confdefs.h; then
1229       cat <<\_ASBOX
1230 ## ----------- ##
1231 ## confdefs.h. ##
1232 ## ----------- ##
1233 _ASBOX
1234       echo
1235       sed "/^$/d" confdefs.h | sort
1236       echo
1237     fi
1238     test "$ac_signal" != 0 &&
1239       echo "$as_me: caught signal $ac_signal"
1240     echo "$as_me: exit $exit_status"
1241   } >&5
1242   rm -f core *.core &&
1243   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1244     exit $exit_status
1245      ' 0
1246 for ac_signal in 1 2 13 15; do
1247   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1248 done
1249 ac_signal=0
1250
1251 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1252 rm -rf conftest* confdefs.h
1253 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1254 echo >confdefs.h
1255
1256 # Predefined preprocessor variables.
1257
1258 cat >>confdefs.h <<_ACEOF
1259 #define PACKAGE_NAME "$PACKAGE_NAME"
1260 _ACEOF
1261
1262
1263 cat >>confdefs.h <<_ACEOF
1264 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1265 _ACEOF
1266
1267
1268 cat >>confdefs.h <<_ACEOF
1269 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1270 _ACEOF
1271
1272
1273 cat >>confdefs.h <<_ACEOF
1274 #define PACKAGE_STRING "$PACKAGE_STRING"
1275 _ACEOF
1276
1277
1278 cat >>confdefs.h <<_ACEOF
1279 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1280 _ACEOF
1281
1282
1283 # Let the site file select an alternate cache file if it wants to.
1284 # Prefer explicitly selected file to automatically selected ones.
1285 if test -z "$CONFIG_SITE"; then
1286   if test "x$prefix" != xNONE; then
1287     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1288   else
1289     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1290   fi
1291 fi
1292 for ac_site_file in $CONFIG_SITE; do
1293   if test -r "$ac_site_file"; then
1294     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1295 echo "$as_me: loading site script $ac_site_file" >&6;}
1296     sed 's/^/| /' "$ac_site_file" >&5
1297     . "$ac_site_file"
1298   fi
1299 done
1300
1301 if test -r "$cache_file"; then
1302   # Some versions of bash will fail to source /dev/null (special
1303   # files actually), so we avoid doing that.
1304   if test -f "$cache_file"; then
1305     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1306 echo "$as_me: loading cache $cache_file" >&6;}
1307     case $cache_file in
1308       [\\/]* | ?:[\\/]* ) . $cache_file;;
1309       *)                      . ./$cache_file;;
1310     esac
1311   fi
1312 else
1313   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1314 echo "$as_me: creating cache $cache_file" >&6;}
1315   >$cache_file
1316 fi
1317
1318 # Check that the precious variables saved in the cache have kept the same
1319 # value.
1320 ac_cache_corrupted=false
1321 for ac_var in `(set) 2>&1 |
1322                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1323   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1324   eval ac_new_set=\$ac_env_${ac_var}_set
1325   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1326   eval ac_new_val="\$ac_env_${ac_var}_value"
1327   case $ac_old_set,$ac_new_set in
1328     set,)
1329       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1330 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1331       ac_cache_corrupted=: ;;
1332     ,set)
1333       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1334 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1335       ac_cache_corrupted=: ;;
1336     ,);;
1337     *)
1338       if test "x$ac_old_val" != "x$ac_new_val"; then
1339         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1340 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1341         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1342 echo "$as_me:   former value:  $ac_old_val" >&2;}
1343         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1344 echo "$as_me:   current value: $ac_new_val" >&2;}
1345         ac_cache_corrupted=:
1346       fi;;
1347   esac
1348   # Pass precious variables to config.status.
1349   if test "$ac_new_set" = set; then
1350     case $ac_new_val in
1351     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1352       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1353     *) ac_arg=$ac_var=$ac_new_val ;;
1354     esac
1355     case " $ac_configure_args " in
1356       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1357       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1358     esac
1359   fi
1360 done
1361 if $ac_cache_corrupted; then
1362   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1363 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1364   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1365 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1366    { (exit 1); exit 1; }; }
1367 fi
1368
1369 ac_ext=c
1370 ac_cpp='$CPP $CPPFLAGS'
1371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403 ac_aux_dir=
1404 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1405   if test -f $ac_dir/install-sh; then
1406     ac_aux_dir=$ac_dir
1407     ac_install_sh="$ac_aux_dir/install-sh -c"
1408     break
1409   elif test -f $ac_dir/install.sh; then
1410     ac_aux_dir=$ac_dir
1411     ac_install_sh="$ac_aux_dir/install.sh -c"
1412     break
1413   elif test -f $ac_dir/shtool; then
1414     ac_aux_dir=$ac_dir
1415     ac_install_sh="$ac_aux_dir/shtool install -c"
1416     break
1417   fi
1418 done
1419 if test -z "$ac_aux_dir"; then
1420   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1421 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1422    { (exit 1); exit 1; }; }
1423 fi
1424 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1425 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1426 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1427
1428 # Make sure we can run config.sub.
1429 $ac_config_sub sun4 >/dev/null 2>&1 ||
1430   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1431 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1432    { (exit 1); exit 1; }; }
1433
1434 echo "$as_me:$LINENO: checking build system type" >&5
1435 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1436 if test "${ac_cv_build+set}" = set; then
1437   echo $ECHO_N "(cached) $ECHO_C" >&6
1438 else
1439   ac_cv_build_alias=$build_alias
1440 test -z "$ac_cv_build_alias" &&
1441   ac_cv_build_alias=`$ac_config_guess`
1442 test -z "$ac_cv_build_alias" &&
1443   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1444 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1445    { (exit 1); exit 1; }; }
1446 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1447   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1448 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1449    { (exit 1); exit 1; }; }
1450
1451 fi
1452 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1453 echo "${ECHO_T}$ac_cv_build" >&6
1454 build=$ac_cv_build
1455 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1456 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1457 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1458
1459
1460 echo "$as_me:$LINENO: checking host system type" >&5
1461 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1462 if test "${ac_cv_host+set}" = set; then
1463   echo $ECHO_N "(cached) $ECHO_C" >&6
1464 else
1465   ac_cv_host_alias=$host_alias
1466 test -z "$ac_cv_host_alias" &&
1467   ac_cv_host_alias=$ac_cv_build_alias
1468 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1469   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1470 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1471    { (exit 1); exit 1; }; }
1472
1473 fi
1474 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1475 echo "${ECHO_T}$ac_cv_host" >&6
1476 host=$ac_cv_host
1477 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1478 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1479 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1480
1481
1482 echo "$as_me:$LINENO: checking target system type" >&5
1483 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1484 if test "${ac_cv_target+set}" = set; then
1485   echo $ECHO_N "(cached) $ECHO_C" >&6
1486 else
1487   ac_cv_target_alias=$target_alias
1488 test "x$ac_cv_target_alias" = "x" &&
1489   ac_cv_target_alias=$ac_cv_host_alias
1490 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1491   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1492 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1493    { (exit 1); exit 1; }; }
1494
1495 fi
1496 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1497 echo "${ECHO_T}$ac_cv_target" >&6
1498 target=$ac_cv_target
1499 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1500 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1501 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1502
1503
1504 # The aliases save the names the user supplied, while $host etc.
1505 # will get canonicalized.
1506 test -n "$target_alias" &&
1507   test "$program_prefix$program_suffix$program_transform_name" = \
1508     NONENONEs,x,x, &&
1509   program_prefix=${target_alias}-
1510
1511 if expr ${target_cpu} : '.*86' > /dev/null; then target_cpu=x86; fi
1512
1513 LIBVERSION="0:0:0"
1514
1515 case "$host_os" in
1516      darwin*)
1517         cp_module=""
1518         ;;
1519         *)
1520         cp_module="-module"
1521         ;;
1522 esac
1523
1524 CLASSPATH_MODULE="${cp_module} -version-info ${LIBVERSION} -no-undefined"
1525
1526
1527
1528 am__api_version="1.9"
1529 # Find a good install program.  We prefer a C program (faster),
1530 # so one script is as good as another.  But avoid the broken or
1531 # incompatible versions:
1532 # SysV /etc/install, /usr/sbin/install
1533 # SunOS /usr/etc/install
1534 # IRIX /sbin/install
1535 # AIX /bin/install
1536 # AmigaOS /C/install, which installs bootblocks on floppy discs
1537 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1538 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1539 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1540 # OS/2's system install, which has a completely different semantic
1541 # ./install, which can be erroneously created by make from ./install.sh.
1542 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1543 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1544 if test -z "$INSTALL"; then
1545 if test "${ac_cv_path_install+set}" = set; then
1546   echo $ECHO_N "(cached) $ECHO_C" >&6
1547 else
1548   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1549 for as_dir in $PATH
1550 do
1551   IFS=$as_save_IFS
1552   test -z "$as_dir" && as_dir=.
1553   # Account for people who put trailing slashes in PATH elements.
1554 case $as_dir/ in
1555   ./ | .// | /cC/* | \
1556   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1557   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1558   /usr/ucb/* ) ;;
1559   *)
1560     # OSF1 and SCO ODT 3.0 have their own names for install.
1561     # Don't use installbsd from OSF since it installs stuff as root
1562     # by default.
1563     for ac_prog in ginstall scoinst install; do
1564       for ac_exec_ext in '' $ac_executable_extensions; do
1565         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1566           if test $ac_prog = install &&
1567             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1568             # AIX install.  It has an incompatible calling convention.
1569             :
1570           elif test $ac_prog = install &&
1571             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1572             # program-specific install script used by HP pwplus--don't use.
1573             :
1574           else
1575             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1576             break 3
1577           fi
1578         fi
1579       done
1580     done
1581     ;;
1582 esac
1583 done
1584
1585
1586 fi
1587   if test "${ac_cv_path_install+set}" = set; then
1588     INSTALL=$ac_cv_path_install
1589   else
1590     # As a last resort, use the slow shell script.  We don't cache a
1591     # path for INSTALL within a source directory, because that will
1592     # break other packages using the cache if that directory is
1593     # removed, or if the path is relative.
1594     INSTALL=$ac_install_sh
1595   fi
1596 fi
1597 echo "$as_me:$LINENO: result: $INSTALL" >&5
1598 echo "${ECHO_T}$INSTALL" >&6
1599
1600 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1601 # It thinks the first close brace ends the variable substitution.
1602 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1603
1604 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1605
1606 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1607
1608 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1609 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1610 # Just in case
1611 sleep 1
1612 echo timestamp > conftest.file
1613 # Do `set' in a subshell so we don't clobber the current shell's
1614 # arguments.  Must try -L first in case configure is actually a
1615 # symlink; some systems play weird games with the mod time of symlinks
1616 # (eg FreeBSD returns the mod time of the symlink's containing
1617 # directory).
1618 if (
1619    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1620    if test "$*" = "X"; then
1621       # -L didn't work.
1622       set X `ls -t $srcdir/configure conftest.file`
1623    fi
1624    rm -f conftest.file
1625    if test "$*" != "X $srcdir/configure conftest.file" \
1626       && test "$*" != "X conftest.file $srcdir/configure"; then
1627
1628       # If neither matched, then we have a broken ls.  This can happen
1629       # if, for instance, CONFIG_SHELL is bash and it inherits a
1630       # broken ls alias from the environment.  This has actually
1631       # happened.  Such a system could not be considered "sane".
1632       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1633 alias in your environment" >&5
1634 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1635 alias in your environment" >&2;}
1636    { (exit 1); exit 1; }; }
1637    fi
1638
1639    test "$2" = conftest.file
1640    )
1641 then
1642    # Ok.
1643    :
1644 else
1645    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1646 Check your system clock" >&5
1647 echo "$as_me: error: newly created file is older than distributed files!
1648 Check your system clock" >&2;}
1649    { (exit 1); exit 1; }; }
1650 fi
1651 echo "$as_me:$LINENO: result: yes" >&5
1652 echo "${ECHO_T}yes" >&6
1653 test "$program_prefix" != NONE &&
1654   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1655 # Use a double $ so make ignores it.
1656 test "$program_suffix" != NONE &&
1657   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1658 # Double any \ or $.  echo might interpret backslashes.
1659 # By default was `s,x,x', remove it if useless.
1660 cat <<\_ACEOF >conftest.sed
1661 s/[\\$]/&&/g;s/;s,x,x,$//
1662 _ACEOF
1663 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1664 rm conftest.sed
1665
1666 # expand $ac_aux_dir to an absolute path
1667 am_aux_dir=`cd $ac_aux_dir && pwd`
1668
1669 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1670 # Use eval to expand $SHELL
1671 if eval "$MISSING --run true"; then
1672   am_missing_run="$MISSING --run "
1673 else
1674   am_missing_run=
1675   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1676 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1677 fi
1678
1679 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1680   # We used to keeping the `.' as first argument, in order to
1681   # allow $(mkdir_p) to be used without argument.  As in
1682   #   $(mkdir_p) $(somedir)
1683   # where $(somedir) is conditionally defined.  However this is wrong
1684   # for two reasons:
1685   #  1. if the package is installed by a user who cannot write `.'
1686   #     make install will fail,
1687   #  2. the above comment should most certainly read
1688   #     $(mkdir_p) $(DESTDIR)$(somedir)
1689   #     so it does not work when $(somedir) is undefined and
1690   #     $(DESTDIR) is not.
1691   #  To support the latter case, we have to write
1692   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1693   #  so the `.' trick is pointless.
1694   mkdir_p='mkdir -p --'
1695 else
1696   # On NextStep and OpenStep, the `mkdir' command does not
1697   # recognize any option.  It will interpret all options as
1698   # directories to create, and then abort because `.' already
1699   # exists.
1700   for d in ./-p ./--version;
1701   do
1702     test -d $d && rmdir $d
1703   done
1704   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1705   if test -f "$ac_aux_dir/mkinstalldirs"; then
1706     mkdir_p='$(mkinstalldirs)'
1707   else
1708     mkdir_p='$(install_sh) -d'
1709   fi
1710 fi
1711
1712 for ac_prog in gawk mawk nawk awk
1713 do
1714   # Extract the first word of "$ac_prog", so it can be a program name with args.
1715 set dummy $ac_prog; ac_word=$2
1716 echo "$as_me:$LINENO: checking for $ac_word" >&5
1717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1718 if test "${ac_cv_prog_AWK+set}" = set; then
1719   echo $ECHO_N "(cached) $ECHO_C" >&6
1720 else
1721   if test -n "$AWK"; then
1722   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1723 else
1724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1725 for as_dir in $PATH
1726 do
1727   IFS=$as_save_IFS
1728   test -z "$as_dir" && as_dir=.
1729   for ac_exec_ext in '' $ac_executable_extensions; do
1730   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1731     ac_cv_prog_AWK="$ac_prog"
1732     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1733     break 2
1734   fi
1735 done
1736 done
1737
1738 fi
1739 fi
1740 AWK=$ac_cv_prog_AWK
1741 if test -n "$AWK"; then
1742   echo "$as_me:$LINENO: result: $AWK" >&5
1743 echo "${ECHO_T}$AWK" >&6
1744 else
1745   echo "$as_me:$LINENO: result: no" >&5
1746 echo "${ECHO_T}no" >&6
1747 fi
1748
1749   test -n "$AWK" && break
1750 done
1751
1752 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1753 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1754 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1755 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1756   echo $ECHO_N "(cached) $ECHO_C" >&6
1757 else
1758   cat >conftest.make <<\_ACEOF
1759 all:
1760         @echo 'ac_maketemp="$(MAKE)"'
1761 _ACEOF
1762 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1763 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1764 if test -n "$ac_maketemp"; then
1765   eval ac_cv_prog_make_${ac_make}_set=yes
1766 else
1767   eval ac_cv_prog_make_${ac_make}_set=no
1768 fi
1769 rm -f conftest.make
1770 fi
1771 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1772   echo "$as_me:$LINENO: result: yes" >&5
1773 echo "${ECHO_T}yes" >&6
1774   SET_MAKE=
1775 else
1776   echo "$as_me:$LINENO: result: no" >&5
1777 echo "${ECHO_T}no" >&6
1778   SET_MAKE="MAKE=${MAKE-make}"
1779 fi
1780
1781 rm -rf .tst 2>/dev/null
1782 mkdir .tst 2>/dev/null
1783 if test -d .tst; then
1784   am__leading_dot=.
1785 else
1786   am__leading_dot=_
1787 fi
1788 rmdir .tst 2>/dev/null
1789
1790 # test to see if srcdir already configured
1791 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1792    test -f $srcdir/config.status; then
1793   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1794 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1795    { (exit 1); exit 1; }; }
1796 fi
1797
1798 # test whether we have cygpath
1799 if test -z "$CYGPATH_W"; then
1800   if (cygpath --version) >/dev/null 2>/dev/null; then
1801     CYGPATH_W='cygpath -w'
1802   else
1803     CYGPATH_W=echo
1804   fi
1805 fi
1806
1807
1808 # Define the identity of the package.
1809  PACKAGE='classpath'
1810  VERSION='0.20-pre'
1811
1812
1813 cat >>confdefs.h <<_ACEOF
1814 #define PACKAGE "$PACKAGE"
1815 _ACEOF
1816
1817
1818 cat >>confdefs.h <<_ACEOF
1819 #define VERSION "$VERSION"
1820 _ACEOF
1821
1822 # Some tools Automake needs.
1823
1824 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1825
1826
1827 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1828
1829
1830 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1831
1832
1833 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1834
1835
1836 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1837
1838 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1839
1840 # Installed binaries are usually stripped using `strip' when the user
1841 # run `make install-strip'.  However `strip' might not be the right
1842 # tool to use in cross-compilation environments, therefore Automake
1843 # will honor the `STRIP' environment variable to overrule this program.
1844 if test "$cross_compiling" != no; then
1845   if test -n "$ac_tool_prefix"; then
1846   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1847 set dummy ${ac_tool_prefix}strip; ac_word=$2
1848 echo "$as_me:$LINENO: checking for $ac_word" >&5
1849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1850 if test "${ac_cv_prog_STRIP+set}" = set; then
1851   echo $ECHO_N "(cached) $ECHO_C" >&6
1852 else
1853   if test -n "$STRIP"; then
1854   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1855 else
1856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1857 for as_dir in $PATH
1858 do
1859   IFS=$as_save_IFS
1860   test -z "$as_dir" && as_dir=.
1861   for ac_exec_ext in '' $ac_executable_extensions; do
1862   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1863     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1864     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1865     break 2
1866   fi
1867 done
1868 done
1869
1870 fi
1871 fi
1872 STRIP=$ac_cv_prog_STRIP
1873 if test -n "$STRIP"; then
1874   echo "$as_me:$LINENO: result: $STRIP" >&5
1875 echo "${ECHO_T}$STRIP" >&6
1876 else
1877   echo "$as_me:$LINENO: result: no" >&5
1878 echo "${ECHO_T}no" >&6
1879 fi
1880
1881 fi
1882 if test -z "$ac_cv_prog_STRIP"; then
1883   ac_ct_STRIP=$STRIP
1884   # Extract the first word of "strip", so it can be a program name with args.
1885 set dummy strip; ac_word=$2
1886 echo "$as_me:$LINENO: checking for $ac_word" >&5
1887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1888 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1889   echo $ECHO_N "(cached) $ECHO_C" >&6
1890 else
1891   if test -n "$ac_ct_STRIP"; then
1892   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1893 else
1894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1895 for as_dir in $PATH
1896 do
1897   IFS=$as_save_IFS
1898   test -z "$as_dir" && as_dir=.
1899   for ac_exec_ext in '' $ac_executable_extensions; do
1900   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1901     ac_cv_prog_ac_ct_STRIP="strip"
1902     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1903     break 2
1904   fi
1905 done
1906 done
1907
1908   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1909 fi
1910 fi
1911 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1912 if test -n "$ac_ct_STRIP"; then
1913   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1914 echo "${ECHO_T}$ac_ct_STRIP" >&6
1915 else
1916   echo "$as_me:$LINENO: result: no" >&5
1917 echo "${ECHO_T}no" >&6
1918 fi
1919
1920   STRIP=$ac_ct_STRIP
1921 else
1922   STRIP="$ac_cv_prog_STRIP"
1923 fi
1924
1925 fi
1926 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1927
1928 # We need awk for the "check" target.  The system "awk" is bad on
1929 # some platforms.
1930 # Always define AMTAR for backward compatibility.
1931
1932 AMTAR=${AMTAR-"${am_missing_run}tar"}
1933
1934
1935 echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
1936 echo $ECHO_N "checking how to create a ustar tar archive... $ECHO_C" >&6
1937 # Loop over all known methods to create a tar archive until one works.
1938 _am_tools='gnutar plaintar pax cpio none'
1939 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
1940 # Do not fold the above two line into one, because Tru64 sh and
1941 # Solaris sh will not grok spaces in the rhs of `-'.
1942 for _am_tool in $_am_tools
1943 do
1944   case $_am_tool in
1945   gnutar)
1946     for _am_tar in tar gnutar gtar;
1947     do
1948       { echo "$as_me:$LINENO: $_am_tar --version" >&5
1949    ($_am_tar --version) >&5 2>&5
1950    ac_status=$?
1951    echo "$as_me:$LINENO: \$? = $ac_status" >&5
1952    (exit $ac_status); } && break
1953     done
1954     am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
1955     am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
1956     am__untar="$_am_tar -xf -"
1957     ;;
1958   plaintar)
1959     # Must skip GNU tar: if it does not support --format= it doesn't create
1960     # ustar tarball either.
1961     (tar --version) >/dev/null 2>&1 && continue
1962     am__tar='tar chf - "$$tardir"'
1963     am__tar_='tar chf - "$tardir"'
1964     am__untar='tar xf -'
1965     ;;
1966   pax)
1967     am__tar='pax -L -x ustar -w "$$tardir"'
1968     am__tar_='pax -L -x ustar -w "$tardir"'
1969     am__untar='pax -r'
1970     ;;
1971   cpio)
1972     am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
1973     am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
1974     am__untar='cpio -i -H ustar -d'
1975     ;;
1976   none)
1977     am__tar=false
1978     am__tar_=false
1979     am__untar=false
1980     ;;
1981   esac
1982
1983   # If the value was cached, stop now.  We just wanted to have am__tar
1984   # and am__untar set.
1985   test -n "${am_cv_prog_tar_ustar}" && break
1986
1987   # tar/untar a dummy directory, and stop if the command works
1988   rm -rf conftest.dir
1989   mkdir conftest.dir
1990   echo GrepMe > conftest.dir/file
1991   { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
1992    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
1993    ac_status=$?
1994    echo "$as_me:$LINENO: \$? = $ac_status" >&5
1995    (exit $ac_status); }
1996   rm -rf conftest.dir
1997   if test -s conftest.tar; then
1998     { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
1999    ($am__untar <conftest.tar) >&5 2>&5
2000    ac_status=$?
2001    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2002    (exit $ac_status); }
2003     grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2004   fi
2005 done
2006 rm -rf conftest.dir
2007
2008 if test "${am_cv_prog_tar_ustar+set}" = set; then
2009   echo $ECHO_N "(cached) $ECHO_C" >&6
2010 else
2011   am_cv_prog_tar_ustar=$_am_tool
2012 fi
2013
2014 echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
2015 echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6
2016
2017
2018
2019
2020
2021           ac_config_headers="$ac_config_headers include/config.h"
2022
2023
2024
2025 # Check whether --enable-jni or --disable-jni was given.
2026 if test "${enable_jni+set}" = set; then
2027   enableval="$enable_jni"
2028   case "${enableval}" in
2029                 yes) COMPILE_JNI=yes; COMPILE_JAVA=yes ;;
2030                 no) COMPILE_JNI=no ;;
2031                 *) COMPILE_JNI=yes; COMPILE_JAVA=yes ;;
2032               esac
2033 else
2034   COMPILE_JNI=yes
2035 fi;
2036
2037
2038 if test "x${COMPILE_JNI}" = xyes; then
2039   CREATE_JNI_LIBRARIES_TRUE=
2040   CREATE_JNI_LIBRARIES_FALSE='#'
2041 else
2042   CREATE_JNI_LIBRARIES_TRUE='#'
2043   CREATE_JNI_LIBRARIES_FALSE=
2044 fi
2045
2046
2047 # Check whether --enable-core-jni or --disable-core-jni was given.
2048 if test "${enable_core_jni+set}" = set; then
2049   enableval="$enable_core_jni"
2050   case "${enableval}" in
2051                 yes) COMPILE_CORE_JNI=yes; COMPILE_JAVA=yes ;;
2052                 no) COMPILE_CORE_JNI=no ;;
2053                 *) COMPILE_CORE_JNI=yes; COMPILE_JAVA=yes ;;
2054               esac
2055 else
2056   COMPILE_CORE_JNI=yes
2057 fi;
2058
2059
2060 if test "x${COMPILE_CORE_JNI}" = xyes; then
2061   CREATE_CORE_JNI_LIBRARIES_TRUE=
2062   CREATE_CORE_JNI_LIBRARIES_FALSE='#'
2063 else
2064   CREATE_CORE_JNI_LIBRARIES_TRUE='#'
2065   CREATE_CORE_JNI_LIBRARIES_FALSE=
2066 fi
2067
2068
2069 # Check whether --enable-Werror or --disable-Werror was given.
2070 if test "${enable_Werror+set}" = set; then
2071   enableval="$enable_Werror"
2072   case "${enableval}" in
2073                 yes) ENABLE_WERROR=yes ;;
2074                 no) ENABLE_WERROR=no ;;
2075                 *) ENABLE_WERROR=no ;;
2076               esac
2077 else
2078   ENABLE_WERROR=no
2079 fi;
2080
2081 # Check whether --enable-default-toolkit or --disable-default-toolkit was given.
2082 if test "${enable_default_toolkit+set}" = set; then
2083   enableval="$enable_default_toolkit"
2084
2085 fi;
2086 default_toolkit=$enable_default_toolkit
2087 if test "$default_toolkit" = ""; then
2088    default_toolkit=gnu.java.awt.peer.gtk.GtkToolkit
2089 fi
2090
2091
2092 # Check whether --enable-xmlj or --disable-xmlj was given.
2093 if test "${enable_xmlj+set}" = set; then
2094   enableval="$enable_xmlj"
2095   case "${enableval}" in
2096                 yes) COMPILE_XMLJ=yes ;;
2097                 no) COMPILE_XMLJ=no ;;
2098                 *) COMPILE_XMLJ=no ;;
2099               esac
2100 else
2101   COMPILE_XMLJ=no
2102 fi;
2103
2104
2105 if test "x${COMPILE_XMLJ}" = xyes; then
2106   CREATE_XMLJ_LIBRARY_TRUE=
2107   CREATE_XMLJ_LIBRARY_FALSE='#'
2108 else
2109   CREATE_XMLJ_LIBRARY_TRUE='#'
2110   CREATE_XMLJ_LIBRARY_FALSE=
2111 fi
2112
2113
2114 DEPDIR="${am__leading_dot}deps"
2115
2116           ac_config_commands="$ac_config_commands depfiles"
2117
2118
2119 am_make=${MAKE-make}
2120 cat > confinc << 'END'
2121 am__doit:
2122         @echo done
2123 .PHONY: am__doit
2124 END
2125 # If we don't find an include directive, just comment out the code.
2126 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2127 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2128 am__include="#"
2129 am__quote=
2130 _am_result=none
2131 # First try GNU make style include.
2132 echo "include confinc" > confmf
2133 # We grep out `Entering directory' and `Leaving directory'
2134 # messages which can occur if `w' ends up in MAKEFLAGS.
2135 # In particular we don't look at `^make:' because GNU make might
2136 # be invoked under some other name (usually "gmake"), in which
2137 # case it prints its new name instead of `make'.
2138 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2139    am__include=include
2140    am__quote=
2141    _am_result=GNU
2142 fi
2143 # Now try BSD make style include.
2144 if test "$am__include" = "#"; then
2145    echo '.include "confinc"' > confmf
2146    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2147       am__include=.include
2148       am__quote="\""
2149       _am_result=BSD
2150    fi
2151 fi
2152
2153
2154 echo "$as_me:$LINENO: result: $_am_result" >&5
2155 echo "${ECHO_T}$_am_result" >&6
2156 rm -f confinc confmf
2157
2158 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2159 if test "${enable_dependency_tracking+set}" = set; then
2160   enableval="$enable_dependency_tracking"
2161
2162 fi;
2163 if test "x$enable_dependency_tracking" != xno; then
2164   am_depcomp="$ac_aux_dir/depcomp"
2165   AMDEPBACKSLASH='\'
2166 fi
2167
2168
2169 if test "x$enable_dependency_tracking" != xno; then
2170   AMDEP_TRUE=
2171   AMDEP_FALSE='#'
2172 else
2173   AMDEP_TRUE='#'
2174   AMDEP_FALSE=
2175 fi
2176
2177
2178
2179 ac_ext=c
2180 ac_cpp='$CPP $CPPFLAGS'
2181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2184 if test -n "$ac_tool_prefix"; then
2185   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2186 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2187 echo "$as_me:$LINENO: checking for $ac_word" >&5
2188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2189 if test "${ac_cv_prog_CC+set}" = set; then
2190   echo $ECHO_N "(cached) $ECHO_C" >&6
2191 else
2192   if test -n "$CC"; then
2193   ac_cv_prog_CC="$CC" # Let the user override the test.
2194 else
2195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2196 for as_dir in $PATH
2197 do
2198   IFS=$as_save_IFS
2199   test -z "$as_dir" && as_dir=.
2200   for ac_exec_ext in '' $ac_executable_extensions; do
2201   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2202     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2203     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2204     break 2
2205   fi
2206 done
2207 done
2208
2209 fi
2210 fi
2211 CC=$ac_cv_prog_CC
2212 if test -n "$CC"; then
2213   echo "$as_me:$LINENO: result: $CC" >&5
2214 echo "${ECHO_T}$CC" >&6
2215 else
2216   echo "$as_me:$LINENO: result: no" >&5
2217 echo "${ECHO_T}no" >&6
2218 fi
2219
2220 fi
2221 if test -z "$ac_cv_prog_CC"; then
2222   ac_ct_CC=$CC
2223   # Extract the first word of "gcc", so it can be a program name with args.
2224 set dummy gcc; ac_word=$2
2225 echo "$as_me:$LINENO: checking for $ac_word" >&5
2226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2227 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2228   echo $ECHO_N "(cached) $ECHO_C" >&6
2229 else
2230   if test -n "$ac_ct_CC"; then
2231   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2232 else
2233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2234 for as_dir in $PATH
2235 do
2236   IFS=$as_save_IFS
2237   test -z "$as_dir" && as_dir=.
2238   for ac_exec_ext in '' $ac_executable_extensions; do
2239   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2240     ac_cv_prog_ac_ct_CC="gcc"
2241     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2242     break 2
2243   fi
2244 done
2245 done
2246
2247 fi
2248 fi
2249 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2250 if test -n "$ac_ct_CC"; then
2251   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2252 echo "${ECHO_T}$ac_ct_CC" >&6
2253 else
2254   echo "$as_me:$LINENO: result: no" >&5
2255 echo "${ECHO_T}no" >&6
2256 fi
2257
2258   CC=$ac_ct_CC
2259 else
2260   CC="$ac_cv_prog_CC"
2261 fi
2262
2263 if test -z "$CC"; then
2264   if test -n "$ac_tool_prefix"; then
2265   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2266 set dummy ${ac_tool_prefix}cc; ac_word=$2
2267 echo "$as_me:$LINENO: checking for $ac_word" >&5
2268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2269 if test "${ac_cv_prog_CC+set}" = set; then
2270   echo $ECHO_N "(cached) $ECHO_C" >&6
2271 else
2272   if test -n "$CC"; then
2273   ac_cv_prog_CC="$CC" # Let the user override the test.
2274 else
2275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2276 for as_dir in $PATH
2277 do
2278   IFS=$as_save_IFS
2279   test -z "$as_dir" && as_dir=.
2280   for ac_exec_ext in '' $ac_executable_extensions; do
2281   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2282     ac_cv_prog_CC="${ac_tool_prefix}cc"
2283     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2284     break 2
2285   fi
2286 done
2287 done
2288
2289 fi
2290 fi
2291 CC=$ac_cv_prog_CC
2292 if test -n "$CC"; then
2293   echo "$as_me:$LINENO: result: $CC" >&5
2294 echo "${ECHO_T}$CC" >&6
2295 else
2296   echo "$as_me:$LINENO: result: no" >&5
2297 echo "${ECHO_T}no" >&6
2298 fi
2299
2300 fi
2301 if test -z "$ac_cv_prog_CC"; then
2302   ac_ct_CC=$CC
2303   # Extract the first word of "cc", so it can be a program name with args.
2304 set dummy cc; ac_word=$2
2305 echo "$as_me:$LINENO: checking for $ac_word" >&5
2306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2307 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2308   echo $ECHO_N "(cached) $ECHO_C" >&6
2309 else
2310   if test -n "$ac_ct_CC"; then
2311   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2312 else
2313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2314 for as_dir in $PATH
2315 do
2316   IFS=$as_save_IFS
2317   test -z "$as_dir" && as_dir=.
2318   for ac_exec_ext in '' $ac_executable_extensions; do
2319   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2320     ac_cv_prog_ac_ct_CC="cc"
2321     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2322     break 2
2323   fi
2324 done
2325 done
2326
2327 fi
2328 fi
2329 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2330 if test -n "$ac_ct_CC"; then
2331   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2332 echo "${ECHO_T}$ac_ct_CC" >&6
2333 else
2334   echo "$as_me:$LINENO: result: no" >&5
2335 echo "${ECHO_T}no" >&6
2336 fi
2337
2338   CC=$ac_ct_CC
2339 else
2340   CC="$ac_cv_prog_CC"
2341 fi
2342
2343 fi
2344 if test -z "$CC"; then
2345   # Extract the first word of "cc", so it can be a program name with args.
2346 set dummy cc; ac_word=$2
2347 echo "$as_me:$LINENO: checking for $ac_word" >&5
2348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2349 if test "${ac_cv_prog_CC+set}" = set; then
2350   echo $ECHO_N "(cached) $ECHO_C" >&6
2351 else
2352   if test -n "$CC"; then
2353   ac_cv_prog_CC="$CC" # Let the user override the test.
2354 else
2355   ac_prog_rejected=no
2356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2357 for as_dir in $PATH
2358 do
2359   IFS=$as_save_IFS
2360   test -z "$as_dir" && as_dir=.
2361   for ac_exec_ext in '' $ac_executable_extensions; do
2362   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2363     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2364        ac_prog_rejected=yes
2365        continue
2366      fi
2367     ac_cv_prog_CC="cc"
2368     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2369     break 2
2370   fi
2371 done
2372 done
2373
2374 if test $ac_prog_rejected = yes; then
2375   # We found a bogon in the path, so make sure we never use it.
2376   set dummy $ac_cv_prog_CC
2377   shift
2378   if test $# != 0; then
2379     # We chose a different compiler from the bogus one.
2380     # However, it has the same basename, so the bogon will be chosen
2381     # first if we set CC to just the basename; use the full file name.
2382     shift
2383     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2384   fi
2385 fi
2386 fi
2387 fi
2388 CC=$ac_cv_prog_CC
2389 if test -n "$CC"; then
2390   echo "$as_me:$LINENO: result: $CC" >&5
2391 echo "${ECHO_T}$CC" >&6
2392 else
2393   echo "$as_me:$LINENO: result: no" >&5
2394 echo "${ECHO_T}no" >&6
2395 fi
2396
2397 fi
2398 if test -z "$CC"; then
2399   if test -n "$ac_tool_prefix"; then
2400   for ac_prog in cl
2401   do
2402     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2403 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2404 echo "$as_me:$LINENO: checking for $ac_word" >&5
2405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2406 if test "${ac_cv_prog_CC+set}" = set; then
2407   echo $ECHO_N "(cached) $ECHO_C" >&6
2408 else
2409   if test -n "$CC"; then
2410   ac_cv_prog_CC="$CC" # Let the user override the test.
2411 else
2412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2413 for as_dir in $PATH
2414 do
2415   IFS=$as_save_IFS
2416   test -z "$as_dir" && as_dir=.
2417   for ac_exec_ext in '' $ac_executable_extensions; do
2418   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2419     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2420     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2421     break 2
2422   fi
2423 done
2424 done
2425
2426 fi
2427 fi
2428 CC=$ac_cv_prog_CC
2429 if test -n "$CC"; then
2430   echo "$as_me:$LINENO: result: $CC" >&5
2431 echo "${ECHO_T}$CC" >&6
2432 else
2433   echo "$as_me:$LINENO: result: no" >&5
2434 echo "${ECHO_T}no" >&6
2435 fi
2436
2437     test -n "$CC" && break
2438   done
2439 fi
2440 if test -z "$CC"; then
2441   ac_ct_CC=$CC
2442   for ac_prog in cl
2443 do
2444   # Extract the first word of "$ac_prog", so it can be a program name with args.
2445 set dummy $ac_prog; ac_word=$2
2446 echo "$as_me:$LINENO: checking for $ac_word" >&5
2447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2448 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2449   echo $ECHO_N "(cached) $ECHO_C" >&6
2450 else
2451   if test -n "$ac_ct_CC"; then
2452   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2453 else
2454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2455 for as_dir in $PATH
2456 do
2457   IFS=$as_save_IFS
2458   test -z "$as_dir" && as_dir=.
2459   for ac_exec_ext in '' $ac_executable_extensions; do
2460   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2461     ac_cv_prog_ac_ct_CC="$ac_prog"
2462     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2463     break 2
2464   fi
2465 done
2466 done
2467
2468 fi
2469 fi
2470 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2471 if test -n "$ac_ct_CC"; then
2472   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2473 echo "${ECHO_T}$ac_ct_CC" >&6
2474 else
2475   echo "$as_me:$LINENO: result: no" >&5
2476 echo "${ECHO_T}no" >&6
2477 fi
2478
2479   test -n "$ac_ct_CC" && break
2480 done
2481
2482   CC=$ac_ct_CC
2483 fi
2484
2485 fi
2486
2487
2488 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2489 See \`config.log' for more details." >&5
2490 echo "$as_me: error: no acceptable C compiler found in \$PATH
2491 See \`config.log' for more details." >&2;}
2492    { (exit 1); exit 1; }; }
2493
2494 # Provide some information about the compiler.
2495 echo "$as_me:$LINENO:" \
2496      "checking for C compiler version" >&5
2497 ac_compiler=`set X $ac_compile; echo $2`
2498 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2499   (eval $ac_compiler --version </dev/null >&5) 2>&5
2500   ac_status=$?
2501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502   (exit $ac_status); }
2503 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2504   (eval $ac_compiler -v </dev/null >&5) 2>&5
2505   ac_status=$?
2506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2507   (exit $ac_status); }
2508 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2509   (eval $ac_compiler -V </dev/null >&5) 2>&5
2510   ac_status=$?
2511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2512   (exit $ac_status); }
2513
2514 cat >conftest.$ac_ext <<_ACEOF
2515 /* confdefs.h.  */
2516 _ACEOF
2517 cat confdefs.h >>conftest.$ac_ext
2518 cat >>conftest.$ac_ext <<_ACEOF
2519 /* end confdefs.h.  */
2520
2521 int
2522 main ()
2523 {
2524
2525   ;
2526   return 0;
2527 }
2528 _ACEOF
2529 ac_clean_files_save=$ac_clean_files
2530 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2531 # Try to create an executable without -o first, disregard a.out.
2532 # It will help us diagnose broken compilers, and finding out an intuition
2533 # of exeext.
2534 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2535 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2536 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2537 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2538   (eval $ac_link_default) 2>&5
2539   ac_status=$?
2540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2541   (exit $ac_status); }; then
2542   # Find the output, starting from the most likely.  This scheme is
2543 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2544 # resort.
2545
2546 # Be careful to initialize this variable, since it used to be cached.
2547 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2548 ac_cv_exeext=
2549 # b.out is created by i960 compilers.
2550 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2551 do
2552   test -f "$ac_file" || continue
2553   case $ac_file in
2554     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2555         ;;
2556     conftest.$ac_ext )
2557         # This is the source file.
2558         ;;
2559     [ab].out )
2560         # We found the default executable, but exeext='' is most
2561         # certainly right.
2562         break;;
2563     *.* )
2564         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2565         # FIXME: I believe we export ac_cv_exeext for Libtool,
2566         # but it would be cool to find out if it's true.  Does anybody
2567         # maintain Libtool? --akim.
2568         export ac_cv_exeext
2569         break;;
2570     * )
2571         break;;
2572   esac
2573 done
2574 else
2575   echo "$as_me: failed program was:" >&5
2576 sed 's/^/| /' conftest.$ac_ext >&5
2577
2578 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2579 See \`config.log' for more details." >&5
2580 echo "$as_me: error: C compiler cannot create executables
2581 See \`config.log' for more details." >&2;}
2582    { (exit 77); exit 77; }; }
2583 fi
2584
2585 ac_exeext=$ac_cv_exeext
2586 echo "$as_me:$LINENO: result: $ac_file" >&5
2587 echo "${ECHO_T}$ac_file" >&6
2588
2589 # Check the compiler produces executables we can run.  If not, either
2590 # the compiler is broken, or we cross compile.
2591 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2592 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2593 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2594 # If not cross compiling, check that we can run a simple program.
2595 if test "$cross_compiling" != yes; then
2596   if { ac_try='./$ac_file'
2597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2598   (eval $ac_try) 2>&5
2599   ac_status=$?
2600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601   (exit $ac_status); }; }; then
2602     cross_compiling=no
2603   else
2604     if test "$cross_compiling" = maybe; then
2605         cross_compiling=yes
2606     else
2607         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2608 If you meant to cross compile, use \`--host'.
2609 See \`config.log' for more details." >&5
2610 echo "$as_me: error: cannot run C compiled programs.
2611 If you meant to cross compile, use \`--host'.
2612 See \`config.log' for more details." >&2;}
2613    { (exit 1); exit 1; }; }
2614     fi
2615   fi
2616 fi
2617 echo "$as_me:$LINENO: result: yes" >&5
2618 echo "${ECHO_T}yes" >&6
2619
2620 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2621 ac_clean_files=$ac_clean_files_save
2622 # Check the compiler produces executables we can run.  If not, either
2623 # the compiler is broken, or we cross compile.
2624 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2625 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2626 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2627 echo "${ECHO_T}$cross_compiling" >&6
2628
2629 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2630 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2632   (eval $ac_link) 2>&5
2633   ac_status=$?
2634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2635   (exit $ac_status); }; then
2636   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2637 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2638 # work properly (i.e., refer to `conftest.exe'), while it won't with
2639 # `rm'.
2640 for ac_file in conftest.exe conftest conftest.*; do
2641   test -f "$ac_file" || continue
2642   case $ac_file in
2643     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2644     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2645           export ac_cv_exeext
2646           break;;
2647     * ) break;;
2648   esac
2649 done
2650 else
2651   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2652 See \`config.log' for more details." >&5
2653 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2654 See \`config.log' for more details." >&2;}
2655    { (exit 1); exit 1; }; }
2656 fi
2657
2658 rm -f conftest$ac_cv_exeext
2659 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2660 echo "${ECHO_T}$ac_cv_exeext" >&6
2661
2662 rm -f conftest.$ac_ext
2663 EXEEXT=$ac_cv_exeext
2664 ac_exeext=$EXEEXT
2665 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2666 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2667 if test "${ac_cv_objext+set}" = set; then
2668   echo $ECHO_N "(cached) $ECHO_C" >&6
2669 else
2670   cat >conftest.$ac_ext <<_ACEOF
2671 /* confdefs.h.  */
2672 _ACEOF
2673 cat confdefs.h >>conftest.$ac_ext
2674 cat >>conftest.$ac_ext <<_ACEOF
2675 /* end confdefs.h.  */
2676
2677 int
2678 main ()
2679 {
2680
2681   ;
2682   return 0;
2683 }
2684 _ACEOF
2685 rm -f conftest.o conftest.obj
2686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2687   (eval $ac_compile) 2>&5
2688   ac_status=$?
2689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2690   (exit $ac_status); }; then
2691   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2692   case $ac_file in
2693     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2694     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2695        break;;
2696   esac
2697 done
2698 else
2699   echo "$as_me: failed program was:" >&5
2700 sed 's/^/| /' conftest.$ac_ext >&5
2701
2702 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2703 See \`config.log' for more details." >&5
2704 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2705 See \`config.log' for more details." >&2;}
2706    { (exit 1); exit 1; }; }
2707 fi
2708
2709 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2710 fi
2711 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2712 echo "${ECHO_T}$ac_cv_objext" >&6
2713 OBJEXT=$ac_cv_objext
2714 ac_objext=$OBJEXT
2715 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2716 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2717 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2718   echo $ECHO_N "(cached) $ECHO_C" >&6
2719 else
2720   cat >conftest.$ac_ext <<_ACEOF
2721 /* confdefs.h.  */
2722 _ACEOF
2723 cat confdefs.h >>conftest.$ac_ext
2724 cat >>conftest.$ac_ext <<_ACEOF
2725 /* end confdefs.h.  */
2726
2727 int
2728 main ()
2729 {
2730 #ifndef __GNUC__
2731        choke me
2732 #endif
2733
2734   ;
2735   return 0;
2736 }
2737 _ACEOF
2738 rm -f conftest.$ac_objext
2739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2740   (eval $ac_compile) 2>conftest.er1
2741   ac_status=$?
2742   grep -v '^ *+' conftest.er1 >conftest.err
2743   rm -f conftest.er1
2744   cat conftest.err >&5
2745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2746   (exit $ac_status); } &&
2747          { ac_try='test -z "$ac_c_werror_flag"
2748                          || test ! -s conftest.err'
2749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2750   (eval $ac_try) 2>&5
2751   ac_status=$?
2752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2753   (exit $ac_status); }; } &&
2754          { ac_try='test -s conftest.$ac_objext'
2755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2756   (eval $ac_try) 2>&5
2757   ac_status=$?
2758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2759   (exit $ac_status); }; }; then
2760   ac_compiler_gnu=yes
2761 else
2762   echo "$as_me: failed program was:" >&5
2763 sed 's/^/| /' conftest.$ac_ext >&5
2764
2765 ac_compiler_gnu=no
2766 fi
2767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2768 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2769
2770 fi
2771 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2772 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2773 GCC=`test $ac_compiler_gnu = yes && echo yes`
2774 ac_test_CFLAGS=${CFLAGS+set}
2775 ac_save_CFLAGS=$CFLAGS
2776 CFLAGS="-g"
2777 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2778 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2779 if test "${ac_cv_prog_cc_g+set}" = set; then
2780   echo $ECHO_N "(cached) $ECHO_C" >&6
2781 else
2782   cat >conftest.$ac_ext <<_ACEOF
2783 /* confdefs.h.  */
2784 _ACEOF
2785 cat confdefs.h >>conftest.$ac_ext
2786 cat >>conftest.$ac_ext <<_ACEOF
2787 /* end confdefs.h.  */
2788
2789 int
2790 main ()
2791 {
2792
2793   ;
2794   return 0;
2795 }
2796 _ACEOF
2797 rm -f conftest.$ac_objext
2798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2799   (eval $ac_compile) 2>conftest.er1
2800   ac_status=$?
2801   grep -v '^ *+' conftest.er1 >conftest.err
2802   rm -f conftest.er1
2803   cat conftest.err >&5
2804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2805   (exit $ac_status); } &&
2806          { ac_try='test -z "$ac_c_werror_flag"
2807                          || test ! -s conftest.err'
2808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2809   (eval $ac_try) 2>&5
2810   ac_status=$?
2811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2812   (exit $ac_status); }; } &&
2813          { ac_try='test -s conftest.$ac_objext'
2814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2815   (eval $ac_try) 2>&5
2816   ac_status=$?
2817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2818   (exit $ac_status); }; }; then
2819   ac_cv_prog_cc_g=yes
2820 else
2821   echo "$as_me: failed program was:" >&5
2822 sed 's/^/| /' conftest.$ac_ext >&5
2823
2824 ac_cv_prog_cc_g=no
2825 fi
2826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2827 fi
2828 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2829 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2830 if test "$ac_test_CFLAGS" = set; then
2831   CFLAGS=$ac_save_CFLAGS
2832 elif test $ac_cv_prog_cc_g = yes; then
2833   if test "$GCC" = yes; then
2834     CFLAGS="-g -O2"
2835   else
2836     CFLAGS="-g"
2837   fi
2838 else
2839   if test "$GCC" = yes; then
2840     CFLAGS="-O2"
2841   else
2842     CFLAGS=
2843   fi
2844 fi
2845 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2846 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2847 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2848   echo $ECHO_N "(cached) $ECHO_C" >&6
2849 else
2850   ac_cv_prog_cc_stdc=no
2851 ac_save_CC=$CC
2852 cat >conftest.$ac_ext <<_ACEOF
2853 /* confdefs.h.  */
2854 _ACEOF
2855 cat confdefs.h >>conftest.$ac_ext
2856 cat >>conftest.$ac_ext <<_ACEOF
2857 /* end confdefs.h.  */
2858 #include <stdarg.h>
2859 #include <stdio.h>
2860 #include <sys/types.h>
2861 #include <sys/stat.h>
2862 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2863 struct buf { int x; };
2864 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2865 static char *e (p, i)
2866      char **p;
2867      int i;
2868 {
2869   return p[i];
2870 }
2871 static char *f (char * (*g) (char **, int), char **p, ...)
2872 {
2873   char *s;
2874   va_list v;
2875   va_start (v,p);
2876   s = g (p, va_arg (v,int));
2877   va_end (v);
2878   return s;
2879 }
2880
2881 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2882    function prototypes and stuff, but not '\xHH' hex character constants.
2883    These don't provoke an error unfortunately, instead are silently treated
2884    as 'x'.  The following induces an error, until -std1 is added to get
2885    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2886    array size at least.  It's necessary to write '\x00'==0 to get something
2887    that's true only with -std1.  */
2888 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2889
2890 int test (int i, double x);
2891 struct s1 {int (*f) (int a);};
2892 struct s2 {int (*f) (double a);};
2893 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2894 int argc;
2895 char **argv;
2896 int
2897 main ()
2898 {
2899 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2900   ;
2901   return 0;
2902 }
2903 _ACEOF
2904 # Don't try gcc -ansi; that turns off useful extensions and
2905 # breaks some systems' header files.
2906 # AIX                   -qlanglvl=ansi
2907 # Ultrix and OSF/1      -std1
2908 # HP-UX 10.20 and later -Ae
2909 # HP-UX older versions  -Aa -D_HPUX_SOURCE
2910 # SVR4                  -Xc -D__EXTENSIONS__
2911 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2912 do
2913   CC="$ac_save_CC $ac_arg"
2914   rm -f conftest.$ac_objext
2915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2916   (eval $ac_compile) 2>conftest.er1
2917   ac_status=$?
2918   grep -v '^ *+' conftest.er1 >conftest.err
2919   rm -f conftest.er1
2920   cat conftest.err >&5
2921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2922   (exit $ac_status); } &&
2923          { ac_try='test -z "$ac_c_werror_flag"
2924                          || test ! -s conftest.err'
2925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2926   (eval $ac_try) 2>&5
2927   ac_status=$?
2928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2929   (exit $ac_status); }; } &&
2930          { ac_try='test -s conftest.$ac_objext'
2931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2932   (eval $ac_try) 2>&5
2933   ac_status=$?
2934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2935   (exit $ac_status); }; }; then
2936   ac_cv_prog_cc_stdc=$ac_arg
2937 break
2938 else
2939   echo "$as_me: failed program was:" >&5
2940 sed 's/^/| /' conftest.$ac_ext >&5
2941
2942 fi
2943 rm -f conftest.err conftest.$ac_objext
2944 done
2945 rm -f conftest.$ac_ext conftest.$ac_objext
2946 CC=$ac_save_CC
2947
2948 fi
2949
2950 case "x$ac_cv_prog_cc_stdc" in
2951   x|xno)
2952     echo "$as_me:$LINENO: result: none needed" >&5
2953 echo "${ECHO_T}none needed" >&6 ;;
2954   *)
2955     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2956 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2957     CC="$CC $ac_cv_prog_cc_stdc" ;;
2958 esac
2959
2960 # Some people use a C++ compiler to compile C.  Since we use `exit',
2961 # in C++ we need to declare it.  In case someone uses the same compiler
2962 # for both compiling C and C++ we need to have the C++ compiler decide
2963 # the declaration of exit, since it's the most demanding environment.
2964 cat >conftest.$ac_ext <<_ACEOF
2965 #ifndef __cplusplus
2966   choke me
2967 #endif
2968 _ACEOF
2969 rm -f conftest.$ac_objext
2970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2971   (eval $ac_compile) 2>conftest.er1
2972   ac_status=$?
2973   grep -v '^ *+' conftest.er1 >conftest.err
2974   rm -f conftest.er1
2975   cat conftest.err >&5
2976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2977   (exit $ac_status); } &&
2978          { ac_try='test -z "$ac_c_werror_flag"
2979                          || test ! -s conftest.err'
2980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2981   (eval $ac_try) 2>&5
2982   ac_status=$?
2983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2984   (exit $ac_status); }; } &&
2985          { ac_try='test -s conftest.$ac_objext'
2986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2987   (eval $ac_try) 2>&5
2988   ac_status=$?
2989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2990   (exit $ac_status); }; }; then
2991   for ac_declaration in \
2992    '' \
2993    'extern "C" void std::exit (int) throw (); using std::exit;' \
2994    'extern "C" void std::exit (int); using std::exit;' \
2995    'extern "C" void exit (int) throw ();' \
2996    'extern "C" void exit (int);' \
2997    'void exit (int);'
2998 do
2999   cat >conftest.$ac_ext <<_ACEOF
3000 /* confdefs.h.  */
3001 _ACEOF
3002 cat confdefs.h >>conftest.$ac_ext
3003 cat >>conftest.$ac_ext <<_ACEOF
3004 /* end confdefs.h.  */
3005 $ac_declaration
3006 #include <stdlib.h>
3007 int
3008 main ()
3009 {
3010 exit (42);
3011   ;
3012   return 0;
3013 }
3014 _ACEOF
3015 rm -f conftest.$ac_objext
3016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3017   (eval $ac_compile) 2>conftest.er1
3018   ac_status=$?
3019   grep -v '^ *+' conftest.er1 >conftest.err
3020   rm -f conftest.er1
3021   cat conftest.err >&5
3022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3023   (exit $ac_status); } &&
3024          { ac_try='test -z "$ac_c_werror_flag"
3025                          || test ! -s conftest.err'
3026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3027   (eval $ac_try) 2>&5
3028   ac_status=$?
3029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3030   (exit $ac_status); }; } &&
3031          { ac_try='test -s conftest.$ac_objext'
3032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3033   (eval $ac_try) 2>&5
3034   ac_status=$?
3035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3036   (exit $ac_status); }; }; then
3037   :
3038 else
3039   echo "$as_me: failed program was:" >&5
3040 sed 's/^/| /' conftest.$ac_ext >&5
3041
3042 continue
3043 fi
3044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3045   cat >conftest.$ac_ext <<_ACEOF
3046 /* confdefs.h.  */
3047 _ACEOF
3048 cat confdefs.h >>conftest.$ac_ext
3049 cat >>conftest.$ac_ext <<_ACEOF
3050 /* end confdefs.h.  */
3051 $ac_declaration
3052 int
3053 main ()
3054 {
3055 exit (42);
3056   ;
3057   return 0;
3058 }
3059 _ACEOF
3060 rm -f conftest.$ac_objext
3061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3062   (eval $ac_compile) 2>conftest.er1
3063   ac_status=$?
3064   grep -v '^ *+' conftest.er1 >conftest.err
3065   rm -f conftest.er1
3066   cat conftest.err >&5
3067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3068   (exit $ac_status); } &&
3069          { ac_try='test -z "$ac_c_werror_flag"
3070                          || test ! -s conftest.err'
3071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3072   (eval $ac_try) 2>&5
3073   ac_status=$?
3074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3075   (exit $ac_status); }; } &&
3076          { ac_try='test -s conftest.$ac_objext'
3077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3078   (eval $ac_try) 2>&5
3079   ac_status=$?
3080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3081   (exit $ac_status); }; }; then
3082   break
3083 else
3084   echo "$as_me: failed program was:" >&5
3085 sed 's/^/| /' conftest.$ac_ext >&5
3086
3087 fi
3088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3089 done
3090 rm -f conftest*
3091 if test -n "$ac_declaration"; then
3092   echo '#ifdef __cplusplus' >>confdefs.h
3093   echo $ac_declaration      >>confdefs.h
3094   echo '#endif'             >>confdefs.h
3095 fi
3096
3097 else
3098   echo "$as_me: failed program was:" >&5
3099 sed 's/^/| /' conftest.$ac_ext >&5
3100
3101 fi
3102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3103 ac_ext=c
3104 ac_cpp='$CPP $CPPFLAGS'
3105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3108
3109 depcc="$CC"   am_compiler_list=
3110
3111 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3112 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3113 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3114   echo $ECHO_N "(cached) $ECHO_C" >&6
3115 else
3116   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3117   # We make a subdir and do the tests there.  Otherwise we can end up
3118   # making bogus files that we don't know about and never remove.  For
3119   # instance it was reported that on HP-UX the gcc test will end up
3120   # making a dummy file named `D' -- because `-MD' means `put the output
3121   # in D'.
3122   mkdir conftest.dir
3123   # Copy depcomp to subdir because otherwise we won't find it if we're
3124   # using a relative directory.
3125   cp "$am_depcomp" conftest.dir
3126   cd conftest.dir
3127   # We will build objects and dependencies in a subdirectory because
3128   # it helps to detect inapplicable dependency modes.  For instance
3129   # both Tru64's cc and ICC support -MD to output dependencies as a
3130   # side effect of compilation, but ICC will put the dependencies in
3131   # the current directory while Tru64 will put them in the object
3132   # directory.
3133   mkdir sub
3134
3135   am_cv_CC_dependencies_compiler_type=none
3136   if test "$am_compiler_list" = ""; then
3137      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3138   fi
3139   for depmode in $am_compiler_list; do
3140     # Setup a source with many dependencies, because some compilers
3141     # like to wrap large dependency lists on column 80 (with \), and
3142     # we should not choose a depcomp mode which is confused by this.
3143     #
3144     # We need to recreate these files for each test, as the compiler may
3145     # overwrite some of them when testing with obscure command lines.
3146     # This happens at least with the AIX C compiler.
3147     : > sub/conftest.c
3148     for i in 1 2 3 4 5 6; do
3149       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3150       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3151       # Solaris 8's {/usr,}/bin/sh.
3152       touch sub/conftst$i.h
3153     done
3154     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3155
3156     case $depmode in
3157     nosideeffect)
3158       # after this tag, mechanisms are not by side-effect, so they'll
3159       # only be used when explicitly requested
3160       if test "x$enable_dependency_tracking" = xyes; then
3161         continue
3162       else
3163         break
3164       fi
3165       ;;
3166     none) break ;;
3167     esac
3168     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3169     # mode.  It turns out that the SunPro C++ compiler does not properly
3170     # handle `-M -o', and we need to detect this.
3171     if depmode=$depmode \
3172        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3173        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3174        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3175          >/dev/null 2>conftest.err &&
3176        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3177        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3178        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3179       # icc doesn't choke on unknown options, it will just issue warnings
3180       # or remarks (even with -Werror).  So we grep stderr for any message
3181       # that says an option was ignored or not supported.
3182       # When given -MP, icc 7.0 and 7.1 complain thusly:
3183       #   icc: Command line warning: ignoring option '-M'; no argument required
3184       # The diagnosis changed in icc 8.0:
3185       #   icc: Command line remark: option '-MP' not supported
3186       if (grep 'ignoring option' conftest.err ||
3187           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3188         am_cv_CC_dependencies_compiler_type=$depmode
3189         break
3190       fi
3191     fi
3192   done
3193
3194   cd ..
3195   rm -rf conftest.dir
3196 else
3197   am_cv_CC_dependencies_compiler_type=none
3198 fi
3199
3200 fi
3201 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3202 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3203 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3204
3205
3206
3207 if
3208   test "x$enable_dependency_tracking" != xno \
3209   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3210   am__fastdepCC_TRUE=
3211   am__fastdepCC_FALSE='#'
3212 else
3213   am__fastdepCC_TRUE='#'
3214   am__fastdepCC_FALSE=
3215 fi
3216
3217
3218
3219 ac_ext=c
3220 ac_cpp='$CPP $CPPFLAGS'
3221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3224 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3225 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3226 # On Suns, sometimes $CPP names a directory.
3227 if test -n "$CPP" && test -d "$CPP"; then
3228   CPP=
3229 fi
3230 if test -z "$CPP"; then
3231   if test "${ac_cv_prog_CPP+set}" = set; then
3232   echo $ECHO_N "(cached) $ECHO_C" >&6
3233 else
3234       # Double quotes because CPP needs to be expanded
3235     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3236     do
3237       ac_preproc_ok=false
3238 for ac_c_preproc_warn_flag in '' yes
3239 do
3240   # Use a header file that comes with gcc, so configuring glibc
3241   # with a fresh cross-compiler works.
3242   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3243   # <limits.h> exists even on freestanding compilers.
3244   # On the NeXT, cc -E runs the code through the compiler's parser,
3245   # not just through cpp. "Syntax error" is here to catch this case.
3246   cat >conftest.$ac_ext <<_ACEOF
3247 /* confdefs.h.  */
3248 _ACEOF
3249 cat confdefs.h >>conftest.$ac_ext
3250 cat >>conftest.$ac_ext <<_ACEOF
3251 /* end confdefs.h.  */
3252 #ifdef __STDC__
3253 # include <limits.h>
3254 #else
3255 # include <assert.h>
3256 #endif
3257                      Syntax error
3258 _ACEOF
3259 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3260   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3261   ac_status=$?
3262   grep -v '^ *+' conftest.er1 >conftest.err
3263   rm -f conftest.er1
3264   cat conftest.err >&5
3265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3266   (exit $ac_status); } >/dev/null; then
3267   if test -s conftest.err; then
3268     ac_cpp_err=$ac_c_preproc_warn_flag
3269     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3270   else
3271     ac_cpp_err=
3272   fi
3273 else
3274   ac_cpp_err=yes
3275 fi
3276 if test -z "$ac_cpp_err"; then
3277   :
3278 else
3279   echo "$as_me: failed program was:" >&5
3280 sed 's/^/| /' conftest.$ac_ext >&5
3281
3282   # Broken: fails on valid input.
3283 continue
3284 fi
3285 rm -f conftest.err conftest.$ac_ext
3286
3287   # OK, works on sane cases.  Now check whether non-existent headers
3288   # can be detected and how.
3289   cat >conftest.$ac_ext <<_ACEOF
3290 /* confdefs.h.  */
3291 _ACEOF
3292 cat confdefs.h >>conftest.$ac_ext
3293 cat >>conftest.$ac_ext <<_ACEOF
3294 /* end confdefs.h.  */
3295 #include <ac_nonexistent.h>
3296 _ACEOF
3297 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3298   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3299   ac_status=$?
3300   grep -v '^ *+' conftest.er1 >conftest.err
3301   rm -f conftest.er1
3302   cat conftest.err >&5
3303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3304   (exit $ac_status); } >/dev/null; then
3305   if test -s conftest.err; then
3306     ac_cpp_err=$ac_c_preproc_warn_flag
3307     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3308   else
3309     ac_cpp_err=
3310   fi
3311 else
3312   ac_cpp_err=yes
3313 fi
3314 if test -z "$ac_cpp_err"; then
3315   # Broken: success on invalid input.
3316 continue
3317 else
3318   echo "$as_me: failed program was:" >&5
3319 sed 's/^/| /' conftest.$ac_ext >&5
3320
3321   # Passes both tests.
3322 ac_preproc_ok=:
3323 break
3324 fi
3325 rm -f conftest.err conftest.$ac_ext
3326
3327 done
3328 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3329 rm -f conftest.err conftest.$ac_ext
3330 if $ac_preproc_ok; then
3331   break
3332 fi
3333
3334     done
3335     ac_cv_prog_CPP=$CPP
3336
3337 fi
3338   CPP=$ac_cv_prog_CPP
3339 else
3340   ac_cv_prog_CPP=$CPP
3341 fi
3342 echo "$as_me:$LINENO: result: $CPP" >&5
3343 echo "${ECHO_T}$CPP" >&6
3344 ac_preproc_ok=false
3345 for ac_c_preproc_warn_flag in '' yes
3346 do
3347   # Use a header file that comes with gcc, so configuring glibc
3348   # with a fresh cross-compiler works.
3349   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3350   # <limits.h> exists even on freestanding compilers.
3351   # On the NeXT, cc -E runs the code through the compiler's parser,
3352   # not just through cpp. "Syntax error" is here to catch this case.
3353   cat >conftest.$ac_ext <<_ACEOF
3354 /* confdefs.h.  */
3355 _ACEOF
3356 cat confdefs.h >>conftest.$ac_ext
3357 cat >>conftest.$ac_ext <<_ACEOF
3358 /* end confdefs.h.  */
3359 #ifdef __STDC__
3360 # include <limits.h>
3361 #else
3362 # include <assert.h>
3363 #endif
3364                      Syntax error
3365 _ACEOF
3366 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3367   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3368   ac_status=$?
3369   grep -v '^ *+' conftest.er1 >conftest.err
3370   rm -f conftest.er1
3371   cat conftest.err >&5
3372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3373   (exit $ac_status); } >/dev/null; then
3374   if test -s conftest.err; then
3375     ac_cpp_err=$ac_c_preproc_warn_flag
3376     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3377   else
3378     ac_cpp_err=
3379   fi
3380 else
3381   ac_cpp_err=yes
3382 fi
3383 if test -z "$ac_cpp_err"; then
3384   :
3385 else
3386   echo "$as_me: failed program was:" >&5
3387 sed 's/^/| /' conftest.$ac_ext >&5
3388
3389   # Broken: fails on valid input.
3390 continue
3391 fi
3392 rm -f conftest.err conftest.$ac_ext
3393
3394   # OK, works on sane cases.  Now check whether non-existent headers
3395   # can be detected and how.
3396   cat >conftest.$ac_ext <<_ACEOF
3397 /* confdefs.h.  */
3398 _ACEOF
3399 cat confdefs.h >>conftest.$ac_ext
3400 cat >>conftest.$ac_ext <<_ACEOF
3401 /* end confdefs.h.  */
3402 #include <ac_nonexistent.h>
3403 _ACEOF
3404 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3405   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3406   ac_status=$?
3407   grep -v '^ *+' conftest.er1 >conftest.err
3408   rm -f conftest.er1
3409   cat conftest.err >&5
3410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3411   (exit $ac_status); } >/dev/null; then
3412   if test -s conftest.err; then
3413     ac_cpp_err=$ac_c_preproc_warn_flag
3414     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3415   else
3416     ac_cpp_err=
3417   fi
3418 else
3419   ac_cpp_err=yes
3420 fi
3421 if test -z "$ac_cpp_err"; then
3422   # Broken: success on invalid input.
3423 continue
3424 else
3425   echo "$as_me: failed program was:" >&5
3426 sed 's/^/| /' conftest.$ac_ext >&5
3427
3428   # Passes both tests.
3429 ac_preproc_ok=:
3430 break
3431 fi
3432 rm -f conftest.err conftest.$ac_ext
3433
3434 done
3435 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3436 rm -f conftest.err conftest.$ac_ext
3437 if $ac_preproc_ok; then
3438   :
3439 else
3440   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3441 See \`config.log' for more details." >&5
3442 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3443 See \`config.log' for more details." >&2;}
3444    { (exit 1); exit 1; }; }
3445 fi
3446
3447 ac_ext=c
3448 ac_cpp='$CPP $CPPFLAGS'
3449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3452
3453
3454 echo "$as_me:$LINENO: checking for egrep" >&5
3455 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3456 if test "${ac_cv_prog_egrep+set}" = set; then
3457   echo $ECHO_N "(cached) $ECHO_C" >&6
3458 else
3459   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3460     then ac_cv_prog_egrep='grep -E'
3461     else ac_cv_prog_egrep='egrep'
3462     fi
3463 fi
3464 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3465 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3466  EGREP=$ac_cv_prog_egrep
3467
3468
3469 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3470 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3471 if test "${ac_cv_header_stdc+set}" = set; then
3472   echo $ECHO_N "(cached) $ECHO_C" >&6
3473 else
3474   cat >conftest.$ac_ext <<_ACEOF
3475 /* confdefs.h.  */
3476 _ACEOF
3477 cat confdefs.h >>conftest.$ac_ext
3478 cat >>conftest.$ac_ext <<_ACEOF
3479 /* end confdefs.h.  */
3480 #include <stdlib.h>
3481 #include <stdarg.h>
3482 #include <string.h>
3483 #include <float.h>
3484
3485 int
3486 main ()
3487 {
3488
3489   ;
3490   return 0;
3491 }
3492 _ACEOF
3493 rm -f conftest.$ac_objext
3494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3495   (eval $ac_compile) 2>conftest.er1
3496   ac_status=$?
3497   grep -v '^ *+' conftest.er1 >conftest.err
3498   rm -f conftest.er1
3499   cat conftest.err >&5
3500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3501   (exit $ac_status); } &&
3502          { ac_try='test -z "$ac_c_werror_flag"
3503                          || test ! -s conftest.err'
3504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3505   (eval $ac_try) 2>&5
3506   ac_status=$?
3507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3508   (exit $ac_status); }; } &&
3509          { ac_try='test -s conftest.$ac_objext'
3510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3511   (eval $ac_try) 2>&5
3512   ac_status=$?
3513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3514   (exit $ac_status); }; }; then
3515   ac_cv_header_stdc=yes
3516 else
3517   echo "$as_me: failed program was:" >&5
3518 sed 's/^/| /' conftest.$ac_ext >&5
3519
3520 ac_cv_header_stdc=no
3521 fi
3522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3523
3524 if test $ac_cv_header_stdc = yes; then
3525   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3526   cat >conftest.$ac_ext <<_ACEOF
3527 /* confdefs.h.  */
3528 _ACEOF
3529 cat confdefs.h >>conftest.$ac_ext
3530 cat >>conftest.$ac_ext <<_ACEOF
3531 /* end confdefs.h.  */
3532 #include <string.h>
3533
3534 _ACEOF
3535 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3536   $EGREP "memchr" >/dev/null 2>&1; then
3537   :
3538 else
3539   ac_cv_header_stdc=no
3540 fi
3541 rm -f conftest*
3542
3543 fi
3544
3545 if test $ac_cv_header_stdc = yes; then
3546   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3547   cat >conftest.$ac_ext <<_ACEOF
3548 /* confdefs.h.  */
3549 _ACEOF
3550 cat confdefs.h >>conftest.$ac_ext
3551 cat >>conftest.$ac_ext <<_ACEOF
3552 /* end confdefs.h.  */
3553 #include <stdlib.h>
3554
3555 _ACEOF
3556 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3557   $EGREP "free" >/dev/null 2>&1; then
3558   :
3559 else
3560   ac_cv_header_stdc=no
3561 fi
3562 rm -f conftest*
3563
3564 fi
3565
3566 if test $ac_cv_header_stdc = yes; then
3567   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.