OSDN Git Service

PR libgcj/23499:
[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.
3568   if test "$cross_compiling" = yes; then
3569   :
3570 else
3571   cat >conftest.$ac_ext <<_ACEOF
3572 /* confdefs.h.  */
3573 _ACEOF
3574 cat confdefs.h >>conftest.$ac_ext
3575 cat >>conftest.$ac_ext <<_ACEOF
3576 /* end confdefs.h.  */
3577 #include <ctype.h>
3578 #if ((' ' & 0x0FF) == 0x020)
3579 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3580 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3581 #else
3582 # define ISLOWER(c) \
3583                    (('a' <= (c) && (c) <= 'i') \
3584                      || ('j' <= (c) && (c) <= 'r') \
3585                      || ('s' <= (c) && (c) <= 'z'))
3586 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3587 #endif
3588
3589 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3590 int
3591 main ()
3592 {
3593   int i;
3594   for (i = 0; i < 256; i++)
3595     if (XOR (islower (i), ISLOWER (i))
3596         || toupper (i) != TOUPPER (i))
3597       exit(2);
3598   exit (0);
3599 }
3600 _ACEOF
3601 rm -f conftest$ac_exeext
3602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3603   (eval $ac_link) 2>&5
3604   ac_status=$?
3605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3606   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3608   (eval $ac_try) 2>&5
3609   ac_status=$?
3610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3611   (exit $ac_status); }; }; then
3612   :
3613 else
3614   echo "$as_me: program exited with status $ac_status" >&5
3615 echo "$as_me: failed program was:" >&5
3616 sed 's/^/| /' conftest.$ac_ext >&5
3617
3618 ( exit $ac_status )
3619 ac_cv_header_stdc=no
3620 fi
3621 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3622 fi
3623 fi
3624 fi
3625 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3626 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3627 if test $ac_cv_header_stdc = yes; then
3628
3629 cat >>confdefs.h <<\_ACEOF
3630 #define STDC_HEADERS 1
3631 _ACEOF
3632
3633 fi
3634
3635 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3646                   inttypes.h stdint.h unistd.h
3647 do
3648 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3649 echo "$as_me:$LINENO: checking for $ac_header" >&5
3650 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3651 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3652   echo $ECHO_N "(cached) $ECHO_C" >&6
3653 else
3654   cat >conftest.$ac_ext <<_ACEOF
3655 /* confdefs.h.  */
3656 _ACEOF
3657 cat confdefs.h >>conftest.$ac_ext
3658 cat >>conftest.$ac_ext <<_ACEOF
3659 /* end confdefs.h.  */
3660 $ac_includes_default
3661
3662 #include <$ac_header>
3663 _ACEOF
3664 rm -f conftest.$ac_objext
3665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3666   (eval $ac_compile) 2>conftest.er1
3667   ac_status=$?
3668   grep -v '^ *+' conftest.er1 >conftest.err
3669   rm -f conftest.er1
3670   cat conftest.err >&5
3671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3672   (exit $ac_status); } &&
3673          { ac_try='test -z "$ac_c_werror_flag"
3674                          || test ! -s conftest.err'
3675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3676   (eval $ac_try) 2>&5
3677   ac_status=$?
3678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3679   (exit $ac_status); }; } &&
3680          { ac_try='test -s conftest.$ac_objext'
3681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3682   (eval $ac_try) 2>&5
3683   ac_status=$?
3684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3685   (exit $ac_status); }; }; then
3686   eval "$as_ac_Header=yes"
3687 else
3688   echo "$as_me: failed program was:" >&5
3689 sed 's/^/| /' conftest.$ac_ext >&5
3690
3691 eval "$as_ac_Header=no"
3692 fi
3693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3694 fi
3695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3696 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3697 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3698   cat >>confdefs.h <<_ACEOF
3699 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3700 _ACEOF
3701
3702 fi
3703
3704 done
3705
3706
3707 # Check whether --enable-alsa or --disable-alsa was given.
3708 if test "${enable_alsa+set}" = set; then
3709   enableval="$enable_alsa"
3710   case "${enableval}" in
3711                 yes) COMPILE_ALSA=yes ;;
3712                 no) COMPILE_ALSA=no ;;
3713                 *) COMPILE_ALSA=yes ;;
3714               esac
3715 else
3716
3717 for ac_header in alsa/asoundlib.h
3718 do
3719 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3720 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3721   echo "$as_me:$LINENO: checking for $ac_header" >&5
3722 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3723 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3724   echo $ECHO_N "(cached) $ECHO_C" >&6
3725 fi
3726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3727 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3728 else
3729   # Is the header compilable?
3730 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3731 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3732 cat >conftest.$ac_ext <<_ACEOF
3733 /* confdefs.h.  */
3734 _ACEOF
3735 cat confdefs.h >>conftest.$ac_ext
3736 cat >>conftest.$ac_ext <<_ACEOF
3737 /* end confdefs.h.  */
3738 $ac_includes_default
3739 #include <$ac_header>
3740 _ACEOF
3741 rm -f conftest.$ac_objext
3742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3743   (eval $ac_compile) 2>conftest.er1
3744   ac_status=$?
3745   grep -v '^ *+' conftest.er1 >conftest.err
3746   rm -f conftest.er1
3747   cat conftest.err >&5
3748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3749   (exit $ac_status); } &&
3750          { ac_try='test -z "$ac_c_werror_flag"
3751                          || test ! -s conftest.err'
3752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3753   (eval $ac_try) 2>&5
3754   ac_status=$?
3755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3756   (exit $ac_status); }; } &&
3757          { ac_try='test -s conftest.$ac_objext'
3758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3759   (eval $ac_try) 2>&5
3760   ac_status=$?
3761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3762   (exit $ac_status); }; }; then
3763   ac_header_compiler=yes
3764 else
3765   echo "$as_me: failed program was:" >&5
3766 sed 's/^/| /' conftest.$ac_ext >&5
3767
3768 ac_header_compiler=no
3769 fi
3770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3771 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3772 echo "${ECHO_T}$ac_header_compiler" >&6
3773
3774 # Is the header present?
3775 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3776 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3777 cat >conftest.$ac_ext <<_ACEOF
3778 /* confdefs.h.  */
3779 _ACEOF
3780 cat confdefs.h >>conftest.$ac_ext
3781 cat >>conftest.$ac_ext <<_ACEOF
3782 /* end confdefs.h.  */
3783 #include <$ac_header>
3784 _ACEOF
3785 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3786   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3787   ac_status=$?
3788   grep -v '^ *+' conftest.er1 >conftest.err
3789   rm -f conftest.er1
3790   cat conftest.err >&5
3791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3792   (exit $ac_status); } >/dev/null; then
3793   if test -s conftest.err; then
3794     ac_cpp_err=$ac_c_preproc_warn_flag
3795     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3796   else
3797     ac_cpp_err=
3798   fi
3799 else
3800   ac_cpp_err=yes
3801 fi
3802 if test -z "$ac_cpp_err"; then
3803   ac_header_preproc=yes
3804 else
3805   echo "$as_me: failed program was:" >&5
3806 sed 's/^/| /' conftest.$ac_ext >&5
3807
3808   ac_header_preproc=no
3809 fi
3810 rm -f conftest.err conftest.$ac_ext
3811 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3812 echo "${ECHO_T}$ac_header_preproc" >&6
3813
3814 # So?  What about this header?
3815 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3816   yes:no: )
3817     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3818 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3819     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3820 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3821     ac_header_preproc=yes
3822     ;;
3823   no:yes:* )
3824     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3825 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3826     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
3827 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
3828     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3829 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3830     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
3831 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
3832     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3833 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3834     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3835 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3836     (
3837       cat <<\_ASBOX
3838 ## -------------------------------- ##
3839 ## Report this to classpath@gnu.org ##
3840 ## -------------------------------- ##
3841 _ASBOX
3842     ) |
3843       sed "s/^/$as_me: WARNING:     /" >&2
3844     ;;
3845 esac
3846 echo "$as_me:$LINENO: checking for $ac_header" >&5
3847 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3848 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3849   echo $ECHO_N "(cached) $ECHO_C" >&6
3850 else
3851   eval "$as_ac_Header=\$ac_header_preproc"
3852 fi
3853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3854 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3855
3856 fi
3857 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3858   cat >>confdefs.h <<_ACEOF
3859 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3860 _ACEOF
3861  echo "$as_me:$LINENO: checking for snd_seq_open in -lasound" >&5
3862 echo $ECHO_N "checking for snd_seq_open in -lasound... $ECHO_C" >&6
3863 if test "${ac_cv_lib_asound_snd_seq_open+set}" = set; then
3864   echo $ECHO_N "(cached) $ECHO_C" >&6
3865 else
3866   ac_check_lib_save_LIBS=$LIBS
3867 LIBS="-lasound  $LIBS"
3868 cat >conftest.$ac_ext <<_ACEOF
3869 /* confdefs.h.  */
3870 _ACEOF
3871 cat confdefs.h >>conftest.$ac_ext
3872 cat >>conftest.$ac_ext <<_ACEOF
3873 /* end confdefs.h.  */
3874
3875 /* Override any gcc2 internal prototype to avoid an error.  */
3876 #ifdef __cplusplus
3877 extern "C"
3878 #endif
3879 /* We use char because int might match the return type of a gcc2
3880    builtin and then its argument prototype would still apply.  */
3881 char snd_seq_open ();
3882 int
3883 main ()
3884 {
3885 snd_seq_open ();
3886   ;
3887   return 0;
3888 }
3889 _ACEOF
3890 rm -f conftest.$ac_objext conftest$ac_exeext
3891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3892   (eval $ac_link) 2>conftest.er1
3893   ac_status=$?
3894   grep -v '^ *+' conftest.er1 >conftest.err
3895   rm -f conftest.er1
3896   cat conftest.err >&5
3897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3898   (exit $ac_status); } &&
3899          { ac_try='test -z "$ac_c_werror_flag"
3900                          || test ! -s conftest.err'
3901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3902   (eval $ac_try) 2>&5
3903   ac_status=$?
3904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3905   (exit $ac_status); }; } &&
3906          { ac_try='test -s conftest$ac_exeext'
3907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3908   (eval $ac_try) 2>&5
3909   ac_status=$?
3910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3911   (exit $ac_status); }; }; then
3912   ac_cv_lib_asound_snd_seq_open=yes
3913 else
3914   echo "$as_me: failed program was:" >&5
3915 sed 's/^/| /' conftest.$ac_ext >&5
3916
3917 ac_cv_lib_asound_snd_seq_open=no
3918 fi
3919 rm -f conftest.err conftest.$ac_objext \
3920       conftest$ac_exeext conftest.$ac_ext
3921 LIBS=$ac_check_lib_save_LIBS
3922 fi
3923 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_seq_open" >&5
3924 echo "${ECHO_T}$ac_cv_lib_asound_snd_seq_open" >&6
3925 if test $ac_cv_lib_asound_snd_seq_open = yes; then
3926   COMPILE_ALSA=yes
3927 else
3928   COMPILE_ALSA=no
3929 fi
3930
3931 else
3932   COMPILE_ALSA=no
3933 fi
3934
3935 done
3936
3937 fi;
3938
3939
3940 if test "x${COMPILE_ALSA}" = xyes; then
3941   CREATE_ALSA_LIBRARIES_TRUE=
3942   CREATE_ALSA_LIBRARIES_FALSE='#'
3943 else
3944   CREATE_ALSA_LIBRARIES_TRUE='#'
3945   CREATE_ALSA_LIBRARIES_FALSE=
3946 fi
3947
3948
3949 # Check whether --enable-dssi or --disable-dssi was given.
3950 if test "${enable_dssi+set}" = set; then
3951   enableval="$enable_dssi"
3952   case "${enableval}" in
3953                 yes) COMPILE_DSSI=yes ;;
3954                 no) COMPILE_DSSI=no ;;
3955                 *) COMPILE_DSSI=yes ;;
3956               esac
3957 else
3958
3959 for ac_header in dssi.h
3960 do
3961 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3962 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3963   echo "$as_me:$LINENO: checking for $ac_header" >&5
3964 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3965 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3966   echo $ECHO_N "(cached) $ECHO_C" >&6
3967 fi
3968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3969 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3970 else
3971   # Is the header compilable?
3972 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3973 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3974 cat >conftest.$ac_ext <<_ACEOF
3975 /* confdefs.h.  */
3976 _ACEOF
3977 cat confdefs.h >>conftest.$ac_ext
3978 cat >>conftest.$ac_ext <<_ACEOF
3979 /* end confdefs.h.  */
3980 $ac_includes_default
3981 #include <$ac_header>
3982 _ACEOF
3983 rm -f conftest.$ac_objext
3984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3985   (eval $ac_compile) 2>conftest.er1
3986   ac_status=$?
3987   grep -v '^ *+' conftest.er1 >conftest.err
3988   rm -f conftest.er1
3989   cat conftest.err >&5
3990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3991   (exit $ac_status); } &&
3992          { ac_try='test -z "$ac_c_werror_flag"
3993                          || test ! -s conftest.err'
3994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3995   (eval $ac_try) 2>&5
3996   ac_status=$?
3997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3998   (exit $ac_status); }; } &&
3999          { ac_try='test -s conftest.$ac_objext'
4000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4001   (eval $ac_try) 2>&5
4002   ac_status=$?
4003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4004   (exit $ac_status); }; }; then
4005   ac_header_compiler=yes
4006 else
4007   echo "$as_me: failed program was:" >&5
4008 sed 's/^/| /' conftest.$ac_ext >&5
4009
4010 ac_header_compiler=no
4011 fi
4012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4013 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4014 echo "${ECHO_T}$ac_header_compiler" >&6
4015
4016 # Is the header present?
4017 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4018 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4019 cat >conftest.$ac_ext <<_ACEOF
4020 /* confdefs.h.  */
4021 _ACEOF
4022 cat confdefs.h >>conftest.$ac_ext
4023 cat >>conftest.$ac_ext <<_ACEOF
4024 /* end confdefs.h.  */
4025 #include <$ac_header>
4026 _ACEOF
4027 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4028   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4029   ac_status=$?
4030   grep -v '^ *+' conftest.er1 >conftest.err
4031   rm -f conftest.er1
4032   cat conftest.err >&5
4033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4034   (exit $ac_status); } >/dev/null; then
4035   if test -s conftest.err; then
4036     ac_cpp_err=$ac_c_preproc_warn_flag
4037     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4038   else
4039     ac_cpp_err=
4040   fi
4041 else
4042   ac_cpp_err=yes
4043 fi
4044 if test -z "$ac_cpp_err"; then
4045   ac_header_preproc=yes
4046 else
4047   echo "$as_me: failed program was:" >&5
4048 sed 's/^/| /' conftest.$ac_ext >&5
4049
4050   ac_header_preproc=no
4051 fi
4052 rm -f conftest.err conftest.$ac_ext
4053 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4054 echo "${ECHO_T}$ac_header_preproc" >&6
4055
4056 # So?  What about this header?
4057 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4058   yes:no: )
4059     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4060 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4061     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4062 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4063     ac_header_preproc=yes
4064     ;;
4065   no:yes:* )
4066     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4067 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4068     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4069 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4070     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4071 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4072     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4073 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4074     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4075 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4076     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4077 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4078     (
4079       cat <<\_ASBOX
4080 ## -------------------------------- ##
4081 ## Report this to classpath@gnu.org ##
4082 ## -------------------------------- ##
4083 _ASBOX
4084     ) |
4085       sed "s/^/$as_me: WARNING:     /" >&2
4086     ;;
4087 esac
4088 echo "$as_me:$LINENO: checking for $ac_header" >&5
4089 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4090 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4091   echo $ECHO_N "(cached) $ECHO_C" >&6
4092 else
4093   eval "$as_ac_Header=\$ac_header_preproc"
4094 fi
4095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4096 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4097
4098 fi
4099 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4100   cat >>confdefs.h <<_ACEOF
4101 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4102 _ACEOF
4103  COMPILE_DSSI=yes
4104 else
4105   COMPILE_DSSI=no
4106 fi
4107
4108 done
4109
4110 fi;
4111
4112
4113 if test "x${COMPILE_DSSI}" = xyes; then
4114   CREATE_DSSI_LIBRARIES_TRUE=
4115   CREATE_DSSI_LIBRARIES_FALSE='#'
4116 else
4117   CREATE_DSSI_LIBRARIES_TRUE='#'
4118   CREATE_DSSI_LIBRARIES_FALSE=
4119 fi
4120
4121
4122 # Check whether --enable-gtk-peer or --disable-gtk-peer was given.
4123 if test "${enable_gtk_peer+set}" = set; then
4124   enableval="$enable_gtk_peer"
4125   case "${enableval}" in
4126                 yes) COMPILE_GTK_PEER=yes ;;
4127                 no) COMPILE_GTK_PEER=no ;;
4128                 *) COMPILE_GTK_PEER=yes ;;
4129               esac
4130 else
4131   COMPILE_GTK_PEER=yes
4132 fi;
4133
4134
4135 if test "x${COMPILE_GTK_PEER}" = xyes; then
4136   CREATE_GTK_PEER_LIBRARIES_TRUE=
4137   CREATE_GTK_PEER_LIBRARIES_FALSE='#'
4138 else
4139   CREATE_GTK_PEER_LIBRARIES_TRUE='#'
4140   CREATE_GTK_PEER_LIBRARIES_FALSE=
4141 fi
4142
4143
4144 # Check whether --enable-gtk-peers or --disable-gtk-peers was given.
4145 if test "${enable_gtk_peers+set}" = set; then
4146   enableval="$enable_gtk_peers"
4147   { { echo "$as_me:$LINENO: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&5
4148 echo "$as_me: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&2;}
4149    { (exit 1); exit 1; }; }
4150 fi;
4151
4152 # Check whether --enable-gtk-cairo or --disable-gtk-cairo was given.
4153 if test "${enable_gtk_cairo+set}" = set; then
4154   enableval="$enable_gtk_cairo"
4155   case "${enableval}" in
4156                 yes) GTK_CAIRO_ENABLED=true ;;
4157                 no) GTK_CAIRO_ENABLED=false ;;
4158                 *) GTK_CAIRO_ENABLED=true ;;
4159               esac
4160 else
4161   GTK_CAIRO_ENABLED=false
4162 fi;
4163
4164 if test "x${GTK_CAIRO_ENABLED}" = xtrue; then
4165
4166 cat >>confdefs.h <<\_ACEOF
4167 #define GTK_CAIRO 1
4168 _ACEOF
4169
4170 fi
4171
4172
4173 if test "x${GTK_CAIRO_ENABLED}" = xtrue; then
4174   GTK_CAIRO_TRUE=
4175   GTK_CAIRO_FALSE='#'
4176 else
4177   GTK_CAIRO_TRUE='#'
4178   GTK_CAIRO_FALSE=
4179 fi
4180
4181
4182 # Check whether --enable-qt-peer or --disable-qt-peer was given.
4183 if test "${enable_qt_peer+set}" = set; then
4184   enableval="$enable_qt_peer"
4185   case "${enableval}" in
4186                 yes) COMPILE_QT_PEER=yes ;;
4187                 no) COMPILE_QT_PEER=no ;;
4188                 *) COMPILE_QT_PEER=yes ;;
4189               esac
4190 else
4191   COMPILE_QT_PEER=no
4192 fi;
4193
4194
4195 if test "x${COMPILE_QT_PEER}" = xyes; then
4196   CREATE_QT_PEER_LIBRARIES_TRUE=
4197   CREATE_QT_PEER_LIBRARIES_FALSE='#'
4198 else
4199   CREATE_QT_PEER_LIBRARIES_TRUE='#'
4200   CREATE_QT_PEER_LIBRARIES_FALSE=
4201 fi
4202
4203
4204
4205
4206 # Check whether --with-native-libdir or --without-native-libdir was given.
4207 if test "${with_native_libdir+set}" = set; then
4208   withval="$with_native_libdir"
4209
4210              nativelibdir=${withval}
4211
4212 else
4213
4214              nativelibdir='${libdir}/${PACKAGE}'
4215
4216 fi;
4217
4218
4219
4220
4221 # Check whether --with-glibj-dir or --without-glibj-dir was given.
4222 if test "${with_glibj_dir+set}" = set; then
4223   withval="$with_glibj_dir"
4224
4225              glibjdir=${withval}
4226
4227 else
4228
4229              glibjdir='${datadir}/${PACKAGE}'
4230
4231 fi;
4232
4233
4234
4235 # Check whether --enable-regen-headers or --disable-regen-headers was given.
4236 if test "${enable_regen_headers+set}" = set; then
4237   enableval="$enable_regen_headers"
4238   case "${enableval}" in
4239                 yes) REGENERATE_JNI_HEADERS=yes ;;
4240                 no) REGENERATE_JNI_HEADERS=no ;;
4241                 *) REGENERATE_JNI_HEADERS=no ;;
4242               esac
4243 else
4244   REGENERATE_JNI_HEADERS=no
4245 fi;
4246
4247
4248 if test "x${REGENERATE_JNI_HEADERS}" = xyes; then
4249   CREATE_JNI_HEADERS_TRUE=
4250   CREATE_JNI_HEADERS_FALSE='#'
4251 else
4252   CREATE_JNI_HEADERS_TRUE='#'
4253   CREATE_JNI_HEADERS_FALSE=
4254 fi
4255
4256
4257 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4258 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4259 LN_S=$as_ln_s
4260 if test "$LN_S" = "ln -s"; then
4261   echo "$as_me:$LINENO: result: yes" >&5
4262 echo "${ECHO_T}yes" >&6
4263 else
4264   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4265 echo "${ECHO_T}no, using $LN_S" >&6
4266 fi
4267
4268 # Find a good install program.  We prefer a C program (faster),
4269 # so one script is as good as another.  But avoid the broken or
4270 # incompatible versions:
4271 # SysV /etc/install, /usr/sbin/install
4272 # SunOS /usr/etc/install
4273 # IRIX /sbin/install
4274 # AIX /bin/install
4275 # AmigaOS /C/install, which installs bootblocks on floppy discs
4276 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4277 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4278 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4279 # OS/2's system install, which has a completely different semantic
4280 # ./install, which can be erroneously created by make from ./install.sh.
4281 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4282 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4283 if test -z "$INSTALL"; then
4284 if test "${ac_cv_path_install+set}" = set; then
4285   echo $ECHO_N "(cached) $ECHO_C" >&6
4286 else
4287   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4288 for as_dir in $PATH
4289 do
4290   IFS=$as_save_IFS
4291   test -z "$as_dir" && as_dir=.
4292   # Account for people who put trailing slashes in PATH elements.
4293 case $as_dir/ in
4294   ./ | .// | /cC/* | \
4295   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4296   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4297   /usr/ucb/* ) ;;
4298   *)
4299     # OSF1 and SCO ODT 3.0 have their own names for install.
4300     # Don't use installbsd from OSF since it installs stuff as root
4301     # by default.
4302     for ac_prog in ginstall scoinst install; do
4303       for ac_exec_ext in '' $ac_executable_extensions; do
4304         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4305           if test $ac_prog = install &&
4306             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4307             # AIX install.  It has an incompatible calling convention.
4308             :
4309           elif test $ac_prog = install &&
4310             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4311             # program-specific install script used by HP pwplus--don't use.
4312             :
4313           else
4314             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4315             break 3
4316           fi
4317         fi
4318       done
4319     done
4320     ;;
4321 esac
4322 done
4323
4324
4325 fi
4326   if test "${ac_cv_path_install+set}" = set; then
4327     INSTALL=$ac_cv_path_install
4328   else
4329     # As a last resort, use the slow shell script.  We don't cache a
4330     # path for INSTALL within a source directory, because that will
4331     # break other packages using the cache if that directory is
4332     # removed, or if the path is relative.
4333     INSTALL=$ac_install_sh
4334   fi
4335 fi
4336 echo "$as_me:$LINENO: result: $INSTALL" >&5
4337 echo "${ECHO_T}$INSTALL" >&6
4338
4339 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4340 # It thinks the first close brace ends the variable substitution.
4341 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4342
4343 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4344
4345 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4346
4347
4348
4349 GCC_NO_EXECUTABLES
4350
4351 # Check whether --enable-static or --disable-static was given.
4352 if test "${enable_static+set}" = set; then
4353   enableval="$enable_static"
4354   p=${PACKAGE-default}
4355 case $enableval in
4356 yes) enable_static=yes ;;
4357 no) enable_static=no ;;
4358 *)
4359   enable_static=no
4360   # Look at the argument we got.  We use all the common list separators.
4361   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4362   for pkg in $enableval; do
4363     if test "X$pkg" = "X$p"; then
4364       enable_static=yes
4365     fi
4366   done
4367   IFS="$ac_save_ifs"
4368   ;;
4369 esac
4370 else
4371   enable_static=no
4372 fi;
4373 # Check whether --enable-shared or --disable-shared was given.
4374 if test "${enable_shared+set}" = set; then
4375   enableval="$enable_shared"
4376   p=${PACKAGE-default}
4377 case $enableval in
4378 yes) enable_shared=yes ;;
4379 no) enable_shared=no ;;
4380 *)
4381   enable_shared=no
4382   # Look at the argument we got.  We use all the common list separators.
4383   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4384   for pkg in $enableval; do
4385     if test "X$pkg" = "X$p"; then
4386       enable_shared=yes
4387     fi
4388   done
4389   IFS="$ac_save_ifs"
4390   ;;
4391 esac
4392 else
4393   enable_shared=yes
4394 fi;
4395 # Check whether --enable-fast-install or --disable-fast-install was given.
4396 if test "${enable_fast_install+set}" = set; then
4397   enableval="$enable_fast_install"
4398   p=${PACKAGE-default}
4399 case $enableval in
4400 yes) enable_fast_install=yes ;;
4401 no) enable_fast_install=no ;;
4402 *)
4403   enable_fast_install=no
4404   # Look at the argument we got.  We use all the common list separators.
4405   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4406   for pkg in $enableval; do
4407     if test "X$pkg" = "X$p"; then
4408       enable_fast_install=yes
4409     fi
4410   done
4411   IFS="$ac_save_ifs"
4412   ;;
4413 esac
4414 else
4415   enable_fast_install=yes
4416 fi;
4417
4418 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4419 if test "${with_gnu_ld+set}" = set; then
4420   withval="$with_gnu_ld"
4421   test "$withval" = no || with_gnu_ld=yes
4422 else
4423   with_gnu_ld=no
4424 fi;
4425 ac_prog=ld
4426 if test "$GCC" = yes; then
4427   # Check if gcc -print-prog-name=ld gives a path.
4428   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4429 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4430   case $host in
4431   *-*-mingw*)
4432     # gcc leaves a trailing carriage return which upsets mingw
4433     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4434   *)
4435     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4436   esac
4437   case $ac_prog in
4438     # Accept absolute paths.
4439     [\\/]* | [A-Za-z]:[\\/]*)
4440       re_direlt='/[^/][^/]*/\.\./'
4441       # Canonicalize the path of ld
4442       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4443       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4444         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4445       done
4446       test -z "$LD" && LD="$ac_prog"
4447       ;;
4448   "")
4449     # If it fails, then pretend we aren't using GCC.
4450     ac_prog=ld
4451     ;;
4452   *)
4453     # If it is relative, then search for the first ld in PATH.
4454     with_gnu_ld=unknown
4455     ;;
4456   esac
4457 elif test "$with_gnu_ld" = yes; then
4458   echo "$as_me:$LINENO: checking for GNU ld" >&5
4459 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4460 else
4461   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4462 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4463 fi
4464 if test "${lt_cv_path_LD+set}" = set; then
4465   echo $ECHO_N "(cached) $ECHO_C" >&6
4466 else
4467   if test -z "$LD"; then
4468   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4469   for ac_dir in $PATH; do
4470     test -z "$ac_dir" && ac_dir=.
4471     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4472       lt_cv_path_LD="$ac_dir/$ac_prog"
4473       # Check to see if the program is GNU ld.  I'd rather use --version,
4474       # but apparently some GNU ld's only accept -v.
4475       # Break only if it was the GNU/non-GNU ld that we prefer.
4476       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
4477         test "$with_gnu_ld" != no && break
4478       else
4479         test "$with_gnu_ld" != yes && break
4480       fi
4481     fi
4482   done
4483   IFS="$ac_save_ifs"
4484 else
4485   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4486 fi
4487 fi
4488
4489 LD="$lt_cv_path_LD"
4490 if test -n "$LD"; then
4491   echo "$as_me:$LINENO: result: $LD" >&5
4492 echo "${ECHO_T}$LD" >&6
4493 else
4494   echo "$as_me:$LINENO: result: no" >&5
4495 echo "${ECHO_T}no" >&6
4496 fi
4497 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4498 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4499    { (exit 1); exit 1; }; }
4500 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4501 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4502 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4503   echo $ECHO_N "(cached) $ECHO_C" >&6
4504 else
4505   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4506 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4507   lt_cv_prog_gnu_ld=yes
4508 else
4509   lt_cv_prog_gnu_ld=no
4510 fi
4511 fi
4512 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4513 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4514 with_gnu_ld=$lt_cv_prog_gnu_ld
4515
4516
4517 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4518 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4519 if test "${lt_cv_ld_reload_flag+set}" = set; then
4520   echo $ECHO_N "(cached) $ECHO_C" >&6
4521 else
4522   lt_cv_ld_reload_flag='-r'
4523 fi
4524 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4525 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4526 reload_flag=$lt_cv_ld_reload_flag
4527 test -n "$reload_flag" && reload_flag=" $reload_flag"
4528
4529 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4530 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4531 if test "${lt_cv_path_NM+set}" = set; then
4532   echo $ECHO_N "(cached) $ECHO_C" >&6
4533 else
4534   if test -n "$NM"; then
4535   # Let the user override the test.
4536   lt_cv_path_NM="$NM"
4537 else
4538   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4539   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4540     test -z "$ac_dir" && ac_dir=.
4541     tmp_nm=$ac_dir/${ac_tool_prefix}nm
4542     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
4543       # Check to see if the nm accepts a BSD-compat flag.
4544       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4545       #   nm: unknown option "B" ignored
4546       # Tru64's nm complains that /dev/null is an invalid object file
4547       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
4548         lt_cv_path_NM="$tmp_nm -B"
4549         break
4550       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
4551         lt_cv_path_NM="$tmp_nm -p"
4552         break
4553       else
4554         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4555         continue # so that we can try to find one that supports BSD flags
4556       fi
4557     fi
4558   done
4559   IFS="$ac_save_ifs"
4560   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4561 fi
4562 fi
4563
4564 NM="$lt_cv_path_NM"
4565 echo "$as_me:$LINENO: result: $NM" >&5
4566 echo "${ECHO_T}$NM" >&6
4567
4568 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4569 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4570 if test "${lt_cv_deplibs_check_method+set}" = set; then
4571   echo $ECHO_N "(cached) $ECHO_C" >&6
4572 else
4573   lt_cv_file_magic_cmd='$MAGIC_CMD'
4574 lt_cv_file_magic_test_file=
4575 lt_cv_deplibs_check_method='unknown'
4576 # Need to set the preceding variable on all platforms that support
4577 # interlibrary dependencies.
4578 # 'none' -- dependencies not supported.
4579 # `unknown' -- same as none, but documents that we really don't know.
4580 # 'pass_all' -- all dependencies passed with no checks.
4581 # 'test_compile' -- check by making test program.
4582 # 'file_magic [regex]' -- check by looking for files in library path
4583 # which responds to the $file_magic_cmd with a given egrep regex.
4584 # If you have `file' or equivalent on your system and you're not sure
4585 # whether `pass_all' will *always* work, you probably want this one.
4586
4587 case $host_os in
4588 aix*)
4589   lt_cv_deplibs_check_method=pass_all
4590   ;;
4591
4592 beos*)
4593   lt_cv_deplibs_check_method=pass_all
4594   ;;
4595
4596 bsdi4*)
4597   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4598   lt_cv_file_magic_cmd='/usr/bin/file -L'
4599   lt_cv_file_magic_test_file=/shlib/libc.so
4600   ;;
4601
4602 cygwin* | mingw* |pw32*)
4603   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4604   lt_cv_file_magic_cmd='$OBJDUMP -f'
4605   ;;
4606
4607 darwin* | rhapsody*)
4608   # this will be overwritten by pass_all, but leave it in just in case
4609   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4610   lt_cv_file_magic_cmd='/usr/bin/file -L'
4611   case "$host_os" in
4612   rhapsody* | darwin1.012)
4613     lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
4614     ;;
4615   *) # Darwin 1.3 on
4616     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4617     ;;
4618   esac
4619   lt_cv_deplibs_check_method=pass_all
4620   ;;
4621
4622 freebsd* | kfreebsd*-gnu)
4623   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4624     case $host_cpu in
4625     i*86 )
4626       # Not sure whether the presence of OpenBSD here was a mistake.
4627       # Let's accept both of them until this is cleared up.
4628       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4629       lt_cv_file_magic_cmd=/usr/bin/file
4630       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4631       ;;
4632     esac
4633   else
4634     lt_cv_deplibs_check_method=pass_all
4635   fi
4636   ;;
4637
4638 gnu*)
4639   lt_cv_deplibs_check_method=pass_all
4640   ;;
4641
4642 hpux10.20*|hpux11*)
4643   case $host_cpu in
4644   hppa*)
4645     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4646     lt_cv_file_magic_cmd=/usr/bin/file
4647     lt_cv_file_magic_test_file=/usr/lib/libc.sl
4648     ;;
4649   ia64*)
4650     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4651     lt_cv_file_magic_cmd=/usr/bin/file
4652     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4653     ;;
4654   esac
4655   ;;
4656
4657 irix5* | irix6*)
4658   case $host_os in
4659   irix5*)
4660     # this will be overridden with pass_all, but let us keep it just in case
4661     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4662     ;;
4663   *)
4664     case $LD in
4665     *-32|*"-32 ") libmagic=32-bit;;
4666     *-n32|*"-n32 ") libmagic=N32;;
4667     *-64|*"-64 ") libmagic=64-bit;;
4668     *) libmagic=never-match;;
4669     esac
4670     # this will be overridden with pass_all, but let us keep it just in case
4671     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4672     ;;
4673   esac
4674   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4675   lt_cv_deplibs_check_method=pass_all
4676   ;;
4677
4678 # This must be Linux ELF.
4679 linux-gnu*)
4680   lt_cv_deplibs_check_method=pass_all
4681   ;;
4682
4683 netbsd* | knetbsd*-gnu)
4684   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4685     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4686   else
4687     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4688   fi
4689   ;;
4690
4691 newsos6)
4692   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4693   lt_cv_file_magic_cmd=/usr/bin/file
4694   lt_cv_file_magic_test_file=/usr/lib/libnls.so
4695   ;;
4696
4697 osf3* | osf4* | osf5*)
4698   # this will be overridden with pass_all, but let us keep it just in case
4699   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4700   lt_cv_file_magic_test_file=/shlib/libc.so
4701   lt_cv_deplibs_check_method=pass_all
4702   ;;
4703
4704 sco3.2v5*)
4705   lt_cv_deplibs_check_method=pass_all
4706   ;;
4707
4708 solaris*)
4709   lt_cv_deplibs_check_method=pass_all
4710   lt_cv_file_magic_test_file=/lib/libc.so
4711   ;;
4712
4713 sysv5uw[78]* | sysv4*uw2*)
4714   lt_cv_deplibs_check_method=pass_all
4715   ;;
4716
4717 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4718   case $host_vendor in
4719   ncr)
4720     lt_cv_deplibs_check_method=pass_all
4721     ;;
4722   motorola)
4723     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
4724     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4725     ;;
4726   esac
4727   ;;
4728 esac
4729
4730 fi
4731 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4732 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4733 file_magic_cmd=$lt_cv_file_magic_cmd
4734 deplibs_check_method=$lt_cv_deplibs_check_method
4735
4736
4737
4738
4739 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4740
4741 # find the maximum length of command line arguments
4742 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4743 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4744 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4745   echo $ECHO_N "(cached) $ECHO_C" >&6
4746 else
4747     i=0
4748   teststring="ABCD"
4749
4750   case $build_os in
4751   msdosdjgpp*)
4752     # On DJGPP, this test can blow up pretty badly due to problems in libc
4753     # (any single argument exceeding 2000 bytes causes a buffer overrun
4754     # during glob expansion).  Even if it were fixed, the result of this
4755     # check would be larger than it should be.
4756     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4757     ;;
4758
4759   cygwin* | mingw*)
4760     # On Win9x/ME, this test blows up -- it succeeds, but takes
4761     # about 5 minutes as the teststring grows exponentially.
4762     # Worse, since 9x/ME are not pre-emptively multitasking,
4763     # you end up with a "frozen" computer, even though with patience
4764     # the test eventually succeeds (with a max line length of 256k).
4765     # Instead, let's just punt: use the minimum linelength reported by
4766     # all of the supported platforms: 8192 (on NT/2K/XP).
4767     lt_cv_sys_max_cmd_len=8192;
4768     ;;
4769
4770   amigaos*)
4771     # On AmigaOS with pdksh, this test takes hours, literally.
4772     # So we just punt and use a minimum line length of 8192.
4773     lt_cv_sys_max_cmd_len=8192;
4774     ;;
4775
4776   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4777     # This has been around since 386BSD, at least.  Likely further.
4778     if test -x /sbin/sysctl; then
4779       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4780     elif test -x /usr/sbin/sysctl; then
4781       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4782     else
4783       lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
4784     fi
4785     # And add a safety zone
4786     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4787     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4788     ;;
4789   esac
4790
4791 fi
4792
4793 if test -n "$lt_cv_sys_max_cmd_len" ; then
4794   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4795 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4796 else
4797   echo "$as_me:$LINENO: result: none" >&5
4798 echo "${ECHO_T}none" >&6
4799 fi
4800
4801
4802 # Only perform the check for file, if the check method requires it
4803 case $deplibs_check_method in
4804 file_magic*)
4805   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4806     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4807 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4808 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4809   echo $ECHO_N "(cached) $ECHO_C" >&6
4810 else
4811   case $MAGIC_CMD in
4812   /*)
4813   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4814   ;;
4815   ?:/*)
4816   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4817   ;;
4818   *)
4819   ac_save_MAGIC_CMD="$MAGIC_CMD"
4820   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
4821   ac_dummy="/usr/bin:$PATH"
4822   for ac_dir in $ac_dummy; do
4823     test -z "$ac_dir" && ac_dir=.
4824     if test -f $ac_dir/${ac_tool_prefix}file; then
4825       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4826       if test -n "$file_magic_test_file"; then
4827         case $deplibs_check_method in
4828         "file_magic "*)
4829           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4830           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4831           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4832             egrep "$file_magic_regex" > /dev/null; then
4833             :
4834           else
4835             cat <<EOF 1>&2
4836
4837 *** Warning: the command libtool uses to detect shared libraries,
4838 *** $file_magic_cmd, produces output that libtool cannot recognize.
4839 *** The result is that libtool may fail to recognize shared libraries
4840 *** as such.  This will affect the creation of libtool libraries that
4841 *** depend on shared libraries, but programs linked with such libtool
4842 *** libraries will work regardless of this problem.  Nevertheless, you
4843 *** may want to report the problem to your system manager and/or to
4844 *** bug-libtool@gnu.org
4845
4846 EOF
4847           fi ;;
4848         esac
4849       fi
4850       break
4851     fi
4852   done
4853   IFS="$ac_save_ifs"
4854   MAGIC_CMD="$ac_save_MAGIC_CMD"
4855   ;;
4856 esac
4857 fi
4858
4859 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4860 if test -n "$MAGIC_CMD"; then
4861   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4862 echo "${ECHO_T}$MAGIC_CMD" >&6
4863 else
4864   echo "$as_me:$LINENO: result: no" >&5
4865 echo "${ECHO_T}no" >&6
4866 fi
4867
4868 if test -z "$lt_cv_path_MAGIC_CMD"; then
4869   if test -n "$ac_tool_prefix"; then
4870     echo "$as_me:$LINENO: checking for file" >&5
4871 echo $ECHO_N "checking for file... $ECHO_C" >&6
4872 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4873   echo $ECHO_N "(cached) $ECHO_C" >&6
4874 else
4875   case $MAGIC_CMD in
4876   /*)
4877   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4878   ;;
4879   ?:/*)
4880   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4881   ;;
4882   *)
4883   ac_save_MAGIC_CMD="$MAGIC_CMD"
4884   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
4885   ac_dummy="/usr/bin:$PATH"
4886   for ac_dir in $ac_dummy; do
4887     test -z "$ac_dir" && ac_dir=.
4888     if test -f $ac_dir/file; then
4889       lt_cv_path_MAGIC_CMD="$ac_dir/file"
4890       if test -n "$file_magic_test_file"; then
4891         case $deplibs_check_method in
4892         "file_magic "*)
4893           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4894           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4895           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4896             egrep "$file_magic_regex" > /dev/null; then
4897             :
4898           else
4899             cat <<EOF 1>&2
4900
4901 *** Warning: the command libtool uses to detect shared libraries,
4902 *** $file_magic_cmd, produces output that libtool cannot recognize.
4903 *** The result is that libtool may fail to recognize shared libraries
4904 *** as such.  This will affect the creation of libtool libraries that
4905 *** depend on shared libraries, but programs linked with such libtool
4906 *** libraries will work regardless of this problem.  Nevertheless, you
4907 *** may want to report the problem to your system manager and/or to
4908 *** bug-libtool@gnu.org
4909
4910 EOF
4911           fi ;;
4912         esac
4913       fi
4914       break
4915     fi
4916   done
4917   IFS="$ac_save_ifs"
4918   MAGIC_CMD="$ac_save_MAGIC_CMD"
4919   ;;
4920 esac
4921 fi
4922
4923 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4924 if test -n "$MAGIC_CMD"; then
4925   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4926 echo "${ECHO_T}$MAGIC_CMD" >&6
4927 else
4928   echo "$as_me:$LINENO: result: no" >&5
4929 echo "${ECHO_T}no" >&6
4930 fi
4931
4932   else
4933     MAGIC_CMD=:
4934   fi
4935 fi
4936
4937   fi
4938   ;;
4939 esac
4940
4941 if test -n "$ac_tool_prefix"; then
4942   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4943 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4944 echo "$as_me:$LINENO: checking for $ac_word" >&5
4945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4946 if test "${ac_cv_prog_RANLIB+set}" = set; then
4947   echo $ECHO_N "(cached) $ECHO_C" >&6
4948 else
4949   if test -n "$RANLIB"; then
4950   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4951 else
4952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4953 for as_dir in $PATH
4954 do
4955   IFS=$as_save_IFS
4956   test -z "$as_dir" && as_dir=.
4957   for ac_exec_ext in '' $ac_executable_extensions; do
4958   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4959     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4960     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4961     break 2
4962   fi
4963 done
4964 done
4965
4966 fi
4967 fi
4968 RANLIB=$ac_cv_prog_RANLIB
4969 if test -n "$RANLIB"; then
4970   echo "$as_me:$LINENO: result: $RANLIB" >&5
4971 echo "${ECHO_T}$RANLIB" >&6
4972 else
4973   echo "$as_me:$LINENO: result: no" >&5
4974 echo "${ECHO_T}no" >&6
4975 fi
4976
4977 fi
4978 if test -z "$ac_cv_prog_RANLIB"; then
4979   ac_ct_RANLIB=$RANLIB
4980   # Extract the first word of "ranlib", so it can be a program name with args.
4981 set dummy ranlib; ac_word=$2
4982 echo "$as_me:$LINENO: checking for $ac_word" >&5
4983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4984 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4985   echo $ECHO_N "(cached) $ECHO_C" >&6
4986 else
4987   if test -n "$ac_ct_RANLIB"; then
4988   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4989 else
4990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4991 for as_dir in $PATH
4992 do
4993   IFS=$as_save_IFS
4994   test -z "$as_dir" && as_dir=.
4995   for ac_exec_ext in '' $ac_executable_extensions; do
4996   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4997     ac_cv_prog_ac_ct_RANLIB="ranlib"
4998     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4999     break 2
5000   fi
5001 done
5002 done
5003
5004   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5005 fi
5006 fi
5007 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5008 if test -n "$ac_ct_RANLIB"; then
5009   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5010 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5011 else
5012   echo "$as_me:$LINENO: result: no" >&5
5013 echo "${ECHO_T}no" >&6
5014 fi
5015
5016   RANLIB=$ac_ct_RANLIB
5017 else
5018   RANLIB="$ac_cv_prog_RANLIB"
5019 fi
5020
5021 if test -n "$ac_tool_prefix"; then
5022   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5023 set dummy ${ac_tool_prefix}strip; ac_word=$2
5024 echo "$as_me:$LINENO: checking for $ac_word" >&5
5025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5026 if test "${ac_cv_prog_STRIP+set}" = set; then
5027   echo $ECHO_N "(cached) $ECHO_C" >&6
5028 else
5029   if test -n "$STRIP"; then
5030   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5031 else
5032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5033 for as_dir in $PATH
5034 do
5035   IFS=$as_save_IFS
5036   test -z "$as_dir" && as_dir=.
5037   for ac_exec_ext in '' $ac_executable_extensions; do
5038   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5039     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5040     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5041     break 2
5042   fi
5043 done
5044 done
5045
5046 fi
5047 fi
5048 STRIP=$ac_cv_prog_STRIP
5049 if test -n "$STRIP"; then
5050   echo "$as_me:$LINENO: result: $STRIP" >&5
5051 echo "${ECHO_T}$STRIP" >&6
5052 else
5053   echo "$as_me:$LINENO: result: no" >&5
5054 echo "${ECHO_T}no" >&6
5055 fi
5056
5057 fi
5058 if test -z "$ac_cv_prog_STRIP"; then
5059   ac_ct_STRIP=$STRIP
5060   # Extract the first word of "strip", so it can be a program name with args.
5061 set dummy strip; ac_word=$2
5062 echo "$as_me:$LINENO: checking for $ac_word" >&5
5063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5064 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5065   echo $ECHO_N "(cached) $ECHO_C" >&6
5066 else
5067   if test -n "$ac_ct_STRIP"; then
5068   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5069 else
5070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5071 for as_dir in $PATH
5072 do
5073   IFS=$as_save_IFS
5074   test -z "$as_dir" && as_dir=.
5075   for ac_exec_ext in '' $ac_executable_extensions; do
5076   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5077     ac_cv_prog_ac_ct_STRIP="strip"
5078     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5079     break 2
5080   fi
5081 done
5082 done
5083
5084   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5085 fi
5086 fi
5087 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5088 if test -n "$ac_ct_STRIP"; then
5089   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5090 echo "${ECHO_T}$ac_ct_STRIP" >&6
5091 else
5092   echo "$as_me:$LINENO: result: no" >&5
5093 echo "${ECHO_T}no" >&6
5094 fi
5095
5096   STRIP=$ac_ct_STRIP
5097 else
5098   STRIP="$ac_cv_prog_STRIP"
5099 fi
5100
5101
5102 # Check for any special flags to pass to ltconfig.
5103 libtool_flags="--cache-file=$cache_file"
5104 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
5105 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
5106 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
5107 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
5108 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
5109
5110
5111 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5112 if test "${enable_libtool_lock+set}" = set; then
5113   enableval="$enable_libtool_lock"
5114
5115 fi;
5116 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
5117 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
5118
5119
5120 # Check whether --with-pic or --without-pic was given.
5121 if test "${with_pic+set}" = set; then
5122   withval="$with_pic"
5123   pic_mode="$withval"
5124 else
5125   pic_mode=default
5126 fi;
5127 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
5128 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
5129
5130 # Some flags need to be propagated to the compiler or linker for good
5131 # libtool support.
5132 case $host in
5133 *-*-irix6*)
5134   # Find out which ABI we are using.
5135   echo '#line 5135 "configure"' > conftest.$ac_ext
5136   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5137   (eval $ac_compile) 2>&5
5138   ac_status=$?
5139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5140   (exit $ac_status); }; then
5141    if test "$lt_cv_prog_gnu_ld" = yes; then
5142     case `/usr/bin/file conftest.$ac_objext` in
5143     *32-bit*)
5144       LD="${LD-ld} -melf32bsmip"
5145       ;;
5146     *N32*)
5147       LD="${LD-ld} -melf32bmipn32"
5148       ;;
5149     *64-bit*)
5150       LD="${LD-ld} -melf64bmip"
5151       ;;
5152     esac
5153    else
5154     case `/usr/bin/file conftest.$ac_objext` in
5155     *32-bit*)
5156       LD="${LD-ld} -32"
5157       ;;
5158     *N32*)
5159       LD="${LD-ld} -n32"
5160       ;;
5161     *64-bit*)
5162       LD="${LD-ld} -64"
5163       ;;
5164     esac
5165    fi
5166   fi
5167   rm -rf conftest*
5168   ;;
5169
5170 ia64-*-hpux*)
5171   # Find out which ABI we are using.
5172   echo 'int i;' > conftest.$ac_ext
5173   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5174   (eval $ac_compile) 2>&5
5175   ac_status=$?
5176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5177   (exit $ac_status); }; then
5178     case "`/usr/bin/file conftest.o`" in
5179     *ELF-32*)
5180       HPUX_IA64_MODE="32"
5181       ;;
5182     *ELF-64*)
5183       HPUX_IA64_MODE="64"
5184       ;;
5185     esac
5186   fi
5187   rm -rf conftest*
5188   ;;
5189
5190 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
5191   # Find out which ABI we are using.
5192   echo 'int i;' > conftest.$ac_ext
5193   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5194   (eval $ac_compile) 2>&5
5195   ac_status=$?
5196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5197   (exit $ac_status); }; then
5198     case "`/usr/bin/file conftest.o`" in
5199     *32-bit*)
5200       case $host in
5201         x86_64-*linux*)
5202           LD="${LD-ld} -m elf_i386"
5203           ;;
5204         ppc64-*linux*|powerpc64-*linux*)
5205           LD="${LD-ld} -m elf32ppclinux"
5206           ;;
5207         s390x-*linux*)
5208           LD="${LD-ld} -m elf_s390"
5209           ;;
5210         sparc64-*linux*)
5211           LD="${LD-ld} -m elf32_sparc"
5212           ;;
5213       esac
5214       ;;
5215     *64-bit*)
5216       case $host in
5217         x86_64-*linux*)
5218           LD="${LD-ld} -m elf_x86_64"
5219           ;;
5220         ppc*-*linux*|powerpc*-*linux*)
5221           LD="${LD-ld} -m elf64ppc"
5222           ;;
5223         s390*-*linux*)
5224           LD="${LD-ld} -m elf64_s390"
5225           ;;
5226         sparc*-*linux*)
5227           LD="${LD-ld} -m elf64_sparc"
5228           ;;
5229       esac
5230       ;;
5231     esac
5232   fi
5233   rm -rf conftest*
5234   ;;
5235
5236 *-*-sco3.2v5*)
5237   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5238   SAVE_CFLAGS="$CFLAGS"
5239   CFLAGS="$CFLAGS -belf"
5240   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5241 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5242 if test "${lt_cv_cc_needs_belf+set}" = set; then
5243   echo $ECHO_N "(cached) $ECHO_C" >&6
5244 else
5245
5246
5247      ac_ext=c
5248 ac_cpp='$CPP $CPPFLAGS'
5249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5252
5253      cat >conftest.$ac_ext <<_ACEOF
5254 /* confdefs.h.  */
5255 _ACEOF
5256 cat confdefs.h >>conftest.$ac_ext
5257 cat >>conftest.$ac_ext <<_ACEOF
5258 /* end confdefs.h.  */
5259
5260 int
5261 main ()
5262 {
5263
5264   ;
5265   return 0;
5266 }
5267 _ACEOF
5268 rm -f conftest.$ac_objext conftest$ac_exeext
5269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5270   (eval $ac_link) 2>conftest.er1
5271   ac_status=$?
5272   grep -v '^ *+' conftest.er1 >conftest.err
5273   rm -f conftest.er1
5274   cat conftest.err >&5
5275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5276   (exit $ac_status); } &&
5277          { ac_try='test -z "$ac_c_werror_flag"
5278                          || test ! -s conftest.err'
5279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5280   (eval $ac_try) 2>&5
5281   ac_status=$?
5282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5283   (exit $ac_status); }; } &&
5284          { ac_try='test -s conftest$ac_exeext'
5285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5286   (eval $ac_try) 2>&5
5287   ac_status=$?
5288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5289   (exit $ac_status); }; }; then
5290   lt_cv_cc_needs_belf=yes
5291 else
5292   echo "$as_me: failed program was:" >&5
5293 sed 's/^/| /' conftest.$ac_ext >&5
5294
5295 lt_cv_cc_needs_belf=no
5296 fi
5297 rm -f conftest.err conftest.$ac_objext \
5298       conftest$ac_exeext conftest.$ac_ext
5299      ac_ext=c
5300 ac_cpp='$CPP $CPPFLAGS'
5301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5304
5305 fi
5306 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5307 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5308   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5309     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5310     CFLAGS="$SAVE_CFLAGS"
5311   fi
5312   ;;
5313
5314
5315 esac
5316
5317
5318 # Save cache, so that ltconfig can load it
5319 cat >confcache <<\_ACEOF
5320 # This file is a shell script that caches the results of configure
5321 # tests run on this system so they can be shared between configure
5322 # scripts and configure runs, see configure's option --config-cache.
5323 # It is not useful on other systems.  If it contains results you don't
5324 # want to keep, you may remove or edit it.
5325 #
5326 # config.status only pays attention to the cache file if you give it
5327 # the --recheck option to rerun configure.
5328 #
5329 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5330 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5331 # following values.
5332
5333 _ACEOF
5334
5335 # The following way of writing the cache mishandles newlines in values,
5336 # but we know of no workaround that is simple, portable, and efficient.
5337 # So, don't put newlines in cache variables' values.
5338 # Ultrix sh set writes to stderr and can't be redirected directly,
5339 # and sets the high bit in the cache file unless we assign to the vars.
5340 {
5341   (set) 2>&1 |
5342     case `(ac_space=' '; set | grep ac_space) 2>&1` in
5343     *ac_space=\ *)
5344       # `set' does not quote correctly, so add quotes (double-quote
5345       # substitution turns \\\\ into \\, and sed turns \\ into \).
5346       sed -n \
5347         "s/'/'\\\\''/g;
5348           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5349       ;;
5350     *)
5351       # `set' quotes correctly as required by POSIX, so do not add quotes.
5352       sed -n \
5353         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5354       ;;
5355     esac;
5356 } |
5357   sed '
5358      t clear
5359      : clear
5360      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5361      t end
5362      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5363      : end' >>confcache
5364 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5365   if test -w $cache_file; then
5366     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5367     cat confcache >$cache_file
5368   else
5369     echo "not updating unwritable cache $cache_file"
5370   fi
5371 fi
5372 rm -f confcache
5373
5374 # Actually configure libtool.  ac_aux_dir is where install-sh is found.
5375 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
5376 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
5377 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
5378 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
5379 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
5380 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
5381 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
5382 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
5383 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
5384 echo "$as_me: error: libtool configure failed" >&2;}
5385    { (exit 1); exit 1; }; }
5386
5387 # Reload cache, that may have been modified by ltconfig
5388 if test -r "$cache_file"; then
5389   # Some versions of bash will fail to source /dev/null (special
5390   # files actually), so we avoid doing that.
5391   if test -f "$cache_file"; then
5392     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
5393 echo "$as_me: loading cache $cache_file" >&6;}
5394     case $cache_file in
5395       [\\/]* | ?:[\\/]* ) . $cache_file;;
5396       *)                      . ./$cache_file;;
5397     esac
5398   fi
5399 else
5400   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5401 echo "$as_me: creating cache $cache_file" >&6;}
5402   >$cache_file
5403 fi
5404
5405
5406 # This can be used to rebuild libtool when needed
5407 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5408
5409 # Always use our own libtool.
5410 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
5411
5412 # Redirect the config.log output again, so that the ltconfig log is not
5413 # clobbered by the next message.
5414 exec 5>>./config.log
5415
5416
5417
5418
5419
5420
5421 ac_ext=c
5422 ac_cpp='$CPP $CPPFLAGS'
5423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5426 if test -n "$ac_tool_prefix"; then
5427   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5428 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5429 echo "$as_me:$LINENO: checking for $ac_word" >&5
5430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5431 if test "${ac_cv_prog_CC+set}" = set; then
5432   echo $ECHO_N "(cached) $ECHO_C" >&6
5433 else
5434   if test -n "$CC"; then
5435   ac_cv_prog_CC="$CC" # Let the user override the test.
5436 else
5437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5438 for as_dir in $PATH
5439 do
5440   IFS=$as_save_IFS
5441   test -z "$as_dir" && as_dir=.
5442   for ac_exec_ext in '' $ac_executable_extensions; do
5443   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5444     ac_cv_prog_CC="${ac_tool_prefix}gcc"
5445     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5446     break 2
5447   fi
5448 done
5449 done
5450
5451 fi
5452 fi
5453 CC=$ac_cv_prog_CC
5454 if test -n "$CC"; then
5455   echo "$as_me:$LINENO: result: $CC" >&5
5456 echo "${ECHO_T}$CC" >&6
5457 else
5458   echo "$as_me:$LINENO: result: no" >&5
5459 echo "${ECHO_T}no" >&6
5460 fi
5461
5462 fi
5463 if test -z "$ac_cv_prog_CC"; then
5464   ac_ct_CC=$CC
5465   # Extract the first word of "gcc", so it can be a program name with args.
5466 set dummy gcc; ac_word=$2
5467 echo "$as_me:$LINENO: checking for $ac_word" >&5
5468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5469 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5470   echo $ECHO_N "(cached) $ECHO_C" >&6
5471 else
5472   if test -n "$ac_ct_CC"; then
5473   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5474 else
5475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5476 for as_dir in $PATH
5477 do
5478   IFS=$as_save_IFS
5479   test -z "$as_dir" && as_dir=.
5480   for ac_exec_ext in '' $ac_executable_extensions; do
5481   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5482     ac_cv_prog_ac_ct_CC="gcc"
5483     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5484     break 2
5485   fi
5486 done
5487 done
5488
5489 fi
5490 fi
5491 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5492 if test -n "$ac_ct_CC"; then
5493   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5494 echo "${ECHO_T}$ac_ct_CC" >&6
5495 else
5496   echo "$as_me:$LINENO: result: no" >&5
5497 echo "${ECHO_T}no" >&6
5498 fi
5499
5500   CC=$ac_ct_CC
5501 else
5502   CC="$ac_cv_prog_CC"
5503 fi
5504
5505 if test -z "$CC"; then
5506   if test -n "$ac_tool_prefix"; then
5507   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5508 set dummy ${ac_tool_prefix}cc; ac_word=$2
5509 echo "$as_me:$LINENO: checking for $ac_word" >&5
5510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5511 if test "${ac_cv_prog_CC+set}" = set; then
5512   echo $ECHO_N "(cached) $ECHO_C" >&6
5513 else
5514   if test -n "$CC"; then
5515   ac_cv_prog_CC="$CC" # Let the user override the test.
5516 else
5517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5518 for as_dir in $PATH
5519 do
5520   IFS=$as_save_IFS
5521   test -z "$as_dir" && as_dir=.
5522   for ac_exec_ext in '' $ac_executable_extensions; do
5523   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5524     ac_cv_prog_CC="${ac_tool_prefix}cc"
5525     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5526     break 2
5527   fi
5528 done
5529 done
5530
5531 fi
5532 fi
5533 CC=$ac_cv_prog_CC
5534 if test -n "$CC"; then
5535   echo "$as_me:$LINENO: result: $CC" >&5
5536 echo "${ECHO_T}$CC" >&6
5537 else
5538   echo "$as_me:$LINENO: result: no" >&5
5539 echo "${ECHO_T}no" >&6
5540 fi
5541
5542 fi
5543 if test -z "$ac_cv_prog_CC"; then
5544   ac_ct_CC=$CC
5545   # Extract the first word of "cc", so it can be a program name with args.
5546 set dummy cc; ac_word=$2
5547 echo "$as_me:$LINENO: checking for $ac_word" >&5
5548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5549 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5550   echo $ECHO_N "(cached) $ECHO_C" >&6
5551 else
5552   if test -n "$ac_ct_CC"; then
5553   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5554 else
5555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5556 for as_dir in $PATH
5557 do
5558   IFS=$as_save_IFS
5559   test -z "$as_dir" && as_dir=.
5560   for ac_exec_ext in '' $ac_executable_extensions; do
5561   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5562     ac_cv_prog_ac_ct_CC="cc"
5563     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5564     break 2
5565   fi
5566 done
5567 done
5568
5569 fi
5570 fi
5571 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5572 if test -n "$ac_ct_CC"; then
5573   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5574 echo "${ECHO_T}$ac_ct_CC" >&6
5575 else
5576   echo "$as_me:$LINENO: result: no" >&5
5577 echo "${ECHO_T}no" >&6
5578 fi
5579
5580   CC=$ac_ct_CC
5581 else
5582   CC="$ac_cv_prog_CC"
5583 fi
5584
5585 fi
5586 if test -z "$CC"; then
5587   # Extract the first word of "cc", so it can be a program name with args.
5588 set dummy cc; ac_word=$2
5589 echo "$as_me:$LINENO: checking for $ac_word" >&5
5590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5591 if test "${ac_cv_prog_CC+set}" = set; then
5592   echo $ECHO_N "(cached) $ECHO_C" >&6
5593 else
5594   if test -n "$CC"; then
5595   ac_cv_prog_CC="$CC" # Let the user override the test.
5596 else
5597   ac_prog_rejected=no
5598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5599 for as_dir in $PATH
5600 do
5601   IFS=$as_save_IFS
5602   test -z "$as_dir" && as_dir=.
5603   for ac_exec_ext in '' $ac_executable_extensions; do
5604   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5605     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5606        ac_prog_rejected=yes
5607        continue
5608      fi
5609     ac_cv_prog_CC="cc"
5610     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5611     break 2
5612   fi
5613 done
5614 done
5615
5616 if test $ac_prog_rejected = yes; then
5617   # We found a bogon in the path, so make sure we never use it.
5618   set dummy $ac_cv_prog_CC
5619   shift
5620   if test $# != 0; then
5621     # We chose a different compiler from the bogus one.
5622     # However, it has the same basename, so the bogon will be chosen
5623     # first if we set CC to just the basename; use the full file name.
5624     shift
5625     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5626   fi
5627 fi
5628 fi
5629 fi
5630 CC=$ac_cv_prog_CC
5631 if test -n "$CC"; then
5632   echo "$as_me:$LINENO: result: $CC" >&5
5633 echo "${ECHO_T}$CC" >&6
5634 else
5635   echo "$as_me:$LINENO: result: no" >&5
5636 echo "${ECHO_T}no" >&6
5637 fi
5638
5639 fi
5640 if test -z "$CC"; then
5641   if test -n "$ac_tool_prefix"; then
5642   for ac_prog in cl
5643   do
5644     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5645 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5646 echo "$as_me:$LINENO: checking for $ac_word" >&5
5647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5648 if test "${ac_cv_prog_CC+set}" = set; then
5649   echo $ECHO_N "(cached) $ECHO_C" >&6
5650 else
5651   if test -n "$CC"; then
5652   ac_cv_prog_CC="$CC" # Let the user override the test.
5653 else
5654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5655 for as_dir in $PATH
5656 do
5657   IFS=$as_save_IFS
5658   test -z "$as_dir" && as_dir=.
5659   for ac_exec_ext in '' $ac_executable_extensions; do
5660   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5661     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5662     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5663     break 2
5664   fi
5665 done
5666 done
5667
5668 fi
5669 fi
5670 CC=$ac_cv_prog_CC
5671 if test -n "$CC"; then
5672   echo "$as_me:$LINENO: result: $CC" >&5
5673 echo "${ECHO_T}$CC" >&6
5674 else
5675   echo "$as_me:$LINENO: result: no" >&5
5676 echo "${ECHO_T}no" >&6
5677 fi
5678
5679     test -n "$CC" && break
5680   done
5681 fi
5682 if test -z "$CC"; then
5683   ac_ct_CC=$CC
5684   for ac_prog in cl
5685 do
5686   # Extract the first word of "$ac_prog", so it can be a program name with args.
5687 set dummy $ac_prog; ac_word=$2
5688 echo "$as_me:$LINENO: checking for $ac_word" >&5
5689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5690 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5691   echo $ECHO_N "(cached) $ECHO_C" >&6
5692 else
5693   if test -n "$ac_ct_CC"; then
5694   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5695 else
5696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5697 for as_dir in $PATH
5698 do
5699   IFS=$as_save_IFS
5700   test -z "$as_dir" && as_dir=.
5701   for ac_exec_ext in '' $ac_executable_extensions; do
5702   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5703     ac_cv_prog_ac_ct_CC="$ac_prog"
5704     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5705     break 2
5706   fi
5707 done
5708 done
5709
5710 fi
5711 fi
5712 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5713 if test -n "$ac_ct_CC"; then
5714   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5715 echo "${ECHO_T}$ac_ct_CC" >&6
5716 else
5717   echo "$as_me:$LINENO: result: no" >&5
5718 echo "${ECHO_T}no" >&6
5719 fi
5720
5721   test -n "$ac_ct_CC" && break
5722 done
5723
5724   CC=$ac_ct_CC
5725 fi
5726
5727 fi
5728
5729
5730 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5731 See \`config.log' for more details." >&5
5732 echo "$as_me: error: no acceptable C compiler found in \$PATH
5733 See \`config.log' for more details." >&2;}
5734    { (exit 1); exit 1; }; }
5735
5736 # Provide some information about the compiler.
5737 echo "$as_me:$LINENO:" \
5738      "checking for C compiler version" >&5
5739 ac_compiler=`set X $ac_compile; echo $2`
5740 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5741   (eval $ac_compiler --version </dev/null >&5) 2>&5
5742   ac_status=$?
5743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5744   (exit $ac_status); }
5745 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5746   (eval $ac_compiler -v </dev/null >&5) 2>&5
5747   ac_status=$?
5748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5749   (exit $ac_status); }
5750 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5751   (eval $ac_compiler -V </dev/null >&5) 2>&5
5752   ac_status=$?
5753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5754   (exit $ac_status); }
5755
5756 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5757 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
5758 if test "${ac_cv_c_compiler_gnu+set}" = set; then
5759   echo $ECHO_N "(cached) $ECHO_C" >&6
5760 else
5761   cat >conftest.$ac_ext <<_ACEOF
5762 /* confdefs.h.  */
5763 _ACEOF
5764 cat confdefs.h >>conftest.$ac_ext
5765 cat >>conftest.$ac_ext <<_ACEOF
5766 /* end confdefs.h.  */
5767
5768 int
5769 main ()
5770 {
5771 #ifndef __GNUC__
5772        choke me
5773 #endif
5774
5775   ;
5776   return 0;
5777 }
5778 _ACEOF
5779 rm -f conftest.$ac_objext
5780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5781   (eval $ac_compile) 2>conftest.er1
5782   ac_status=$?
5783   grep -v '^ *+' conftest.er1 >conftest.err
5784   rm -f conftest.er1
5785   cat conftest.err >&5
5786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5787   (exit $ac_status); } &&
5788          { ac_try='test -z "$ac_c_werror_flag"
5789                          || test ! -s conftest.err'
5790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5791   (eval $ac_try) 2>&5
5792   ac_status=$?
5793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5794   (exit $ac_status); }; } &&
5795          { ac_try='test -s conftest.$ac_objext'
5796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5797   (eval $ac_try) 2>&5
5798   ac_status=$?
5799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5800   (exit $ac_status); }; }; then
5801   ac_compiler_gnu=yes
5802 else
5803   echo "$as_me: failed program was:" >&5
5804 sed 's/^/| /' conftest.$ac_ext >&5
5805
5806 ac_compiler_gnu=no
5807 fi
5808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5809 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5810
5811 fi
5812 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5813 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
5814 GCC=`test $ac_compiler_gnu = yes && echo yes`
5815 ac_test_CFLAGS=${CFLAGS+set}
5816 ac_save_CFLAGS=$CFLAGS
5817 CFLAGS="-g"
5818 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5819 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
5820 if test "${ac_cv_prog_cc_g+set}" = set; then
5821   echo $ECHO_N "(cached) $ECHO_C" >&6
5822 else
5823   cat >conftest.$ac_ext <<_ACEOF
5824 /* confdefs.h.  */
5825 _ACEOF
5826 cat confdefs.h >>conftest.$ac_ext
5827 cat >>conftest.$ac_ext <<_ACEOF
5828 /* end confdefs.h.  */
5829
5830 int
5831 main ()
5832 {
5833
5834   ;
5835   return 0;
5836 }
5837 _ACEOF
5838 rm -f conftest.$ac_objext
5839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5840   (eval $ac_compile) 2>conftest.er1
5841   ac_status=$?
5842   grep -v '^ *+' conftest.er1 >conftest.err
5843   rm -f conftest.er1
5844   cat conftest.err >&5
5845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5846   (exit $ac_status); } &&
5847          { ac_try='test -z "$ac_c_werror_flag"
5848                          || test ! -s conftest.err'
5849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5850   (eval $ac_try) 2>&5
5851   ac_status=$?
5852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5853   (exit $ac_status); }; } &&
5854          { ac_try='test -s conftest.$ac_objext'
5855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5856   (eval $ac_try) 2>&5
5857   ac_status=$?
5858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5859   (exit $ac_status); }; }; then
5860   ac_cv_prog_cc_g=yes
5861 else
5862   echo "$as_me: failed program was:" >&5
5863 sed 's/^/| /' conftest.$ac_ext >&5
5864
5865 ac_cv_prog_cc_g=no
5866 fi
5867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5868 fi
5869 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5870 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
5871 if test "$ac_test_CFLAGS" = set; then
5872   CFLAGS=$ac_save_CFLAGS
5873 elif test $ac_cv_prog_cc_g = yes; then
5874   if test "$GCC" = yes; then
5875     CFLAGS="-g -O2"
5876   else
5877     CFLAGS="-g"
5878   fi
5879 else
5880   if test "$GCC" = yes; then
5881     CFLAGS="-O2"
5882   else
5883     CFLAGS=
5884   fi
5885 fi
5886 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
5887 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
5888 if test "${ac_cv_prog_cc_stdc+set}" = set; then
5889   echo $ECHO_N "(cached) $ECHO_C" >&6
5890 else
5891   ac_cv_prog_cc_stdc=no
5892 ac_save_CC=$CC
5893 cat >conftest.$ac_ext <<_ACEOF
5894 /* confdefs.h.  */
5895 _ACEOF
5896 cat confdefs.h >>conftest.$ac_ext
5897 cat >>conftest.$ac_ext <<_ACEOF
5898 /* end confdefs.h.  */
5899 #include <stdarg.h>
5900 #include <stdio.h>
5901 #include <sys/types.h>
5902 #include <sys/stat.h>
5903 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5904 struct buf { int x; };
5905 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5906 static char *e (p, i)
5907      char **p;
5908      int i;
5909 {
5910   return p[i];
5911 }
5912 static char *f (char * (*g) (char **, int), char **p, ...)
5913 {
5914   char *s;
5915   va_list v;
5916   va_start (v,p);
5917   s = g (p, va_arg (v,int));
5918   va_end (v);
5919   return s;
5920 }
5921
5922 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5923    function prototypes and stuff, but not '\xHH' hex character constants.
5924    These don't provoke an error unfortunately, instead are silently treated
5925    as 'x'.  The following induces an error, until -std1 is added to get
5926    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5927    array size at least.  It's necessary to write '\x00'==0 to get something
5928    that's true only with -std1.  */
5929 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5930
5931 int test (int i, double x);
5932 struct s1 {int (*f) (int a);};
5933 struct s2 {int (*f) (double a);};
5934 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5935 int argc;
5936 char **argv;
5937 int
5938 main ()
5939 {
5940 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5941   ;
5942   return 0;
5943 }
5944 _ACEOF
5945 # Don't try gcc -ansi; that turns off useful extensions and
5946 # breaks some systems' header files.
5947 # AIX                   -qlanglvl=ansi
5948 # Ultrix and OSF/1      -std1
5949 # HP-UX 10.20 and later -Ae
5950 # HP-UX older versions  -Aa -D_HPUX_SOURCE
5951 # SVR4                  -Xc -D__EXTENSIONS__
5952 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5953 do
5954   CC="$ac_save_CC $ac_arg"
5955   rm -f conftest.$ac_objext
5956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5957   (eval $ac_compile) 2>conftest.er1
5958   ac_status=$?
5959   grep -v '^ *+' conftest.er1 >conftest.err
5960   rm -f conftest.er1
5961   cat conftest.err >&5
5962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5963   (exit $ac_status); } &&
5964          { ac_try='test -z "$ac_c_werror_flag"
5965                          || test ! -s conftest.err'
5966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5967   (eval $ac_try) 2>&5
5968   ac_status=$?
5969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5970   (exit $ac_status); }; } &&
5971          { ac_try='test -s conftest.$ac_objext'
5972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5973   (eval $ac_try) 2>&5
5974   ac_status=$?
5975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5976   (exit $ac_status); }; }; then
5977   ac_cv_prog_cc_stdc=$ac_arg
5978 break
5979 else
5980   echo "$as_me: failed program was:" >&5
5981 sed 's/^/| /' conftest.$ac_ext >&5
5982
5983 fi
5984 rm -f conftest.err conftest.$ac_objext
5985 done
5986 rm -f conftest.$ac_ext conftest.$ac_objext
5987 CC=$ac_save_CC
5988
5989 fi
5990
5991 case "x$ac_cv_prog_cc_stdc" in
5992   x|xno)
5993     echo "$as_me:$LINENO: result: none needed" >&5
5994 echo "${ECHO_T}none needed" >&6 ;;
5995   *)
5996     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
5997 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
5998     CC="$CC $ac_cv_prog_cc_stdc" ;;
5999 esac
6000
6001 # Some people use a C++ compiler to compile C.  Since we use `exit',
6002 # in C++ we need to declare it.  In case someone uses the same compiler
6003 # for both compiling C and C++ we need to have the C++ compiler decide
6004 # the declaration of exit, since it's the most demanding environment.
6005 cat >conftest.$ac_ext <<_ACEOF
6006 #ifndef __cplusplus
6007   choke me
6008 #endif
6009 _ACEOF
6010 rm -f conftest.$ac_objext
6011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6012   (eval $ac_compile) 2>conftest.er1
6013   ac_status=$?
6014   grep -v '^ *+' conftest.er1 >conftest.err
6015   rm -f conftest.er1
6016   cat conftest.err >&5
6017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6018   (exit $ac_status); } &&
6019          { ac_try='test -z "$ac_c_werror_flag"
6020                          || test ! -s conftest.err'
6021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6022   (eval $ac_try) 2>&5
6023   ac_status=$?
6024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6025   (exit $ac_status); }; } &&
6026          { ac_try='test -s conftest.$ac_objext'
6027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6028   (eval $ac_try) 2>&5
6029   ac_status=$?
6030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6031   (exit $ac_status); }; }; then
6032   for ac_declaration in \
6033    '' \
6034    'extern "C" void std::exit (int) throw (); using std::exit;' \
6035    'extern "C" void std::exit (int); using std::exit;' \
6036    'extern "C" void exit (int) throw ();' \
6037    'extern "C" void exit (int);' \
6038    'void exit (int);'
6039 do
6040   cat >conftest.$ac_ext <<_ACEOF
6041 /* confdefs.h.  */
6042 _ACEOF
6043 cat confdefs.h >>conftest.$ac_ext
6044 cat >>conftest.$ac_ext <<_ACEOF
6045 /* end confdefs.h.  */
6046 $ac_declaration
6047 #include <stdlib.h>
6048 int
6049 main ()
6050 {
6051 exit (42);
6052   ;
6053   return 0;
6054 }
6055 _ACEOF
6056 rm -f conftest.$ac_objext
6057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6058   (eval $ac_compile) 2>conftest.er1
6059   ac_status=$?
6060   grep -v '^ *+' conftest.er1 >conftest.err
6061   rm -f conftest.er1
6062   cat conftest.err >&5
6063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6064   (exit $ac_status); } &&
6065          { ac_try='test -z "$ac_c_werror_flag"
6066                          || test ! -s conftest.err'
6067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6068   (eval $ac_try) 2>&5
6069   ac_status=$?
6070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6071   (exit $ac_status); }; } &&
6072          { ac_try='test -s conftest.$ac_objext'
6073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6074   (eval $ac_try) 2>&5
6075   ac_status=$?
6076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6077   (exit $ac_status); }; }; then
6078   :
6079 else
6080   echo "$as_me: failed program was:" >&5
6081 sed 's/^/| /' conftest.$ac_ext >&5
6082
6083 continue
6084 fi
6085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6086   cat >conftest.$ac_ext <<_ACEOF
6087 /* confdefs.h.  */
6088 _ACEOF
6089 cat confdefs.h >>conftest.$ac_ext
6090 cat >>conftest.$ac_ext <<_ACEOF
6091 /* end confdefs.h.  */
6092 $ac_declaration
6093 int
6094 main ()
6095 {
6096 exit (42);
6097   ;
6098   return 0;
6099 }
6100 _ACEOF
6101 rm -f conftest.$ac_objext
6102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6103   (eval $ac_compile) 2>conftest.er1
6104   ac_status=$?
6105   grep -v '^ *+' conftest.er1 >conftest.err
6106   rm -f conftest.er1
6107   cat conftest.err >&5
6108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6109   (exit $ac_status); } &&
6110          { ac_try='test -z "$ac_c_werror_flag"
6111                          || test ! -s conftest.err'
6112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6113   (eval $ac_try) 2>&5
6114   ac_status=$?
6115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6116   (exit $ac_status); }; } &&
6117          { ac_try='test -s conftest.$ac_objext'
6118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6119   (eval $ac_try) 2>&5
6120   ac_status=$?
6121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6122   (exit $ac_status); }; }; then
6123   break
6124 else
6125   echo "$as_me: failed program was:" >&5
6126 sed 's/^/| /' conftest.$ac_ext >&5
6127
6128 fi
6129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6130 done
6131 rm -f conftest*
6132 if test -n "$ac_declaration"; then
6133   echo '#ifdef __cplusplus' >>confdefs.h
6134   echo $ac_declaration      >>confdefs.h
6135   echo '#endif'             >>confdefs.h
6136 fi
6137
6138 else
6139   echo "$as_me: failed program was:" >&5
6140 sed 's/^/| /' conftest.$ac_ext >&5
6141
6142 fi
6143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6144 ac_ext=c
6145 ac_cpp='$CPP $CPPFLAGS'
6146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6149
6150 depcc="$CC"   am_compiler_list=
6151
6152 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6153 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6154 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
6155   echo $ECHO_N "(cached) $ECHO_C" >&6
6156 else
6157   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6158   # We make a subdir and do the tests there.  Otherwise we can end up
6159   # making bogus files that we don't know about and never remove.  For
6160   # instance it was reported that on HP-UX the gcc test will end up
6161   # making a dummy file named `D' -- because `-MD' means `put the output
6162   # in D'.
6163   mkdir conftest.dir
6164   # Copy depcomp to subdir because otherwise we won't find it if we're
6165   # using a relative directory.
6166   cp "$am_depcomp" conftest.dir
6167   cd conftest.dir
6168   # We will build objects and dependencies in a subdirectory because
6169   # it helps to detect inapplicable dependency modes.  For instance
6170   # both Tru64's cc and ICC support -MD to output dependencies as a
6171   # side effect of compilation, but ICC will put the dependencies in
6172   # the current directory while Tru64 will put them in the object
6173   # directory.
6174   mkdir sub
6175
6176   am_cv_CC_dependencies_compiler_type=none
6177   if test "$am_compiler_list" = ""; then
6178      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6179   fi
6180   for depmode in $am_compiler_list; do
6181     # Setup a source with many dependencies, because some compilers
6182     # like to wrap large dependency lists on column 80 (with \), and
6183     # we should not choose a depcomp mode which is confused by this.
6184     #
6185     # We need to recreate these files for each test, as the compiler may
6186     # overwrite some of them when testing with obscure command lines.
6187     # This happens at least with the AIX C compiler.
6188     : > sub/conftest.c
6189     for i in 1 2 3 4 5 6; do
6190       echo '#include "conftst'$i'.h"' >> sub/conftest.c
6191       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6192       # Solaris 8's {/usr,}/bin/sh.
6193       touch sub/conftst$i.h
6194     done
6195     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6196
6197     case $depmode in
6198     nosideeffect)
6199       # after this tag, mechanisms are not by side-effect, so they'll
6200       # only be used when explicitly requested
6201       if test "x$enable_dependency_tracking" = xyes; then
6202         continue
6203       else
6204         break
6205       fi
6206       ;;
6207     none) break ;;
6208     esac
6209     # We check with `-c' and `-o' for the sake of the "dashmstdout"
6210     # mode.  It turns out that the SunPro C++ compiler does not properly
6211     # handle `-M -o', and we need to detect this.
6212     if depmode=$depmode \
6213        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6214        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6215        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6216          >/dev/null 2>conftest.err &&
6217        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6218        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6219        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6220       # icc doesn't choke on unknown options, it will just issue warnings
6221       # or remarks (even with -Werror).  So we grep stderr for any message
6222       # that says an option was ignored or not supported.
6223       # When given -MP, icc 7.0 and 7.1 complain thusly:
6224       #   icc: Command line warning: ignoring option '-M'; no argument required
6225       # The diagnosis changed in icc 8.0:
6226       #   icc: Command line remark: option '-MP' not supported
6227       if (grep 'ignoring option' conftest.err ||
6228           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6229         am_cv_CC_dependencies_compiler_type=$depmode
6230         break
6231       fi
6232     fi
6233   done
6234
6235   cd ..
6236   rm -rf conftest.dir
6237 else
6238   am_cv_CC_dependencies_compiler_type=none
6239 fi
6240
6241 fi
6242 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
6243 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
6244 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6245
6246
6247
6248 if
6249   test "x$enable_dependency_tracking" != xno \
6250   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6251   am__fastdepCC_TRUE=
6252   am__fastdepCC_FALSE='#'
6253 else
6254   am__fastdepCC_TRUE='#'
6255   am__fastdepCC_FALSE=
6256 fi
6257
6258
6259 ac_ext=c
6260 ac_cpp='$CPP $CPPFLAGS'
6261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6264 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6265 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
6266 # On Suns, sometimes $CPP names a directory.
6267 if test -n "$CPP" && test -d "$CPP"; then
6268   CPP=
6269 fi
6270 if test -z "$CPP"; then
6271   if test "${ac_cv_prog_CPP+set}" = set; then
6272   echo $ECHO_N "(cached) $ECHO_C" >&6
6273 else
6274       # Double quotes because CPP needs to be expanded
6275     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6276     do
6277       ac_preproc_ok=false
6278 for ac_c_preproc_warn_flag in '' yes
6279 do
6280   # Use a header file that comes with gcc, so configuring glibc
6281   # with a fresh cross-compiler works.
6282   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6283   # <limits.h> exists even on freestanding compilers.
6284   # On the NeXT, cc -E runs the code through the compiler's parser,
6285   # not just through cpp. "Syntax error" is here to catch this case.
6286   cat >conftest.$ac_ext <<_ACEOF
6287 /* confdefs.h.  */
6288 _ACEOF
6289 cat confdefs.h >>conftest.$ac_ext
6290 cat >>conftest.$ac_ext <<_ACEOF
6291 /* end confdefs.h.  */
6292 #ifdef __STDC__
6293 # include <limits.h>
6294 #else
6295 # include <assert.h>
6296 #endif
6297                      Syntax error
6298 _ACEOF
6299 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6300   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6301   ac_status=$?
6302   grep -v '^ *+' conftest.er1 >conftest.err
6303   rm -f conftest.er1
6304   cat conftest.err >&5
6305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6306   (exit $ac_status); } >/dev/null; then
6307   if test -s conftest.err; then
6308     ac_cpp_err=$ac_c_preproc_warn_flag
6309     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6310   else
6311     ac_cpp_err=
6312   fi
6313 else
6314   ac_cpp_err=yes
6315 fi
6316 if test -z "$ac_cpp_err"; then
6317   :
6318 else
6319   echo "$as_me: failed program was:" >&5
6320 sed 's/^/| /' conftest.$ac_ext >&5
6321
6322   # Broken: fails on valid input.
6323 continue
6324 fi
6325 rm -f conftest.err conftest.$ac_ext
6326
6327   # OK, works on sane cases.  Now check whether non-existent headers
6328   # can be detected and how.
6329   cat >conftest.$ac_ext <<_ACEOF
6330 /* confdefs.h.  */
6331 _ACEOF
6332 cat confdefs.h >>conftest.$ac_ext
6333 cat >>conftest.$ac_ext <<_ACEOF
6334 /* end confdefs.h.  */
6335 #include <ac_nonexistent.h>
6336 _ACEOF
6337 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6338   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6339   ac_status=$?
6340   grep -v '^ *+' conftest.er1 >conftest.err
6341   rm -f conftest.er1
6342   cat conftest.err >&5
6343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6344   (exit $ac_status); } >/dev/null; then
6345   if test -s conftest.err; then
6346     ac_cpp_err=$ac_c_preproc_warn_flag
6347     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6348   else
6349     ac_cpp_err=
6350   fi
6351 else
6352   ac_cpp_err=yes
6353 fi
6354 if test -z "$ac_cpp_err"; then
6355   # Broken: success on invalid input.
6356 continue
6357 else
6358   echo "$as_me: failed program was:" >&5
6359 sed 's/^/| /' conftest.$ac_ext >&5
6360
6361   # Passes both tests.
6362 ac_preproc_ok=:
6363 break
6364 fi
6365 rm -f conftest.err conftest.$ac_ext
6366
6367 done
6368 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6369 rm -f conftest.err conftest.$ac_ext
6370 if $ac_preproc_ok; then
6371   break
6372 fi
6373
6374     done
6375     ac_cv_prog_CPP=$CPP
6376
6377 fi
6378   CPP=$ac_cv_prog_CPP
6379 else
6380   ac_cv_prog_CPP=$CPP
6381 fi
6382 echo "$as_me:$LINENO: result: $CPP" >&5
6383 echo "${ECHO_T}$CPP" >&6
6384 ac_preproc_ok=false
6385 for ac_c_preproc_warn_flag in '' yes
6386 do
6387   # Use a header file that comes with gcc, so configuring glibc
6388   # with a fresh cross-compiler works.
6389   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6390   # <limits.h> exists even on freestanding compilers.
6391   # On the NeXT, cc -E runs the code through the compiler's parser,
6392   # not just through cpp. "Syntax error" is here to catch this case.
6393   cat >conftest.$ac_ext <<_ACEOF
6394 /* confdefs.h.  */
6395 _ACEOF
6396 cat confdefs.h >>conftest.$ac_ext
6397 cat >>conftest.$ac_ext <<_ACEOF
6398 /* end confdefs.h.  */
6399 #ifdef __STDC__
6400 # include <limits.h>
6401 #else
6402 # include <assert.h>
6403 #endif
6404                      Syntax error
6405 _ACEOF
6406 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6407   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6408   ac_status=$?
6409   grep -v '^ *+' conftest.er1 >conftest.err
6410   rm -f conftest.er1
6411   cat conftest.err >&5
6412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6413   (exit $ac_status); } >/dev/null; then
6414   if test -s conftest.err; then
6415     ac_cpp_err=$ac_c_preproc_warn_flag
6416     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6417   else
6418     ac_cpp_err=
6419   fi
6420 else
6421   ac_cpp_err=yes
6422 fi
6423 if test -z "$ac_cpp_err"; then
6424   :
6425 else
6426   echo "$as_me: failed program was:" >&5
6427 sed 's/^/| /' conftest.$ac_ext >&5
6428
6429   # Broken: fails on valid input.
6430 continue
6431 fi
6432 rm -f conftest.err conftest.$ac_ext
6433
6434   # OK, works on sane cases.  Now check whether non-existent headers
6435   # can be detected and how.
6436   cat >conftest.$ac_ext <<_ACEOF
6437 /* confdefs.h.  */
6438 _ACEOF
6439 cat confdefs.h >>conftest.$ac_ext
6440 cat >>conftest.$ac_ext <<_ACEOF
6441 /* end confdefs.h.  */
6442 #include <ac_nonexistent.h>
6443 _ACEOF
6444 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6445   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6446   ac_status=$?
6447   grep -v '^ *+' conftest.er1 >conftest.err
6448   rm -f conftest.er1
6449   cat conftest.err >&5
6450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6451   (exit $ac_status); } >/dev/null; then
6452   if test -s conftest.err; then
6453     ac_cpp_err=$ac_c_preproc_warn_flag
6454     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6455   else
6456     ac_cpp_err=
6457   fi
6458 else
6459   ac_cpp_err=yes
6460 fi
6461 if test -z "$ac_cpp_err"; then
6462   # Broken: success on invalid input.
6463 continue
6464 else
6465   echo "$as_me: failed program was:" >&5
6466 sed 's/^/| /' conftest.$ac_ext >&5
6467
6468   # Passes both tests.
6469 ac_preproc_ok=:
6470 break
6471 fi
6472 rm -f conftest.err conftest.$ac_ext
6473
6474 done
6475 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6476 rm -f conftest.err conftest.$ac_ext
6477 if $ac_preproc_ok; then
6478   :
6479 else
6480   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6481 See \`config.log' for more details." >&5
6482 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6483 See \`config.log' for more details." >&2;}
6484    { (exit 1); exit 1; }; }
6485 fi
6486
6487 ac_ext=c
6488 ac_cpp='$CPP $CPPFLAGS'
6489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6492
6493 ac_ext=cc
6494 ac_cpp='$CXXCPP $CPPFLAGS'
6495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6498 if test -n "$ac_tool_prefix"; then
6499   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6500   do
6501     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6502 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6503 echo "$as_me:$LINENO: checking for $ac_word" >&5
6504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6505 if test "${ac_cv_prog_CXX+set}" = set; then
6506   echo $ECHO_N "(cached) $ECHO_C" >&6
6507 else
6508   if test -n "$CXX"; then
6509   ac_cv_prog_CXX="$CXX" # Let the user override the test.
6510 else
6511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6512 for as_dir in $PATH
6513 do
6514   IFS=$as_save_IFS
6515   test -z "$as_dir" && as_dir=.
6516   for ac_exec_ext in '' $ac_executable_extensions; do
6517   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6518     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6519     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6520     break 2
6521   fi
6522 done
6523 done
6524
6525 fi
6526 fi
6527 CXX=$ac_cv_prog_CXX
6528 if test -n "$CXX"; then
6529   echo "$as_me:$LINENO: result: $CXX" >&5
6530 echo "${ECHO_T}$CXX" >&6
6531 else
6532   echo "$as_me:$LINENO: result: no" >&5
6533 echo "${ECHO_T}no" >&6
6534 fi
6535
6536     test -n "$CXX" && break
6537   done
6538 fi
6539 if test -z "$CXX"; then
6540   ac_ct_CXX=$CXX
6541   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6542 do
6543   # Extract the first word of "$ac_prog", so it can be a program name with args.
6544 set dummy $ac_prog; ac_word=$2
6545 echo "$as_me:$LINENO: checking for $ac_word" >&5
6546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6547 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6548   echo $ECHO_N "(cached) $ECHO_C" >&6
6549 else
6550   if test -n "$ac_ct_CXX"; then
6551   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6552 else
6553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6554 for as_dir in $PATH
6555 do
6556   IFS=$as_save_IFS
6557   test -z "$as_dir" && as_dir=.
6558   for ac_exec_ext in '' $ac_executable_extensions; do
6559   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6560     ac_cv_prog_ac_ct_CXX="$ac_prog"
6561     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6562     break 2
6563   fi
6564 done
6565 done
6566
6567 fi
6568 fi
6569 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6570 if test -n "$ac_ct_CXX"; then
6571   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6572 echo "${ECHO_T}$ac_ct_CXX" >&6
6573 else
6574   echo "$as_me:$LINENO: result: no" >&5
6575 echo "${ECHO_T}no" >&6
6576 fi
6577
6578   test -n "$ac_ct_CXX" && break
6579 done
6580 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
6581
6582   CXX=$ac_ct_CXX
6583 fi
6584
6585
6586 # Provide some information about the compiler.
6587 echo "$as_me:$LINENO:" \
6588      "checking for C++ compiler version" >&5
6589 ac_compiler=`set X $ac_compile; echo $2`
6590 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6591   (eval $ac_compiler --version </dev/null >&5) 2>&5
6592   ac_status=$?
6593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6594   (exit $ac_status); }
6595 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6596   (eval $ac_compiler -v </dev/null >&5) 2>&5
6597   ac_status=$?
6598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6599   (exit $ac_status); }
6600 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6601   (eval $ac_compiler -V </dev/null >&5) 2>&5
6602   ac_status=$?
6603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6604   (exit $ac_status); }
6605
6606 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6607 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6608 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6609   echo $ECHO_N "(cached) $ECHO_C" >&6
6610 else
6611   cat >conftest.$ac_ext <<_ACEOF
6612 /* confdefs.h.  */
6613 _ACEOF
6614 cat confdefs.h >>conftest.$ac_ext
6615 cat >>conftest.$ac_ext <<_ACEOF
6616 /* end confdefs.h.  */
6617
6618 int
6619 main ()
6620 {
6621 #ifndef __GNUC__
6622        choke me
6623 #endif
6624
6625   ;
6626   return 0;
6627 }
6628 _ACEOF
6629 rm -f conftest.$ac_objext
6630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6631   (eval $ac_compile) 2>conftest.er1
6632   ac_status=$?
6633   grep -v '^ *+' conftest.er1 >conftest.err
6634   rm -f conftest.er1
6635   cat conftest.err >&5
6636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6637   (exit $ac_status); } &&
6638          { ac_try='test -z "$ac_cxx_werror_flag"
6639                          || test ! -s conftest.err'
6640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6641   (eval $ac_try) 2>&5
6642   ac_status=$?
6643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6644   (exit $ac_status); }; } &&
6645          { ac_try='test -s conftest.$ac_objext'
6646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6647   (eval $ac_try) 2>&5
6648   ac_status=$?
6649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6650   (exit $ac_status); }; }; then
6651   ac_compiler_gnu=yes
6652 else
6653   echo "$as_me: failed program was:" >&5
6654 sed 's/^/| /' conftest.$ac_ext >&5
6655
6656 ac_compiler_gnu=no
6657 fi
6658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6659 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6660
6661 fi
6662 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6663 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6664 GXX=`test $ac_compiler_gnu = yes && echo yes`
6665 ac_test_CXXFLAGS=${CXXFLAGS+set}
6666 ac_save_CXXFLAGS=$CXXFLAGS
6667 CXXFLAGS="-g"
6668 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6669 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6670 if test "${ac_cv_prog_cxx_g+set}" = set; then
6671   echo $ECHO_N "(cached) $ECHO_C" >&6
6672 else
6673   cat >conftest.$ac_ext <<_ACEOF
6674 /* confdefs.h.  */
6675 _ACEOF
6676 cat confdefs.h >>conftest.$ac_ext
6677 cat >>conftest.$ac_ext <<_ACEOF
6678 /* end confdefs.h.  */
6679
6680 int
6681 main ()
6682 {
6683
6684   ;
6685   return 0;
6686 }
6687 _ACEOF
6688 rm -f conftest.$ac_objext
6689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6690   (eval $ac_compile) 2>conftest.er1
6691   ac_status=$?
6692   grep -v '^ *+' conftest.er1 >conftest.err
6693   rm -f conftest.er1
6694   cat conftest.err >&5
6695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696   (exit $ac_status); } &&
6697          { ac_try='test -z "$ac_cxx_werror_flag"
6698                          || test ! -s conftest.err'
6699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6700   (eval $ac_try) 2>&5
6701   ac_status=$?
6702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6703   (exit $ac_status); }; } &&
6704          { ac_try='test -s conftest.$ac_objext'
6705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6706   (eval $ac_try) 2>&5
6707   ac_status=$?
6708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6709   (exit $ac_status); }; }; then
6710   ac_cv_prog_cxx_g=yes
6711 else
6712   echo "$as_me: failed program was:" >&5
6713 sed 's/^/| /' conftest.$ac_ext >&5
6714
6715 ac_cv_prog_cxx_g=no
6716 fi
6717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6718 fi
6719 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6720 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6721 if test "$ac_test_CXXFLAGS" = set; then
6722   CXXFLAGS=$ac_save_CXXFLAGS
6723 elif test $ac_cv_prog_cxx_g = yes; then
6724   if test "$GXX" = yes; then
6725     CXXFLAGS="-g -O2"
6726   else
6727     CXXFLAGS="-g"
6728   fi
6729 else
6730   if test "$GXX" = yes; then
6731     CXXFLAGS="-O2"
6732   else
6733     CXXFLAGS=
6734   fi
6735 fi
6736 for ac_declaration in \
6737    '' \
6738    'extern "C" void std::exit (int) throw (); using std::exit;' \
6739    'extern "C" void std::exit (int); using std::exit;' \
6740    'extern "C" void exit (int) throw ();' \
6741    'extern "C" void exit (int);' \
6742    'void exit (int);'
6743 do
6744   cat >conftest.$ac_ext <<_ACEOF
6745 /* confdefs.h.  */
6746 _ACEOF
6747 cat confdefs.h >>conftest.$ac_ext
6748 cat >>conftest.$ac_ext <<_ACEOF
6749 /* end confdefs.h.  */
6750 $ac_declaration
6751 #include <stdlib.h>
6752 int
6753 main ()
6754 {
6755 exit (42);
6756   ;
6757   return 0;
6758 }
6759 _ACEOF
6760 rm -f conftest.$ac_objext
6761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6762   (eval $ac_compile) 2>conftest.er1
6763   ac_status=$?
6764   grep -v '^ *+' conftest.er1 >conftest.err
6765   rm -f conftest.er1
6766   cat conftest.err >&5
6767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6768   (exit $ac_status); } &&
6769          { ac_try='test -z "$ac_cxx_werror_flag"
6770                          || test ! -s conftest.err'
6771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6772   (eval $ac_try) 2>&5
6773   ac_status=$?
6774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6775   (exit $ac_status); }; } &&
6776          { ac_try='test -s conftest.$ac_objext'
6777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6778   (eval $ac_try) 2>&5
6779   ac_status=$?
6780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6781   (exit $ac_status); }; }; then
6782   :
6783 else
6784   echo "$as_me: failed program was:" >&5
6785 sed 's/^/| /' conftest.$ac_ext >&5
6786
6787 continue
6788 fi
6789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6790   cat >conftest.$ac_ext <<_ACEOF
6791 /* confdefs.h.  */
6792 _ACEOF
6793 cat confdefs.h >>conftest.$ac_ext
6794 cat >>conftest.$ac_ext <<_ACEOF
6795 /* end confdefs.h.  */
6796 $ac_declaration
6797 int
6798 main ()
6799 {
6800 exit (42);
6801   ;
6802   return 0;
6803 }
6804 _ACEOF
6805 rm -f conftest.$ac_objext
6806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6807   (eval $ac_compile) 2>conftest.er1
6808   ac_status=$?
6809   grep -v '^ *+' conftest.er1 >conftest.err
6810   rm -f conftest.er1
6811   cat conftest.err >&5
6812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6813   (exit $ac_status); } &&
6814          { ac_try='test -z "$ac_cxx_werror_flag"
6815                          || test ! -s conftest.err'
6816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6817   (eval $ac_try) 2>&5
6818   ac_status=$?
6819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6820   (exit $ac_status); }; } &&
6821          { ac_try='test -s conftest.$ac_objext'
6822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6823   (eval $ac_try) 2>&5
6824   ac_status=$?
6825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6826   (exit $ac_status); }; }; then
6827   break
6828 else
6829   echo "$as_me: failed program was:" >&5
6830 sed 's/^/| /' conftest.$ac_ext >&5
6831
6832 fi
6833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6834 done
6835 rm -f conftest*
6836 if test -n "$ac_declaration"; then
6837   echo '#ifdef __cplusplus' >>confdefs.h
6838   echo $ac_declaration      >>confdefs.h
6839   echo '#endif'             >>confdefs.h
6840 fi
6841
6842 ac_ext=c
6843 ac_cpp='$CPP $CPPFLAGS'
6844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6847
6848 depcc="$CXX"  am_compiler_list=
6849
6850 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6851 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6852 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6853   echo $ECHO_N "(cached) $ECHO_C" >&6
6854 else
6855   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6856   # We make a subdir and do the tests there.  Otherwise we can end up
6857   # making bogus files that we don't know about and never remove.  For
6858   # instance it was reported that on HP-UX the gcc test will end up
6859   # making a dummy file named `D' -- because `-MD' means `put the output
6860   # in D'.
6861   mkdir conftest.dir
6862   # Copy depcomp to subdir because otherwise we won't find it if we're
6863   # using a relative directory.
6864   cp "$am_depcomp" conftest.dir
6865   cd conftest.dir
6866   # We will build objects and dependencies in a subdirectory because
6867   # it helps to detect inapplicable dependency modes.  For instance
6868   # both Tru64's cc and ICC support -MD to output dependencies as a
6869   # side effect of compilation, but ICC will put the dependencies in
6870   # the current directory while Tru64 will put them in the object
6871   # directory.
6872   mkdir sub
6873
6874   am_cv_CXX_dependencies_compiler_type=none
6875   if test "$am_compiler_list" = ""; then
6876      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6877   fi
6878   for depmode in $am_compiler_list; do
6879     # Setup a source with many dependencies, because some compilers
6880     # like to wrap large dependency lists on column 80 (with \), and
6881     # we should not choose a depcomp mode which is confused by this.
6882     #
6883     # We need to recreate these files for each test, as the compiler may
6884     # overwrite some of them when testing with obscure command lines.
6885     # This happens at least with the AIX C compiler.
6886     : > sub/conftest.c
6887     for i in 1 2 3 4 5 6; do
6888       echo '#include "conftst'$i'.h"' >> sub/conftest.c
6889       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6890       # Solaris 8's {/usr,}/bin/sh.
6891       touch sub/conftst$i.h
6892     done
6893     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6894
6895     case $depmode in
6896     nosideeffect)
6897       # after this tag, mechanisms are not by side-effect, so they'll
6898       # only be used when explicitly requested
6899       if test "x$enable_dependency_tracking" = xyes; then
6900         continue
6901       else
6902         break
6903       fi
6904       ;;
6905     none) break ;;
6906     esac
6907     # We check with `-c' and `-o' for the sake of the "dashmstdout"
6908     # mode.  It turns out that the SunPro C++ compiler does not properly
6909     # handle `-M -o', and we need to detect this.
6910     if depmode=$depmode \
6911        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6912        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6913        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6914          >/dev/null 2>conftest.err &&
6915        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6916        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6917        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6918       # icc doesn't choke on unknown options, it will just issue warnings
6919       # or remarks (even with -Werror).  So we grep stderr for any message
6920       # that says an option was ignored or not supported.
6921       # When given -MP, icc 7.0 and 7.1 complain thusly:
6922       #   icc: Command line warning: ignoring option '-M'; no argument required
6923       # The diagnosis changed in icc 8.0:
6924       #   icc: Command line remark: option '-MP' not supported
6925       if (grep 'ignoring option' conftest.err ||
6926           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6927         am_cv_CXX_dependencies_compiler_type=$depmode
6928         break
6929       fi
6930     fi
6931   done
6932
6933   cd ..
6934   rm -rf conftest.dir
6935 else
6936   am_cv_CXX_dependencies_compiler_type=none
6937 fi
6938
6939 fi
6940 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6941 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
6942 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6943
6944
6945
6946 if
6947   test "x$enable_dependency_tracking" != xno \
6948   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6949   am__fastdepCXX_TRUE=
6950   am__fastdepCXX_FALSE='#'
6951 else
6952   am__fastdepCXX_TRUE='#'
6953   am__fastdepCXX_FALSE=
6954 fi
6955
6956 ac_ext=cc
6957 ac_cpp='$CXXCPP $CPPFLAGS'
6958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6961 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6962 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6963 if test -z "$CXXCPP"; then
6964   if test "${ac_cv_prog_CXXCPP+set}" = set; then
6965   echo $ECHO_N "(cached) $ECHO_C" >&6
6966 else
6967       # Double quotes because CXXCPP needs to be expanded
6968     for CXXCPP in "$CXX -E" "/lib/cpp"
6969     do
6970       ac_preproc_ok=false
6971 for ac_cxx_preproc_warn_flag in '' yes
6972 do
6973   # Use a header file that comes with gcc, so configuring glibc
6974   # with a fresh cross-compiler works.
6975   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6976   # <limits.h> exists even on freestanding compilers.
6977   # On the NeXT, cc -E runs the code through the compiler's parser,
6978   # not just through cpp. "Syntax error" is here to catch this case.
6979   cat >conftest.$ac_ext <<_ACEOF
6980 /* confdefs.h.  */
6981 _ACEOF
6982 cat confdefs.h >>conftest.$ac_ext
6983 cat >>conftest.$ac_ext <<_ACEOF
6984 /* end confdefs.h.  */
6985 #ifdef __STDC__
6986 # include <limits.h>
6987 #else
6988 # include <assert.h>
6989 #endif
6990                      Syntax error
6991 _ACEOF
6992 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6993   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6994   ac_status=$?
6995   grep -v '^ *+' conftest.er1 >conftest.err
6996   rm -f conftest.er1
6997   cat conftest.err >&5
6998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6999   (exit $ac_status); } >/dev/null; then
7000   if test -s conftest.err; then
7001     ac_cpp_err=$ac_cxx_preproc_warn_flag
7002     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7003   else
7004     ac_cpp_err=
7005   fi
7006 else
7007   ac_cpp_err=yes
7008 fi
7009 if test -z "$ac_cpp_err"; then
7010   :
7011 else
7012   echo "$as_me: failed program was:" >&5
7013 sed 's/^/| /' conftest.$ac_ext >&5
7014
7015   # Broken: fails on valid input.
7016 continue
7017 fi
7018 rm -f conftest.err conftest.$ac_ext
7019
7020   # OK, works on sane cases.  Now check whether non-existent headers
7021   # can be detected and how.
7022   cat >conftest.$ac_ext <<_ACEOF
7023 /* confdefs.h.  */
7024 _ACEOF
7025 cat confdefs.h >>conftest.$ac_ext
7026 cat >>conftest.$ac_ext <<_ACEOF
7027 /* end confdefs.h.  */
7028 #include <ac_nonexistent.h>
7029 _ACEOF
7030 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7031   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7032   ac_status=$?
7033   grep -v '^ *+' conftest.er1 >conftest.err
7034   rm -f conftest.er1
7035   cat conftest.err >&5
7036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7037   (exit $ac_status); } >/dev/null; then
7038   if test -s conftest.err; then
7039     ac_cpp_err=$ac_cxx_preproc_warn_flag
7040     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7041   else
7042     ac_cpp_err=
7043   fi
7044 else
7045   ac_cpp_err=yes
7046 fi
7047 if test -z "$ac_cpp_err"; then
7048   # Broken: success on invalid input.
7049 continue
7050 else
7051   echo "$as_me: failed program was:" >&5
7052 sed 's/^/| /' conftest.$ac_ext >&5
7053
7054   # Passes both tests.
7055 ac_preproc_ok=:
7056 break
7057 fi
7058 rm -f conftest.err conftest.$ac_ext
7059
7060 done
7061 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7062 rm -f conftest.err conftest.$ac_ext
7063 if $ac_preproc_ok; then
7064   break
7065 fi
7066
7067     done
7068     ac_cv_prog_CXXCPP=$CXXCPP
7069
7070 fi
7071   CXXCPP=$ac_cv_prog_CXXCPP
7072 else
7073   ac_cv_prog_CXXCPP=$CXXCPP
7074 fi
7075 echo "$as_me:$LINENO: result: $CXXCPP" >&5
7076 echo "${ECHO_T}$CXXCPP" >&6
7077 ac_preproc_ok=false
7078 for ac_cxx_preproc_warn_flag in '' yes
7079 do
7080   # Use a header file that comes with gcc, so configuring glibc
7081   # with a fresh cross-compiler works.
7082   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7083   # <limits.h> exists even on freestanding compilers.
7084   # On the NeXT, cc -E runs the code through the compiler's parser,
7085   # not just through cpp. "Syntax error" is here to catch this case.
7086   cat >conftest.$ac_ext <<_ACEOF
7087 /* confdefs.h.  */
7088 _ACEOF
7089 cat confdefs.h >>conftest.$ac_ext
7090 cat >>conftest.$ac_ext <<_ACEOF
7091 /* end confdefs.h.  */
7092 #ifdef __STDC__
7093 # include <limits.h>
7094 #else
7095 # include <assert.h>
7096 #endif
7097                      Syntax error
7098 _ACEOF
7099 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7100   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7101   ac_status=$?
7102   grep -v '^ *+' conftest.er1 >conftest.err
7103   rm -f conftest.er1
7104   cat conftest.err >&5
7105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7106   (exit $ac_status); } >/dev/null; then
7107   if test -s conftest.err; then
7108     ac_cpp_err=$ac_cxx_preproc_warn_flag
7109     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7110   else
7111     ac_cpp_err=
7112   fi
7113 else
7114   ac_cpp_err=yes
7115 fi
7116 if test -z "$ac_cpp_err"; then
7117   :
7118 else
7119   echo "$as_me: failed program was:" >&5
7120 sed 's/^/| /' conftest.$ac_ext >&5
7121
7122   # Broken: fails on valid input.
7123 continue
7124 fi
7125 rm -f conftest.err conftest.$ac_ext
7126
7127   # OK, works on sane cases.  Now check whether non-existent headers
7128   # can be detected and how.
7129   cat >conftest.$ac_ext <<_ACEOF
7130 /* confdefs.h.  */
7131 _ACEOF
7132 cat confdefs.h >>conftest.$ac_ext
7133 cat >>conftest.$ac_ext <<_ACEOF
7134 /* end confdefs.h.  */
7135 #include <ac_nonexistent.h>
7136 _ACEOF
7137 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7138   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7139   ac_status=$?
7140   grep -v '^ *+' conftest.er1 >conftest.err
7141   rm -f conftest.er1
7142   cat conftest.err >&5
7143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7144   (exit $ac_status); } >/dev/null; then
7145   if test -s conftest.err; then
7146     ac_cpp_err=$ac_cxx_preproc_warn_flag
7147     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7148   else
7149     ac_cpp_err=
7150   fi
7151 else
7152   ac_cpp_err=yes
7153 fi
7154 if test -z "$ac_cpp_err"; then
7155   # Broken: success on invalid input.
7156 continue
7157 else
7158   echo "$as_me: failed program was:" >&5
7159 sed 's/^/| /' conftest.$ac_ext >&5
7160
7161   # Passes both tests.
7162 ac_preproc_ok=:
7163 break
7164 fi
7165 rm -f conftest.err conftest.$ac_ext
7166
7167 done
7168 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7169 rm -f conftest.err conftest.$ac_ext
7170 if $ac_preproc_ok; then
7171   :
7172 else
7173   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7174 See \`config.log' for more details." >&5
7175 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7176 See \`config.log' for more details." >&2;}
7177    { (exit 1); exit 1; }; }
7178 fi
7179
7180 ac_ext=c
7181 ac_cpp='$CPP $CPPFLAGS'
7182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7185
7186
7187
7188 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
7189 lt_save_CC="$CC"
7190 lt_save_CFLAGS="$CFLAGS"
7191 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
7192 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
7193 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
7194 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
7195 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
7196 deplibs_check_method="$deplibs_check_method" \
7197 file_magic_cmd="$file_magic_cmd" \
7198 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
7199 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
7200 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
7201 echo "$as_me: error: libtool tag configuration failed" >&2;}
7202    { (exit 1); exit 1; }; }
7203 CC="$lt_save_CC"
7204 CFLAGS="$lt_save_CFLAGS"
7205
7206 # Redirect the config.log output again, so that the ltconfig log is not
7207 # clobbered by the next message.
7208 exec 5>>./config.log
7209
7210
7211
7212
7213 if test "x${COMPILE_JNI}" = xyes; then
7214   echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7215 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7216 if test "${ac_cv_header_stdc+set}" = set; then
7217   echo $ECHO_N "(cached) $ECHO_C" >&6
7218 else
7219   cat >conftest.$ac_ext <<_ACEOF
7220 /* confdefs.h.  */
7221 _ACEOF
7222 cat confdefs.h >>conftest.$ac_ext
7223 cat >>conftest.$ac_ext <<_ACEOF
7224 /* end confdefs.h.  */
7225 #include <stdlib.h>
7226 #include <stdarg.h>
7227 #include <string.h>
7228 #include <float.h>
7229
7230 int
7231 main ()
7232 {
7233
7234   ;
7235   return 0;
7236 }
7237 _ACEOF
7238 rm -f conftest.$ac_objext
7239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7240   (eval $ac_compile) 2>conftest.er1
7241   ac_status=$?
7242   grep -v '^ *+' conftest.er1 >conftest.err
7243   rm -f conftest.er1
7244   cat conftest.err >&5
7245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7246   (exit $ac_status); } &&
7247          { ac_try='test -z "$ac_c_werror_flag"
7248                          || test ! -s conftest.err'
7249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7250   (eval $ac_try) 2>&5
7251   ac_status=$?
7252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7253   (exit $ac_status); }; } &&
7254          { ac_try='test -s conftest.$ac_objext'
7255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7256   (eval $ac_try) 2>&5
7257   ac_status=$?
7258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7259   (exit $ac_status); }; }; then
7260   ac_cv_header_stdc=yes
7261 else
7262   echo "$as_me: failed program was:" >&5
7263 sed 's/^/| /' conftest.$ac_ext >&5
7264
7265 ac_cv_header_stdc=no
7266 fi
7267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7268
7269 if test $ac_cv_header_stdc = yes; then
7270   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7271   cat >conftest.$ac_ext <<_ACEOF
7272 /* confdefs.h.  */
7273 _ACEOF
7274 cat confdefs.h >>conftest.$ac_ext
7275 cat >>conftest.$ac_ext <<_ACEOF
7276 /* end confdefs.h.  */
7277 #include <string.h>
7278
7279 _ACEOF
7280 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7281   $EGREP "memchr" >/dev/null 2>&1; then
7282   :
7283 else
7284   ac_cv_header_stdc=no
7285 fi
7286 rm -f conftest*
7287
7288 fi
7289
7290 if test $ac_cv_header_stdc = yes; then
7291   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7292   cat >conftest.$ac_ext <<_ACEOF
7293 /* confdefs.h.  */
7294 _ACEOF
7295 cat confdefs.h >>conftest.$ac_ext
7296 cat >>conftest.$ac_ext <<_ACEOF
7297 /* end confdefs.h.  */
7298 #include <stdlib.h>
7299
7300 _ACEOF
7301 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7302   $EGREP "free" >/dev/null 2>&1; then
7303   :
7304 else
7305   ac_cv_header_stdc=no
7306 fi
7307 rm -f conftest*
7308
7309 fi
7310
7311 if test $ac_cv_header_stdc = yes; then
7312   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7313   if test "$cross_compiling" = yes; then
7314   :
7315 else
7316   cat >conftest.$ac_ext <<_ACEOF
7317 /* confdefs.h.  */
7318 _ACEOF
7319 cat confdefs.h >>conftest.$ac_ext
7320 cat >>conftest.$ac_ext <<_ACEOF
7321 /* end confdefs.h.  */
7322 #include <ctype.h>
7323 #if ((' ' & 0x0FF) == 0x020)
7324 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7325 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7326 #else
7327 # define ISLOWER(c) \
7328                    (('a' <= (c) && (c) <= 'i') \
7329                      || ('j' <= (c) && (c) <= 'r') \
7330                      || ('s' <= (c) && (c) <= 'z'))
7331 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7332 #endif
7333
7334 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7335 int
7336 main ()
7337 {
7338   int i;
7339   for (i = 0; i < 256; i++)
7340     if (XOR (islower (i), ISLOWER (i))
7341         || toupper (i) != TOUPPER (i))
7342       exit(2);
7343   exit (0);
7344 }
7345 _ACEOF
7346 rm -f conftest$ac_exeext
7347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7348   (eval $ac_link) 2>&5
7349   ac_status=$?
7350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7351   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7353   (eval $ac_try) 2>&5
7354   ac_status=$?
7355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7356   (exit $ac_status); }; }; then
7357   :
7358 else
7359   echo "$as_me: program exited with status $ac_status" >&5
7360 echo "$as_me: failed program was:" >&5
7361 sed 's/^/| /' conftest.$ac_ext >&5
7362
7363 ( exit $ac_status )
7364 ac_cv_header_stdc=no
7365 fi
7366 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7367 fi
7368 fi
7369 fi
7370 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7371 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7372 if test $ac_cv_header_stdc = yes; then
7373
7374 cat >>confdefs.h <<\_ACEOF
7375 #define STDC_HEADERS 1
7376 _ACEOF
7377
7378 fi
7379
7380
7381       echo "$as_me:$LINENO: checking size of void *" >&5
7382 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
7383 if test "${ac_cv_sizeof_void_p+set}" = set; then
7384   echo $ECHO_N "(cached) $ECHO_C" >&6
7385 else
7386   for ac_size in 4 8 1 2 16 12  ; do # List sizes in rough order of prevalence.
7387   cat >conftest.$ac_ext <<_ACEOF
7388 /* confdefs.h.  */
7389 _ACEOF
7390 cat confdefs.h >>conftest.$ac_ext
7391 cat >>conftest.$ac_ext <<_ACEOF
7392 /* end confdefs.h.  */
7393 #include "confdefs.h"
7394 #include <sys/types.h>
7395
7396
7397 int
7398 main ()
7399 {
7400 switch (0) case 0: case (sizeof (void *) == $ac_size):;
7401   ;
7402   return 0;
7403 }
7404 _ACEOF
7405 rm -f conftest.$ac_objext
7406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7407   (eval $ac_compile) 2>conftest.er1
7408   ac_status=$?
7409   grep -v '^ *+' conftest.er1 >conftest.err
7410   rm -f conftest.er1
7411   cat conftest.err >&5
7412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7413   (exit $ac_status); } &&
7414          { ac_try='test -z "$ac_c_werror_flag"
7415                          || test ! -s conftest.err'
7416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7417   (eval $ac_try) 2>&5
7418   ac_status=$?
7419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7420   (exit $ac_status); }; } &&
7421          { ac_try='test -s conftest.$ac_objext'
7422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7423   (eval $ac_try) 2>&5
7424   ac_status=$?
7425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7426   (exit $ac_status); }; }; then
7427   ac_cv_sizeof_void_p=$ac_size
7428 else
7429   echo "$as_me: failed program was:" >&5
7430 sed 's/^/| /' conftest.$ac_ext >&5
7431
7432 fi
7433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7434   if test x$ac_cv_sizeof_void_p != x ; then break; fi
7435 done
7436
7437 fi
7438
7439 if test x$ac_cv_sizeof_void_p = x ; then
7440   { { echo "$as_me:$LINENO: error: cannot determine a size for void *" >&5
7441 echo "$as_me: error: cannot determine a size for void *" >&2;}
7442    { (exit 1); exit 1; }; }
7443 fi
7444 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
7445 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
7446
7447 cat >>confdefs.h <<_ACEOF
7448 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
7449 _ACEOF
7450
7451
7452
7453     echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
7454 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
7455 if test "${ac_cv_c_bigendian+set}" = set; then
7456   echo $ECHO_N "(cached) $ECHO_C" >&6
7457 else
7458   ac_cv_c_bigendian=unknown
7459 # See if sys/param.h defines the BYTE_ORDER macro.
7460 cat >conftest.$ac_ext <<_ACEOF
7461 /* confdefs.h.  */
7462 _ACEOF
7463 cat confdefs.h >>conftest.$ac_ext
7464 cat >>conftest.$ac_ext <<_ACEOF
7465 /* end confdefs.h.  */
7466 #include <sys/types.h>
7467 #include <sys/param.h>
7468 int
7469 main ()
7470 {
7471
7472 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
7473  bogus endian macros
7474 #endif
7475   ;
7476   return 0;
7477 }
7478 _ACEOF
7479 rm -f conftest.$ac_objext
7480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7481   (eval $ac_compile) 2>conftest.er1
7482   ac_status=$?
7483   grep -v '^ *+' conftest.er1 >conftest.err
7484   rm -f conftest.er1
7485   cat conftest.err >&5
7486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7487   (exit $ac_status); } &&
7488          { ac_try='test -z "$ac_c_werror_flag"
7489                          || test ! -s conftest.err'
7490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7491   (eval $ac_try) 2>&5
7492   ac_status=$?
7493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7494   (exit $ac_status); }; } &&
7495          { ac_try='test -s conftest.$ac_objext'
7496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7497   (eval $ac_try) 2>&5
7498   ac_status=$?
7499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7500   (exit $ac_status); }; }; then
7501   # It does; now see whether it defined to BIG_ENDIAN or not.
7502 cat >conftest.$ac_ext <<_ACEOF
7503 /* confdefs.h.  */
7504 _ACEOF
7505 cat confdefs.h >>conftest.$ac_ext
7506 cat >>conftest.$ac_ext <<_ACEOF
7507 /* end confdefs.h.  */
7508 #include <sys/types.h>
7509 #include <sys/param.h>
7510 int
7511 main ()
7512 {
7513
7514 #if BYTE_ORDER != BIG_ENDIAN
7515  not big endian
7516 #endif
7517   ;
7518   return 0;
7519 }
7520 _ACEOF
7521 rm -f conftest.$ac_objext
7522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7523   (eval $ac_compile) 2>conftest.er1
7524   ac_status=$?
7525   grep -v '^ *+' conftest.er1 >conftest.err
7526   rm -f conftest.er1
7527   cat conftest.err >&5
7528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7529   (exit $ac_status); } &&
7530          { ac_try='test -z "$ac_c_werror_flag"
7531                          || test ! -s conftest.err'
7532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7533   (eval $ac_try) 2>&5
7534   ac_status=$?
7535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7536   (exit $ac_status); }; } &&
7537          { ac_try='test -s conftest.$ac_objext'
7538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7539   (eval $ac_try) 2>&5
7540   ac_status=$?
7541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7542   (exit $ac_status); }; }; then
7543   ac_cv_c_bigendian=yes
7544 else
7545   echo "$as_me: failed program was:" >&5
7546 sed 's/^/| /' conftest.$ac_ext >&5
7547
7548 ac_cv_c_bigendian=no
7549 fi
7550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7551 else
7552   echo "$as_me: failed program was:" >&5
7553 sed 's/^/| /' conftest.$ac_ext >&5
7554
7555 fi
7556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7557 if test $ac_cv_c_bigendian = unknown; then
7558 if test "$cross_compiling" = yes; then
7559    echo $ac_n "cross-compiling... " 2>&6
7560 else
7561   cat >conftest.$ac_ext <<_ACEOF
7562 /* confdefs.h.  */
7563 _ACEOF
7564 cat confdefs.h >>conftest.$ac_ext
7565 cat >>conftest.$ac_ext <<_ACEOF
7566 /* end confdefs.h.  */
7567 main () {
7568   /* Are we little or big endian?  From Harbison&Steele.  */
7569   union
7570   {
7571     long l;
7572     char c[sizeof (long)];
7573   } u;
7574   u.l = 1;
7575   exit (u.c[sizeof (long) - 1] == 1);
7576 }
7577 _ACEOF
7578 rm -f conftest$ac_exeext
7579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7580   (eval $ac_link) 2>&5
7581   ac_status=$?
7582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7583   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7585   (eval $ac_try) 2>&5
7586   ac_status=$?
7587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7588   (exit $ac_status); }; }; then
7589   ac_cv_c_bigendian=no
7590 else
7591   echo "$as_me: program exited with status $ac_status" >&5
7592 echo "$as_me: failed program was:" >&5
7593 sed 's/^/| /' conftest.$ac_ext >&5
7594
7595 ( exit $ac_status )
7596 ac_cv_c_bigendian=yes
7597 fi
7598 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7599 fi
7600 fi
7601 fi
7602 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
7603 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
7604 if test $ac_cv_c_bigendian = unknown; then
7605 echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
7606 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6
7607
7608 cat >conftest.c <<EOF
7609 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
7610 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
7611 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
7612 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
7613 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
7614 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
7615 int main() { _ascii (); _ebcdic (); return 0; }
7616 EOF
7617  if test -f conftest.c ; then
7618      if ${CC-cc} ${CFLAGS} -c conftest.c -o conftest.o && test -f conftest.o ; then
7619         if test `grep -l BIGenDianSyS conftest.o` ; then
7620            echo $ac_n ' big endian probe OK, ' 1>&6
7621            ac_cv_c_bigendian=yes
7622         fi
7623         if test `grep -l LiTTleEnDian conftest.o` ; then
7624            echo $ac_n ' little endian probe OK, ' 1>&6
7625            if test $ac_cv_c_bigendian = yes ; then
7626             ac_cv_c_bigendian=unknown;
7627            else
7628             ac_cv_c_bigendian=no
7629            fi
7630         fi
7631         echo $ac_n 'guessing bigendian ...  ' >&6
7632      fi
7633   fi
7634 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
7635 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
7636 fi
7637 if test $ac_cv_c_bigendian = yes; then
7638
7639 cat >>confdefs.h <<\_ACEOF
7640 #define WORDS_BIGENDIAN 1
7641 _ACEOF
7642
7643
7644 cat >>confdefs.h <<\_ACEOF
7645 #define HOST_WORDS_BIG_ENDIAN 1
7646 _ACEOF
7647
7648   BYTEORDER=4321
7649 else
7650   BYTEORDER=1234
7651 fi
7652
7653 cat >>confdefs.h <<_ACEOF
7654 #define BYTEORDER $BYTEORDER
7655 _ACEOF
7656
7657 if test $ac_cv_c_bigendian = unknown; then
7658   { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5
7659 echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;}
7660    { (exit 1); exit 1; }; }
7661 fi
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679 for ac_header in unistd.h sys/types.h sys/config.h sys/ioctl.h \
7680                     asm/ioctls.h \
7681                     inttypes.h stdint.h utime.h sys/utime.h sys/filio.h \
7682                     sys/time.h \
7683                     sys/select.h \
7684                     crt_externs.h \
7685                     fcntl.h \
7686                     sys/mman.h
7687 do
7688 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7689 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7690   echo "$as_me:$LINENO: checking for $ac_header" >&5
7691 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7692 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7693   echo $ECHO_N "(cached) $ECHO_C" >&6
7694 fi
7695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7696 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7697 else
7698   # Is the header compilable?
7699 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7700 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7701 cat >conftest.$ac_ext <<_ACEOF
7702 /* confdefs.h.  */
7703 _ACEOF
7704 cat confdefs.h >>conftest.$ac_ext
7705 cat >>conftest.$ac_ext <<_ACEOF
7706 /* end confdefs.h.  */
7707 $ac_includes_default
7708 #include <$ac_header>
7709 _ACEOF
7710 rm -f conftest.$ac_objext
7711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7712   (eval $ac_compile) 2>conftest.er1
7713   ac_status=$?
7714   grep -v '^ *+' conftest.er1 >conftest.err
7715   rm -f conftest.er1
7716   cat conftest.err >&5
7717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7718   (exit $ac_status); } &&
7719          { ac_try='test -z "$ac_c_werror_flag"
7720                          || test ! -s conftest.err'
7721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7722   (eval $ac_try) 2>&5
7723   ac_status=$?
7724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7725   (exit $ac_status); }; } &&
7726          { ac_try='test -s conftest.$ac_objext'
7727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7728   (eval $ac_try) 2>&5
7729   ac_status=$?
7730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7731   (exit $ac_status); }; }; then
7732   ac_header_compiler=yes
7733 else
7734   echo "$as_me: failed program was:" >&5
7735 sed 's/^/| /' conftest.$ac_ext >&5
7736
7737 ac_header_compiler=no
7738 fi
7739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7740 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7741 echo "${ECHO_T}$ac_header_compiler" >&6
7742
7743 # Is the header present?
7744 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7745 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7746 cat >conftest.$ac_ext <<_ACEOF
7747 /* confdefs.h.  */
7748 _ACEOF
7749 cat confdefs.h >>conftest.$ac_ext
7750 cat >>conftest.$ac_ext <<_ACEOF
7751 /* end confdefs.h.  */
7752 #include <$ac_header>
7753 _ACEOF
7754 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7755   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7756   ac_status=$?
7757   grep -v '^ *+' conftest.er1 >conftest.err
7758   rm -f conftest.er1
7759   cat conftest.err >&5
7760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7761   (exit $ac_status); } >/dev/null; then
7762   if test -s conftest.err; then
7763     ac_cpp_err=$ac_c_preproc_warn_flag
7764     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7765   else
7766     ac_cpp_err=
7767   fi
7768 else
7769   ac_cpp_err=yes
7770 fi
7771 if test -z "$ac_cpp_err"; then
7772   ac_header_preproc=yes
7773 else
7774   echo "$as_me: failed program was:" >&5
7775 sed 's/^/| /' conftest.$ac_ext >&5
7776
7777   ac_header_preproc=no
7778 fi
7779 rm -f conftest.err conftest.$ac_ext
7780 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7781 echo "${ECHO_T}$ac_header_preproc" >&6
7782
7783 # So?  What about this header?
7784 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7785   yes:no: )
7786     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7787 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7788     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7789 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7790     ac_header_preproc=yes
7791     ;;
7792   no:yes:* )
7793     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7794 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7795     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7796 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7797     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7798 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7799     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7800 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7801     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7802 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7803     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7804 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7805     (
7806       cat <<\_ASBOX
7807 ## -------------------------------- ##
7808 ## Report this to classpath@gnu.org ##
7809 ## -------------------------------- ##
7810 _ASBOX
7811     ) |
7812       sed "s/^/$as_me: WARNING:     /" >&2
7813     ;;
7814 esac
7815 echo "$as_me:$LINENO: checking for $ac_header" >&5
7816 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7817 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7818   echo $ECHO_N "(cached) $ECHO_C" >&6
7819 else
7820   eval "$as_ac_Header=\$ac_header_preproc"
7821 fi
7822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7823 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7824
7825 fi
7826 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7827   cat >>confdefs.h <<_ACEOF
7828 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7829 _ACEOF
7830
7831 fi
7832
7833 done
7834
7835
7836   cat >conftest.$ac_ext <<_ACEOF
7837 /* confdefs.h.  */
7838 _ACEOF
7839 cat confdefs.h >>conftest.$ac_ext
7840 cat >>conftest.$ac_ext <<_ACEOF
7841 /* end confdefs.h.  */
7842 #include <stdint.h>
7843
7844 _ACEOF
7845 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7846   $EGREP "uint32_t" >/dev/null 2>&1; then
7847
7848 cat >>confdefs.h <<\_ACEOF
7849 #define HAVE_INT32_DEFINED 1
7850 _ACEOF
7851
7852 fi
7853 rm -f conftest*
7854
7855   cat >conftest.$ac_ext <<_ACEOF
7856 /* confdefs.h.  */
7857 _ACEOF
7858 cat confdefs.h >>conftest.$ac_ext
7859 cat >>conftest.$ac_ext <<_ACEOF
7860 /* end confdefs.h.  */
7861 #include <inttypes.h>
7862
7863 _ACEOF
7864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7865   $EGREP "uint32_t" >/dev/null 2>&1; then
7866
7867 cat >>confdefs.h <<\_ACEOF
7868 #define HAVE_INT32_DEFINED 1
7869 _ACEOF
7870
7871 fi
7872 rm -f conftest*
7873
7874   cat >conftest.$ac_ext <<_ACEOF
7875 /* confdefs.h.  */
7876 _ACEOF
7877 cat confdefs.h >>conftest.$ac_ext
7878 cat >>conftest.$ac_ext <<_ACEOF
7879 /* end confdefs.h.  */
7880 #include <sys/types.h>
7881
7882 _ACEOF
7883 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7884   $EGREP "u_int32_t" >/dev/null 2>&1; then
7885
7886 cat >>confdefs.h <<\_ACEOF
7887 #define HAVE_BSD_INT32_DEFINED 1
7888 _ACEOF
7889
7890 fi
7891 rm -f conftest*
7892
7893   cat >conftest.$ac_ext <<_ACEOF
7894 /* confdefs.h.  */
7895 _ACEOF
7896 cat confdefs.h >>conftest.$ac_ext
7897 cat >>conftest.$ac_ext <<_ACEOF
7898 /* end confdefs.h.  */
7899 #include <sys/config.h>
7900
7901 _ACEOF
7902 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7903   $EGREP "u_int32_t" >/dev/null 2>&1; then
7904
7905 cat >>confdefs.h <<\_ACEOF
7906 #define HAVE_BSD_INT32_DEFINED 1
7907 _ACEOF
7908
7909 fi
7910 rm -f conftest*
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954 for ac_func in ftruncate fsync select \
7955                   gethostname socket strerror fork pipe execve open close \
7956                   lseek fstat read write htonl memset htons connect \
7957                   getsockname getpeername bind listen accept \
7958                   recvfrom send sendto setsockopt getsockopt time mktime \
7959                   localtime_r \
7960                   strerror_r \
7961                   fcntl \
7962                   mmap munmap mincore msync madvise getpagesize sysconf
7963 do
7964 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7965 echo "$as_me:$LINENO: checking for $ac_func" >&5
7966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7967 if eval "test \"\${$as_ac_var+set}\" = set"; then
7968   echo $ECHO_N "(cached) $ECHO_C" >&6
7969 else
7970   cat >conftest.$ac_ext <<_ACEOF
7971 /* confdefs.h.  */
7972 _ACEOF
7973 cat confdefs.h >>conftest.$ac_ext
7974 cat >>conftest.$ac_ext <<_ACEOF
7975 /* end confdefs.h.  */
7976 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7977    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7978 #define $ac_func innocuous_$ac_func
7979
7980 /* System header to define __stub macros and hopefully few prototypes,
7981     which can conflict with char $ac_func (); below.
7982     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7983     <limits.h> exists even on freestanding compilers.  */
7984
7985 #ifdef __STDC__
7986 # include <limits.h>
7987 #else
7988 # include <assert.h>
7989 #endif
7990
7991 #undef $ac_func
7992
7993 /* Override any gcc2 internal prototype to avoid an error.  */
7994 #ifdef __cplusplus
7995 extern "C"
7996 {
7997 #endif
7998 /* We use char because int might match the return type of a gcc2
7999    builtin and then its argument prototype would still apply.  */
8000 char $ac_func ();
8001 /* The GNU C library defines this for functions which it implements
8002     to always fail with ENOSYS.  Some functions are actually named
8003     something starting with __ and the normal name is an alias.  */
8004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8005 choke me
8006 #else
8007 char (*f) () = $ac_func;
8008 #endif
8009 #ifdef __cplusplus
8010 }
8011 #endif
8012
8013 int
8014 main ()
8015 {
8016 return f != $ac_func;
8017   ;
8018   return 0;
8019 }
8020 _ACEOF
8021 rm -f conftest.$ac_objext conftest$ac_exeext
8022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8023   (eval $ac_link) 2>conftest.er1
8024   ac_status=$?
8025   grep -v '^ *+' conftest.er1 >conftest.err
8026   rm -f conftest.er1
8027   cat conftest.err >&5
8028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8029   (exit $ac_status); } &&
8030          { ac_try='test -z "$ac_c_werror_flag"
8031                          || test ! -s conftest.err'
8032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8033   (eval $ac_try) 2>&5
8034   ac_status=$?
8035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8036   (exit $ac_status); }; } &&
8037          { ac_try='test -s conftest$ac_exeext'
8038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8039   (eval $ac_try) 2>&5
8040   ac_status=$?
8041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8042   (exit $ac_status); }; }; then
8043   eval "$as_ac_var=yes"
8044 else
8045   echo "$as_me: failed program was:" >&5
8046 sed 's/^/| /' conftest.$ac_ext >&5
8047
8048 eval "$as_ac_var=no"
8049 fi
8050 rm -f conftest.err conftest.$ac_objext \
8051       conftest$ac_exeext conftest.$ac_ext
8052 fi
8053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8054 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8055 if test `eval echo '${'$as_ac_var'}'` = yes; then
8056   cat >>confdefs.h <<_ACEOF
8057 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8058 _ACEOF
8059
8060 fi
8061 done
8062
8063
8064   echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
8065 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
8066 if test "${ac_cv_header_time+set}" = set; then
8067   echo $ECHO_N "(cached) $ECHO_C" >&6
8068 else
8069   cat >conftest.$ac_ext <<_ACEOF
8070 /* confdefs.h.  */
8071 _ACEOF
8072 cat confdefs.h >>conftest.$ac_ext
8073 cat >>conftest.$ac_ext <<_ACEOF
8074 /* end confdefs.h.  */
8075 #include <sys/types.h>
8076 #include <sys/time.h>
8077 #include <time.h>
8078
8079 int
8080 main ()
8081 {
8082 if ((struct tm *) 0)
8083 return 0;
8084   ;
8085   return 0;
8086 }
8087 _ACEOF
8088 rm -f conftest.$ac_objext
8089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8090   (eval $ac_compile) 2>conftest.er1
8091   ac_status=$?
8092   grep -v '^ *+' conftest.er1 >conftest.err
8093   rm -f conftest.er1
8094   cat conftest.err >&5
8095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8096   (exit $ac_status); } &&
8097          { ac_try='test -z "$ac_c_werror_flag"
8098                          || test ! -s conftest.err'
8099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8100   (eval $ac_try) 2>&5
8101   ac_status=$?
8102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8103   (exit $ac_status); }; } &&
8104          { ac_try='test -s conftest.$ac_objext'
8105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8106   (eval $ac_try) 2>&5
8107   ac_status=$?
8108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8109   (exit $ac_status); }; }; then
8110   ac_cv_header_time=yes
8111 else
8112   echo "$as_me: failed program was:" >&5
8113 sed 's/^/| /' conftest.$ac_ext >&5
8114
8115 ac_cv_header_time=no
8116 fi
8117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8118 fi
8119 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
8120 echo "${ECHO_T}$ac_cv_header_time" >&6
8121 if test $ac_cv_header_time = yes; then
8122
8123 cat >>confdefs.h <<\_ACEOF
8124 #define TIME_WITH_SYS_TIME 1
8125 _ACEOF
8126
8127 fi
8128
8129   echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
8130 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
8131 if test "${ac_cv_struct_tm+set}" = set; then
8132   echo $ECHO_N "(cached) $ECHO_C" >&6
8133 else
8134   cat >conftest.$ac_ext <<_ACEOF
8135 /* confdefs.h.  */
8136 _ACEOF
8137 cat confdefs.h >>conftest.$ac_ext
8138 cat >>conftest.$ac_ext <<_ACEOF
8139 /* end confdefs.h.  */
8140 #include <sys/types.h>
8141 #include <time.h>
8142
8143 int
8144 main ()
8145 {
8146 struct tm *tp; tp->tm_sec;
8147   ;
8148   return 0;
8149 }
8150 _ACEOF
8151 rm -f conftest.$ac_objext
8152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8153   (eval $ac_compile) 2>conftest.er1
8154   ac_status=$?
8155   grep -v '^ *+' conftest.er1 >conftest.err
8156   rm -f conftest.er1
8157   cat conftest.err >&5
8158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8159   (exit $ac_status); } &&
8160          { ac_try='test -z "$ac_c_werror_flag"
8161                          || test ! -s conftest.err'
8162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8163   (eval $ac_try) 2>&5
8164   ac_status=$?
8165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8166   (exit $ac_status); }; } &&
8167          { ac_try='test -s conftest.$ac_objext'
8168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8169   (eval $ac_try) 2>&5
8170   ac_status=$?
8171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8172   (exit $ac_status); }; }; then
8173   ac_cv_struct_tm=time.h
8174 else
8175   echo "$as_me: failed program was:" >&5
8176 sed 's/^/| /' conftest.$ac_ext >&5
8177
8178 ac_cv_struct_tm=sys/time.h
8179 fi
8180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8181 fi
8182 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
8183 echo "${ECHO_T}$ac_cv_struct_tm" >&6
8184 if test $ac_cv_struct_tm = sys/time.h; then
8185
8186 cat >>confdefs.h <<\_ACEOF
8187 #define TM_IN_SYS_TIME 1
8188 _ACEOF
8189
8190 fi
8191
8192   echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
8193 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
8194 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
8195   echo $ECHO_N "(cached) $ECHO_C" >&6
8196 else
8197   cat >conftest.$ac_ext <<_ACEOF
8198 /* confdefs.h.  */
8199 _ACEOF
8200 cat confdefs.h >>conftest.$ac_ext
8201 cat >>conftest.$ac_ext <<_ACEOF
8202 /* end confdefs.h.  */
8203 #include <sys/types.h>
8204 #include <$ac_cv_struct_tm>
8205
8206
8207 int
8208 main ()
8209 {
8210 static struct tm ac_aggr;
8211 if (ac_aggr.tm_zone)
8212 return 0;
8213   ;
8214   return 0;
8215 }
8216 _ACEOF
8217 rm -f conftest.$ac_objext
8218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8219   (eval $ac_compile) 2>conftest.er1
8220   ac_status=$?
8221   grep -v '^ *+' conftest.er1 >conftest.err
8222   rm -f conftest.er1
8223   cat conftest.err >&5
8224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8225   (exit $ac_status); } &&
8226          { ac_try='test -z "$ac_c_werror_flag"
8227                          || test ! -s conftest.err'
8228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8229   (eval $ac_try) 2>&5
8230   ac_status=$?
8231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8232   (exit $ac_status); }; } &&
8233          { ac_try='test -s conftest.$ac_objext'
8234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8235   (eval $ac_try) 2>&5
8236   ac_status=$?
8237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8238   (exit $ac_status); }; }; then
8239   ac_cv_member_struct_tm_tm_zone=yes
8240 else
8241   echo "$as_me: failed program was:" >&5
8242 sed 's/^/| /' conftest.$ac_ext >&5
8243
8244 cat >conftest.$ac_ext <<_ACEOF
8245 /* confdefs.h.  */
8246 _ACEOF
8247 cat confdefs.h >>conftest.$ac_ext
8248 cat >>conftest.$ac_ext <<_ACEOF
8249 /* end confdefs.h.  */
8250 #include <sys/types.h>
8251 #include <$ac_cv_struct_tm>
8252
8253
8254 int
8255 main ()
8256 {
8257 static struct tm ac_aggr;
8258 if (sizeof ac_aggr.tm_zone)
8259 return 0;
8260   ;
8261   return 0;
8262 }
8263 _ACEOF
8264 rm -f conftest.$ac_objext
8265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8266   (eval $ac_compile) 2>conftest.er1
8267   ac_status=$?
8268   grep -v '^ *+' conftest.er1 >conftest.err
8269   rm -f conftest.er1
8270   cat conftest.err >&5
8271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8272   (exit $ac_status); } &&
8273          { ac_try='test -z "$ac_c_werror_flag"
8274                          || test ! -s conftest.err'
8275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8276   (eval $ac_try) 2>&5
8277   ac_status=$?
8278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8279   (exit $ac_status); }; } &&
8280          { ac_try='test -s conftest.$ac_objext'
8281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8282   (eval $ac_try) 2>&5
8283   ac_status=$?
8284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8285   (exit $ac_status); }; }; then
8286   ac_cv_member_struct_tm_tm_zone=yes
8287 else
8288   echo "$as_me: failed program was:" >&5
8289 sed 's/^/| /' conftest.$ac_ext >&5
8290
8291 ac_cv_member_struct_tm_tm_zone=no
8292 fi
8293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8294 fi
8295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8296 fi
8297 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
8298 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
8299 if test $ac_cv_member_struct_tm_tm_zone = yes; then
8300
8301 cat >>confdefs.h <<_ACEOF
8302 #define HAVE_STRUCT_TM_TM_ZONE 1
8303 _ACEOF
8304
8305
8306 fi
8307
8308 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
8309
8310 cat >>confdefs.h <<\_ACEOF
8311 #define HAVE_TM_ZONE 1
8312 _ACEOF
8313
8314 else
8315   echo "$as_me:$LINENO: checking for tzname" >&5
8316 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
8317 if test "${ac_cv_var_tzname+set}" = set; then
8318   echo $ECHO_N "(cached) $ECHO_C" >&6
8319 else
8320   cat >conftest.$ac_ext <<_ACEOF
8321 /* confdefs.h.  */
8322 _ACEOF
8323 cat confdefs.h >>conftest.$ac_ext
8324 cat >>conftest.$ac_ext <<_ACEOF
8325 /* end confdefs.h.  */
8326 #include <time.h>
8327 #ifndef tzname /* For SGI.  */
8328 extern char *tzname[]; /* RS6000 and others reject char **tzname.  */
8329 #endif
8330
8331 int
8332 main ()
8333 {
8334 atoi(*tzname);
8335   ;
8336   return 0;
8337 }
8338 _ACEOF
8339 rm -f conftest.$ac_objext conftest$ac_exeext
8340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8341   (eval $ac_link) 2>conftest.er1
8342   ac_status=$?
8343   grep -v '^ *+' conftest.er1 >conftest.err
8344   rm -f conftest.er1
8345   cat conftest.err >&5
8346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8347   (exit $ac_status); } &&
8348          { ac_try='test -z "$ac_c_werror_flag"
8349                          || test ! -s conftest.err'
8350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8351   (eval $ac_try) 2>&5
8352   ac_status=$?
8353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8354   (exit $ac_status); }; } &&
8355          { ac_try='test -s conftest$ac_exeext'
8356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8357   (eval $ac_try) 2>&5
8358   ac_status=$?
8359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8360   (exit $ac_status); }; }; then
8361   ac_cv_var_tzname=yes
8362 else
8363   echo "$as_me: failed program was:" >&5
8364 sed 's/^/| /' conftest.$ac_ext >&5
8365
8366 ac_cv_var_tzname=no
8367 fi
8368 rm -f conftest.err conftest.$ac_objext \
8369       conftest$ac_exeext conftest.$ac_ext
8370 fi
8371 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
8372 echo "${ECHO_T}$ac_cv_var_tzname" >&6
8373   if test $ac_cv_var_tzname = yes; then
8374
8375 cat >>confdefs.h <<\_ACEOF
8376 #define HAVE_TZNAME 1
8377 _ACEOF
8378
8379   fi
8380 fi
8381
8382
8383   echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
8384 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
8385   cat >conftest.$ac_ext <<_ACEOF
8386 /* confdefs.h.  */
8387 _ACEOF
8388 cat confdefs.h >>conftest.$ac_ext
8389 cat >>conftest.$ac_ext <<_ACEOF
8390 /* end confdefs.h.  */
8391 #include <time.h>
8392 int
8393 main ()
8394 {
8395 struct tm tim; tim.tm_gmtoff = 0;
8396   ;
8397   return 0;
8398 }
8399 _ACEOF
8400 rm -f conftest.$ac_objext
8401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8402   (eval $ac_compile) 2>conftest.er1
8403   ac_status=$?
8404   grep -v '^ *+' conftest.er1 >conftest.err
8405   rm -f conftest.er1
8406   cat conftest.err >&5
8407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8408   (exit $ac_status); } &&
8409          { ac_try='test -z "$ac_c_werror_flag"
8410                          || test ! -s conftest.err'
8411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8412   (eval $ac_try) 2>&5
8413   ac_status=$?
8414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8415   (exit $ac_status); }; } &&
8416          { ac_try='test -s conftest.$ac_objext'
8417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8418   (eval $ac_try) 2>&5
8419   ac_status=$?
8420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8421   (exit $ac_status); }; }; then
8422
8423 cat >>confdefs.h <<\_ACEOF
8424 #define STRUCT_TM_HAS_GMTOFF 1
8425 _ACEOF
8426
8427    echo "$as_me:$LINENO: result: yes" >&5
8428 echo "${ECHO_T}yes" >&6
8429 else
8430   echo "$as_me: failed program was:" >&5
8431 sed 's/^/| /' conftest.$ac_ext >&5
8432
8433 echo "$as_me:$LINENO: result: no" >&5
8434 echo "${ECHO_T}no" >&6
8435    echo "$as_me:$LINENO: checking for global timezone variable" >&5
8436 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
8437                cat >conftest.$ac_ext <<_ACEOF
8438 /* confdefs.h.  */
8439 _ACEOF
8440 cat confdefs.h >>conftest.$ac_ext
8441 cat >>conftest.$ac_ext <<_ACEOF
8442 /* end confdefs.h.  */
8443 #include <time.h>
8444 int
8445 main ()
8446 {
8447 void i(){long z2 = 2*timezone;}
8448   ;
8449   return 0;
8450 }
8451 _ACEOF
8452 rm -f conftest.$ac_objext
8453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8454   (eval $ac_compile) 2>conftest.er1
8455   ac_status=$?
8456   grep -v '^ *+' conftest.er1 >conftest.err
8457   rm -f conftest.er1
8458   cat conftest.err >&5
8459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8460   (exit $ac_status); } &&
8461          { ac_try='test -z "$ac_c_werror_flag"
8462                          || test ! -s conftest.err'
8463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8464   (eval $ac_try) 2>&5
8465   ac_status=$?
8466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8467   (exit $ac_status); }; } &&
8468          { ac_try='test -s conftest.$ac_objext'
8469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8470   (eval $ac_try) 2>&5
8471   ac_status=$?
8472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8473   (exit $ac_status); }; }; then
8474
8475 cat >>confdefs.h <<\_ACEOF
8476 #define HAVE_TIMEZONE 1
8477 _ACEOF
8478
8479       echo "$as_me:$LINENO: result: yes" >&5
8480 echo "${ECHO_T}yes" >&6
8481 else
8482   echo "$as_me: failed program was:" >&5
8483 sed 's/^/| /' conftest.$ac_ext >&5
8484
8485 echo "$as_me:$LINENO: result: no" >&5
8486 echo "${ECHO_T}no" >&6
8487        echo "$as_me:$LINENO: checking for global _timezone variable" >&5
8488 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
8489               cat >conftest.$ac_ext <<_ACEOF
8490 /* confdefs.h.  */
8491 _ACEOF
8492 cat confdefs.h >>conftest.$ac_ext
8493 cat >>conftest.$ac_ext <<_ACEOF
8494 /* end confdefs.h.  */
8495 #include <time.h>
8496 int
8497 main ()
8498 {
8499 long z2 = _timezone;
8500   ;
8501   return 0;
8502 }
8503 _ACEOF
8504 rm -f conftest.$ac_objext
8505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8506   (eval $ac_compile) 2>conftest.er1
8507   ac_status=$?
8508   grep -v '^ *+' conftest.er1 >conftest.err
8509   rm -f conftest.er1
8510   cat conftest.err >&5
8511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8512   (exit $ac_status); } &&
8513          { ac_try='test -z "$ac_c_werror_flag"
8514                          || test ! -s conftest.err'
8515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8516   (eval $ac_try) 2>&5
8517   ac_status=$?
8518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8519   (exit $ac_status); }; } &&
8520          { ac_try='test -s conftest.$ac_objext'
8521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8522   (eval $ac_try) 2>&5
8523   ac_status=$?
8524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8525   (exit $ac_status); }; }; then
8526
8527 cat >>confdefs.h <<\_ACEOF
8528 #define HAVE_UNDERSCORE_TIMEZONE 1
8529 _ACEOF
8530
8531           echo "$as_me:$LINENO: result: yes" >&5
8532 echo "${ECHO_T}yes" >&6
8533 else
8534   echo "$as_me: failed program was:" >&5
8535 sed 's/^/| /' conftest.$ac_ext >&5
8536
8537 echo "$as_me:$LINENO: result: no" >&5
8538 echo "${ECHO_T}no" >&6
8539 fi
8540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8541 fi
8542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8543 fi
8544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8545
8546   echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
8547 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
8548 if test "${ac_cv_c_const+set}" = set; then
8549   echo $ECHO_N "(cached) $ECHO_C" >&6
8550 else
8551   cat >conftest.$ac_ext <<_ACEOF
8552 /* confdefs.h.  */
8553 _ACEOF
8554 cat confdefs.h >>conftest.$ac_ext
8555 cat >>conftest.$ac_ext <<_ACEOF
8556 /* end confdefs.h.  */
8557
8558 int
8559 main ()
8560 {
8561 /* FIXME: Include the comments suggested by Paul. */
8562 #ifndef __cplusplus
8563   /* Ultrix mips cc rejects this.  */
8564   typedef int charset[2];
8565   const charset x;
8566   /* SunOS 4.1.1 cc rejects this.  */
8567   char const *const *ccp;
8568   char **p;
8569   /* NEC SVR4.0.2 mips cc rejects this.  */
8570   struct point {int x, y;};
8571   static struct point const zero = {0,0};
8572   /* AIX XL C 1.02.0.0 rejects this.
8573      It does not let you subtract one const X* pointer from another in
8574      an arm of an if-expression whose if-part is not a constant
8575      expression */
8576   const char *g = "string";
8577   ccp = &g + (g ? g-g : 0);
8578   /* HPUX 7.0 cc rejects these. */
8579   ++ccp;
8580   p = (char**) ccp;
8581   ccp = (char const *const *) p;
8582   { /* SCO 3.2v4 cc rejects this.  */
8583     char *t;
8584     char const *s = 0 ? (char *) 0 : (char const *) 0;
8585
8586     *t++ = 0;
8587   }
8588   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
8589     int x[] = {25, 17};
8590     const int *foo = &x[0];
8591     ++foo;
8592   }
8593   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8594     typedef const int *iptr;
8595     iptr p = 0;
8596     ++p;
8597   }
8598   { /* AIX XL C 1.02.0.0 rejects this saying
8599        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8600     struct s { int j; const int *ap[3]; };
8601     struct s *b; b->j = 5;
8602   }
8603   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8604     const int foo = 10;
8605   }
8606 #endif
8607
8608   ;
8609   return 0;
8610 }
8611 _ACEOF
8612 rm -f conftest.$ac_objext
8613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8614   (eval $ac_compile) 2>conftest.er1
8615   ac_status=$?
8616   grep -v '^ *+' conftest.er1 >conftest.err
8617   rm -f conftest.er1
8618   cat conftest.err >&5
8619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8620   (exit $ac_status); } &&
8621          { ac_try='test -z "$ac_c_werror_flag"
8622                          || test ! -s conftest.err'
8623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8624   (eval $ac_try) 2>&5
8625   ac_status=$?
8626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8627   (exit $ac_status); }; } &&
8628          { ac_try='test -s conftest.$ac_objext'
8629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8630   (eval $ac_try) 2>&5
8631   ac_status=$?
8632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8633   (exit $ac_status); }; }; then
8634   ac_cv_c_const=yes
8635 else
8636   echo "$as_me: failed program was:" >&5
8637 sed 's/^/| /' conftest.$ac_ext >&5
8638
8639 ac_cv_c_const=no
8640 fi
8641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8642 fi
8643 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
8644 echo "${ECHO_T}$ac_cv_c_const" >&6
8645 if test $ac_cv_c_const = no; then
8646
8647 cat >>confdefs.h <<\_ACEOF
8648 #define const
8649 _ACEOF
8650
8651 fi
8652
8653   echo "$as_me:$LINENO: checking for __attribute__" >&5
8654 echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
8655 if test "${ac_cv_c_attribute+set}" = set; then
8656   echo $ECHO_N "(cached) $ECHO_C" >&6
8657 else
8658
8659 cat >conftest.$ac_ext <<_ACEOF
8660 /* confdefs.h.  */
8661 _ACEOF
8662 cat confdefs.h >>conftest.$ac_ext
8663 cat >>conftest.$ac_ext <<_ACEOF
8664 /* end confdefs.h.  */
8665 void foo(void) __attribute__ ((__noreturn__));
8666
8667 _ACEOF
8668 rm -f conftest.$ac_objext
8669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8670   (eval $ac_compile) 2>conftest.er1
8671   ac_status=$?
8672   grep -v '^ *+' conftest.er1 >conftest.err
8673   rm -f conftest.er1
8674   cat conftest.err >&5
8675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8676   (exit $ac_status); } &&
8677          { ac_try='test -z "$ac_c_werror_flag"
8678                          || test ! -s conftest.err'
8679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8680   (eval $ac_try) 2>&5
8681   ac_status=$?
8682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8683   (exit $ac_status); }; } &&
8684          { ac_try='test -s conftest.$ac_objext'
8685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8686   (eval $ac_try) 2>&5
8687   ac_status=$?
8688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8689   (exit $ac_status); }; }; then
8690   ac_cv_c_attribute=yes
8691 else
8692   echo "$as_me: failed program was:" >&5
8693 sed 's/^/| /' conftest.$ac_ext >&5
8694
8695 ac_cv_c_attribute=no
8696
8697 fi
8698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8699
8700 fi
8701 echo "$as_me:$LINENO: result: $ac_cv_c_attribute" >&5
8702 echo "${ECHO_T}$ac_cv_c_attribute" >&6
8703
8704
8705 case $ac_cv_c_attribute in
8706   yes) ;;
8707   no)
8708     cat >>confdefs.h <<_ACEOF
8709 #define __attribute__(x)    /* nothing */
8710 _ACEOF
8711     ;;
8712 esac
8713
8714
8715
8716       if test "X$prefix" = "XNONE"; then
8717     acl_final_prefix="$ac_default_prefix"
8718   else
8719     acl_final_prefix="$prefix"
8720   fi
8721   if test "X$exec_prefix" = "XNONE"; then
8722     acl_final_exec_prefix='${prefix}'
8723   else
8724     acl_final_exec_prefix="$exec_prefix"
8725   fi
8726   acl_save_prefix="$prefix"
8727   prefix="$acl_final_prefix"
8728   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
8729   prefix="$acl_save_prefix"
8730
8731
8732 # Check whether --with-gnu-ld or --without-gnu-ld was given.
8733 if test "${with_gnu_ld+set}" = set; then
8734   withval="$with_gnu_ld"
8735   test "$withval" = no || with_gnu_ld=yes
8736 else
8737   with_gnu_ld=no
8738 fi;
8739 # Prepare PATH_SEPARATOR.
8740 # The user is always right.
8741 if test "${PATH_SEPARATOR+set}" != set; then
8742   echo "#! /bin/sh" >conf$$.sh
8743   echo  "exit 0"   >>conf$$.sh
8744   chmod +x conf$$.sh
8745   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
8746     PATH_SEPARATOR=';'
8747   else
8748     PATH_SEPARATOR=:
8749   fi
8750   rm -f conf$$.sh
8751 fi
8752 ac_prog=ld
8753 if test "$GCC" = yes; then
8754   # Check if gcc -print-prog-name=ld gives a path.
8755   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
8756 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
8757   case $host in
8758   *-*-mingw*)
8759     # gcc leaves a trailing carriage return which upsets mingw
8760     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
8761   *)
8762     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
8763   esac
8764   case $ac_prog in
8765     # Accept absolute paths.
8766     [\\/]* | [A-Za-z]:[\\/]*)
8767       re_direlt='/[^/][^/]*/\.\./'
8768       # Canonicalize the path of ld
8769       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
8770       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
8771         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
8772       done
8773       test -z "$LD" && LD="$ac_prog"
8774       ;;
8775   "")
8776     # If it fails, then pretend we aren't using GCC.
8777     ac_prog=ld
8778     ;;
8779   *)
8780     # If it is relative, then search for the first ld in PATH.
8781     with_gnu_ld=unknown
8782     ;;
8783   esac
8784 elif test "$with_gnu_ld" = yes; then
8785   echo "$as_me:$LINENO: checking for GNU ld" >&5
8786 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
8787 else
8788   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
8789 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
8790 fi
8791 if test "${acl_cv_path_LD+set}" = set; then
8792   echo $ECHO_N "(cached) $ECHO_C" >&6
8793 else
8794   if test -z "$LD"; then
8795   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
8796   for ac_dir in $PATH; do
8797     test -z "$ac_dir" && ac_dir=.
8798     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
8799       acl_cv_path_LD="$ac_dir/$ac_prog"
8800       # Check to see if the program is GNU ld.  I'd rather use --version,
8801       # but apparently some GNU ld's only accept -v.
8802       # Break only if it was the GNU/non-GNU ld that we prefer.
8803       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
8804         test "$with_gnu_ld" != no && break
8805       else
8806         test "$with_gnu_ld" != yes && break
8807       fi
8808     fi
8809   done
8810   IFS="$ac_save_ifs"
8811 else
8812   acl_cv_path_LD="$LD" # Let the user override the test with a path.
8813 fi
8814 fi
8815
8816 LD="$acl_cv_path_LD"
8817 if test -n "$LD"; then
8818   echo "$as_me:$LINENO: result: $LD" >&5
8819 echo "${ECHO_T}$LD" >&6
8820 else
8821   echo "$as_me:$LINENO: result: no" >&5
8822 echo "${ECHO_T}no" >&6
8823 fi
8824 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
8825 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
8826    { (exit 1); exit 1; }; }
8827 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
8828 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
8829 if test "${acl_cv_prog_gnu_ld+set}" = set; then
8830   echo $ECHO_N "(cached) $ECHO_C" >&6
8831 else
8832   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
8833 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
8834   acl_cv_prog_gnu_ld=yes
8835 else
8836   acl_cv_prog_gnu_ld=no
8837 fi
8838 fi
8839 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
8840 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
8841 with_gnu_ld=$acl_cv_prog_gnu_ld
8842
8843
8844
8845                                                 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
8846 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
8847 if test "${acl_cv_rpath+set}" = set; then
8848   echo $ECHO_N "(cached) $ECHO_C" >&6
8849 else
8850
8851     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
8852     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
8853     . ./conftest.sh
8854     rm -f ./conftest.sh
8855     acl_cv_rpath=done
8856
8857 fi
8858 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
8859 echo "${ECHO_T}$acl_cv_rpath" >&6
8860   wl="$acl_cv_wl"
8861   libext="$acl_cv_libext"
8862   shlibext="$acl_cv_shlibext"
8863   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
8864   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
8865   hardcode_direct="$acl_cv_hardcode_direct"
8866   hardcode_minus_L="$acl_cv_hardcode_minus_L"
8867     # Check whether --enable-rpath or --disable-rpath was given.
8868 if test "${enable_rpath+set}" = set; then
8869   enableval="$enable_rpath"
8870   :
8871 else
8872   enable_rpath=yes
8873 fi;
8874
8875
8876
8877
8878
8879
8880
8881     use_additional=yes
8882
8883   acl_save_prefix="$prefix"
8884   prefix="$acl_final_prefix"
8885   acl_save_exec_prefix="$exec_prefix"
8886   exec_prefix="$acl_final_exec_prefix"
8887
8888     eval additional_includedir=\"$includedir\"
8889     eval additional_libdir=\"$libdir\"
8890
8891   exec_prefix="$acl_save_exec_prefix"
8892   prefix="$acl_save_prefix"
8893
8894
8895 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
8896 if test "${with_libiconv_prefix+set}" = set; then
8897   withval="$with_libiconv_prefix"
8898
8899     if test "X$withval" = "Xno"; then
8900       use_additional=no
8901     else
8902       if test "X$withval" = "X"; then
8903
8904   acl_save_prefix="$prefix"
8905   prefix="$acl_final_prefix"
8906   acl_save_exec_prefix="$exec_prefix"
8907   exec_prefix="$acl_final_exec_prefix"
8908
8909           eval additional_includedir=\"$includedir\"
8910           eval additional_libdir=\"$libdir\"
8911
8912   exec_prefix="$acl_save_exec_prefix"
8913   prefix="$acl_save_prefix"
8914
8915       else
8916         additional_includedir="$withval/include"
8917         additional_libdir="$withval/lib"
8918       fi
8919     fi
8920
8921 fi;
8922       LIBICONV=
8923   LTLIBICONV=
8924   INCICONV=
8925   rpathdirs=
8926   ltrpathdirs=
8927   names_already_handled=
8928   names_next_round='iconv '
8929   while test -n "$names_next_round"; do
8930     names_this_round="$names_next_round"
8931     names_next_round=
8932     for name in $names_this_round; do
8933       already_handled=
8934       for n in $names_already_handled; do
8935         if test "$n" = "$name"; then
8936           already_handled=yes
8937           break
8938         fi
8939       done
8940       if test -z "$already_handled"; then
8941         names_already_handled="$names_already_handled $name"
8942                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
8943         eval value=\"\$HAVE_LIB$uppername\"
8944         if test -n "$value"; then
8945           if test "$value" = yes; then
8946             eval value=\"\$LIB$uppername\"
8947             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
8948             eval value=\"\$LTLIB$uppername\"
8949             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
8950           else
8951                                     :
8952           fi
8953         else
8954                               found_dir=
8955           found_la=
8956           found_so=
8957           found_a=
8958           if test $use_additional = yes; then
8959             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
8960               found_dir="$additional_libdir"
8961               found_so="$additional_libdir/lib$name.$shlibext"
8962               if test -f "$additional_libdir/lib$name.la"; then
8963                 found_la="$additional_libdir/lib$name.la"
8964               fi
8965             else
8966               if test -f "$additional_libdir/lib$name.$libext"; then
8967                 found_dir="$additional_libdir"
8968                 found_a="$additional_libdir/lib$name.$libext"
8969                 if test -f "$additional_libdir/lib$name.la"; then
8970                   found_la="$additional_libdir/lib$name.la"
8971                 fi
8972               fi
8973             fi
8974           fi
8975           if test "X$found_dir" = "X"; then
8976             for x in $LDFLAGS $LTLIBICONV; do
8977
8978   acl_save_prefix="$prefix"
8979   prefix="$acl_final_prefix"
8980   acl_save_exec_prefix="$exec_prefix"
8981   exec_prefix="$acl_final_exec_prefix"
8982   eval x=\"$x\"
8983   exec_prefix="$acl_save_exec_prefix"
8984   prefix="$acl_save_prefix"
8985
8986               case "$x" in
8987                 -L*)
8988                   dir=`echo "X$x" | sed -e 's/^X-L//'`
8989                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
8990                     found_dir="$dir"
8991                     found_so="$dir/lib$name.$shlibext"
8992                     if test -f "$dir/lib$name.la"; then
8993                       found_la="$dir/lib$name.la"
8994                     fi
8995                   else
8996                     if test -f "$dir/lib$name.$libext"; then
8997                       found_dir="$dir"
8998                       found_a="$dir/lib$name.$libext"
8999                       if test -f "$dir/lib$name.la"; then
9000                         found_la="$dir/lib$name.la"
9001                       fi
9002                     fi
9003                   fi
9004                   ;;
9005               esac
9006               if test "X$found_dir" != "X"; then
9007                 break
9008               fi
9009             done
9010           fi
9011           if test "X$found_dir" != "X"; then
9012                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
9013             if test "X$found_so" != "X"; then
9014                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
9015                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
9016               else
9017                                                                                 haveit=
9018                 for x in $ltrpathdirs; do
9019                   if test "X$x" = "X$found_dir"; then
9020                     haveit=yes
9021                     break
9022                   fi
9023                 done
9024                 if test -z "$haveit"; then
9025                   ltrpathdirs="$ltrpathdirs $found_dir"
9026                 fi
9027                                 if test "$hardcode_direct" = yes; then
9028                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
9029                 else
9030                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
9031                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
9032                                                             haveit=
9033                     for x in $rpathdirs; do
9034                       if test "X$x" = "X$found_dir"; then
9035                         haveit=yes
9036                         break
9037                       fi
9038                     done
9039                     if test -z "$haveit"; then
9040                       rpathdirs="$rpathdirs $found_dir"
9041                     fi
9042                   else
9043                                                                                 haveit=
9044                     for x in $LDFLAGS $LIBICONV; do
9045
9046   acl_save_prefix="$prefix"
9047   prefix="$acl_final_prefix"
9048   acl_save_exec_prefix="$exec_prefix"
9049   exec_prefix="$acl_final_exec_prefix"
9050   eval x=\"$x\"
9051   exec_prefix="$acl_save_exec_prefix"
9052   prefix="$acl_save_prefix"
9053
9054                       if test "X$x" = "X-L$found_dir"; then
9055                         haveit=yes
9056                         break
9057                       fi
9058                     done
9059                     if test -z "$haveit"; then
9060                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
9061                     fi
9062                     if test "$hardcode_minus_L" != no; then
9063                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
9064                     else
9065                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
9066                     fi
9067                   fi
9068                 fi
9069               fi
9070             else
9071               if test "X$found_a" != "X"; then
9072                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
9073               else
9074                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
9075               fi
9076             fi
9077                         additional_includedir=
9078             case "$found_dir" in
9079               */lib | */lib/)
9080                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
9081                 additional_includedir="$basedir/include"
9082                 ;;
9083             esac
9084             if test "X$additional_includedir" != "X"; then
9085                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
9086                 haveit=
9087                 if test "X$additional_includedir" = "X/usr/local/include"; then
9088                   if test -n "$GCC"; then
9089                     case $host_os in
9090                       linux*) haveit=yes;;
9091                     esac
9092                   fi
9093                 fi
9094                 if test -z "$haveit"; then
9095                   for x in $CPPFLAGS $INCICONV; do
9096
9097   acl_save_prefix="$prefix"
9098   prefix="$acl_final_prefix"
9099   acl_save_exec_prefix="$exec_prefix"
9100   exec_prefix="$acl_final_exec_prefix"
9101   eval x=\"$x\"
9102   exec_prefix="$acl_save_exec_prefix"
9103   prefix="$acl_save_prefix"
9104
9105                     if test "X$x" = "X-I$additional_includedir"; then
9106                       haveit=yes
9107                       break
9108                     fi
9109                   done
9110                   if test -z "$haveit"; then
9111                     if test -d "$additional_includedir"; then
9112                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
9113                     fi
9114                   fi
9115                 fi
9116               fi
9117             fi
9118                         if test -n "$found_la"; then
9119                                                         save_libdir="$libdir"
9120               case "$found_la" in
9121                 */* | *\\*) . "$found_la" ;;
9122                 *) . "./$found_la" ;;
9123               esac
9124               libdir="$save_libdir"
9125                             for dep in $dependency_libs; do
9126                 case "$dep" in
9127                   -L*)
9128                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
9129                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
9130                       haveit=
9131                       if test "X$additional_libdir" = "X/usr/local/lib"; then
9132                         if test -n "$GCC"; then
9133                           case $host_os in
9134                             linux*) haveit=yes;;
9135                           esac
9136                         fi
9137                       fi
9138                       if test -z "$haveit"; then
9139                         haveit=
9140                         for x in $LDFLAGS $LIBICONV; do
9141
9142   acl_save_prefix="$prefix"
9143   prefix="$acl_final_prefix"
9144   acl_save_exec_prefix="$exec_prefix"
9145   exec_prefix="$acl_final_exec_prefix"
9146   eval x=\"$x\"
9147   exec_prefix="$acl_save_exec_prefix"
9148   prefix="$acl_save_prefix"
9149
9150                           if test "X$x" = "X-L$additional_libdir"; then
9151                             haveit=yes
9152                             break
9153                           fi
9154                         done
9155                         if test -z "$haveit"; then
9156                           if test -d "$additional_libdir"; then
9157                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
9158                           fi
9159                         fi
9160                         haveit=
9161                         for x in $LDFLAGS $LTLIBICONV; do
9162
9163   acl_save_prefix="$prefix"
9164   prefix="$acl_final_prefix"
9165   acl_save_exec_prefix="$exec_prefix"
9166   exec_prefix="$acl_final_exec_prefix"
9167   eval x=\"$x\"
9168   exec_prefix="$acl_save_exec_prefix"
9169   prefix="$acl_save_prefix"
9170
9171                           if test "X$x" = "X-L$additional_libdir"; then
9172                             haveit=yes
9173                             break
9174                           fi
9175                         done
9176                         if test -z "$haveit"; then
9177                           if test -d "$additional_libdir"; then
9178                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
9179                           fi
9180                         fi
9181                       fi
9182                     fi
9183                     ;;
9184                   -R*)
9185                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
9186                     if test "$enable_rpath" != no; then
9187                                                                   haveit=
9188                       for x in $rpathdirs; do
9189                         if test "X$x" = "X$dir"; then
9190                           haveit=yes
9191                           break
9192                         fi
9193                       done
9194                       if test -z "$haveit"; then
9195                         rpathdirs="$rpathdirs $dir"
9196                       fi
9197                                                                   haveit=
9198                       for x in $ltrpathdirs; do
9199                         if test "X$x" = "X$dir"; then
9200                           haveit=yes
9201                           break
9202                         fi
9203                       done
9204                       if test -z "$haveit"; then
9205                         ltrpathdirs="$ltrpathdirs $dir"
9206                       fi
9207                     fi
9208                     ;;
9209                   -l*)
9210                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
9211                     ;;
9212                   *.la)
9213                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
9214                     ;;
9215                   *)
9216                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
9217                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
9218                     ;;
9219                 esac
9220               done
9221             fi
9222           else
9223                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
9224             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
9225           fi
9226         fi
9227       fi
9228     done
9229   done
9230   if test "X$rpathdirs" != "X"; then
9231     if test -n "$hardcode_libdir_separator"; then
9232                         alldirs=
9233       for found_dir in $rpathdirs; do
9234         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
9235       done
9236             acl_save_libdir="$libdir"
9237       libdir="$alldirs"
9238       eval flag=\"$hardcode_libdir_flag_spec\"
9239       libdir="$acl_save_libdir"
9240       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
9241     else
9242             for found_dir in $rpathdirs; do
9243         acl_save_libdir="$libdir"
9244         libdir="$found_dir"
9245         eval flag=\"$hardcode_libdir_flag_spec\"
9246         libdir="$acl_save_libdir"
9247         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
9248       done
9249     fi
9250   fi
9251   if test "X$ltrpathdirs" != "X"; then
9252             for found_dir in $ltrpathdirs; do
9253       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
9254     done
9255   fi
9256
9257
9258
9259
9260
9261
9262
9263           am_save_CPPFLAGS="$CPPFLAGS"
9264
9265   for element in $INCICONV; do
9266     haveit=
9267     for x in $CPPFLAGS; do
9268
9269   acl_save_prefix="$prefix"
9270   prefix="$acl_final_prefix"
9271   acl_save_exec_prefix="$exec_prefix"
9272   exec_prefix="$acl_final_exec_prefix"
9273   eval x=\"$x\"
9274   exec_prefix="$acl_save_exec_prefix"
9275   prefix="$acl_save_prefix"
9276
9277       if test "X$x" = "X$element"; then
9278         haveit=yes
9279         break
9280       fi
9281     done
9282     if test -z "$haveit"; then
9283       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
9284     fi
9285   done
9286
9287
9288   echo "$as_me:$LINENO: checking for iconv" >&5
9289 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
9290 if test "${am_cv_func_iconv+set}" = set; then
9291   echo $ECHO_N "(cached) $ECHO_C" >&6
9292 else
9293
9294     am_cv_func_iconv="no, consider installing GNU libiconv"
9295     am_cv_lib_iconv=no
9296     cat >conftest.$ac_ext <<_ACEOF
9297 /* confdefs.h.  */
9298 _ACEOF
9299 cat confdefs.h >>conftest.$ac_ext
9300 cat >>conftest.$ac_ext <<_ACEOF
9301 /* end confdefs.h.  */
9302 #include <stdlib.h>
9303 #include <iconv.h>
9304 int
9305 main ()
9306 {
9307 iconv_t cd = iconv_open("","");
9308        iconv(cd,NULL,NULL,NULL,NULL);
9309        iconv_close(cd);
9310   ;
9311   return 0;
9312 }
9313 _ACEOF
9314 rm -f conftest.$ac_objext conftest$ac_exeext
9315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9316   (eval $ac_link) 2>conftest.er1
9317   ac_status=$?
9318   grep -v '^ *+' conftest.er1 >conftest.err
9319   rm -f conftest.er1
9320   cat conftest.err >&5
9321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9322   (exit $ac_status); } &&
9323          { ac_try='test -z "$ac_c_werror_flag"
9324                          || test ! -s conftest.err'
9325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9326   (eval $ac_try) 2>&5
9327   ac_status=$?
9328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9329   (exit $ac_status); }; } &&
9330          { ac_try='test -s conftest$ac_exeext'
9331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9332   (eval $ac_try) 2>&5
9333   ac_status=$?
9334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9335   (exit $ac_status); }; }; then
9336   am_cv_func_iconv=yes
9337 else
9338   echo "$as_me: failed program was:" >&5
9339 sed 's/^/| /' conftest.$ac_ext >&5
9340
9341 fi
9342 rm -f conftest.err conftest.$ac_objext \
9343       conftest$ac_exeext conftest.$ac_ext
9344     if test "$am_cv_func_iconv" != yes; then
9345       am_save_LIBS="$LIBS"
9346       LIBS="$LIBS $LIBICONV"
9347       cat >conftest.$ac_ext <<_ACEOF
9348 /* confdefs.h.  */
9349 _ACEOF
9350 cat confdefs.h >>conftest.$ac_ext
9351 cat >>conftest.$ac_ext <<_ACEOF
9352 /* end confdefs.h.  */
9353 #include <stdlib.h>
9354 #include <iconv.h>
9355 int
9356 main ()
9357 {
9358 iconv_t cd = iconv_open("","");
9359          iconv(cd,NULL,NULL,NULL,NULL);
9360          iconv_close(cd);
9361   ;
9362   return 0;
9363 }
9364 _ACEOF
9365 rm -f conftest.$ac_objext conftest$ac_exeext
9366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9367   (eval $ac_link) 2>conftest.er1
9368   ac_status=$?
9369   grep -v '^ *+' conftest.er1 >conftest.err
9370   rm -f conftest.er1
9371   cat conftest.err >&5
9372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9373   (exit $ac_status); } &&
9374          { ac_try='test -z "$ac_c_werror_flag"
9375                          || test ! -s conftest.err'
9376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9377   (eval $ac_try) 2>&5
9378   ac_status=$?
9379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9380   (exit $ac_status); }; } &&
9381          { ac_try='test -s conftest$ac_exeext'
9382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9383   (eval $ac_try) 2>&5
9384   ac_status=$?
9385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9386   (exit $ac_status); }; }; then
9387   am_cv_lib_iconv=yes
9388         am_cv_func_iconv=yes
9389 else
9390   echo "$as_me: failed program was:" >&5
9391 sed 's/^/| /' conftest.$ac_ext >&5
9392
9393 fi
9394 rm -f conftest.err conftest.$ac_objext \
9395       conftest$ac_exeext conftest.$ac_ext
9396       LIBS="$am_save_LIBS"
9397     fi
9398
9399 fi
9400 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
9401 echo "${ECHO_T}$am_cv_func_iconv" >&6
9402   if test "$am_cv_func_iconv" = yes; then
9403
9404 cat >>confdefs.h <<\_ACEOF
9405 #define HAVE_ICONV 1
9406 _ACEOF
9407
9408   fi
9409   if test "$am_cv_lib_iconv" = yes; then
9410     echo "$as_me:$LINENO: checking how to link with libiconv" >&5
9411 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
9412     echo "$as_me:$LINENO: result: $LIBICONV" >&5
9413 echo "${ECHO_T}$LIBICONV" >&6
9414   else
9415             CPPFLAGS="$am_save_CPPFLAGS"
9416     LIBICONV=
9417     LTLIBICONV=
9418   fi
9419
9420
9421
9422   if test "$am_cv_func_iconv" = yes; then
9423     echo "$as_me:$LINENO: checking for iconv declaration" >&5
9424 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
9425     if test "${am_cv_proto_iconv+set}" = set; then
9426   echo $ECHO_N "(cached) $ECHO_C" >&6
9427 else
9428
9429       cat >conftest.$ac_ext <<_ACEOF
9430 /* confdefs.h.  */
9431 _ACEOF
9432 cat confdefs.h >>conftest.$ac_ext
9433 cat >>conftest.$ac_ext <<_ACEOF
9434 /* end confdefs.h.  */
9435
9436 #include <stdlib.h>
9437 #include <iconv.h>
9438 extern
9439 #ifdef __cplusplus
9440 "C"
9441 #endif
9442 #if defined(__STDC__) || defined(__cplusplus)
9443 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
9444 #else
9445 size_t iconv();
9446 #endif
9447
9448 int
9449 main ()
9450 {
9451
9452   ;
9453   return 0;
9454 }
9455 _ACEOF
9456 rm -f conftest.$ac_objext
9457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9458   (eval $ac_compile) 2>conftest.er1
9459   ac_status=$?
9460   grep -v '^ *+' conftest.er1 >conftest.err
9461   rm -f conftest.er1
9462   cat conftest.err >&5
9463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9464   (exit $ac_status); } &&
9465          { ac_try='test -z "$ac_c_werror_flag"
9466                          || test ! -s conftest.err'
9467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9468   (eval $ac_try) 2>&5
9469   ac_status=$?
9470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9471   (exit $ac_status); }; } &&
9472          { ac_try='test -s conftest.$ac_objext'
9473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9474   (eval $ac_try) 2>&5
9475   ac_status=$?
9476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9477   (exit $ac_status); }; }; then
9478   am_cv_proto_iconv_arg1=""
9479 else
9480   echo "$as_me: failed program was:" >&5
9481 sed 's/^/| /' conftest.$ac_ext >&5
9482
9483 am_cv_proto_iconv_arg1="const"
9484 fi
9485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9486       am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
9487 fi
9488
9489     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
9490     echo "$as_me:$LINENO: result: ${ac_t:-
9491          }$am_cv_proto_iconv" >&5
9492 echo "${ECHO_T}${ac_t:-
9493          }$am_cv_proto_iconv" >&6
9494
9495 cat >>confdefs.h <<_ACEOF
9496 #define ICONV_CONST $am_cv_proto_iconv_arg1
9497 _ACEOF
9498
9499   fi
9500
9501
9502     if test "x${GCC}" = xyes; then
9503
9504             WARNING_CFLAGS='-pedantic -W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long'
9505
9506
9507             STRICT_WARNING_CFLAGS=-Wstrict-prototypes
9508
9509
9510             ERROR_CFLAGS=
9511     if test "x${ENABLE_WERROR}" = xyes; then
9512        ERROR_CFLAGS='-Werror'
9513     fi
9514
9515   fi
9516
9517     if test "x${COMPILE_XMLJ}" = xyes; then
9518
9519   succeeded=no
9520
9521   if test -z "$PKG_CONFIG"; then
9522     # Extract the first word of "pkg-config", so it can be a program name with args.
9523 set dummy pkg-config; ac_word=$2
9524 echo "$as_me:$LINENO: checking for $ac_word" >&5
9525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9526 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9527   echo $ECHO_N "(cached) $ECHO_C" >&6
9528 else
9529   case $PKG_CONFIG in
9530   [\\/]* | ?:[\\/]*)
9531   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9532   ;;
9533   *)
9534   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9535 for as_dir in $PATH
9536 do
9537   IFS=$as_save_IFS
9538   test -z "$as_dir" && as_dir=.
9539   for ac_exec_ext in '' $ac_executable_extensions; do
9540   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9541     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9542     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9543     break 2
9544   fi
9545 done
9546 done
9547
9548   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
9549   ;;
9550 esac
9551 fi
9552 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9553
9554 if test -n "$PKG_CONFIG"; then
9555   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9556 echo "${ECHO_T}$PKG_CONFIG" >&6
9557 else
9558   echo "$as_me:$LINENO: result: no" >&5
9559 echo "${ECHO_T}no" >&6
9560 fi
9561
9562   fi
9563
9564   if test "$PKG_CONFIG" = "no" ; then
9565      echo "*** The pkg-config script could not be found. Make sure it is"
9566      echo "*** in your path, or set the PKG_CONFIG environment variable"
9567      echo "*** to the full path to pkg-config."
9568      echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
9569   else
9570      PKG_CONFIG_MIN_VERSION=0.9.0
9571      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9572         echo "$as_me:$LINENO: checking for libxml-2.0 >= 2.6.8" >&5
9573 echo $ECHO_N "checking for libxml-2.0 >= 2.6.8... $ECHO_C" >&6
9574
9575         if $PKG_CONFIG --exists "libxml-2.0 >= 2.6.8" ; then
9576             echo "$as_me:$LINENO: result: yes" >&5
9577 echo "${ECHO_T}yes" >&6
9578             succeeded=yes
9579
9580             echo "$as_me:$LINENO: checking XML_CFLAGS" >&5
9581 echo $ECHO_N "checking XML_CFLAGS... $ECHO_C" >&6
9582             XML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.8"`
9583             echo "$as_me:$LINENO: result: $XML_CFLAGS" >&5
9584 echo "${ECHO_T}$XML_CFLAGS" >&6
9585
9586             echo "$as_me:$LINENO: checking XML_LIBS" >&5
9587 echo $ECHO_N "checking XML_LIBS... $ECHO_C" >&6
9588             XML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.8"`
9589             echo "$as_me:$LINENO: result: $XML_LIBS" >&5
9590 echo "${ECHO_T}$XML_LIBS" >&6
9591         else
9592             XML_CFLAGS=""
9593             XML_LIBS=""
9594             ## If we have a custom action on failure, don't print errors, but
9595             ## do set a variable so people can do so.
9596             XML_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= 2.6.8"`
9597             echo $XML_PKG_ERRORS
9598         fi
9599
9600
9601
9602      else
9603         echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
9604         echo "*** See http://www.freedesktop.org/software/pkgconfig"
9605      fi
9606   fi
9607
9608   if test $succeeded = yes; then
9609      :
9610   else
9611      { { echo "$as_me:$LINENO: error: Library requirements (libxml-2.0 >= 2.6.8) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
9612 echo "$as_me: error: Library requirements (libxml-2.0 >= 2.6.8) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
9613    { (exit 1); exit 1; }; }
9614   fi
9615
9616
9617   succeeded=no
9618
9619   if test -z "$PKG_CONFIG"; then
9620     # Extract the first word of "pkg-config", so it can be a program name with args.
9621 set dummy pkg-config; ac_word=$2
9622 echo "$as_me:$LINENO: checking for $ac_word" >&5
9623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9624 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9625   echo $ECHO_N "(cached) $ECHO_C" >&6
9626 else
9627   case $PKG_CONFIG in
9628   [\\/]* | ?:[\\/]*)
9629   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9630   ;;
9631   *)
9632   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9633 for as_dir in $PATH
9634 do
9635   IFS=$as_save_IFS
9636   test -z "$as_dir" && as_dir=.
9637   for ac_exec_ext in '' $ac_executable_extensions; do
9638   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9639     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9640     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9641     break 2
9642   fi
9643 done
9644 done
9645
9646   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
9647   ;;
9648 esac
9649 fi
9650 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9651
9652 if test -n "$PKG_CONFIG"; then
9653   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9654 echo "${ECHO_T}$PKG_CONFIG" >&6
9655 else
9656   echo "$as_me:$LINENO: result: no" >&5
9657 echo "${ECHO_T}no" >&6
9658 fi
9659
9660   fi
9661
9662   if test "$PKG_CONFIG" = "no" ; then
9663      echo "*** The pkg-config script could not be found. Make sure it is"
9664      echo "*** in your path, or set the PKG_CONFIG environment variable"
9665      echo "*** to the full path to pkg-config."
9666      echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
9667   else
9668      PKG_CONFIG_MIN_VERSION=0.9.0
9669      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9670         echo "$as_me:$LINENO: checking for libxslt >= 1.1.11" >&5
9671 echo $ECHO_N "checking for libxslt >= 1.1.11... $ECHO_C" >&6
9672
9673         if $PKG_CONFIG --exists "libxslt >= 1.1.11" ; then
9674             echo "$as_me:$LINENO: result: yes" >&5
9675 echo "${ECHO_T}yes" >&6
9676             succeeded=yes
9677
9678             echo "$as_me:$LINENO: checking XSLT_CFLAGS" >&5
9679 echo $ECHO_N "checking XSLT_CFLAGS... $ECHO_C" >&6
9680             XSLT_CFLAGS=`$PKG_CONFIG --cflags "libxslt >= 1.1.11"`
9681             echo "$as_me:$LINENO: result: $XSLT_CFLAGS" >&5
9682 echo "${ECHO_T}$XSLT_CFLAGS" >&6
9683
9684             echo "$as_me:$LINENO: checking XSLT_LIBS" >&5
9685 echo $ECHO_N "checking XSLT_LIBS... $ECHO_C" >&6
9686             XSLT_LIBS=`$PKG_CONFIG --libs "libxslt >= 1.1.11"`
9687             echo "$as_me:$LINENO: result: $XSLT_LIBS" >&5
9688 echo "${ECHO_T}$XSLT_LIBS" >&6
9689         else
9690             XSLT_CFLAGS=""
9691             XSLT_LIBS=""
9692             ## If we have a custom action on failure, don't print errors, but
9693             ## do set a variable so people can do so.
9694             XSLT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxslt >= 1.1.11"`
9695             echo $XSLT_PKG_ERRORS
9696         fi
9697
9698
9699
9700      else
9701         echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
9702         echo "*** See http://www.freedesktop.org/software/pkgconfig"
9703      fi
9704   fi
9705
9706   if test $succeeded = yes; then
9707      :
9708   else
9709      { { echo "$as_me:$LINENO: error: Library requirements (libxslt >= 1.1.11) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
9710 echo "$as_me: error: Library requirements (libxslt >= 1.1.11) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
9711    { (exit 1); exit 1; }; }
9712   fi
9713
9714
9715
9716
9717
9718   fi
9719
9720     if test "x${COMPILE_GTK_PEER}" = xyes; then
9721     echo "$as_me:$LINENO: checking for X" >&5
9722 echo $ECHO_N "checking for X... $ECHO_C" >&6
9723
9724
9725 # Check whether --with-x or --without-x was given.
9726 if test "${with_x+set}" = set; then
9727   withval="$with_x"
9728
9729 fi;
9730 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9731 if test "x$with_x" = xno; then
9732   # The user explicitly disabled X.
9733   have_x=disabled
9734 else
9735   if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
9736     # Both variables are already set.
9737     have_x=yes
9738   else
9739     if test "${ac_cv_have_x+set}" = set; then
9740   echo $ECHO_N "(cached) $ECHO_C" >&6
9741 else
9742   # One or both of the vars are not set, and there is no cached value.
9743 ac_x_includes=no ac_x_libraries=no
9744 rm -fr conftest.dir
9745 if mkdir conftest.dir; then
9746   cd conftest.dir
9747   # Make sure to not put "make" in the Imakefile rules, since we grep it out.
9748   cat >Imakefile <<'_ACEOF'
9749 acfindx:
9750         @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
9751 _ACEOF
9752   if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
9753     # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9754     eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
9755     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9756     for ac_extension in a so sl; do
9757       if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
9758          test -f $ac_im_libdir/libX11.$ac_extension; then
9759         ac_im_usrlibdir=$ac_im_libdir; break
9760       fi
9761     done
9762     # Screen out bogus values from the imake configuration.  They are
9763     # bogus both because they are the default anyway, and because
9764     # using them would break gcc on systems where it needs fixed includes.
9765     case $ac_im_incroot in
9766         /usr/include) ;;
9767         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9768     esac
9769     case $ac_im_usrlibdir in
9770         /usr/lib | /lib) ;;
9771         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9772     esac
9773   fi
9774   cd ..
9775   rm -fr conftest.dir
9776 fi
9777
9778 # Standard set of common directories for X headers.
9779 # Check X11 before X11Rn because it is often a symlink to the current release.
9780 ac_x_header_dirs='
9781 /usr/X11/include
9782 /usr/X11R6/include
9783 /usr/X11R5/include
9784 /usr/X11R4/include
9785
9786 /usr/include/X11
9787 /usr/include/X11R6
9788 /usr/include/X11R5
9789 /usr/include/X11R4
9790
9791 /usr/local/X11/include
9792 /usr/local/X11R6/include
9793 /usr/local/X11R5/include
9794 /usr/local/X11R4/include
9795
9796 /usr/local/include/X11
9797 /usr/local/include/X11R6
9798 /usr/local/include/X11R5
9799 /usr/local/include/X11R4
9800
9801 /usr/X386/include
9802 /usr/x386/include
9803 /usr/XFree86/include/X11
9804
9805 /usr/include
9806 /usr/local/include
9807 /usr/unsupported/include
9808 /usr/athena/include
9809 /usr/local/x11r5/include
9810 /usr/lpp/Xamples/include
9811
9812 /usr/openwin/include
9813 /usr/openwin/share/include'
9814
9815 if test "$ac_x_includes" = no; then
9816   # Guess where to find include files, by looking for Intrinsic.h.
9817   # First, try using that file with no special directory specified.
9818   cat >conftest.$ac_ext <<_ACEOF
9819 /* confdefs.h.  */
9820 _ACEOF
9821 cat confdefs.h >>conftest.$ac_ext
9822 cat >>conftest.$ac_ext <<_ACEOF
9823 /* end confdefs.h.  */
9824 #include <X11/Intrinsic.h>
9825 _ACEOF
9826 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9827   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9828   ac_status=$?
9829   grep -v '^ *+' conftest.er1 >conftest.err
9830   rm -f conftest.er1
9831   cat conftest.err >&5
9832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9833   (exit $ac_status); } >/dev/null; then
9834   if test -s conftest.err; then
9835     ac_cpp_err=$ac_c_preproc_warn_flag
9836     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9837   else
9838     ac_cpp_err=
9839   fi
9840 else
9841   ac_cpp_err=yes
9842 fi
9843 if test -z "$ac_cpp_err"; then
9844   # We can compile using X headers with no special include directory.
9845 ac_x_includes=
9846 else
9847   echo "$as_me: failed program was:" >&5
9848 sed 's/^/| /' conftest.$ac_ext >&5
9849
9850   for ac_dir in $ac_x_header_dirs; do
9851   if test -r "$ac_dir/X11/Intrinsic.h"; then
9852     ac_x_includes=$ac_dir
9853     break
9854   fi
9855 done
9856 fi
9857 rm -f conftest.err conftest.$ac_ext
9858 fi # $ac_x_includes = no
9859
9860 if test "$ac_x_libraries" = no; then
9861   # Check for the libraries.
9862   # See if we find them without any special options.
9863   # Don't add to $LIBS permanently.
9864   ac_save_LIBS=$LIBS
9865   LIBS="-lXt $LIBS"
9866   cat >conftest.$ac_ext <<_ACEOF
9867 /* confdefs.h.  */
9868 _ACEOF
9869 cat confdefs.h >>conftest.$ac_ext
9870 cat >>conftest.$ac_ext <<_ACEOF
9871 /* end confdefs.h.  */
9872 #include <X11/Intrinsic.h>
9873 int
9874 main ()
9875 {
9876 XtMalloc (0)
9877   ;
9878   return 0;
9879 }
9880 _ACEOF
9881 rm -f conftest.$ac_objext conftest$ac_exeext
9882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9883   (eval $ac_link) 2>conftest.er1
9884   ac_status=$?
9885   grep -v '^ *+' conftest.er1 >conftest.err
9886   rm -f conftest.er1
9887   cat conftest.err >&5
9888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9889   (exit $ac_status); } &&
9890          { ac_try='test -z "$ac_c_werror_flag"
9891                          || test ! -s conftest.err'
9892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9893   (eval $ac_try) 2>&5
9894   ac_status=$?
9895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9896   (exit $ac_status); }; } &&
9897          { ac_try='test -s conftest$ac_exeext'
9898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9899   (eval $ac_try) 2>&5
9900   ac_status=$?
9901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9902   (exit $ac_status); }; }; then
9903   LIBS=$ac_save_LIBS
9904 # We can link X programs with no special library path.
9905 ac_x_libraries=
9906 else
9907   echo "$as_me: failed program was:" >&5
9908 sed 's/^/| /' conftest.$ac_ext >&5
9909
9910 LIBS=$ac_save_LIBS
9911 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9912 do
9913   # Don't even attempt the hair of trying to link an X program!
9914   for ac_extension in a so sl; do
9915     if test -r $ac_dir/libXt.$ac_extension; then
9916       ac_x_libraries=$ac_dir
9917       break 2
9918     fi
9919   done
9920 done
9921 fi
9922 rm -f conftest.err conftest.$ac_objext \
9923       conftest$ac_exeext conftest.$ac_ext
9924 fi # $ac_x_libraries = no
9925
9926 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
9927   # Didn't find X anywhere.  Cache the known absence of X.
9928   ac_cv_have_x="have_x=no"
9929 else
9930   # Record where we found X for the cache.
9931   ac_cv_have_x="have_x=yes \
9932                 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
9933 fi
9934 fi
9935
9936   fi
9937   eval "$ac_cv_have_x"
9938 fi # $with_x != no
9939
9940 if test "$have_x" != yes; then
9941   echo "$as_me:$LINENO: result: $have_x" >&5
9942 echo "${ECHO_T}$have_x" >&6
9943   no_x=yes
9944 else
9945   # If each of the values was on the command line, it overrides each guess.
9946   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9947   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9948   # Update the cache value to reflect the command line values.
9949   ac_cv_have_x="have_x=yes \
9950                 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9951   echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
9952 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
9953 fi
9954
9955 if test "$no_x" = yes; then
9956   # Not all programs may use this symbol, but it does not hurt to define it.
9957
9958 cat >>confdefs.h <<\_ACEOF
9959 #define X_DISPLAY_MISSING 1
9960 _ACEOF
9961
9962   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9963 else
9964   if test -n "$x_includes"; then
9965     X_CFLAGS="$X_CFLAGS -I$x_includes"
9966   fi
9967
9968   # It would also be nice to do this for all -L options, not just this one.
9969   if test -n "$x_libraries"; then
9970     X_LIBS="$X_LIBS -L$x_libraries"
9971     # For Solaris; some versions of Sun CC require a space after -R and
9972     # others require no space.  Words are not sufficient . . . .
9973     case `(uname -sr) 2>/dev/null` in
9974     "SunOS 5"*)
9975       echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
9976 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
9977       ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9978       cat >conftest.$ac_ext <<_ACEOF
9979 /* confdefs.h.  */
9980 _ACEOF
9981 cat confdefs.h >>conftest.$ac_ext
9982 cat >>conftest.$ac_ext <<_ACEOF
9983 /* end confdefs.h.  */
9984
9985 int
9986 main ()
9987 {
9988
9989   ;
9990   return 0;
9991 }
9992 _ACEOF
9993 rm -f conftest.$ac_objext conftest$ac_exeext
9994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9995   (eval $ac_link) 2>conftest.er1
9996   ac_status=$?
9997   grep -v '^ *+' conftest.er1 >conftest.err
9998   rm -f conftest.er1
9999   cat conftest.err >&5
10000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10001   (exit $ac_status); } &&
10002          { ac_try='test -z "$ac_c_werror_flag"
10003                          || test ! -s conftest.err'
10004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10005   (eval $ac_try) 2>&5
10006   ac_status=$?
10007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10008   (exit $ac_status); }; } &&
10009          { ac_try='test -s conftest$ac_exeext'
10010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10011   (eval $ac_try) 2>&5
10012   ac_status=$?
10013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10014   (exit $ac_status); }; }; then
10015   ac_R_nospace=yes
10016 else
10017   echo "$as_me: failed program was:" >&5
10018 sed 's/^/| /' conftest.$ac_ext >&5
10019
10020 ac_R_nospace=no
10021 fi
10022 rm -f conftest.err conftest.$ac_objext \
10023       conftest$ac_exeext conftest.$ac_ext
10024       if test $ac_R_nospace = yes; then
10025         echo "$as_me:$LINENO: result: no" >&5
10026 echo "${ECHO_T}no" >&6
10027         X_LIBS="$X_LIBS -R$x_libraries"
10028       else
10029         LIBS="$ac_xsave_LIBS -R $x_libraries"
10030         cat >conftest.$ac_ext <<_ACEOF
10031 /* confdefs.h.  */
10032 _ACEOF
10033 cat confdefs.h >>conftest.$ac_ext
10034 cat >>conftest.$ac_ext <<_ACEOF
10035 /* end confdefs.h.  */
10036
10037 int
10038 main ()
10039 {
10040
10041   ;
10042   return 0;
10043 }
10044 _ACEOF
10045 rm -f conftest.$ac_objext conftest$ac_exeext
10046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10047   (eval $ac_link) 2>conftest.er1
10048   ac_status=$?
10049   grep -v '^ *+' conftest.er1 >conftest.err
10050   rm -f conftest.er1
10051   cat conftest.err >&5
10052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10053   (exit $ac_status); } &&
10054          { ac_try='test -z "$ac_c_werror_flag"
10055                          || test ! -s conftest.err'
10056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10057   (eval $ac_try) 2>&5
10058   ac_status=$?
10059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10060   (exit $ac_status); }; } &&
10061          { ac_try='test -s conftest$ac_exeext'
10062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10063   (eval $ac_try) 2>&5
10064   ac_status=$?
10065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10066   (exit $ac_status); }; }; then
10067   ac_R_space=yes
10068 else
10069   echo "$as_me: failed program was:" >&5
10070 sed 's/^/| /' conftest.$ac_ext >&5
10071
10072 ac_R_space=no
10073 fi
10074 rm -f conftest.err conftest.$ac_objext \
10075       conftest$ac_exeext conftest.$ac_ext
10076         if test $ac_R_space = yes; then
10077           echo "$as_me:$LINENO: result: yes" >&5
10078 echo "${ECHO_T}yes" >&6
10079           X_LIBS="$X_LIBS -R $x_libraries"
10080         else
10081           echo "$as_me:$LINENO: result: neither works" >&5
10082 echo "${ECHO_T}neither works" >&6
10083         fi
10084       fi
10085       LIBS=$ac_xsave_LIBS
10086     esac
10087   fi
10088
10089   # Check for system-dependent libraries X programs must link with.
10090   # Do this before checking for the system-independent R6 libraries
10091   # (-lICE), since we may need -lsocket or whatever for X linking.
10092
10093   if test "$ISC" = yes; then
10094     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10095   else
10096     # Martyn Johnson says this is needed for Ultrix, if the X
10097     # libraries were built with DECnet support.  And Karl Berry says
10098     # the Alpha needs dnet_stub (dnet does not exist).
10099     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10100     cat >conftest.$ac_ext <<_ACEOF
10101 /* confdefs.h.  */
10102 _ACEOF
10103 cat confdefs.h >>conftest.$ac_ext
10104 cat >>conftest.$ac_ext <<_ACEOF
10105 /* end confdefs.h.  */
10106
10107 /* Override any gcc2 internal prototype to avoid an error.  */
10108 #ifdef __cplusplus
10109 extern "C"
10110 #endif
10111 /* We use char because int might match the return type of a gcc2
10112    builtin and then its argument prototype would still apply.  */
10113 char XOpenDisplay ();
10114 int
10115 main ()
10116 {
10117 XOpenDisplay ();
10118   ;
10119   return 0;
10120 }
10121 _ACEOF
10122 rm -f conftest.$ac_objext conftest$ac_exeext
10123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10124   (eval $ac_link) 2>conftest.er1
10125   ac_status=$?
10126   grep -v '^ *+' conftest.er1 >conftest.err
10127   rm -f conftest.er1
10128   cat conftest.err >&5
10129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10130   (exit $ac_status); } &&
10131          { ac_try='test -z "$ac_c_werror_flag"
10132                          || test ! -s conftest.err'
10133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10134   (eval $ac_try) 2>&5
10135   ac_status=$?
10136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10137   (exit $ac_status); }; } &&
10138          { ac_try='test -s conftest$ac_exeext'
10139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10140   (eval $ac_try) 2>&5
10141   ac_status=$?
10142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10143   (exit $ac_status); }; }; then
10144   :
10145 else
10146   echo "$as_me: failed program was:" >&5
10147 sed 's/^/| /' conftest.$ac_ext >&5
10148
10149 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
10150 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
10151 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
10152   echo $ECHO_N "(cached) $ECHO_C" >&6
10153 else
10154   ac_check_lib_save_LIBS=$LIBS
10155 LIBS="-ldnet  $LIBS"
10156 cat >conftest.$ac_ext <<_ACEOF
10157 /* confdefs.h.  */
10158 _ACEOF
10159 cat confdefs.h >>conftest.$ac_ext
10160 cat >>conftest.$ac_ext <<_ACEOF
10161 /* end confdefs.h.  */
10162
10163 /* Override any gcc2 internal prototype to avoid an error.  */
10164 #ifdef __cplusplus
10165 extern "C"
10166 #endif
10167 /* We use char because int might match the return type of a gcc2
10168    builtin and then its argument prototype would still apply.  */
10169 char dnet_ntoa ();
10170 int
10171 main ()
10172 {
10173 dnet_ntoa ();
10174   ;
10175   return 0;
10176 }
10177 _ACEOF
10178 rm -f conftest.$ac_objext conftest$ac_exeext
10179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10180   (eval $ac_link) 2>conftest.er1
10181   ac_status=$?
10182   grep -v '^ *+' conftest.er1 >conftest.err
10183   rm -f conftest.er1
10184   cat conftest.err >&5
10185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10186   (exit $ac_status); } &&
10187          { ac_try='test -z "$ac_c_werror_flag"
10188                          || test ! -s conftest.err'
10189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10190   (eval $ac_try) 2>&5
10191   ac_status=$?
10192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10193   (exit $ac_status); }; } &&
10194          { ac_try='test -s conftest$ac_exeext'
10195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10196   (eval $ac_try) 2>&5
10197   ac_status=$?
10198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10199   (exit $ac_status); }; }; then
10200   ac_cv_lib_dnet_dnet_ntoa=yes
10201 else
10202   echo "$as_me: failed program was:" >&5
10203 sed 's/^/| /' conftest.$ac_ext >&5
10204
10205 ac_cv_lib_dnet_dnet_ntoa=no
10206 fi
10207 rm -f conftest.err conftest.$ac_objext \
10208       conftest$ac_exeext conftest.$ac_ext
10209 LIBS=$ac_check_lib_save_LIBS
10210 fi
10211 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10212 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
10213 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
10214   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10215 fi
10216
10217     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10218       echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
10219 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
10220 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
10221   echo $ECHO_N "(cached) $ECHO_C" >&6
10222 else
10223   ac_check_lib_save_LIBS=$LIBS
10224 LIBS="-ldnet_stub  $LIBS"
10225 cat >conftest.$ac_ext <<_ACEOF
10226 /* confdefs.h.  */
10227 _ACEOF
10228 cat confdefs.h >>conftest.$ac_ext
10229 cat >>conftest.$ac_ext <<_ACEOF
10230 /* end confdefs.h.  */
10231
10232 /* Override any gcc2 internal prototype to avoid an error.  */
10233 #ifdef __cplusplus
10234 extern "C"
10235 #endif
10236 /* We use char because int might match the return type of a gcc2
10237    builtin and then its argument prototype would still apply.  */
10238 char dnet_ntoa ();
10239 int
10240 main ()
10241 {
10242 dnet_ntoa ();
10243   ;
10244   return 0;
10245 }
10246 _ACEOF
10247 rm -f conftest.$ac_objext conftest$ac_exeext
10248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10249   (eval $ac_link) 2>conftest.er1
10250   ac_status=$?
10251   grep -v '^ *+' conftest.er1 >conftest.err
10252   rm -f conftest.er1
10253   cat conftest.err >&5
10254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10255   (exit $ac_status); } &&
10256          { ac_try='test -z "$ac_c_werror_flag"
10257                          || test ! -s conftest.err'
10258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10259   (eval $ac_try) 2>&5
10260   ac_status=$?
10261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10262   (exit $ac_status); }; } &&
10263          { ac_try='test -s conftest$ac_exeext'
10264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10265   (eval $ac_try) 2>&5
10266   ac_status=$?
10267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10268   (exit $ac_status); }; }; then
10269   ac_cv_lib_dnet_stub_dnet_ntoa=yes
10270 else
10271   echo "$as_me: failed program was:" >&5
10272 sed 's/^/| /' conftest.$ac_ext >&5
10273
10274 ac_cv_lib_dnet_stub_dnet_ntoa=no
10275 fi
10276 rm -f conftest.err conftest.$ac_objext \
10277       conftest$ac_exeext conftest.$ac_ext
10278 LIBS=$ac_check_lib_save_LIBS
10279 fi
10280 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10281 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
10282 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
10283   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10284 fi
10285
10286     fi
10287 fi
10288 rm -f conftest.err conftest.$ac_objext \
10289       conftest$ac_exeext conftest.$ac_ext
10290     LIBS="$ac_xsave_LIBS"
10291
10292     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10293     # to get the SysV transport functions.
10294     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10295     # needs -lnsl.
10296     # The nsl library prevents programs from opening the X display
10297     # on Irix 5.2, according to T.E. Dickey.
10298     # The functions gethostbyname, getservbyname, and inet_addr are
10299     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10300     echo "$as_me:$LINENO: checking for gethostbyname" >&5
10301 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
10302 if test "${ac_cv_func_gethostbyname+set}" = set; then
10303   echo $ECHO_N "(cached) $ECHO_C" >&6
10304 else
10305   cat >conftest.$ac_ext <<_ACEOF
10306 /* confdefs.h.  */
10307 _ACEOF
10308 cat confdefs.h >>conftest.$ac_ext
10309 cat >>conftest.$ac_ext <<_ACEOF
10310 /* end confdefs.h.  */
10311 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
10312    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10313 #define gethostbyname innocuous_gethostbyname
10314
10315 /* System header to define __stub macros and hopefully few prototypes,
10316     which can conflict with char gethostbyname (); below.
10317     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10318     <limits.h> exists even on freestanding compilers.  */
10319
10320 #ifdef __STDC__
10321 # include <limits.h>
10322 #else
10323 # include <assert.h>
10324 #endif
10325
10326 #undef gethostbyname
10327
10328 /* Override any gcc2 internal prototype to avoid an error.  */
10329 #ifdef __cplusplus
10330 extern "C"
10331 {
10332 #endif
10333 /* We use char because int might match the return type of a gcc2
10334    builtin and then its argument prototype would still apply.  */
10335 char gethostbyname ();
10336 /* The GNU C library defines this for functions which it implements
10337     to always fail with ENOSYS.  Some functions are actually named
10338     something starting with __ and the normal name is an alias.  */
10339 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
10340 choke me
10341 #else
10342 char (*f) () = gethostbyname;
10343 #endif
10344 #ifdef __cplusplus
10345 }
10346 #endif
10347
10348 int
10349 main ()
10350 {
10351 return f != gethostbyname;
10352   ;
10353   return 0;
10354 }
10355 _ACEOF
10356 rm -f conftest.$ac_objext conftest$ac_exeext
10357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10358   (eval $ac_link) 2>conftest.er1
10359   ac_status=$?
10360   grep -v '^ *+' conftest.er1 >conftest.err
10361   rm -f conftest.er1
10362   cat conftest.err >&5
10363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10364   (exit $ac_status); } &&
10365          { ac_try='test -z "$ac_c_werror_flag"
10366                          || test ! -s conftest.err'
10367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10368   (eval $ac_try) 2>&5
10369   ac_status=$?
10370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10371   (exit $ac_status); }; } &&
10372          { ac_try='test -s conftest$ac_exeext'
10373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10374   (eval $ac_try) 2>&5
10375   ac_status=$?
10376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10377   (exit $ac_status); }; }; then
10378   ac_cv_func_gethostbyname=yes
10379 else
10380   echo "$as_me: failed program was:" >&5
10381 sed 's/^/| /' conftest.$ac_ext >&5
10382
10383 ac_cv_func_gethostbyname=no
10384 fi
10385 rm -f conftest.err conftest.$ac_objext \
10386       conftest$ac_exeext conftest.$ac_ext
10387 fi
10388 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
10389 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
10390
10391     if test $ac_cv_func_gethostbyname = no; then
10392       echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
10393 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
10394 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
10395   echo $ECHO_N "(cached) $ECHO_C" >&6
10396 else
10397   ac_check_lib_save_LIBS=$LIBS
10398 LIBS="-lnsl  $LIBS"
10399 cat >conftest.$ac_ext <<_ACEOF
10400 /* confdefs.h.  */
10401 _ACEOF
10402 cat confdefs.h >>conftest.$ac_ext
10403 cat >>conftest.$ac_ext <<_ACEOF
10404 /* end confdefs.h.  */
10405
10406 /* Override any gcc2 internal prototype to avoid an error.  */
10407 #ifdef __cplusplus
10408 extern "C"
10409 #endif
10410 /* We use char because int might match the return type of a gcc2
10411    builtin and then its argument prototype would still apply.  */
10412 char gethostbyname ();
10413 int
10414 main ()
10415 {
10416 gethostbyname ();
10417   ;
10418   return 0;
10419 }
10420 _ACEOF
10421 rm -f conftest.$ac_objext conftest$ac_exeext
10422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10423   (eval $ac_link) 2>conftest.er1
10424   ac_status=$?
10425   grep -v '^ *+' conftest.er1 >conftest.err
10426   rm -f conftest.er1
10427   cat conftest.err >&5
10428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10429   (exit $ac_status); } &&
10430          { ac_try='test -z "$ac_c_werror_flag"
10431                          || test ! -s conftest.err'
10432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10433   (eval $ac_try) 2>&5
10434   ac_status=$?
10435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436   (exit $ac_status); }; } &&
10437          { ac_try='test -s conftest$ac_exeext'
10438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10439   (eval $ac_try) 2>&5
10440   ac_status=$?
10441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10442   (exit $ac_status); }; }; then
10443   ac_cv_lib_nsl_gethostbyname=yes
10444 else
10445   echo "$as_me: failed program was:" >&5
10446 sed 's/^/| /' conftest.$ac_ext >&5
10447
10448 ac_cv_lib_nsl_gethostbyname=no
10449 fi
10450 rm -f conftest.err conftest.$ac_objext \
10451       conftest$ac_exeext conftest.$ac_ext
10452 LIBS=$ac_check_lib_save_LIBS
10453 fi
10454 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
10455 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
10456 if test $ac_cv_lib_nsl_gethostbyname = yes; then
10457   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10458 fi
10459
10460       if test $ac_cv_lib_nsl_gethostbyname = no; then
10461         echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
10462 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
10463 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
10464   echo $ECHO_N "(cached) $ECHO_C" >&6
10465 else
10466   ac_check_lib_save_LIBS=$LIBS
10467 LIBS="-lbsd  $LIBS"
10468 cat >conftest.$ac_ext <<_ACEOF
10469 /* confdefs.h.  */
10470 _ACEOF
10471 cat confdefs.h >>conftest.$ac_ext
10472 cat >>conftest.$ac_ext <<_ACEOF
10473 /* end confdefs.h.  */
10474
10475 /* Override any gcc2 internal prototype to avoid an error.  */
10476 #ifdef __cplusplus
10477 extern "C"
10478 #endif
10479 /* We use char because int might match the return type of a gcc2
10480    builtin and then its argument prototype would still apply.  */
10481 char gethostbyname ();
10482 int
10483 main ()
10484 {
10485 gethostbyname ();
10486   ;
10487   return 0;
10488 }
10489 _ACEOF
10490 rm -f conftest.$ac_objext conftest$ac_exeext
10491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10492   (eval $ac_link) 2>conftest.er1
10493   ac_status=$?
10494   grep -v '^ *+' conftest.er1 >conftest.err
10495   rm -f conftest.er1
10496   cat conftest.err >&5
10497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10498   (exit $ac_status); } &&
10499          { ac_try='test -z "$ac_c_werror_flag"
10500                          || test ! -s conftest.err'
10501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10502   (eval $ac_try) 2>&5
10503   ac_status=$?
10504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10505   (exit $ac_status); }; } &&
10506          { ac_try='test -s conftest$ac_exeext'
10507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10508   (eval $ac_try) 2>&5
10509   ac_status=$?
10510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10511   (exit $ac_status); }; }; then
10512   ac_cv_lib_bsd_gethostbyname=yes
10513 else
10514   echo "$as_me: failed program was:" >&5
10515 sed 's/^/| /' conftest.$ac_ext >&5
10516
10517 ac_cv_lib_bsd_gethostbyname=no
10518 fi
10519 rm -f conftest.err conftest.$ac_objext \
10520       conftest$ac_exeext conftest.$ac_ext
10521 LIBS=$ac_check_lib_save_LIBS
10522 fi
10523 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
10524 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
10525 if test $ac_cv_lib_bsd_gethostbyname = yes; then
10526   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
10527 fi
10528
10529       fi
10530     fi
10531
10532     # lieder@skyler.mavd.honeywell.com says without -lsocket,
10533     # socket/setsockopt and other routines are undefined under SCO ODT
10534     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
10535     # on later versions), says Simon Leinen: it contains gethostby*
10536     # variants that don't use the name server (or something).  -lsocket
10537     # must be given before -lnsl if both are needed.  We assume that
10538     # if connect needs -lnsl, so does gethostbyname.
10539     echo "$as_me:$LINENO: checking for connect" >&5
10540 echo $ECHO_N "checking for connect... $ECHO_C" >&6
10541 if test "${ac_cv_func_connect+set}" = set; then
10542   echo $ECHO_N "(cached) $ECHO_C" >&6
10543 else
10544   cat >conftest.$ac_ext <<_ACEOF
10545 /* confdefs.h.  */
10546 _ACEOF
10547 cat confdefs.h >>conftest.$ac_ext
10548 cat >>conftest.$ac_ext <<_ACEOF
10549 /* end confdefs.h.  */
10550 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
10551    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10552 #define connect innocuous_connect
10553
10554 /* System header to define __stub macros and hopefully few prototypes,
10555     which can conflict with char connect (); below.
10556     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10557     <limits.h> exists even on freestanding compilers.  */
10558
10559 #ifdef __STDC__
10560 # include <limits.h>
10561 #else
10562 # include <assert.h>
10563 #endif
10564
10565 #undef connect
10566
10567 /* Override any gcc2 internal prototype to avoid an error.  */
10568 #ifdef __cplusplus
10569 extern "C"
10570 {
10571 #endif
10572 /* We use char because int might match the return type of a gcc2
10573    builtin and then its argument prototype would still apply.  */
10574 char connect ();
10575 /* The GNU C library defines this for functions which it implements
10576     to always fail with ENOSYS.  Some functions are actually named
10577     something starting with __ and the normal name is an alias.  */
10578 #if defined (__stub_connect) || defined (__stub___connect)
10579 choke me
10580 #else
10581 char (*f) () = connect;
10582 #endif
10583 #ifdef __cplusplus
10584 }
10585 #endif
10586
10587 int
10588 main ()
10589 {
10590 return f != connect;
10591   ;
10592   return 0;
10593 }
10594 _ACEOF
10595 rm -f conftest.$ac_objext conftest$ac_exeext
10596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10597   (eval $ac_link) 2>conftest.er1
10598   ac_status=$?
10599   grep -v '^ *+' conftest.er1 >conftest.err
10600   rm -f conftest.er1
10601   cat conftest.err >&5
10602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10603   (exit $ac_status); } &&
10604          { ac_try='test -z "$ac_c_werror_flag"
10605                          || test ! -s conftest.err'
10606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10607   (eval $ac_try) 2>&5
10608   ac_status=$?
10609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10610   (exit $ac_status); }; } &&
10611          { ac_try='test -s conftest$ac_exeext'
10612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10613   (eval $ac_try) 2>&5
10614   ac_status=$?
10615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10616   (exit $ac_status); }; }; then
10617   ac_cv_func_connect=yes
10618 else
10619   echo "$as_me: failed program was:" >&5
10620 sed 's/^/| /' conftest.$ac_ext >&5
10621
10622 ac_cv_func_connect=no
10623 fi
10624 rm -f conftest.err conftest.$ac_objext \
10625       conftest$ac_exeext conftest.$ac_ext
10626 fi
10627 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
10628 echo "${ECHO_T}$ac_cv_func_connect" >&6
10629
10630     if test $ac_cv_func_connect = no; then
10631       echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
10632 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
10633 if test "${ac_cv_lib_socket_connect+set}" = set; then
10634   echo $ECHO_N "(cached) $ECHO_C" >&6
10635 else
10636   ac_check_lib_save_LIBS=$LIBS
10637 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
10638 cat >conftest.$ac_ext <<_ACEOF
10639 /* confdefs.h.  */
10640 _ACEOF
10641 cat confdefs.h >>conftest.$ac_ext
10642 cat >>conftest.$ac_ext <<_ACEOF
10643 /* end confdefs.h.  */
10644
10645 /* Override any gcc2 internal prototype to avoid an error.  */
10646 #ifdef __cplusplus
10647 extern "C"
10648 #endif
10649 /* We use char because int might match the return type of a gcc2
10650    builtin and then its argument prototype would still apply.  */
10651 char connect ();
10652 int
10653 main ()
10654 {
10655 connect ();
10656   ;
10657   return 0;
10658 }
10659 _ACEOF
10660 rm -f conftest.$ac_objext conftest$ac_exeext
10661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10662   (eval $ac_link) 2>conftest.er1
10663   ac_status=$?
10664   grep -v '^ *+' conftest.er1 >conftest.err
10665   rm -f conftest.er1
10666   cat conftest.err >&5
10667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10668   (exit $ac_status); } &&
10669          { ac_try='test -z "$ac_c_werror_flag"
10670                          || test ! -s conftest.err'
10671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10672   (eval $ac_try) 2>&5
10673   ac_status=$?
10674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10675   (exit $ac_status); }; } &&
10676          { ac_try='test -s conftest$ac_exeext'
10677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10678   (eval $ac_try) 2>&5
10679   ac_status=$?
10680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10681   (exit $ac_status); }; }; then
10682   ac_cv_lib_socket_connect=yes
10683 else
10684   echo "$as_me: failed program was:" >&5
10685 sed 's/^/| /' conftest.$ac_ext >&5
10686
10687 ac_cv_lib_socket_connect=no
10688 fi
10689 rm -f conftest.err conftest.$ac_objext \
10690       conftest$ac_exeext conftest.$ac_ext
10691 LIBS=$ac_check_lib_save_LIBS
10692 fi
10693 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
10694 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
10695 if test $ac_cv_lib_socket_connect = yes; then
10696   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
10697 fi
10698
10699     fi
10700
10701     # Guillermo Gomez says -lposix is necessary on A/UX.
10702     echo "$as_me:$LINENO: checking for remove" >&5
10703 echo $ECHO_N "checking for remove... $ECHO_C" >&6
10704 if test "${ac_cv_func_remove+set}" = set; then
10705   echo $ECHO_N "(cached) $ECHO_C" >&6
10706 else
10707   cat >conftest.$ac_ext <<_ACEOF
10708 /* confdefs.h.  */
10709 _ACEOF
10710 cat confdefs.h >>conftest.$ac_ext
10711 cat >>conftest.$ac_ext <<_ACEOF
10712 /* end confdefs.h.  */
10713 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
10714    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10715 #define remove innocuous_remove
10716
10717 /* System header to define __stub macros and hopefully few prototypes,
10718     which can conflict with char remove (); below.
10719     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10720     <limits.h> exists even on freestanding compilers.  */
10721
10722 #ifdef __STDC__
10723 # include <limits.h>
10724 #else
10725 # include <assert.h>
10726 #endif
10727
10728 #undef remove
10729
10730 /* Override any gcc2 internal prototype to avoid an error.  */
10731 #ifdef __cplusplus
10732 extern "C"
10733 {
10734 #endif
10735 /* We use char because int might match the return type of a gcc2
10736    builtin and then its argument prototype would still apply.  */
10737 char remove ();
10738 /* The GNU C library defines this for functions which it implements
10739     to always fail with ENOSYS.  Some functions are actually named
10740     something starting with __ and the normal name is an alias.  */
10741 #if defined (__stub_remove) || defined (__stub___remove)
10742 choke me
10743 #else
10744 char (*f) () = remove;
10745 #endif
10746 #ifdef __cplusplus
10747 }
10748 #endif
10749
10750 int
10751 main ()
10752 {
10753 return f != remove;
10754   ;
10755   return 0;
10756 }
10757 _ACEOF
10758 rm -f conftest.$ac_objext conftest$ac_exeext
10759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10760   (eval $ac_link) 2>conftest.er1
10761   ac_status=$?
10762   grep -v '^ *+' conftest.er1 >conftest.err
10763   rm -f conftest.er1
10764   cat conftest.err >&5
10765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10766   (exit $ac_status); } &&
10767          { ac_try='test -z "$ac_c_werror_flag"
10768                          || test ! -s conftest.err'
10769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10770   (eval $ac_try) 2>&5
10771   ac_status=$?
10772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10773   (exit $ac_status); }; } &&
10774          { ac_try='test -s conftest$ac_exeext'
10775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10776   (eval $ac_try) 2>&5
10777   ac_status=$?
10778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10779   (exit $ac_status); }; }; then
10780   ac_cv_func_remove=yes
10781 else
10782   echo "$as_me: failed program was:" >&5
10783 sed 's/^/| /' conftest.$ac_ext >&5
10784
10785 ac_cv_func_remove=no
10786 fi
10787 rm -f conftest.err conftest.$ac_objext \
10788       conftest$ac_exeext conftest.$ac_ext
10789 fi
10790 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
10791 echo "${ECHO_T}$ac_cv_func_remove" >&6
10792
10793     if test $ac_cv_func_remove = no; then
10794       echo "$as_me:$LINENO: checking for remove in -lposix" >&5
10795 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
10796 if test "${ac_cv_lib_posix_remove+set}" = set; then
10797   echo $ECHO_N "(cached) $ECHO_C" >&6
10798 else
10799   ac_check_lib_save_LIBS=$LIBS
10800 LIBS="-lposix  $LIBS"
10801 cat >conftest.$ac_ext <<_ACEOF
10802 /* confdefs.h.  */
10803 _ACEOF
10804 cat confdefs.h >>conftest.$ac_ext
10805 cat >>conftest.$ac_ext <<_ACEOF
10806 /* end confdefs.h.  */
10807
10808 /* Override any gcc2 internal prototype to avoid an error.  */
10809 #ifdef __cplusplus
10810 extern "C"
10811 #endif
10812 /* We use char because int might match the return type of a gcc2
10813    builtin and then its argument prototype would still apply.  */
10814 char remove ();
10815 int
10816 main ()
10817 {
10818 remove ();
10819   ;
10820   return 0;
10821 }
10822 _ACEOF
10823 rm -f conftest.$ac_objext conftest$ac_exeext
10824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10825   (eval $ac_link) 2>conftest.er1
10826   ac_status=$?
10827   grep -v '^ *+' conftest.er1 >conftest.err
10828   rm -f conftest.er1
10829   cat conftest.err >&5
10830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10831   (exit $ac_status); } &&
10832          { ac_try='test -z "$ac_c_werror_flag"
10833                          || test ! -s conftest.err'
10834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10835   (eval $ac_try) 2>&5
10836   ac_status=$?
10837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10838   (exit $ac_status); }; } &&
10839          { ac_try='test -s conftest$ac_exeext'
10840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10841   (eval $ac_try) 2>&5
10842   ac_status=$?
10843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10844   (exit $ac_status); }; }; then
10845   ac_cv_lib_posix_remove=yes
10846 else
10847   echo "$as_me: failed program was:" >&5
10848 sed 's/^/| /' conftest.$ac_ext >&5
10849
10850 ac_cv_lib_posix_remove=no
10851 fi
10852 rm -f conftest.err conftest.$ac_objext \
10853       conftest$ac_exeext conftest.$ac_ext
10854 LIBS=$ac_check_lib_save_LIBS
10855 fi
10856 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
10857 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
10858 if test $ac_cv_lib_posix_remove = yes; then
10859   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
10860 fi
10861
10862     fi
10863
10864     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10865     echo "$as_me:$LINENO: checking for shmat" >&5
10866 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
10867 if test "${ac_cv_func_shmat+set}" = set; then
10868   echo $ECHO_N "(cached) $ECHO_C" >&6
10869 else
10870   cat >conftest.$ac_ext <<_ACEOF
10871 /* confdefs.h.  */
10872 _ACEOF
10873 cat confdefs.h >>conftest.$ac_ext
10874 cat >>conftest.$ac_ext <<_ACEOF
10875 /* end confdefs.h.  */
10876 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
10877    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10878 #define shmat innocuous_shmat
10879
10880 /* System header to define __stub macros and hopefully few prototypes,
10881     which can conflict with char shmat (); below.
10882     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10883     <limits.h> exists even on freestanding compilers.  */
10884
10885 #ifdef __STDC__
10886 # include <limits.h>
10887 #else
10888 # include <assert.h>
10889 #endif
10890
10891 #undef shmat
10892
10893 /* Override any gcc2 internal prototype to avoid an error.  */
10894 #ifdef __cplusplus
10895 extern "C"
10896 {
10897 #endif
10898 /* We use char because int might match the return type of a gcc2
10899    builtin and then its argument prototype would still apply.  */
10900 char shmat ();
10901 /* The GNU C library defines this for functions which it implements
10902     to always fail with ENOSYS.  Some functions are actually named
10903     something starting with __ and the normal name is an alias.  */
10904 #if defined (__stub_shmat) || defined (__stub___shmat)
10905 choke me
10906 #else
10907 char (*f) () = shmat;
10908 #endif
10909 #ifdef __cplusplus
10910 }
10911 #endif
10912
10913 int
10914 main ()
10915 {
10916 return f != shmat;
10917   ;
10918   return 0;
10919 }
10920 _ACEOF
10921 rm -f conftest.$ac_objext conftest$ac_exeext
10922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10923   (eval $ac_link) 2>conftest.er1
10924   ac_status=$?
10925   grep -v '^ *+' conftest.er1 >conftest.err
10926   rm -f conftest.er1
10927   cat conftest.err >&5
10928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10929   (exit $ac_status); } &&
10930          { ac_try='test -z "$ac_c_werror_flag"
10931                          || test ! -s conftest.err'
10932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10933   (eval $ac_try) 2>&5
10934   ac_status=$?
10935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10936   (exit $ac_status); }; } &&
10937          { ac_try='test -s conftest$ac_exeext'
10938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10939   (eval $ac_try) 2>&5
10940   ac_status=$?
10941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10942   (exit $ac_status); }; }; then
10943   ac_cv_func_shmat=yes
10944 else
10945   echo "$as_me: failed program was:" >&5
10946 sed 's/^/| /' conftest.$ac_ext >&5
10947
10948 ac_cv_func_shmat=no
10949 fi
10950 rm -f conftest.err conftest.$ac_objext \
10951       conftest$ac_exeext conftest.$ac_ext
10952 fi
10953 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
10954 echo "${ECHO_T}$ac_cv_func_shmat" >&6
10955
10956     if test $ac_cv_func_shmat = no; then
10957       echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
10958 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
10959 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
10960   echo $ECHO_N "(cached) $ECHO_C" >&6
10961 else
10962   ac_check_lib_save_LIBS=$LIBS
10963 LIBS="-lipc  $LIBS"
10964 cat >conftest.$ac_ext <<_ACEOF
10965 /* confdefs.h.  */
10966 _ACEOF
10967 cat confdefs.h >>conftest.$ac_ext
10968 cat >>conftest.$ac_ext <<_ACEOF
10969 /* end confdefs.h.  */
10970
10971 /* Override any gcc2 internal prototype to avoid an error.  */
10972 #ifdef __cplusplus
10973 extern "C"
10974 #endif
10975 /* We use char because int might match the return type of a gcc2
10976    builtin and then its argument prototype would still apply.  */
10977 char shmat ();
10978 int
10979 main ()
10980 {
10981 shmat ();
10982   ;
10983   return 0;
10984 }
10985 _ACEOF
10986 rm -f conftest.$ac_objext conftest$ac_exeext
10987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10988   (eval $ac_link) 2>conftest.er1
10989   ac_status=$?
10990   grep -v '^ *+' conftest.er1 >conftest.err
10991   rm -f conftest.er1
10992   cat conftest.err >&5
10993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10994   (exit $ac_status); } &&
10995          { ac_try='test -z "$ac_c_werror_flag"
10996                          || test ! -s conftest.err'
10997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10998   (eval $ac_try) 2>&5
10999   ac_status=$?
11000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11001   (exit $ac_status); }; } &&
11002          { ac_try='test -s conftest$ac_exeext'
11003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11004   (eval $ac_try) 2>&5
11005   ac_status=$?
11006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11007   (exit $ac_status); }; }; then
11008   ac_cv_lib_ipc_shmat=yes
11009 else
11010   echo "$as_me: failed program was:" >&5
11011 sed 's/^/| /' conftest.$ac_ext >&5
11012
11013 ac_cv_lib_ipc_shmat=no
11014 fi
11015 rm -f conftest.err conftest.$ac_objext \
11016       conftest$ac_exeext conftest.$ac_ext
11017 LIBS=$ac_check_lib_save_LIBS
11018 fi
11019 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
11020 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
11021 if test $ac_cv_lib_ipc_shmat = yes; then
11022   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11023 fi
11024
11025     fi
11026   fi
11027
11028   # Check for libraries that X11R6 Xt/Xaw programs need.
11029   ac_save_LDFLAGS=$LDFLAGS
11030   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11031   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11032   # check for ICE first), but we must link in the order -lSM -lICE or
11033   # we get undefined symbols.  So assume we have SM if we have ICE.
11034   # These have to be linked with before -lX11, unlike the other
11035   # libraries we check for below, so use a different variable.
11036   # John Interrante, Karl Berry
11037   echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
11038 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
11039 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
11040   echo $ECHO_N "(cached) $ECHO_C" >&6
11041 else
11042   ac_check_lib_save_LIBS=$LIBS
11043 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11044 cat >conftest.$ac_ext <<_ACEOF
11045 /* confdefs.h.  */
11046 _ACEOF
11047 cat confdefs.h >>conftest.$ac_ext
11048 cat >>conftest.$ac_ext <<_ACEOF
11049 /* end confdefs.h.  */
11050
11051 /* Override any gcc2 internal prototype to avoid an error.  */
11052 #ifdef __cplusplus
11053 extern "C"
11054 #endif
11055 /* We use char because int might match the return type of a gcc2
11056    builtin and then its argument prototype would still apply.  */
11057 char IceConnectionNumber ();
11058 int
11059 main ()
11060 {
11061 IceConnectionNumber ();
11062   ;
11063   return 0;
11064 }
11065 _ACEOF
11066 rm -f conftest.$ac_objext conftest$ac_exeext
11067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11068   (eval $ac_link) 2>conftest.er1
11069   ac_status=$?
11070   grep -v '^ *+' conftest.er1 >conftest.err
11071   rm -f conftest.er1
11072   cat conftest.err >&5
11073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11074   (exit $ac_status); } &&
11075          { ac_try='test -z "$ac_c_werror_flag"
11076                          || test ! -s conftest.err'
11077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11078   (eval $ac_try) 2>&5
11079   ac_status=$?
11080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11081   (exit $ac_status); }; } &&
11082          { ac_try='test -s conftest$ac_exeext'
11083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11084   (eval $ac_try) 2>&5
11085   ac_status=$?
11086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11087   (exit $ac_status); }; }; then
11088   ac_cv_lib_ICE_IceConnectionNumber=yes
11089 else
11090   echo "$as_me: failed program was:" >&5
11091 sed 's/^/| /' conftest.$ac_ext >&5
11092
11093 ac_cv_lib_ICE_IceConnectionNumber=no
11094 fi
11095 rm -f conftest.err conftest.$ac_objext \
11096       conftest$ac_exeext conftest.$ac_ext
11097 LIBS=$ac_check_lib_save_LIBS
11098 fi
11099 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11100 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
11101 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
11102   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11103 fi
11104
11105   LDFLAGS=$ac_save_LDFLAGS
11106
11107 fi
11108
11109     if test "$no_x" = yes; then
11110         { { echo "$as_me:$LINENO: error: GTK+ peers requested but no X library available" >&5
11111 echo "$as_me: error: GTK+ peers requested but no X library available" >&2;}
11112    { (exit 1); exit 1; }; }
11113     fi
11114         echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
11115 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
11116 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
11117   echo $ECHO_N "(cached) $ECHO_C" >&6
11118 else
11119   ac_check_lib_save_LIBS=$LIBS
11120 LIBS="-lXtst ${X_LIBS} $LIBS"
11121 cat >conftest.$ac_ext <<_ACEOF
11122 /* confdefs.h.  */
11123 _ACEOF
11124 cat confdefs.h >>conftest.$ac_ext
11125 cat >>conftest.$ac_ext <<_ACEOF
11126 /* end confdefs.h.  */
11127
11128 /* Override any gcc2 internal prototype to avoid an error.  */
11129 #ifdef __cplusplus
11130 extern "C"
11131 #endif
11132 /* We use char because int might match the return type of a gcc2
11133    builtin and then its argument prototype would still apply.  */
11134 char XTestQueryExtension ();
11135 int
11136 main ()
11137 {
11138 XTestQueryExtension ();
11139   ;
11140   return 0;
11141 }
11142 _ACEOF
11143 rm -f conftest.$ac_objext conftest$ac_exeext
11144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11145   (eval $ac_link) 2>conftest.er1
11146   ac_status=$?
11147   grep -v '^ *+' conftest.er1 >conftest.err
11148   rm -f conftest.er1
11149   cat conftest.err >&5
11150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11151   (exit $ac_status); } &&
11152          { ac_try='test -z "$ac_c_werror_flag"
11153                          || test ! -s conftest.err'
11154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11155   (eval $ac_try) 2>&5
11156   ac_status=$?
11157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11158   (exit $ac_status); }; } &&
11159          { ac_try='test -s conftest$ac_exeext'
11160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11161   (eval $ac_try) 2>&5
11162   ac_status=$?
11163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11164   (exit $ac_status); }; }; then
11165   ac_cv_lib_Xtst_XTestQueryExtension=yes
11166 else
11167   echo "$as_me: failed program was:" >&5
11168 sed 's/^/| /' conftest.$ac_ext >&5
11169
11170 ac_cv_lib_Xtst_XTestQueryExtension=no
11171 fi
11172 rm -f conftest.err conftest.$ac_objext \
11173       conftest$ac_exeext conftest.$ac_ext
11174 LIBS=$ac_check_lib_save_LIBS
11175 fi
11176 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
11177 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
11178 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
11179   true
11180 else
11181   { { echo "$as_me:$LINENO: error: libXtst NOT found, required for GdkRobot" >&5
11182 echo "$as_me: error: libXtst NOT found, required for GdkRobot" >&2;}
11183    { (exit 1); exit 1; }; }
11184 fi
11185
11186
11187   succeeded=no
11188
11189   if test -z "$PKG_CONFIG"; then
11190     # Extract the first word of "pkg-config", so it can be a program name with args.
11191 set dummy pkg-config; ac_word=$2
11192 echo "$as_me:$LINENO: checking for $ac_word" >&5
11193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11194 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11195   echo $ECHO_N "(cached) $ECHO_C" >&6
11196 else
11197   case $PKG_CONFIG in
11198   [\\/]* | ?:[\\/]*)
11199   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11200   ;;
11201   *)
11202   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11203 for as_dir in $PATH
11204 do
11205   IFS=$as_save_IFS
11206   test -z "$as_dir" && as_dir=.
11207   for ac_exec_ext in '' $ac_executable_extensions; do
11208   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11209     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11210     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11211     break 2
11212   fi
11213 done
11214 done
11215
11216   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
11217   ;;
11218 esac
11219 fi
11220 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11221
11222 if test -n "$PKG_CONFIG"; then
11223   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11224 echo "${ECHO_T}$PKG_CONFIG" >&6
11225 else
11226   echo "$as_me:$LINENO: result: no" >&5
11227 echo "${ECHO_T}no" >&6
11228 fi
11229
11230   fi
11231
11232   if test "$PKG_CONFIG" = "no" ; then
11233      echo "*** The pkg-config script could not be found. Make sure it is"
11234      echo "*** in your path, or set the PKG_CONFIG environment variable"
11235      echo "*** to the full path to pkg-config."
11236      echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11237   else
11238      PKG_CONFIG_MIN_VERSION=0.9.0
11239      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11240         echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
11241 echo $ECHO_N "checking for gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... $ECHO_C" >&6
11242
11243         if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
11244             echo "$as_me:$LINENO: result: yes" >&5
11245 echo "${ECHO_T}yes" >&6
11246             succeeded=yes
11247
11248             echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
11249 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
11250             GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
11251             echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
11252 echo "${ECHO_T}$GTK_CFLAGS" >&6
11253
11254             echo "$as_me:$LINENO: checking GTK_LIBS" >&5
11255 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
11256             GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
11257             echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
11258 echo "${ECHO_T}$GTK_LIBS" >&6
11259         else
11260             GTK_CFLAGS=""
11261             GTK_LIBS=""
11262             ## If we have a custom action on failure, don't print errors, but
11263             ## do set a variable so people can do so.
11264             GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
11265             echo $GTK_PKG_ERRORS
11266         fi
11267
11268
11269
11270      else
11271         echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11272         echo "*** See http://www.freedesktop.org/software/pkgconfig"
11273      fi
11274   fi
11275
11276   if test $succeeded = yes; then
11277      :
11278   else
11279      { { echo "$as_me:$LINENO: error: Library requirements (gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
11280 echo "$as_me: error: Library requirements (gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
11281    { (exit 1); exit 1; }; }
11282   fi
11283
11284
11285     if test "x${enable_gtk_cairo}" = xyes; then
11286
11287   succeeded=no
11288
11289   if test -z "$PKG_CONFIG"; then
11290     # Extract the first word of "pkg-config", so it can be a program name with args.
11291 set dummy pkg-config; ac_word=$2
11292 echo "$as_me:$LINENO: checking for $ac_word" >&5
11293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11294 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11295   echo $ECHO_N "(cached) $ECHO_C" >&6
11296 else
11297   case $PKG_CONFIG in
11298   [\\/]* | ?:[\\/]*)
11299   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11300   ;;
11301   *)
11302   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11303 for as_dir in $PATH
11304 do
11305   IFS=$as_save_IFS
11306   test -z "$as_dir" && as_dir=.
11307   for ac_exec_ext in '' $ac_executable_extensions; do
11308   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11309     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11310     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11311     break 2
11312   fi
11313 done
11314 done
11315
11316   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
11317   ;;
11318 esac
11319 fi
11320 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11321
11322 if test -n "$PKG_CONFIG"; then
11323   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11324 echo "${ECHO_T}$PKG_CONFIG" >&6
11325 else
11326   echo "$as_me:$LINENO: result: no" >&5
11327 echo "${ECHO_T}no" >&6
11328 fi
11329
11330   fi
11331
11332   if test "$PKG_CONFIG" = "no" ; then
11333      echo "*** The pkg-config script could not be found. Make sure it is"
11334      echo "*** in your path, or set the PKG_CONFIG environment variable"
11335      echo "*** to the full path to pkg-config."
11336      echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11337   else
11338      PKG_CONFIG_MIN_VERSION=0.9.0
11339      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11340         echo "$as_me:$LINENO: checking for cairo >= 0.5.0" >&5
11341 echo $ECHO_N "checking for cairo >= 0.5.0... $ECHO_C" >&6
11342
11343         if $PKG_CONFIG --exists "cairo >= 0.5.0" ; then
11344             echo "$as_me:$LINENO: result: yes" >&5
11345 echo "${ECHO_T}yes" >&6
11346             succeeded=yes
11347
11348             echo "$as_me:$LINENO: checking CAIRO_CFLAGS" >&5
11349 echo $ECHO_N "checking CAIRO_CFLAGS... $ECHO_C" >&6
11350             CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= 0.5.0"`
11351             echo "$as_me:$LINENO: result: $CAIRO_CFLAGS" >&5
11352 echo "${ECHO_T}$CAIRO_CFLAGS" >&6
11353
11354             echo "$as_me:$LINENO: checking CAIRO_LIBS" >&5
11355 echo $ECHO_N "checking CAIRO_LIBS... $ECHO_C" >&6
11356             CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= 0.5.0"`
11357             echo "$as_me:$LINENO: result: $CAIRO_LIBS" >&5
11358 echo "${ECHO_T}$CAIRO_LIBS" >&6
11359         else
11360             CAIRO_CFLAGS=""
11361             CAIRO_LIBS=""
11362             ## If we have a custom action on failure, don't print errors, but
11363             ## do set a variable so people can do so.
11364             CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo >= 0.5.0"`
11365             echo $CAIRO_PKG_ERRORS
11366         fi
11367
11368
11369
11370      else
11371         echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11372         echo "*** See http://www.freedesktop.org/software/pkgconfig"
11373      fi
11374   fi
11375
11376   if test $succeeded = yes; then
11377      :
11378   else
11379      { { echo "$as_me:$LINENO: error: Library requirements (cairo >= 0.5.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
11380 echo "$as_me: error: Library requirements (cairo >= 0.5.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
11381    { (exit 1); exit 1; }; }
11382   fi
11383
11384     fi
11385
11386
11387   succeeded=no
11388
11389   if test -z "$PKG_CONFIG"; then
11390     # Extract the first word of "pkg-config", so it can be a program name with args.
11391 set dummy pkg-config; ac_word=$2
11392 echo "$as_me:$LINENO: checking for $ac_word" >&5
11393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11394 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11395   echo $ECHO_N "(cached) $ECHO_C" >&6
11396 else
11397   case $PKG_CONFIG in
11398   [\\/]* | ?:[\\/]*)
11399   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11400   ;;
11401   *)
11402   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11403 for as_dir in $PATH
11404 do
11405   IFS=$as_save_IFS
11406   test -z "$as_dir" && as_dir=.
11407   for ac_exec_ext in '' $ac_executable_extensions; do
11408   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11409     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11410     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11411     break 2
11412   fi
11413 done
11414 done
11415
11416   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
11417   ;;
11418 esac
11419 fi
11420 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11421
11422 if test -n "$PKG_CONFIG"; then
11423   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11424 echo "${ECHO_T}$PKG_CONFIG" >&6
11425 else
11426   echo "$as_me:$LINENO: result: no" >&5
11427 echo "${ECHO_T}no" >&6
11428 fi
11429
11430   fi
11431
11432   if test "$PKG_CONFIG" = "no" ; then
11433      echo "*** The pkg-config script could not be found. Make sure it is"
11434      echo "*** in your path, or set the PKG_CONFIG environment variable"
11435      echo "*** to the full path to pkg-config."
11436      echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11437   else
11438      PKG_CONFIG_MIN_VERSION=0.9.0
11439      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11440         echo "$as_me:$LINENO: checking for pangoft2" >&5
11441 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
11442
11443         if $PKG_CONFIG --exists "pangoft2" ; then
11444             echo "$as_me:$LINENO: result: yes" >&5
11445 echo "${ECHO_T}yes" >&6
11446             succeeded=yes
11447
11448             echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
11449 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
11450             PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
11451             echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
11452 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
11453
11454             echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
11455 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
11456             PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
11457             echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
11458 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
11459         else
11460             PANGOFT2_CFLAGS=""
11461             PANGOFT2_LIBS=""
11462             ## If we have a custom action on failure, don't print errors, but
11463             ## do set a variable so people can do so.
11464             PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
11465             echo $PANGOFT2_PKG_ERRORS
11466         fi
11467
11468
11469
11470      else
11471         echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11472         echo "*** See http://www.freedesktop.org/software/pkgconfig"
11473      fi
11474   fi
11475
11476   if test $succeeded = yes; then
11477      :
11478   else
11479      { { echo "$as_me:$LINENO: error: Library requirements (pangoft2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
11480 echo "$as_me: error: Library requirements (pangoft2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
11481    { (exit 1); exit 1; }; }
11482   fi
11483
11484
11485
11486
11487
11488
11489
11490
11491   fi
11492
11493     if test "x${COMPILE_QT_PEER}" = xyes; then
11494
11495   succeeded=no
11496
11497   if test -z "$PKG_CONFIG"; then
11498     # Extract the first word of "pkg-config", so it can be a program name with args.
11499 set dummy pkg-config; ac_word=$2
11500 echo "$as_me:$LINENO: checking for $ac_word" >&5
11501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11502 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11503   echo $ECHO_N "(cached) $ECHO_C" >&6
11504 else
11505   case $PKG_CONFIG in
11506   [\\/]* | ?:[\\/]*)
11507   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11508   ;;
11509   *)
11510   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11511 for as_dir in $PATH
11512 do
11513   IFS=$as_save_IFS
11514   test -z "$as_dir" && as_dir=.
11515   for ac_exec_ext in '' $ac_executable_extensions; do
11516   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11517     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11518     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11519     break 2
11520   fi
11521 done
11522 done
11523
11524   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
11525   ;;
11526 esac
11527 fi
11528 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11529
11530 if test -n "$PKG_CONFIG"; then
11531   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11532 echo "${ECHO_T}$PKG_CONFIG" >&6
11533 else
11534   echo "$as_me:$LINENO: result: no" >&5
11535 echo "${ECHO_T}no" >&6
11536 fi
11537
11538   fi
11539
11540   if test "$PKG_CONFIG" = "no" ; then
11541      echo "*** The pkg-config script could not be found. Make sure it is"
11542      echo "*** in your path, or set the PKG_CONFIG environment variable"
11543      echo "*** to the full path to pkg-config."
11544      echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11545   else
11546      PKG_CONFIG_MIN_VERSION=0.9.0
11547      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11548         echo "$as_me:$LINENO: checking for QtGui >= 4.0.1" >&5
11549 echo $ECHO_N "checking for QtGui >= 4.0.1... $ECHO_C" >&6
11550
11551         if $PKG_CONFIG --exists "QtGui >= 4.0.1" ; then
11552             echo "$as_me:$LINENO: result: yes" >&5
11553 echo "${ECHO_T}yes" >&6
11554             succeeded=yes
11555
11556             echo "$as_me:$LINENO: checking QT_CFLAGS" >&5
11557 echo $ECHO_N "checking QT_CFLAGS... $ECHO_C" >&6
11558             QT_CFLAGS=`$PKG_CONFIG --cflags "QtGui >= 4.0.1"`
11559             echo "$as_me:$LINENO: result: $QT_CFLAGS" >&5
11560 echo "${ECHO_T}$QT_CFLAGS" >&6
11561
11562             echo "$as_me:$LINENO: checking QT_LIBS" >&5
11563 echo $ECHO_N "checking QT_LIBS... $ECHO_C" >&6
11564             QT_LIBS=`$PKG_CONFIG --libs "QtGui >= 4.0.1"`
11565             echo "$as_me:$LINENO: result: $QT_LIBS" >&5
11566 echo "${ECHO_T}$QT_LIBS" >&6
11567         else
11568             QT_CFLAGS=""
11569             QT_LIBS=""
11570             ## If we have a custom action on failure, don't print errors, but
11571             ## do set a variable so people can do so.
11572             QT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtGui >= 4.0.1"`
11573
11574         fi
11575
11576
11577
11578      else
11579         echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11580         echo "*** See http://www.freedesktop.org/software/pkgconfig"
11581      fi
11582   fi
11583
11584   if test $succeeded = yes; then
11585      HAVE_QT4="yes"
11586   else
11587      HAVE_QT4="no"
11588   fi
11589
11590     if test "x$HAVE_QT4" = "xyes"; then
11591                   QT_INCLUDE_DIR=$($PKG_CONFIG --variable=includedir QtGui)
11592       EXTRA_QT_INCLUDE_DIR="$QT_INCLUDE_DIR/Qt"
11593       as_ac_File=`echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
11594 echo "$as_me:$LINENO: checking for $QT_INCLUDE_DIR/QWidget" >&5
11595 echo $ECHO_N "checking for $QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
11596 if eval "test \"\${$as_ac_File+set}\" = set"; then
11597   echo $ECHO_N "(cached) $ECHO_C" >&6
11598 else
11599   test "$cross_compiling" = yes &&
11600   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
11601 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
11602    { (exit 1); exit 1; }; }
11603 if test -r "$QT_INCLUDE_DIR/QWidget"; then
11604   eval "$as_ac_File=yes"
11605 else
11606   eval "$as_ac_File=no"
11607 fi
11608 fi
11609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
11610 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
11611 if test `eval echo '${'$as_ac_File'}'` = yes; then
11612   { echo "$as_me:$LINENO: No extra QT_INCLUDE_DIR needed" >&5
11613 echo "$as_me: No extra QT_INCLUDE_DIR needed" >&6;}
11614 else
11615   as_ac_File=`echo "ac_cv_file_$EXTRA_QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
11616 echo "$as_me:$LINENO: checking for $EXTRA_QT_INCLUDE_DIR/QWidget" >&5
11617 echo $ECHO_N "checking for $EXTRA_QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
11618 if eval "test \"\${$as_ac_File+set}\" = set"; then
11619   echo $ECHO_N "(cached) $ECHO_C" >&6
11620 else
11621   test "$cross_compiling" = yes &&
11622   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
11623 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
11624    { (exit 1); exit 1; }; }
11625 if test -r "$EXTRA_QT_INCLUDE_DIR/QWidget"; then
11626   eval "$as_ac_File=yes"
11627 else
11628   eval "$as_ac_File=no"
11629 fi
11630 fi
11631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
11632 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
11633 if test `eval echo '${'$as_ac_File'}'` = yes; then
11634   QT_CFLAGS="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR"
11635 else
11636   { echo "$as_me:$LINENO: WARNING: QWidget not found" >&5
11637 echo "$as_me: WARNING: QWidget not found" >&2;}
11638 fi
11639
11640 fi
11641
11642         # Extract the first word of "moc", so it can be a program name with args.
11643 set dummy moc; ac_word=$2
11644 echo "$as_me:$LINENO: checking for $ac_word" >&5
11645 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11646 if test "${ac_cv_prog_MOC+set}" = set; then
11647   echo $ECHO_N "(cached) $ECHO_C" >&6
11648 else
11649   if test -n "$MOC"; then
11650   ac_cv_prog_MOC="$MOC" # Let the user override the test.
11651 else
11652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11653 for as_dir in $PATH
11654 do
11655   IFS=$as_save_IFS
11656   test -z "$as_dir" && as_dir=.
11657   for ac_exec_ext in '' $ac_executable_extensions; do
11658   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11659     ac_cv_prog_MOC="moc"
11660     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11661     break 2
11662   fi
11663 done
11664 done
11665
11666 fi
11667 fi
11668 MOC=$ac_cv_prog_MOC
11669 if test -n "$MOC"; then
11670   echo "$as_me:$LINENO: result: $MOC" >&5
11671 echo "${ECHO_T}$MOC" >&6
11672 else
11673   echo "$as_me:$LINENO: result: no" >&5
11674 echo "${ECHO_T}no" >&6
11675 fi
11676
11677     fi
11678     if test "x$HAVE_QT4" = "xno"; then
11679       { echo "$as_me:$LINENO: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&5
11680 echo "$as_me: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&6;}
11681       case "$host_os" in
11682         darwin*)
11683
11684 # Check whether --with-qt4dir or --without-qt4dir was given.
11685 if test "${with_qt4dir+set}" = set; then
11686   withval="$with_qt4dir"
11687   QT4DIR=$withval
11688
11689 fi;
11690           if test x"$QT4DIR" = x ; then
11691             { { echo "$as_me:$LINENO: error: *** No path for Qt4 --with-qt4dir option given" >&5
11692 echo "$as_me: error: *** No path for Qt4 --with-qt4dir option given" >&2;}
11693    { (exit 1); exit 1; }; }
11694           fi
11695           echo "$as_me:$LINENO: result: QT4DIR... $QT4DIR" >&5
11696 echo "${ECHO_T}QT4DIR... $QT4DIR" >&6
11697           # Extract the first word of "moc", so it can be a program name with args.
11698 set dummy moc; ac_word=$2
11699 echo "$as_me:$LINENO: checking for $ac_word" >&5
11700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11701 if test "${ac_cv_prog_MOC+set}" = set; then
11702   echo $ECHO_N "(cached) $ECHO_C" >&6
11703 else
11704   if test -n "$MOC"; then
11705   ac_cv_prog_MOC="$MOC" # Let the user override the test.
11706 else
11707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11708 for as_dir in $QT4DIR/bin
11709 do
11710   IFS=$as_save_IFS
11711   test -z "$as_dir" && as_dir=.
11712   for ac_exec_ext in '' $ac_executable_extensions; do
11713   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11714     ac_cv_prog_MOC="$QT4DIR/bin/moc"
11715     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11716     break 2
11717   fi
11718 done
11719 done
11720
11721 fi
11722 fi
11723 MOC=$ac_cv_prog_MOC
11724 if test -n "$MOC"; then
11725   echo "$as_me:$LINENO: result: $MOC" >&5
11726 echo "${ECHO_T}$MOC" >&6
11727 else
11728   echo "$as_me:$LINENO: result: no" >&5
11729 echo "${ECHO_T}no" >&6
11730 fi
11731
11732           if test x"$MOC" = x; then
11733             { { echo "$as_me:$LINENO: error: *** This is not the right Qt installation" >&5
11734 echo "$as_me: error: *** This is not the right Qt installation" >&2;}
11735    { (exit 1); exit 1; }; }
11736           fi
11737           QT_CFLAGS="-F$QT4DIR/lib -I$QT4DIR/lib/QtCore.framework/Headers"
11738           QT_CFLAGS="$QT_CFLAGS -I$QT4DIR/lib/QtGui.framework/Headers"
11739           QT_LIBS="-Xlinker -F$QT4DIR/lib -Xlinker -framework -Xlinker QtCore"
11740           QT_LIBS="$QT_LIBS -Xlinker -framework -Xlinker QtGui"
11741           ;;
11742         *)
11743           { { echo "$as_me:$LINENO: error: *** Please check PKG_CONFIG_PATH or the version
11744           of your installed Qt4 installation." >&5
11745 echo "$as_me: error: *** Please check PKG_CONFIG_PATH or the version
11746           of your installed Qt4 installation." >&2;}
11747    { (exit 1); exit 1; }; }
11748           ;;
11749       esac
11750     fi
11751     { echo "$as_me:$LINENO: Set QT_CFLAGS... $QT_CFLAGS" >&5
11752 echo "$as_me: Set QT_CFLAGS... $QT_CFLAGS" >&6;}
11753
11754
11755   fi
11756 fi
11757
11758
11759
11760 # Check whether --with-javah or --without-javah was given.
11761 if test "${with_javah+set}" = set; then
11762   withval="$with_javah"
11763
11764     if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
11765
11766   if test "x${withval}" != x; then
11767     if test -f "${withval}"; then
11768       USER_JAVAH="${withval}"
11769     else
11770       # Extract the first word of ""${withval}"", so it can be a program name with args.
11771 set dummy "${withval}"; ac_word=$2
11772 echo "$as_me:$LINENO: checking for $ac_word" >&5
11773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11774 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
11775   echo $ECHO_N "(cached) $ECHO_C" >&6
11776 else
11777   case $USER_JAVAH in
11778   [\\/]* | ?:[\\/]*)
11779   ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
11780   ;;
11781   *)
11782   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11783 for as_dir in $PATH
11784 do
11785   IFS=$as_save_IFS
11786   test -z "$as_dir" && as_dir=.
11787   for ac_exec_ext in '' $ac_executable_extensions; do
11788   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11789     ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
11790     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11791     break 2
11792   fi
11793 done
11794 done
11795
11796   ;;
11797 esac
11798 fi
11799 USER_JAVAH=$ac_cv_path_USER_JAVAH
11800
11801 if test -n "$USER_JAVAH"; then
11802   echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
11803 echo "${ECHO_T}$USER_JAVAH" >&6
11804 else
11805   echo "$as_me:$LINENO: result: no" >&5
11806 echo "${ECHO_T}no" >&6
11807 fi
11808
11809     fi
11810   else
11811     for javah_name in gcjh javah; do
11812       # Extract the first word of ""$javah_name"", so it can be a program name with args.
11813 set dummy "$javah_name"; ac_word=$2
11814 echo "$as_me:$LINENO: checking for $ac_word" >&5
11815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11816 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
11817   echo $ECHO_N "(cached) $ECHO_C" >&6
11818 else
11819   case $USER_JAVAH in
11820   [\\/]* | ?:[\\/]*)
11821   ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
11822   ;;
11823   *)
11824   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11825 for as_dir in $PATH
11826 do
11827   IFS=$as_save_IFS
11828   test -z "$as_dir" && as_dir=.
11829   for ac_exec_ext in '' $ac_executable_extensions; do
11830   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11831     ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
11832     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11833     break 2
11834   fi
11835 done
11836 done
11837
11838   ;;
11839 esac
11840 fi
11841 USER_JAVAH=$ac_cv_path_USER_JAVAH
11842
11843 if test -n "$USER_JAVAH"; then
11844   echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
11845 echo "${ECHO_T}$USER_JAVAH" >&6
11846 else
11847   echo "$as_me:$LINENO: result: no" >&5
11848 echo "${ECHO_T}no" >&6
11849 fi
11850
11851       if test "x${USER_JAVAH}" != x; then
11852         break
11853       fi
11854     done
11855   fi
11856
11857 #  if test "x${USER_JAVAH}" = x; then
11858 #    echo "configure: cannot find javah" 1>&2
11859 #    exit 1
11860 #  fi
11861
11862     else
11863
11864   if test "x" != x; then
11865     if test -f ""; then
11866       USER_JAVAH=""
11867     else
11868       # Extract the first word of """", so it can be a program name with args.
11869 set dummy ""; ac_word=$2
11870 echo "$as_me:$LINENO: checking for $ac_word" >&5
11871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11872 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
11873   echo $ECHO_N "(cached) $ECHO_C" >&6
11874 else
11875   case $USER_JAVAH in
11876   [\\/]* | ?:[\\/]*)
11877   ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
11878   ;;
11879   *)
11880   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11881 for as_dir in $PATH
11882 do
11883   IFS=$as_save_IFS
11884   test -z "$as_dir" && as_dir=.
11885   for ac_exec_ext in '' $ac_executable_extensions; do
11886   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11887     ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
11888     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11889     break 2
11890   fi
11891 done
11892 done
11893
11894   ;;
11895 esac
11896 fi
11897 USER_JAVAH=$ac_cv_path_USER_JAVAH
11898
11899 if test -n "$USER_JAVAH"; then
11900   echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
11901 echo "${ECHO_T}$USER_JAVAH" >&6
11902 else
11903   echo "$as_me:$LINENO: result: no" >&5
11904 echo "${ECHO_T}no" >&6
11905 fi
11906
11907     fi
11908   else
11909     for javah_name in gcjh javah; do
11910       # Extract the first word of ""$javah_name"", so it can be a program name with args.
11911 set dummy "$javah_name"; ac_word=$2
11912 echo "$as_me:$LINENO: checking for $ac_word" >&5
11913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11914 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
11915   echo $ECHO_N "(cached) $ECHO_C" >&6
11916 else
11917   case $USER_JAVAH in
11918   [\\/]* | ?:[\\/]*)
11919   ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
11920   ;;
11921   *)
11922   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11923 for as_dir in $PATH
11924 do
11925   IFS=$as_save_IFS
11926   test -z "$as_dir" && as_dir=.
11927   for ac_exec_ext in '' $ac_executable_extensions; do
11928   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11929     ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
11930     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11931     break 2
11932   fi
11933 done
11934 done
11935
11936   ;;
11937 esac
11938 fi
11939 USER_JAVAH=$ac_cv_path_USER_JAVAH
11940
11941 if test -n "$USER_JAVAH"; then
11942   echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
11943 echo "${ECHO_T}$USER_JAVAH" >&6
11944 else
11945   echo "$as_me:$LINENO: result: no" >&5
11946 echo "${ECHO_T}no" >&6
11947 fi
11948
11949       if test "x${USER_JAVAH}" != x; then
11950         break
11951       fi
11952     done
11953   fi
11954
11955 #  if test "x${USER_JAVAH}" = x; then
11956 #    echo "configure: cannot find javah" 1>&2
11957 #    exit 1
11958 #  fi
11959
11960     fi
11961
11962 else
11963
11964
11965   if test "x" != x; then
11966     if test -f ""; then
11967       USER_JAVAH=""
11968     else
11969       # Extract the first word of """", so it can be a program name with args.
11970 set dummy ""; ac_word=$2
11971 echo "$as_me:$LINENO: checking for $ac_word" >&5
11972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11973 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
11974   echo $ECHO_N "(cached) $ECHO_C" >&6
11975 else
11976   case $USER_JAVAH in
11977   [\\/]* | ?:[\\/]*)
11978   ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
11979   ;;
11980   *)
11981   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11982 for as_dir in $PATH
11983 do
11984   IFS=$as_save_IFS
11985   test -z "$as_dir" && as_dir=.
11986   for ac_exec_ext in '' $ac_executable_extensions; do
11987   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11988     ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
11989     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11990     break 2
11991   fi
11992 done
11993 done
11994
11995   ;;
11996 esac
11997 fi
11998 USER_JAVAH=$ac_cv_path_USER_JAVAH
11999
12000 if test -n "$USER_JAVAH"; then
12001   echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
12002 echo "${ECHO_T}$USER_JAVAH" >&6
12003 else
12004   echo "$as_me:$LINENO: result: no" >&5
12005 echo "${ECHO_T}no" >&6
12006 fi
12007
12008     fi
12009   else
12010     for javah_name in gcjh javah; do
12011       # Extract the first word of ""$javah_name"", so it can be a program name with args.
12012 set dummy "$javah_name"; ac_word=$2
12013 echo "$as_me:$LINENO: checking for $ac_word" >&5
12014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12015 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
12016   echo $ECHO_N "(cached) $ECHO_C" >&6
12017 else
12018   case $USER_JAVAH in
12019   [\\/]* | ?:[\\/]*)
12020   ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
12021   ;;
12022   *)
12023   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12024 for as_dir in $PATH
12025 do
12026   IFS=$as_save_IFS
12027   test -z "$as_dir" && as_dir=.
12028   for ac_exec_ext in '' $ac_executable_extensions; do
12029   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12030     ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
12031     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12032     break 2
12033   fi
12034 done
12035 done
12036
12037   ;;
12038 esac
12039 fi
12040 USER_JAVAH=$ac_cv_path_USER_JAVAH
12041
12042 if test -n "$USER_JAVAH"; then
12043   echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
12044 echo "${ECHO_T}$USER_JAVAH" >&6
12045 else
12046   echo "$as_me:$LINENO: result: no" >&5
12047 echo "${ECHO_T}no" >&6
12048 fi
12049
12050       if test "x${USER_JAVAH}" != x; then
12051         break
12052       fi
12053     done
12054   fi
12055
12056 #  if test "x${USER_JAVAH}" = x; then
12057 #    echo "configure: cannot find javah" 1>&2
12058 #    exit 1
12059 #  fi
12060
12061
12062 fi;
12063
12064
12065 if test "x${USER_JAVAH}" != x; then
12066   USER_SPECIFIED_JAVAH_TRUE=
12067   USER_SPECIFIED_JAVAH_FALSE='#'
12068 else
12069   USER_SPECIFIED_JAVAH_TRUE='#'
12070   USER_SPECIFIED_JAVAH_FALSE=
12071 fi
12072
12073
12074
12075
12076 CLASSPATH_INCLUDES="-I\$(top_srcdir)/include -I\$(top_srcdir)/native/jni/classpath -I\$(top_srcdir)/native/target/Linux -I\$(top_srcdir)/native/target/generic"
12077
12078
12079 if test "x${COMPILE_JNI}" = xyes; then
12080   echo "$as_me:$LINENO: checking jni_md.h support" >&5
12081 echo $ECHO_N "checking jni_md.h support... $ECHO_C" >&6
12082   if test -f ${srcdir}/include/jni_md-${target_cpu}-${target_os}.h; then
12083     echo "$as_me:$LINENO: result: yes" >&5
12084 echo "${ECHO_T}yes" >&6
12085   else
12086     target_cpu=x86
12087     target_os=linux-gnu
12088     { echo "$as_me:$LINENO: WARNING: no" >&5
12089 echo "$as_me: WARNING: no" >&2;}
12090   fi
12091   ac_sources="include/jni_md-${target_cpu}-${target_os}.h"
12092   ac_dests="include/jni_md.h"
12093   while test -n "$ac_sources"; do
12094     set $ac_dests; ac_dest=$1; shift; ac_dests=$*
12095     set $ac_sources; ac_source=$1; shift; ac_sources=$*
12096     ac_config_links_1="$ac_config_links_1 $ac_dest:$ac_source"
12097   done
12098             ac_config_links="$ac_config_links $ac_config_links_1"
12099
12100 fi
12101
12102
12103   user_specified_javac=
12104
12105
12106
12107 # Check whether --with-gcj or --without-gcj was given.
12108 if test "${with_gcj+set}" = set; then
12109   withval="$with_gcj"
12110
12111     if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
12112
12113   if test "x${withval}" != x; then
12114     if test -f "${withval}"; then
12115       GCJ="${withval}"
12116     else
12117       # Extract the first word of ""${withval}"", so it can be a program name with args.
12118 set dummy "${withval}"; ac_word=$2
12119 echo "$as_me:$LINENO: checking for $ac_word" >&5
12120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12121 if test "${ac_cv_path_GCJ+set}" = set; then
12122   echo $ECHO_N "(cached) $ECHO_C" >&6
12123 else
12124   case $GCJ in
12125   [\\/]* | ?:[\\/]*)
12126   ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
12127   ;;
12128   *)
12129   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12130 for as_dir in $PATH
12131 do
12132   IFS=$as_save_IFS
12133   test -z "$as_dir" && as_dir=.
12134   for ac_exec_ext in '' $ac_executable_extensions; do
12135   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12136     ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
12137     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12138     break 2
12139   fi
12140 done
12141 done
12142
12143   ;;
12144 esac
12145 fi
12146 GCJ=$ac_cv_path_GCJ
12147
12148 if test -n "$GCJ"; then
12149   echo "$as_me:$LINENO: result: $GCJ" >&5
12150 echo "${ECHO_T}$GCJ" >&6
12151 else
12152   echo "$as_me:$LINENO: result: no" >&5
12153 echo "${ECHO_T}no" >&6
12154 fi
12155
12156     fi
12157   else
12158     # Extract the first word of ""gcj"", so it can be a program name with args.
12159 set dummy "gcj"; ac_word=$2
12160 echo "$as_me:$LINENO: checking for $ac_word" >&5
12161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12162 if test "${ac_cv_path_GCJ+set}" = set; then
12163   echo $ECHO_N "(cached) $ECHO_C" >&6
12164 else
12165   case $GCJ in
12166   [\\/]* | ?:[\\/]*)
12167   ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
12168   ;;
12169   *)
12170   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12171 for as_dir in $PATH
12172 do
12173   IFS=$as_save_IFS
12174   test -z "$as_dir" && as_dir=.
12175   for ac_exec_ext in '' $ac_executable_extensions; do
12176   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12177     ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
12178     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12179     break 2
12180   fi
12181 done
12182 done
12183
12184   ;;
12185 esac
12186 fi
12187 GCJ=$ac_cv_path_GCJ
12188
12189 if test -n "$GCJ"; then
12190   echo "$as_me:$LINENO: result: $GCJ" >&5
12191 echo "${ECHO_T}$GCJ" >&6
12192 else
12193   echo "$as_me:$LINENO: result: no" >&5
12194 echo "${ECHO_T}no" >&6
12195 fi
12196
12197   fi
12198     if test "x$GCJ" != x; then
12199     echo "$as_me:$LINENO: checking gcj version 4.0" >&5
12200 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
12201     ac_ext=c
12202 ac_cpp='$CPP $CPPFLAGS'
12203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12206
12207     cat >conftest.$ac_ext <<_ACEOF
12208 #if __GNUC__ <= 3
12209     #error GCJ 4.0.0 or higher is required
12210     #endif
12211
12212 _ACEOF
12213     $GCJ -E conftest.c > /dev/null
12214     gcj_4_result=$?
12215     if test "x$gcj_4_result" = "x0"; then
12216       echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
12217 echo "${ECHO_T}4.0 or higher found" >&6
12218     else
12219       { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
12220 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
12221     fi
12222     ac_ext=c
12223 ac_cpp='$CPP $CPPFLAGS'
12224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12227
12228   fi
12229
12230     else
12231       if test "x${withval}" != xno; then
12232
12233   if test "x" != x; then
12234     if test -f ""; then
12235       GCJ=""
12236     else
12237       # Extract the first word of """", so it can be a program name with args.
12238 set dummy ""; ac_word=$2
12239 echo "$as_me:$LINENO: checking for $ac_word" >&5
12240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12241 if test "${ac_cv_path_GCJ+set}" = set; then
12242   echo $ECHO_N "(cached) $ECHO_C" >&6
12243 else
12244   case $GCJ in
12245   [\\/]* | ?:[\\/]*)
12246   ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
12247   ;;
12248   *)
12249   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12250 for as_dir in $PATH
12251 do
12252   IFS=$as_save_IFS
12253   test -z "$as_dir" && as_dir=.
12254   for ac_exec_ext in '' $ac_executable_extensions; do
12255   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12256     ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
12257     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12258     break 2
12259   fi
12260 done
12261 done
12262
12263   ;;
12264 esac
12265 fi
12266 GCJ=$ac_cv_path_GCJ
12267
12268 if test -n "$GCJ"; then
12269   echo "$as_me:$LINENO: result: $GCJ" >&5
12270 echo "${ECHO_T}$GCJ" >&6
12271 else
12272   echo "$as_me:$LINENO: result: no" >&5
12273 echo "${ECHO_T}no" >&6
12274 fi
12275
12276     fi
12277   else
12278     # Extract the first word of ""gcj"", so it can be a program name with args.
12279 set dummy "gcj"; ac_word=$2
12280 echo "$as_me:$LINENO: checking for $ac_word" >&5
12281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12282 if test "${ac_cv_path_GCJ+set}" = set; then
12283   echo $ECHO_N "(cached) $ECHO_C" >&6
12284 else
12285   case $GCJ in
12286   [\\/]* | ?:[\\/]*)
12287   ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
12288   ;;
12289   *)
12290   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12291 for as_dir in $PATH
12292 do
12293   IFS=$as_save_IFS
12294   test -z "$as_dir" && as_dir=.
12295   for ac_exec_ext in '' $ac_executable_extensions; do
12296   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12297     ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
12298     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12299     break 2
12300   fi
12301 done
12302 done
12303
12304   ;;
12305 esac
12306 fi
12307 GCJ=$ac_cv_path_GCJ
12308
12309 if test -n "$GCJ"; then
12310   echo "$as_me:$LINENO: result: $GCJ" >&5
12311 echo "${ECHO_T}$GCJ" >&6
12312 else
12313   echo "$as_me:$LINENO: result: no" >&5
12314 echo "${ECHO_T}no" >&6
12315 fi
12316
12317   fi
12318     if test "x$GCJ" != x; then
12319     echo "$as_me:$LINENO: checking gcj version 4.0" >&5
12320 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
12321     ac_ext=c
12322 ac_cpp='$CPP $CPPFLAGS'
12323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12326
12327     cat >conftest.$ac_ext <<_ACEOF
12328 #if __GNUC__ <= 3
12329     #error GCJ 4.0.0 or higher is required
12330     #endif
12331
12332 _ACEOF
12333     $GCJ -E conftest.c > /dev/null
12334     gcj_4_result=$?
12335     if test "x$gcj_4_result" = "x0"; then
12336       echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
12337 echo "${ECHO_T}4.0 or higher found" >&6
12338     else
12339       { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
12340 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
12341     fi
12342     ac_ext=c
12343 ac_cpp='$CPP $CPPFLAGS'
12344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12347
12348   fi
12349
12350       fi
12351     fi
12352     user_specified_javac=gcj
12353
12354 else
12355
12356
12357   if test "x" != x; then
12358     if test -f ""; then
12359       GCJ=""
12360     else
12361       # Extract the first word of """", so it can be a program name with args.
12362 set dummy ""; ac_word=$2
12363 echo "$as_me:$LINENO: checking for $ac_word" >&5
12364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12365 if test "${ac_cv_path_GCJ+set}" = set; then
12366   echo $ECHO_N "(cached) $ECHO_C" >&6
12367 else
12368   case $GCJ in
12369   [\\/]* | ?:[\\/]*)
12370   ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
12371   ;;
12372   *)
12373   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12374 for as_dir in $PATH
12375 do
12376   IFS=$as_save_IFS
12377   test -z "$as_dir" && as_dir=.
12378   for ac_exec_ext in '' $ac_executable_extensions; do
12379   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12380     ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
12381     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12382     break 2
12383   fi
12384 done
12385 done
12386
12387   ;;
12388 esac
12389 fi
12390 GCJ=$ac_cv_path_GCJ
12391
12392 if test -n "$GCJ"; then
12393   echo "$as_me:$LINENO: result: $GCJ" >&5
12394 echo "${ECHO_T}$GCJ" >&6
12395 else
12396   echo "$as_me:$LINENO: result: no" >&5
12397 echo "${ECHO_T}no" >&6
12398 fi
12399
12400     fi
12401   else
12402     # Extract the first word of ""gcj"", so it can be a program name with args.
12403 set dummy "gcj"; ac_word=$2
12404 echo "$as_me:$LINENO: checking for $ac_word" >&5
12405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12406 if test "${ac_cv_path_GCJ+set}" = set; then
12407   echo $ECHO_N "(cached) $ECHO_C" >&6
12408 else
12409   case $GCJ in
12410   [\\/]* | ?:[\\/]*)
12411   ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
12412   ;;
12413   *)
12414   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12415 for as_dir in $PATH
12416 do
12417   IFS=$as_save_IFS
12418   test -z "$as_dir" && as_dir=.
12419   for ac_exec_ext in '' $ac_executable_extensions; do
12420   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12421     ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
12422     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12423     break 2
12424   fi
12425 done
12426 done
12427
12428   ;;
12429 esac
12430 fi
12431 GCJ=$ac_cv_path_GCJ
12432
12433 if test -n "$GCJ"; then
12434   echo "$as_me:$LINENO: result: $GCJ" >&5
12435 echo "${ECHO_T}$GCJ" >&6
12436 else
12437   echo "$as_me:$LINENO: result: no" >&5
12438 echo "${ECHO_T}no" >&6
12439 fi
12440
12441   fi
12442     if test "x$GCJ" != x; then
12443     echo "$as_me:$LINENO: checking gcj version 4.0" >&5
12444 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
12445     ac_ext=c
12446 ac_cpp='$CPP $CPPFLAGS'
12447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12450
12451     cat >conftest.$ac_ext <<_ACEOF
12452 #if __GNUC__ <= 3
12453     #error GCJ 4.0.0 or higher is required
12454     #endif
12455
12456 _ACEOF
12457     $GCJ -E conftest.c > /dev/null
12458     gcj_4_result=$?
12459     if test "x$gcj_4_result" = "x0"; then
12460       echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
12461 echo "${ECHO_T}4.0 or higher found" >&6
12462     else
12463       { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
12464 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
12465     fi
12466     ac_ext=c
12467 ac_cpp='$CPP $CPPFLAGS'
12468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12471
12472   fi
12473
12474
12475 fi;
12476
12477
12478
12479
12480 # Check whether --with-jikes or --without-jikes was given.
12481 if test "${with_jikes+set}" = set; then
12482   withval="$with_jikes"
12483
12484     if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
12485
12486   if test "x${withval}" != x; then
12487     if test -f "${withval}"; then
12488       JIKES="${withval}"
12489     else
12490       # Extract the first word of ""${withval}"", so it can be a program name with args.
12491 set dummy "${withval}"; ac_word=$2
12492 echo "$as_me:$LINENO: checking for $ac_word" >&5
12493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12494 if test "${ac_cv_path_JIKES+set}" = set; then
12495   echo $ECHO_N "(cached) $ECHO_C" >&6
12496 else
12497   case $JIKES in
12498   [\\/]* | ?:[\\/]*)
12499   ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
12500   ;;
12501   *)
12502   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12503 for as_dir in $PATH
12504 do
12505   IFS=$as_save_IFS
12506   test -z "$as_dir" && as_dir=.
12507   for ac_exec_ext in '' $ac_executable_extensions; do
12508   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12509     ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
12510     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12511     break 2
12512   fi
12513 done
12514 done
12515
12516   ;;
12517 esac
12518 fi
12519 JIKES=$ac_cv_path_JIKES
12520
12521 if test -n "$JIKES"; then
12522   echo "$as_me:$LINENO: result: $JIKES" >&5
12523 echo "${ECHO_T}$JIKES" >&6
12524 else
12525   echo "$as_me:$LINENO: result: no" >&5
12526 echo "${ECHO_T}no" >&6
12527 fi
12528
12529     fi
12530   else
12531     # Extract the first word of ""jikes"", so it can be a program name with args.
12532 set dummy "jikes"; ac_word=$2
12533 echo "$as_me:$LINENO: checking for $ac_word" >&5
12534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12535 if test "${ac_cv_path_JIKES+set}" = set; then
12536   echo $ECHO_N "(cached) $ECHO_C" >&6
12537 else
12538   case $JIKES in
12539   [\\/]* | ?:[\\/]*)
12540   ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
12541   ;;
12542   *)
12543   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12544 for as_dir in $PATH
12545 do
12546   IFS=$as_save_IFS
12547   test -z "$as_dir" && as_dir=.
12548   for ac_exec_ext in '' $ac_executable_extensions; do
12549   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12550     ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
12551     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12552     break 2
12553   fi
12554 done
12555 done
12556
12557   ;;
12558 esac
12559 fi
12560 JIKES=$ac_cv_path_JIKES
12561
12562 if test -n "$JIKES"; then
12563   echo "$as_me:$LINENO: result: $JIKES" >&5
12564 echo "${ECHO_T}$JIKES" >&6
12565 else
12566   echo "$as_me:$LINENO: result: no" >&5
12567 echo "${ECHO_T}no" >&6
12568 fi
12569
12570   fi
12571   if test "x$JIKES" != "x"; then
12572         echo "$as_me:$LINENO: checking jikes version" >&5
12573 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
12574     JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
12575     JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
12576     JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
12577     if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then
12578       if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then
12579         JIKES=""
12580       fi
12581     fi
12582     if test "x$JIKES" != "x"; then
12583       echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
12584 echo "${ECHO_T}$JIKES_VERSION" >&6
12585     else
12586       { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
12587 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
12588     fi
12589
12590     JIKESENCODING=
12591     if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
12592        JIKESENCODING='-encoding UTF-8'
12593     fi
12594
12595   fi
12596
12597     else
12598       if test "x${withval}" != xno; then
12599
12600   if test "x" != x; then
12601     if test -f ""; then
12602       JIKES=""
12603     else
12604       # Extract the first word of """", so it can be a program name with args.
12605 set dummy ""; ac_word=$2
12606 echo "$as_me:$LINENO: checking for $ac_word" >&5
12607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12608 if test "${ac_cv_path_JIKES+set}" = set; then
12609   echo $ECHO_N "(cached) $ECHO_C" >&6
12610 else
12611   case $JIKES in
12612   [\\/]* | ?:[\\/]*)
12613   ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
12614   ;;
12615   *)
12616   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12617 for as_dir in $PATH
12618 do
12619   IFS=$as_save_IFS
12620   test -z "$as_dir" && as_dir=.
12621   for ac_exec_ext in '' $ac_executable_extensions; do
12622   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12623     ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
12624     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12625     break 2
12626   fi
12627 done
12628 done
12629
12630   ;;
12631 esac
12632 fi
12633 JIKES=$ac_cv_path_JIKES
12634
12635 if test -n "$JIKES"; then
12636   echo "$as_me:$LINENO: result: $JIKES" >&5
12637 echo "${ECHO_T}$JIKES" >&6
12638 else
12639   echo "$as_me:$LINENO: result: no" >&5
12640 echo "${ECHO_T}no" >&6
12641 fi
12642
12643     fi
12644   else
12645     # Extract the first word of ""jikes"", so it can be a program name with args.
12646 set dummy "jikes"; ac_word=$2
12647 echo "$as_me:$LINENO: checking for $ac_word" >&5
12648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12649 if test "${ac_cv_path_JIKES+set}" = set; then
12650   echo $ECHO_N "(cached) $ECHO_C" >&6
12651 else
12652   case $JIKES in
12653   [\\/]* | ?:[\\/]*)
12654   ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
12655   ;;
12656   *)
12657   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12658 for as_dir in $PATH
12659 do
12660   IFS=$as_save_IFS
12661   test -z "$as_dir" && as_dir=.
12662   for ac_exec_ext in '' $ac_executable_extensions; do
12663   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12664     ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
12665     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12666     break 2
12667   fi
12668 done
12669 done
12670
12671   ;;
12672 esac
12673 fi
12674 JIKES=$ac_cv_path_JIKES
12675
12676 if test -n "$JIKES"; then
12677   echo "$as_me:$LINENO: result: $JIKES" >&5
12678 echo "${ECHO_T}$JIKES" >&6
12679 else
12680   echo "$as_me:$LINENO: result: no" >&5
12681 echo "${ECHO_T}no" >&6
12682 fi
12683
12684   fi
12685   if test "x$JIKES" != "x"; then
12686         echo "$as_me:$LINENO: checking jikes version" >&5
12687 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
12688     JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
12689     JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
12690     JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
12691     if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then
12692       if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then
12693         JIKES=""
12694       fi
12695     fi
12696     if test "x$JIKES" != "x"; then
12697       echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
12698 echo "${ECHO_T}$JIKES_VERSION" >&6
12699     else
12700       { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
12701 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
12702     fi
12703
12704     JIKESENCODING=
12705     if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
12706        JIKESENCODING='-encoding UTF-8'
12707     fi
12708
12709   fi
12710
12711       fi
12712     fi
12713     user_specified_javac=jikes
12714
12715 else
12716
12717
12718   if test "x" != x; then
12719     if test -f ""; then
12720       JIKES=""
12721     else
12722       # Extract the first word of """", so it can be a program name with args.
12723 set dummy ""; ac_word=$2
12724 echo "$as_me:$LINENO: checking for $ac_word" >&5
12725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12726 if test "${ac_cv_path_JIKES+set}" = set; then
12727   echo $ECHO_N "(cached) $ECHO_C" >&6
12728 else
12729   case $JIKES in
12730   [\\/]* | ?:[\\/]*)
12731   ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
12732   ;;
12733   *)
12734   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12735 for as_dir in $PATH
12736 do
12737   IFS=$as_save_IFS
12738   test -z "$as_dir" && as_dir=.
12739   for ac_exec_ext in '' $ac_executable_extensions; do
12740   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12741     ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
12742     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12743     break 2
12744   fi
12745 done
12746 done
12747
12748   ;;
12749 esac
12750 fi
12751 JIKES=$ac_cv_path_JIKES
12752
12753 if test -n "$JIKES"; then
12754   echo "$as_me:$LINENO: result: $JIKES" >&5
12755 echo "${ECHO_T}$JIKES" >&6
12756 else
12757   echo "$as_me:$LINENO: result: no" >&5
12758 echo "${ECHO_T}no" >&6
12759 fi
12760
12761     fi
12762   else
12763     # Extract the first word of ""jikes"", so it can be a program name with args.
12764 set dummy "jikes"; ac_word=$2
12765 echo "$as_me:$LINENO: checking for $ac_word" >&5
12766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12767 if test "${ac_cv_path_JIKES+set}" = set; then
12768   echo $ECHO_N "(cached) $ECHO_C" >&6
12769 else
12770   case $JIKES in
12771   [\\/]* | ?:[\\/]*)
12772   ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
12773   ;;
12774   *)
12775   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12776 for as_dir in $PATH
12777 do
12778   IFS=$as_save_IFS
12779   test -z "$as_dir" && as_dir=.
12780   for ac_exec_ext in '' $ac_executable_extensions; do
12781   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12782     ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
12783     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12784     break 2
12785   fi
12786 done
12787 done
12788
12789   ;;
12790 esac
12791 fi
12792 JIKES=$ac_cv_path_JIKES
12793
12794 if test -n "$JIKES"; then
12795   echo "$as_me:$LINENO: result: $JIKES" >&5
12796 echo "${ECHO_T}$JIKES" >&6
12797 else
12798   echo "$as_me:$LINENO: result: no" >&5
12799 echo "${ECHO_T}no" >&6
12800 fi
12801
12802   fi
12803   if test "x$JIKES" != "x"; then
12804         echo "$as_me:$LINENO: checking jikes version" >&5
12805 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
12806     JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
12807     JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
12808     JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
12809     if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then
12810       if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then
12811         JIKES=""
12812       fi
12813     fi
12814     if test "x$JIKES" != "x"; then
12815       echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
12816 echo "${ECHO_T}$JIKES_VERSION" >&6
12817     else
12818       { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
12819 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
12820     fi
12821
12822     JIKESENCODING=
12823     if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
12824        JIKESENCODING='-encoding UTF-8'
12825     fi
12826
12827   fi
12828
12829
12830 fi;
12831
12832
12833
12834
12835 # Check whether --with-kjc or --without-kjc was given.
12836 if test "${with_kjc+set}" = set; then
12837   withval="$with_kjc"
12838
12839     if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
12840
12841   if test "x${withval}" != x; then
12842     if test -f "${withval}"; then
12843       KJC="${withval}"
12844     else
12845       # Extract the first word of ""${withval}"", so it can be a program name with args.
12846 set dummy "${withval}"; ac_word=$2
12847 echo "$as_me:$LINENO: checking for $ac_word" >&5
12848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12849 if test "${ac_cv_path_KJC+set}" = set; then
12850   echo $ECHO_N "(cached) $ECHO_C" >&6
12851 else
12852   case $KJC in
12853   [\\/]* | ?:[\\/]*)
12854   ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
12855   ;;
12856   *)
12857   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12858 for as_dir in $PATH
12859 do
12860   IFS=$as_save_IFS
12861   test -z "$as_dir" && as_dir=.
12862   for ac_exec_ext in '' $ac_executable_extensions; do
12863   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12864     ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
12865     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12866     break 2
12867   fi
12868 done
12869 done
12870
12871   ;;
12872 esac
12873 fi
12874 KJC=$ac_cv_path_KJC
12875
12876 if test -n "$KJC"; then
12877   echo "$as_me:$LINENO: result: $KJC" >&5
12878 echo "${ECHO_T}$KJC" >&6
12879 else
12880   echo "$as_me:$LINENO: result: no" >&5
12881 echo "${ECHO_T}no" >&6
12882 fi
12883
12884     fi
12885   else
12886     # Extract the first word of ""kJC"", so it can be a program name with args.
12887 set dummy "kJC"; ac_word=$2
12888 echo "$as_me:$LINENO: checking for $ac_word" >&5
12889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12890 if test "${ac_cv_path_KJC+set}" = set; then
12891   echo $ECHO_N "(cached) $ECHO_C" >&6
12892 else
12893   case $KJC in
12894   [\\/]* | ?:[\\/]*)
12895   ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
12896   ;;
12897   *)
12898   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12899 for as_dir in $PATH
12900 do
12901   IFS=$as_save_IFS
12902   test -z "$as_dir" && as_dir=.
12903   for ac_exec_ext in '' $ac_executable_extensions; do
12904   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12905     ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
12906     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12907     break 2
12908   fi
12909 done
12910 done
12911
12912   ;;
12913 esac
12914 fi
12915 KJC=$ac_cv_path_KJC
12916
12917 if test -n "$KJC"; then
12918   echo "$as_me:$LINENO: result: $KJC" >&5
12919 echo "${ECHO_T}$KJC" >&6
12920 else
12921   echo "$as_me:$LINENO: result: no" >&5
12922 echo "${ECHO_T}no" >&6
12923 fi
12924
12925   fi
12926
12927     else
12928       if test "x${withval}" != xno; then
12929
12930   if test "x" != x; then
12931     if test -f ""; then
12932       KJC=""
12933     else
12934       # Extract the first word of """", so it can be a program name with args.
12935 set dummy ""; ac_word=$2
12936 echo "$as_me:$LINENO: checking for $ac_word" >&5
12937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12938 if test "${ac_cv_path_KJC+set}" = set; then
12939   echo $ECHO_N "(cached) $ECHO_C" >&6
12940 else
12941   case $KJC in
12942   [\\/]* | ?:[\\/]*)
12943   ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
12944   ;;
12945   *)
12946   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12947 for as_dir in $PATH
12948 do
12949   IFS=$as_save_IFS
12950   test -z "$as_dir" && as_dir=.
12951   for ac_exec_ext in '' $ac_executable_extensions; do
12952   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12953     ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
12954     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12955     break 2
12956   fi
12957 done
12958 done
12959
12960   ;;
12961 esac
12962 fi
12963 KJC=$ac_cv_path_KJC
12964
12965 if test -n "$KJC"; then
12966   echo "$as_me:$LINENO: result: $KJC" >&5
12967 echo "${ECHO_T}$KJC" >&6
12968 else
12969   echo "$as_me:$LINENO: result: no" >&5
12970 echo "${ECHO_T}no" >&6
12971 fi
12972
12973     fi
12974   else
12975     # Extract the first word of ""kJC"", so it can be a program name with args.
12976 set dummy "kJC"; ac_word=$2
12977 echo "$as_me:$LINENO: checking for $ac_word" >&5
12978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12979 if test "${ac_cv_path_KJC+set}" = set; then
12980   echo $ECHO_N "(cached) $ECHO_C" >&6
12981 else
12982   case $KJC in
12983   [\\/]* | ?:[\\/]*)
12984   ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
12985   ;;
12986   *)
12987   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12988 for as_dir in $PATH
12989 do
12990   IFS=$as_save_IFS
12991   test -z "$as_dir" && as_dir=.
12992   for ac_exec_ext in '' $ac_executable_extensions; do
12993   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12994     ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
12995     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12996     break 2
12997   fi
12998 done
12999 done
13000
13001   ;;
13002 esac
13003 fi
13004 KJC=$ac_cv_path_KJC
13005
13006 if test -n "$KJC"; then
13007   echo "$as_me:$LINENO: result: $KJC" >&5
13008 echo "${ECHO_T}$KJC" >&6
13009 else
13010   echo "$as_me:$LINENO: result: no" >&5
13011 echo "${ECHO_T}no" >&6
13012 fi
13013
13014   fi
13015
13016       fi
13017     fi
13018     user_specified_javac=kjc
13019
13020 else
13021
13022
13023   if test "x" != x; then
13024     if test -f ""; then
13025       KJC=""
13026     else
13027       # Extract the first word of """", so it can be a program name with args.
13028 set dummy ""; ac_word=$2
13029 echo "$as_me:$LINENO: checking for $ac_word" >&5
13030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13031 if test "${ac_cv_path_KJC+set}" = set; then
13032   echo $ECHO_N "(cached) $ECHO_C" >&6
13033 else
13034   case $KJC in
13035   [\\/]* | ?:[\\/]*)
13036   ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
13037   ;;
13038   *)
13039   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13040 for as_dir in $PATH
13041 do
13042   IFS=$as_save_IFS
13043   test -z "$as_dir" && as_dir=.
13044   for ac_exec_ext in '' $ac_executable_extensions; do
13045   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13046     ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
13047     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13048     break 2
13049   fi
13050 done
13051 done
13052
13053   ;;
13054 esac
13055 fi
13056 KJC=$ac_cv_path_KJC
13057
13058 if test -n "$KJC"; then
13059   echo "$as_me:$LINENO: result: $KJC" >&5
13060 echo "${ECHO_T}$KJC" >&6
13061 else
13062   echo "$as_me:$LINENO: result: no" >&5
13063 echo "${ECHO_T}no" >&6
13064 fi
13065
13066     fi
13067   else
13068     # Extract the first word of ""kJC"", so it can be a program name with args.
13069 set dummy "kJC"; ac_word=$2
13070 echo "$as_me:$LINENO: checking for $ac_word" >&5
13071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13072 if test "${ac_cv_path_KJC+set}" = set; then
13073   echo $ECHO_N "(cached) $ECHO_C" >&6
13074 else
13075   case $KJC in
13076   [\\/]* | ?:[\\/]*)
13077   ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
13078   ;;
13079   *)
13080   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13081 for as_dir in $PATH
13082 do
13083   IFS=$as_save_IFS
13084   test -z "$as_dir" && as_dir=.
13085   for ac_exec_ext in '' $ac_executable_extensions; do
13086   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13087     ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
13088     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13089     break 2
13090   fi
13091 done
13092 done
13093
13094   ;;
13095 esac
13096 fi
13097 KJC=$ac_cv_path_KJC
13098
13099 if test -n "$KJC"; then
13100   echo "$as_me:$LINENO: result: $KJC" >&5
13101 echo "${ECHO_T}$KJC" >&6
13102 else
13103   echo "$as_me:$LINENO: result: no" >&5
13104 echo "${ECHO_T}no" >&6
13105 fi
13106
13107   fi
13108
13109
13110 fi;
13111
13112
13113
13114
13115 # Check whether --with-gcjx or --without-gcjx was given.
13116 if test "${with_gcjx+set}" = set; then
13117   withval="$with_gcjx"
13118
13119     if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
13120
13121   if test "x${withval}" != x; then
13122     if test -f "${withval}"; then
13123       GCJX="${withval}"
13124     else
13125       # Extract the first word of ""${withval}"", so it can be a program name with args.
13126 set dummy "${withval}"; ac_word=$2
13127 echo "$as_me:$LINENO: checking for $ac_word" >&5
13128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13129 if test "${ac_cv_path_GCJX+set}" = set; then
13130   echo $ECHO_N "(cached) $ECHO_C" >&6
13131 else
13132   case $GCJX in
13133   [\\/]* | ?:[\\/]*)
13134   ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
13135   ;;
13136   *)
13137   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13138 for as_dir in $PATH
13139 do
13140   IFS=$as_save_IFS
13141   test -z "$as_dir" && as_dir=.
13142   for ac_exec_ext in '' $ac_executable_extensions; do
13143   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13144     ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
13145     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13146     break 2
13147   fi
13148 done
13149 done
13150
13151   ;;
13152 esac
13153 fi
13154 GCJX=$ac_cv_path_GCJX
13155
13156 if test -n "$GCJX"; then
13157   echo "$as_me:$LINENO: result: $GCJX" >&5
13158 echo "${ECHO_T}$GCJX" >&6
13159 else
13160   echo "$as_me:$LINENO: result: no" >&5
13161 echo "${ECHO_T}no" >&6
13162 fi
13163
13164     fi
13165   else
13166     # Extract the first word of ""gcjx"", so it can be a program name with args.
13167 set dummy "gcjx"; ac_word=$2
13168 echo "$as_me:$LINENO: checking for $ac_word" >&5
13169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13170 if test "${ac_cv_path_GCJX+set}" = set; then
13171   echo $ECHO_N "(cached) $ECHO_C" >&6
13172 else
13173   case $GCJX in
13174   [\\/]* | ?:[\\/]*)
13175   ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
13176   ;;
13177   *)
13178   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13179 for as_dir in $PATH
13180 do
13181   IFS=$as_save_IFS
13182   test -z "$as_dir" && as_dir=.
13183   for ac_exec_ext in '' $ac_executable_extensions; do
13184   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13185     ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
13186     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13187     break 2
13188   fi
13189 done
13190 done
13191
13192   ;;
13193 esac
13194 fi
13195 GCJX=$ac_cv_path_GCJX
13196
13197 if test -n "$GCJX"; then
13198   echo "$as_me:$LINENO: result: $GCJX" >&5
13199 echo "${ECHO_T}$GCJX" >&6
13200 else
13201   echo "$as_me:$LINENO: result: no" >&5
13202 echo "${ECHO_T}no" >&6
13203 fi
13204
13205   fi
13206
13207     else
13208       if test "x${withval}" != xno; then
13209
13210   if test "x" != x; then
13211     if test -f ""; then
13212       GCJX=""
13213     else
13214       # Extract the first word of """", so it can be a program name with args.
13215 set dummy ""; ac_word=$2
13216 echo "$as_me:$LINENO: checking for $ac_word" >&5
13217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13218 if test "${ac_cv_path_GCJX+set}" = set; then
13219   echo $ECHO_N "(cached) $ECHO_C" >&6
13220 else
13221   case $GCJX in
13222   [\\/]* | ?:[\\/]*)
13223   ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
13224   ;;
13225   *)
13226   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13227 for as_dir in $PATH
13228 do
13229   IFS=$as_save_IFS
13230   test -z "$as_dir" && as_dir=.
13231   for ac_exec_ext in '' $ac_executable_extensions; do
13232   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13233     ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
13234     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13235     break 2
13236   fi
13237 done
13238 done
13239
13240   ;;
13241 esac
13242 fi
13243 GCJX=$ac_cv_path_GCJX
13244
13245 if test -n "$GCJX"; then
13246   echo "$as_me:$LINENO: result: $GCJX" >&5
13247 echo "${ECHO_T}$GCJX" >&6
13248 else
13249   echo "$as_me:$LINENO: result: no" >&5
13250 echo "${ECHO_T}no" >&6
13251 fi
13252
13253     fi
13254   else
13255     # Extract the first word of ""gcjx"", so it can be a program name with args.
13256 set dummy "gcjx"; ac_word=$2
13257 echo "$as_me:$LINENO: checking for $ac_word" >&5
13258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13259 if test "${ac_cv_path_GCJX+set}" = set; then
13260   echo $ECHO_N "(cached) $ECHO_C" >&6
13261 else
13262   case $GCJX in
13263   [\\/]* | ?:[\\/]*)
13264   ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
13265   ;;
13266   *)
13267   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13268 for as_dir in $PATH
13269 do
13270   IFS=$as_save_IFS
13271   test -z "$as_dir" && as_dir=.
13272   for ac_exec_ext in '' $ac_executable_extensions; do
13273   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13274     ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
13275     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13276     break 2
13277   fi
13278 done
13279 done
13280
13281   ;;
13282 esac
13283 fi
13284 GCJX=$ac_cv_path_GCJX
13285
13286 if test -n "$GCJX"; then
13287   echo "$as_me:$LINENO: result: $GCJX" >&5
13288 echo "${ECHO_T}$GCJX" >&6
13289 else
13290   echo "$as_me:$LINENO: result: no" >&5
13291 echo "${ECHO_T}no" >&6
13292 fi
13293
13294   fi
13295
13296       fi
13297     fi
13298     user_specified_javac=gcjx
13299
13300 else
13301
13302
13303   if test "x" != x; then
13304     if test -f ""; then
13305       GCJX=""
13306     else
13307       # Extract the first word of """", so it can be a program name with args.
13308 set dummy ""; ac_word=$2
13309 echo "$as_me:$LINENO: checking for $ac_word" >&5
13310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13311 if test "${ac_cv_path_GCJX+set}" = set; then
13312   echo $ECHO_N "(cached) $ECHO_C" >&6
13313 else
13314   case $GCJX in
13315   [\\/]* | ?:[\\/]*)
13316   ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
13317   ;;
13318   *)
13319   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13320 for as_dir in $PATH
13321 do
13322   IFS=$as_save_IFS
13323   test -z "$as_dir" && as_dir=.
13324   for ac_exec_ext in '' $ac_executable_extensions; do
13325   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13326     ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
13327     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13328     break 2
13329   fi
13330 done
13331 done
13332
13333   ;;
13334 esac
13335 fi
13336 GCJX=$ac_cv_path_GCJX
13337
13338 if test -n "$GCJX"; then
13339   echo "$as_me:$LINENO: result: $GCJX" >&5
13340 echo "${ECHO_T}$GCJX" >&6
13341 else
13342   echo "$as_me:$LINENO: result: no" >&5
13343 echo "${ECHO_T}no" >&6
13344 fi
13345
13346     fi
13347   else
13348     # Extract the first word of ""gcjx"", so it can be a program name with args.
13349 set dummy "gcjx"; ac_word=$2
13350 echo "$as_me:$LINENO: checking for $ac_word" >&5
13351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13352 if test "${ac_cv_path_GCJX+set}" = set; then
13353   echo $ECHO_N "(cached) $ECHO_C" >&6
13354 else
13355   case $GCJX in
13356   [\\/]* | ?:[\\/]*)
13357   ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
13358   ;;
13359   *)
13360   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13361 for as_dir in $PATH
13362 do
13363   IFS=$as_save_IFS
13364   test -z "$as_dir" && as_dir=.
13365   for ac_exec_ext in '' $ac_executable_extensions; do
13366   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13367     ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
13368     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13369     break 2
13370   fi
13371 done
13372 done
13373
13374   ;;
13375 esac
13376 fi
13377 GCJX=$ac_cv_path_GCJX
13378
13379 if test -n "$GCJX"; then
13380   echo "$as_me:$LINENO: result: $GCJX" >&5
13381 echo "${ECHO_T}$GCJX" >&6
13382 else
13383   echo "$as_me:$LINENO: result: no" >&5
13384 echo "${ECHO_T}no" >&6
13385 fi
13386
13387   fi
13388
13389
13390 fi;
13391
13392
13393
13394
13395 # Check whether --with-ecj or --without-ecj was given.
13396 if test "${with_ecj+set}" = set; then
13397   withval="$with_ecj"
13398
13399     if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
13400
13401   if test "x${withval}" != x; then
13402     if test -f "${withval}"; then
13403       ECJ="${withval}"
13404     else
13405       # Extract the first word of ""${withval}"", so it can be a program name with args.
13406 set dummy "${withval}"; ac_word=$2
13407 echo "$as_me:$LINENO: checking for $ac_word" >&5
13408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13409 if test "${ac_cv_path_ECJ+set}" = set; then
13410   echo $ECHO_N "(cached) $ECHO_C" >&6
13411 else
13412   case $ECJ in
13413   [\\/]* | ?:[\\/]*)
13414   ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
13415   ;;
13416   *)
13417   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13418 for as_dir in $PATH
13419 do
13420   IFS=$as_save_IFS
13421   test -z "$as_dir" && as_dir=.
13422   for ac_exec_ext in '' $ac_executable_extensions; do
13423   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13424     ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
13425     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13426     break 2
13427   fi
13428 done
13429 done
13430
13431   ;;
13432 esac
13433 fi
13434 ECJ=$ac_cv_path_ECJ
13435
13436 if test -n "$ECJ"; then
13437   echo "$as_me:$LINENO: result: $ECJ" >&5
13438 echo "${ECHO_T}$ECJ" >&6
13439 else
13440   echo "$as_me:$LINENO: result: no" >&5
13441 echo "${ECHO_T}no" >&6
13442 fi
13443
13444     fi
13445   else
13446     # Extract the first word of ""ecj"", so it can be a program name with args.
13447 set dummy "ecj"; ac_word=$2
13448 echo "$as_me:$LINENO: checking for $ac_word" >&5
13449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13450 if test "${ac_cv_path_ECJ+set}" = set; then
13451   echo $ECHO_N "(cached) $ECHO_C" >&6
13452 else
13453   case $ECJ in
13454   [\\/]* | ?:[\\/]*)
13455   ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
13456   ;;
13457   *)
13458   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13459 for as_dir in $PATH
13460 do
13461   IFS=$as_save_IFS
13462   test -z "$as_dir" && as_dir=.
13463   for ac_exec_ext in '' $ac_executable_extensions; do
13464   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13465     ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
13466     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13467     break 2
13468   fi
13469 done
13470 done
13471
13472   ;;
13473 esac
13474 fi
13475 ECJ=$ac_cv_path_ECJ
13476
13477 if test -n "$ECJ"; then
13478   echo "$as_me:$LINENO: result: $ECJ" >&5
13479 echo "${ECHO_T}$ECJ" >&6
13480 else
13481   echo "$as_me:$LINENO: result: no" >&5
13482 echo "${ECHO_T}no" >&6
13483 fi
13484
13485   fi
13486
13487     else
13488       if test "x${withval}" != xno; then
13489
13490   if test "x" != x; then
13491     if test -f ""; then
13492       ECJ=""
13493     else
13494       # Extract the first word of """", so it can be a program name with args.
13495 set dummy ""; ac_word=$2
13496 echo "$as_me:$LINENO: checking for $ac_word" >&5
13497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13498 if test "${ac_cv_path_ECJ+set}" = set; then
13499   echo $ECHO_N "(cached) $ECHO_C" >&6
13500 else
13501   case $ECJ in
13502   [\\/]* | ?:[\\/]*)
13503   ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
13504   ;;
13505   *)
13506   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13507 for as_dir in $PATH
13508 do
13509   IFS=$as_save_IFS
13510   test -z "$as_dir" && as_dir=.
13511   for ac_exec_ext in '' $ac_executable_extensions; do
13512   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13513     ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
13514     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13515     break 2
13516   fi
13517 done
13518 done
13519
13520   ;;
13521 esac
13522 fi
13523 ECJ=$ac_cv_path_ECJ
13524
13525 if test -n "$ECJ"; then
13526   echo "$as_me:$LINENO: result: $ECJ" >&5
13527 echo "${ECHO_T}$ECJ" >&6
13528 else
13529   echo "$as_me:$LINENO: result: no" >&5
13530 echo "${ECHO_T}no" >&6
13531 fi
13532
13533     fi
13534   else
13535     # Extract the first word of ""ecj"", so it can be a program name with args.
13536 set dummy "ecj"; ac_word=$2
13537 echo "$as_me:$LINENO: checking for $ac_word" >&5
13538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13539 if test "${ac_cv_path_ECJ+set}" = set; then
13540   echo $ECHO_N "(cached) $ECHO_C" >&6
13541 else
13542   case $ECJ in
13543   [\\/]* | ?:[\\/]*)
13544   ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
13545   ;;
13546   *)
13547   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13548 for as_dir in $PATH
13549 do
13550   IFS=$as_save_IFS
13551   test -z "$as_dir" && as_dir=.
13552   for ac_exec_ext in '' $ac_executable_extensions; do
13553   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13554     ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
13555     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13556     break 2
13557   fi
13558 done
13559 done
13560
13561   ;;
13562 esac
13563 fi
13564 ECJ=$ac_cv_path_ECJ
13565
13566 if test -n "$ECJ"; then
13567   echo "$as_me:$LINENO: result: $ECJ" >&5
13568 echo "${ECHO_T}$ECJ" >&6
13569 else
13570   echo "$as_me:$LINENO: result: no" >&5
13571 echo "${ECHO_T}no" >&6
13572 fi
13573
13574   fi
13575
13576       fi
13577     fi
13578     user_specified_javac=ecj
13579
13580 else
13581
13582
13583   if test "x" != x; then
13584     if test -f ""; then
13585       ECJ=""
13586     else
13587       # Extract the first word of """", so it can be a program name with args.
13588 set dummy ""; ac_word=$2
13589 echo "$as_me:$LINENO: checking for $ac_word" >&5
13590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13591 if test "${ac_cv_path_ECJ+set}" = set; then
13592   echo $ECHO_N "(cached) $ECHO_C" >&6
13593 else
13594   case $ECJ in
13595   [\\/]* | ?:[\\/]*)
13596   ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
13597   ;;
13598   *)
13599   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13600 for as_dir in $PATH
13601 do
13602   IFS=$as_save_IFS
13603   test -z "$as_dir" && as_dir=.
13604   for ac_exec_ext in '' $ac_executable_extensions; do
13605   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13606     ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
13607     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13608     break 2
13609   fi
13610 done
13611 done
13612
13613   ;;
13614 esac
13615 fi
13616 ECJ=$ac_cv_path_ECJ
13617
13618 if test -n "$ECJ"; then
13619   echo "$as_me:$LINENO: result: $ECJ" >&5
13620 echo "${ECHO_T}$ECJ" >&6
13621 else
13622   echo "$as_me:$LINENO: result: no" >&5
13623 echo "${ECHO_T}no" >&6
13624 fi
13625
13626     fi
13627   else
13628     # Extract the first word of ""ecj"", so it can be a program name with args.
13629 set dummy "ecj"; ac_word=$2
13630 echo "$as_me:$LINENO: checking for $ac_word" >&5
13631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13632 if test "${ac_cv_path_ECJ+set}" = set; then
13633   echo $ECHO_N "(cached) $ECHO_C" >&6
13634 else
13635   case $ECJ in
13636   [\\/]* | ?:[\\/]*)
13637   ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
13638   ;;
13639   *)
13640   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13641 for as_dir in $PATH
13642 do
13643   IFS=$as_save_IFS
13644   test -z "$as_dir" && as_dir=.
13645   for ac_exec_ext in '' $ac_executable_extensions; do
13646   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13647     ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
13648     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13649     break 2
13650   fi
13651 done
13652 done
13653
13654   ;;
13655 esac
13656 fi
13657 ECJ=$ac_cv_path_ECJ
13658
13659 if test -n "$ECJ"; then
13660   echo "$as_me:$LINENO: result: $ECJ" >&5
13661 echo "${ECHO_T}$ECJ" >&6
13662 else
13663   echo "$as_me:$LINENO: result: no" >&5
13664 echo "${ECHO_T}no" >&6
13665 fi
13666
13667   fi
13668
13669
13670 fi;
13671
13672
13673
13674   if test "x${user_specified_javac}" = x; then
13675
13676
13677 if test "x${GCJ}" != x; then
13678   FOUND_GCJ_TRUE=
13679   FOUND_GCJ_FALSE='#'
13680 else
13681   FOUND_GCJ_TRUE='#'
13682   FOUND_GCJ_FALSE=
13683 fi
13684
13685
13686
13687 if test "x${JIKES}" != x; then
13688   FOUND_JIKES_TRUE=
13689   FOUND_JIKES_FALSE='#'
13690 else
13691   FOUND_JIKES_TRUE='#'
13692   FOUND_JIKES_FALSE=
13693 fi
13694
13695
13696
13697 if test "x${ECJ}" != x; then
13698   FOUND_ECJ_TRUE=
13699   FOUND_ECJ_FALSE='#'
13700 else
13701   FOUND_ECJ_TRUE='#'
13702   FOUND_ECJ_FALSE=
13703 fi
13704
13705   else
13706
13707
13708 if test "x${user_specified_javac}" = xgcj; then
13709   FOUND_GCJ_TRUE=
13710   FOUND_GCJ_FALSE='#'
13711 else
13712   FOUND_GCJ_TRUE='#'
13713   FOUND_GCJ_FALSE=
13714 fi
13715
13716
13717
13718 if test "x${user_specified_javac}" = xjikes; then
13719   FOUND_JIKES_TRUE=
13720   FOUND_JIKES_FALSE='#'
13721 else
13722   FOUND_JIKES_TRUE='#'
13723   FOUND_JIKES_FALSE=
13724 fi
13725
13726
13727
13728 if test "x${user_specified_javac}" = xecj; then
13729   FOUND_ECJ_TRUE=
13730   FOUND_ECJ_FALSE='#'
13731 else
13732   FOUND_ECJ_TRUE='#'
13733   FOUND_ECJ_FALSE=
13734 fi
13735
13736   fi
13737
13738
13739 if test "x${user_specified_javac}" = xkjc; then
13740   FOUND_KJC_TRUE=
13741   FOUND_KJC_FALSE='#'
13742 else
13743   FOUND_KJC_TRUE='#'
13744   FOUND_KJC_FALSE=
13745 fi
13746
13747
13748
13749 if test "x${user_specified_javac}" = xgcjx; then
13750   FOUND_GCJX_TRUE=
13751   FOUND_GCJX_FALSE='#'
13752 else
13753   FOUND_GCJX_TRUE='#'
13754   FOUND_GCJX_FALSE=
13755 fi
13756
13757
13758   if test "x${GCJ}" = x && test "x${JIKES}" = x && test "x${user_specified_javac}" != xkjc && test "x${user_specified_javac}" != xgcjx; then
13759       # FIXME: use autoconf error function
13760       echo "configure: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, or --with-gcjx" 1>&2
13761       exit 1
13762   fi
13763
13764
13765
13766
13767 # Check whether --with-classpath or --without-classpath was given.
13768 if test "${with_classpath+set}" = set; then
13769   withval="$with_classpath"
13770
13771     if test "x${withval}" = xyes; then
13772       # set user classpath to CLASSPATH from env
13773       echo "$as_me:$LINENO: checking for classlib" >&5
13774 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
13775       USER_CLASSLIB=${CLASSPATH}
13776
13777       echo "$as_me:$LINENO: result: ${USER_CLASSLIB}" >&5
13778 echo "${ECHO_T}${USER_CLASSLIB}" >&6
13779       conditional_with_classlib=true
13780     elif test "x${withval}" != x && test "x${withval}" != xno; then
13781       # set user classpath to specified value
13782       echo "$as_me:$LINENO: checking for classlib" >&5
13783 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
13784       USER_CLASSLIB=${withval}
13785
13786       echo "$as_me:$LINENO: result: ${withval}" >&5
13787 echo "${ECHO_T}${withval}" >&6
13788       conditional_with_classlib=true
13789     fi
13790
13791 else
13792    conditional_with_classlib=false
13793 fi;
13794
13795
13796 if test "x${conditional_with_classlib}" = xtrue; then
13797   USER_SPECIFIED_CLASSLIB_TRUE=
13798   USER_SPECIFIED_CLASSLIB_FALSE='#'
13799 else
13800   USER_SPECIFIED_CLASSLIB_TRUE='#'
13801   USER_SPECIFIED_CLASSLIB_FALSE=
13802 fi
13803
13804
13805
13806 # Check whether --with-vm-classes or --without-vm-classes was given.
13807 if test "${with_vm_classes+set}" = set; then
13808   withval="$with_vm_classes"
13809   vm_classes="$with_vm_classes"
13810 else
13811   vm_classes='${top_srcdir}/vm/reference'
13812 fi;
13813
13814
13815
13816 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
13817 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
13818     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
13819 if test "${enable_maintainer_mode+set}" = set; then
13820   enableval="$enable_maintainer_mode"
13821   USE_MAINTAINER_MODE=$enableval
13822 else
13823   USE_MAINTAINER_MODE=no
13824 fi;
13825   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
13826 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
13827
13828
13829 if test $USE_MAINTAINER_MODE = yes; then
13830   MAINTAINER_MODE_TRUE=
13831   MAINTAINER_MODE_FALSE='#'
13832 else
13833   MAINTAINER_MODE_TRUE='#'
13834   MAINTAINER_MODE_FALSE=
13835 fi
13836
13837   MAINT=$MAINTAINER_MODE_TRUE
13838
13839
13840
13841 # Check whether --enable-debug or --disable-debug was given.
13842 if test "${enable_debug+set}" = set; then
13843   enableval="$enable_debug"
13844   case "${enableval}" in
13845                 yes)
13846                 LIBDEBUG="true"
13847
13848 cat >>confdefs.h <<\_ACEOF
13849 #define DEBUG 1
13850 _ACEOF
13851
13852                 ;;
13853                 no)   LIBDEBUG="false" ;;
13854                 *)      { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
13855 echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
13856    { (exit 1); exit 1; }; } ;;
13857               esac
13858 else
13859   LIBDEBUG="false"
13860 fi;
13861
13862
13863 # Check whether --enable-load-library or --disable-load-library was given.
13864 if test "${enable_load_library+set}" = set; then
13865   enableval="$enable_load_library"
13866   case "${enableval}" in
13867                 yes) INIT_LOAD_LIBRARY="true" ;;
13868                 no) INIT_LOAD_LIBRARY="false" ;;
13869                 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-load-library" >&5
13870 echo "$as_me: error: bad value ${enableval} for --enable-load-library" >&2;}
13871    { (exit 1); exit 1; }; } ;;
13872               esac
13873 else
13874   INIT_LOAD_LIBRARY="true"
13875 fi;
13876
13877
13878
13879 # Check whether --enable-java-lang-system-explicit-initialization or --disable-java-lang-system-explicit-initialization was given.
13880 if test "${enable_java_lang_system_explicit_initialization+set}" = set; then
13881   enableval="$enable_java_lang_system_explicit_initialization"
13882   case "${enableval}" in
13883                 yes|true) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="true" ;;
13884                 no|false) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="false" ;;
13885                 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&5
13886 echo "$as_me: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&2;}
13887    { (exit 1); exit 1; }; } ;;
13888               esac
13889 else
13890   JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="false"
13891 fi;
13892
13893
13894
13895 REMOVE=""
13896
13897
13898 # Extract the first word of "mkdir", so it can be a program name with args.
13899 set dummy mkdir; ac_word=$2
13900 echo "$as_me:$LINENO: checking for $ac_word" >&5
13901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13902 if test "${ac_cv_path_MKDIR+set}" = set; then
13903   echo $ECHO_N "(cached) $ECHO_C" >&6
13904 else
13905   case $MKDIR in
13906   [\\/]* | ?:[\\/]*)
13907   ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
13908   ;;
13909   *)
13910   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13911 for as_dir in $PATH
13912 do
13913   IFS=$as_save_IFS
13914   test -z "$as_dir" && as_dir=.
13915   for ac_exec_ext in '' $ac_executable_extensions; do
13916   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13917     ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
13918     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13919     break 2
13920   fi
13921 done
13922 done
13923
13924   ;;
13925 esac
13926 fi
13927 MKDIR=$ac_cv_path_MKDIR
13928
13929 if test -n "$MKDIR"; then
13930   echo "$as_me:$LINENO: result: $MKDIR" >&5
13931 echo "${ECHO_T}$MKDIR" >&6
13932 else
13933   echo "$as_me:$LINENO: result: no" >&5
13934 echo "${ECHO_T}no" >&6
13935 fi
13936
13937 # Extract the first word of "cp", so it can be a program name with args.
13938 set dummy cp; ac_word=$2
13939 echo "$as_me:$LINENO: checking for $ac_word" >&5
13940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13941 if test "${ac_cv_path_CP+set}" = set; then
13942   echo $ECHO_N "(cached) $ECHO_C" >&6
13943 else
13944   case $CP in
13945   [\\/]* | ?:[\\/]*)
13946   ac_cv_path_CP="$CP" # Let the user override the test with a path.
13947   ;;
13948   *)
13949   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13950 for as_dir in $PATH
13951 do
13952   IFS=$as_save_IFS
13953   test -z "$as_dir" && as_dir=.
13954   for ac_exec_ext in '' $ac_executable_extensions; do
13955   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13956     ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
13957     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13958     break 2
13959   fi
13960 done
13961 done
13962
13963   ;;
13964 esac
13965 fi
13966 CP=$ac_cv_path_CP
13967
13968 if test -n "$CP"; then
13969   echo "$as_me:$LINENO: result: $CP" >&5
13970 echo "${ECHO_T}$CP" >&6
13971 else
13972   echo "$as_me:$LINENO: result: no" >&5
13973 echo "${ECHO_T}no" >&6
13974 fi
13975
13976 # Extract the first word of "date", so it can be a program name with args.
13977 set dummy date; ac_word=$2
13978 echo "$as_me:$LINENO: checking for $ac_word" >&5
13979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13980 if test "${ac_cv_path_DATE+set}" = set; then
13981   echo $ECHO_N "(cached) $ECHO_C" >&6
13982 else
13983   case $DATE in
13984   [\\/]* | ?:[\\/]*)
13985   ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
13986   ;;
13987   *)
13988   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13989 for as_dir in $PATH
13990 do
13991   IFS=$as_save_IFS
13992   test -z "$as_dir" && as_dir=.
13993   for ac_exec_ext in '' $ac_executable_extensions; do
13994   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13995     ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
13996     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13997     break 2
13998   fi
13999 done
14000 done
14001
14002   ;;
14003 esac
14004 fi
14005 DATE=$ac_cv_path_DATE
14006
14007 if test -n "$DATE"; then
14008   echo "$as_me:$LINENO: result: $DATE" >&5
14009 echo "${ECHO_T}$DATE" >&6
14010 else
14011   echo "$as_me:$LINENO: result: no" >&5
14012 echo "${ECHO_T}no" >&6
14013 fi
14014
14015
14016 # Extract the first word of "find", so it can be a program name with args.
14017 set dummy find; ac_word=$2
14018 echo "$as_me:$LINENO: checking for $ac_word" >&5
14019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14020 if test "${ac_cv_path_FIND+set}" = set; then
14021   echo $ECHO_N "(cached) $ECHO_C" >&6
14022 else
14023   case $FIND in
14024   [\\/]* | ?:[\\/]*)
14025   ac_cv_path_FIND="$FIND" # Let the user override the test with a path.
14026   ;;
14027   *)
14028   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14029 for as_dir in $PATH
14030 do
14031   IFS=$as_save_IFS
14032   test -z "$as_dir" && as_dir=.
14033   for ac_exec_ext in '' $ac_executable_extensions; do
14034   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14035     ac_cv_path_FIND="$as_dir/$ac_word$ac_exec_ext"
14036     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14037     break 2
14038   fi
14039 done
14040 done
14041
14042   ;;
14043 esac
14044 fi
14045 FIND=$ac_cv_path_FIND
14046
14047 if test -n "$FIND"; then
14048   echo "$as_me:$LINENO: result: $FIND" >&5
14049 echo "${ECHO_T}$FIND" >&6
14050 else
14051   echo "$as_me:$LINENO: result: no" >&5
14052 echo "${ECHO_T}no" >&6
14053 fi
14054
14055
14056
14057   # Extract the first word of "zip", so it can be a program name with args.
14058 set dummy zip; ac_word=$2
14059 echo "$as_me:$LINENO: checking for $ac_word" >&5
14060 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14061 if test "${ac_cv_path_ZIP+set}" = set; then
14062   echo $ECHO_N "(cached) $ECHO_C" >&6
14063 else
14064   case $ZIP in
14065   [\\/]* | ?:[\\/]*)
14066   ac_cv_path_ZIP="$ZIP" # Let the user override the test with a path.
14067   ;;
14068   *)
14069   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14070 for as_dir in $PATH
14071 do
14072   IFS=$as_save_IFS
14073   test -z "$as_dir" && as_dir=.
14074   for ac_exec_ext in '' $ac_executable_extensions; do
14075   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14076     ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext"
14077     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14078     break 2
14079   fi
14080 done
14081 done
14082
14083   ;;
14084 esac
14085 fi
14086 ZIP=$ac_cv_path_ZIP
14087
14088 if test -n "$ZIP"; then
14089   echo "$as_me:$LINENO: result: $ZIP" >&5
14090 echo "${ECHO_T}$ZIP" >&6
14091 else
14092   echo "$as_me:$LINENO: result: no" >&5
14093 echo "${ECHO_T}no" >&6
14094 fi
14095
14096
14097 # Check whether --with-glibj or --without-glibj was given.
14098 if test "${with_glibj+set}" = set; then
14099   withval="$with_glibj"
14100
14101                 if test "x${withval}" = xyes || test "x${withval}" = xzip; then
14102                   install_class_files=no
14103                   build_class_files=yes
14104                   use_zip=yes
14105                 elif test "x${withval}" = xboth; then
14106                   install_class_files=yes
14107                   build_class_files=yes
14108                   use_zip=yes
14109                 elif test "x${withval}" = xflat; then
14110                   install_class_files=yes
14111                   build_class_files=yes
14112                   use_zip=no
14113                 elif test "x${withval}" = xno || test "x${withval}" = xnone; then
14114                   install_class_files=no
14115                   build_class_files=no
14116                   use_zip=no
14117                 elif test "x${withval}" = xbuild; then
14118                   install_class_files=no
14119                   build_class_files=yes
14120                   use_zip=no
14121                 else
14122                   { { echo "$as_me:$LINENO: error: unknown value given to --with-glibj" >&5
14123 echo "$as_me: error: unknown value given to --with-glibj" >&2;}
14124    { (exit 1); exit 1; }; }
14125                 fi
14126
14127 else
14128
14129                 install_class_files=no
14130                 use_zip=yes
14131
14132 fi;
14133
14134
14135 if test "x${use_zip}" = xyes; then
14136   INSTALL_GLIBJ_ZIP_TRUE=
14137   INSTALL_GLIBJ_ZIP_FALSE='#'
14138 else
14139   INSTALL_GLIBJ_ZIP_TRUE='#'
14140   INSTALL_GLIBJ_ZIP_FALSE=
14141 fi
14142
14143
14144
14145 if test "x${install_class_files}" = xyes; then
14146   INSTALL_CLASS_FILES_TRUE=
14147   INSTALL_CLASS_FILES_FALSE='#'
14148 else
14149   INSTALL_CLASS_FILES_TRUE='#'
14150   INSTALL_CLASS_FILES_FALSE=
14151 fi
14152
14153
14154
14155 if test "x${build_class_files}" = xyes; then
14156   BUILD_CLASS_FILES_TRUE=
14157   BUILD_CLASS_FILES_FALSE='#'
14158 else
14159   BUILD_CLASS_FILES_TRUE='#'
14160   BUILD_CLASS_FILES_FALSE=
14161 fi
14162
14163
14164   # Check whether --enable-examples or --disable-examples was given.
14165 if test "${enable_examples+set}" = set; then
14166   enableval="$enable_examples"
14167   case "${enableval}" in
14168                   yes) EXAMPLESDIR="examples" ;;
14169                   no) EXAMPLESDIR="" ;;
14170                   *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-examples" >&5
14171 echo "$as_me: error: bad value ${enableval} for --enable-examples" >&2;}
14172    { (exit 1); exit 1; }; } ;;
14173                 esac
14174 else
14175   EXAMPLESDIR="examples"
14176 fi;
14177   if test "x${use_zip}" = xno && test "x${install_class_files}" = xno; then
14178     EXAMPLESDIR=""
14179   fi
14180
14181
14182
14183
14184
14185 # Check whether --with-gjdoc or --without-gjdoc was given.
14186 if test "${with_gjdoc+set}" = set; then
14187   withval="$with_gjdoc"
14188   if test "x${withval}" = xno; then
14189                  WITH_GJDOC=no;
14190                elif test "x${withval}" = xyes -o "x{withval}" = x; then
14191                  WITH_GJDOC=yes;
14192                  # Extract the first word of "gjdoc", so it can be a program name with args.
14193 set dummy gjdoc; ac_word=$2
14194 echo "$as_me:$LINENO: checking for $ac_word" >&5
14195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14196 if test "${ac_cv_path_GJDOC+set}" = set; then
14197   echo $ECHO_N "(cached) $ECHO_C" >&6
14198 else
14199   case $GJDOC in
14200   [\\/]* | ?:[\\/]*)
14201   ac_cv_path_GJDOC="$GJDOC" # Let the user override the test with a path.
14202   ;;
14203   *)
14204   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14205 for as_dir in $PATH
14206 do
14207   IFS=$as_save_IFS
14208   test -z "$as_dir" && as_dir=.
14209   for ac_exec_ext in '' $ac_executable_extensions; do
14210   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14211     ac_cv_path_GJDOC="$as_dir/$ac_word$ac_exec_ext"
14212     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14213     break 2
14214   fi
14215 done
14216 done
14217
14218   test -z "$ac_cv_path_GJDOC" && ac_cv_path_GJDOC=""no""
14219   ;;
14220 esac
14221 fi
14222 GJDOC=$ac_cv_path_GJDOC
14223
14224 if test -n "$GJDOC"; then
14225   echo "$as_me:$LINENO: result: $GJDOC" >&5
14226 echo "${ECHO_T}$GJDOC" >&6
14227 else
14228   echo "$as_me:$LINENO: result: no" >&5
14229 echo "${ECHO_T}no" >&6
14230 fi
14231
14232                  if test "x${GJDOC}" = xno; then
14233                    { { echo "$as_me:$LINENO: error: \"gjdoc executable not found\"" >&5
14234 echo "$as_me: error: \"gjdoc executable not found\"" >&2;}
14235    { (exit 1); exit 1; }; };
14236                  fi
14237                else
14238                  WITH_GJDOC=yes
14239                  GJDOC="${withval}"
14240                  as_ac_File=`echo "ac_cv_file_${GJDOC}" | $as_tr_sh`
14241 echo "$as_me:$LINENO: checking for ${GJDOC}" >&5
14242 echo $ECHO_N "checking for ${GJDOC}... $ECHO_C" >&6
14243 if eval "test \"\${$as_ac_File+set}\" = set"; then
14244   echo $ECHO_N "(cached) $ECHO_C" >&6
14245 else
14246   test "$cross_compiling" = yes &&
14247   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
14248 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
14249    { (exit 1); exit 1; }; }
14250 if test -r "${GJDOC}"; then
14251   eval "$as_ac_File=yes"
14252 else
14253   eval "$as_ac_File=no"
14254 fi
14255 fi
14256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
14257 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
14258 if test `eval echo '${'$as_ac_File'}'` = yes; then
14259   :
14260 else
14261   { { echo "$as_me:$LINENO: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&5
14262 echo "$as_me: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&2;}
14263    { (exit 1); exit 1; }; }
14264 fi
14265
14266                fi
14267 else
14268   WITH_GJDOC=no
14269 fi;
14270
14271
14272
14273 if test "x${WITH_GJDOC}" = xyes; then
14274   CREATE_API_DOCS_TRUE=
14275   CREATE_API_DOCS_FALSE='#'
14276 else
14277   CREATE_API_DOCS_TRUE='#'
14278   CREATE_API_DOCS_FALSE=
14279 fi
14280
14281
14282
14283
14284
14285 # Check whether --with-jay or --without-jay was given.
14286 if test "${with_jay+set}" = set; then
14287   withval="$with_jay"
14288
14289     if test -d "${withval}"; then
14290       JAY_DIR_PATH="${withval}"
14291       # Extract the first word of "jay", so it can be a program name with args.
14292 set dummy jay; ac_word=$2
14293 echo "$as_me:$LINENO: checking for $ac_word" >&5
14294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14295 if test "${ac_cv_path_JAY+set}" = set; then
14296   echo $ECHO_N "(cached) $ECHO_C" >&6
14297 else
14298   case $JAY in
14299   [\\/]* | ?:[\\/]*)
14300   ac_cv_path_JAY="$JAY" # Let the user override the test with a path.
14301   ;;
14302   *)
14303   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14304 for as_dir in ${JAY_DIR_PATH}
14305 do
14306   IFS=$as_save_IFS
14307   test -z "$as_dir" && as_dir=.
14308   for ac_exec_ext in '' $ac_executable_extensions; do
14309   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14310     ac_cv_path_JAY="$as_dir/$ac_word$ac_exec_ext"
14311     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14312     break 2
14313   fi
14314 done
14315 done
14316
14317   test -z "$ac_cv_path_JAY" && ac_cv_path_JAY=""no""
14318   ;;
14319 esac
14320 fi
14321 JAY=$ac_cv_path_JAY
14322
14323 if test -n "$JAY"; then
14324   echo "$as_me:$LINENO: result: $JAY" >&5
14325 echo "${ECHO_T}$JAY" >&6
14326 else
14327   echo "$as_me:$LINENO: result: no" >&5
14328 echo "${ECHO_T}no" >&6
14329 fi
14330
14331       if test "x${JAY}" = xno; then
14332         { { echo "$as_me:$LINENO: error: \"jay executable not found\"" >&5
14333 echo "$as_me: error: \"jay executable not found\"" >&2;}
14334    { (exit 1); exit 1; }; };
14335       fi
14336     else
14337       JAY_DIR_PATH=$(dirname "${withval}")
14338       JAY="${withval}"
14339
14340     fi
14341     JAY_SKELETON="${JAY_DIR_PATH}/skeleton"
14342     as_ac_File=`echo "ac_cv_file_${JAY_SKELETON}" | $as_tr_sh`
14343 echo "$as_me:$LINENO: checking for ${JAY_SKELETON}" >&5
14344 echo $ECHO_N "checking for ${JAY_SKELETON}... $ECHO_C" >&6
14345 if eval "test \"\${$as_ac_File+set}\" = set"; then
14346   echo $ECHO_N "(cached) $ECHO_C" >&6
14347 else
14348   test "$cross_compiling" = yes &&
14349   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
14350 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
14351    { (exit 1); exit 1; }; }
14352 if test -r "${JAY_SKELETON}"; then
14353   eval "$as_ac_File=yes"
14354 else
14355   eval "$as_ac_File=no"
14356 fi
14357 fi
14358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
14359 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
14360 if test `eval echo '${'$as_ac_File'}'` = yes; then
14361   :
14362 else
14363   { { echo "$as_me:$LINENO: error: \"Expected skeleton file in $(dirname ${withval})\"" >&5
14364 echo "$as_me: error: \"Expected skeleton file in $(dirname ${withval})\"" >&2;}
14365    { (exit 1); exit 1; }; }
14366 fi
14367
14368     JAY_FOUND=yes
14369
14370 else
14371
14372     JAY_FOUND=no
14373
14374 fi;
14375
14376
14377 if test "x${JAY_FOUND}" = xyes; then
14378   REGEN_PARSERS_TRUE=
14379   REGEN_PARSERS_FALSE='#'
14380 else
14381   REGEN_PARSERS_TRUE='#'
14382   REGEN_PARSERS_FALSE=
14383 fi
14384
14385
14386
14387 # Check whether --enable-portable-native-sync or --disable-portable-native-sync was given.
14388 if test "${enable_portable_native_sync+set}" = set; then
14389   enableval="$enable_portable_native_sync"
14390   case "${enableval}" in
14391                 yes)
14392
14393 cat >>confdefs.h <<\_ACEOF
14394 #define PORTABLE_NATIVE_SYNC 1
14395 _ACEOF
14396
14397                      ;;
14398                 no)  ;;
14399                 *)
14400                      { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-portable-native-sync" >&5
14401 echo "$as_me: error: bad value ${enableval} for --enable-portable-native-sync" >&2;}
14402    { (exit 1); exit 1; }; }
14403                      ;;
14404               esac
14405 fi;
14406
14407                                                                                                                                                                                                                                                                                                                                                     ac_config_files="$ac_config_files Makefile doc/Makefile doc/api/Makefile external/Makefile external/sax/Makefile external/w3c_dom/Makefile gnu/classpath/Configuration.java include/Makefile native/Makefile native/fdlibm/Makefile native/jawt/Makefile native/jni/Makefile native/jni/classpath/Makefile native/jni/java-io/Makefile native/jni/java-lang/Makefile native/jni/java-net/Makefile native/jni/java-nio/Makefile native/jni/java-util/Makefile native/jni/gtk-peer/Makefile native/jni/qt-peer/Makefile native/jni/xmlj/Makefile native/jni/midi-alsa/Makefile native/jni/midi-dssi/Makefile native/target/Makefile native/target/Linux/Makefile native/target/generic/Makefile resource/Makefile scripts/Makefile scripts/classpath.spec lib/Makefile lib/gen-classlist.sh lib/copy-vmresources.sh examples/Makefile examples/Makefile.jawt"
14408
14409           ac_config_commands="$ac_config_commands gen-classlist"
14410
14411           ac_config_commands="$ac_config_commands copy-vmresources"
14412
14413 cat >confcache <<\_ACEOF
14414 # This file is a shell script that caches the results of configure
14415 # tests run on this system so they can be shared between configure
14416 # scripts and configure runs, see configure's option --config-cache.
14417 # It is not useful on other systems.  If it contains results you don't
14418 # want to keep, you may remove or edit it.
14419 #
14420 # config.status only pays attention to the cache file if you give it
14421 # the --recheck option to rerun configure.
14422 #
14423 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14424 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14425 # following values.
14426
14427 _ACEOF
14428
14429 # The following way of writing the cache mishandles newlines in values,
14430 # but we know of no workaround that is simple, portable, and efficient.
14431 # So, don't put newlines in cache variables' values.
14432 # Ultrix sh set writes to stderr and can't be redirected directly,
14433 # and sets the high bit in the cache file unless we assign to the vars.
14434 {
14435   (set) 2>&1 |
14436     case `(ac_space=' '; set | grep ac_space) 2>&1` in
14437     *ac_space=\ *)
14438       # `set' does not quote correctly, so add quotes (double-quote
14439       # substitution turns \\\\ into \\, and sed turns \\ into \).
14440       sed -n \
14441         "s/'/'\\\\''/g;
14442           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14443       ;;
14444     *)
14445       # `set' quotes correctly as required by POSIX, so do not add quotes.
14446       sed -n \
14447         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
14448       ;;
14449     esac;
14450 } |
14451   sed '
14452      t clear
14453      : clear
14454      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14455      t end
14456      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14457      : end' >>confcache
14458 if diff $cache_file confcache >/dev/null 2>&1; then :; else
14459   if test -w $cache_file; then
14460     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
14461     cat confcache >$cache_file
14462   else
14463     echo "not updating unwritable cache $cache_file"
14464   fi
14465 fi
14466 rm -f confcache
14467
14468 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14469 # Let make expand exec_prefix.
14470 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14471
14472 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14473 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14474 # trailing colons and then remove the whole line if VPATH becomes empty
14475 # (actually we leave an empty line to preserve line numbers).
14476 if test "x$srcdir" = x.; then
14477   ac_vpsub='/^[  ]*VPATH[        ]*=/{
14478 s/:*\$(srcdir):*/:/;
14479 s/:*\${srcdir}:*/:/;
14480 s/:*@srcdir@:*/:/;
14481 s/^\([^=]*=[     ]*\):*/\1/;
14482 s/:*$//;
14483 s/^[^=]*=[       ]*$//;
14484 }'
14485 fi
14486
14487 DEFS=-DHAVE_CONFIG_H
14488
14489 ac_libobjs=
14490 ac_ltlibobjs=
14491 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14492   # 1. Remove the extension, and $U if already installed.
14493   ac_i=`echo "$ac_i" |
14494          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
14495   # 2. Add them.
14496   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
14497   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
14498 done
14499 LIBOBJS=$ac_libobjs
14500
14501 LTLIBOBJS=$ac_ltlibobjs
14502
14503
14504 if test -z "${CREATE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_JNI_LIBRARIES_FALSE}"; then
14505   { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
14506 Usually this means the macro was only invoked conditionally." >&5
14507 echo "$as_me: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
14508 Usually this means the macro was only invoked conditionally." >&2;}
14509    { (exit 1); exit 1; }; }
14510 fi
14511 if test -z "${CREATE_CORE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_CORE_JNI_LIBRARIES_FALSE}"; then
14512   { { echo "$as_me:$LINENO: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
14513 Usually this means the macro was only invoked conditionally." >&5
14514 echo "$as_me: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
14515 Usually this means the macro was only invoked conditionally." >&2;}
14516    { (exit 1); exit 1; }; }
14517 fi
14518 if test -z "${CREATE_XMLJ_LIBRARY_TRUE}" && test -z "${CREATE_XMLJ_LIBRARY_FALSE}"; then
14519   { { echo "$as_me:$LINENO: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
14520 Usually this means the macro was only invoked conditionally." >&5
14521 echo "$as_me: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
14522 Usually this means the macro was only invoked conditionally." >&2;}
14523    { (exit 1); exit 1; }; }
14524 fi
14525 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14526   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
14527 Usually this means the macro was only invoked conditionally." >&5
14528 echo "$as_me: error: conditional \"AMDEP\" was never defined.
14529 Usually this means the macro was only invoked conditionally." >&2;}
14530    { (exit 1); exit 1; }; }
14531 fi
14532 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14533   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
14534 Usually this means the macro was only invoked conditionally." >&5
14535 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
14536 Usually this means the macro was only invoked conditionally." >&2;}
14537    { (exit 1); exit 1; }; }
14538 fi
14539 if test -z "${CREATE_ALSA_LIBRARIES_TRUE}" && test -z "${CREATE_ALSA_LIBRARIES_FALSE}"; then
14540   { { echo "$as_me:$LINENO: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
14541 Usually this means the macro was only invoked conditionally." >&5
14542 echo "$as_me: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
14543 Usually this means the macro was only invoked conditionally." >&2;}
14544    { (exit 1); exit 1; }; }
14545 fi
14546 if test -z "${CREATE_DSSI_LIBRARIES_TRUE}" && test -z "${CREATE_DSSI_LIBRARIES_FALSE}"; then
14547   { { echo "$as_me:$LINENO: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
14548 Usually this means the macro was only invoked conditionally." >&5
14549 echo "$as_me: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
14550 Usually this means the macro was only invoked conditionally." >&2;}
14551    { (exit 1); exit 1; }; }
14552 fi
14553 if test -z "${CREATE_GTK_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GTK_PEER_LIBRARIES_FALSE}"; then
14554   { { echo "$as_me:$LINENO: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
14555 Usually this means the macro was only invoked conditionally." >&5
14556 echo "$as_me: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
14557 Usually this means the macro was only invoked conditionally." >&2;}
14558    { (exit 1); exit 1; }; }
14559 fi
14560 if test -z "${GTK_CAIRO_TRUE}" && test -z "${GTK_CAIRO_FALSE}"; then
14561   { { echo "$as_me:$LINENO: error: conditional \"GTK_CAIRO\" was never defined.
14562 Usually this means the macro was only invoked conditionally." >&5
14563 echo "$as_me: error: conditional \"GTK_CAIRO\" was never defined.
14564 Usually this means the macro was only invoked conditionally." >&2;}
14565    { (exit 1); exit 1; }; }
14566 fi
14567 if test -z "${CREATE_QT_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_QT_PEER_LIBRARIES_FALSE}"; then
14568   { { echo "$as_me:$LINENO: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
14569 Usually this means the macro was only invoked conditionally." >&5
14570 echo "$as_me: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
14571 Usually this means the macro was only invoked conditionally." >&2;}
14572    { (exit 1); exit 1; }; }
14573 fi
14574 if test -z "${CREATE_JNI_HEADERS_TRUE}" && test -z "${CREATE_JNI_HEADERS_FALSE}"; then
14575   { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
14576 Usually this means the macro was only invoked conditionally." >&5
14577 echo "$as_me: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
14578 Usually this means the macro was only invoked conditionally." >&2;}
14579    { (exit 1); exit 1; }; }
14580 fi
14581 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14582   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
14583 Usually this means the macro was only invoked conditionally." >&5
14584 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
14585 Usually this means the macro was only invoked conditionally." >&2;}
14586    { (exit 1); exit 1; }; }
14587 fi
14588 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
14589   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
14590 Usually this means the macro was only invoked conditionally." >&5
14591 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
14592 Usually this means the macro was only invoked conditionally." >&2;}
14593    { (exit 1); exit 1; }; }
14594 fi
14595 if test -z "${USER_SPECIFIED_JAVAH_TRUE}" && test -z "${USER_SPECIFIED_JAVAH_FALSE}"; then
14596   { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
14597 Usually this means the macro was only invoked conditionally." >&5
14598 echo "$as_me: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
14599 Usually this means the macro was only invoked conditionally." >&2;}
14600    { (exit 1); exit 1; }; }
14601 fi
14602 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
14603   { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
14604 Usually this means the macro was only invoked conditionally." >&5
14605 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
14606 Usually this means the macro was only invoked conditionally." >&2;}
14607    { (exit 1); exit 1; }; }
14608 fi
14609 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
14610   { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
14611 Usually this means the macro was only invoked conditionally." >&5
14612 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
14613 Usually this means the macro was only invoked conditionally." >&2;}
14614    { (exit 1); exit 1; }; }
14615 fi
14616 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
14617   { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
14618 Usually this means the macro was only invoked conditionally." >&5
14619 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
14620 Usually this means the macro was only invoked conditionally." >&2;}
14621    { (exit 1); exit 1; }; }
14622 fi
14623 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
14624   { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
14625 Usually this means the macro was only invoked conditionally." >&5
14626 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
14627 Usually this means the macro was only invoked conditionally." >&2;}
14628    { (exit 1); exit 1; }; }
14629 fi
14630 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
14631   { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
14632 Usually this means the macro was only invoked conditionally." >&5
14633 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
14634 Usually this means the macro was only invoked conditionally." >&2;}
14635    { (exit 1); exit 1; }; }
14636 fi
14637 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
14638   { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
14639 Usually this means the macro was only invoked conditionally." >&5
14640 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
14641 Usually this means the macro was only invoked conditionally." >&2;}
14642    { (exit 1); exit 1; }; }
14643 fi
14644 if test -z "${FOUND_KJC_TRUE}" && test -z "${FOUND_KJC_FALSE}"; then
14645   { { echo "$as_me:$LINENO: error: conditional \"FOUND_KJC\" was never defined.
14646 Usually this means the macro was only invoked conditionally." >&5
14647 echo "$as_me: error: conditional \"FOUND_KJC\" was never defined.
14648 Usually this means the macro was only invoked conditionally." >&2;}
14649    { (exit 1); exit 1; }; }
14650 fi
14651 if test -z "${FOUND_GCJX_TRUE}" && test -z "${FOUND_GCJX_FALSE}"; then
14652   { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJX\" was never defined.
14653 Usually this means the macro was only invoked conditionally." >&5
14654 echo "$as_me: error: conditional \"FOUND_GCJX\" was never defined.
14655 Usually this means the macro was only invoked conditionally." >&2;}
14656    { (exit 1); exit 1; }; }
14657 fi
14658 if test -z "${USER_SPECIFIED_CLASSLIB_TRUE}" && test -z "${USER_SPECIFIED_CLASSLIB_FALSE}"; then
14659   { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
14660 Usually this means the macro was only invoked conditionally." >&5
14661 echo "$as_me: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
14662 Usually this means the macro was only invoked conditionally." >&2;}
14663    { (exit 1); exit 1; }; }
14664 fi
14665 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14666   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
14667 Usually this means the macro was only invoked conditionally." >&5
14668 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
14669 Usually this means the macro was only invoked conditionally." >&2;}
14670    { (exit 1); exit 1; }; }
14671 fi
14672 if test -z "${INSTALL_GLIBJ_ZIP_TRUE}" && test -z "${INSTALL_GLIBJ_ZIP_FALSE}"; then
14673   { { echo "$as_me:$LINENO: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
14674 Usually this means the macro was only invoked conditionally." >&5
14675 echo "$as_me: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
14676 Usually this means the macro was only invoked conditionally." >&2;}
14677    { (exit 1); exit 1; }; }
14678 fi
14679 if test -z "${INSTALL_CLASS_FILES_TRUE}" && test -z "${INSTALL_CLASS_FILES_FALSE}"; then
14680   { { echo "$as_me:$LINENO: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
14681 Usually this means the macro was only invoked conditionally." >&5
14682 echo "$as_me: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
14683 Usually this means the macro was only invoked conditionally." >&2;}
14684    { (exit 1); exit 1; }; }
14685 fi
14686 if test -z "${BUILD_CLASS_FILES_TRUE}" && test -z "${BUILD_CLASS_FILES_FALSE}"; then
14687   { { echo "$as_me:$LINENO: error: conditional \"BUILD_CLASS_FILES\" was never defined.
14688 Usually this means the macro was only invoked conditionally." >&5
14689 echo "$as_me: error: conditional \"BUILD_CLASS_FILES\" was never defined.
14690 Usually this means the macro was only invoked conditionally." >&2;}
14691    { (exit 1); exit 1; }; }
14692 fi
14693 if test -z "${CREATE_API_DOCS_TRUE}" && test -z "${CREATE_API_DOCS_FALSE}"; then
14694   { { echo "$as_me:$LINENO: error: conditional \"CREATE_API_DOCS\" was never defined.
14695 Usually this means the macro was only invoked conditionally." >&5
14696 echo "$as_me: error: conditional \"CREATE_API_DOCS\" was never defined.
14697 Usually this means the macro was only invoked conditionally." >&2;}
14698    { (exit 1); exit 1; }; }
14699 fi
14700 if test -z "${REGEN_PARSERS_TRUE}" && test -z "${REGEN_PARSERS_FALSE}"; then
14701   { { echo "$as_me:$LINENO: error: conditional \"REGEN_PARSERS\" was never defined.
14702 Usually this means the macro was only invoked conditionally." >&5
14703 echo "$as_me: error: conditional \"REGEN_PARSERS\" was never defined.
14704 Usually this means the macro was only invoked conditionally." >&2;}
14705    { (exit 1); exit 1; }; }
14706 fi
14707
14708 : ${CONFIG_STATUS=./config.status}
14709 ac_clean_files_save=$ac_clean_files
14710 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14711 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
14712 echo "$as_me: creating $CONFIG_STATUS" >&6;}
14713 cat >$CONFIG_STATUS <<_ACEOF
14714 #! $SHELL
14715 # Generated by $as_me.
14716 # Run this file to recreate the current configuration.
14717 # Compiler output produced by configure, useful for debugging
14718 # configure, is in config.log if it exists.
14719
14720 debug=false
14721 ac_cs_recheck=false
14722 ac_cs_silent=false
14723 SHELL=\${CONFIG_SHELL-$SHELL}
14724 _ACEOF
14725
14726 cat >>$CONFIG_STATUS <<\_ACEOF
14727 ## --------------------- ##
14728 ## M4sh Initialization.  ##
14729 ## --------------------- ##
14730
14731 # Be Bourne compatible
14732 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14733   emulate sh
14734   NULLCMD=:
14735   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
14736   # is contrary to our usage.  Disable this feature.
14737   alias -g '${1+"$@"}'='"$@"'
14738 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
14739   set -o posix
14740 fi
14741 DUALCASE=1; export DUALCASE # for MKS sh
14742
14743 # Support unset when possible.
14744 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
14745   as_unset=unset
14746 else
14747   as_unset=false
14748 fi
14749
14750
14751 # Work around bugs in pre-3.0 UWIN ksh.
14752 $as_unset ENV MAIL MAILPATH
14753 PS1='$ '
14754 PS2='> '
14755 PS4='+ '
14756
14757 # NLS nuisances.
14758 for as_var in \
14759   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
14760   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
14761   LC_TELEPHONE LC_TIME
14762 do
14763   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
14764     eval $as_var=C; export $as_var
14765   else
14766     $as_unset $as_var
14767   fi
14768 done
14769
14770 # Required to use basename.
14771 if expr a : '\(a\)' >/dev/null 2>&1; then
14772   as_expr=expr
14773 else
14774   as_expr=false
14775 fi
14776
14777 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
14778   as_basename=basename
14779 else
14780   as_basename=false
14781 fi
14782
14783
14784 # Name of the executable.
14785 as_me=`$as_basename "$0" ||
14786 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14787          X"$0" : 'X\(//\)$' \| \
14788          X"$0" : 'X\(/\)$' \| \
14789          .     : '\(.\)' 2>/dev/null ||
14790 echo X/"$0" |
14791     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
14792           /^X\/\(\/\/\)$/{ s//\1/; q; }
14793           /^X\/\(\/\).*/{ s//\1/; q; }
14794           s/.*/./; q'`
14795
14796
14797 # PATH needs CR, and LINENO needs CR and PATH.
14798 # Avoid depending upon Character Ranges.
14799 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14800 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14801 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14802 as_cr_digits='0123456789'
14803 as_cr_alnum=$as_cr_Letters$as_cr_digits
14804
14805 # The user is always right.
14806 if test "${PATH_SEPARATOR+set}" != set; then
14807   echo "#! /bin/sh" >conf$$.sh
14808   echo  "exit 0"   >>conf$$.sh
14809   chmod +x conf$$.sh
14810   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14811     PATH_SEPARATOR=';'
14812   else
14813     PATH_SEPARATOR=:
14814   fi
14815   rm -f conf$$.sh
14816 fi
14817
14818
14819   as_lineno_1=$LINENO
14820   as_lineno_2=$LINENO
14821   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
14822   test "x$as_lineno_1" != "x$as_lineno_2" &&
14823   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
14824   # Find who we are.  Look in the path if we contain no path at all
14825   # relative or not.
14826   case $0 in
14827     *[\\/]* ) as_myself=$0 ;;
14828     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14829 for as_dir in $PATH
14830 do
14831   IFS=$as_save_IFS
14832   test -z "$as_dir" && as_dir=.
14833   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14834 done
14835
14836        ;;
14837   esac
14838   # We did not find ourselves, most probably we were run as `sh COMMAND'
14839   # in which case we are not to be found in the path.
14840   if test "x$as_myself" = x; then
14841     as_myself=$0
14842   fi
14843   if test ! -f "$as_myself"; then
14844     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
14845 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
14846    { (exit 1); exit 1; }; }
14847   fi
14848   case $CONFIG_SHELL in
14849   '')
14850     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14851 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
14852 do
14853   IFS=$as_save_IFS
14854   test -z "$as_dir" && as_dir=.
14855   for as_base in sh bash ksh sh5; do
14856          case $as_dir in
14857          /*)
14858            if ("$as_dir/$as_base" -c '
14859   as_lineno_1=$LINENO
14860   as_lineno_2=$LINENO
14861   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
14862   test "x$as_lineno_1" != "x$as_lineno_2" &&
14863   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
14864              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
14865              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
14866              CONFIG_SHELL=$as_dir/$as_base
14867              export CONFIG_SHELL
14868              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
14869            fi;;
14870          esac
14871        done
14872 done
14873 ;;
14874   esac
14875
14876   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
14877   # uniformly replaced by the line number.  The first 'sed' inserts a
14878   # line-number line before each line; the second 'sed' does the real
14879   # work.  The second script uses 'N' to pair each line-number line
14880   # with the numbered line, and appends trailing '-' during
14881   # substitution so that $LINENO is not a special case at line end.
14882   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
14883   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
14884   sed '=' <$as_myself |
14885     sed '
14886       N
14887       s,$,-,
14888       : loop
14889       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
14890       t loop
14891       s,-$,,
14892       s,^['$as_cr_digits']*\n,,
14893     ' >$as_me.lineno &&
14894   chmod +x $as_me.lineno ||
14895     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
14896 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
14897    { (exit 1); exit 1; }; }
14898
14899   # Don't try to exec as it changes $[0], causing all sort of problems
14900   # (the dirname of $[0] is not the place where we might find the
14901   # original and so on.  Autoconf is especially sensible to this).
14902   . ./$as_me.lineno
14903   # Exit status is that of the last command.
14904   exit
14905 }
14906
14907
14908 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
14909   *c*,-n*) ECHO_N= ECHO_C='
14910 ' ECHO_T='      ' ;;
14911   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
14912   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
14913 esac
14914
14915 if expr a : '\(a\)' >/dev/null 2>&1; then
14916   as_expr=expr
14917 else
14918   as_expr=false
14919 fi
14920
14921 rm -f conf$$ conf$$.exe conf$$.file
14922 echo >conf$$.file
14923 if ln -s conf$$.file conf$$ 2>/dev/null; then
14924   # We could just check for DJGPP; but this test a) works b) is more generic
14925   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
14926   if test -f conf$$.exe; then
14927     # Don't use ln at all; we don't have any links
14928     as_ln_s='cp -p'
14929   else
14930     as_ln_s='ln -s'
14931   fi
14932 elif ln conf$$.file conf$$ 2>/dev/null; then
14933   as_ln_s=ln
14934 else
14935   as_ln_s='cp -p'
14936 fi
14937 rm -f conf$$ conf$$.exe conf$$.file
14938
14939 if mkdir -p . 2>/dev/null; then
14940   as_mkdir_p=:
14941 else
14942   test -d ./-p && rmdir ./-p
14943   as_mkdir_p=false
14944 fi
14945
14946 as_executable_p="test -f"
14947
14948 # Sed expression to map a string onto a valid CPP name.
14949 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14950
14951 # Sed expression to map a string onto a valid variable name.
14952 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14953
14954
14955 # IFS
14956 # We need space, tab and new line, in precisely that order.
14957 as_nl='
14958 '
14959 IFS="   $as_nl"
14960
14961 # CDPATH.
14962 $as_unset CDPATH
14963
14964 exec 6>&1
14965
14966 # Open the log real soon, to keep \$[0] and so on meaningful, and to
14967 # report actual input values of CONFIG_FILES etc. instead of their
14968 # values after options handling.  Logging --version etc. is OK.
14969 exec 5>>config.log
14970 {
14971   echo
14972   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14973 ## Running $as_me. ##
14974 _ASBOX
14975 } >&5
14976 cat >&5 <<_CSEOF
14977
14978 This file was extended by GNU Classpath $as_me 0.20-pre, which was
14979 generated by GNU Autoconf 2.59.  Invocation command line was
14980
14981   CONFIG_FILES    = $CONFIG_FILES
14982   CONFIG_HEADERS  = $CONFIG_HEADERS
14983   CONFIG_LINKS    = $CONFIG_LINKS
14984   CONFIG_COMMANDS = $CONFIG_COMMANDS
14985   $ $0 $@
14986
14987 _CSEOF
14988 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
14989 echo >&5
14990 _ACEOF
14991
14992 # Files that config.status was made for.
14993 if test -n "$ac_config_files"; then
14994   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
14995 fi
14996
14997 if test -n "$ac_config_headers"; then
14998   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
14999 fi
15000
15001 if test -n "$ac_config_links"; then
15002   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
15003 fi
15004
15005 if test -n "$ac_config_commands"; then
15006   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
15007 fi
15008
15009 cat >>$CONFIG_STATUS <<\_ACEOF
15010
15011 ac_cs_usage="\
15012 \`$as_me' instantiates files from templates according to the
15013 current configuration.
15014
15015 Usage: $0 [OPTIONS] [FILE]...
15016
15017   -h, --help       print this help, then exit
15018   -V, --version    print version number, then exit
15019   -q, --quiet      do not print progress messages
15020   -d, --debug      don't remove temporary files
15021       --recheck    update $as_me by reconfiguring in the same conditions
15022   --file=FILE[:TEMPLATE]
15023                    instantiate the configuration file FILE
15024   --header=FILE[:TEMPLATE]
15025                    instantiate the configuration header FILE
15026
15027 Configuration files:
15028 $config_files
15029
15030 Configuration headers:
15031 $config_headers
15032
15033 Configuration links:
15034 $config_links
15035
15036 Configuration commands:
15037 $config_commands
15038
15039 Report bugs to <bug-autoconf@gnu.org>."
15040 _ACEOF
15041
15042 cat >>$CONFIG_STATUS <<_ACEOF
15043 ac_cs_version="\\
15044 GNU Classpath config.status 0.20-pre
15045 configured by $0, generated by GNU Autoconf 2.59,
15046   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
15047
15048 Copyright (C) 2003 Free Software Foundation, Inc.
15049 This config.status script is free software; the Free Software Foundation
15050 gives unlimited permission to copy, distribute and modify it."
15051 srcdir=$srcdir
15052 INSTALL="$INSTALL"
15053 _ACEOF
15054
15055 cat >>$CONFIG_STATUS <<\_ACEOF
15056 # If no file are specified by the user, then we need to provide default
15057 # value.  By we need to know if files were specified by the user.
15058 ac_need_defaults=:
15059 while test $# != 0
15060 do
15061   case $1 in
15062   --*=*)
15063     ac_option=`expr "x$1" : 'x\([^=]*\)='`
15064     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
15065     ac_shift=:
15066     ;;
15067   -*)
15068     ac_option=$1
15069     ac_optarg=$2
15070     ac_shift=shift
15071     ;;
15072   *) # This is not an option, so the user has probably given explicit
15073      # arguments.
15074      ac_option=$1
15075      ac_need_defaults=false;;
15076   esac
15077
15078   case $ac_option in
15079   # Handling of the options.
15080 _ACEOF
15081 cat >>$CONFIG_STATUS <<\_ACEOF
15082   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15083     ac_cs_recheck=: ;;
15084   --version | --vers* | -V )
15085     echo "$ac_cs_version"; exit 0 ;;
15086   --he | --h)
15087     # Conflict between --help and --header
15088     { { echo "$as_me:$LINENO: error: ambiguous option: $1
15089 Try \`$0 --help' for more information." >&5
15090 echo "$as_me: error: ambiguous option: $1
15091 Try \`$0 --help' for more information." >&2;}
15092    { (exit 1); exit 1; }; };;
15093   --help | --hel | -h )
15094     echo "$ac_cs_usage"; exit 0 ;;
15095   --debug | --d* | -d )
15096     debug=: ;;
15097   --file | --fil | --fi | --f )
15098     $ac_shift
15099     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
15100     ac_need_defaults=false;;
15101   --header | --heade | --head | --hea )
15102     $ac_shift
15103     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
15104     ac_need_defaults=false;;
15105   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15106   | -silent | --silent | --silen | --sile | --sil | --si | --s)
15107     ac_cs_silent=: ;;
15108
15109   # This is an error.
15110   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
15111 Try \`$0 --help' for more information." >&5
15112 echo "$as_me: error: unrecognized option: $1
15113 Try \`$0 --help' for more information." >&2;}
15114    { (exit 1); exit 1; }; } ;;
15115
15116   *) ac_config_targets="$ac_config_targets $1" ;;
15117
15118   esac
15119   shift
15120 done
15121
15122 ac_configure_extra_args=
15123
15124 if $ac_cs_silent; then
15125   exec 6>/dev/null
15126   ac_configure_extra_args="$ac_configure_extra_args --silent"
15127 fi
15128
15129 _ACEOF
15130 cat >>$CONFIG_STATUS <<_ACEOF
15131 if \$ac_cs_recheck; then
15132   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
15133   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15134 fi
15135
15136 _ACEOF
15137
15138 cat >>$CONFIG_STATUS <<_ACEOF
15139 #
15140 # INIT-COMMANDS section.
15141 #
15142
15143 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15144
15145 _ACEOF
15146
15147
15148
15149 cat >>$CONFIG_STATUS <<\_ACEOF
15150 for ac_config_target in $ac_config_targets
15151 do
15152   case "$ac_config_target" in
15153   # Handling of arguments.
15154   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15155   "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15156   "doc/api/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/api/Makefile" ;;
15157   "external/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/Makefile" ;;
15158   "external/sax/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/sax/Makefile" ;;
15159   "external/w3c_dom/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/w3c_dom/Makefile" ;;
15160   "gnu/classpath/Configuration.java" ) CONFIG_FILES="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
15161   "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
15162   "native/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/Makefile" ;;
15163   "native/fdlibm/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/fdlibm/Makefile" ;;
15164   "native/jawt/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jawt/Makefile" ;;
15165   "native/jni/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/Makefile" ;;
15166   "native/jni/classpath/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/classpath/Makefile" ;;
15167   "native/jni/java-io/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-io/Makefile" ;;
15168   "native/jni/java-lang/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-lang/Makefile" ;;
15169   "native/jni/java-net/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-net/Makefile" ;;
15170   "native/jni/java-nio/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-nio/Makefile" ;;
15171   "native/jni/java-util/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-util/Makefile" ;;
15172   "native/jni/gtk-peer/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/gtk-peer/Makefile" ;;
15173   "native/jni/qt-peer/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/qt-peer/Makefile" ;;
15174   "native/jni/xmlj/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/xmlj/Makefile" ;;
15175   "native/jni/midi-alsa/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/midi-alsa/Makefile" ;;
15176   "native/jni/midi-dssi/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/midi-dssi/Makefile" ;;
15177   "native/target/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/target/Makefile" ;;
15178   "native/target/Linux/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/target/Linux/Makefile" ;;
15179   "native/target/generic/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/target/generic/Makefile" ;;
15180   "resource/Makefile" ) CONFIG_FILES="$CONFIG_FILES resource/Makefile" ;;
15181   "scripts/Makefile" ) CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
15182   "scripts/classpath.spec" ) CONFIG_FILES="$CONFIG_FILES scripts/classpath.spec" ;;
15183   "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
15184   "lib/gen-classlist.sh" ) CONFIG_FILES="$CONFIG_FILES lib/gen-classlist.sh" ;;
15185   "lib/copy-vmresources.sh" ) CONFIG_FILES="$CONFIG_FILES lib/copy-vmresources.sh" ;;
15186   "examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
15187   "examples/Makefile.jawt" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile.jawt" ;;
15188   "$ac_config_links_1" ) CONFIG_LINKS="$CONFIG_LINKS $ac_config_links_1" ;;
15189   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15190   "gen-classlist" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gen-classlist" ;;
15191   "copy-vmresources" ) CONFIG_COMMANDS="$CONFIG_COMMANDS copy-vmresources" ;;
15192   "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
15193   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
15194 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
15195    { (exit 1); exit 1; }; };;
15196   esac
15197 done
15198
15199 # If the user did not use the arguments to specify the items to instantiate,
15200 # then the envvar interface is used.  Set only those that are not.
15201 # We use the long form for the default assignment because of an extremely
15202 # bizarre bug on SunOS 4.1.3.
15203 if $ac_need_defaults; then
15204   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15205   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15206   test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
15207   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15208 fi
15209
15210 # Have a temporary directory for convenience.  Make it in the build tree
15211 # simply because there is no reason to put it here, and in addition,
15212 # creating and moving files from /tmp can sometimes cause problems.
15213 # Create a temporary directory, and hook for its removal unless debugging.
15214 $debug ||
15215 {
15216   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
15217   trap '{ (exit 1); exit 1; }' 1 2 13 15
15218 }
15219
15220 # Create a (secure) tmp directory for tmp files.
15221
15222 {
15223   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
15224   test -n "$tmp" && test -d "$tmp"
15225 }  ||
15226 {
15227   tmp=./confstat$$-$RANDOM
15228   (umask 077 && mkdir $tmp)
15229 } ||
15230 {
15231    echo "$me: cannot create a temporary directory in ." >&2
15232    { (exit 1); exit 1; }
15233 }
15234
15235 _ACEOF
15236
15237 cat >>$CONFIG_STATUS <<_ACEOF
15238
15239 #
15240 # CONFIG_FILES section.
15241 #
15242
15243 # No need to generate the scripts if there are no CONFIG_FILES.
15244 # This happens for instance when ./config.status config.h
15245 if test -n "\$CONFIG_FILES"; then
15246   # Protect against being on the right side of a sed subst in config.status.
15247   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
15248    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
15249 s,@SHELL@,$SHELL,;t t
15250 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
15251 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
15252 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
15253 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
15254 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
15255 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
15256 s,@exec_prefix@,$exec_prefix,;t t
15257 s,@prefix@,$prefix,;t t
15258 s,@program_transform_name@,$program_transform_name,;t t
15259 s,@bindir@,$bindir,;t t
15260 s,@sbindir@,$sbindir,;t t
15261 s,@libexecdir@,$libexecdir,;t t
15262 s,@datadir@,$datadir,;t t
15263 s,@sysconfdir@,$sysconfdir,;t t
15264 s,@sharedstatedir@,$sharedstatedir,;t t
15265 s,@localstatedir@,$localstatedir,;t t
15266 s,@libdir@,$libdir,;t t
15267 s,@includedir@,$includedir,;t t
15268 s,@oldincludedir@,$oldincludedir,;t t
15269 s,@infodir@,$infodir,;t t
15270 s,@mandir@,$mandir,;t t
15271 s,@build_alias@,$build_alias,;t t
15272 s,@host_alias@,$host_alias,;t t
15273 s,@target_alias@,$target_alias,;t t
15274 s,@DEFS@,$DEFS,;t t
15275 s,@ECHO_C@,$ECHO_C,;t t
15276 s,@ECHO_N@,$ECHO_N,;t t
15277 s,@ECHO_T@,$ECHO_T,;t t
15278 s,@LIBS@,$LIBS,;t t
15279 s,@build@,$build,;t t
15280 s,@build_cpu@,$build_cpu,;t t
15281 s,@build_vendor@,$build_vendor,;t t
15282 s,@build_os@,$build_os,;t t
15283 s,@host@,$host,;t t
15284 s,@host_cpu@,$host_cpu,;t t
15285 s,@host_vendor@,$host_vendor,;t t
15286 s,@host_os@,$host_os,;t t
15287 s,@target@,$target,;t t
15288 s,@target_cpu@,$target_cpu,;t t
15289 s,@target_vendor@,$target_vendor,;t t
15290 s,@target_os@,$target_os,;t t
15291 s,@LIBVERSION@,$LIBVERSION,;t t
15292 s,@CLASSPATH_MODULE@,$CLASSPATH_MODULE,;t t
15293 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
15294 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
15295 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
15296 s,@CYGPATH_W@,$CYGPATH_W,;t t
15297 s,@PACKAGE@,$PACKAGE,;t t
15298 s,@VERSION@,$VERSION,;t t
15299 s,@ACLOCAL@,$ACLOCAL,;t t
15300 s,@AUTOCONF@,$AUTOCONF,;t t
15301 s,@AUTOMAKE@,$AUTOMAKE,;t t
15302 s,@AUTOHEADER@,$AUTOHEADER,;t t
15303 s,@MAKEINFO@,$MAKEINFO,;t t
15304 s,@install_sh@,$install_sh,;t t
15305 s,@STRIP@,$STRIP,;t t
15306 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
15307 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
15308 s,@mkdir_p@,$mkdir_p,;t t
15309 s,@AWK@,$AWK,;t t
15310 s,@SET_MAKE@,$SET_MAKE,;t t
15311 s,@am__leading_dot@,$am__leading_dot,;t t
15312 s,@AMTAR@,$AMTAR,;t t
15313 s,@am__tar@,$am__tar,;t t
15314 s,@am__untar@,$am__untar,;t t
15315 s,@CREATE_JNI_LIBRARIES_TRUE@,$CREATE_JNI_LIBRARIES_TRUE,;t t
15316 s,@CREATE_JNI_LIBRARIES_FALSE@,$CREATE_JNI_LIBRARIES_FALSE,;t t
15317 s,@CREATE_CORE_JNI_LIBRARIES_TRUE@,$CREATE_CORE_JNI_LIBRARIES_TRUE,;t t
15318 s,@CREATE_CORE_JNI_LIBRARIES_FALSE@,$CREATE_CORE_JNI_LIBRARIES_FALSE,;t t
15319 s,@default_toolkit@,$default_toolkit,;t t
15320 s,@CREATE_XMLJ_LIBRARY_TRUE@,$CREATE_XMLJ_LIBRARY_TRUE,;t t
15321 s,@CREATE_XMLJ_LIBRARY_FALSE@,$CREATE_XMLJ_LIBRARY_FALSE,;t t
15322 s,@CC@,$CC,;t t
15323 s,@CFLAGS@,$CFLAGS,;t t
15324 s,@LDFLAGS@,$LDFLAGS,;t t
15325 s,@CPPFLAGS@,$CPPFLAGS,;t t
15326 s,@ac_ct_CC@,$ac_ct_CC,;t t
15327 s,@EXEEXT@,$EXEEXT,;t t
15328 s,@OBJEXT@,$OBJEXT,;t t
15329 s,@DEPDIR@,$DEPDIR,;t t
15330 s,@am__include@,$am__include,;t t
15331 s,@am__quote@,$am__quote,;t t
15332 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
15333 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
15334 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
15335 s,@CCDEPMODE@,$CCDEPMODE,;t t
15336 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
15337 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
15338 s,@CPP@,$CPP,;t t
15339 s,@EGREP@,$EGREP,;t t
15340 s,@CREATE_ALSA_LIBRARIES_TRUE@,$CREATE_ALSA_LIBRARIES_TRUE,;t t
15341 s,@CREATE_ALSA_LIBRARIES_FALSE@,$CREATE_ALSA_LIBRARIES_FALSE,;t t
15342 s,@CREATE_DSSI_LIBRARIES_TRUE@,$CREATE_DSSI_LIBRARIES_TRUE,;t t
15343 s,@CREATE_DSSI_LIBRARIES_FALSE@,$CREATE_DSSI_LIBRARIES_FALSE,;t t
15344 s,@CREATE_GTK_PEER_LIBRARIES_TRUE@,$CREATE_GTK_PEER_LIBRARIES_TRUE,;t t
15345 s,@CREATE_GTK_PEER_LIBRARIES_FALSE@,$CREATE_GTK_PEER_LIBRARIES_FALSE,;t t
15346 s,@GTK_CAIRO_ENABLED@,$GTK_CAIRO_ENABLED,;t t
15347 s,@GTK_CAIRO_TRUE@,$GTK_CAIRO_TRUE,;t t
15348 s,@GTK_CAIRO_FALSE@,$GTK_CAIRO_FALSE,;t t
15349 s,@CREATE_QT_PEER_LIBRARIES_TRUE@,$CREATE_QT_PEER_LIBRARIES_TRUE,;t t
15350 s,@CREATE_QT_PEER_LIBRARIES_FALSE@,$CREATE_QT_PEER_LIBRARIES_FALSE,;t t
15351 s,@nativelibdir@,$nativelibdir,;t t
15352 s,@glibjdir@,$glibjdir,;t t
15353 s,@CREATE_JNI_HEADERS_TRUE@,$CREATE_JNI_HEADERS_TRUE,;t t
15354 s,@CREATE_JNI_HEADERS_FALSE@,$CREATE_JNI_HEADERS_FALSE,;t t
15355 s,@LN_S@,$LN_S,;t t
15356 s,@RANLIB@,$RANLIB,;t t
15357 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
15358 s,@LIBTOOL@,$LIBTOOL,;t t
15359 s,@CXX@,$CXX,;t t
15360 s,@CXXFLAGS@,$CXXFLAGS,;t t
15361 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
15362 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
15363 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
15364 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
15365 s,@CXXCPP@,$CXXCPP,;t t
15366 s,@LIBICONV@,$LIBICONV,;t t
15367 s,@LTLIBICONV@,$LTLIBICONV,;t t
15368 s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t
15369 s,@STRICT_WARNING_CFLAGS@,$STRICT_WARNING_CFLAGS,;t t
15370 s,@ERROR_CFLAGS@,$ERROR_CFLAGS,;t t
15371 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
15372 s,@XML_CFLAGS@,$XML_CFLAGS,;t t
15373 s,@XML_LIBS@,$XML_LIBS,;t t
15374 s,@XSLT_CFLAGS@,$XSLT_CFLAGS,;t t
15375 s,@XSLT_LIBS@,$XSLT_LIBS,;t t
15376 s,@X_CFLAGS@,$X_CFLAGS,;t t
15377 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
15378 s,@X_LIBS@,$X_LIBS,;t t
15379 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
15380 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
15381 s,@GTK_LIBS@,$GTK_LIBS,;t t
15382 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
15383 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
15384 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
15385 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
15386 s,@QT_CFLAGS@,$QT_CFLAGS,;t t
15387 s,@QT_LIBS@,$QT_LIBS,;t t
15388 s,@MOC@,$MOC,;t t
15389 s,@USER_JAVAH@,$USER_JAVAH,;t t
15390 s,@USER_SPECIFIED_JAVAH_TRUE@,$USER_SPECIFIED_JAVAH_TRUE,;t t
15391 s,@USER_SPECIFIED_JAVAH_FALSE@,$USER_SPECIFIED_JAVAH_FALSE,;t t
15392 s,@CLASSPATH_INCLUDES@,$CLASSPATH_INCLUDES,;t t
15393 s,@GCJ@,$GCJ,;t t
15394 s,@JIKES@,$JIKES,;t t
15395 s,@JIKESENCODING@,$JIKESENCODING,;t t
15396 s,@KJC@,$KJC,;t t
15397 s,@GCJX@,$GCJX,;t t
15398 s,@ECJ@,$ECJ,;t t
15399 s,@FOUND_GCJ_TRUE@,$FOUND_GCJ_TRUE,;t t
15400 s,@FOUND_GCJ_FALSE@,$FOUND_GCJ_FALSE,;t t
15401 s,@FOUND_JIKES_TRUE@,$FOUND_JIKES_TRUE,;t t
15402 s,@FOUND_JIKES_FALSE@,$FOUND_JIKES_FALSE,;t t
15403 s,@FOUND_ECJ_TRUE@,$FOUND_ECJ_TRUE,;t t
15404 s,@FOUND_ECJ_FALSE@,$FOUND_ECJ_FALSE,;t t
15405 s,@FOUND_KJC_TRUE@,$FOUND_KJC_TRUE,;t t
15406 s,@FOUND_KJC_FALSE@,$FOUND_KJC_FALSE,;t t
15407 s,@FOUND_GCJX_TRUE@,$FOUND_GCJX_TRUE,;t t
15408 s,@FOUND_GCJX_FALSE@,$FOUND_GCJX_FALSE,;t t
15409 s,@USER_CLASSLIB@,$USER_CLASSLIB,;t t
15410 s,@USER_SPECIFIED_CLASSLIB_TRUE@,$USER_SPECIFIED_CLASSLIB_TRUE,;t t
15411 s,@USER_SPECIFIED_CLASSLIB_FALSE@,$USER_SPECIFIED_CLASSLIB_FALSE,;t t
15412 s,@vm_classes@,$vm_classes,;t t
15413 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
15414 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
15415 s,@MAINT@,$MAINT,;t t
15416 s,@LIBDEBUG@,$LIBDEBUG,;t t
15417 s,@INIT_LOAD_LIBRARY@,$INIT_LOAD_LIBRARY,;t t
15418 s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,$JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION,;t t
15419 s,@REMOVE@,$REMOVE,;t t
15420 s,@MKDIR@,$MKDIR,;t t
15421 s,@CP@,$CP,;t t
15422 s,@DATE@,$DATE,;t t
15423 s,@FIND@,$FIND,;t t
15424 s,@ZIP@,$ZIP,;t t
15425 s,@INSTALL_GLIBJ_ZIP_TRUE@,$INSTALL_GLIBJ_ZIP_TRUE,;t t
15426 s,@INSTALL_GLIBJ_ZIP_FALSE@,$INSTALL_GLIBJ_ZIP_FALSE,;t t
15427 s,@INSTALL_CLASS_FILES_TRUE@,$INSTALL_CLASS_FILES_TRUE,;t t
15428 s,@INSTALL_CLASS_FILES_FALSE@,$INSTALL_CLASS_FILES_FALSE,;t t
15429 s,@BUILD_CLASS_FILES_TRUE@,$BUILD_CLASS_FILES_TRUE,;t t
15430 s,@BUILD_CLASS_FILES_FALSE@,$BUILD_CLASS_FILES_FALSE,;t t
15431 s,@EXAMPLESDIR@,$EXAMPLESDIR,;t t
15432 s,@GJDOC@,$GJDOC,;t t
15433 s,@CREATE_API_DOCS_TRUE@,$CREATE_API_DOCS_TRUE,;t t
15434 s,@CREATE_API_DOCS_FALSE@,$CREATE_API_DOCS_FALSE,;t t
15435 s,@JAY@,$JAY,;t t
15436 s,@JAY_SKELETON@,$JAY_SKELETON,;t t
15437 s,@REGEN_PARSERS_TRUE@,$REGEN_PARSERS_TRUE,;t t
15438 s,@REGEN_PARSERS_FALSE@,$REGEN_PARSERS_FALSE,;t t
15439 s,@LIBOBJS@,$LIBOBJS,;t t
15440 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
15441 CEOF
15442
15443 _ACEOF
15444
15445   cat >>$CONFIG_STATUS <<\_ACEOF
15446   # Split the substitutions into bite-sized pieces for seds with
15447   # small command number limits, like on Digital OSF/1 and HP-UX.
15448   ac_max_sed_lines=48
15449   ac_sed_frag=1 # Number of current file.
15450   ac_beg=1 # First line for current file.
15451   ac_end=$ac_max_sed_lines # Line after last line for current file.
15452   ac_more_lines=:
15453   ac_sed_cmds=
15454   while $ac_more_lines; do
15455     if test $ac_beg -gt 1; then
15456       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
15457     else
15458       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
15459     fi
15460     if test ! -s $tmp/subs.frag; then
15461       ac_more_lines=false
15462     else
15463       # The purpose of the label and of the branching condition is to
15464       # speed up the sed processing (if there are no `@' at all, there
15465       # is no need to browse any of the substitutions).
15466       # These are the two extra sed commands mentioned above.
15467       (echo ':t
15468   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
15469       if test -z "$ac_sed_cmds"; then
15470         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
15471       else
15472         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
15473       fi
15474       ac_sed_frag=`expr $ac_sed_frag + 1`
15475       ac_beg=$ac_end
15476       ac_end=`expr $ac_end + $ac_max_sed_lines`
15477     fi
15478   done
15479   if test -z "$ac_sed_cmds"; then
15480     ac_sed_cmds=cat
15481   fi
15482 fi # test -n "$CONFIG_FILES"
15483
15484 _ACEOF
15485 cat >>$CONFIG_STATUS <<\_ACEOF
15486 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
15487   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15488   case $ac_file in
15489   - | *:- | *:-:* ) # input from stdin
15490         cat >$tmp/stdin
15491         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15492         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15493   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15494         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15495   * )   ac_file_in=$ac_file.in ;;
15496   esac
15497
15498   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
15499   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
15500 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15501          X"$ac_file" : 'X\(//\)[^/]' \| \
15502          X"$ac_file" : 'X\(//\)$' \| \
15503          X"$ac_file" : 'X\(/\)' \| \
15504          .     : '\(.\)' 2>/dev/null ||
15505 echo X"$ac_file" |
15506     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15507           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15508           /^X\(\/\/\)$/{ s//\1/; q; }
15509           /^X\(\/\).*/{ s//\1/; q; }
15510           s/.*/./; q'`
15511   { if $as_mkdir_p; then
15512     mkdir -p "$ac_dir"
15513   else
15514     as_dir="$ac_dir"
15515     as_dirs=
15516     while test ! -d "$as_dir"; do
15517       as_dirs="$as_dir $as_dirs"
15518       as_dir=`(dirname "$as_dir") 2>/dev/null ||
15519 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15520          X"$as_dir" : 'X\(//\)[^/]' \| \
15521          X"$as_dir" : 'X\(//\)$' \| \
15522          X"$as_dir" : 'X\(/\)' \| \
15523          .     : '\(.\)' 2>/dev/null ||
15524 echo X"$as_dir" |
15525     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15526           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15527           /^X\(\/\/\)$/{ s//\1/; q; }
15528           /^X\(\/\).*/{ s//\1/; q; }
15529           s/.*/./; q'`
15530     done
15531     test ! -n "$as_dirs" || mkdir $as_dirs
15532   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15533 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15534    { (exit 1); exit 1; }; }; }
15535
15536   ac_builddir=.
15537
15538 if test "$ac_dir" != .; then
15539   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15540   # A "../" for each directory in $ac_dir_suffix.
15541   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15542 else
15543   ac_dir_suffix= ac_top_builddir=
15544 fi
15545
15546 case $srcdir in
15547   .)  # No --srcdir option.  We are building in place.
15548     ac_srcdir=.
15549     if test -z "$ac_top_builddir"; then
15550        ac_top_srcdir=.
15551     else
15552        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
15553     fi ;;
15554   [\\/]* | ?:[\\/]* )  # Absolute path.
15555     ac_srcdir=$srcdir$ac_dir_suffix;
15556     ac_top_srcdir=$srcdir ;;
15557   *) # Relative path.
15558     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
15559     ac_top_srcdir=$ac_top_builddir$srcdir ;;
15560 esac
15561
15562 # Do not use `cd foo && pwd` to compute absolute paths, because
15563 # the directories may not exist.
15564 case `pwd` in
15565 .) ac_abs_builddir="$ac_dir";;
15566 *)
15567   case "$ac_dir" in
15568   .) ac_abs_builddir=`pwd`;;
15569   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
15570   *) ac_abs_builddir=`pwd`/"$ac_dir";;
15571   esac;;
15572 esac
15573 case $ac_abs_builddir in
15574 .) ac_abs_top_builddir=${ac_top_builddir}.;;
15575 *)
15576   case ${ac_top_builddir}. in
15577   .) ac_abs_top_builddir=$ac_abs_builddir;;
15578   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
15579   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
15580   esac;;
15581 esac
15582 case $ac_abs_builddir in
15583 .) ac_abs_srcdir=$ac_srcdir;;
15584 *)
15585   case $ac_srcdir in
15586   .) ac_abs_srcdir=$ac_abs_builddir;;
15587   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
15588   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
15589   esac;;
15590 esac
15591 case $ac_abs_builddir in
15592 .) ac_abs_top_srcdir=$ac_top_srcdir;;
15593 *)
15594   case $ac_top_srcdir in
15595   .) ac_abs_top_srcdir=$ac_abs_builddir;;
15596   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
15597   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
15598   esac;;
15599 esac
15600
15601
15602   case $INSTALL in
15603   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15604   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
15605   esac
15606
15607   if test x"$ac_file" != x-; then
15608     { echo "$as_me:$LINENO: creating $ac_file" >&5
15609 echo "$as_me: creating $ac_file" >&6;}
15610     rm -f "$ac_file"
15611   fi
15612   # Let's still pretend it is `configure' which instantiates (i.e., don't
15613   # use $as_me), people would be surprised to read:
15614   #    /* config.h.  Generated by config.status.  */
15615   if test x"$ac_file" = x-; then
15616     configure_input=
15617   else
15618     configure_input="$ac_file.  "
15619   fi
15620   configure_input=$configure_input"Generated from `echo $ac_file_in |
15621                                      sed 's,.*/,,'` by configure."
15622
15623   # First look for the input files in the build tree, otherwise in the
15624   # src tree.
15625   ac_file_inputs=`IFS=:
15626     for f in $ac_file_in; do
15627       case $f in
15628       -) echo $tmp/stdin ;;
15629       [\\/$]*)
15630          # Absolute (can't be DOS-style, as IFS=:)
15631          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15632 echo "$as_me: error: cannot find input file: $f" >&2;}
15633    { (exit 1); exit 1; }; }
15634          echo "$f";;
15635       *) # Relative
15636          if test -f "$f"; then
15637            # Build tree
15638            echo "$f"
15639          elif test -f "$srcdir/$f"; then
15640            # Source tree
15641            echo "$srcdir/$f"
15642          else
15643            # /dev/null tree
15644            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15645 echo "$as_me: error: cannot find input file: $f" >&2;}
15646    { (exit 1); exit 1; }; }
15647          fi;;
15648       esac
15649     done` || { (exit 1); exit 1; }
15650 _ACEOF
15651 cat >>$CONFIG_STATUS <<_ACEOF
15652   sed "$ac_vpsub
15653 $extrasub
15654 _ACEOF
15655 cat >>$CONFIG_STATUS <<\_ACEOF
15656 :t
15657 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15658 s,@configure_input@,$configure_input,;t t
15659 s,@srcdir@,$ac_srcdir,;t t
15660 s,@abs_srcdir@,$ac_abs_srcdir,;t t
15661 s,@top_srcdir@,$ac_top_srcdir,;t t
15662 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
15663 s,@builddir@,$ac_builddir,;t t
15664 s,@abs_builddir@,$ac_abs_builddir,;t t
15665 s,@top_builddir@,$ac_top_builddir,;t t
15666 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
15667 s,@INSTALL@,$ac_INSTALL,;t t
15668 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
15669   rm -f $tmp/stdin
15670   if test x"$ac_file" != x-; then
15671     mv $tmp/out $ac_file
15672   else
15673     cat $tmp/out
15674     rm -f $tmp/out
15675   fi
15676
15677 done
15678 _ACEOF
15679 cat >>$CONFIG_STATUS <<\_ACEOF
15680
15681 #
15682 # CONFIG_HEADER section.
15683 #
15684
15685 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
15686 # NAME is the cpp macro being defined and VALUE is the value it is being given.
15687 #
15688 # ac_d sets the value in "#define NAME VALUE" lines.
15689 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
15690 ac_dB='[         ].*$,\1#\2'
15691 ac_dC=' '
15692 ac_dD=',;t'
15693 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
15694 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
15695 ac_uB='$,\1#\2define\3'
15696 ac_uC=' '
15697 ac_uD=',;t'
15698
15699 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
15700   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15701   case $ac_file in
15702   - | *:- | *:-:* ) # input from stdin
15703         cat >$tmp/stdin
15704         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15705         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15706   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15707         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15708   * )   ac_file_in=$ac_file.in ;;
15709   esac
15710
15711   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
15712 echo "$as_me: creating $ac_file" >&6;}
15713
15714   # First look for the input files in the build tree, otherwise in the
15715   # src tree.
15716   ac_file_inputs=`IFS=:
15717     for f in $ac_file_in; do
15718       case $f in
15719       -) echo $tmp/stdin ;;
15720       [\\/$]*)
15721          # Absolute (can't be DOS-style, as IFS=:)
15722          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15723 echo "$as_me: error: cannot find input file: $f" >&2;}
15724    { (exit 1); exit 1; }; }
15725          # Do quote $f, to prevent DOS paths from being IFS'd.
15726          echo "$f";;
15727       *) # Relative
15728          if test -f "$f"; then
15729            # Build tree
15730            echo "$f"
15731          elif test -f "$srcdir/$f"; then
15732            # Source tree
15733            echo "$srcdir/$f"
15734          else
15735            # /dev/null tree
15736            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15737 echo "$as_me: error: cannot find input file: $f" >&2;}
15738    { (exit 1); exit 1; }; }
15739          fi;;
15740       esac
15741     done` || { (exit 1); exit 1; }
15742   # Remove the trailing spaces.
15743   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
15744
15745 _ACEOF
15746
15747 # Transform confdefs.h into two sed scripts, `conftest.defines' and
15748 # `conftest.undefs', that substitutes the proper values into
15749 # config.h.in to produce config.h.  The first handles `#define'
15750 # templates, and the second `#undef' templates.
15751 # And first: Protect against being on the right side of a sed subst in
15752 # config.status.  Protect against being in an unquoted here document
15753 # in config.status.
15754 rm -f conftest.defines conftest.undefs
15755 # Using a here document instead of a string reduces the quoting nightmare.
15756 # Putting comments in sed scripts is not portable.
15757 #
15758 # `end' is used to avoid that the second main sed command (meant for
15759 # 0-ary CPP macros) applies to n-ary macro definitions.
15760 # See the Autoconf documentation for `clear'.
15761 cat >confdef2sed.sed <<\_ACEOF
15762 s/[\\&,]/\\&/g
15763 s,[\\$`],\\&,g
15764 t clear
15765 : clear
15766 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
15767 t end
15768 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
15769 : end
15770 _ACEOF
15771 # If some macros were called several times there might be several times
15772 # the same #defines, which is useless.  Nevertheless, we may not want to
15773 # sort them, since we want the *last* AC-DEFINE to be honored.
15774 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
15775 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
15776 rm -f confdef2sed.sed
15777
15778 # This sed command replaces #undef with comments.  This is necessary, for
15779 # example, in the case of _POSIX_SOURCE, which is predefined and required
15780 # on some systems where configure will not decide to define it.
15781 cat >>conftest.undefs <<\_ACEOF
15782 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
15783 _ACEOF
15784
15785 # Break up conftest.defines because some shells have a limit on the size
15786 # of here documents, and old seds have small limits too (100 cmds).
15787 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
15788 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
15789 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
15790 echo '  :' >>$CONFIG_STATUS
15791 rm -f conftest.tail
15792 while grep . conftest.defines >/dev/null
15793 do
15794   # Write a limited-size here document to $tmp/defines.sed.
15795   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
15796   # Speed up: don't consider the non `#define' lines.
15797   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
15798   # Work around the forget-to-reset-the-flag bug.
15799   echo 't clr' >>$CONFIG_STATUS
15800   echo ': clr' >>$CONFIG_STATUS
15801   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
15802   echo 'CEOF
15803   sed -f $tmp/defines.sed $tmp/in >$tmp/out
15804   rm -f $tmp/in
15805   mv $tmp/out $tmp/in
15806 ' >>$CONFIG_STATUS
15807   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
15808   rm -f conftest.defines
15809   mv conftest.tail conftest.defines
15810 done
15811 rm -f conftest.defines
15812 echo '  fi # grep' >>$CONFIG_STATUS
15813 echo >>$CONFIG_STATUS
15814
15815 # Break up conftest.undefs because some shells have a limit on the size
15816 # of here documents, and old seds have small limits too (100 cmds).
15817 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
15818 rm -f conftest.tail
15819 while grep . conftest.undefs >/dev/null
15820 do
15821   # Write a limited-size here document to $tmp/undefs.sed.
15822   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
15823   # Speed up: don't consider the non `#undef'
15824   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
15825   # Work around the forget-to-reset-the-flag bug.
15826   echo 't clr' >>$CONFIG_STATUS
15827   echo ': clr' >>$CONFIG_STATUS
15828   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
15829   echo 'CEOF
15830   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
15831   rm -f $tmp/in
15832   mv $tmp/out $tmp/in
15833 ' >>$CONFIG_STATUS
15834   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
15835   rm -f conftest.undefs
15836   mv conftest.tail conftest.undefs
15837 done
15838 rm -f conftest.undefs
15839
15840 cat >>$CONFIG_STATUS <<\_ACEOF
15841   # Let's still pretend it is `configure' which instantiates (i.e., don't
15842   # use $as_me), people would be surprised to read:
15843   #    /* config.h.  Generated by config.status.  */
15844   if test x"$ac_file" = x-; then
15845     echo "/* Generated by configure.  */" >$tmp/config.h
15846   else
15847     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
15848   fi
15849   cat $tmp/in >>$tmp/config.h
15850   rm -f $tmp/in
15851   if test x"$ac_file" != x-; then
15852     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
15853       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15854 echo "$as_me: $ac_file is unchanged" >&6;}
15855     else
15856       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
15857 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15858          X"$ac_file" : 'X\(//\)[^/]' \| \
15859          X"$ac_file" : 'X\(//\)$' \| \
15860          X"$ac_file" : 'X\(/\)' \| \
15861          .     : '\(.\)' 2>/dev/null ||
15862 echo X"$ac_file" |
15863     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15864           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15865           /^X\(\/\/\)$/{ s//\1/; q; }
15866           /^X\(\/\).*/{ s//\1/; q; }
15867           s/.*/./; q'`
15868       { if $as_mkdir_p; then
15869     mkdir -p "$ac_dir"
15870   else
15871     as_dir="$ac_dir"
15872     as_dirs=
15873     while test ! -d "$as_dir"; do
15874       as_dirs="$as_dir $as_dirs"
15875       as_dir=`(dirname "$as_dir") 2>/dev/null ||
15876 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15877          X"$as_dir" : 'X\(//\)[^/]' \| \
15878          X"$as_dir" : 'X\(//\)$' \| \
15879          X"$as_dir" : 'X\(/\)' \| \
15880          .     : '\(.\)' 2>/dev/null ||
15881 echo X"$as_dir" |
15882     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15883           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15884           /^X\(\/\/\)$/{ s//\1/; q; }
15885           /^X\(\/\).*/{ s//\1/; q; }
15886           s/.*/./; q'`
15887     done
15888     test ! -n "$as_dirs" || mkdir $as_dirs
15889   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15890 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15891    { (exit 1); exit 1; }; }; }
15892
15893       rm -f $ac_file
15894       mv $tmp/config.h $ac_file
15895     fi
15896   else
15897     cat $tmp/config.h
15898     rm -f $tmp/config.h
15899   fi
15900 # Compute $ac_file's index in $config_headers.
15901 _am_stamp_count=1
15902 for _am_header in $config_headers :; do
15903   case $_am_header in
15904     $ac_file | $ac_file:* )
15905       break ;;
15906     * )
15907       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15908   esac
15909 done
15910 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
15911 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15912          X$ac_file : 'X\(//\)[^/]' \| \
15913          X$ac_file : 'X\(//\)$' \| \
15914          X$ac_file : 'X\(/\)' \| \
15915          .     : '\(.\)' 2>/dev/null ||
15916 echo X$ac_file |
15917     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15918           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15919           /^X\(\/\/\)$/{ s//\1/; q; }
15920           /^X\(\/\).*/{ s//\1/; q; }
15921           s/.*/./; q'`/stamp-h$_am_stamp_count
15922 done
15923 _ACEOF
15924 cat >>$CONFIG_STATUS <<\_ACEOF
15925
15926 #
15927 # CONFIG_LINKS section.
15928 #
15929
15930 for ac_file in : $CONFIG_LINKS; do test "x$ac_file" = x: && continue
15931   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
15932   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
15933
15934   { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
15935 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
15936
15937   if test ! -r $srcdir/$ac_source; then
15938     { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
15939 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
15940    { (exit 1); exit 1; }; }
15941   fi
15942   rm -f $ac_dest
15943
15944   # Make relative symlinks.
15945   ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null ||
15946 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15947          X"$ac_dest" : 'X\(//\)[^/]' \| \
15948          X"$ac_dest" : 'X\(//\)$' \| \
15949          X"$ac_dest" : 'X\(/\)' \| \
15950          .     : '\(.\)' 2>/dev/null ||
15951 echo X"$ac_dest" |
15952     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15953           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15954           /^X\(\/\/\)$/{ s//\1/; q; }
15955           /^X\(\/\).*/{ s//\1/; q; }
15956           s/.*/./; q'`
15957   { if $as_mkdir_p; then
15958     mkdir -p "$ac_dest_dir"
15959   else
15960     as_dir="$ac_dest_dir"
15961     as_dirs=
15962     while test ! -d "$as_dir"; do
15963       as_dirs="$as_dir $as_dirs"
15964       as_dir=`(dirname "$as_dir") 2>/dev/null ||
15965 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15966          X"$as_dir" : 'X\(//\)[^/]' \| \
15967          X"$as_dir" : 'X\(//\)$' \| \
15968          X"$as_dir" : 'X\(/\)' \| \
15969          .     : '\(.\)' 2>/dev/null ||
15970 echo X"$as_dir" |
15971     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15972           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15973           /^X\(\/\/\)$/{ s//\1/; q; }
15974           /^X\(\/\).*/{ s//\1/; q; }
15975           s/.*/./; q'`
15976     done
15977     test ! -n "$as_dirs" || mkdir $as_dirs
15978   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
15979 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
15980    { (exit 1); exit 1; }; }; }
15981
15982   ac_builddir=.
15983
15984 if test "$ac_dest_dir" != .; then
15985   ac_dir_suffix=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
15986   # A "../" for each directory in $ac_dir_suffix.
15987   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15988 else
15989   ac_dir_suffix= ac_top_builddir=
15990 fi
15991
15992 case $srcdir in
15993   .)  # No --srcdir option.  We are building in place.
15994     ac_srcdir=.
15995     if test -z "$ac_top_builddir"; then
15996        ac_top_srcdir=.
15997     else
15998        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
15999     fi ;;
16000   [\\/]* | ?:[\\/]* )  # Absolute path.
16001     ac_srcdir=$srcdir$ac_dir_suffix;
16002     ac_top_srcdir=$srcdir ;;
16003   *) # Relative path.
16004     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
16005     ac_top_srcdir=$ac_top_builddir$srcdir ;;
16006 esac
16007
16008 # Do not use `cd foo && pwd` to compute absolute paths, because
16009 # the directories may not exist.
16010 case `pwd` in
16011 .) ac_abs_builddir="$ac_dest_dir";;
16012 *)
16013   case "$ac_dest_dir" in
16014   .) ac_abs_builddir=`pwd`;;
16015   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";;
16016   *) ac_abs_builddir=`pwd`/"$ac_dest_dir";;
16017   esac;;
16018 esac
16019 case $ac_abs_builddir in
16020 .) ac_abs_top_builddir=${ac_top_builddir}.;;
16021 *)
16022   case ${ac_top_builddir}. in
16023   .) ac_abs_top_builddir=$ac_abs_builddir;;
16024   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
16025   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
16026   esac;;
16027 esac
16028 case $ac_abs_builddir in
16029 .) ac_abs_srcdir=$ac_srcdir;;
16030 *)
16031   case $ac_srcdir in
16032   .) ac_abs_srcdir=$ac_abs_builddir;;
16033   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
16034   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
16035   esac;;
16036 esac
16037 case $ac_abs_builddir in
16038 .) ac_abs_top_srcdir=$ac_top_srcdir;;
16039 *)
16040   case $ac_top_srcdir in
16041   .) ac_abs_top_srcdir=$ac_abs_builddir;;
16042   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
16043   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
16044   esac;;
16045 esac
16046
16047
16048   case $srcdir in
16049   [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
16050       *) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;;
16051   esac
16052
16053   # Try a symlink, then a hard link, then a copy.
16054   ln -s $ac_rel_source $ac_dest 2>/dev/null ||
16055     ln $srcdir/$ac_source $ac_dest 2>/dev/null ||
16056     cp -p $srcdir/$ac_source $ac_dest ||
16057     { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
16058 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
16059    { (exit 1); exit 1; }; }
16060 done
16061 _ACEOF
16062 cat >>$CONFIG_STATUS <<\_ACEOF
16063
16064 #
16065 # CONFIG_COMMANDS section.
16066 #
16067 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
16068   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
16069   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
16070   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
16071 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16072          X"$ac_dest" : 'X\(//\)[^/]' \| \
16073          X"$ac_dest" : 'X\(//\)$' \| \
16074          X"$ac_dest" : 'X\(/\)' \| \
16075          .     : '\(.\)' 2>/dev/null ||
16076 echo X"$ac_dest" |
16077     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16078           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16079           /^X\(\/\/\)$/{ s//\1/; q; }
16080           /^X\(\/\).*/{ s//\1/; q; }
16081           s/.*/./; q'`
16082   { if $as_mkdir_p; then
16083     mkdir -p "$ac_dir"
16084   else
16085     as_dir="$ac_dir"
16086     as_dirs=
16087     while test ! -d "$as_dir"; do
16088       as_dirs="$as_dir $as_dirs"
16089       as_dir=`(dirname "$as_dir") 2>/dev/null ||
16090 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16091          X"$as_dir" : 'X\(//\)[^/]' \| \
16092          X"$as_dir" : 'X\(//\)$' \| \
16093          X"$as_dir" : 'X\(/\)' \| \
16094          .     : '\(.\)' 2>/dev/null ||
16095 echo X"$as_dir" |
16096     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16097           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16098           /^X\(\/\/\)$/{ s//\1/; q; }
16099           /^X\(\/\).*/{ s//\1/; q; }
16100           s/.*/./; q'`
16101     done
16102     test ! -n "$as_dirs" || mkdir $as_dirs
16103   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16104 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16105    { (exit 1); exit 1; }; }; }
16106
16107   ac_builddir=.
16108
16109 if test "$ac_dir" != .; then
16110   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
16111   # A "../" for each directory in $ac_dir_suffix.
16112   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
16113 else
16114   ac_dir_suffix= ac_top_builddir=
16115 fi
16116
16117 case $srcdir in
16118   .)  # No --srcdir option.  We are building in place.
16119     ac_srcdir=.
16120     if test -z "$ac_top_builddir"; then
16121        ac_top_srcdir=.
16122     else
16123        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
16124     fi ;;
16125   [\\/]* | ?:[\\/]* )  # Absolute path.
16126     ac_srcdir=$srcdir$ac_dir_suffix;
16127     ac_top_srcdir=$srcdir ;;
16128   *) # Relative path.
16129     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
16130     ac_top_srcdir=$ac_top_builddir$srcdir ;;
16131 esac
16132
16133 # Do not use `cd foo && pwd` to compute absolute paths, because
16134 # the directories may not exist.
16135 case `pwd` in
16136 .) ac_abs_builddir="$ac_dir";;
16137 *)
16138   case "$ac_dir" in
16139   .) ac_abs_builddir=`pwd`;;
16140   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
16141   *) ac_abs_builddir=`pwd`/"$ac_dir";;
16142   esac;;
16143 esac
16144 case $ac_abs_builddir in
16145 .) ac_abs_top_builddir=${ac_top_builddir}.;;
16146 *)
16147   case ${ac_top_builddir}. in
16148   .) ac_abs_top_builddir=$ac_abs_builddir;;
16149   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
16150   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
16151   esac;;
16152 esac
16153 case $ac_abs_builddir in
16154 .) ac_abs_srcdir=$ac_srcdir;;
16155 *)
16156   case $ac_srcdir in
16157   .) ac_abs_srcdir=$ac_abs_builddir;;
16158   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
16159   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
16160   esac;;
16161 esac
16162 case $ac_abs_builddir in
16163 .) ac_abs_top_srcdir=$ac_top_srcdir;;
16164 *)
16165   case $ac_top_srcdir in
16166   .) ac_abs_top_srcdir=$ac_abs_builddir;;
16167   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
16168   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
16169   esac;;
16170 esac
16171
16172
16173   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
16174 echo "$as_me: executing $ac_dest commands" >&6;}
16175   case $ac_dest in
16176     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
16177   # Strip MF so we end up with the name of the file.
16178   mf=`echo "$mf" | sed -e 's/:.*$//'`
16179   # Check whether this is an Automake generated Makefile or not.
16180   # We used to match only the files named `Makefile.in', but
16181   # some people rename them; so instead we look at the file content.
16182   # Grep'ing the first line is not enough: some people post-process
16183   # each Makefile.in and add a new line on top of each file to say so.
16184   # So let's grep whole file.
16185   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
16186     dirpart=`(dirname "$mf") 2>/dev/null ||
16187 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16188          X"$mf" : 'X\(//\)[^/]' \| \
16189          X"$mf" : 'X\(//\)$' \| \
16190          X"$mf" : 'X\(/\)' \| \
16191          .     : '\(.\)' 2>/dev/null ||
16192 echo X"$mf" |
16193     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16194           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16195           /^X\(\/\/\)$/{ s//\1/; q; }
16196           /^X\(\/\).*/{ s//\1/; q; }
16197           s/.*/./; q'`
16198   else
16199     continue
16200   fi
16201   # Extract the definition of DEPDIR, am__include, and am__quote
16202   # from the Makefile without running `make'.
16203   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16204   test -z "$DEPDIR" && continue
16205   am__include=`sed -n 's/^am__include = //p' < "$mf"`
16206   test -z "am__include" && continue
16207   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16208   # When using ansi2knr, U may be empty or an underscore; expand it
16209   U=`sed -n 's/^U = //p' < "$mf"`
16210   # Find all dependency output files, they are included files with
16211   # $(DEPDIR) in their names.  We invoke sed twice because it is the
16212   # simplest approach to changing $(DEPDIR) to its actual value in the
16213   # expansion.
16214   for file in `sed -n "
16215     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16216        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16217     # Make sure the directory exists.
16218     test -f "$dirpart/$file" && continue
16219     fdir=`(dirname "$file") 2>/dev/null ||
16220 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16221          X"$file" : 'X\(//\)[^/]' \| \
16222          X"$file" : 'X\(//\)$' \| \
16223          X"$file" : 'X\(/\)' \| \
16224          .     : '\(.\)' 2>/dev/null ||
16225 echo X"$file" |
16226     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16227           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16228           /^X\(\/\/\)$/{ s//\1/; q; }
16229           /^X\(\/\).*/{ s//\1/; q; }
16230           s/.*/./; q'`
16231     { if $as_mkdir_p; then
16232     mkdir -p $dirpart/$fdir
16233   else
16234     as_dir=$dirpart/$fdir
16235     as_dirs=
16236     while test ! -d "$as_dir"; do
16237       as_dirs="$as_dir $as_dirs"
16238       as_dir=`(dirname "$as_dir") 2>/dev/null ||
16239 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16240          X"$as_dir" : 'X\(//\)[^/]' \| \
16241          X"$as_dir" : 'X\(//\)$' \| \
16242          X"$as_dir" : 'X\(/\)' \| \
16243          .     : '\(.\)' 2>/dev/null ||
16244 echo X"$as_dir" |
16245     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16246           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16247           /^X\(\/\/\)$/{ s//\1/; q; }
16248           /^X\(\/\).*/{ s//\1/; q; }
16249           s/.*/./; q'`
16250     done
16251     test ! -n "$as_dirs" || mkdir $as_dirs
16252   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
16253 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
16254    { (exit 1); exit 1; }; }; }
16255
16256     # echo "creating $dirpart/$file"
16257     echo '# dummy' > "$dirpart/$file"
16258   done
16259 done
16260  ;;
16261     gen-classlist ) chmod 755 lib/gen-classlist.sh ;;
16262     copy-vmresources ) chmod 755 lib/copy-vmresources.sh ;;
16263   esac
16264 done
16265 _ACEOF
16266
16267 cat >>$CONFIG_STATUS <<\_ACEOF
16268
16269 { (exit 0); exit 0; }
16270 _ACEOF
16271 chmod +x $CONFIG_STATUS
16272 ac_clean_files=$ac_clean_files_save
16273
16274
16275 # configure is writing to config.log, and then calls config.status.
16276 # config.status does its own redirection, appending to config.log.
16277 # Unfortunately, on DOS this fails, as config.log is still kept open
16278 # by configure, so config.status won't be able to write to it; its
16279 # output is simply discarded.  So we exec the FD to /dev/null,
16280 # effectively closing config.log, so it can be properly (re)opened and
16281 # appended to by config.status.  When coming back to configure, we
16282 # need to make the FD available again.
16283 if test "$no_create" != yes; then
16284   ac_cs_success=:
16285   ac_config_status_args=
16286   test "$silent" = yes &&
16287     ac_config_status_args="$ac_config_status_args --quiet"
16288   exec 5>/dev/null
16289   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16290   exec 5>>config.log
16291   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16292   # would make configure fail if this is the last instruction.
16293   $ac_cs_success || { (exit 1); exit 1; }
16294 fi
16295