]> git.ipfire.org Git - thirdparty/gcc.git/blob - libjava/classpath/configure
Imported GNU Classpath 0.90
[thirdparty/gcc.git] / libjava / classpath / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59d for GNU Classpath 0.91.
4 #
5 # Report bugs to <classpath@gnu.org>.
6 #
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
14
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 setopt NO_GLOB_SUBST
23 else
24 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
25 fi
26 BIN_SH=xpg4; export BIN_SH # for Tru64
27 DUALCASE=1; export DUALCASE # for MKS sh
28
29
30 # PATH needs CR
31 # Avoid depending upon Character Ranges.
32 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
35 as_cr_digits='0123456789'
36 as_cr_alnum=$as_cr_Letters$as_cr_digits
37
38 # The user is always right.
39 if test "${PATH_SEPARATOR+set}" != set; then
40 echo "#! /bin/sh" >conf$$.sh
41 echo "exit 0" >>conf$$.sh
42 chmod +x conf$$.sh
43 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
44 PATH_SEPARATOR=';'
45 else
46 PATH_SEPARATOR=:
47 fi
48 rm -f conf$$.sh
49 fi
50
51 # Support unset when possible.
52 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53 as_unset=unset
54 else
55 as_unset=false
56 fi
57
58
59 # IFS
60 # We need space, tab and new line, in precisely that order. Quoting is
61 # there to prevent editors from complaining about space-tab.
62 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
63 # splitting by setting IFS to empty value.)
64 as_nl='
65 '
66 IFS=" "" $as_nl"
67
68 # Find who we are. Look in the path if we contain no directory separator.
69 case $0 in
70 *[\\/]* ) as_myself=$0 ;;
71 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72 for as_dir in $PATH
73 do
74 IFS=$as_save_IFS
75 test -z "$as_dir" && as_dir=.
76 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
77 done
78 IFS=$as_save_IFS
79
80 ;;
81 esac
82 # We did not find ourselves, most probably we were run as `sh COMMAND'
83 # in which case we are not to be found in the path.
84 if test "x$as_myself" = x; then
85 as_myself=$0
86 fi
87 if test ! -f "$as_myself"; then
88 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
89 { (exit 1); exit 1; }
90 fi
91
92 # Work around bugs in pre-3.0 UWIN ksh.
93 for as_var in ENV MAIL MAILPATH
94 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
95 done
96 PS1='$ '
97 PS2='> '
98 PS4='+ '
99
100 # NLS nuisances.
101 for as_var in \
102 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
103 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
104 LC_TELEPHONE LC_TIME
105 do
106 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
107 eval $as_var=C; export $as_var
108 else
109 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
110 fi
111 done
112
113 # Required to use basename.
114 if expr a : '\(a\)' >/dev/null 2>&1 &&
115 test "X`expr 00001 : '.*\(...\)'`" = X001; then
116 as_expr=expr
117 else
118 as_expr=false
119 fi
120
121 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
122 as_basename=basename
123 else
124 as_basename=false
125 fi
126
127
128 # Name of the executable.
129 as_me=`$as_basename -- "$0" ||
130 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
131 X"$0" : 'X\(//\)$' \| \
132 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
133 echo X/"$0" |
134 sed '/^.*\/\([^/][^/]*\)\/*$/{
135 s//\1/
136 q
137 }
138 /^X\/\(\/\/\)$/{
139 s//\1/
140 q
141 }
142 /^X\/\(\/\).*/{
143 s//\1/
144 q
145 }
146 s/.*/./; q'`
147
148 # CDPATH.
149 $as_unset CDPATH
150
151
152 if test "x$CONFIG_SHELL" = x; then
153 if (eval ":") 2>/dev/null; then
154 as_have_required=yes
155 else
156 as_have_required=no
157 fi
158
159 if test $as_have_required = yes && (eval ":
160 (as_func_return () {
161 (exit \$1)
162 }
163 as_func_success () {
164 as_func_return 0
165 }
166 as_func_failure () {
167 as_func_return 1
168 }
169 as_func_ret_success () {
170 return 0
171 }
172 as_func_ret_failure () {
173 return 1
174 }
175
176 exitcode=0
177 if as_func_success; then
178 :
179 else
180 exitcode=1
181 echo as_func_success failed.
182 fi
183
184 if as_func_failure; then
185 exitcode=1
186 echo as_func_failure succeeded.
187 fi
188
189 if as_func_ret_success; then
190 :
191 else
192 exitcode=1
193 echo as_func_ret_success failed.
194 fi
195
196 if as_func_ret_failure; then
197 exitcode=1
198 echo as_func_ret_failure succeeded.
199 fi
200
201 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
202 :
203 else
204 exitcode=1
205 echo positional parameters were not saved.
206 fi
207
208 test \$exitcode = 0) || { (exit 1); exit 1; }
209
210 (
211 as_lineno_1=\$LINENO
212 as_lineno_2=\$LINENO
213 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
214 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
215 ") 2> /dev/null; then
216 :
217 else
218 as_candidate_shells=
219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 do
222 IFS=$as_save_IFS
223 test -z "$as_dir" && as_dir=.
224 case $as_dir in
225 /*)
226 for as_base in sh bash ksh sh5; do
227 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
228 done;;
229 esac
230 done
231 IFS=$as_save_IFS
232
233
234 for as_shell in $as_candidate_shells $SHELL; do
235 # Try only shells which exist, to save several forks.
236 if test -f $as_shell &&
237 { ($as_shell) 2> /dev/null <<\_ASEOF
238 # Be Bourne compatible
239 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
240 emulate sh
241 NULLCMD=:
242 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
243 # is contrary to our usage. Disable this feature.
244 alias -g '${1+"$@"}'='"$@"'
245 setopt NO_GLOB_SUBST
246 else
247 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
248 fi
249 BIN_SH=xpg4; export BIN_SH # for Tru64
250 DUALCASE=1; export DUALCASE # for MKS sh
251
252 :
253 _ASEOF
254 }; then
255 CONFIG_SHELL=$as_shell
256 as_have_required=yes
257 if { $as_shell 2> /dev/null <<\_ASEOF
258 # Be Bourne compatible
259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260 emulate sh
261 NULLCMD=:
262 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
265 setopt NO_GLOB_SUBST
266 else
267 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
268 fi
269 BIN_SH=xpg4; export BIN_SH # for Tru64
270 DUALCASE=1; export DUALCASE # for MKS sh
271
272 :
273 (as_func_return () {
274 (exit $1)
275 }
276 as_func_success () {
277 as_func_return 0
278 }
279 as_func_failure () {
280 as_func_return 1
281 }
282 as_func_ret_success () {
283 return 0
284 }
285 as_func_ret_failure () {
286 return 1
287 }
288
289 exitcode=0
290 if as_func_success; then
291 :
292 else
293 exitcode=1
294 echo as_func_success failed.
295 fi
296
297 if as_func_failure; then
298 exitcode=1
299 echo as_func_failure succeeded.
300 fi
301
302 if as_func_ret_success; then
303 :
304 else
305 exitcode=1
306 echo as_func_ret_success failed.
307 fi
308
309 if as_func_ret_failure; then
310 exitcode=1
311 echo as_func_ret_failure succeeded.
312 fi
313
314 if ( set x; as_func_ret_success y && test x = "$1" ); then
315 :
316 else
317 exitcode=1
318 echo positional parameters were not saved.
319 fi
320
321 test $exitcode = 0) || { (exit 1); exit 1; }
322
323 (
324 as_lineno_1=$LINENO
325 as_lineno_2=$LINENO
326 test "x$as_lineno_1" != "x$as_lineno_2" &&
327 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
328
329 _ASEOF
330 }; then
331 break
332 fi
333
334 fi
335
336 done
337
338 if test "x$CONFIG_SHELL" != x; then
339 for as_var in BASH_ENV ENV
340 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
341 done
342 export CONFIG_SHELL
343 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
344 fi
345
346
347 if test $as_have_required = no; then
348 echo This script requires a shell more modern than all the
349 echo shells that I found on your system. Please install a
350 echo modern shell, or manually run the script under such a
351 echo shell if you do have one.
352 { (exit 1); exit 1; }
353 fi
354
355
356 fi
357
358 fi
359
360
361
362 (eval "as_func_return () {
363 (exit \$1)
364 }
365 as_func_success () {
366 as_func_return 0
367 }
368 as_func_failure () {
369 as_func_return 1
370 }
371 as_func_ret_success () {
372 return 0
373 }
374 as_func_ret_failure () {
375 return 1
376 }
377
378 exitcode=0
379 if as_func_success; then
380 :
381 else
382 exitcode=1
383 echo as_func_success failed.
384 fi
385
386 if as_func_failure; then
387 exitcode=1
388 echo as_func_failure succeeded.
389 fi
390
391 if as_func_ret_success; then
392 :
393 else
394 exitcode=1
395 echo as_func_ret_success failed.
396 fi
397
398 if as_func_ret_failure; then
399 exitcode=1
400 echo as_func_ret_failure succeeded.
401 fi
402
403 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
404 :
405 else
406 exitcode=1
407 echo positional parameters were not saved.
408 fi
409
410 test \$exitcode = 0") || {
411 echo No shell found that supports shell functions.
412 echo Please tell autoconf@gnu.org about your system,
413 echo including any error possibly output before this
414 echo message
415 }
416
417
418
419 as_lineno_1=$LINENO
420 as_lineno_2=$LINENO
421 test "x$as_lineno_1" != "x$as_lineno_2" &&
422 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
423
424 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
425 # uniformly replaced by the line number. The first 'sed' inserts a
426 # line-number line after each line using $LINENO; the second 'sed'
427 # does the real work. The second script uses 'N' to pair each
428 # line-number line with the line containing $LINENO, and appends
429 # trailing '-' during substitution so that $LINENO is not a special
430 # case at line end.
431 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
432 # scripts with optimization help from Paolo Bonzini. Blame Lee
433 # E. McMahon (1931-1989) for sed's syntax. :-)
434 sed -n '
435 p
436 /[$]LINENO/=
437 ' <$as_myself |
438 sed '
439 s/[$]LINENO.*/&-/
440 t lineno
441 b
442 :lineno
443 N
444 :loop
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
446 t loop
447 s/-\n.*//
448 ' >$as_me.lineno &&
449 chmod +x "$as_me.lineno" ||
450 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
451 { (exit 1); exit 1; }; }
452
453 # Don't try to exec as it changes $[0], causing all sort of problems
454 # (the dirname of $[0] is not the place where we might find the
455 # original and so on. Autoconf is especially sensitive to this).
456 . "./$as_me.lineno"
457 # Exit status is that of the last command.
458 exit
459 }
460
461
462 if (dirname -- /) >/dev/null 2>&1; then
463 as_dirname=dirname
464 else
465 as_dirname=false
466 fi
467
468 ECHO_C= ECHO_N= ECHO_T=
469 case `echo -n x` in
470 -n*)
471 case `echo 'x\c'` in
472 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
473 *) ECHO_C='\c';;
474 esac;;
475 *)
476 ECHO_N='-n';;
477 esac
478
479 if expr a : '\(a\)' >/dev/null 2>&1 &&
480 test "X`expr 00001 : '.*\(...\)'`" = X001; then
481 as_expr=expr
482 else
483 as_expr=false
484 fi
485
486 rm -f conf$$ conf$$.exe conf$$.file
487 if test -d conf$$.dir; then
488 rm -f conf$$.dir/conf$$.file
489 else
490 rm -f conf$$.dir
491 mkdir conf$$.dir
492 fi
493 echo >conf$$.file
494 if ln -s conf$$.file conf$$ 2>/dev/null; then
495 as_ln_s='ln -s'
496 # ... but there are two gotchas:
497 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
498 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
499 # In both cases, we have to default to `cp -p'.
500 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
501 as_ln_s='cp -p'
502 elif ln conf$$.file conf$$ 2>/dev/null; then
503 as_ln_s=ln
504 else
505 as_ln_s='cp -p'
506 fi
507 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
508 rmdir conf$$.dir 2>/dev/null
509
510 if mkdir -p . 2>/dev/null; then
511 as_mkdir_p=:
512 else
513 test -d ./-p && rmdir ./-p
514 as_mkdir_p=false
515 fi
516
517 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
518 # systems may use methods other than mode bits to determine executability.
519 cat >conf$$.file <<_ASEOF
520 #! /bin/sh
521 exit 0
522 _ASEOF
523 chmod +x conf$$.file
524 if test -x conf$$.file >/dev/null 2>&1; then
525 as_executable_p="test -x"
526 else
527 as_executable_p=:
528 fi
529 rm -f conf$$.file
530
531 # Sed expression to map a string onto a valid CPP name.
532 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
533
534 # Sed expression to map a string onto a valid variable name.
535 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
536
537
538
539 exec 7<&0 </dev/null 6>&1
540
541 # Name of the host.
542 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
543 # so uname gets run too.
544 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
545
546 #
547 # Initializations.
548 #
549 ac_default_prefix=/usr/local
550 ac_clean_files=
551 ac_config_libobj_dir=.
552 LIBOBJS=
553 cross_compiling=no
554 subdirs=
555 MFLAGS=
556 MAKEFLAGS=
557 SHELL=${CONFIG_SHELL-/bin/sh}
558
559 # Identity of this package.
560 PACKAGE_NAME='GNU Classpath'
561 PACKAGE_TARNAME='classpath'
562 PACKAGE_VERSION='0.91'
563 PACKAGE_STRING='GNU Classpath 0.91'
564 PACKAGE_BUGREPORT='classpath@gnu.org'
565
566 ac_unique_file="java/lang/System.java"
567 ac_default_prefix=/usr/local/classpath
568 # Factoring default headers for most tests.
569 ac_includes_default="\
570 #include <stdio.h>
571 #if HAVE_SYS_TYPES_H
572 # include <sys/types.h>
573 #endif
574 #if HAVE_SYS_STAT_H
575 # include <sys/stat.h>
576 #endif
577 #if STDC_HEADERS
578 # include <stdlib.h>
579 # include <stddef.h>
580 #else
581 # if HAVE_STDLIB_H
582 # include <stdlib.h>
583 # endif
584 #endif
585 #if HAVE_STRING_H
586 # if !STDC_HEADERS && HAVE_MEMORY_H
587 # include <memory.h>
588 # endif
589 # include <string.h>
590 #endif
591 #if HAVE_STRINGS_H
592 # include <strings.h>
593 #endif
594 #if HAVE_INTTYPES_H
595 # include <inttypes.h>
596 #endif
597 #if HAVE_STDINT_H
598 # include <stdint.h>
599 #endif
600 #if HAVE_UNISTD_H
601 # include <unistd.h>
602 #endif"
603
604 ac_subst_vars='SHELL
605 PATH_SEPARATOR
606 PACKAGE_NAME
607 PACKAGE_TARNAME
608 PACKAGE_VERSION
609 PACKAGE_STRING
610 PACKAGE_BUGREPORT
611 exec_prefix
612 prefix
613 program_transform_name
614 bindir
615 sbindir
616 libexecdir
617 datarootdir
618 datadir
619 sysconfdir
620 sharedstatedir
621 localstatedir
622 includedir
623 oldincludedir
624 docdir
625 infodir
626 htmldir
627 dvidir
628 pdfdir
629 psdir
630 libdir
631 localedir
632 mandir
633 DEFS
634 ECHO_C
635 ECHO_N
636 ECHO_T
637 LIBS
638 build_alias
639 host_alias
640 target_alias
641 build
642 build_cpu
643 build_vendor
644 build_os
645 host
646 host_cpu
647 host_vendor
648 host_os
649 target
650 target_cpu
651 target_vendor
652 target_os
653 LIBVERSION
654 CLASSPATH_MODULE
655 CLASSPATH_CONVENIENCE
656 INSTALL_PROGRAM
657 INSTALL_SCRIPT
658 INSTALL_DATA
659 CYGPATH_W
660 PACKAGE
661 VERSION
662 ACLOCAL
663 AUTOCONF
664 AUTOMAKE
665 AUTOHEADER
666 MAKEINFO
667 install_sh
668 STRIP
669 INSTALL_STRIP_PROGRAM
670 mkdir_p
671 AWK
672 SET_MAKE
673 am__leading_dot
674 AMTAR
675 am__tar
676 am__untar
677 CREATE_COLLECTIONS_TRUE
678 CREATE_COLLECTIONS_FALSE
679 CREATE_JNI_LIBRARIES_TRUE
680 CREATE_JNI_LIBRARIES_FALSE
681 CREATE_CORE_JNI_LIBRARIES_TRUE
682 CREATE_CORE_JNI_LIBRARIES_FALSE
683 default_toolkit
684 CREATE_XMLJ_LIBRARY_TRUE
685 CREATE_XMLJ_LIBRARY_FALSE
686 CC
687 CFLAGS
688 LDFLAGS
689 CPPFLAGS
690 ac_ct_CC
691 EXEEXT
692 OBJEXT
693 DEPDIR
694 am__include
695 am__quote
696 AMDEP_TRUE
697 AMDEP_FALSE
698 AMDEPBACKSLASH
699 CCDEPMODE
700 am__fastdepCC_TRUE
701 am__fastdepCC_FALSE
702 CPP
703 GREP
704 EGREP
705 CREATE_ALSA_LIBRARIES_TRUE
706 CREATE_ALSA_LIBRARIES_FALSE
707 CREATE_DSSI_LIBRARIES_TRUE
708 CREATE_DSSI_LIBRARIES_FALSE
709 CREATE_GTK_PEER_LIBRARIES_TRUE
710 CREATE_GTK_PEER_LIBRARIES_FALSE
711 GTK_CAIRO_ENABLED
712 GTK_CAIRO_TRUE
713 GTK_CAIRO_FALSE
714 CREATE_QT_PEER_LIBRARIES_TRUE
715 CREATE_QT_PEER_LIBRARIES_FALSE
716 nativeexeclibdir
717 glibjdir
718 CREATE_JNI_HEADERS_TRUE
719 CREATE_JNI_HEADERS_FALSE
720 LN_S
721 RANLIB
722 LIBTOOL
723 CXX
724 CXXFLAGS
725 ac_ct_CXX
726 CXXDEPMODE
727 am__fastdepCXX_TRUE
728 am__fastdepCXX_FALSE
729 CXXCPP
730 PERL
731 COLLECTIONS_PREFIX
732 LIBICONV
733 LTLIBICONV
734 WARNING_CFLAGS
735 STRICT_WARNING_CFLAGS
736 ERROR_CFLAGS
737 PKG_CONFIG
738 XML_CFLAGS
739 XML_LIBS
740 XSLT_CFLAGS
741 XSLT_LIBS
742 XMKMF
743 X_CFLAGS
744 X_PRE_LIBS
745 X_LIBS
746 X_EXTRA_LIBS
747 GTK_CFLAGS
748 GTK_LIBS
749 CAIRO_CFLAGS
750 CAIRO_LIBS
751 FREETYPE2_CFLAGS
752 FREETYPE2_LIBS
753 PANGOFT2_CFLAGS
754 PANGOFT2_LIBS
755 QT_CFLAGS
756 QT_LIBS
757 MOC
758 USER_JAVAH
759 USER_SPECIFIED_JAVAH_TRUE
760 USER_SPECIFIED_JAVAH_FALSE
761 CLASSPATH_INCLUDES
762 GCJ
763 JIKES
764 JIKESENCODING
765 JIKESWARNINGS
766 KJC
767 GCJX
768 ECJ
769 FOUND_GCJ_TRUE
770 FOUND_GCJ_FALSE
771 FOUND_JIKES_TRUE
772 FOUND_JIKES_FALSE
773 FOUND_ECJ_TRUE
774 FOUND_ECJ_FALSE
775 FOUND_KJC_TRUE
776 FOUND_KJC_FALSE
777 FOUND_GCJX_TRUE
778 FOUND_GCJX_FALSE
779 USER_CLASSLIB
780 USER_SPECIFIED_CLASSLIB_TRUE
781 USER_SPECIFIED_CLASSLIB_FALSE
782 vm_classes
783 MAINTAINER_MODE_TRUE
784 MAINTAINER_MODE_FALSE
785 MAINT
786 LIBDEBUG
787 INIT_LOAD_LIBRARY
788 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
789 REMOVE
790 MKDIR
791 CP
792 DATE
793 FIND
794 ZIP
795 FASTJAR
796 INSTALL_GLIBJ_ZIP_TRUE
797 INSTALL_GLIBJ_ZIP_FALSE
798 INSTALL_CLASS_FILES_TRUE
799 INSTALL_CLASS_FILES_FALSE
800 BUILD_CLASS_FILES_TRUE
801 BUILD_CLASS_FILES_FALSE
802 EXAMPLESDIR
803 GJDOC
804 CREATE_API_DOCS_TRUE
805 CREATE_API_DOCS_FALSE
806 JAY
807 JAY_SKELETON
808 REGEN_PARSERS_TRUE
809 REGEN_PARSERS_FALSE
810 USE_PREBUILT_GLIBJ_ZIP_TRUE
811 USE_PREBUILT_GLIBJ_ZIP_FALSE
812 PATH_TO_GLIBJ_ZIP
813 ENABLE_LOCAL_SOCKETS_TRUE
814 ENABLE_LOCAL_SOCKETS_FALSE
815 LIBOBJS
816 LTLIBOBJS'
817 ac_subst_files=''
818 ac_precious_vars='build_alias
819 host_alias
820 target_alias
821 CC
822 CFLAGS
823 LDFLAGS
824 CPPFLAGS
825 CPP
826 CXX
827 CXXFLAGS
828 CCC
829 CXXCPP
830 XMKMF'
831
832
833 # Initialize some variables set by options.
834 ac_init_help=
835 ac_init_version=false
836 # The variables have the same names as the options, with
837 # dashes changed to underlines.
838 cache_file=/dev/null
839 exec_prefix=NONE
840 no_create=
841 no_recursion=
842 prefix=NONE
843 program_prefix=NONE
844 program_suffix=NONE
845 program_transform_name=s,x,x,
846 silent=
847 site=
848 srcdir=
849 verbose=
850 x_includes=NONE
851 x_libraries=NONE
852
853 # Installation directory options.
854 # These are left unexpanded so users can "make install exec_prefix=/foo"
855 # and all the variables that are supposed to be based on exec_prefix
856 # by default will actually change.
857 # Use braces instead of parens because sh, perl, etc. also accept them.
858 # (The list follows the same order as the GNU Coding Standards.)
859 bindir='${exec_prefix}/bin'
860 sbindir='${exec_prefix}/sbin'
861 libexecdir='${exec_prefix}/libexec'
862 datarootdir='${prefix}/share'
863 datadir='${datarootdir}'
864 sysconfdir='${prefix}/etc'
865 sharedstatedir='${prefix}/com'
866 localstatedir='${prefix}/var'
867 includedir='${prefix}/include'
868 oldincludedir='/usr/include'
869 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
870 infodir='${datarootdir}/info'
871 htmldir='${docdir}'
872 dvidir='${docdir}'
873 pdfdir='${docdir}'
874 psdir='${docdir}'
875 libdir='${exec_prefix}/lib'
876 localedir='${datarootdir}/locale'
877 mandir='${datarootdir}/man'
878
879 ac_prev=
880 ac_dashdash=
881 for ac_option
882 do
883 # If the previous option needs an argument, assign it.
884 if test -n "$ac_prev"; then
885 eval $ac_prev=\$ac_option
886 ac_prev=
887 continue
888 fi
889
890 case $ac_option in
891 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
892 *) ac_optarg=yes ;;
893 esac
894
895 # Accept the important Cygnus configure options, so we can diagnose typos.
896
897 case $ac_dashdash$ac_option in
898 --)
899 ac_dashdash=yes ;;
900
901 -bindir | --bindir | --bindi | --bind | --bin | --bi)
902 ac_prev=bindir ;;
903 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
904 bindir=$ac_optarg ;;
905
906 -build | --build | --buil | --bui | --bu)
907 ac_prev=build_alias ;;
908 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
909 build_alias=$ac_optarg ;;
910
911 -cache-file | --cache-file | --cache-fil | --cache-fi \
912 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
913 ac_prev=cache_file ;;
914 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
915 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
916 cache_file=$ac_optarg ;;
917
918 --config-cache | -C)
919 cache_file=config.cache ;;
920
921 -datadir | --datadir | --datadi | --datad)
922 ac_prev=datadir ;;
923 -datadir=* | --datadir=* | --datadi=* | --datad=*)
924 datadir=$ac_optarg ;;
925
926 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
927 | --dataroo | --dataro | --datar)
928 ac_prev=datarootdir ;;
929 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
930 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
931 datarootdir=$ac_optarg ;;
932
933 -disable-* | --disable-*)
934 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
935 # Reject names that are not valid shell variable names.
936 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
937 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
938 { (exit 1); exit 1; }; }
939 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
940 eval enable_$ac_feature=no ;;
941
942 -docdir | --docdir | --docdi | --doc | --do)
943 ac_prev=docdir ;;
944 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
945 docdir=$ac_optarg ;;
946
947 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
948 ac_prev=dvidir ;;
949 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
950 dvidir=$ac_optarg ;;
951
952 -enable-* | --enable-*)
953 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
954 # Reject names that are not valid shell variable names.
955 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
956 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
957 { (exit 1); exit 1; }; }
958 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
959 eval enable_$ac_feature=\$ac_optarg ;;
960
961 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
962 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
963 | --exec | --exe | --ex)
964 ac_prev=exec_prefix ;;
965 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
966 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
967 | --exec=* | --exe=* | --ex=*)
968 exec_prefix=$ac_optarg ;;
969
970 -gas | --gas | --ga | --g)
971 # Obsolete; use --with-gas.
972 with_gas=yes ;;
973
974 -help | --help | --hel | --he | -h)
975 ac_init_help=long ;;
976 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
977 ac_init_help=recursive ;;
978 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
979 ac_init_help=short ;;
980
981 -host | --host | --hos | --ho)
982 ac_prev=host_alias ;;
983 -host=* | --host=* | --hos=* | --ho=*)
984 host_alias=$ac_optarg ;;
985
986 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
987 ac_prev=htmldir ;;
988 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
989 | --ht=*)
990 htmldir=$ac_optarg ;;
991
992 -includedir | --includedir | --includedi | --included | --include \
993 | --includ | --inclu | --incl | --inc)
994 ac_prev=includedir ;;
995 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
996 | --includ=* | --inclu=* | --incl=* | --inc=*)
997 includedir=$ac_optarg ;;
998
999 -infodir | --infodir | --infodi | --infod | --info | --inf)
1000 ac_prev=infodir ;;
1001 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1002 infodir=$ac_optarg ;;
1003
1004 -libdir | --libdir | --libdi | --libd)
1005 ac_prev=libdir ;;
1006 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1007 libdir=$ac_optarg ;;
1008
1009 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1010 | --libexe | --libex | --libe)
1011 ac_prev=libexecdir ;;
1012 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1013 | --libexe=* | --libex=* | --libe=*)
1014 libexecdir=$ac_optarg ;;
1015
1016 -localedir | --localedir | --localedi | --localed | --locale)
1017 ac_prev=localedir ;;
1018 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1019 localedir=$ac_optarg ;;
1020
1021 -localstatedir | --localstatedir | --localstatedi | --localstated \
1022 | --localstate | --localstat | --localsta | --localst | --locals)
1023 ac_prev=localstatedir ;;
1024 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1025 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1026 localstatedir=$ac_optarg ;;
1027
1028 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1029 ac_prev=mandir ;;
1030 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1031 mandir=$ac_optarg ;;
1032
1033 -nfp | --nfp | --nf)
1034 # Obsolete; use --without-fp.
1035 with_fp=no ;;
1036
1037 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1038 | --no-cr | --no-c | -n)
1039 no_create=yes ;;
1040
1041 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1042 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1043 no_recursion=yes ;;
1044
1045 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1046 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1047 | --oldin | --oldi | --old | --ol | --o)
1048 ac_prev=oldincludedir ;;
1049 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1050 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1051 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1052 oldincludedir=$ac_optarg ;;
1053
1054 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1055 ac_prev=prefix ;;
1056 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1057 prefix=$ac_optarg ;;
1058
1059 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1060 | --program-pre | --program-pr | --program-p)
1061 ac_prev=program_prefix ;;
1062 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1063 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1064 program_prefix=$ac_optarg ;;
1065
1066 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1067 | --program-suf | --program-su | --program-s)
1068 ac_prev=program_suffix ;;
1069 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1070 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1071 program_suffix=$ac_optarg ;;
1072
1073 -program-transform-name | --program-transform-name \
1074 | --program-transform-nam | --program-transform-na \
1075 | --program-transform-n | --program-transform- \
1076 | --program-transform | --program-transfor \
1077 | --program-transfo | --program-transf \
1078 | --program-trans | --program-tran \
1079 | --progr-tra | --program-tr | --program-t)
1080 ac_prev=program_transform_name ;;
1081 -program-transform-name=* | --program-transform-name=* \
1082 | --program-transform-nam=* | --program-transform-na=* \
1083 | --program-transform-n=* | --program-transform-=* \
1084 | --program-transform=* | --program-transfor=* \
1085 | --program-transfo=* | --program-transf=* \
1086 | --program-trans=* | --program-tran=* \
1087 | --progr-tra=* | --program-tr=* | --program-t=*)
1088 program_transform_name=$ac_optarg ;;
1089
1090 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1091 ac_prev=pdfdir ;;
1092 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1093 pdfdir=$ac_optarg ;;
1094
1095 -psdir | --psdir | --psdi | --psd | --ps)
1096 ac_prev=psdir ;;
1097 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1098 psdir=$ac_optarg ;;
1099
1100 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1101 | -silent | --silent | --silen | --sile | --sil)
1102 silent=yes ;;
1103
1104 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1105 ac_prev=sbindir ;;
1106 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1107 | --sbi=* | --sb=*)
1108 sbindir=$ac_optarg ;;
1109
1110 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1111 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1112 | --sharedst | --shareds | --shared | --share | --shar \
1113 | --sha | --sh)
1114 ac_prev=sharedstatedir ;;
1115 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1116 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1117 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1118 | --sha=* | --sh=*)
1119 sharedstatedir=$ac_optarg ;;
1120
1121 -site | --site | --sit)
1122 ac_prev=site ;;
1123 -site=* | --site=* | --sit=*)
1124 site=$ac_optarg ;;
1125
1126 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1127 ac_prev=srcdir ;;
1128 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1129 srcdir=$ac_optarg ;;
1130
1131 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1132 | --syscon | --sysco | --sysc | --sys | --sy)
1133 ac_prev=sysconfdir ;;
1134 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1135 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1136 sysconfdir=$ac_optarg ;;
1137
1138 -target | --target | --targe | --targ | --tar | --ta | --t)
1139 ac_prev=target_alias ;;
1140 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1141 target_alias=$ac_optarg ;;
1142
1143 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1144 verbose=yes ;;
1145
1146 -version | --version | --versio | --versi | --vers | -V)
1147 ac_init_version=: ;;
1148
1149 -with-* | --with-*)
1150 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1151 # Reject names that are not valid shell variable names.
1152 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1153 { echo "$as_me: error: invalid package name: $ac_package" >&2
1154 { (exit 1); exit 1; }; }
1155 ac_package=`echo $ac_package| sed 's/-/_/g'`
1156 eval with_$ac_package=\$ac_optarg ;;
1157
1158 -without-* | --without-*)
1159 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1160 # Reject names that are not valid shell variable names.
1161 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1162 { echo "$as_me: error: invalid package name: $ac_package" >&2
1163 { (exit 1); exit 1; }; }
1164 ac_package=`echo $ac_package | sed 's/-/_/g'`
1165 eval with_$ac_package=no ;;
1166
1167 --x)
1168 # Obsolete; use --with-x.
1169 with_x=yes ;;
1170
1171 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1172 | --x-incl | --x-inc | --x-in | --x-i)
1173 ac_prev=x_includes ;;
1174 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1175 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1176 x_includes=$ac_optarg ;;
1177
1178 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1179 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1180 ac_prev=x_libraries ;;
1181 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1182 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1183 x_libraries=$ac_optarg ;;
1184
1185 -*) { echo "$as_me: error: unrecognized option: $ac_option
1186 Try \`$0 --help' for more information." >&2
1187 { (exit 1); exit 1; }; }
1188 ;;
1189
1190 *=*)
1191 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1192 # Reject names that are not valid shell variable names.
1193 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1194 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1195 { (exit 1); exit 1; }; }
1196 eval $ac_envvar=\$ac_optarg
1197 export $ac_envvar ;;
1198
1199 *)
1200 # FIXME: should be removed in autoconf 3.0.
1201 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1202 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1203 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1204 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1205 ;;
1206
1207 esac
1208 done
1209
1210 if test -n "$ac_prev"; then
1211 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1212 { echo "$as_me: error: missing argument to $ac_option" >&2
1213 { (exit 1); exit 1; }; }
1214 fi
1215
1216 # Be sure to have absolute directory names.
1217 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1218 datadir sysconfdir sharedstatedir localstatedir includedir \
1219 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1220 libdir localedir mandir
1221 do
1222 eval ac_val=\$$ac_var
1223 case $ac_val in
1224 [\\/$]* | ?:[\\/]* ) continue;;
1225 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1226 esac
1227 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1228 { (exit 1); exit 1; }; }
1229 done
1230
1231 # There might be people who depend on the old broken behavior: `$host'
1232 # used to hold the argument of --host etc.
1233 # FIXME: To remove some day.
1234 build=$build_alias
1235 host=$host_alias
1236 target=$target_alias
1237
1238 # FIXME: To remove some day.
1239 if test "x$host_alias" != x; then
1240 if test "x$build_alias" = x; then
1241 cross_compiling=maybe
1242 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1243 If a cross compiler is detected then cross compile mode will be used." >&2
1244 elif test "x$build_alias" != "x$host_alias"; then
1245 cross_compiling=yes
1246 fi
1247 fi
1248
1249 ac_tool_prefix=
1250 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1251
1252 test "$silent" = yes && exec 6>/dev/null
1253
1254
1255 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1256 ac_ls_di=`ls -di .` &&
1257 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1258 { echo "$as_me: error: Working directory cannot be determined" >&2
1259 { (exit 1); exit 1; }; }
1260 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1261 { echo "$as_me: error: pwd does not report name of working directory" >&2
1262 { (exit 1); exit 1; }; }
1263
1264
1265 # Find the source files, if location was not specified.
1266 if test -z "$srcdir"; then
1267 ac_srcdir_defaulted=yes
1268 # Try the directory containing this script, then the parent directory.
1269 ac_confdir=`$as_dirname -- "$0" ||
1270 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1271 X"$0" : 'X\(//\)[^/]' \| \
1272 X"$0" : 'X\(//\)$' \| \
1273 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1274 echo X"$0" |
1275 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1276 s//\1/
1277 q
1278 }
1279 /^X\(\/\/\)[^/].*/{
1280 s//\1/
1281 q
1282 }
1283 /^X\(\/\/\)$/{
1284 s//\1/
1285 q
1286 }
1287 /^X\(\/\).*/{
1288 s//\1/
1289 q
1290 }
1291 s/.*/./; q'`
1292 srcdir=$ac_confdir
1293 if test ! -r "$srcdir/$ac_unique_file"; then
1294 srcdir=..
1295 fi
1296 else
1297 ac_srcdir_defaulted=no
1298 fi
1299 if test ! -r "$srcdir/$ac_unique_file"; then
1300 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1301 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1302 { (exit 1); exit 1; }; }
1303 fi
1304 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1305 ac_abs_confdir=`(
1306 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1307 { (exit 1); exit 1; }; }
1308 pwd)`
1309 # When building in place, set srcdir=.
1310 if test "$ac_abs_confdir" = "$ac_pwd"; then
1311 srcdir=.
1312 fi
1313 # Remove unnecessary trailing slashes from srcdir.
1314 # Double slashes in file names in object file debugging info
1315 # mess up M-x gdb in Emacs.
1316 case $srcdir in
1317 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1318 esac
1319 for ac_var in $ac_precious_vars; do
1320 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1321 eval ac_env_${ac_var}_value=\$${ac_var}
1322 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1323 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1324 done
1325
1326 #
1327 # Report the --help message.
1328 #
1329 if test "$ac_init_help" = "long"; then
1330 # Omit some internal or obsolete options to make the list less imposing.
1331 # This message is too long to be a string in the A/UX 3.1 sh.
1332 cat <<_ACEOF
1333 \`configure' configures GNU Classpath 0.91 to adapt to many kinds of systems.
1334
1335 Usage: $0 [OPTION]... [VAR=VALUE]...
1336
1337 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1338 VAR=VALUE. See below for descriptions of some of the useful variables.
1339
1340 Defaults for the options are specified in brackets.
1341
1342 Configuration:
1343 -h, --help display this help and exit
1344 --help=short display options specific to this package
1345 --help=recursive display the short help of all the included packages
1346 -V, --version display version information and exit
1347 -q, --quiet, --silent do not print \`checking...' messages
1348 --cache-file=FILE cache test results in FILE [disabled]
1349 -C, --config-cache alias for \`--cache-file=config.cache'
1350 -n, --no-create do not create output files
1351 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1352
1353 Installation directories:
1354 --prefix=PREFIX install architecture-independent files in PREFIX
1355 [$ac_default_prefix]
1356 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1357 [PREFIX]
1358
1359 By default, \`make install' will install all the files in
1360 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1361 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1362 for instance \`--prefix=\$HOME'.
1363
1364 For better control, use the options below.
1365
1366 Fine tuning of the installation directories:
1367 --bindir=DIR user executables [EPREFIX/bin]
1368 --sbindir=DIR system admin executables [EPREFIX/sbin]
1369 --libexecdir=DIR program executables [EPREFIX/libexec]
1370 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1371 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1372 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1373 --libdir=DIR object code libraries [EPREFIX/lib]
1374 --includedir=DIR C header files [PREFIX/include]
1375 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1376 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1377 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1378 --infodir=DIR info documentation [DATAROOTDIR/info]
1379 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1380 --mandir=DIR man documentation [DATAROOTDIR/man]
1381 --docdir=DIR documentation root [DATAROOTDIR/doc/classpath]
1382 --htmldir=DIR html documentation [DOCDIR]
1383 --dvidir=DIR dvi documentation [DOCDIR]
1384 --pdfdir=DIR pdf documentation [DOCDIR]
1385 --psdir=DIR ps documentation [DOCDIR]
1386 _ACEOF
1387
1388 cat <<\_ACEOF
1389
1390 Program names:
1391 --program-prefix=PREFIX prepend PREFIX to installed program names
1392 --program-suffix=SUFFIX append SUFFIX to installed program names
1393 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1394
1395 X features:
1396 --x-includes=DIR X include files are in DIR
1397 --x-libraries=DIR X library files are in DIR
1398
1399 System types:
1400 --build=BUILD configure for building on BUILD [guessed]
1401 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1402 --target=TARGET configure for building compilers for TARGET [HOST]
1403 _ACEOF
1404 fi
1405
1406 if test -n "$ac_init_help"; then
1407 case $ac_init_help in
1408 short | recursive ) echo "Configuration of GNU Classpath 0.91:";;
1409 esac
1410 cat <<\_ACEOF
1411
1412 Optional Features:
1413 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1414 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1415 --enable-collections create collections.jar default=no
1416 --enable-jni compile JNI source default=yes
1417 --enable-core-jni compile JNI sources for core default=yes
1418 --enable-Werror whether to compile C code with -Werror which turns
1419 any compiler warning into a compilation failure
1420 default=no
1421 --enable-default-toolkit
1422 fully qualified class name of default AWT toolkit
1423 --enable-xmlj compile native libxml/xslt library default=no
1424 --disable-alsa compile ALSA providers (enable by --enable-alsa)
1425 default=yes
1426 --disable-dependency-tracking speeds up one-time build
1427 --enable-dependency-tracking do not reject slow dependency extractors
1428 --disable-dssi compile DSSI providers (enable by --enable-dssi)
1429 default=yes
1430 --disable-gtk-peer compile GTK native peers (disabled by --disable-jni)
1431 default=yes
1432
1433 --enable-gtk-cairo build the cairo Graphics2D implementation on GTK
1434 default=no
1435 --enable-qt-peer compile Qt4 native peers (disabled by --disable-jni)
1436 default=no
1437 --enable-regen-headers automatically regenerate JNI headers default=no
1438 --enable-static=PKGS build static libraries default=no
1439 --enable-shared=PKGS build shared libraries default=yes
1440 --enable-fast-install=PKGS optimize for fast installation default=yes
1441 --disable-libtool-lock avoid locking (might break parallel builds)
1442 --disable-rpath do not hardcode runtime library paths
1443 --enable-maintainer-mode enable make rules and dependencies not useful
1444 (and sometimes confusing) to the casual installer
1445 --enable-debug enable runtime debugging code
1446 --enable-load-library enable to use JNI native methods default=yes
1447 --enable-java-lang-system-explicit-initialization
1448 will the VM explicitly invoke java.lang.System's
1449 static initialization methods default=no
1450 --enable-examples enable build of the examples default=yes
1451 --enable-portable-native-sync
1452 synchronize VM threads portably
1453 --enable-local-sockets enables local (AF_LOCAL) socket API default: no
1454
1455 Optional Packages:
1456 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1457 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1458 --with-native-libdir sets the installation directore for native libraries
1459 default='${libdir}/${PACKAGE}'
1460 --with-glibj-dir sets the installation directory for glibj.zip
1461 default='${libdir}/${PACKAGE}'
1462 --with-gnu-ld assume the C compiler uses GNU ld default=no
1463 --with-pic try to use only PIC/non-PIC objects default=use both
1464 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1465 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1466 --with-x use the X Window System
1467 --with-qt4dir=DIR Qt4 installation directory used for OS-X. For other
1468 systems use pkg-config.
1469 --with-javah specify path or name of a javah-like program
1470 --with-gcj bytecode compilation with gcj
1471 --with-jikes bytecode compilation with jikes
1472 --with-kjc bytecode compilation with kjc
1473 --with-gcjx bytecode compilation with gcjx
1474 --with-ecj bytecode compilation with ecj
1475 --with-classpath specify path to a classes.zip like file
1476 --with-vm-classes specify path to VM override source files
1477 --with-fastjar=PATH define to use a fastjar style tool
1478 --with-glibj define what to install (zip|flat|both|none|build)
1479 [default=zip]
1480 --with-gjdoc generate documentation using gjdoc (default is NO)
1481 --with-jay Regenerate the parsers with jay must be given the
1482 path to the jay executable
1483 --with-glibj-zip=ABS.PATH
1484 use prebuilt glibj.zip class library
1485
1486 Some influential environment variables:
1487 CC C compiler command
1488 CFLAGS C compiler flags
1489 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1490 nonstandard directory <lib dir>
1491 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1492 you have headers in a nonstandard directory <include dir>
1493 CPP C preprocessor
1494 CXX C++ compiler command
1495 CXXFLAGS C++ compiler flags
1496 CXXCPP C++ preprocessor
1497 XMKMF Path to xmkmf, Makefile generator for X Window System
1498
1499 Use these variables to override the choices made by `configure' or to help
1500 it to find libraries and programs with nonstandard names/locations.
1501
1502 Report bugs to <classpath@gnu.org>.
1503 _ACEOF
1504 ac_status=$?
1505 fi
1506
1507 if test "$ac_init_help" = "recursive"; then
1508 # If there are subdirs, report their specific --help.
1509 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1510 test -d $ac_dir || continue
1511 ac_builddir=.
1512
1513 case "$ac_dir" in
1514 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1515 *)
1516 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1517 # A ".." for each directory in $ac_dir_suffix.
1518 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1519 case $ac_top_builddir_sub in
1520 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1521 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1522 esac ;;
1523 esac
1524 ac_abs_top_builddir=$ac_pwd
1525 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1526 # for backward compatibility:
1527 ac_top_builddir=$ac_top_build_prefix
1528
1529 case $srcdir in
1530 .) # We are building in place.
1531 ac_srcdir=.
1532 ac_top_srcdir=$ac_top_builddir_sub
1533 ac_abs_top_srcdir=$ac_pwd ;;
1534 [\\/]* | ?:[\\/]* ) # Absolute name.
1535 ac_srcdir=$srcdir$ac_dir_suffix;
1536 ac_top_srcdir=$srcdir
1537 ac_abs_top_srcdir=$srcdir ;;
1538 *) # Relative name.
1539 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1540 ac_top_srcdir=$ac_top_build_prefix$srcdir
1541 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1542 esac
1543 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1544
1545 cd "$ac_dir" || { ac_status=$?; continue; }
1546 # Check for guested configure.
1547 if test -f $ac_srcdir/configure.gnu; then
1548 echo &&
1549 $SHELL $ac_srcdir/configure.gnu --help=recursive
1550 elif test -f $ac_srcdir/configure; then
1551 echo &&
1552 $SHELL $ac_srcdir/configure --help=recursive
1553 else
1554 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1555 fi || ac_status=$?
1556 cd "$ac_pwd" || { ac_status=$?; break; }
1557 done
1558 fi
1559
1560 test -n "$ac_init_help" && exit $ac_status
1561 if $ac_init_version; then
1562 cat <<\_ACEOF
1563 GNU Classpath configure 0.91
1564 generated by GNU Autoconf 2.59d
1565
1566 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1567 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1568 This configure script is free software; the Free Software Foundation
1569 gives unlimited permission to copy, distribute and modify it.
1570 _ACEOF
1571 exit
1572 fi
1573 cat >config.log <<_ACEOF
1574 This file contains any messages produced by compilers while
1575 running configure, to aid debugging if configure makes a mistake.
1576
1577 It was created by GNU Classpath $as_me 0.91, which was
1578 generated by GNU Autoconf 2.59d. Invocation command line was
1579
1580 $ $0 $@
1581
1582 _ACEOF
1583 exec 5>>config.log
1584 {
1585 cat <<_ASUNAME
1586 ## --------- ##
1587 ## Platform. ##
1588 ## --------- ##
1589
1590 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1591 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1592 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1593 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1594 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1595
1596 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1597 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1598
1599 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1600 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1601 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1602 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1603 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1604 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1605 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1606
1607 _ASUNAME
1608
1609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1610 for as_dir in $PATH
1611 do
1612 IFS=$as_save_IFS
1613 test -z "$as_dir" && as_dir=.
1614 echo "PATH: $as_dir"
1615 done
1616 IFS=$as_save_IFS
1617
1618 } >&5
1619
1620 cat >&5 <<_ACEOF
1621
1622
1623 ## ----------- ##
1624 ## Core tests. ##
1625 ## ----------- ##
1626
1627 _ACEOF
1628
1629
1630 # Keep a trace of the command line.
1631 # Strip out --no-create and --no-recursion so they do not pile up.
1632 # Strip out --silent because we don't want to record it for future runs.
1633 # Also quote any args containing shell meta-characters.
1634 # Make two passes to allow for proper duplicate-argument suppression.
1635 ac_configure_args=
1636 ac_configure_args0=
1637 ac_configure_args1=
1638 ac_sep=
1639 ac_must_keep_next=false
1640 for ac_pass in 1 2
1641 do
1642 for ac_arg
1643 do
1644 case $ac_arg in
1645 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1646 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1647 | -silent | --silent | --silen | --sile | --sil)
1648 continue ;;
1649 *\'*)
1650 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1651 esac
1652 case $ac_pass in
1653 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1654 2)
1655 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1656 if test $ac_must_keep_next = true; then
1657 ac_must_keep_next=false # Got value, back to normal.
1658 else
1659 case $ac_arg in
1660 *=* | --config-cache | -C | -disable-* | --disable-* \
1661 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1662 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1663 | -with-* | --with-* | -without-* | --without-* | --x)
1664 case "$ac_configure_args0 " in
1665 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1666 esac
1667 ;;
1668 -* ) ac_must_keep_next=true ;;
1669 esac
1670 fi
1671 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1672 # Get rid of the leading space.
1673 ac_sep=" "
1674 ;;
1675 esac
1676 done
1677 done
1678 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1679 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1680
1681 # When interrupted or exit'd, cleanup temporary files, and complete
1682 # config.log. We remove comments because anyway the quotes in there
1683 # would cause problems or look ugly.
1684 # WARNING: Use '\'' to represent an apostrophe within the trap.
1685 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1686 trap 'exit_status=$?
1687 # Save into config.log some information that might help in debugging.
1688 {
1689 echo
1690
1691 cat <<\_ASBOX
1692 ## ---------------- ##
1693 ## Cache variables. ##
1694 ## ---------------- ##
1695 _ASBOX
1696 echo
1697 # The following way of writing the cache mishandles newlines in values,
1698 (
1699 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1700 eval ac_val=\$$ac_var
1701 case $ac_val in #(
1702 *${as_nl}*)
1703 case $ac_var in #(
1704 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1705 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1706 esac
1707 case $ac_var in #(
1708 _ | IFS | as_nl) ;; #(
1709 *) $as_unset $ac_var ;;
1710 esac ;;
1711 esac
1712 done
1713 (set) 2>&1 |
1714 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1715 *${as_nl}ac_space=\ *)
1716 sed -n \
1717 "s/'\''/'\''\\\\'\'''\''/g;
1718 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1719 ;; #(
1720 *)
1721 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1722 ;;
1723 esac |
1724 sort
1725 )
1726 echo
1727
1728 cat <<\_ASBOX
1729 ## ----------------- ##
1730 ## Output variables. ##
1731 ## ----------------- ##
1732 _ASBOX
1733 echo
1734 for ac_var in $ac_subst_vars
1735 do
1736 eval ac_val=\$$ac_var
1737 echo "$ac_var='\''$ac_val'\''"
1738 done | sort
1739 echo
1740
1741 if test -n "$ac_subst_files"; then
1742 cat <<\_ASBOX
1743 ## ------------------- ##
1744 ## File substitutions. ##
1745 ## ------------------- ##
1746 _ASBOX
1747 echo
1748 for ac_var in $ac_subst_files
1749 do
1750 eval ac_val=\$$ac_var
1751 echo "$ac_var='\''$ac_val'\''"
1752 done | sort
1753 echo
1754 fi
1755
1756 if test -s confdefs.h; then
1757 cat <<\_ASBOX
1758 ## ----------- ##
1759 ## confdefs.h. ##
1760 ## ----------- ##
1761 _ASBOX
1762 echo
1763 cat confdefs.h
1764 echo
1765 fi
1766 test "$ac_signal" != 0 &&
1767 echo "$as_me: caught signal $ac_signal"
1768 echo "$as_me: exit $exit_status"
1769 } >&5
1770 rm -f core *.core core.conftest.* &&
1771 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1772 exit $exit_status
1773 ' 0
1774 for ac_signal in 1 2 13 15; do
1775 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1776 done
1777 ac_signal=0
1778
1779 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1780 rm -f -r conftest* confdefs.h
1781
1782 # Predefined preprocessor variables.
1783
1784 cat >>confdefs.h <<_ACEOF
1785 #define PACKAGE_NAME "$PACKAGE_NAME"
1786 _ACEOF
1787
1788
1789 cat >>confdefs.h <<_ACEOF
1790 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1791 _ACEOF
1792
1793
1794 cat >>confdefs.h <<_ACEOF
1795 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1796 _ACEOF
1797
1798
1799 cat >>confdefs.h <<_ACEOF
1800 #define PACKAGE_STRING "$PACKAGE_STRING"
1801 _ACEOF
1802
1803
1804 cat >>confdefs.h <<_ACEOF
1805 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1806 _ACEOF
1807
1808
1809 # Let the site file select an alternate cache file if it wants to.
1810 # Prefer explicitly selected file to automatically selected ones.
1811 if test -n "$CONFIG_SITE"; then
1812 set x "$CONFIG_SITE"
1813 elif test "x$prefix" != xNONE; then
1814 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1815 else
1816 set x "$ac_default_prefix/share/config.site" \
1817 "$ac_default_prefix/etc/config.site"
1818 fi
1819 shift
1820 for ac_site_file
1821 do
1822 if test -r "$ac_site_file"; then
1823 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1824 echo "$as_me: loading site script $ac_site_file" >&6;}
1825 sed 's/^/| /' "$ac_site_file" >&5
1826 . "$ac_site_file"
1827 fi
1828 done
1829
1830 if test -r "$cache_file"; then
1831 # Some versions of bash will fail to source /dev/null (special
1832 # files actually), so we avoid doing that.
1833 if test -f "$cache_file"; then
1834 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1835 echo "$as_me: loading cache $cache_file" >&6;}
1836 case $cache_file in
1837 [\\/]* | ?:[\\/]* ) . $cache_file;;
1838 *) . ./$cache_file;;
1839 esac
1840 fi
1841 else
1842 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1843 echo "$as_me: creating cache $cache_file" >&6;}
1844 >$cache_file
1845 fi
1846
1847 # Check that the precious variables saved in the cache have kept the same
1848 # value.
1849 ac_cache_corrupted=false
1850 for ac_var in $ac_precious_vars; do
1851 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1852 eval ac_new_set=\$ac_env_${ac_var}_set
1853 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1854 eval ac_new_val=\$ac_env_${ac_var}_value
1855 case $ac_old_set,$ac_new_set in
1856 set,)
1857 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1858 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1859 ac_cache_corrupted=: ;;
1860 ,set)
1861 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1862 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1863 ac_cache_corrupted=: ;;
1864 ,);;
1865 *)
1866 if test "x$ac_old_val" != "x$ac_new_val"; then
1867 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1868 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1869 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1870 echo "$as_me: former value: $ac_old_val" >&2;}
1871 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1872 echo "$as_me: current value: $ac_new_val" >&2;}
1873 ac_cache_corrupted=:
1874 fi;;
1875 esac
1876 # Pass precious variables to config.status.
1877 if test "$ac_new_set" = set; then
1878 case $ac_new_val in
1879 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1880 *) ac_arg=$ac_var=$ac_new_val ;;
1881 esac
1882 case " $ac_configure_args " in
1883 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1884 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1885 esac
1886 fi
1887 done
1888 if $ac_cache_corrupted; then
1889 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1890 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1891 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1892 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1893 { (exit 1); exit 1; }; }
1894 fi
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920 ac_ext=c
1921 ac_cpp='$CPP $CPPFLAGS'
1922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1925
1926
1927
1928
1929 ac_aux_dir=
1930 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1931 if test -f $ac_dir/install-sh; then
1932 ac_aux_dir=$ac_dir
1933 ac_install_sh="$ac_aux_dir/install-sh -c"
1934 break
1935 elif test -f $ac_dir/install.sh; then
1936 ac_aux_dir=$ac_dir
1937 ac_install_sh="$ac_aux_dir/install.sh -c"
1938 break
1939 elif test -f $ac_dir/shtool; then
1940 ac_aux_dir=$ac_dir
1941 ac_install_sh="$ac_aux_dir/shtool install -c"
1942 break
1943 fi
1944 done
1945 if test -z "$ac_aux_dir"; then
1946 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1947 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1948 { (exit 1); exit 1; }; }
1949 fi
1950 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1951 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1952 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1953
1954 # Make sure we can run config.sub.
1955 $ac_config_sub sun4 >/dev/null 2>&1 ||
1956 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1957 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1958 { (exit 1); exit 1; }; }
1959
1960 { echo "$as_me:$LINENO: checking build system type" >&5
1961 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1962 if test "${ac_cv_build+set}" = set; then
1963 echo $ECHO_N "(cached) $ECHO_C" >&6
1964 else
1965 ac_build_alias=$build_alias
1966 test "x$ac_build_alias" = x &&
1967 ac_build_alias=`$ac_config_guess`
1968 test "x$ac_build_alias" = x &&
1969 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1970 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1971 { (exit 1); exit 1; }; }
1972 ac_cv_build=`$ac_config_sub $ac_build_alias` ||
1973 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_build_alias failed" >&5
1974 echo "$as_me: error: $ac_config_sub $ac_build_alias failed" >&2;}
1975 { (exit 1); exit 1; }; }
1976
1977 fi
1978 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1979 echo "${ECHO_T}$ac_cv_build" >&6; }
1980 case $ac_cv_build in
1981 *-*-*) ;;
1982 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1983 echo "$as_me: error: invalid value of canonical build" >&2;}
1984 { (exit 1); exit 1; }; };;
1985 esac
1986 build=$ac_cv_build
1987 ac_save_IFS=$IFS; IFS='-'
1988 set x $ac_cv_build
1989 shift
1990 build_cpu=$1
1991 build_vendor=$2
1992 shift; shift
1993 # Remember, the first character of IFS is used to create $*,
1994 # except with old shells:
1995 build_os=$*
1996 IFS=$ac_save_IFS
1997 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1998
1999
2000 { echo "$as_me:$LINENO: checking host system type" >&5
2001 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2002 if test "${ac_cv_host+set}" = set; then
2003 echo $ECHO_N "(cached) $ECHO_C" >&6
2004 else
2005 if test "x$host_alias" = x; then
2006 ac_cv_host=$ac_cv_build
2007 else
2008 ac_cv_host=`$ac_config_sub $host_alias` ||
2009 { { echo "$as_me:$LINENO: error: $ac_config_sub $host_alias failed" >&5
2010 echo "$as_me: error: $ac_config_sub $host_alias failed" >&2;}
2011 { (exit 1); exit 1; }; }
2012 fi
2013
2014 fi
2015 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2016 echo "${ECHO_T}$ac_cv_host" >&6; }
2017 case $ac_cv_host in
2018 *-*-*) ;;
2019 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2020 echo "$as_me: error: invalid value of canonical host" >&2;}
2021 { (exit 1); exit 1; }; };;
2022 esac
2023 host=$ac_cv_host
2024 ac_save_IFS=$IFS; IFS='-'
2025 set x $ac_cv_host
2026 shift
2027 host_cpu=$1
2028 host_vendor=$2
2029 shift; shift
2030 # Remember, the first character of IFS is used to create $*,
2031 # except with old shells:
2032 host_os=$*
2033 IFS=$ac_save_IFS
2034 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2035
2036
2037 { echo "$as_me:$LINENO: checking target system type" >&5
2038 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2039 if test "${ac_cv_target+set}" = set; then
2040 echo $ECHO_N "(cached) $ECHO_C" >&6
2041 else
2042 if test "x$target_alias" = x; then
2043 ac_cv_target=$ac_cv_host
2044 else
2045 ac_cv_target=`$ac_config_sub $target_alias` ||
2046 { { echo "$as_me:$LINENO: error: $ac_config_sub $target_alias failed" >&5
2047 echo "$as_me: error: $ac_config_sub $target_alias failed" >&2;}
2048 { (exit 1); exit 1; }; }
2049 fi
2050
2051 fi
2052 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2053 echo "${ECHO_T}$ac_cv_target" >&6; }
2054 case $ac_cv_target in
2055 *-*-*) ;;
2056 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2057 echo "$as_me: error: invalid value of canonical target" >&2;}
2058 { (exit 1); exit 1; }; };;
2059 esac
2060 target=$ac_cv_target
2061 ac_save_IFS=$IFS; IFS='-'
2062 set x $ac_cv_target
2063 shift
2064 target_cpu=$1
2065 target_vendor=$2
2066 shift; shift
2067 # Remember, the first character of IFS is used to create $*,
2068 # except with old shells:
2069 target_os=$*
2070 IFS=$ac_save_IFS
2071 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2072
2073
2074 # The aliases save the names the user supplied, while $host etc.
2075 # will get canonicalized.
2076 test -n "$target_alias" &&
2077 test "$program_prefix$program_suffix$program_transform_name" = \
2078 NONENONEs,x,x, &&
2079 program_prefix=${target_alias}-
2080
2081 if expr ${target_cpu} : '.*86' > /dev/null; then target_cpu=x86; fi
2082
2083 LIBVERSION="0:0:0"
2084
2085 case "$host_os" in
2086 darwin*)
2087 cp_module=""
2088 ;;
2089 *)
2090 cp_module="-module"
2091 ;;
2092 esac
2093
2094 CLASSPATH_MODULE="${cp_module} -version-info ${LIBVERSION} -no-undefined"
2095
2096
2097 CLASSPATH_CONVENIENCE="-no-undefined"
2098
2099
2100
2101 am__api_version="1.9"
2102 # Find a good install program. We prefer a C program (faster),
2103 # so one script is as good as another. But avoid the broken or
2104 # incompatible versions:
2105 # SysV /etc/install, /usr/sbin/install
2106 # SunOS /usr/etc/install
2107 # IRIX /sbin/install
2108 # AIX /bin/install
2109 # AmigaOS /C/install, which installs bootblocks on floppy discs
2110 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2111 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2112 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2113 # OS/2's system install, which has a completely different semantic
2114 # ./install, which can be erroneously created by make from ./install.sh.
2115 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2116 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2117 if test -z "$INSTALL"; then
2118 if test "${ac_cv_path_install+set}" = set; then
2119 echo $ECHO_N "(cached) $ECHO_C" >&6
2120 else
2121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2122 for as_dir in $PATH
2123 do
2124 IFS=$as_save_IFS
2125 test -z "$as_dir" && as_dir=.
2126 # Account for people who put trailing slashes in PATH elements.
2127 case $as_dir/ in
2128 ./ | .// | /cC/* | \
2129 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2130 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2131 /usr/ucb/* ) ;;
2132 *)
2133 # OSF1 and SCO ODT 3.0 have their own names for install.
2134 # Don't use installbsd from OSF since it installs stuff as root
2135 # by default.
2136 for ac_prog in ginstall scoinst install; do
2137 for ac_exec_ext in '' $ac_executable_extensions; do
2138 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
2139 if test $ac_prog = install &&
2140 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2141 # AIX install. It has an incompatible calling convention.
2142 :
2143 elif test $ac_prog = install &&
2144 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2145 # program-specific install script used by HP pwplus--don't use.
2146 :
2147 else
2148 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2149 break 3
2150 fi
2151 fi
2152 done
2153 done
2154 ;;
2155 esac
2156 done
2157 IFS=$as_save_IFS
2158
2159
2160 fi
2161 if test "${ac_cv_path_install+set}" = set; then
2162 INSTALL=$ac_cv_path_install
2163 else
2164 # As a last resort, use the slow shell script. Don't cache a
2165 # value for INSTALL within a source directory, because that will
2166 # break other packages using the cache if that directory is
2167 # removed, or if the value is a relative name.
2168 INSTALL=$ac_install_sh
2169 fi
2170 fi
2171 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2172 echo "${ECHO_T}$INSTALL" >&6; }
2173
2174 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2175 # It thinks the first close brace ends the variable substitution.
2176 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2177
2178 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2179
2180 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2181
2182 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2183 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2184 # Just in case
2185 sleep 1
2186 echo timestamp > conftest.file
2187 # Do `set' in a subshell so we don't clobber the current shell's
2188 # arguments. Must try -L first in case configure is actually a
2189 # symlink; some systems play weird games with the mod time of symlinks
2190 # (eg FreeBSD returns the mod time of the symlink's containing
2191 # directory).
2192 if (
2193 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2194 if test "$*" = "X"; then
2195 # -L didn't work.
2196 set X `ls -t $srcdir/configure conftest.file`
2197 fi
2198 rm -f conftest.file
2199 if test "$*" != "X $srcdir/configure conftest.file" \
2200 && test "$*" != "X conftest.file $srcdir/configure"; then
2201
2202 # If neither matched, then we have a broken ls. This can happen
2203 # if, for instance, CONFIG_SHELL is bash and it inherits a
2204 # broken ls alias from the environment. This has actually
2205 # happened. Such a system could not be considered "sane".
2206 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2207 alias in your environment" >&5
2208 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2209 alias in your environment" >&2;}
2210 { (exit 1); exit 1; }; }
2211 fi
2212
2213 test "$2" = conftest.file
2214 )
2215 then
2216 # Ok.
2217 :
2218 else
2219 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2220 Check your system clock" >&5
2221 echo "$as_me: error: newly created file is older than distributed files!
2222 Check your system clock" >&2;}
2223 { (exit 1); exit 1; }; }
2224 fi
2225 { echo "$as_me:$LINENO: result: yes" >&5
2226 echo "${ECHO_T}yes" >&6; }
2227 test "$program_prefix" != NONE &&
2228 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2229 # Use a double $ so make ignores it.
2230 test "$program_suffix" != NONE &&
2231 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2232 # Double any \ or $. echo might interpret backslashes.
2233 # By default was `s,x,x', remove it if useless.
2234 cat <<\_ACEOF >conftest.sed
2235 s/[\\$]/&&/g;s/;s,x,x,$//
2236 _ACEOF
2237 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2238 rm -f conftest.sed
2239
2240 # expand $ac_aux_dir to an absolute path
2241 am_aux_dir=`cd $ac_aux_dir && pwd`
2242
2243 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2244 # Use eval to expand $SHELL
2245 if eval "$MISSING --run true"; then
2246 am_missing_run="$MISSING --run "
2247 else
2248 am_missing_run=
2249 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2250 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2251 fi
2252
2253 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2254 # We used to keeping the `.' as first argument, in order to
2255 # allow $(mkdir_p) to be used without argument. As in
2256 # $(mkdir_p) $(somedir)
2257 # where $(somedir) is conditionally defined. However this is wrong
2258 # for two reasons:
2259 # 1. if the package is installed by a user who cannot write `.'
2260 # make install will fail,
2261 # 2. the above comment should most certainly read
2262 # $(mkdir_p) $(DESTDIR)$(somedir)
2263 # so it does not work when $(somedir) is undefined and
2264 # $(DESTDIR) is not.
2265 # To support the latter case, we have to write
2266 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2267 # so the `.' trick is pointless.
2268 mkdir_p='mkdir -p --'
2269 else
2270 # On NextStep and OpenStep, the `mkdir' command does not
2271 # recognize any option. It will interpret all options as
2272 # directories to create, and then abort because `.' already
2273 # exists.
2274 for d in ./-p ./--version;
2275 do
2276 test -d $d && rmdir $d
2277 done
2278 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2279 if test -f "$ac_aux_dir/mkinstalldirs"; then
2280 mkdir_p='$(mkinstalldirs)'
2281 else
2282 mkdir_p='$(install_sh) -d'
2283 fi
2284 fi
2285
2286 for ac_prog in gawk mawk nawk awk
2287 do
2288 # Extract the first word of "$ac_prog", so it can be a program name with args.
2289 set dummy $ac_prog; ac_word=$2
2290 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2292 if test "${ac_cv_prog_AWK+set}" = set; then
2293 echo $ECHO_N "(cached) $ECHO_C" >&6
2294 else
2295 if test -n "$AWK"; then
2296 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2297 else
2298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2299 for as_dir in $PATH
2300 do
2301 IFS=$as_save_IFS
2302 test -z "$as_dir" && as_dir=.
2303 for ac_exec_ext in '' $ac_executable_extensions; do
2304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2305 ac_cv_prog_AWK="$ac_prog"
2306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2307 break 2
2308 fi
2309 done
2310 done
2311 IFS=$as_save_IFS
2312
2313 fi
2314 fi
2315 AWK=$ac_cv_prog_AWK
2316 if test -n "$AWK"; then
2317 { echo "$as_me:$LINENO: result: $AWK" >&5
2318 echo "${ECHO_T}$AWK" >&6; }
2319 else
2320 { echo "$as_me:$LINENO: result: no" >&5
2321 echo "${ECHO_T}no" >&6; }
2322 fi
2323
2324
2325 test -n "$AWK" && break
2326 done
2327
2328 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2329 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2330 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2331 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2332 echo $ECHO_N "(cached) $ECHO_C" >&6
2333 else
2334 cat >conftest.make <<\_ACEOF
2335 SHELL = /bin/sh
2336 all:
2337 @echo 'ac_maketemp=X"$(MAKE)"'
2338 _ACEOF
2339 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2340 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2341 if test "$ac_maketemp" != X ; then
2342 eval ac_cv_prog_make_${ac_make}_set=yes
2343 else
2344 eval ac_cv_prog_make_${ac_make}_set=no
2345 fi
2346 rm -f conftest.make
2347 fi
2348 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2349 { echo "$as_me:$LINENO: result: yes" >&5
2350 echo "${ECHO_T}yes" >&6; }
2351 SET_MAKE=
2352 else
2353 { echo "$as_me:$LINENO: result: no" >&5
2354 echo "${ECHO_T}no" >&6; }
2355 SET_MAKE="MAKE=${MAKE-make}"
2356 fi
2357
2358 rm -rf .tst 2>/dev/null
2359 mkdir .tst 2>/dev/null
2360 if test -d .tst; then
2361 am__leading_dot=.
2362 else
2363 am__leading_dot=_
2364 fi
2365 rmdir .tst 2>/dev/null
2366
2367 # test to see if srcdir already configured
2368 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2369 test -f $srcdir/config.status; then
2370 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2371 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2372 { (exit 1); exit 1; }; }
2373 fi
2374
2375 # test whether we have cygpath
2376 if test -z "$CYGPATH_W"; then
2377 if (cygpath --version) >/dev/null 2>/dev/null; then
2378 CYGPATH_W='cygpath -w'
2379 else
2380 CYGPATH_W=echo
2381 fi
2382 fi
2383
2384
2385 # Define the identity of the package.
2386 PACKAGE='classpath'
2387 VERSION='0.91'
2388
2389
2390 cat >>confdefs.h <<_ACEOF
2391 #define PACKAGE "$PACKAGE"
2392 _ACEOF
2393
2394
2395 cat >>confdefs.h <<_ACEOF
2396 #define VERSION "$VERSION"
2397 _ACEOF
2398
2399 # Some tools Automake needs.
2400
2401 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2402
2403
2404 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2405
2406
2407 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2408
2409
2410 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2411
2412
2413 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2414
2415 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2416
2417 # Installed binaries are usually stripped using `strip' when the user
2418 # run `make install-strip'. However `strip' might not be the right
2419 # tool to use in cross-compilation environments, therefore Automake
2420 # will honor the `STRIP' environment variable to overrule this program.
2421 if test "$cross_compiling" != no; then
2422 if test -n "$ac_tool_prefix"; then
2423 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2424 set dummy ${ac_tool_prefix}strip; ac_word=$2
2425 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2427 if test "${ac_cv_prog_STRIP+set}" = set; then
2428 echo $ECHO_N "(cached) $ECHO_C" >&6
2429 else
2430 if test -n "$STRIP"; then
2431 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2432 else
2433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2434 for as_dir in $PATH
2435 do
2436 IFS=$as_save_IFS
2437 test -z "$as_dir" && as_dir=.
2438 for ac_exec_ext in '' $ac_executable_extensions; do
2439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2440 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2442 break 2
2443 fi
2444 done
2445 done
2446 IFS=$as_save_IFS
2447
2448 fi
2449 fi
2450 STRIP=$ac_cv_prog_STRIP
2451 if test -n "$STRIP"; then
2452 { echo "$as_me:$LINENO: result: $STRIP" >&5
2453 echo "${ECHO_T}$STRIP" >&6; }
2454 else
2455 { echo "$as_me:$LINENO: result: no" >&5
2456 echo "${ECHO_T}no" >&6; }
2457 fi
2458
2459
2460 fi
2461 if test -z "$ac_cv_prog_STRIP"; then
2462 ac_ct_STRIP=$STRIP
2463 # Extract the first word of "strip", so it can be a program name with args.
2464 set dummy strip; ac_word=$2
2465 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2467 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2468 echo $ECHO_N "(cached) $ECHO_C" >&6
2469 else
2470 if test -n "$ac_ct_STRIP"; then
2471 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2472 else
2473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2474 for as_dir in $PATH
2475 do
2476 IFS=$as_save_IFS
2477 test -z "$as_dir" && as_dir=.
2478 for ac_exec_ext in '' $ac_executable_extensions; do
2479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2480 ac_cv_prog_ac_ct_STRIP="strip"
2481 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2482 break 2
2483 fi
2484 done
2485 done
2486 IFS=$as_save_IFS
2487
2488 fi
2489 fi
2490 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2491 if test -n "$ac_ct_STRIP"; then
2492 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2493 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2494 else
2495 { echo "$as_me:$LINENO: result: no" >&5
2496 echo "${ECHO_T}no" >&6; }
2497 fi
2498
2499 if test "x$ac_ct_STRIP" = x; then
2500 STRIP=":"
2501 else
2502 case $cross_compiling:$ac_tool_warned in
2503 yes:)
2504 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2505 whose name does not start with the host triplet. If you think this
2506 configuration is useful to you, please write to autoconf@gnu.org." >&5
2507 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2508 whose name does not start with the host triplet. If you think this
2509 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2510 ac_tool_warned=yes ;;
2511 esac
2512 STRIP=$ac_ct_STRIP
2513 fi
2514 else
2515 STRIP="$ac_cv_prog_STRIP"
2516 fi
2517
2518 fi
2519 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2520
2521 # We need awk for the "check" target. The system "awk" is bad on
2522 # some platforms.
2523 # Always define AMTAR for backward compatibility.
2524
2525 AMTAR=${AMTAR-"${am_missing_run}tar"}
2526
2527
2528 { echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
2529 echo $ECHO_N "checking how to create a ustar tar archive... $ECHO_C" >&6; }
2530 # Loop over all known methods to create a tar archive until one works.
2531 _am_tools='gnutar plaintar pax cpio none'
2532 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2533 # Do not fold the above two line into one, because Tru64 sh and
2534 # Solaris sh will not grok spaces in the rhs of `-'.
2535 for _am_tool in $_am_tools
2536 do
2537 case $_am_tool in
2538 gnutar)
2539 for _am_tar in tar gnutar gtar;
2540 do
2541 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2542 ($_am_tar --version) >&5 2>&5
2543 ac_status=$?
2544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2545 (exit $ac_status); } && break
2546 done
2547 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2548 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2549 am__untar="$_am_tar -xf -"
2550 ;;
2551 plaintar)
2552 # Must skip GNU tar: if it does not support --format= it doesn't create
2553 # ustar tarball either.
2554 (tar --version) >/dev/null 2>&1 && continue
2555 am__tar='tar chf - "$$tardir"'
2556 am__tar_='tar chf - "$tardir"'
2557 am__untar='tar xf -'
2558 ;;
2559 pax)
2560 am__tar='pax -L -x ustar -w "$$tardir"'
2561 am__tar_='pax -L -x ustar -w "$tardir"'
2562 am__untar='pax -r'
2563 ;;
2564 cpio)
2565 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2566 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2567 am__untar='cpio -i -H ustar -d'
2568 ;;
2569 none)
2570 am__tar=false
2571 am__tar_=false
2572 am__untar=false
2573 ;;
2574 esac
2575
2576 # If the value was cached, stop now. We just wanted to have am__tar
2577 # and am__untar set.
2578 test -n "${am_cv_prog_tar_ustar}" && break
2579
2580 # tar/untar a dummy directory, and stop if the command works
2581 rm -rf conftest.dir
2582 mkdir conftest.dir
2583 echo GrepMe > conftest.dir/file
2584 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2585 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2586 ac_status=$?
2587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2588 (exit $ac_status); }
2589 rm -rf conftest.dir
2590 if test -s conftest.tar; then
2591 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2592 ($am__untar <conftest.tar) >&5 2>&5
2593 ac_status=$?
2594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2595 (exit $ac_status); }
2596 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2597 fi
2598 done
2599 rm -rf conftest.dir
2600
2601 if test "${am_cv_prog_tar_ustar+set}" = set; then
2602 echo $ECHO_N "(cached) $ECHO_C" >&6
2603 else
2604 am_cv_prog_tar_ustar=$_am_tool
2605 fi
2606
2607 { echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
2608 echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6; }
2609
2610
2611
2612
2613
2614 ac_config_headers="$ac_config_headers include/config.h"
2615
2616
2617
2618 GCC_NO_EXECUTABLES
2619
2620 # Check whether --enable-collections was given.
2621 if test "${enable_collections+set}" = set; then
2622 enableval=$enable_collections; case x"${enableval}" in
2623 xyes) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"gnu/java/util/collections\"" ;;
2624 xno) COMPILE_COLLECTIONS=no ;;
2625 x) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"gnu/java/util/collections\"" ;;
2626 *) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"${enableval}\"" ;;
2627 esac
2628 else
2629 COMPILE_COLLECTIONS=no
2630 fi
2631
2632
2633
2634 if test "x${COMPILE_COLLECTIONS}" = xyes; then
2635 CREATE_COLLECTIONS_TRUE=
2636 CREATE_COLLECTIONS_FALSE='#'
2637 else
2638 CREATE_COLLECTIONS_TRUE='#'
2639 CREATE_COLLECTIONS_FALSE=
2640 fi
2641
2642
2643 # Check whether --enable-jni was given.
2644 if test "${enable_jni+set}" = set; then
2645 enableval=$enable_jni; case "${enableval}" in
2646 yes) COMPILE_JNI=yes; COMPILE_JAVA=yes ;;
2647 no) COMPILE_JNI=no ;;
2648 *) COMPILE_JNI=yes; COMPILE_JAVA=yes ;;
2649 esac
2650 else
2651 COMPILE_JNI=yes
2652 fi
2653
2654
2655
2656 if test "x${COMPILE_JNI}" = xyes; then
2657 CREATE_JNI_LIBRARIES_TRUE=
2658 CREATE_JNI_LIBRARIES_FALSE='#'
2659 else
2660 CREATE_JNI_LIBRARIES_TRUE='#'
2661 CREATE_JNI_LIBRARIES_FALSE=
2662 fi
2663
2664
2665 # Check whether --enable-core-jni was given.
2666 if test "${enable_core_jni+set}" = set; then
2667 enableval=$enable_core_jni; case "${enableval}" in
2668 yes) COMPILE_CORE_JNI=yes; COMPILE_JAVA=yes ;;
2669 no) COMPILE_CORE_JNI=no ;;
2670 *) COMPILE_CORE_JNI=yes; COMPILE_JAVA=yes ;;
2671 esac
2672 else
2673 COMPILE_CORE_JNI=yes
2674 fi
2675
2676
2677
2678 if test "x${COMPILE_CORE_JNI}" = xyes; then
2679 CREATE_CORE_JNI_LIBRARIES_TRUE=
2680 CREATE_CORE_JNI_LIBRARIES_FALSE='#'
2681 else
2682 CREATE_CORE_JNI_LIBRARIES_TRUE='#'
2683 CREATE_CORE_JNI_LIBRARIES_FALSE=
2684 fi
2685
2686
2687 # Check whether --enable-Werror was given.
2688 if test "${enable_Werror+set}" = set; then
2689 enableval=$enable_Werror; case "${enableval}" in
2690 yes) ENABLE_WERROR=yes ;;
2691 no) ENABLE_WERROR=no ;;
2692 *) ENABLE_WERROR=no ;;
2693 esac
2694 else
2695 ENABLE_WERROR=no
2696 fi
2697
2698
2699 # Check whether --enable-default-toolkit was given.
2700 if test "${enable_default_toolkit+set}" = set; then
2701 enableval=$enable_default_toolkit;
2702 fi
2703
2704 default_toolkit=$enable_default_toolkit
2705 if test "$default_toolkit" = ""; then
2706 default_toolkit=gnu.java.awt.peer.gtk.GtkToolkit
2707 fi
2708
2709
2710 # Check whether --enable-xmlj was given.
2711 if test "${enable_xmlj+set}" = set; then
2712 enableval=$enable_xmlj; case "${enableval}" in
2713 yes) COMPILE_XMLJ=yes ;;
2714 no) COMPILE_XMLJ=no ;;
2715 *) COMPILE_XMLJ=no ;;
2716 esac
2717 else
2718 COMPILE_XMLJ=no
2719 fi
2720
2721
2722
2723 if test "x${COMPILE_XMLJ}" = xyes; then
2724 CREATE_XMLJ_LIBRARY_TRUE=
2725 CREATE_XMLJ_LIBRARY_FALSE='#'
2726 else
2727 CREATE_XMLJ_LIBRARY_TRUE='#'
2728 CREATE_XMLJ_LIBRARY_FALSE=
2729 fi
2730
2731
2732 DEPDIR="${am__leading_dot}deps"
2733
2734 ac_config_commands="$ac_config_commands depfiles"
2735
2736
2737 am_make=${MAKE-make}
2738 cat > confinc << 'END'
2739 am__doit:
2740 @echo done
2741 .PHONY: am__doit
2742 END
2743 # If we don't find an include directive, just comment out the code.
2744 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2745 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2746 am__include="#"
2747 am__quote=
2748 _am_result=none
2749 # First try GNU make style include.
2750 echo "include confinc" > confmf
2751 # We grep out `Entering directory' and `Leaving directory'
2752 # messages which can occur if `w' ends up in MAKEFLAGS.
2753 # In particular we don't look at `^make:' because GNU make might
2754 # be invoked under some other name (usually "gmake"), in which
2755 # case it prints its new name instead of `make'.
2756 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2757 am__include=include
2758 am__quote=
2759 _am_result=GNU
2760 fi
2761 # Now try BSD make style include.
2762 if test "$am__include" = "#"; then
2763 echo '.include "confinc"' > confmf
2764 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2765 am__include=.include
2766 am__quote="\""
2767 _am_result=BSD
2768 fi
2769 fi
2770
2771
2772 { echo "$as_me:$LINENO: result: $_am_result" >&5
2773 echo "${ECHO_T}$_am_result" >&6; }
2774 rm -f confinc confmf
2775
2776 # Check whether --enable-dependency-tracking was given.
2777 if test "${enable_dependency_tracking+set}" = set; then
2778 enableval=$enable_dependency_tracking;
2779 fi
2780
2781 if test "x$enable_dependency_tracking" != xno; then
2782 am_depcomp="$ac_aux_dir/depcomp"
2783 AMDEPBACKSLASH='\'
2784 fi
2785
2786
2787 if test "x$enable_dependency_tracking" != xno; then
2788 AMDEP_TRUE=
2789 AMDEP_FALSE='#'
2790 else
2791 AMDEP_TRUE='#'
2792 AMDEP_FALSE=
2793 fi
2794
2795
2796
2797 ac_ext=c
2798 ac_cpp='$CPP $CPPFLAGS'
2799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2802 if test -n "$ac_tool_prefix"; then
2803 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2804 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2805 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2807 if test "${ac_cv_prog_CC+set}" = set; then
2808 echo $ECHO_N "(cached) $ECHO_C" >&6
2809 else
2810 if test -n "$CC"; then
2811 ac_cv_prog_CC="$CC" # Let the user override the test.
2812 else
2813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2814 for as_dir in $PATH
2815 do
2816 IFS=$as_save_IFS
2817 test -z "$as_dir" && as_dir=.
2818 for ac_exec_ext in '' $ac_executable_extensions; do
2819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2820 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2822 break 2
2823 fi
2824 done
2825 done
2826 IFS=$as_save_IFS
2827
2828 fi
2829 fi
2830 CC=$ac_cv_prog_CC
2831 if test -n "$CC"; then
2832 { echo "$as_me:$LINENO: result: $CC" >&5
2833 echo "${ECHO_T}$CC" >&6; }
2834 else
2835 { echo "$as_me:$LINENO: result: no" >&5
2836 echo "${ECHO_T}no" >&6; }
2837 fi
2838
2839
2840 fi
2841 if test -z "$ac_cv_prog_CC"; then
2842 ac_ct_CC=$CC
2843 # Extract the first word of "gcc", so it can be a program name with args.
2844 set dummy gcc; ac_word=$2
2845 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2847 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2848 echo $ECHO_N "(cached) $ECHO_C" >&6
2849 else
2850 if test -n "$ac_ct_CC"; then
2851 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2852 else
2853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2854 for as_dir in $PATH
2855 do
2856 IFS=$as_save_IFS
2857 test -z "$as_dir" && as_dir=.
2858 for ac_exec_ext in '' $ac_executable_extensions; do
2859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2860 ac_cv_prog_ac_ct_CC="gcc"
2861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2862 break 2
2863 fi
2864 done
2865 done
2866 IFS=$as_save_IFS
2867
2868 fi
2869 fi
2870 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2871 if test -n "$ac_ct_CC"; then
2872 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2873 echo "${ECHO_T}$ac_ct_CC" >&6; }
2874 else
2875 { echo "$as_me:$LINENO: result: no" >&5
2876 echo "${ECHO_T}no" >&6; }
2877 fi
2878
2879 if test "x$ac_ct_CC" = x; then
2880 CC=""
2881 else
2882 case $cross_compiling:$ac_tool_warned in
2883 yes:)
2884 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2885 whose name does not start with the host triplet. If you think this
2886 configuration is useful to you, please write to autoconf@gnu.org." >&5
2887 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2888 whose name does not start with the host triplet. If you think this
2889 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2890 ac_tool_warned=yes ;;
2891 esac
2892 CC=$ac_ct_CC
2893 fi
2894 else
2895 CC="$ac_cv_prog_CC"
2896 fi
2897
2898 if test -z "$CC"; then
2899 if test -n "$ac_tool_prefix"; then
2900 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2901 set dummy ${ac_tool_prefix}cc; ac_word=$2
2902 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2904 if test "${ac_cv_prog_CC+set}" = set; then
2905 echo $ECHO_N "(cached) $ECHO_C" >&6
2906 else
2907 if test -n "$CC"; then
2908 ac_cv_prog_CC="$CC" # Let the user override the test.
2909 else
2910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2911 for as_dir in $PATH
2912 do
2913 IFS=$as_save_IFS
2914 test -z "$as_dir" && as_dir=.
2915 for ac_exec_ext in '' $ac_executable_extensions; do
2916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2917 ac_cv_prog_CC="${ac_tool_prefix}cc"
2918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2919 break 2
2920 fi
2921 done
2922 done
2923 IFS=$as_save_IFS
2924
2925 fi
2926 fi
2927 CC=$ac_cv_prog_CC
2928 if test -n "$CC"; then
2929 { echo "$as_me:$LINENO: result: $CC" >&5
2930 echo "${ECHO_T}$CC" >&6; }
2931 else
2932 { echo "$as_me:$LINENO: result: no" >&5
2933 echo "${ECHO_T}no" >&6; }
2934 fi
2935
2936
2937 fi
2938 fi
2939 if test -z "$CC"; then
2940 # Extract the first word of "cc", so it can be a program name with args.
2941 set dummy cc; ac_word=$2
2942 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2944 if test "${ac_cv_prog_CC+set}" = set; then
2945 echo $ECHO_N "(cached) $ECHO_C" >&6
2946 else
2947 if test -n "$CC"; then
2948 ac_cv_prog_CC="$CC" # Let the user override the test.
2949 else
2950 ac_prog_rejected=no
2951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2952 for as_dir in $PATH
2953 do
2954 IFS=$as_save_IFS
2955 test -z "$as_dir" && as_dir=.
2956 for ac_exec_ext in '' $ac_executable_extensions; do
2957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2958 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2959 ac_prog_rejected=yes
2960 continue
2961 fi
2962 ac_cv_prog_CC="cc"
2963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2964 break 2
2965 fi
2966 done
2967 done
2968 IFS=$as_save_IFS
2969
2970 if test $ac_prog_rejected = yes; then
2971 # We found a bogon in the path, so make sure we never use it.
2972 set dummy $ac_cv_prog_CC
2973 shift
2974 if test $# != 0; then
2975 # We chose a different compiler from the bogus one.
2976 # However, it has the same basename, so the bogon will be chosen
2977 # first if we set CC to just the basename; use the full file name.
2978 shift
2979 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2980 fi
2981 fi
2982 fi
2983 fi
2984 CC=$ac_cv_prog_CC
2985 if test -n "$CC"; then
2986 { echo "$as_me:$LINENO: result: $CC" >&5
2987 echo "${ECHO_T}$CC" >&6; }
2988 else
2989 { echo "$as_me:$LINENO: result: no" >&5
2990 echo "${ECHO_T}no" >&6; }
2991 fi
2992
2993
2994 fi
2995 if test -z "$CC"; then
2996 if test -n "$ac_tool_prefix"; then
2997 for ac_prog in cl.exe
2998 do
2999 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3000 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3001 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3003 if test "${ac_cv_prog_CC+set}" = set; then
3004 echo $ECHO_N "(cached) $ECHO_C" >&6
3005 else
3006 if test -n "$CC"; then
3007 ac_cv_prog_CC="$CC" # Let the user override the test.
3008 else
3009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3010 for as_dir in $PATH
3011 do
3012 IFS=$as_save_IFS
3013 test -z "$as_dir" && as_dir=.
3014 for ac_exec_ext in '' $ac_executable_extensions; do
3015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3016 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3018 break 2
3019 fi
3020 done
3021 done
3022 IFS=$as_save_IFS
3023
3024 fi
3025 fi
3026 CC=$ac_cv_prog_CC
3027 if test -n "$CC"; then
3028 { echo "$as_me:$LINENO: result: $CC" >&5
3029 echo "${ECHO_T}$CC" >&6; }
3030 else
3031 { echo "$as_me:$LINENO: result: no" >&5
3032 echo "${ECHO_T}no" >&6; }
3033 fi
3034
3035
3036 test -n "$CC" && break
3037 done
3038 fi
3039 if test -z "$CC"; then
3040 ac_ct_CC=$CC
3041 for ac_prog in cl.exe
3042 do
3043 # Extract the first word of "$ac_prog", so it can be a program name with args.
3044 set dummy $ac_prog; ac_word=$2
3045 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3047 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3048 echo $ECHO_N "(cached) $ECHO_C" >&6
3049 else
3050 if test -n "$ac_ct_CC"; then
3051 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3052 else
3053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3054 for as_dir in $PATH
3055 do
3056 IFS=$as_save_IFS
3057 test -z "$as_dir" && as_dir=.
3058 for ac_exec_ext in '' $ac_executable_extensions; do
3059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3060 ac_cv_prog_ac_ct_CC="$ac_prog"
3061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3062 break 2
3063 fi
3064 done
3065 done
3066 IFS=$as_save_IFS
3067
3068 fi
3069 fi
3070 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3071 if test -n "$ac_ct_CC"; then
3072 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3073 echo "${ECHO_T}$ac_ct_CC" >&6; }
3074 else
3075 { echo "$as_me:$LINENO: result: no" >&5
3076 echo "${ECHO_T}no" >&6; }
3077 fi
3078
3079
3080 test -n "$ac_ct_CC" && break
3081 done
3082
3083 if test "x$ac_ct_CC" = x; then
3084 CC=""
3085 else
3086 case $cross_compiling:$ac_tool_warned in
3087 yes:)
3088 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3089 whose name does not start with the host triplet. If you think this
3090 configuration is useful to you, please write to autoconf@gnu.org." >&5
3091 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3092 whose name does not start with the host triplet. If you think this
3093 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3094 ac_tool_warned=yes ;;
3095 esac
3096 CC=$ac_ct_CC
3097 fi
3098 fi
3099
3100 fi
3101
3102
3103 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3104 See \`config.log' for more details." >&5
3105 echo "$as_me: error: no acceptable C compiler found in \$PATH
3106 See \`config.log' for more details." >&2;}
3107 { (exit 1); exit 1; }; }
3108
3109 # Provide some information about the compiler.
3110 echo "$as_me:$LINENO: checking for C compiler version" >&5
3111 ac_compiler=`set X $ac_compile; echo $2`
3112 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version >&5\"") >&5
3113 (eval $ac_compiler --version >&5) 2>&5
3114 ac_status=$?
3115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3116 (exit $ac_status); }
3117 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v >&5\"") >&5
3118 (eval $ac_compiler -v >&5) 2>&5
3119 ac_status=$?
3120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3121 (exit $ac_status); }
3122 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V >&5\"") >&5
3123 (eval $ac_compiler -V >&5) 2>&5
3124 ac_status=$?
3125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3126 (exit $ac_status); }
3127
3128
3129 # List of possible output files. We want to start from the most likely,
3130 # but we have to check foo.exe before foo, because Cygwin `test -f' looks
3131 # also for foo.exe. b.out is created by i960 compilers.
3132 # As a last resort, we also try wildcards: `conftest.*' and `a.*'.
3133 # But we are not allowed to rm a.*, and we do not want always remove
3134 # conftest.*, so we will list them literally, when appropriate.
3135 ac_outfiles="a_out.exe a.out conftest.exe conftest a.exe b.out"
3136
3137 # The IRIX 6 linker writes into existing files which may not be
3138 # executable, retaining their permissions. Remove them first so a
3139 # subsequent execution test works.
3140 rm -f $ac_outfiles conftest.*
3141
3142 cat >conftest.$ac_ext <<_ACEOF
3143 /* confdefs.h. */
3144 _ACEOF
3145 cat confdefs.h >>conftest.$ac_ext
3146 cat >>conftest.$ac_ext <<_ACEOF
3147 /* end confdefs.h. */
3148
3149 int
3150 main ()
3151 {
3152
3153 ;
3154 return 0;
3155 }
3156 _ACEOF
3157
3158 ac_clean_files_save=$ac_clean_files
3159 ac_clean_files="$ac_clean_files $ac_outfiles"
3160
3161 # The following tests should remove their output except files matching conftest.*.
3162 # Try to create an executable without -o first, disregard a.out.
3163 # It will help us diagnose broken compilers, and finding out an intuition
3164 # of exeext.
3165 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3166 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3167 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3168
3169 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3170 (eval $ac_link_default) 2>&5
3171 ac_status=$?
3172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3173 (exit $ac_status); }; then
3174 for ac_file in $ac_outfiles a.* conftest.* NO
3175 do
3176 test -f "$ac_file" || continue
3177 case $ac_file in
3178 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3179 * ) break;;
3180 esac
3181 done
3182 if test "$ac_file" = NO; then
3183 { { echo "$as_me:$LINENO: error: no output file found
3184 See \`config.log' for more details." >&5
3185 echo "$as_me: error: no output file found
3186 See \`config.log' for more details." >&2;}
3187 { (exit 1); exit 1; }; }
3188 fi
3189
3190
3191 else
3192 echo "$as_me: failed program was:" >&5
3193 sed 's/^/| /' conftest.$ac_ext >&5
3194
3195 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3196 See \`config.log' for more details." >&5
3197 echo "$as_me: error: C compiler cannot create executables
3198 See \`config.log' for more details." >&2;}
3199 { (exit 77); exit 77; }; }
3200 fi
3201
3202 { echo "$as_me:$LINENO: result: $ac_file" >&5
3203 echo "${ECHO_T}$ac_file" >&6; }
3204 # Check that the compiler produces executables we can run. If not, either
3205 # the compiler is broken, or we cross compile.
3206 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3207 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3208 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3209 # If not cross compiling, check that we can run a simple program.
3210 if test "$cross_compiling" != yes; then
3211 if { ac_try='./$ac_file'
3212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3213 (eval $ac_try) 2>&5
3214 ac_status=$?
3215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3216 (exit $ac_status); }; }; then
3217 cross_compiling=no
3218 else
3219 if test "$cross_compiling" = maybe; then
3220 cross_compiling=yes
3221 else
3222 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3223 If you meant to cross compile, use \`--host'.
3224 See \`config.log' for more details." >&5
3225 echo "$as_me: error: cannot run C compiled programs.
3226 If you meant to cross compile, use \`--host'.
3227 See \`config.log' for more details." >&2;}
3228 { (exit 1); exit 1; }; }
3229 fi
3230 fi
3231 fi
3232 { echo "$as_me:$LINENO: result: yes" >&5
3233 echo "${ECHO_T}yes" >&6; }
3234
3235 # Clean up; list also $ac_file, in case it matched a wildcard entry.
3236 rm -f $ac_outfiles $ac_file
3237
3238 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3239 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3240 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3241 echo "${ECHO_T}$cross_compiling" >&6; }
3242
3243 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3244 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3245 if test "${ac_cv_exeext+set}" = set; then
3246 echo $ECHO_N "(cached) $ECHO_C" >&6
3247 else
3248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3249 (eval $ac_link) 2>&5
3250 ac_status=$?
3251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3252 (exit $ac_status); }; then
3253 # If both `conftest.exe' and `conftest' are `present' (well, observable),
3254 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3255 # work properly (i.e., refer to `conftest.exe'), while it won't with `rm'.
3256 for ac_file in conftest.exe conftest conftest.* NO; do
3257 test -f "$ac_file" || continue
3258 case $ac_file in
3259 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3260 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3261 break;;
3262 * ) break;;
3263 esac
3264 done
3265 if test "$ac_file" = NO; then
3266 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: no output file found
3267 See \`config.log' for more details." >&5
3268 echo "$as_me: error: cannot compute suffix of executables: no output file found
3269 See \`config.log' for more details." >&2;}
3270 { (exit 1); exit 1; }; }
3271 fi
3272
3273 # Clean up; list also $ac_file, in case it matched conftest.*.
3274 rm -f $ac_outfiles $ac_file
3275
3276 else
3277 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3278 See \`config.log' for more details." >&5
3279 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3280 See \`config.log' for more details." >&2;}
3281 { (exit 1); exit 1; }; }
3282
3283 fi
3284
3285
3286 fi
3287 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3288 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3289 EXEEXT=$ac_cv_exeext
3290 ac_exeext=$EXEEXT
3291
3292
3293 ac_clean_files=$ac_clean_files_save
3294
3295 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3296 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3297 if test "${ac_cv_objext+set}" = set; then
3298 echo $ECHO_N "(cached) $ECHO_C" >&6
3299 else
3300 rm -f conftest.o conftest.obj
3301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3302 (eval $ac_compile) 2>&5
3303 ac_status=$?
3304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3305 (exit $ac_status); }; then
3306 for ac_file in conftest.o conftest.obj conftest.*; do
3307 test -f "$ac_file" || continue;
3308 case $ac_file in
3309 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3310 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3311 break;;
3312 esac
3313 done
3314 else
3315 echo "$as_me: failed program was:" >&5
3316 sed 's/^/| /' conftest.$ac_ext >&5
3317
3318 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3319 See \`config.log' for more details." >&5
3320 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3321 See \`config.log' for more details." >&2;}
3322 { (exit 1); exit 1; }; }
3323 fi
3324
3325 fi
3326 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3327 echo "${ECHO_T}$ac_cv_objext" >&6; }
3328 OBJEXT=$ac_cv_objext
3329 ac_objext=$OBJEXT
3330
3331
3332 rm -f conftest.*
3333 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3334 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3335 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3336 echo $ECHO_N "(cached) $ECHO_C" >&6
3337 else
3338 cat >conftest.$ac_ext <<_ACEOF
3339 /* confdefs.h. */
3340 _ACEOF
3341 cat confdefs.h >>conftest.$ac_ext
3342 cat >>conftest.$ac_ext <<_ACEOF
3343 /* end confdefs.h. */
3344
3345 int
3346 main ()
3347 {
3348 #ifndef __GNUC__
3349 choke me
3350 #endif
3351
3352 ;
3353 return 0;
3354 }
3355 _ACEOF
3356 rm -f conftest.$ac_objext
3357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3358 (eval $ac_compile) 2>conftest.er1
3359 ac_status=$?
3360 grep -v '^ *+' conftest.er1 >conftest.err
3361 rm -f conftest.er1
3362 cat conftest.err >&5
3363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3364 (exit $ac_status); } &&
3365 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3367 (eval $ac_try) 2>&5
3368 ac_status=$?
3369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3370 (exit $ac_status); }; } &&
3371 { ac_try='test -s conftest.$ac_objext'
3372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3373 (eval $ac_try) 2>&5
3374 ac_status=$?
3375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3376 (exit $ac_status); }; }; then
3377 ac_compiler_gnu=yes
3378 else
3379 echo "$as_me: failed program was:" >&5
3380 sed 's/^/| /' conftest.$ac_ext >&5
3381
3382 ac_compiler_gnu=no
3383 fi
3384
3385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3386 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3387
3388 fi
3389 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3390 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3391 GCC=`test $ac_compiler_gnu = yes && echo yes`
3392 ac_test_CFLAGS=${CFLAGS+set}
3393 ac_save_CFLAGS=$CFLAGS
3394 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3395 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3396 if test "${ac_cv_prog_cc_g+set}" = set; then
3397 echo $ECHO_N "(cached) $ECHO_C" >&6
3398 else
3399 ac_save_c_werror_flag=$ac_c_werror_flag
3400 ac_c_werror_flag=yes
3401 ac_cv_prog_cc_g=no
3402 CFLAGS="-g"
3403 cat >conftest.$ac_ext <<_ACEOF
3404 /* confdefs.h. */
3405 _ACEOF
3406 cat confdefs.h >>conftest.$ac_ext
3407 cat >>conftest.$ac_ext <<_ACEOF
3408 /* end confdefs.h. */
3409
3410 int
3411 main ()
3412 {
3413
3414 ;
3415 return 0;
3416 }
3417 _ACEOF
3418 rm -f conftest.$ac_objext
3419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3420 (eval $ac_compile) 2>conftest.er1
3421 ac_status=$?
3422 grep -v '^ *+' conftest.er1 >conftest.err
3423 rm -f conftest.er1
3424 cat conftest.err >&5
3425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3426 (exit $ac_status); } &&
3427 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3429 (eval $ac_try) 2>&5
3430 ac_status=$?
3431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 (exit $ac_status); }; } &&
3433 { ac_try='test -s conftest.$ac_objext'
3434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3435 (eval $ac_try) 2>&5
3436 ac_status=$?
3437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3438 (exit $ac_status); }; }; then
3439 ac_cv_prog_cc_g=yes
3440 else
3441 echo "$as_me: failed program was:" >&5
3442 sed 's/^/| /' conftest.$ac_ext >&5
3443
3444 CFLAGS=""
3445 cat >conftest.$ac_ext <<_ACEOF
3446 /* confdefs.h. */
3447 _ACEOF
3448 cat confdefs.h >>conftest.$ac_ext
3449 cat >>conftest.$ac_ext <<_ACEOF
3450 /* end confdefs.h. */
3451
3452 int
3453 main ()
3454 {
3455
3456 ;
3457 return 0;
3458 }
3459 _ACEOF
3460 rm -f conftest.$ac_objext
3461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3462 (eval $ac_compile) 2>conftest.er1
3463 ac_status=$?
3464 grep -v '^ *+' conftest.er1 >conftest.err
3465 rm -f conftest.er1
3466 cat conftest.err >&5
3467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3468 (exit $ac_status); } &&
3469 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3471 (eval $ac_try) 2>&5
3472 ac_status=$?
3473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3474 (exit $ac_status); }; } &&
3475 { ac_try='test -s conftest.$ac_objext'
3476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3477 (eval $ac_try) 2>&5
3478 ac_status=$?
3479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3480 (exit $ac_status); }; }; then
3481 :
3482 else
3483 echo "$as_me: failed program was:" >&5
3484 sed 's/^/| /' conftest.$ac_ext >&5
3485
3486 ac_c_werror_flag=$ac_save_c_werror_flag
3487 CFLAGS="-g"
3488 cat >conftest.$ac_ext <<_ACEOF
3489 /* confdefs.h. */
3490 _ACEOF
3491 cat confdefs.h >>conftest.$ac_ext
3492 cat >>conftest.$ac_ext <<_ACEOF
3493 /* end confdefs.h. */
3494
3495 int
3496 main ()
3497 {
3498
3499 ;
3500 return 0;
3501 }
3502 _ACEOF
3503 rm -f conftest.$ac_objext
3504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3505 (eval $ac_compile) 2>conftest.er1
3506 ac_status=$?
3507 grep -v '^ *+' conftest.er1 >conftest.err
3508 rm -f conftest.er1
3509 cat conftest.err >&5
3510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3511 (exit $ac_status); } &&
3512 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3514 (eval $ac_try) 2>&5
3515 ac_status=$?
3516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3517 (exit $ac_status); }; } &&
3518 { ac_try='test -s conftest.$ac_objext'
3519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3520 (eval $ac_try) 2>&5
3521 ac_status=$?
3522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3523 (exit $ac_status); }; }; then
3524 ac_cv_prog_cc_g=yes
3525 else
3526 echo "$as_me: failed program was:" >&5
3527 sed 's/^/| /' conftest.$ac_ext >&5
3528
3529
3530 fi
3531
3532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3533 fi
3534
3535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3536 fi
3537
3538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3539 ac_c_werror_flag=$ac_save_c_werror_flag
3540 fi
3541 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3542 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3543 if test "$ac_test_CFLAGS" = set; then
3544 CFLAGS=$ac_save_CFLAGS
3545 elif test $ac_cv_prog_cc_g = yes; then
3546 if test "$GCC" = yes; then
3547 CFLAGS="-g -O2"
3548 else
3549 CFLAGS="-g"
3550 fi
3551 else
3552 if test "$GCC" = yes; then
3553 CFLAGS="-O2"
3554 else
3555 CFLAGS=
3556 fi
3557 fi
3558 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3559 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3560 if test "${ac_cv_prog_cc_c89+set}" = set; then
3561 echo $ECHO_N "(cached) $ECHO_C" >&6
3562 else
3563 ac_cv_prog_cc_c89=no
3564 ac_save_CC=$CC
3565 cat >conftest.$ac_ext <<_ACEOF
3566 /* confdefs.h. */
3567 _ACEOF
3568 cat confdefs.h >>conftest.$ac_ext
3569 cat >>conftest.$ac_ext <<_ACEOF
3570 /* end confdefs.h. */
3571 #include <stdarg.h>
3572 #include <stdio.h>
3573 #include <sys/types.h>
3574 #include <sys/stat.h>
3575 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3576 struct buf { int x; };
3577 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3578 static char *e (p, i)
3579 char **p;
3580 int i;
3581 {
3582 return p[i];
3583 }
3584 static char *f (char * (*g) (char **, int), char **p, ...)
3585 {
3586 char *s;
3587 va_list v;
3588 va_start (v,p);
3589 s = g (p, va_arg (v,int));
3590 va_end (v);
3591 return s;
3592 }
3593
3594 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3595 function prototypes and stuff, but not '\xHH' hex character constants.
3596 These don't provoke an error unfortunately, instead are silently treated
3597 as 'x'. The following induces an error, until -std is added to get
3598 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3599 array size at least. It's necessary to write '\x00'==0 to get something
3600 that's true only with -std. */
3601 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3602
3603 int test (int i, double x);
3604 struct s1 {int (*f) (int a);};
3605 struct s2 {int (*f) (double a);};
3606 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3607 int argc;
3608 char **argv;
3609 int
3610 main ()
3611 {
3612 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3613 ;
3614 return 0;
3615 }
3616 _ACEOF
3617 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3618 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3619 do
3620 CC="$ac_save_CC $ac_arg"
3621 rm -f conftest.$ac_objext
3622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3623 (eval $ac_compile) 2>conftest.er1
3624 ac_status=$?
3625 grep -v '^ *+' conftest.er1 >conftest.err
3626 rm -f conftest.er1
3627 cat conftest.err >&5
3628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3629 (exit $ac_status); } &&
3630 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3632 (eval $ac_try) 2>&5
3633 ac_status=$?
3634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3635 (exit $ac_status); }; } &&
3636 { ac_try='test -s conftest.$ac_objext'
3637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3638 (eval $ac_try) 2>&5
3639 ac_status=$?
3640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3641 (exit $ac_status); }; }; then
3642 ac_cv_prog_cc_c89=$ac_arg
3643 else
3644 echo "$as_me: failed program was:" >&5
3645 sed 's/^/| /' conftest.$ac_ext >&5
3646
3647
3648 fi
3649
3650 rm -f conftest.err conftest.$ac_objext
3651 test "x$ac_cv_prog_cc_c89" != "xno" && break
3652 done
3653 rm -f conftest.$ac_ext
3654 CC=$ac_save_CC
3655
3656 fi
3657 # AC_CACHE_VAL
3658 case "x$ac_cv_prog_cc_c89" in
3659 x)
3660 { echo "$as_me:$LINENO: result: none needed" >&5
3661 echo "${ECHO_T}none needed" >&6; } ;;
3662 xno)
3663 { echo "$as_me:$LINENO: result: unsupported" >&5
3664 echo "${ECHO_T}unsupported" >&6; } ;;
3665 *)
3666 CC="$CC $ac_cv_prog_cc_c89"
3667 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3668 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3669 esac
3670
3671
3672 ac_ext=c
3673 ac_cpp='$CPP $CPPFLAGS'
3674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3677
3678 depcc="$CC" am_compiler_list=
3679
3680 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3681 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3682 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3683 echo $ECHO_N "(cached) $ECHO_C" >&6
3684 else
3685 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3686 # We make a subdir and do the tests there. Otherwise we can end up
3687 # making bogus files that we don't know about and never remove. For
3688 # instance it was reported that on HP-UX the gcc test will end up
3689 # making a dummy file named `D' -- because `-MD' means `put the output
3690 # in D'.
3691 mkdir conftest.dir
3692 # Copy depcomp to subdir because otherwise we won't find it if we're
3693 # using a relative directory.
3694 cp "$am_depcomp" conftest.dir
3695 cd conftest.dir
3696 # We will build objects and dependencies in a subdirectory because
3697 # it helps to detect inapplicable dependency modes. For instance
3698 # both Tru64's cc and ICC support -MD to output dependencies as a
3699 # side effect of compilation, but ICC will put the dependencies in
3700 # the current directory while Tru64 will put them in the object
3701 # directory.
3702 mkdir sub
3703
3704 am_cv_CC_dependencies_compiler_type=none
3705 if test "$am_compiler_list" = ""; then
3706 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3707 fi
3708 for depmode in $am_compiler_list; do
3709 # Setup a source with many dependencies, because some compilers
3710 # like to wrap large dependency lists on column 80 (with \), and
3711 # we should not choose a depcomp mode which is confused by this.
3712 #
3713 # We need to recreate these files for each test, as the compiler may
3714 # overwrite some of them when testing with obscure command lines.
3715 # This happens at least with the AIX C compiler.
3716 : > sub/conftest.c
3717 for i in 1 2 3 4 5 6; do
3718 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3719 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3720 # Solaris 8's {/usr,}/bin/sh.
3721 touch sub/conftst$i.h
3722 done
3723 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3724
3725 case $depmode in
3726 nosideeffect)
3727 # after this tag, mechanisms are not by side-effect, so they'll
3728 # only be used when explicitly requested
3729 if test "x$enable_dependency_tracking" = xyes; then
3730 continue
3731 else
3732 break
3733 fi
3734 ;;
3735 none) break ;;
3736 esac
3737 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3738 # mode. It turns out that the SunPro C++ compiler does not properly
3739 # handle `-M -o', and we need to detect this.
3740 if depmode=$depmode \
3741 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3742 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3743 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3744 >/dev/null 2>conftest.err &&
3745 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3746 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3747 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3748 # icc doesn't choke on unknown options, it will just issue warnings
3749 # or remarks (even with -Werror). So we grep stderr for any message
3750 # that says an option was ignored or not supported.
3751 # When given -MP, icc 7.0 and 7.1 complain thusly:
3752 # icc: Command line warning: ignoring option '-M'; no argument required
3753 # The diagnosis changed in icc 8.0:
3754 # icc: Command line remark: option '-MP' not supported
3755 if (grep 'ignoring option' conftest.err ||
3756 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3757 am_cv_CC_dependencies_compiler_type=$depmode
3758 break
3759 fi
3760 fi
3761 done
3762
3763 cd ..
3764 rm -rf conftest.dir
3765 else
3766 am_cv_CC_dependencies_compiler_type=none
3767 fi
3768
3769 fi
3770 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3771 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3772 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3773
3774
3775
3776 if
3777 test "x$enable_dependency_tracking" != xno \
3778 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3779 am__fastdepCC_TRUE=
3780 am__fastdepCC_FALSE='#'
3781 else
3782 am__fastdepCC_TRUE='#'
3783 am__fastdepCC_FALSE=
3784 fi
3785
3786
3787
3788 ac_ext=c
3789 ac_cpp='$CPP $CPPFLAGS'
3790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3793 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3794 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3795 # On Suns, sometimes $CPP names a directory.
3796 if test -n "$CPP" && test -d "$CPP"; then
3797 CPP=
3798 fi
3799 if test -z "$CPP"; then
3800 if test "${ac_cv_prog_CPP+set}" = set; then
3801 echo $ECHO_N "(cached) $ECHO_C" >&6
3802 else
3803 # Double quotes because CPP needs to be expanded
3804 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3805 do
3806 ac_preproc_ok=false
3807 for ac_c_preproc_warn_flag in '' yes
3808 do
3809 # Use a header file that comes with gcc, so configuring glibc
3810 # with a fresh cross-compiler works.
3811 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3812 # <limits.h> exists even on freestanding compilers.
3813 # On the NeXT, cc -E runs the code through the compiler's parser,
3814 # not just through cpp. "Syntax error" is here to catch this case.
3815 cat >conftest.$ac_ext <<_ACEOF
3816 /* confdefs.h. */
3817 _ACEOF
3818 cat confdefs.h >>conftest.$ac_ext
3819 cat >>conftest.$ac_ext <<_ACEOF
3820 /* end confdefs.h. */
3821 #ifdef __STDC__
3822 # include <limits.h>
3823 #else
3824 # include <assert.h>
3825 #endif
3826 Syntax error
3827 _ACEOF
3828 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3829 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3830 ac_status=$?
3831 grep -v '^ *+' conftest.er1 >conftest.err
3832 rm -f conftest.er1
3833 cat conftest.err >&5
3834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3835 (exit $ac_status); } >/dev/null; then
3836 if test -s conftest.err; then
3837 ac_cpp_err=$ac_c_preproc_warn_flag
3838 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3839 else
3840 ac_cpp_err=
3841 fi
3842 else
3843 ac_cpp_err=yes
3844 fi
3845 if test -z "$ac_cpp_err"; then
3846 :
3847 else
3848 echo "$as_me: failed program was:" >&5
3849 sed 's/^/| /' conftest.$ac_ext >&5
3850
3851 # Broken: fails on valid input.
3852 continue
3853 fi
3854
3855 rm -f conftest.err conftest.$ac_ext
3856
3857 # OK, works on sane cases. Now check whether nonexistent headers
3858 # can be detected and how.
3859 cat >conftest.$ac_ext <<_ACEOF
3860 /* confdefs.h. */
3861 _ACEOF
3862 cat confdefs.h >>conftest.$ac_ext
3863 cat >>conftest.$ac_ext <<_ACEOF
3864 /* end confdefs.h. */
3865 #include <ac_nonexistent.h>
3866 _ACEOF
3867 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3868 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3869 ac_status=$?
3870 grep -v '^ *+' conftest.er1 >conftest.err
3871 rm -f conftest.er1
3872 cat conftest.err >&5
3873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3874 (exit $ac_status); } >/dev/null; then
3875 if test -s conftest.err; then
3876 ac_cpp_err=$ac_c_preproc_warn_flag
3877 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3878 else
3879 ac_cpp_err=
3880 fi
3881 else
3882 ac_cpp_err=yes
3883 fi
3884 if test -z "$ac_cpp_err"; then
3885 # Broken: success on invalid input.
3886 continue
3887 else
3888 echo "$as_me: failed program was:" >&5
3889 sed 's/^/| /' conftest.$ac_ext >&5
3890
3891 # Passes both tests.
3892 ac_preproc_ok=:
3893 break
3894 fi
3895
3896 rm -f conftest.err conftest.$ac_ext
3897
3898 done
3899 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3900 rm -f conftest.err conftest.$ac_ext
3901 if $ac_preproc_ok; then
3902 break
3903 fi
3904
3905 done
3906 ac_cv_prog_CPP=$CPP
3907
3908 fi
3909 CPP=$ac_cv_prog_CPP
3910 else
3911 ac_cv_prog_CPP=$CPP
3912 fi
3913 { echo "$as_me:$LINENO: result: $CPP" >&5
3914 echo "${ECHO_T}$CPP" >&6; }
3915 ac_preproc_ok=false
3916 for ac_c_preproc_warn_flag in '' yes
3917 do
3918 # Use a header file that comes with gcc, so configuring glibc
3919 # with a fresh cross-compiler works.
3920 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3921 # <limits.h> exists even on freestanding compilers.
3922 # On the NeXT, cc -E runs the code through the compiler's parser,
3923 # not just through cpp. "Syntax error" is here to catch this case.
3924 cat >conftest.$ac_ext <<_ACEOF
3925 /* confdefs.h. */
3926 _ACEOF
3927 cat confdefs.h >>conftest.$ac_ext
3928 cat >>conftest.$ac_ext <<_ACEOF
3929 /* end confdefs.h. */
3930 #ifdef __STDC__
3931 # include <limits.h>
3932 #else
3933 # include <assert.h>
3934 #endif
3935 Syntax error
3936 _ACEOF
3937 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3938 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3939 ac_status=$?
3940 grep -v '^ *+' conftest.er1 >conftest.err
3941 rm -f conftest.er1
3942 cat conftest.err >&5
3943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3944 (exit $ac_status); } >/dev/null; then
3945 if test -s conftest.err; then
3946 ac_cpp_err=$ac_c_preproc_warn_flag
3947 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3948 else
3949 ac_cpp_err=
3950 fi
3951 else
3952 ac_cpp_err=yes
3953 fi
3954 if test -z "$ac_cpp_err"; then
3955 :
3956 else
3957 echo "$as_me: failed program was:" >&5
3958 sed 's/^/| /' conftest.$ac_ext >&5
3959
3960 # Broken: fails on valid input.
3961 continue
3962 fi
3963
3964 rm -f conftest.err conftest.$ac_ext
3965
3966 # OK, works on sane cases. Now check whether nonexistent headers
3967 # can be detected and how.
3968 cat >conftest.$ac_ext <<_ACEOF
3969 /* confdefs.h. */
3970 _ACEOF
3971 cat confdefs.h >>conftest.$ac_ext
3972 cat >>conftest.$ac_ext <<_ACEOF
3973 /* end confdefs.h. */
3974 #include <ac_nonexistent.h>
3975 _ACEOF
3976 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3977 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3978 ac_status=$?
3979 grep -v '^ *+' conftest.er1 >conftest.err
3980 rm -f conftest.er1
3981 cat conftest.err >&5
3982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3983 (exit $ac_status); } >/dev/null; then
3984 if test -s conftest.err; then
3985 ac_cpp_err=$ac_c_preproc_warn_flag
3986 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3987 else
3988 ac_cpp_err=
3989 fi
3990 else
3991 ac_cpp_err=yes
3992 fi
3993 if test -z "$ac_cpp_err"; then
3994 # Broken: success on invalid input.
3995 continue
3996 else
3997 echo "$as_me: failed program was:" >&5
3998 sed 's/^/| /' conftest.$ac_ext >&5
3999
4000 # Passes both tests.
4001 ac_preproc_ok=:
4002 break
4003 fi
4004
4005 rm -f conftest.err conftest.$ac_ext
4006
4007 done
4008 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4009 rm -f conftest.err conftest.$ac_ext
4010 if $ac_preproc_ok; then
4011 :
4012 else
4013 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4014 See \`config.log' for more details." >&5
4015 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4016 See \`config.log' for more details." >&2;}
4017 { (exit 1); exit 1; }; }
4018 fi
4019
4020 ac_ext=c
4021 ac_cpp='$CPP $CPPFLAGS'
4022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4025
4026
4027 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4028 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4029 if test "${ac_cv_path_GREP+set}" = set; then
4030 echo $ECHO_N "(cached) $ECHO_C" >&6
4031 else
4032 # Extract the first word of "grep ggrep" to use in msg output
4033 if test -z "$GREP"; then
4034 set dummy grep ggrep; ac_prog_name=$2
4035 if test "${ac_cv_path_GREP+set}" = set; then
4036 echo $ECHO_N "(cached) $ECHO_C" >&6
4037 else
4038 ac_path_GREP_found=false
4039 # Loop through the user's path and test for each of PROGNAME-LIST
4040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4041 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4042 do
4043 IFS=$as_save_IFS
4044 test -z "$as_dir" && as_dir=.
4045 for ac_prog in grep ggrep; do
4046 for ac_exec_ext in '' $ac_executable_extensions; do
4047 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4048 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
4049 # Check for GNU ac_path_GREP and select it if it is found.
4050 # Check for GNU $ac_path_GREP
4051 case `"$ac_path_GREP" --version 2>&1` in
4052 *GNU*)
4053 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4054 *)
4055 ac_count=0
4056 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4057 while :
4058 do
4059 cat "conftest.in" "conftest.in" >"conftest.tmp"
4060 mv "conftest.tmp" "conftest.in"
4061 cp "conftest.in" "conftest.nl"
4062 echo 'GREP' >> "conftest.nl"
4063 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4064 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4065 ac_count=`expr $ac_count + 1`
4066 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4067 # Best one so far, save it but keep looking for a better one
4068 ac_cv_path_GREP="$ac_path_GREP"
4069 ac_path_GREP_max=$ac_count
4070 fi
4071 # 10*(2^10) chars as input seems more than enough
4072 test $ac_count -gt 10 && break
4073 done
4074 rm -f conftest.*;;
4075 esac
4076
4077
4078 $ac_path_GREP_found && break 3
4079 done
4080 done
4081
4082 done
4083 IFS=$as_save_IFS
4084
4085
4086 fi
4087
4088 GREP="$ac_cv_path_GREP"
4089 if test -z "$GREP"; then
4090 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4091 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4092 { (exit 1); exit 1; }; }
4093 fi
4094
4095 else
4096 ac_cv_path_GREP=$GREP
4097 fi
4098
4099
4100 fi
4101 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4102 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4103 GREP="$ac_cv_path_GREP"
4104
4105
4106 { echo "$as_me:$LINENO: checking for egrep" >&5
4107 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4108 if test "${ac_cv_path_EGREP+set}" = set; then
4109 echo $ECHO_N "(cached) $ECHO_C" >&6
4110 else
4111 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4112 then ac_cv_path_EGREP="$GREP -E"
4113 else
4114 # Extract the first word of "egrep" to use in msg output
4115 if test -z "$EGREP"; then
4116 set dummy egrep; ac_prog_name=$2
4117 if test "${ac_cv_path_EGREP+set}" = set; then
4118 echo $ECHO_N "(cached) $ECHO_C" >&6
4119 else
4120 ac_path_EGREP_found=false
4121 # Loop through the user's path and test for each of PROGNAME-LIST
4122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4123 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4124 do
4125 IFS=$as_save_IFS
4126 test -z "$as_dir" && as_dir=.
4127 for ac_prog in egrep; do
4128 for ac_exec_ext in '' $ac_executable_extensions; do
4129 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4130 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
4131 # Check for GNU ac_path_EGREP and select it if it is found.
4132 # Check for GNU $ac_path_EGREP
4133 case `"$ac_path_EGREP" --version 2>&1` in
4134 *GNU*)
4135 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4136 *)
4137 ac_count=0
4138 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4139 while :
4140 do
4141 cat "conftest.in" "conftest.in" >"conftest.tmp"
4142 mv "conftest.tmp" "conftest.in"
4143 cp "conftest.in" "conftest.nl"
4144 echo 'EGREP' >> "conftest.nl"
4145 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4146 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4147 ac_count=`expr $ac_count + 1`
4148 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4149 # Best one so far, save it but keep looking for a better one
4150 ac_cv_path_EGREP="$ac_path_EGREP"
4151 ac_path_EGREP_max=$ac_count
4152 fi
4153 # 10*(2^10) chars as input seems more than enough
4154 test $ac_count -gt 10 && break
4155 done
4156 rm -f conftest.*;;
4157 esac
4158
4159
4160 $ac_path_EGREP_found && break 3
4161 done
4162 done
4163
4164 done
4165 IFS=$as_save_IFS
4166
4167
4168 fi
4169
4170 EGREP="$ac_cv_path_EGREP"
4171 if test -z "$EGREP"; then
4172 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4173 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4174 { (exit 1); exit 1; }; }
4175 fi
4176
4177 else
4178 ac_cv_path_EGREP=$EGREP
4179 fi
4180
4181
4182 fi
4183 fi
4184 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4185 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4186 EGREP="$ac_cv_path_EGREP"
4187
4188
4189 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4190 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4191 if test "${ac_cv_header_stdc+set}" = set; then
4192 echo $ECHO_N "(cached) $ECHO_C" >&6
4193 else
4194 cat >conftest.$ac_ext <<_ACEOF
4195 /* confdefs.h. */
4196 _ACEOF
4197 cat confdefs.h >>conftest.$ac_ext
4198 cat >>conftest.$ac_ext <<_ACEOF
4199 /* end confdefs.h. */
4200 #include <stdlib.h>
4201 #include <stdarg.h>
4202 #include <string.h>
4203 #include <float.h>
4204
4205 int
4206 main ()
4207 {
4208
4209 ;
4210 return 0;
4211 }
4212 _ACEOF
4213 rm -f conftest.$ac_objext
4214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4215 (eval $ac_compile) 2>conftest.er1
4216 ac_status=$?
4217 grep -v '^ *+' conftest.er1 >conftest.err
4218 rm -f conftest.er1
4219 cat conftest.err >&5
4220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4221 (exit $ac_status); } &&
4222 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4224 (eval $ac_try) 2>&5
4225 ac_status=$?
4226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4227 (exit $ac_status); }; } &&
4228 { ac_try='test -s conftest.$ac_objext'
4229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4230 (eval $ac_try) 2>&5
4231 ac_status=$?
4232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4233 (exit $ac_status); }; }; then
4234 ac_cv_header_stdc=yes
4235 else
4236 echo "$as_me: failed program was:" >&5
4237 sed 's/^/| /' conftest.$ac_ext >&5
4238
4239 ac_cv_header_stdc=no
4240 fi
4241
4242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4243
4244 if test $ac_cv_header_stdc = yes; then
4245 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4246 cat >conftest.$ac_ext <<_ACEOF
4247 /* confdefs.h. */
4248 _ACEOF
4249 cat confdefs.h >>conftest.$ac_ext
4250 cat >>conftest.$ac_ext <<_ACEOF
4251 /* end confdefs.h. */
4252 #include <string.h>
4253
4254 _ACEOF
4255 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4256 $EGREP "memchr" >/dev/null 2>&1; then
4257 :
4258 else
4259 ac_cv_header_stdc=no
4260 fi
4261 rm -f conftest*
4262
4263 fi
4264
4265 if test $ac_cv_header_stdc = yes; then
4266 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4267 cat >conftest.$ac_ext <<_ACEOF
4268 /* confdefs.h. */
4269 _ACEOF
4270 cat confdefs.h >>conftest.$ac_ext
4271 cat >>conftest.$ac_ext <<_ACEOF
4272 /* end confdefs.h. */
4273 #include <stdlib.h>
4274
4275 _ACEOF
4276 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4277 $EGREP "free" >/dev/null 2>&1; then
4278 :
4279 else
4280 ac_cv_header_stdc=no
4281 fi
4282 rm -f conftest*
4283
4284 fi
4285
4286 if test $ac_cv_header_stdc = yes; then
4287 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4288 if test "$cross_compiling" = yes; then
4289 :
4290 else
4291 cat >conftest.$ac_ext <<_ACEOF
4292 /* confdefs.h. */
4293 _ACEOF
4294 cat confdefs.h >>conftest.$ac_ext
4295 cat >>conftest.$ac_ext <<_ACEOF
4296 /* end confdefs.h. */
4297 #include <ctype.h>
4298 #include <stdlib.h>
4299 #if ((' ' & 0x0FF) == 0x020)
4300 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4301 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4302 #else
4303 # define ISLOWER(c) \
4304 (('a' <= (c) && (c) <= 'i') \
4305 || ('j' <= (c) && (c) <= 'r') \
4306 || ('s' <= (c) && (c) <= 'z'))
4307 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4308 #endif
4309
4310 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4311 int
4312 main ()
4313 {
4314 int i;
4315 for (i = 0; i < 256; i++)
4316 if (XOR (islower (i), ISLOWER (i))
4317 || toupper (i) != TOUPPER (i))
4318 return 2;
4319 return 0;
4320 }
4321 _ACEOF
4322 rm -f conftest$ac_exeext
4323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4324 (eval $ac_link) 2>&5
4325 ac_status=$?
4326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4327 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4329 (eval $ac_try) 2>&5
4330 ac_status=$?
4331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4332 (exit $ac_status); }; }; then
4333 :
4334 else
4335 echo "$as_me: program exited with status $ac_status" >&5
4336 echo "$as_me: failed program was:" >&5
4337 sed 's/^/| /' conftest.$ac_ext >&5
4338
4339 ( exit $ac_status )
4340 ac_cv_header_stdc=no
4341 fi
4342 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4343 fi
4344
4345
4346 fi
4347 fi
4348 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4349 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4350 if test $ac_cv_header_stdc = yes; then
4351
4352 cat >>confdefs.h <<\_ACEOF
4353 #define STDC_HEADERS 1
4354 _ACEOF
4355
4356 fi
4357
4358 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4369 inttypes.h stdint.h unistd.h
4370 do
4371 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4372 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4373 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4374 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4375 echo $ECHO_N "(cached) $ECHO_C" >&6
4376 else
4377 cat >conftest.$ac_ext <<_ACEOF
4378 /* confdefs.h. */
4379 _ACEOF
4380 cat confdefs.h >>conftest.$ac_ext
4381 cat >>conftest.$ac_ext <<_ACEOF
4382 /* end confdefs.h. */
4383 $ac_includes_default
4384
4385 #include <$ac_header>
4386 _ACEOF
4387 rm -f conftest.$ac_objext
4388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4389 (eval $ac_compile) 2>conftest.er1
4390 ac_status=$?
4391 grep -v '^ *+' conftest.er1 >conftest.err
4392 rm -f conftest.er1
4393 cat conftest.err >&5
4394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4395 (exit $ac_status); } &&
4396 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4398 (eval $ac_try) 2>&5
4399 ac_status=$?
4400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4401 (exit $ac_status); }; } &&
4402 { ac_try='test -s conftest.$ac_objext'
4403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4404 (eval $ac_try) 2>&5
4405 ac_status=$?
4406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4407 (exit $ac_status); }; }; then
4408 eval "$as_ac_Header=yes"
4409 else
4410 echo "$as_me: failed program was:" >&5
4411 sed 's/^/| /' conftest.$ac_ext >&5
4412
4413 eval "$as_ac_Header=no"
4414 fi
4415
4416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4417 fi
4418 ac_res=`eval echo '${'$as_ac_Header'}'`
4419 { echo "$as_me:$LINENO: result: $ac_res" >&5
4420 echo "${ECHO_T}$ac_res" >&6; }
4421 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4422 cat >>confdefs.h <<_ACEOF
4423 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4424 _ACEOF
4425
4426 fi
4427
4428 done
4429
4430
4431 # Check whether --enable-alsa was given.
4432 if test "${enable_alsa+set}" = set; then
4433 enableval=$enable_alsa; case "${enableval}" in
4434 yes) COMPILE_ALSA=yes ;;
4435 no) COMPILE_ALSA=no ;;
4436 *) COMPILE_ALSA=yes ;;
4437 esac
4438 else
4439
4440 for ac_header in alsa/asoundlib.h
4441 do
4442 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4443 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4444 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4445 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4446 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4447 echo $ECHO_N "(cached) $ECHO_C" >&6
4448 fi
4449 ac_res=`eval echo '${'$as_ac_Header'}'`
4450 { echo "$as_me:$LINENO: result: $ac_res" >&5
4451 echo "${ECHO_T}$ac_res" >&6; }
4452 else
4453 # Is the header compilable?
4454 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4455 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4456 cat >conftest.$ac_ext <<_ACEOF
4457 /* confdefs.h. */
4458 _ACEOF
4459 cat confdefs.h >>conftest.$ac_ext
4460 cat >>conftest.$ac_ext <<_ACEOF
4461 /* end confdefs.h. */
4462 $ac_includes_default
4463 #include <$ac_header>
4464 _ACEOF
4465 rm -f conftest.$ac_objext
4466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4467 (eval $ac_compile) 2>conftest.er1
4468 ac_status=$?
4469 grep -v '^ *+' conftest.er1 >conftest.err
4470 rm -f conftest.er1
4471 cat conftest.err >&5
4472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4473 (exit $ac_status); } &&
4474 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4476 (eval $ac_try) 2>&5
4477 ac_status=$?
4478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4479 (exit $ac_status); }; } &&
4480 { ac_try='test -s conftest.$ac_objext'
4481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4482 (eval $ac_try) 2>&5
4483 ac_status=$?
4484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4485 (exit $ac_status); }; }; then
4486 ac_header_compiler=yes
4487 else
4488 echo "$as_me: failed program was:" >&5
4489 sed 's/^/| /' conftest.$ac_ext >&5
4490
4491 ac_header_compiler=no
4492 fi
4493
4494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4495 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4496 echo "${ECHO_T}$ac_header_compiler" >&6; }
4497
4498 # Is the header present?
4499 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4500 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4501 cat >conftest.$ac_ext <<_ACEOF
4502 /* confdefs.h. */
4503 _ACEOF
4504 cat confdefs.h >>conftest.$ac_ext
4505 cat >>conftest.$ac_ext <<_ACEOF
4506 /* end confdefs.h. */
4507 #include <$ac_header>
4508 _ACEOF
4509 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4510 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4511 ac_status=$?
4512 grep -v '^ *+' conftest.er1 >conftest.err
4513 rm -f conftest.er1
4514 cat conftest.err >&5
4515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4516 (exit $ac_status); } >/dev/null; then
4517 if test -s conftest.err; then
4518 ac_cpp_err=$ac_c_preproc_warn_flag
4519 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4520 else
4521 ac_cpp_err=
4522 fi
4523 else
4524 ac_cpp_err=yes
4525 fi
4526 if test -z "$ac_cpp_err"; then
4527 ac_header_preproc=yes
4528 else
4529 echo "$as_me: failed program was:" >&5
4530 sed 's/^/| /' conftest.$ac_ext >&5
4531
4532 ac_header_preproc=no
4533 fi
4534
4535 rm -f conftest.err conftest.$ac_ext
4536 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4537 echo "${ECHO_T}$ac_header_preproc" >&6; }
4538
4539 # So? What about this header?
4540 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4541 yes:no: )
4542 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4543 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4544 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4545 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4546 ac_header_preproc=yes
4547 ;;
4548 no:yes:* )
4549 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4550 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4551 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4552 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4553 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4554 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4555 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4556 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4557 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4558 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4559 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4560 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4561 ( cat <<\_ASBOX
4562 ## -------------------------------- ##
4563 ## Report this to classpath@gnu.org ##
4564 ## -------------------------------- ##
4565 _ASBOX
4566 ) | sed "s/^/$as_me: WARNING: /" >&2
4567 ;;
4568 esac
4569 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4570 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4571 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4572 echo $ECHO_N "(cached) $ECHO_C" >&6
4573 else
4574 eval "$as_ac_Header=\$ac_header_preproc"
4575 fi
4576 ac_res=`eval echo '${'$as_ac_Header'}'`
4577 { echo "$as_me:$LINENO: result: $ac_res" >&5
4578 echo "${ECHO_T}$ac_res" >&6; }
4579
4580 fi
4581 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4582 cat >>confdefs.h <<_ACEOF
4583 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4584 _ACEOF
4585 { echo "$as_me:$LINENO: checking for snd_seq_open in -lasound" >&5
4586 echo $ECHO_N "checking for snd_seq_open in -lasound... $ECHO_C" >&6; }
4587 if test "${ac_cv_lib_asound_snd_seq_open+set}" = set; then
4588 echo $ECHO_N "(cached) $ECHO_C" >&6
4589 else
4590 ac_check_lib_save_LIBS=$LIBS
4591 LIBS="-lasound $LIBS"
4592 cat >conftest.$ac_ext <<_ACEOF
4593 /* confdefs.h. */
4594 _ACEOF
4595 cat confdefs.h >>conftest.$ac_ext
4596 cat >>conftest.$ac_ext <<_ACEOF
4597 /* end confdefs.h. */
4598
4599 /* Override any GCC internal prototype to avoid an error.
4600 Use char because int might match the return type of a GCC
4601 builtin and then its argument prototype would still apply. */
4602 #ifdef __cplusplus
4603 extern "C"
4604 #endif
4605 char snd_seq_open ();
4606 int
4607 main ()
4608 {
4609 return snd_seq_open ();
4610 ;
4611 return 0;
4612 }
4613 _ACEOF
4614 rm -f conftest.$ac_objext conftest$ac_exeext
4615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4616 (eval $ac_link) 2>conftest.er1
4617 ac_status=$?
4618 grep -v '^ *+' conftest.er1 >conftest.err
4619 rm -f conftest.er1
4620 cat conftest.err >&5
4621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4622 (exit $ac_status); } &&
4623 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4625 (eval $ac_try) 2>&5
4626 ac_status=$?
4627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4628 (exit $ac_status); }; } &&
4629 { ac_try='test -s conftest$ac_exeext'
4630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4631 (eval $ac_try) 2>&5
4632 ac_status=$?
4633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4634 (exit $ac_status); }; }; then
4635 ac_cv_lib_asound_snd_seq_open=yes
4636 else
4637 echo "$as_me: failed program was:" >&5
4638 sed 's/^/| /' conftest.$ac_ext >&5
4639
4640 ac_cv_lib_asound_snd_seq_open=no
4641 fi
4642
4643 rm -f conftest.err conftest.$ac_objext \
4644 conftest$ac_exeext conftest.$ac_ext
4645 LIBS=$ac_check_lib_save_LIBS
4646 fi
4647 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_seq_open" >&5
4648 echo "${ECHO_T}$ac_cv_lib_asound_snd_seq_open" >&6; }
4649 if test $ac_cv_lib_asound_snd_seq_open = yes; then
4650 COMPILE_ALSA=yes
4651 else
4652 COMPILE_ALSA=no
4653 fi
4654
4655 else
4656 COMPILE_ALSA=no
4657 fi
4658
4659 done
4660
4661 fi
4662
4663
4664
4665 if test "x${COMPILE_ALSA}" = xyes; then
4666 CREATE_ALSA_LIBRARIES_TRUE=
4667 CREATE_ALSA_LIBRARIES_FALSE='#'
4668 else
4669 CREATE_ALSA_LIBRARIES_TRUE='#'
4670 CREATE_ALSA_LIBRARIES_FALSE=
4671 fi
4672
4673
4674 # Check whether --enable-dssi was given.
4675 if test "${enable_dssi+set}" = set; then
4676 enableval=$enable_dssi; case "${enableval}" in
4677 yes) COMPILE_DSSI=yes ;;
4678 no) COMPILE_DSSI=no ;;
4679 *) COMPILE_DSSI=yes ;;
4680 esac
4681 else
4682
4683 for ac_header in dssi.h
4684 do
4685 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4686 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4687 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4688 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4689 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4690 echo $ECHO_N "(cached) $ECHO_C" >&6
4691 fi
4692 ac_res=`eval echo '${'$as_ac_Header'}'`
4693 { echo "$as_me:$LINENO: result: $ac_res" >&5
4694 echo "${ECHO_T}$ac_res" >&6; }
4695 else
4696 # Is the header compilable?
4697 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4698 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4699 cat >conftest.$ac_ext <<_ACEOF
4700 /* confdefs.h. */
4701 _ACEOF
4702 cat confdefs.h >>conftest.$ac_ext
4703 cat >>conftest.$ac_ext <<_ACEOF
4704 /* end confdefs.h. */
4705 $ac_includes_default
4706 #include <$ac_header>
4707 _ACEOF
4708 rm -f conftest.$ac_objext
4709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4710 (eval $ac_compile) 2>conftest.er1
4711 ac_status=$?
4712 grep -v '^ *+' conftest.er1 >conftest.err
4713 rm -f conftest.er1
4714 cat conftest.err >&5
4715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4716 (exit $ac_status); } &&
4717 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4719 (eval $ac_try) 2>&5
4720 ac_status=$?
4721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4722 (exit $ac_status); }; } &&
4723 { ac_try='test -s conftest.$ac_objext'
4724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4725 (eval $ac_try) 2>&5
4726 ac_status=$?
4727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4728 (exit $ac_status); }; }; then
4729 ac_header_compiler=yes
4730 else
4731 echo "$as_me: failed program was:" >&5
4732 sed 's/^/| /' conftest.$ac_ext >&5
4733
4734 ac_header_compiler=no
4735 fi
4736
4737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4738 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4739 echo "${ECHO_T}$ac_header_compiler" >&6; }
4740
4741 # Is the header present?
4742 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4743 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4744 cat >conftest.$ac_ext <<_ACEOF
4745 /* confdefs.h. */
4746 _ACEOF
4747 cat confdefs.h >>conftest.$ac_ext
4748 cat >>conftest.$ac_ext <<_ACEOF
4749 /* end confdefs.h. */
4750 #include <$ac_header>
4751 _ACEOF
4752 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4753 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4754 ac_status=$?
4755 grep -v '^ *+' conftest.er1 >conftest.err
4756 rm -f conftest.er1
4757 cat conftest.err >&5
4758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4759 (exit $ac_status); } >/dev/null; then
4760 if test -s conftest.err; then
4761 ac_cpp_err=$ac_c_preproc_warn_flag
4762 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4763 else
4764 ac_cpp_err=
4765 fi
4766 else
4767 ac_cpp_err=yes
4768 fi
4769 if test -z "$ac_cpp_err"; then
4770 ac_header_preproc=yes
4771 else
4772 echo "$as_me: failed program was:" >&5
4773 sed 's/^/| /' conftest.$ac_ext >&5
4774
4775 ac_header_preproc=no
4776 fi
4777
4778 rm -f conftest.err conftest.$ac_ext
4779 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4780 echo "${ECHO_T}$ac_header_preproc" >&6; }
4781
4782 # So? What about this header?
4783 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4784 yes:no: )
4785 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4786 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4787 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4788 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4789 ac_header_preproc=yes
4790 ;;
4791 no:yes:* )
4792 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4793 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4794 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4795 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4796 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4797 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4798 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4799 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4800 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4801 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4802 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4803 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4804 ( cat <<\_ASBOX
4805 ## -------------------------------- ##
4806 ## Report this to classpath@gnu.org ##
4807 ## -------------------------------- ##
4808 _ASBOX
4809 ) | sed "s/^/$as_me: WARNING: /" >&2
4810 ;;
4811 esac
4812 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4813 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4814 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4815 echo $ECHO_N "(cached) $ECHO_C" >&6
4816 else
4817 eval "$as_ac_Header=\$ac_header_preproc"
4818 fi
4819 ac_res=`eval echo '${'$as_ac_Header'}'`
4820 { echo "$as_me:$LINENO: result: $ac_res" >&5
4821 echo "${ECHO_T}$ac_res" >&6; }
4822
4823 fi
4824 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4825 cat >>confdefs.h <<_ACEOF
4826 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4827 _ACEOF
4828 COMPILE_DSSI=yes
4829 else
4830 COMPILE_DSSI=no
4831 fi
4832
4833 done
4834
4835 fi
4836
4837
4838
4839 if test "x${COMPILE_DSSI}" = xyes; then
4840 CREATE_DSSI_LIBRARIES_TRUE=
4841 CREATE_DSSI_LIBRARIES_FALSE='#'
4842 else
4843 CREATE_DSSI_LIBRARIES_TRUE='#'
4844 CREATE_DSSI_LIBRARIES_FALSE=
4845 fi
4846
4847
4848 # Check whether --enable-gtk-peer was given.
4849 if test "${enable_gtk_peer+set}" = set; then
4850 enableval=$enable_gtk_peer; case "${enableval}" in
4851 yes) COMPILE_GTK_PEER=yes ;;
4852 no) COMPILE_GTK_PEER=no ;;
4853 *) COMPILE_GTK_PEER=yes ;;
4854 esac
4855 else
4856 COMPILE_GTK_PEER=yes
4857 fi
4858
4859
4860
4861 if test "x${COMPILE_GTK_PEER}" = xyes; then
4862 CREATE_GTK_PEER_LIBRARIES_TRUE=
4863 CREATE_GTK_PEER_LIBRARIES_FALSE='#'
4864 else
4865 CREATE_GTK_PEER_LIBRARIES_TRUE='#'
4866 CREATE_GTK_PEER_LIBRARIES_FALSE=
4867 fi
4868
4869
4870 # Check whether --enable-gtk-peers was given.
4871 if test "${enable_gtk_peers+set}" = set; then
4872 enableval=$enable_gtk_peers; { { echo "$as_me:$LINENO: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&5
4873 echo "$as_me: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&2;}
4874 { (exit 1); exit 1; }; }
4875 fi
4876
4877
4878 # Check whether --enable-gtk-cairo was given.
4879 if test "${enable_gtk_cairo+set}" = set; then
4880 enableval=$enable_gtk_cairo; case "${enableval}" in
4881 yes) GTK_CAIRO_ENABLED=true ;;
4882 no) GTK_CAIRO_ENABLED=false ;;
4883 *) GTK_CAIRO_ENABLED=true ;;
4884 esac
4885 else
4886 GTK_CAIRO_ENABLED=false
4887 fi
4888
4889
4890 if test "x${GTK_CAIRO_ENABLED}" = xtrue; then
4891
4892 cat >>confdefs.h <<\_ACEOF
4893 #define GTK_CAIRO 1
4894 _ACEOF
4895
4896 fi
4897
4898
4899 if test "x${GTK_CAIRO_ENABLED}" = xtrue; then
4900 GTK_CAIRO_TRUE=
4901 GTK_CAIRO_FALSE='#'
4902 else
4903 GTK_CAIRO_TRUE='#'
4904 GTK_CAIRO_FALSE=
4905 fi
4906
4907
4908 # Check whether --enable-qt-peer was given.
4909 if test "${enable_qt_peer+set}" = set; then
4910 enableval=$enable_qt_peer; case "${enableval}" in
4911 yes) COMPILE_QT_PEER=yes ;;
4912 no) COMPILE_QT_PEER=no ;;
4913 *) COMPILE_QT_PEER=yes ;;
4914 esac
4915 else
4916 COMPILE_QT_PEER=no
4917 fi
4918
4919
4920
4921 if test "x${COMPILE_QT_PEER}" = xyes; then
4922 CREATE_QT_PEER_LIBRARIES_TRUE=
4923 CREATE_QT_PEER_LIBRARIES_FALSE='#'
4924 else
4925 CREATE_QT_PEER_LIBRARIES_TRUE='#'
4926 CREATE_QT_PEER_LIBRARIES_FALSE=
4927 fi
4928
4929
4930
4931
4932 # Check whether --with-native-libdir was given.
4933 if test "${with_native_libdir+set}" = set; then
4934 withval=$with_native_libdir;
4935 nativeexeclibdir=${withval}
4936
4937 else
4938
4939 nativeexeclibdir='${libdir}/${PACKAGE}'
4940
4941 fi
4942
4943
4944
4945
4946
4947 # Check whether --with-glibj-dir was given.
4948 if test "${with_glibj_dir+set}" = set; then
4949 withval=$with_glibj_dir;
4950 glibjdir=${withval}
4951
4952 else
4953
4954 glibjdir='${datadir}/${PACKAGE}'
4955
4956 fi
4957
4958
4959
4960
4961 # Check whether --enable-regen-headers was given.
4962 if test "${enable_regen_headers+set}" = set; then
4963 enableval=$enable_regen_headers; case "${enableval}" in
4964 yes) REGENERATE_JNI_HEADERS=yes ;;
4965 no) REGENERATE_JNI_HEADERS=no ;;
4966 *) REGENERATE_JNI_HEADERS=no ;;
4967 esac
4968 else
4969 REGENERATE_JNI_HEADERS=no
4970 fi
4971
4972
4973
4974 if test "x${REGENERATE_JNI_HEADERS}" = xyes; then
4975 CREATE_JNI_HEADERS_TRUE=
4976 CREATE_JNI_HEADERS_FALSE='#'
4977 else
4978 CREATE_JNI_HEADERS_TRUE='#'
4979 CREATE_JNI_HEADERS_FALSE=
4980 fi
4981
4982
4983 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4984 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4985 LN_S=$as_ln_s
4986 if test "$LN_S" = "ln -s"; then
4987 { echo "$as_me:$LINENO: result: yes" >&5
4988 echo "${ECHO_T}yes" >&6; }
4989 else
4990 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4991 echo "${ECHO_T}no, using $LN_S" >&6; }
4992 fi
4993
4994 # Find a good install program. We prefer a C program (faster),
4995 # so one script is as good as another. But avoid the broken or
4996 # incompatible versions:
4997 # SysV /etc/install, /usr/sbin/install
4998 # SunOS /usr/etc/install
4999 # IRIX /sbin/install
5000 # AIX /bin/install
5001 # AmigaOS /C/install, which installs bootblocks on floppy discs
5002 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5003 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5004 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5005 # OS/2's system install, which has a completely different semantic
5006 # ./install, which can be erroneously created by make from ./install.sh.
5007 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5008 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5009 if test -z "$INSTALL"; then
5010 if test "${ac_cv_path_install+set}" = set; then
5011 echo $ECHO_N "(cached) $ECHO_C" >&6
5012 else
5013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5014 for as_dir in $PATH
5015 do
5016 IFS=$as_save_IFS
5017 test -z "$as_dir" && as_dir=.
5018 # Account for people who put trailing slashes in PATH elements.
5019 case $as_dir/ in
5020 ./ | .// | /cC/* | \
5021 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5022 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5023 /usr/ucb/* ) ;;
5024 *)
5025 # OSF1 and SCO ODT 3.0 have their own names for install.
5026 # Don't use installbsd from OSF since it installs stuff as root
5027 # by default.
5028 for ac_prog in ginstall scoinst install; do
5029 for ac_exec_ext in '' $ac_executable_extensions; do
5030 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
5031 if test $ac_prog = install &&
5032 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5033 # AIX install. It has an incompatible calling convention.
5034 :
5035 elif test $ac_prog = install &&
5036 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5037 # program-specific install script used by HP pwplus--don't use.
5038 :
5039 else
5040 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5041 break 3
5042 fi
5043 fi
5044 done
5045 done
5046 ;;
5047 esac
5048 done
5049 IFS=$as_save_IFS
5050
5051
5052 fi
5053 if test "${ac_cv_path_install+set}" = set; then
5054 INSTALL=$ac_cv_path_install
5055 else
5056 # As a last resort, use the slow shell script. Don't cache a
5057 # value for INSTALL within a source directory, because that will
5058 # break other packages using the cache if that directory is
5059 # removed, or if the value is a relative name.
5060 INSTALL=$ac_install_sh
5061 fi
5062 fi
5063 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5064 echo "${ECHO_T}$INSTALL" >&6; }
5065
5066 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5067 # It thinks the first close brace ends the variable substitution.
5068 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5069
5070 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5071
5072 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5073
5074
5075
5076 # Check whether --enable-static was given.
5077 if test "${enable_static+set}" = set; then
5078 enableval=$enable_static; p=${PACKAGE-default}
5079 case $enableval in
5080 yes) enable_static=yes ;;
5081 no) enable_static=no ;;
5082 *)
5083 enable_static=no
5084 # Look at the argument we got. We use all the common list separators.
5085 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
5086 for pkg in $enableval; do
5087 if test "X$pkg" = "X$p"; then
5088 enable_static=yes
5089 fi
5090 done
5091 IFS="$ac_save_ifs"
5092 ;;
5093 esac
5094 else
5095 enable_static=no
5096 fi
5097
5098 # Check whether --enable-shared was given.
5099 if test "${enable_shared+set}" = set; then
5100 enableval=$enable_shared; p=${PACKAGE-default}
5101 case $enableval in
5102 yes) enable_shared=yes ;;
5103 no) enable_shared=no ;;
5104 *)
5105 enable_shared=no
5106 # Look at the argument we got. We use all the common list separators.
5107 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
5108 for pkg in $enableval; do
5109 if test "X$pkg" = "X$p"; then
5110 enable_shared=yes
5111 fi
5112 done
5113 IFS="$ac_save_ifs"
5114 ;;
5115 esac
5116 else
5117 enable_shared=yes
5118 fi
5119
5120 # Check whether --enable-fast-install was given.
5121 if test "${enable_fast_install+set}" = set; then
5122 enableval=$enable_fast_install; p=${PACKAGE-default}
5123 case $enableval in
5124 yes) enable_fast_install=yes ;;
5125 no) enable_fast_install=no ;;
5126 *)
5127 enable_fast_install=no
5128 # Look at the argument we got. We use all the common list separators.
5129 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
5130 for pkg in $enableval; do
5131 if test "X$pkg" = "X$p"; then
5132 enable_fast_install=yes
5133 fi
5134 done
5135 IFS="$ac_save_ifs"
5136 ;;
5137 esac
5138 else
5139 enable_fast_install=yes
5140 fi
5141
5142
5143 # Check whether --with-gnu-ld was given.
5144 if test "${with_gnu_ld+set}" = set; then
5145 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5146 else
5147 with_gnu_ld=no
5148 fi
5149
5150 ac_prog=ld
5151 if test "$GCC" = yes; then
5152 # Check if gcc -print-prog-name=ld gives a path.
5153 { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
5154 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
5155 case $host in
5156 *-*-mingw*)
5157 # gcc leaves a trailing carriage return which upsets mingw
5158 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5159 *)
5160 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5161 esac
5162 case $ac_prog in
5163 # Accept absolute paths.
5164 [\\/]* | [A-Za-z]:[\\/]*)
5165 re_direlt='/[^/][^/]*/\.\./'
5166 # Canonicalize the path of ld
5167 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
5168 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
5169 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
5170 done
5171 test -z "$LD" && LD="$ac_prog"
5172 ;;
5173 "")
5174 # If it fails, then pretend we aren't using GCC.
5175 ac_prog=ld
5176 ;;
5177 *)
5178 # If it is relative, then search for the first ld in PATH.
5179 with_gnu_ld=unknown
5180 ;;
5181 esac
5182 elif test "$with_gnu_ld" = yes; then
5183 { echo "$as_me:$LINENO: checking for GNU ld" >&5
5184 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
5185 else
5186 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5187 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
5188 fi
5189 if test "${lt_cv_path_LD+set}" = set; then
5190 echo $ECHO_N "(cached) $ECHO_C" >&6
5191 else
5192 if test -z "$LD"; then
5193 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5194 for ac_dir in $PATH; do
5195 test -z "$ac_dir" && ac_dir=.
5196 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5197 lt_cv_path_LD="$ac_dir/$ac_prog"
5198 # Check to see if the program is GNU ld. I'd rather use --version,
5199 # but apparently some GNU ld's only accept -v.
5200 # Break only if it was the GNU/non-GNU ld that we prefer.
5201 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
5202 test "$with_gnu_ld" != no && break
5203 else
5204 test "$with_gnu_ld" != yes && break
5205 fi
5206 fi
5207 done
5208 IFS="$ac_save_ifs"
5209 else
5210 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5211 fi
5212 fi
5213
5214 LD="$lt_cv_path_LD"
5215 if test -n "$LD"; then
5216 { echo "$as_me:$LINENO: result: $LD" >&5
5217 echo "${ECHO_T}$LD" >&6; }
5218 else
5219 { echo "$as_me:$LINENO: result: no" >&5
5220 echo "${ECHO_T}no" >&6; }
5221 fi
5222 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5223 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5224 { (exit 1); exit 1; }; }
5225 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5226 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
5227 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5228 echo $ECHO_N "(cached) $ECHO_C" >&6
5229 else
5230 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5231 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
5232 lt_cv_prog_gnu_ld=yes
5233 else
5234 lt_cv_prog_gnu_ld=no
5235 fi
5236 fi
5237 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5238 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
5239 with_gnu_ld=$lt_cv_prog_gnu_ld
5240
5241
5242 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5243 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
5244 if test "${lt_cv_ld_reload_flag+set}" = set; then
5245 echo $ECHO_N "(cached) $ECHO_C" >&6
5246 else
5247 lt_cv_ld_reload_flag='-r'
5248 fi
5249 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5250 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
5251 reload_flag=$lt_cv_ld_reload_flag
5252 test -n "$reload_flag" && reload_flag=" $reload_flag"
5253
5254 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5255 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
5256 if test "${lt_cv_path_NM+set}" = set; then
5257 echo $ECHO_N "(cached) $ECHO_C" >&6
5258 else
5259 if test -n "$NM"; then
5260 # Let the user override the test.
5261 lt_cv_path_NM="$NM"
5262 else
5263 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5264 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
5265 test -z "$ac_dir" && ac_dir=.
5266 tmp_nm=$ac_dir/${ac_tool_prefix}nm
5267 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
5268 # Check to see if the nm accepts a BSD-compat flag.
5269 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5270 # nm: unknown option "B" ignored
5271 # Tru64's nm complains that /dev/null is an invalid object file
5272 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
5273 lt_cv_path_NM="$tmp_nm -B"
5274 break
5275 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
5276 lt_cv_path_NM="$tmp_nm -p"
5277 break
5278 else
5279 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5280 continue # so that we can try to find one that supports BSD flags
5281 fi
5282 fi
5283 done
5284 IFS="$ac_save_ifs"
5285 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
5286 fi
5287 fi
5288
5289 NM="$lt_cv_path_NM"
5290 { echo "$as_me:$LINENO: result: $NM" >&5
5291 echo "${ECHO_T}$NM" >&6; }
5292
5293 { echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
5294 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6; }
5295 if test "${lt_cv_deplibs_check_method+set}" = set; then
5296 echo $ECHO_N "(cached) $ECHO_C" >&6
5297 else
5298 lt_cv_file_magic_cmd='$MAGIC_CMD'
5299 lt_cv_file_magic_test_file=
5300 lt_cv_deplibs_check_method='unknown'
5301 # Need to set the preceding variable on all platforms that support
5302 # interlibrary dependencies.
5303 # 'none' -- dependencies not supported.
5304 # `unknown' -- same as none, but documents that we really don't know.
5305 # 'pass_all' -- all dependencies passed with no checks.
5306 # 'test_compile' -- check by making test program.
5307 # 'file_magic [regex]' -- check by looking for files in library path
5308 # which responds to the $file_magic_cmd with a given egrep regex.
5309 # If you have `file' or equivalent on your system and you're not sure
5310 # whether `pass_all' will *always* work, you probably want this one.
5311
5312 case $host_os in
5313 aix*)
5314 lt_cv_deplibs_check_method=pass_all
5315 ;;
5316
5317 beos*)
5318 lt_cv_deplibs_check_method=pass_all
5319 ;;
5320
5321 bsdi4*)
5322 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5323 lt_cv_file_magic_cmd='/usr/bin/file -L'
5324 lt_cv_file_magic_test_file=/shlib/libc.so
5325 ;;
5326
5327 cygwin* | mingw* |pw32*)
5328 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5329 lt_cv_file_magic_cmd='$OBJDUMP -f'
5330 ;;
5331
5332 darwin* | rhapsody*)
5333 # this will be overwritten by pass_all, but leave it in just in case
5334 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
5335 lt_cv_file_magic_cmd='/usr/bin/file -L'
5336 case "$host_os" in
5337 rhapsody* | darwin1.012)
5338 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
5339 ;;
5340 *) # Darwin 1.3 on
5341 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
5342 ;;
5343 esac
5344 lt_cv_deplibs_check_method=pass_all
5345 ;;
5346
5347 freebsd* | kfreebsd*-gnu)
5348 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5349 case $host_cpu in
5350 i*86 )
5351 # Not sure whether the presence of OpenBSD here was a mistake.
5352 # Let's accept both of them until this is cleared up.
5353 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
5354 lt_cv_file_magic_cmd=/usr/bin/file
5355 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5356 ;;
5357 esac
5358 else
5359 lt_cv_deplibs_check_method=pass_all
5360 fi
5361 ;;
5362
5363 gnu*)
5364 lt_cv_deplibs_check_method=pass_all
5365 ;;
5366
5367 hpux10.20*|hpux11*)
5368 case $host_cpu in
5369 hppa*)
5370 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5371 lt_cv_file_magic_cmd=/usr/bin/file
5372 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5373 ;;
5374 ia64*)
5375 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5376 lt_cv_file_magic_cmd=/usr/bin/file
5377 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5378 ;;
5379 esac
5380 ;;
5381
5382 irix5* | irix6*)
5383 case $host_os in
5384 irix5*)
5385 # this will be overridden with pass_all, but let us keep it just in case
5386 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
5387 ;;
5388 *)
5389 case $LD in
5390 *-32|*"-32 ") libmagic=32-bit;;
5391 *-n32|*"-n32 ") libmagic=N32;;
5392 *-64|*"-64 ") libmagic=64-bit;;
5393 *) libmagic=never-match;;
5394 esac
5395 # this will be overridden with pass_all, but let us keep it just in case
5396 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
5397 ;;
5398 esac
5399 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
5400 lt_cv_deplibs_check_method=pass_all
5401 ;;
5402
5403 # This must be Linux ELF.
5404 linux-gnu*)
5405 lt_cv_deplibs_check_method=pass_all
5406 ;;
5407
5408 netbsd* | knetbsd*-gnu)
5409 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5410 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
5411 else
5412 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
5413 fi
5414 ;;
5415
5416 newsos6)
5417 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5418 lt_cv_file_magic_cmd=/usr/bin/file
5419 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5420 ;;
5421
5422 osf3* | osf4* | osf5*)
5423 # this will be overridden with pass_all, but let us keep it just in case
5424 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
5425 lt_cv_file_magic_test_file=/shlib/libc.so
5426 lt_cv_deplibs_check_method=pass_all
5427 ;;
5428
5429 sco3.2v5*)
5430 lt_cv_deplibs_check_method=pass_all
5431 ;;
5432
5433 solaris*)
5434 lt_cv_deplibs_check_method=pass_all
5435 lt_cv_file_magic_test_file=/lib/libc.so
5436 ;;
5437
5438 sysv5uw[78]* | sysv4*uw2*)
5439 lt_cv_deplibs_check_method=pass_all
5440 ;;
5441
5442 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
5443 case $host_vendor in
5444 ncr)
5445 lt_cv_deplibs_check_method=pass_all
5446 ;;
5447 motorola)
5448 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]'
5449 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5450 ;;
5451 esac
5452 ;;
5453 esac
5454
5455 fi
5456 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5457 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
5458 file_magic_cmd=$lt_cv_file_magic_cmd
5459 deplibs_check_method=$lt_cv_deplibs_check_method
5460
5461
5462
5463
5464 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5465
5466 # find the maximum length of command line arguments
5467 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5468 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
5469 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5470 echo $ECHO_N "(cached) $ECHO_C" >&6
5471 else
5472 i=0
5473 teststring="ABCD"
5474
5475 case $build_os in
5476 msdosdjgpp*)
5477 # On DJGPP, this test can blow up pretty badly due to problems in libc
5478 # (any single argument exceeding 2000 bytes causes a buffer overrun
5479 # during glob expansion). Even if it were fixed, the result of this
5480 # check would be larger than it should be.
5481 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5482 ;;
5483
5484 cygwin* | mingw*)
5485 # On Win9x/ME, this test blows up -- it succeeds, but takes
5486 # about 5 minutes as the teststring grows exponentially.
5487 # Worse, since 9x/ME are not pre-emptively multitasking,
5488 # you end up with a "frozen" computer, even though with patience
5489 # the test eventually succeeds (with a max line length of 256k).
5490 # Instead, let's just punt: use the minimum linelength reported by
5491 # all of the supported platforms: 8192 (on NT/2K/XP).
5492 lt_cv_sys_max_cmd_len=8192;
5493 ;;
5494
5495 amigaos*)
5496 # On AmigaOS with pdksh, this test takes hours, literally.
5497 # So we just punt and use a minimum line length of 8192.
5498 lt_cv_sys_max_cmd_len=8192;
5499 ;;
5500
5501 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5502 # This has been around since 386BSD, at least. Likely further.
5503 if test -x /sbin/sysctl; then
5504 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5505 elif test -x /usr/sbin/sysctl; then
5506 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5507 else
5508 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
5509 fi
5510 # And add a safety zone
5511 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5512 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5513 ;;
5514 esac
5515
5516 fi
5517
5518 if test -n "$lt_cv_sys_max_cmd_len" ; then
5519 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5520 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
5521 else
5522 { echo "$as_me:$LINENO: result: none" >&5
5523 echo "${ECHO_T}none" >&6; }
5524 fi
5525
5526
5527 # Only perform the check for file, if the check method requires it
5528 case $deplibs_check_method in
5529 file_magic*)
5530 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5531 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5532 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
5533 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5534 echo $ECHO_N "(cached) $ECHO_C" >&6
5535 else
5536 case $MAGIC_CMD in
5537 /*)
5538 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5539 ;;
5540 ?:/*)
5541 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
5542 ;;
5543 *)
5544 ac_save_MAGIC_CMD="$MAGIC_CMD"
5545 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
5546 ac_dummy="/usr/bin:$PATH"
5547 for ac_dir in $ac_dummy; do
5548 test -z "$ac_dir" && ac_dir=.
5549 if test -f $ac_dir/${ac_tool_prefix}file; then
5550 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
5551 if test -n "$file_magic_test_file"; then
5552 case $deplibs_check_method in
5553 "file_magic "*)
5554 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5555 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5556 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5557 egrep "$file_magic_regex" > /dev/null; then
5558 :
5559 else
5560 cat <<EOF 1>&2
5561
5562 *** Warning: the command libtool uses to detect shared libraries,
5563 *** $file_magic_cmd, produces output that libtool cannot recognize.
5564 *** The result is that libtool may fail to recognize shared libraries
5565 *** as such. This will affect the creation of libtool libraries that
5566 *** depend on shared libraries, but programs linked with such libtool
5567 *** libraries will work regardless of this problem. Nevertheless, you
5568 *** may want to report the problem to your system manager and/or to
5569 *** bug-libtool@gnu.org
5570
5571 EOF
5572 fi ;;
5573 esac
5574 fi
5575 break
5576 fi
5577 done
5578 IFS="$ac_save_ifs"
5579 MAGIC_CMD="$ac_save_MAGIC_CMD"
5580 ;;
5581 esac
5582 fi
5583
5584 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5585 if test -n "$MAGIC_CMD"; then
5586 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5587 echo "${ECHO_T}$MAGIC_CMD" >&6; }
5588 else
5589 { echo "$as_me:$LINENO: result: no" >&5
5590 echo "${ECHO_T}no" >&6; }
5591 fi
5592
5593 if test -z "$lt_cv_path_MAGIC_CMD"; then
5594 if test -n "$ac_tool_prefix"; then
5595 { echo "$as_me:$LINENO: checking for file" >&5
5596 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
5597 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5598 echo $ECHO_N "(cached) $ECHO_C" >&6
5599 else
5600 case $MAGIC_CMD in
5601 /*)
5602 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5603 ;;
5604 ?:/*)
5605 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
5606 ;;
5607 *)
5608 ac_save_MAGIC_CMD="$MAGIC_CMD"
5609 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
5610 ac_dummy="/usr/bin:$PATH"
5611 for ac_dir in $ac_dummy; do
5612 test -z "$ac_dir" && ac_dir=.
5613 if test -f $ac_dir/file; then
5614 lt_cv_path_MAGIC_CMD="$ac_dir/file"
5615 if test -n "$file_magic_test_file"; then
5616 case $deplibs_check_method in
5617 "file_magic "*)
5618 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5619 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5620 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5621 egrep "$file_magic_regex" > /dev/null; then
5622 :
5623 else
5624 cat <<EOF 1>&2
5625
5626 *** Warning: the command libtool uses to detect shared libraries,
5627 *** $file_magic_cmd, produces output that libtool cannot recognize.
5628 *** The result is that libtool may fail to recognize shared libraries
5629 *** as such. This will affect the creation of libtool libraries that
5630 *** depend on shared libraries, but programs linked with such libtool
5631 *** libraries will work regardless of this problem. Nevertheless, you
5632 *** may want to report the problem to your system manager and/or to
5633 *** bug-libtool@gnu.org
5634
5635 EOF
5636 fi ;;
5637 esac
5638 fi
5639 break
5640 fi
5641 done
5642 IFS="$ac_save_ifs"
5643 MAGIC_CMD="$ac_save_MAGIC_CMD"
5644 ;;
5645 esac
5646 fi
5647
5648 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5649 if test -n "$MAGIC_CMD"; then
5650 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5651 echo "${ECHO_T}$MAGIC_CMD" >&6; }
5652 else
5653 { echo "$as_me:$LINENO: result: no" >&5
5654 echo "${ECHO_T}no" >&6; }
5655 fi
5656
5657 else
5658 MAGIC_CMD=:
5659 fi
5660 fi
5661
5662 fi
5663 ;;
5664 esac
5665
5666 if test -n "$ac_tool_prefix"; then
5667 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5668 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5669 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5671 if test "${ac_cv_prog_RANLIB+set}" = set; then
5672 echo $ECHO_N "(cached) $ECHO_C" >&6
5673 else
5674 if test -n "$RANLIB"; then
5675 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5676 else
5677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5678 for as_dir in $PATH
5679 do
5680 IFS=$as_save_IFS
5681 test -z "$as_dir" && as_dir=.
5682 for ac_exec_ext in '' $ac_executable_extensions; do
5683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5684 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5686 break 2
5687 fi
5688 done
5689 done
5690 IFS=$as_save_IFS
5691
5692 fi
5693 fi
5694 RANLIB=$ac_cv_prog_RANLIB
5695 if test -n "$RANLIB"; then
5696 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5697 echo "${ECHO_T}$RANLIB" >&6; }
5698 else
5699 { echo "$as_me:$LINENO: result: no" >&5
5700 echo "${ECHO_T}no" >&6; }
5701 fi
5702
5703
5704 fi
5705 if test -z "$ac_cv_prog_RANLIB"; then
5706 ac_ct_RANLIB=$RANLIB
5707 # Extract the first word of "ranlib", so it can be a program name with args.
5708 set dummy ranlib; ac_word=$2
5709 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5711 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5712 echo $ECHO_N "(cached) $ECHO_C" >&6
5713 else
5714 if test -n "$ac_ct_RANLIB"; then
5715 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5716 else
5717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5718 for as_dir in $PATH
5719 do
5720 IFS=$as_save_IFS
5721 test -z "$as_dir" && as_dir=.
5722 for ac_exec_ext in '' $ac_executable_extensions; do
5723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5724 ac_cv_prog_ac_ct_RANLIB="ranlib"
5725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5726 break 2
5727 fi
5728 done
5729 done
5730 IFS=$as_save_IFS
5731
5732 fi
5733 fi
5734 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5735 if test -n "$ac_ct_RANLIB"; then
5736 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5737 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5738 else
5739 { echo "$as_me:$LINENO: result: no" >&5
5740 echo "${ECHO_T}no" >&6; }
5741 fi
5742
5743 if test "x$ac_ct_RANLIB" = x; then
5744 RANLIB=":"
5745 else
5746 case $cross_compiling:$ac_tool_warned in
5747 yes:)
5748 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5749 whose name does not start with the host triplet. If you think this
5750 configuration is useful to you, please write to autoconf@gnu.org." >&5
5751 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5752 whose name does not start with the host triplet. If you think this
5753 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5754 ac_tool_warned=yes ;;
5755 esac
5756 RANLIB=$ac_ct_RANLIB
5757 fi
5758 else
5759 RANLIB="$ac_cv_prog_RANLIB"
5760 fi
5761
5762 if test -n "$ac_tool_prefix"; then
5763 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5764 set dummy ${ac_tool_prefix}strip; ac_word=$2
5765 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5767 if test "${ac_cv_prog_STRIP+set}" = set; then
5768 echo $ECHO_N "(cached) $ECHO_C" >&6
5769 else
5770 if test -n "$STRIP"; then
5771 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5772 else
5773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5774 for as_dir in $PATH
5775 do
5776 IFS=$as_save_IFS
5777 test -z "$as_dir" && as_dir=.
5778 for ac_exec_ext in '' $ac_executable_extensions; do
5779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5780 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5782 break 2
5783 fi
5784 done
5785 done
5786 IFS=$as_save_IFS
5787
5788 fi
5789 fi
5790 STRIP=$ac_cv_prog_STRIP
5791 if test -n "$STRIP"; then
5792 { echo "$as_me:$LINENO: result: $STRIP" >&5
5793 echo "${ECHO_T}$STRIP" >&6; }
5794 else
5795 { echo "$as_me:$LINENO: result: no" >&5
5796 echo "${ECHO_T}no" >&6; }
5797 fi
5798
5799
5800 fi
5801 if test -z "$ac_cv_prog_STRIP"; then
5802 ac_ct_STRIP=$STRIP
5803 # Extract the first word of "strip", so it can be a program name with args.
5804 set dummy strip; ac_word=$2
5805 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5807 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5808 echo $ECHO_N "(cached) $ECHO_C" >&6
5809 else
5810 if test -n "$ac_ct_STRIP"; then
5811 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5812 else
5813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5814 for as_dir in $PATH
5815 do
5816 IFS=$as_save_IFS
5817 test -z "$as_dir" && as_dir=.
5818 for ac_exec_ext in '' $ac_executable_extensions; do
5819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5820 ac_cv_prog_ac_ct_STRIP="strip"
5821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5822 break 2
5823 fi
5824 done
5825 done
5826 IFS=$as_save_IFS
5827
5828 fi
5829 fi
5830 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5831 if test -n "$ac_ct_STRIP"; then
5832 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5833 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5834 else
5835 { echo "$as_me:$LINENO: result: no" >&5
5836 echo "${ECHO_T}no" >&6; }
5837 fi
5838
5839 if test "x$ac_ct_STRIP" = x; then
5840 STRIP=":"
5841 else
5842 case $cross_compiling:$ac_tool_warned in
5843 yes:)
5844 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5845 whose name does not start with the host triplet. If you think this
5846 configuration is useful to you, please write to autoconf@gnu.org." >&5
5847 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5848 whose name does not start with the host triplet. If you think this
5849 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5850 ac_tool_warned=yes ;;
5851 esac
5852 STRIP=$ac_ct_STRIP
5853 fi
5854 else
5855 STRIP="$ac_cv_prog_STRIP"
5856 fi
5857
5858
5859 # Check for any special flags to pass to ltconfig.
5860 libtool_flags="--cache-file=$cache_file"
5861 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
5862 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
5863 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
5864 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
5865 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
5866
5867
5868 # Check whether --enable-libtool-lock was given.
5869 if test "${enable_libtool_lock+set}" = set; then
5870 enableval=$enable_libtool_lock;
5871 fi
5872
5873 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
5874 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
5875
5876
5877 # Check whether --with-pic was given.
5878 if test "${with_pic+set}" = set; then
5879 withval=$with_pic; pic_mode="$withval"
5880 else
5881 pic_mode=default
5882 fi
5883
5884 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
5885 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
5886
5887 # Some flags need to be propagated to the compiler or linker for good
5888 # libtool support.
5889 case $host in
5890 *-*-irix6*)
5891 # Find out which ABI we are using.
5892 echo '#line 5892 "configure"' > conftest.$ac_ext
5893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5894 (eval $ac_compile) 2>&5
5895 ac_status=$?
5896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5897 (exit $ac_status); }; then
5898 if test "$lt_cv_prog_gnu_ld" = yes; then
5899 case `/usr/bin/file conftest.$ac_objext` in
5900 *32-bit*)
5901 LD="${LD-ld} -melf32bsmip"
5902 ;;
5903 *N32*)
5904 LD="${LD-ld} -melf32bmipn32"
5905 ;;
5906 *64-bit*)
5907 LD="${LD-ld} -melf64bmip"
5908 ;;
5909 esac
5910 else
5911 case `/usr/bin/file conftest.$ac_objext` in
5912 *32-bit*)
5913 LD="${LD-ld} -32"
5914 ;;
5915 *N32*)
5916 LD="${LD-ld} -n32"
5917 ;;
5918 *64-bit*)
5919 LD="${LD-ld} -64"
5920 ;;
5921 esac
5922 fi
5923 fi
5924 rm -rf conftest*
5925 ;;
5926
5927 ia64-*-hpux*)
5928 # Find out which ABI we are using.
5929 echo 'int i;' > conftest.$ac_ext
5930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5931 (eval $ac_compile) 2>&5
5932 ac_status=$?
5933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5934 (exit $ac_status); }; then
5935 case "`/usr/bin/file conftest.o`" in
5936 *ELF-32*)
5937 HPUX_IA64_MODE="32"
5938 ;;
5939 *ELF-64*)
5940 HPUX_IA64_MODE="64"
5941 ;;
5942 esac
5943 fi
5944 rm -rf conftest*
5945 ;;
5946
5947 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
5948 # Find out which ABI we are using.
5949 echo 'int i;' > conftest.$ac_ext
5950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5951 (eval $ac_compile) 2>&5
5952 ac_status=$?
5953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5954 (exit $ac_status); }; then
5955 case "`/usr/bin/file conftest.o`" in
5956 *32-bit*)
5957 case $host in
5958 x86_64-*linux*)
5959 LD="${LD-ld} -m elf_i386"
5960 ;;
5961 ppc64-*linux*|powerpc64-*linux*)
5962 LD="${LD-ld} -m elf32ppclinux"
5963 ;;
5964 s390x-*linux*)
5965 LD="${LD-ld} -m elf_s390"
5966 ;;
5967 sparc64-*linux*)
5968 LD="${LD-ld} -m elf32_sparc"
5969 ;;
5970 esac
5971 ;;
5972 *64-bit*)
5973 case $host in
5974 x86_64-*linux*)
5975 LD="${LD-ld} -m elf_x86_64"
5976 ;;
5977 ppc*-*linux*|powerpc*-*linux*)
5978 LD="${LD-ld} -m elf64ppc"
5979 ;;
5980 s390*-*linux*)
5981 LD="${LD-ld} -m elf64_s390"
5982 ;;
5983 sparc*-*linux*)
5984 LD="${LD-ld} -m elf64_sparc"
5985 ;;
5986 esac
5987 ;;
5988 esac
5989 fi
5990 rm -rf conftest*
5991 ;;
5992
5993 *-*-sco3.2v5*)
5994 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5995 SAVE_CFLAGS="$CFLAGS"
5996 CFLAGS="$CFLAGS -belf"
5997 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5998 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
5999 if test "${lt_cv_cc_needs_belf+set}" = set; then
6000 echo $ECHO_N "(cached) $ECHO_C" >&6
6001 else
6002
6003 ac_ext=c
6004 ac_cpp='$CPP $CPPFLAGS'
6005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6008
6009 cat >conftest.$ac_ext <<_ACEOF
6010 /* confdefs.h. */
6011 _ACEOF
6012 cat confdefs.h >>conftest.$ac_ext
6013 cat >>conftest.$ac_ext <<_ACEOF
6014 /* end confdefs.h. */
6015
6016 int
6017 main ()
6018 {
6019
6020 ;
6021 return 0;
6022 }
6023 _ACEOF
6024 rm -f conftest.$ac_objext conftest$ac_exeext
6025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6026 (eval $ac_link) 2>conftest.er1
6027 ac_status=$?
6028 grep -v '^ *+' conftest.er1 >conftest.err
6029 rm -f conftest.er1
6030 cat conftest.err >&5
6031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6032 (exit $ac_status); } &&
6033 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6035 (eval $ac_try) 2>&5
6036 ac_status=$?
6037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6038 (exit $ac_status); }; } &&
6039 { ac_try='test -s conftest$ac_exeext'
6040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6041 (eval $ac_try) 2>&5
6042 ac_status=$?
6043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6044 (exit $ac_status); }; }; then
6045 lt_cv_cc_needs_belf=yes
6046 else
6047 echo "$as_me: failed program was:" >&5
6048 sed 's/^/| /' conftest.$ac_ext >&5
6049
6050 lt_cv_cc_needs_belf=no
6051 fi
6052
6053 rm -f conftest.err conftest.$ac_objext \
6054 conftest$ac_exeext conftest.$ac_ext
6055 ac_ext=c
6056 ac_cpp='$CPP $CPPFLAGS'
6057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6060
6061 fi
6062 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6063 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
6064 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6065 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6066 CFLAGS="$SAVE_CFLAGS"
6067 fi
6068 ;;
6069
6070
6071 esac
6072
6073
6074 # Save cache, so that ltconfig can load it
6075 cat >confcache <<\_ACEOF
6076 # This file is a shell script that caches the results of configure
6077 # tests run on this system so they can be shared between configure
6078 # scripts and configure runs, see configure's option --config-cache.
6079 # It is not useful on other systems. If it contains results you don't
6080 # want to keep, you may remove or edit it.
6081 #
6082 # config.status only pays attention to the cache file if you give it
6083 # the --recheck option to rerun configure.
6084 #
6085 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6086 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6087 # following values.
6088
6089 _ACEOF
6090
6091 # The following way of writing the cache mishandles newlines in values,
6092 # but we know of no workaround that is simple, portable, and efficient.
6093 # So, we kill variables containing newlines.
6094 # Ultrix sh set writes to stderr and can't be redirected directly,
6095 # and sets the high bit in the cache file unless we assign to the vars.
6096 (
6097 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6098 eval ac_val=\$$ac_var
6099 case $ac_val in #(
6100 *${as_nl}*)
6101 case $ac_var in #(
6102 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
6103 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
6104 esac
6105 case $ac_var in #(
6106 _ | IFS | as_nl) ;; #(
6107 *) $as_unset $ac_var ;;
6108 esac ;;
6109 esac
6110 done
6111
6112 (set) 2>&1 |
6113 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6114 *${as_nl}ac_space=\ *)
6115 # `set' does not quote correctly, so add quotes (double-quote
6116 # substitution turns \\\\ into \\, and sed turns \\ into \).
6117 sed -n \
6118 "s/'/'\\\\''/g;
6119 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6120 ;; #(
6121 *)
6122 # `set' quotes correctly as required by POSIX, so do not add quotes.
6123 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6124 ;;
6125 esac |
6126 sort
6127 ) |
6128 sed '
6129 /^ac_cv_env_/b end
6130 t clear
6131 :clear
6132 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6133 t end
6134 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6135 :end' >>confcache
6136 if diff $cache_file confcache >/dev/null 2>&1; then :; else
6137 if test -w $cache_file; then
6138 test "x$cache_file" != "x/dev/null" &&
6139 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
6140 echo "$as_me: updating cache $cache_file" >&6;}
6141 cat confcache >$cache_file
6142 else
6143 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
6144 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6145 fi
6146 fi
6147 rm -f confcache
6148
6149 # Actually configure libtool. ac_aux_dir is where install-sh is found.
6150 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
6151 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
6152 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
6153 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
6154 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
6155 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
6156 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
6157 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
6158 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
6159 echo "$as_me: error: libtool configure failed" >&2;}
6160 { (exit 1); exit 1; }; }
6161
6162 # Reload cache, that may have been modified by ltconfig
6163 if test -r "$cache_file"; then
6164 # Some versions of bash will fail to source /dev/null (special
6165 # files actually), so we avoid doing that.
6166 if test -f "$cache_file"; then
6167 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
6168 echo "$as_me: loading cache $cache_file" >&6;}
6169 case $cache_file in
6170 [\\/]* | ?:[\\/]* ) . $cache_file;;
6171 *) . ./$cache_file;;
6172 esac
6173 fi
6174 else
6175 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
6176 echo "$as_me: creating cache $cache_file" >&6;}
6177 >$cache_file
6178 fi
6179
6180
6181 # This can be used to rebuild libtool when needed
6182 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
6183
6184 # Always use our own libtool.
6185 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6186
6187 # Redirect the config.log output again, so that the ltconfig log is not
6188 # clobbered by the next message.
6189 exec 5>>./config.log
6190
6191
6192
6193
6194
6195
6196 ac_ext=c
6197 ac_cpp='$CPP $CPPFLAGS'
6198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6201 if test -n "$ac_tool_prefix"; then
6202 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
6203 set dummy ${ac_tool_prefix}gcc; ac_word=$2
6204 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6206 if test "${ac_cv_prog_CC+set}" = set; then
6207 echo $ECHO_N "(cached) $ECHO_C" >&6
6208 else
6209 if test -n "$CC"; then
6210 ac_cv_prog_CC="$CC" # Let the user override the test.
6211 else
6212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6213 for as_dir in $PATH
6214 do
6215 IFS=$as_save_IFS
6216 test -z "$as_dir" && as_dir=.
6217 for ac_exec_ext in '' $ac_executable_extensions; do
6218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6219 ac_cv_prog_CC="${ac_tool_prefix}gcc"
6220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6221 break 2
6222 fi
6223 done
6224 done
6225 IFS=$as_save_IFS
6226
6227 fi
6228 fi
6229 CC=$ac_cv_prog_CC
6230 if test -n "$CC"; then
6231 { echo "$as_me:$LINENO: result: $CC" >&5
6232 echo "${ECHO_T}$CC" >&6; }
6233 else
6234 { echo "$as_me:$LINENO: result: no" >&5
6235 echo "${ECHO_T}no" >&6; }
6236 fi
6237
6238
6239 fi
6240 if test -z "$ac_cv_prog_CC"; then
6241 ac_ct_CC=$CC
6242 # Extract the first word of "gcc", so it can be a program name with args.
6243 set dummy gcc; ac_word=$2
6244 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6246 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6247 echo $ECHO_N "(cached) $ECHO_C" >&6
6248 else
6249 if test -n "$ac_ct_CC"; then
6250 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6251 else
6252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6253 for as_dir in $PATH
6254 do
6255 IFS=$as_save_IFS
6256 test -z "$as_dir" && as_dir=.
6257 for ac_exec_ext in '' $ac_executable_extensions; do
6258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6259 ac_cv_prog_ac_ct_CC="gcc"
6260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6261 break 2
6262 fi
6263 done
6264 done
6265 IFS=$as_save_IFS
6266
6267 fi
6268 fi
6269 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6270 if test -n "$ac_ct_CC"; then
6271 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6272 echo "${ECHO_T}$ac_ct_CC" >&6; }
6273 else
6274 { echo "$as_me:$LINENO: result: no" >&5
6275 echo "${ECHO_T}no" >&6; }
6276 fi
6277
6278 if test "x$ac_ct_CC" = x; then
6279 CC=""
6280 else
6281 case $cross_compiling:$ac_tool_warned in
6282 yes:)
6283 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6284 whose name does not start with the host triplet. If you think this
6285 configuration is useful to you, please write to autoconf@gnu.org." >&5
6286 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6287 whose name does not start with the host triplet. If you think this
6288 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6289 ac_tool_warned=yes ;;
6290 esac
6291 CC=$ac_ct_CC
6292 fi
6293 else
6294 CC="$ac_cv_prog_CC"
6295 fi
6296
6297 if test -z "$CC"; then
6298 if test -n "$ac_tool_prefix"; then
6299 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
6300 set dummy ${ac_tool_prefix}cc; ac_word=$2
6301 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6303 if test "${ac_cv_prog_CC+set}" = set; then
6304 echo $ECHO_N "(cached) $ECHO_C" >&6
6305 else
6306 if test -n "$CC"; then
6307 ac_cv_prog_CC="$CC" # Let the user override the test.
6308 else
6309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6310 for as_dir in $PATH
6311 do
6312 IFS=$as_save_IFS
6313 test -z "$as_dir" && as_dir=.
6314 for ac_exec_ext in '' $ac_executable_extensions; do
6315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6316 ac_cv_prog_CC="${ac_tool_prefix}cc"
6317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6318 break 2
6319 fi
6320 done
6321 done
6322 IFS=$as_save_IFS
6323
6324 fi
6325 fi
6326 CC=$ac_cv_prog_CC
6327 if test -n "$CC"; then
6328 { echo "$as_me:$LINENO: result: $CC" >&5
6329 echo "${ECHO_T}$CC" >&6; }
6330 else
6331 { echo "$as_me:$LINENO: result: no" >&5
6332 echo "${ECHO_T}no" >&6; }
6333 fi
6334
6335
6336 fi
6337 fi
6338 if test -z "$CC"; then
6339 # Extract the first word of "cc", so it can be a program name with args.
6340 set dummy cc; ac_word=$2
6341 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6343 if test "${ac_cv_prog_CC+set}" = set; then
6344 echo $ECHO_N "(cached) $ECHO_C" >&6
6345 else
6346 if test -n "$CC"; then
6347 ac_cv_prog_CC="$CC" # Let the user override the test.
6348 else
6349 ac_prog_rejected=no
6350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6351 for as_dir in $PATH
6352 do
6353 IFS=$as_save_IFS
6354 test -z "$as_dir" && as_dir=.
6355 for ac_exec_ext in '' $ac_executable_extensions; do
6356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6357 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
6358 ac_prog_rejected=yes
6359 continue
6360 fi
6361 ac_cv_prog_CC="cc"
6362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6363 break 2
6364 fi
6365 done
6366 done
6367 IFS=$as_save_IFS
6368
6369 if test $ac_prog_rejected = yes; then
6370 # We found a bogon in the path, so make sure we never use it.
6371 set dummy $ac_cv_prog_CC
6372 shift
6373 if test $# != 0; then
6374 # We chose a different compiler from the bogus one.
6375 # However, it has the same basename, so the bogon will be chosen
6376 # first if we set CC to just the basename; use the full file name.
6377 shift
6378 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
6379 fi
6380 fi
6381 fi
6382 fi
6383 CC=$ac_cv_prog_CC
6384 if test -n "$CC"; then
6385 { echo "$as_me:$LINENO: result: $CC" >&5
6386 echo "${ECHO_T}$CC" >&6; }
6387 else
6388 { echo "$as_me:$LINENO: result: no" >&5
6389 echo "${ECHO_T}no" >&6; }
6390 fi
6391
6392
6393 fi
6394 if test -z "$CC"; then
6395 if test -n "$ac_tool_prefix"; then
6396 for ac_prog in cl.exe
6397 do
6398 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6399 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6400 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6402 if test "${ac_cv_prog_CC+set}" = set; then
6403 echo $ECHO_N "(cached) $ECHO_C" >&6
6404 else
6405 if test -n "$CC"; then
6406 ac_cv_prog_CC="$CC" # Let the user override the test.
6407 else
6408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6409 for as_dir in $PATH
6410 do
6411 IFS=$as_save_IFS
6412 test -z "$as_dir" && as_dir=.
6413 for ac_exec_ext in '' $ac_executable_extensions; do
6414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6415 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
6416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6417 break 2
6418 fi
6419 done
6420 done
6421 IFS=$as_save_IFS
6422
6423 fi
6424 fi
6425 CC=$ac_cv_prog_CC
6426 if test -n "$CC"; then
6427 { echo "$as_me:$LINENO: result: $CC" >&5
6428 echo "${ECHO_T}$CC" >&6; }
6429 else
6430 { echo "$as_me:$LINENO: result: no" >&5
6431 echo "${ECHO_T}no" >&6; }
6432 fi
6433
6434
6435 test -n "$CC" && break
6436 done
6437 fi
6438 if test -z "$CC"; then
6439 ac_ct_CC=$CC
6440 for ac_prog in cl.exe
6441 do
6442 # Extract the first word of "$ac_prog", so it can be a program name with args.
6443 set dummy $ac_prog; ac_word=$2
6444 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6446 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6447 echo $ECHO_N "(cached) $ECHO_C" >&6
6448 else
6449 if test -n "$ac_ct_CC"; then
6450 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6451 else
6452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6453 for as_dir in $PATH
6454 do
6455 IFS=$as_save_IFS
6456 test -z "$as_dir" && as_dir=.
6457 for ac_exec_ext in '' $ac_executable_extensions; do
6458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6459 ac_cv_prog_ac_ct_CC="$ac_prog"
6460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6461 break 2
6462 fi
6463 done
6464 done
6465 IFS=$as_save_IFS
6466
6467 fi
6468 fi
6469 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6470 if test -n "$ac_ct_CC"; then
6471 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6472 echo "${ECHO_T}$ac_ct_CC" >&6; }
6473 else
6474 { echo "$as_me:$LINENO: result: no" >&5
6475 echo "${ECHO_T}no" >&6; }
6476 fi
6477
6478
6479 test -n "$ac_ct_CC" && break
6480 done
6481
6482 if test "x$ac_ct_CC" = x; then
6483 CC=""
6484 else
6485 case $cross_compiling:$ac_tool_warned in
6486 yes:)
6487 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6488 whose name does not start with the host triplet. If you think this
6489 configuration is useful to you, please write to autoconf@gnu.org." >&5
6490 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6491 whose name does not start with the host triplet. If you think this
6492 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6493 ac_tool_warned=yes ;;
6494 esac
6495 CC=$ac_ct_CC
6496 fi
6497 fi
6498
6499 fi
6500
6501
6502 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
6503 See \`config.log' for more details." >&5
6504 echo "$as_me: error: no acceptable C compiler found in \$PATH
6505 See \`config.log' for more details." >&2;}
6506 { (exit 1); exit 1; }; }
6507
6508 # Provide some information about the compiler.
6509 echo "$as_me:$LINENO: checking for C compiler version" >&5
6510 ac_compiler=`set X $ac_compile; echo $2`
6511 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version >&5\"") >&5
6512 (eval $ac_compiler --version >&5) 2>&5
6513 ac_status=$?
6514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6515 (exit $ac_status); }
6516 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v >&5\"") >&5
6517 (eval $ac_compiler -v >&5) 2>&5
6518 ac_status=$?
6519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6520 (exit $ac_status); }
6521 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V >&5\"") >&5
6522 (eval $ac_compiler -V >&5) 2>&5
6523 ac_status=$?
6524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6525 (exit $ac_status); }
6526
6527 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
6528 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
6529 if test "${ac_cv_c_compiler_gnu+set}" = set; then
6530 echo $ECHO_N "(cached) $ECHO_C" >&6
6531 else
6532 cat >conftest.$ac_ext <<_ACEOF
6533 /* confdefs.h. */
6534 _ACEOF
6535 cat confdefs.h >>conftest.$ac_ext
6536 cat >>conftest.$ac_ext <<_ACEOF
6537 /* end confdefs.h. */
6538
6539 int
6540 main ()
6541 {
6542 #ifndef __GNUC__
6543 choke me
6544 #endif
6545
6546 ;
6547 return 0;
6548 }
6549 _ACEOF
6550 rm -f conftest.$ac_objext
6551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6552 (eval $ac_compile) 2>conftest.er1
6553 ac_status=$?
6554 grep -v '^ *+' conftest.er1 >conftest.err
6555 rm -f conftest.er1
6556 cat conftest.err >&5
6557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6558 (exit $ac_status); } &&
6559 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6561 (eval $ac_try) 2>&5
6562 ac_status=$?
6563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6564 (exit $ac_status); }; } &&
6565 { ac_try='test -s conftest.$ac_objext'
6566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6567 (eval $ac_try) 2>&5
6568 ac_status=$?
6569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6570 (exit $ac_status); }; }; then
6571 ac_compiler_gnu=yes
6572 else
6573 echo "$as_me: failed program was:" >&5
6574 sed 's/^/| /' conftest.$ac_ext >&5
6575
6576 ac_compiler_gnu=no
6577 fi
6578
6579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6580 ac_cv_c_compiler_gnu=$ac_compiler_gnu
6581
6582 fi
6583 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
6584 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
6585 GCC=`test $ac_compiler_gnu = yes && echo yes`
6586 ac_test_CFLAGS=${CFLAGS+set}
6587 ac_save_CFLAGS=$CFLAGS
6588 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
6589 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
6590 if test "${ac_cv_prog_cc_g+set}" = set; then
6591 echo $ECHO_N "(cached) $ECHO_C" >&6
6592 else
6593 ac_save_c_werror_flag=$ac_c_werror_flag
6594 ac_c_werror_flag=yes
6595 ac_cv_prog_cc_g=no
6596 CFLAGS="-g"
6597 cat >conftest.$ac_ext <<_ACEOF
6598 /* confdefs.h. */
6599 _ACEOF
6600 cat confdefs.h >>conftest.$ac_ext
6601 cat >>conftest.$ac_ext <<_ACEOF
6602 /* end confdefs.h. */
6603
6604 int
6605 main ()
6606 {
6607
6608 ;
6609 return 0;
6610 }
6611 _ACEOF
6612 rm -f conftest.$ac_objext
6613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6614 (eval $ac_compile) 2>conftest.er1
6615 ac_status=$?
6616 grep -v '^ *+' conftest.er1 >conftest.err
6617 rm -f conftest.er1
6618 cat conftest.err >&5
6619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6620 (exit $ac_status); } &&
6621 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6623 (eval $ac_try) 2>&5
6624 ac_status=$?
6625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6626 (exit $ac_status); }; } &&
6627 { ac_try='test -s conftest.$ac_objext'
6628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6629 (eval $ac_try) 2>&5
6630 ac_status=$?
6631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6632 (exit $ac_status); }; }; then
6633 ac_cv_prog_cc_g=yes
6634 else
6635 echo "$as_me: failed program was:" >&5
6636 sed 's/^/| /' conftest.$ac_ext >&5
6637
6638 CFLAGS=""
6639 cat >conftest.$ac_ext <<_ACEOF
6640 /* confdefs.h. */
6641 _ACEOF
6642 cat confdefs.h >>conftest.$ac_ext
6643 cat >>conftest.$ac_ext <<_ACEOF
6644 /* end confdefs.h. */
6645
6646 int
6647 main ()
6648 {
6649
6650 ;
6651 return 0;
6652 }
6653 _ACEOF
6654 rm -f conftest.$ac_objext
6655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6656 (eval $ac_compile) 2>conftest.er1
6657 ac_status=$?
6658 grep -v '^ *+' conftest.er1 >conftest.err
6659 rm -f conftest.er1
6660 cat conftest.err >&5
6661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6662 (exit $ac_status); } &&
6663 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6665 (eval $ac_try) 2>&5
6666 ac_status=$?
6667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6668 (exit $ac_status); }; } &&
6669 { ac_try='test -s conftest.$ac_objext'
6670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6671 (eval $ac_try) 2>&5
6672 ac_status=$?
6673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6674 (exit $ac_status); }; }; then
6675 :
6676 else
6677 echo "$as_me: failed program was:" >&5
6678 sed 's/^/| /' conftest.$ac_ext >&5
6679
6680 ac_c_werror_flag=$ac_save_c_werror_flag
6681 CFLAGS="-g"
6682 cat >conftest.$ac_ext <<_ACEOF
6683 /* confdefs.h. */
6684 _ACEOF
6685 cat confdefs.h >>conftest.$ac_ext
6686 cat >>conftest.$ac_ext <<_ACEOF
6687 /* end confdefs.h. */
6688
6689 int
6690 main ()
6691 {
6692
6693 ;
6694 return 0;
6695 }
6696 _ACEOF
6697 rm -f conftest.$ac_objext
6698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6699 (eval $ac_compile) 2>conftest.er1
6700 ac_status=$?
6701 grep -v '^ *+' conftest.er1 >conftest.err
6702 rm -f conftest.er1
6703 cat conftest.err >&5
6704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6705 (exit $ac_status); } &&
6706 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6708 (eval $ac_try) 2>&5
6709 ac_status=$?
6710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6711 (exit $ac_status); }; } &&
6712 { ac_try='test -s conftest.$ac_objext'
6713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6714 (eval $ac_try) 2>&5
6715 ac_status=$?
6716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6717 (exit $ac_status); }; }; then
6718 ac_cv_prog_cc_g=yes
6719 else
6720 echo "$as_me: failed program was:" >&5
6721 sed 's/^/| /' conftest.$ac_ext >&5
6722
6723
6724 fi
6725
6726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6727 fi
6728
6729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6730 fi
6731
6732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6733 ac_c_werror_flag=$ac_save_c_werror_flag
6734 fi
6735 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
6736 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
6737 if test "$ac_test_CFLAGS" = set; then
6738 CFLAGS=$ac_save_CFLAGS
6739 elif test $ac_cv_prog_cc_g = yes; then
6740 if test "$GCC" = yes; then
6741 CFLAGS="-g -O2"
6742 else
6743 CFLAGS="-g"
6744 fi
6745 else
6746 if test "$GCC" = yes; then
6747 CFLAGS="-O2"
6748 else
6749 CFLAGS=
6750 fi
6751 fi
6752 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
6753 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
6754 if test "${ac_cv_prog_cc_c89+set}" = set; then
6755 echo $ECHO_N "(cached) $ECHO_C" >&6
6756 else
6757 ac_cv_prog_cc_c89=no
6758 ac_save_CC=$CC
6759 cat >conftest.$ac_ext <<_ACEOF
6760 /* confdefs.h. */
6761 _ACEOF
6762 cat confdefs.h >>conftest.$ac_ext
6763 cat >>conftest.$ac_ext <<_ACEOF
6764 /* end confdefs.h. */
6765 #include <stdarg.h>
6766 #include <stdio.h>
6767 #include <sys/types.h>
6768 #include <sys/stat.h>
6769 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6770 struct buf { int x; };
6771 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6772 static char *e (p, i)
6773 char **p;
6774 int i;
6775 {
6776 return p[i];
6777 }
6778 static char *f (char * (*g) (char **, int), char **p, ...)
6779 {
6780 char *s;
6781 va_list v;
6782 va_start (v,p);
6783 s = g (p, va_arg (v,int));
6784 va_end (v);
6785 return s;
6786 }
6787
6788 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6789 function prototypes and stuff, but not '\xHH' hex character constants.
6790 These don't provoke an error unfortunately, instead are silently treated
6791 as 'x'. The following induces an error, until -std is added to get
6792 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6793 array size at least. It's necessary to write '\x00'==0 to get something
6794 that's true only with -std. */
6795 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6796
6797 int test (int i, double x);
6798 struct s1 {int (*f) (int a);};
6799 struct s2 {int (*f) (double a);};
6800 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6801 int argc;
6802 char **argv;
6803 int
6804 main ()
6805 {
6806 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6807 ;
6808 return 0;
6809 }
6810 _ACEOF
6811 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6812 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6813 do
6814 CC="$ac_save_CC $ac_arg"
6815 rm -f conftest.$ac_objext
6816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6817 (eval $ac_compile) 2>conftest.er1
6818 ac_status=$?
6819 grep -v '^ *+' conftest.er1 >conftest.err
6820 rm -f conftest.er1
6821 cat conftest.err >&5
6822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6823 (exit $ac_status); } &&
6824 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6826 (eval $ac_try) 2>&5
6827 ac_status=$?
6828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6829 (exit $ac_status); }; } &&
6830 { ac_try='test -s conftest.$ac_objext'
6831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6832 (eval $ac_try) 2>&5
6833 ac_status=$?
6834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6835 (exit $ac_status); }; }; then
6836 ac_cv_prog_cc_c89=$ac_arg
6837 else
6838 echo "$as_me: failed program was:" >&5
6839 sed 's/^/| /' conftest.$ac_ext >&5
6840
6841
6842 fi
6843
6844 rm -f conftest.err conftest.$ac_objext
6845 test "x$ac_cv_prog_cc_c89" != "xno" && break
6846 done
6847 rm -f conftest.$ac_ext
6848 CC=$ac_save_CC
6849
6850 fi
6851 # AC_CACHE_VAL
6852 case "x$ac_cv_prog_cc_c89" in
6853 x)
6854 { echo "$as_me:$LINENO: result: none needed" >&5
6855 echo "${ECHO_T}none needed" >&6; } ;;
6856 xno)
6857 { echo "$as_me:$LINENO: result: unsupported" >&5
6858 echo "${ECHO_T}unsupported" >&6; } ;;
6859 *)
6860 CC="$CC $ac_cv_prog_cc_c89"
6861 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
6862 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
6863 esac
6864
6865
6866 ac_ext=c
6867 ac_cpp='$CPP $CPPFLAGS'
6868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6871
6872 depcc="$CC" am_compiler_list=
6873
6874 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6875 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
6876 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
6877 echo $ECHO_N "(cached) $ECHO_C" >&6
6878 else
6879 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6880 # We make a subdir and do the tests there. Otherwise we can end up
6881 # making bogus files that we don't know about and never remove. For
6882 # instance it was reported that on HP-UX the gcc test will end up
6883 # making a dummy file named `D' -- because `-MD' means `put the output
6884 # in D'.
6885 mkdir conftest.dir
6886 # Copy depcomp to subdir because otherwise we won't find it if we're
6887 # using a relative directory.
6888 cp "$am_depcomp" conftest.dir
6889 cd conftest.dir
6890 # We will build objects and dependencies in a subdirectory because
6891 # it helps to detect inapplicable dependency modes. For instance
6892 # both Tru64's cc and ICC support -MD to output dependencies as a
6893 # side effect of compilation, but ICC will put the dependencies in
6894 # the current directory while Tru64 will put them in the object
6895 # directory.
6896 mkdir sub
6897
6898 am_cv_CC_dependencies_compiler_type=none
6899 if test "$am_compiler_list" = ""; then
6900 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6901 fi
6902 for depmode in $am_compiler_list; do
6903 # Setup a source with many dependencies, because some compilers
6904 # like to wrap large dependency lists on column 80 (with \), and
6905 # we should not choose a depcomp mode which is confused by this.
6906 #
6907 # We need to recreate these files for each test, as the compiler may
6908 # overwrite some of them when testing with obscure command lines.
6909 # This happens at least with the AIX C compiler.
6910 : > sub/conftest.c
6911 for i in 1 2 3 4 5 6; do
6912 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6913 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6914 # Solaris 8's {/usr,}/bin/sh.
6915 touch sub/conftst$i.h
6916 done
6917 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6918
6919 case $depmode in
6920 nosideeffect)
6921 # after this tag, mechanisms are not by side-effect, so they'll
6922 # only be used when explicitly requested
6923 if test "x$enable_dependency_tracking" = xyes; then
6924 continue
6925 else
6926 break
6927 fi
6928 ;;
6929 none) break ;;
6930 esac
6931 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6932 # mode. It turns out that the SunPro C++ compiler does not properly
6933 # handle `-M -o', and we need to detect this.
6934 if depmode=$depmode \
6935 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6936 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6937 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6938 >/dev/null 2>conftest.err &&
6939 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6940 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6941 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6942 # icc doesn't choke on unknown options, it will just issue warnings
6943 # or remarks (even with -Werror). So we grep stderr for any message
6944 # that says an option was ignored or not supported.
6945 # When given -MP, icc 7.0 and 7.1 complain thusly:
6946 # icc: Command line warning: ignoring option '-M'; no argument required
6947 # The diagnosis changed in icc 8.0:
6948 # icc: Command line remark: option '-MP' not supported
6949 if (grep 'ignoring option' conftest.err ||
6950 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6951 am_cv_CC_dependencies_compiler_type=$depmode
6952 break
6953 fi
6954 fi
6955 done
6956
6957 cd ..
6958 rm -rf conftest.dir
6959 else
6960 am_cv_CC_dependencies_compiler_type=none
6961 fi
6962
6963 fi
6964 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
6965 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
6966 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6967
6968
6969
6970 if
6971 test "x$enable_dependency_tracking" != xno \
6972 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6973 am__fastdepCC_TRUE=
6974 am__fastdepCC_FALSE='#'
6975 else
6976 am__fastdepCC_TRUE='#'
6977 am__fastdepCC_FALSE=
6978 fi
6979
6980
6981 ac_ext=c
6982 ac_cpp='$CPP $CPPFLAGS'
6983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6986 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6987 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
6988 # On Suns, sometimes $CPP names a directory.
6989 if test -n "$CPP" && test -d "$CPP"; then
6990 CPP=
6991 fi
6992 if test -z "$CPP"; then
6993 if test "${ac_cv_prog_CPP+set}" = set; then
6994 echo $ECHO_N "(cached) $ECHO_C" >&6
6995 else
6996 # Double quotes because CPP needs to be expanded
6997 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6998 do
6999 ac_preproc_ok=false
7000 for ac_c_preproc_warn_flag in '' yes
7001 do
7002 # Use a header file that comes with gcc, so configuring glibc
7003 # with a fresh cross-compiler works.
7004 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7005 # <limits.h> exists even on freestanding compilers.
7006 # On the NeXT, cc -E runs the code through the compiler's parser,
7007 # not just through cpp. "Syntax error" is here to catch this case.
7008 cat >conftest.$ac_ext <<_ACEOF
7009 /* confdefs.h. */
7010 _ACEOF
7011 cat confdefs.h >>conftest.$ac_ext
7012 cat >>conftest.$ac_ext <<_ACEOF
7013 /* end confdefs.h. */
7014 #ifdef __STDC__
7015 # include <limits.h>
7016 #else
7017 # include <assert.h>
7018 #endif
7019 Syntax error
7020 _ACEOF
7021 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7022 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7023 ac_status=$?
7024 grep -v '^ *+' conftest.er1 >conftest.err
7025 rm -f conftest.er1
7026 cat conftest.err >&5
7027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7028 (exit $ac_status); } >/dev/null; then
7029 if test -s conftest.err; then
7030 ac_cpp_err=$ac_c_preproc_warn_flag
7031 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7032 else
7033 ac_cpp_err=
7034 fi
7035 else
7036 ac_cpp_err=yes
7037 fi
7038 if test -z "$ac_cpp_err"; then
7039 :
7040 else
7041 echo "$as_me: failed program was:" >&5
7042 sed 's/^/| /' conftest.$ac_ext >&5
7043
7044 # Broken: fails on valid input.
7045 continue
7046 fi
7047
7048 rm -f conftest.err conftest.$ac_ext
7049
7050 # OK, works on sane cases. Now check whether nonexistent headers
7051 # can be detected and how.
7052 cat >conftest.$ac_ext <<_ACEOF
7053 /* confdefs.h. */
7054 _ACEOF
7055 cat confdefs.h >>conftest.$ac_ext
7056 cat >>conftest.$ac_ext <<_ACEOF
7057 /* end confdefs.h. */
7058 #include <ac_nonexistent.h>
7059 _ACEOF
7060 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7061 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7062 ac_status=$?
7063 grep -v '^ *+' conftest.er1 >conftest.err
7064 rm -f conftest.er1
7065 cat conftest.err >&5
7066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7067 (exit $ac_status); } >/dev/null; then
7068 if test -s conftest.err; then
7069 ac_cpp_err=$ac_c_preproc_warn_flag
7070 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7071 else
7072 ac_cpp_err=
7073 fi
7074 else
7075 ac_cpp_err=yes
7076 fi
7077 if test -z "$ac_cpp_err"; then
7078 # Broken: success on invalid input.
7079 continue
7080 else
7081 echo "$as_me: failed program was:" >&5
7082 sed 's/^/| /' conftest.$ac_ext >&5
7083
7084 # Passes both tests.
7085 ac_preproc_ok=:
7086 break
7087 fi
7088
7089 rm -f conftest.err conftest.$ac_ext
7090
7091 done
7092 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7093 rm -f conftest.err conftest.$ac_ext
7094 if $ac_preproc_ok; then
7095 break
7096 fi
7097
7098 done
7099 ac_cv_prog_CPP=$CPP
7100
7101 fi
7102 CPP=$ac_cv_prog_CPP
7103 else
7104 ac_cv_prog_CPP=$CPP
7105 fi
7106 { echo "$as_me:$LINENO: result: $CPP" >&5
7107 echo "${ECHO_T}$CPP" >&6; }
7108 ac_preproc_ok=false
7109 for ac_c_preproc_warn_flag in '' yes
7110 do
7111 # Use a header file that comes with gcc, so configuring glibc
7112 # with a fresh cross-compiler works.
7113 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7114 # <limits.h> exists even on freestanding compilers.
7115 # On the NeXT, cc -E runs the code through the compiler's parser,
7116 # not just through cpp. "Syntax error" is here to catch this case.
7117 cat >conftest.$ac_ext <<_ACEOF
7118 /* confdefs.h. */
7119 _ACEOF
7120 cat confdefs.h >>conftest.$ac_ext
7121 cat >>conftest.$ac_ext <<_ACEOF
7122 /* end confdefs.h. */
7123 #ifdef __STDC__
7124 # include <limits.h>
7125 #else
7126 # include <assert.h>
7127 #endif
7128 Syntax error
7129 _ACEOF
7130 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7131 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7132 ac_status=$?
7133 grep -v '^ *+' conftest.er1 >conftest.err
7134 rm -f conftest.er1
7135 cat conftest.err >&5
7136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7137 (exit $ac_status); } >/dev/null; then
7138 if test -s conftest.err; then
7139 ac_cpp_err=$ac_c_preproc_warn_flag
7140 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7141 else
7142 ac_cpp_err=
7143 fi
7144 else
7145 ac_cpp_err=yes
7146 fi
7147 if test -z "$ac_cpp_err"; then
7148 :
7149 else
7150 echo "$as_me: failed program was:" >&5
7151 sed 's/^/| /' conftest.$ac_ext >&5
7152
7153 # Broken: fails on valid input.
7154 continue
7155 fi
7156
7157 rm -f conftest.err conftest.$ac_ext
7158
7159 # OK, works on sane cases. Now check whether nonexistent headers
7160 # can be detected and how.
7161 cat >conftest.$ac_ext <<_ACEOF
7162 /* confdefs.h. */
7163 _ACEOF
7164 cat confdefs.h >>conftest.$ac_ext
7165 cat >>conftest.$ac_ext <<_ACEOF
7166 /* end confdefs.h. */
7167 #include <ac_nonexistent.h>
7168 _ACEOF
7169 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7170 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7171 ac_status=$?
7172 grep -v '^ *+' conftest.er1 >conftest.err
7173 rm -f conftest.er1
7174 cat conftest.err >&5
7175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7176 (exit $ac_status); } >/dev/null; then
7177 if test -s conftest.err; then
7178 ac_cpp_err=$ac_c_preproc_warn_flag
7179 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7180 else
7181 ac_cpp_err=
7182 fi
7183 else
7184 ac_cpp_err=yes
7185 fi
7186 if test -z "$ac_cpp_err"; then
7187 # Broken: success on invalid input.
7188 continue
7189 else
7190 echo "$as_me: failed program was:" >&5
7191 sed 's/^/| /' conftest.$ac_ext >&5
7192
7193 # Passes both tests.
7194 ac_preproc_ok=:
7195 break
7196 fi
7197
7198 rm -f conftest.err conftest.$ac_ext
7199
7200 done
7201 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7202 rm -f conftest.err conftest.$ac_ext
7203 if $ac_preproc_ok; then
7204 :
7205 else
7206 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7207 See \`config.log' for more details." >&5
7208 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7209 See \`config.log' for more details." >&2;}
7210 { (exit 1); exit 1; }; }
7211 fi
7212
7213 ac_ext=c
7214 ac_cpp='$CPP $CPPFLAGS'
7215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7218
7219 ac_ext=cpp
7220 ac_cpp='$CXXCPP $CPPFLAGS'
7221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7224 if test -z "$CXX"; then
7225 if test -n "$CCC"; then
7226 CXX=$CCC
7227 else
7228 if test -n "$ac_tool_prefix"; then
7229 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7230 do
7231 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7232 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7233 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7235 if test "${ac_cv_prog_CXX+set}" = set; then
7236 echo $ECHO_N "(cached) $ECHO_C" >&6
7237 else
7238 if test -n "$CXX"; then
7239 ac_cv_prog_CXX="$CXX" # Let the user override the test.
7240 else
7241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7242 for as_dir in $PATH
7243 do
7244 IFS=$as_save_IFS
7245 test -z "$as_dir" && as_dir=.
7246 for ac_exec_ext in '' $ac_executable_extensions; do
7247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7248 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7250 break 2
7251 fi
7252 done
7253 done
7254 IFS=$as_save_IFS
7255
7256 fi
7257 fi
7258 CXX=$ac_cv_prog_CXX
7259 if test -n "$CXX"; then
7260 { echo "$as_me:$LINENO: result: $CXX" >&5
7261 echo "${ECHO_T}$CXX" >&6; }
7262 else
7263 { echo "$as_me:$LINENO: result: no" >&5
7264 echo "${ECHO_T}no" >&6; }
7265 fi
7266
7267
7268 test -n "$CXX" && break
7269 done
7270 fi
7271 if test -z "$CXX"; then
7272 ac_ct_CXX=$CXX
7273 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7274 do
7275 # Extract the first word of "$ac_prog", so it can be a program name with args.
7276 set dummy $ac_prog; ac_word=$2
7277 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7279 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
7280 echo $ECHO_N "(cached) $ECHO_C" >&6
7281 else
7282 if test -n "$ac_ct_CXX"; then
7283 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7284 else
7285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7286 for as_dir in $PATH
7287 do
7288 IFS=$as_save_IFS
7289 test -z "$as_dir" && as_dir=.
7290 for ac_exec_ext in '' $ac_executable_extensions; do
7291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7292 ac_cv_prog_ac_ct_CXX="$ac_prog"
7293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7294 break 2
7295 fi
7296 done
7297 done
7298 IFS=$as_save_IFS
7299
7300 fi
7301 fi
7302 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7303 if test -n "$ac_ct_CXX"; then
7304 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
7305 echo "${ECHO_T}$ac_ct_CXX" >&6; }
7306 else
7307 { echo "$as_me:$LINENO: result: no" >&5
7308 echo "${ECHO_T}no" >&6; }
7309 fi
7310
7311
7312 test -n "$ac_ct_CXX" && break
7313 done
7314
7315 if test "x$ac_ct_CXX" = x; then
7316 CXX="g++"
7317 else
7318 case $cross_compiling:$ac_tool_warned in
7319 yes:)
7320 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7321 whose name does not start with the host triplet. If you think this
7322 configuration is useful to you, please write to autoconf@gnu.org." >&5
7323 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7324 whose name does not start with the host triplet. If you think this
7325 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7326 ac_tool_warned=yes ;;
7327 esac
7328 CXX=$ac_ct_CXX
7329 fi
7330 fi
7331
7332 fi
7333 fi
7334 # Provide some information about the compiler.
7335 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
7336 ac_compiler=`set X $ac_compile; echo $2`
7337 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version >&5\"") >&5
7338 (eval $ac_compiler --version >&5) 2>&5
7339 ac_status=$?
7340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7341 (exit $ac_status); }
7342 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v >&5\"") >&5
7343 (eval $ac_compiler -v >&5) 2>&5
7344 ac_status=$?
7345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7346 (exit $ac_status); }
7347 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V >&5\"") >&5
7348 (eval $ac_compiler -V >&5) 2>&5
7349 ac_status=$?
7350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7351 (exit $ac_status); }
7352
7353 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
7354 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
7355 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
7356 echo $ECHO_N "(cached) $ECHO_C" >&6
7357 else
7358 cat >conftest.$ac_ext <<_ACEOF
7359 /* confdefs.h. */
7360 _ACEOF
7361 cat confdefs.h >>conftest.$ac_ext
7362 cat >>conftest.$ac_ext <<_ACEOF
7363 /* end confdefs.h. */
7364
7365 int
7366 main ()
7367 {
7368 #ifndef __GNUC__
7369 choke me
7370 #endif
7371
7372 ;
7373 return 0;
7374 }
7375 _ACEOF
7376 rm -f conftest.$ac_objext
7377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7378 (eval $ac_compile) 2>conftest.er1
7379 ac_status=$?
7380 grep -v '^ *+' conftest.er1 >conftest.err
7381 rm -f conftest.er1
7382 cat conftest.err >&5
7383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7384 (exit $ac_status); } &&
7385 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7387 (eval $ac_try) 2>&5
7388 ac_status=$?
7389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7390 (exit $ac_status); }; } &&
7391 { ac_try='test -s conftest.$ac_objext'
7392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7393 (eval $ac_try) 2>&5
7394 ac_status=$?
7395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7396 (exit $ac_status); }; }; then
7397 ac_compiler_gnu=yes
7398 else
7399 echo "$as_me: failed program was:" >&5
7400 sed 's/^/| /' conftest.$ac_ext >&5
7401
7402 ac_compiler_gnu=no
7403 fi
7404
7405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7406 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7407
7408 fi
7409 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
7410 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
7411 GXX=`test $ac_compiler_gnu = yes && echo yes`
7412 ac_test_CXXFLAGS=${CXXFLAGS+set}
7413 ac_save_CXXFLAGS=$CXXFLAGS
7414 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
7415 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
7416 if test "${ac_cv_prog_cxx_g+set}" = set; then
7417 echo $ECHO_N "(cached) $ECHO_C" >&6
7418 else
7419 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
7420 ac_cxx_werror_flag=yes
7421 ac_cv_prog_cxx_g=no
7422 CXXFLAGS="-g"
7423 cat >conftest.$ac_ext <<_ACEOF
7424 /* confdefs.h. */
7425 _ACEOF
7426 cat confdefs.h >>conftest.$ac_ext
7427 cat >>conftest.$ac_ext <<_ACEOF
7428 /* end confdefs.h. */
7429
7430 int
7431 main ()
7432 {
7433
7434 ;
7435 return 0;
7436 }
7437 _ACEOF
7438 rm -f conftest.$ac_objext
7439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7440 (eval $ac_compile) 2>conftest.er1
7441 ac_status=$?
7442 grep -v '^ *+' conftest.er1 >conftest.err
7443 rm -f conftest.er1
7444 cat conftest.err >&5
7445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7446 (exit $ac_status); } &&
7447 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7449 (eval $ac_try) 2>&5
7450 ac_status=$?
7451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7452 (exit $ac_status); }; } &&
7453 { ac_try='test -s conftest.$ac_objext'
7454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7455 (eval $ac_try) 2>&5
7456 ac_status=$?
7457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7458 (exit $ac_status); }; }; then
7459 ac_cv_prog_cxx_g=yes
7460 else
7461 echo "$as_me: failed program was:" >&5
7462 sed 's/^/| /' conftest.$ac_ext >&5
7463
7464 CXXFLAGS=""
7465 cat >conftest.$ac_ext <<_ACEOF
7466 /* confdefs.h. */
7467 _ACEOF
7468 cat confdefs.h >>conftest.$ac_ext
7469 cat >>conftest.$ac_ext <<_ACEOF
7470 /* end confdefs.h. */
7471
7472 int
7473 main ()
7474 {
7475
7476 ;
7477 return 0;
7478 }
7479 _ACEOF
7480 rm -f conftest.$ac_objext
7481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7482 (eval $ac_compile) 2>conftest.er1
7483 ac_status=$?
7484 grep -v '^ *+' conftest.er1 >conftest.err
7485 rm -f conftest.er1
7486 cat conftest.err >&5
7487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7488 (exit $ac_status); } &&
7489 { ac_try='test -z "$ac_cxx_werror_flag" || 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 :
7502 else
7503 echo "$as_me: failed program was:" >&5
7504 sed 's/^/| /' conftest.$ac_ext >&5
7505
7506 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7507 CXXFLAGS="-g"
7508 cat >conftest.$ac_ext <<_ACEOF
7509 /* confdefs.h. */
7510 _ACEOF
7511 cat confdefs.h >>conftest.$ac_ext
7512 cat >>conftest.$ac_ext <<_ACEOF
7513 /* end confdefs.h. */
7514
7515 int
7516 main ()
7517 {
7518
7519 ;
7520 return 0;
7521 }
7522 _ACEOF
7523 rm -f conftest.$ac_objext
7524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7525 (eval $ac_compile) 2>conftest.er1
7526 ac_status=$?
7527 grep -v '^ *+' conftest.er1 >conftest.err
7528 rm -f conftest.er1
7529 cat conftest.err >&5
7530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7531 (exit $ac_status); } &&
7532 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7534 (eval $ac_try) 2>&5
7535 ac_status=$?
7536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7537 (exit $ac_status); }; } &&
7538 { ac_try='test -s conftest.$ac_objext'
7539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7540 (eval $ac_try) 2>&5
7541 ac_status=$?
7542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7543 (exit $ac_status); }; }; then
7544 ac_cv_prog_cxx_g=yes
7545 else
7546 echo "$as_me: failed program was:" >&5
7547 sed 's/^/| /' conftest.$ac_ext >&5
7548
7549
7550 fi
7551
7552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7553 fi
7554
7555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7556 fi
7557
7558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7559 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7560 fi
7561 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7562 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
7563 if test "$ac_test_CXXFLAGS" = set; then
7564 CXXFLAGS=$ac_save_CXXFLAGS
7565 elif test $ac_cv_prog_cxx_g = yes; then
7566 if test "$GXX" = yes; then
7567 CXXFLAGS="-g -O2"
7568 else
7569 CXXFLAGS="-g"
7570 fi
7571 else
7572 if test "$GXX" = yes; then
7573 CXXFLAGS="-O2"
7574 else
7575 CXXFLAGS=
7576 fi
7577 fi
7578 ac_ext=c
7579 ac_cpp='$CPP $CPPFLAGS'
7580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7583
7584 depcc="$CXX" am_compiler_list=
7585
7586 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
7587 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
7588 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
7589 echo $ECHO_N "(cached) $ECHO_C" >&6
7590 else
7591 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7592 # We make a subdir and do the tests there. Otherwise we can end up
7593 # making bogus files that we don't know about and never remove. For
7594 # instance it was reported that on HP-UX the gcc test will end up
7595 # making a dummy file named `D' -- because `-MD' means `put the output
7596 # in D'.
7597 mkdir conftest.dir
7598 # Copy depcomp to subdir because otherwise we won't find it if we're
7599 # using a relative directory.
7600 cp "$am_depcomp" conftest.dir
7601 cd conftest.dir
7602 # We will build objects and dependencies in a subdirectory because
7603 # it helps to detect inapplicable dependency modes. For instance
7604 # both Tru64's cc and ICC support -MD to output dependencies as a
7605 # side effect of compilation, but ICC will put the dependencies in
7606 # the current directory while Tru64 will put them in the object
7607 # directory.
7608 mkdir sub
7609
7610 am_cv_CXX_dependencies_compiler_type=none
7611 if test "$am_compiler_list" = ""; then
7612 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7613 fi
7614 for depmode in $am_compiler_list; do
7615 # Setup a source with many dependencies, because some compilers
7616 # like to wrap large dependency lists on column 80 (with \), and
7617 # we should not choose a depcomp mode which is confused by this.
7618 #
7619 # We need to recreate these files for each test, as the compiler may
7620 # overwrite some of them when testing with obscure command lines.
7621 # This happens at least with the AIX C compiler.
7622 : > sub/conftest.c
7623 for i in 1 2 3 4 5 6; do
7624 echo '#include "conftst'$i'.h"' >> sub/conftest.c
7625 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
7626 # Solaris 8's {/usr,}/bin/sh.
7627 touch sub/conftst$i.h
7628 done
7629 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7630
7631 case $depmode in
7632 nosideeffect)
7633 # after this tag, mechanisms are not by side-effect, so they'll
7634 # only be used when explicitly requested
7635 if test "x$enable_dependency_tracking" = xyes; then
7636 continue
7637 else
7638 break
7639 fi
7640 ;;
7641 none) break ;;
7642 esac
7643 # We check with `-c' and `-o' for the sake of the "dashmstdout"
7644 # mode. It turns out that the SunPro C++ compiler does not properly
7645 # handle `-M -o', and we need to detect this.
7646 if depmode=$depmode \
7647 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
7648 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7649 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
7650 >/dev/null 2>conftest.err &&
7651 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7652 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
7653 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7654 # icc doesn't choke on unknown options, it will just issue warnings
7655 # or remarks (even with -Werror). So we grep stderr for any message
7656 # that says an option was ignored or not supported.
7657 # When given -MP, icc 7.0 and 7.1 complain thusly:
7658 # icc: Command line warning: ignoring option '-M'; no argument required
7659 # The diagnosis changed in icc 8.0:
7660 # icc: Command line remark: option '-MP' not supported
7661 if (grep 'ignoring option' conftest.err ||
7662 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7663 am_cv_CXX_dependencies_compiler_type=$depmode
7664 break
7665 fi
7666 fi
7667 done
7668
7669 cd ..
7670 rm -rf conftest.dir
7671 else
7672 am_cv_CXX_dependencies_compiler_type=none
7673 fi
7674
7675 fi
7676 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
7677 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
7678 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
7679
7680
7681
7682 if
7683 test "x$enable_dependency_tracking" != xno \
7684 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
7685 am__fastdepCXX_TRUE=
7686 am__fastdepCXX_FALSE='#'
7687 else
7688 am__fastdepCXX_TRUE='#'
7689 am__fastdepCXX_FALSE=
7690 fi
7691
7692 ac_ext=cpp
7693 ac_cpp='$CXXCPP $CPPFLAGS'
7694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7697 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7698 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
7699 if test -z "$CXXCPP"; then
7700 if test "${ac_cv_prog_CXXCPP+set}" = set; then
7701 echo $ECHO_N "(cached) $ECHO_C" >&6
7702 else
7703 # Double quotes because CXXCPP needs to be expanded
7704 for CXXCPP in "$CXX -E" "/lib/cpp"
7705 do
7706 ac_preproc_ok=false
7707 for ac_cxx_preproc_warn_flag in '' yes
7708 do
7709 # Use a header file that comes with gcc, so configuring glibc
7710 # with a fresh cross-compiler works.
7711 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7712 # <limits.h> exists even on freestanding compilers.
7713 # On the NeXT, cc -E runs the code through the compiler's parser,
7714 # not just through cpp. "Syntax error" is here to catch this case.
7715 cat >conftest.$ac_ext <<_ACEOF
7716 /* confdefs.h. */
7717 _ACEOF
7718 cat confdefs.h >>conftest.$ac_ext
7719 cat >>conftest.$ac_ext <<_ACEOF
7720 /* end confdefs.h. */
7721 #ifdef __STDC__
7722 # include <limits.h>
7723 #else
7724 # include <assert.h>
7725 #endif
7726 Syntax error
7727 _ACEOF
7728 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7729 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7730 ac_status=$?
7731 grep -v '^ *+' conftest.er1 >conftest.err
7732 rm -f conftest.er1
7733 cat conftest.err >&5
7734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7735 (exit $ac_status); } >/dev/null; then
7736 if test -s conftest.err; then
7737 ac_cpp_err=$ac_cxx_preproc_warn_flag
7738 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7739 else
7740 ac_cpp_err=
7741 fi
7742 else
7743 ac_cpp_err=yes
7744 fi
7745 if test -z "$ac_cpp_err"; then
7746 :
7747 else
7748 echo "$as_me: failed program was:" >&5
7749 sed 's/^/| /' conftest.$ac_ext >&5
7750
7751 # Broken: fails on valid input.
7752 continue
7753 fi
7754
7755 rm -f conftest.err conftest.$ac_ext
7756
7757 # OK, works on sane cases. Now check whether nonexistent headers
7758 # can be detected and how.
7759 cat >conftest.$ac_ext <<_ACEOF
7760 /* confdefs.h. */
7761 _ACEOF
7762 cat confdefs.h >>conftest.$ac_ext
7763 cat >>conftest.$ac_ext <<_ACEOF
7764 /* end confdefs.h. */
7765 #include <ac_nonexistent.h>
7766 _ACEOF
7767 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7768 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7769 ac_status=$?
7770 grep -v '^ *+' conftest.er1 >conftest.err
7771 rm -f conftest.er1
7772 cat conftest.err >&5
7773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7774 (exit $ac_status); } >/dev/null; then
7775 if test -s conftest.err; then
7776 ac_cpp_err=$ac_cxx_preproc_warn_flag
7777 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7778 else
7779 ac_cpp_err=
7780 fi
7781 else
7782 ac_cpp_err=yes
7783 fi
7784 if test -z "$ac_cpp_err"; then
7785 # Broken: success on invalid input.
7786 continue
7787 else
7788 echo "$as_me: failed program was:" >&5
7789 sed 's/^/| /' conftest.$ac_ext >&5
7790
7791 # Passes both tests.
7792 ac_preproc_ok=:
7793 break
7794 fi
7795
7796 rm -f conftest.err conftest.$ac_ext
7797
7798 done
7799 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7800 rm -f conftest.err conftest.$ac_ext
7801 if $ac_preproc_ok; then
7802 break
7803 fi
7804
7805 done
7806 ac_cv_prog_CXXCPP=$CXXCPP
7807
7808 fi
7809 CXXCPP=$ac_cv_prog_CXXCPP
7810 else
7811 ac_cv_prog_CXXCPP=$CXXCPP
7812 fi
7813 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
7814 echo "${ECHO_T}$CXXCPP" >&6; }
7815 ac_preproc_ok=false
7816 for ac_cxx_preproc_warn_flag in '' yes
7817 do
7818 # Use a header file that comes with gcc, so configuring glibc
7819 # with a fresh cross-compiler works.
7820 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7821 # <limits.h> exists even on freestanding compilers.
7822 # On the NeXT, cc -E runs the code through the compiler's parser,
7823 # not just through cpp. "Syntax error" is here to catch this case.
7824 cat >conftest.$ac_ext <<_ACEOF
7825 /* confdefs.h. */
7826 _ACEOF
7827 cat confdefs.h >>conftest.$ac_ext
7828 cat >>conftest.$ac_ext <<_ACEOF
7829 /* end confdefs.h. */
7830 #ifdef __STDC__
7831 # include <limits.h>
7832 #else
7833 # include <assert.h>
7834 #endif
7835 Syntax error
7836 _ACEOF
7837 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7838 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7839 ac_status=$?
7840 grep -v '^ *+' conftest.er1 >conftest.err
7841 rm -f conftest.er1
7842 cat conftest.err >&5
7843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7844 (exit $ac_status); } >/dev/null; then
7845 if test -s conftest.err; then
7846 ac_cpp_err=$ac_cxx_preproc_warn_flag
7847 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7848 else
7849 ac_cpp_err=
7850 fi
7851 else
7852 ac_cpp_err=yes
7853 fi
7854 if test -z "$ac_cpp_err"; then
7855 :
7856 else
7857 echo "$as_me: failed program was:" >&5
7858 sed 's/^/| /' conftest.$ac_ext >&5
7859
7860 # Broken: fails on valid input.
7861 continue
7862 fi
7863
7864 rm -f conftest.err conftest.$ac_ext
7865
7866 # OK, works on sane cases. Now check whether nonexistent headers
7867 # can be detected and how.
7868 cat >conftest.$ac_ext <<_ACEOF
7869 /* confdefs.h. */
7870 _ACEOF
7871 cat confdefs.h >>conftest.$ac_ext
7872 cat >>conftest.$ac_ext <<_ACEOF
7873 /* end confdefs.h. */
7874 #include <ac_nonexistent.h>
7875 _ACEOF
7876 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7877 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7878 ac_status=$?
7879 grep -v '^ *+' conftest.er1 >conftest.err
7880 rm -f conftest.er1
7881 cat conftest.err >&5
7882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7883 (exit $ac_status); } >/dev/null; then
7884 if test -s conftest.err; then
7885 ac_cpp_err=$ac_cxx_preproc_warn_flag
7886 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7887 else
7888 ac_cpp_err=
7889 fi
7890 else
7891 ac_cpp_err=yes
7892 fi
7893 if test -z "$ac_cpp_err"; then
7894 # Broken: success on invalid input.
7895 continue
7896 else
7897 echo "$as_me: failed program was:" >&5
7898 sed 's/^/| /' conftest.$ac_ext >&5
7899
7900 # Passes both tests.
7901 ac_preproc_ok=:
7902 break
7903 fi
7904
7905 rm -f conftest.err conftest.$ac_ext
7906
7907 done
7908 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7909 rm -f conftest.err conftest.$ac_ext
7910 if $ac_preproc_ok; then
7911 :
7912 else
7913 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7914 See \`config.log' for more details." >&5
7915 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7916 See \`config.log' for more details." >&2;}
7917 { (exit 1); exit 1; }; }
7918 fi
7919
7920 ac_ext=c
7921 ac_cpp='$CPP $CPPFLAGS'
7922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7925
7926
7927
7928 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
7929 lt_save_CC="$CC"
7930 lt_save_CFLAGS="$CFLAGS"
7931 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
7932 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
7933 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
7934 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
7935 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
7936 deplibs_check_method="$deplibs_check_method" \
7937 file_magic_cmd="$file_magic_cmd" \
7938 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
7939 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
7940 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
7941 echo "$as_me: error: libtool tag configuration failed" >&2;}
7942 { (exit 1); exit 1; }; }
7943 CC="$lt_save_CC"
7944 CFLAGS="$lt_save_CFLAGS"
7945
7946 # Redirect the config.log output again, so that the ltconfig log is not
7947 # clobbered by the next message.
7948 exec 5>>./config.log
7949
7950
7951
7952
7953 if test "x${COMPILE_COLLECTIONS}" = xyes; then
7954 # Extract the first word of "perl", so it can be a program name with args.
7955 set dummy perl; ac_word=$2
7956 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7958 if test "${ac_cv_path_PERL+set}" = set; then
7959 echo $ECHO_N "(cached) $ECHO_C" >&6
7960 else
7961 case $PERL in
7962 [\\/]* | ?:[\\/]*)
7963 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
7964 ;;
7965 *)
7966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7967 for as_dir in $PATH
7968 do
7969 IFS=$as_save_IFS
7970 test -z "$as_dir" && as_dir=.
7971 for ac_exec_ext in '' $ac_executable_extensions; do
7972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7973 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
7974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7975 break 2
7976 fi
7977 done
7978 done
7979 IFS=$as_save_IFS
7980
7981 ;;
7982 esac
7983 fi
7984 PERL=$ac_cv_path_PERL
7985 if test -n "$PERL"; then
7986 { echo "$as_me:$LINENO: result: $PERL" >&5
7987 echo "${ECHO_T}$PERL" >&6; }
7988 else
7989 { echo "$as_me:$LINENO: result: no" >&5
7990 echo "${ECHO_T}no" >&6; }
7991 fi
7992
7993
7994
7995
7996 ac_config_files="$ac_config_files lib/mkcollections.pl"
7997
7998 ac_config_commands="$ac_config_commands mkcollections.pl"
7999
8000 fi
8001
8002 if test "x${COMPILE_JNI}" = xyes; then
8003 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8004 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
8005 if test "${ac_cv_header_stdc+set}" = set; then
8006 echo $ECHO_N "(cached) $ECHO_C" >&6
8007 else
8008 cat >conftest.$ac_ext <<_ACEOF
8009 /* confdefs.h. */
8010 _ACEOF
8011 cat confdefs.h >>conftest.$ac_ext
8012 cat >>conftest.$ac_ext <<_ACEOF
8013 /* end confdefs.h. */
8014 #include <stdlib.h>
8015 #include <stdarg.h>
8016 #include <string.h>
8017 #include <float.h>
8018
8019 int
8020 main ()
8021 {
8022
8023 ;
8024 return 0;
8025 }
8026 _ACEOF
8027 rm -f conftest.$ac_objext
8028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8029 (eval $ac_compile) 2>conftest.er1
8030 ac_status=$?
8031 grep -v '^ *+' conftest.er1 >conftest.err
8032 rm -f conftest.er1
8033 cat conftest.err >&5
8034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8035 (exit $ac_status); } &&
8036 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8038 (eval $ac_try) 2>&5
8039 ac_status=$?
8040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8041 (exit $ac_status); }; } &&
8042 { ac_try='test -s conftest.$ac_objext'
8043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8044 (eval $ac_try) 2>&5
8045 ac_status=$?
8046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8047 (exit $ac_status); }; }; then
8048 ac_cv_header_stdc=yes
8049 else
8050 echo "$as_me: failed program was:" >&5
8051 sed 's/^/| /' conftest.$ac_ext >&5
8052
8053 ac_cv_header_stdc=no
8054 fi
8055
8056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8057
8058 if test $ac_cv_header_stdc = yes; then
8059 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8060 cat >conftest.$ac_ext <<_ACEOF
8061 /* confdefs.h. */
8062 _ACEOF
8063 cat confdefs.h >>conftest.$ac_ext
8064 cat >>conftest.$ac_ext <<_ACEOF
8065 /* end confdefs.h. */
8066 #include <string.h>
8067
8068 _ACEOF
8069 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8070 $EGREP "memchr" >/dev/null 2>&1; then
8071 :
8072 else
8073 ac_cv_header_stdc=no
8074 fi
8075 rm -f conftest*
8076
8077 fi
8078
8079 if test $ac_cv_header_stdc = yes; then
8080 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8081 cat >conftest.$ac_ext <<_ACEOF
8082 /* confdefs.h. */
8083 _ACEOF
8084 cat confdefs.h >>conftest.$ac_ext
8085 cat >>conftest.$ac_ext <<_ACEOF
8086 /* end confdefs.h. */
8087 #include <stdlib.h>
8088
8089 _ACEOF
8090 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8091 $EGREP "free" >/dev/null 2>&1; then
8092 :
8093 else
8094 ac_cv_header_stdc=no
8095 fi
8096 rm -f conftest*
8097
8098 fi
8099
8100 if test $ac_cv_header_stdc = yes; then
8101 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8102 if test "$cross_compiling" = yes; then
8103 :
8104 else
8105 cat >conftest.$ac_ext <<_ACEOF
8106 /* confdefs.h. */
8107 _ACEOF
8108 cat confdefs.h >>conftest.$ac_ext
8109 cat >>conftest.$ac_ext <<_ACEOF
8110 /* end confdefs.h. */
8111 #include <ctype.h>
8112 #include <stdlib.h>
8113 #if ((' ' & 0x0FF) == 0x020)
8114 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8115 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8116 #else
8117 # define ISLOWER(c) \
8118 (('a' <= (c) && (c) <= 'i') \
8119 || ('j' <= (c) && (c) <= 'r') \
8120 || ('s' <= (c) && (c) <= 'z'))
8121 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8122 #endif
8123
8124 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8125 int
8126 main ()
8127 {
8128 int i;
8129 for (i = 0; i < 256; i++)
8130 if (XOR (islower (i), ISLOWER (i))
8131 || toupper (i) != TOUPPER (i))
8132 return 2;
8133 return 0;
8134 }
8135 _ACEOF
8136 rm -f conftest$ac_exeext
8137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8138 (eval $ac_link) 2>&5
8139 ac_status=$?
8140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8141 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8143 (eval $ac_try) 2>&5
8144 ac_status=$?
8145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8146 (exit $ac_status); }; }; then
8147 :
8148 else
8149 echo "$as_me: program exited with status $ac_status" >&5
8150 echo "$as_me: failed program was:" >&5
8151 sed 's/^/| /' conftest.$ac_ext >&5
8152
8153 ( exit $ac_status )
8154 ac_cv_header_stdc=no
8155 fi
8156 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8157 fi
8158
8159
8160 fi
8161 fi
8162 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8163 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
8164 if test $ac_cv_header_stdc = yes; then
8165
8166 cat >>confdefs.h <<\_ACEOF
8167 #define STDC_HEADERS 1
8168 _ACEOF
8169
8170 fi
8171
8172
8173 { echo "$as_me:$LINENO: checking size of void *" >&5
8174 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
8175 if test "${ac_cv_sizeof_void_p+set}" = set; then
8176 echo $ECHO_N "(cached) $ECHO_C" >&6
8177 else
8178 for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
8179 cat >conftest.$ac_ext <<_ACEOF
8180 /* confdefs.h. */
8181 _ACEOF
8182 cat confdefs.h >>conftest.$ac_ext
8183 cat >>conftest.$ac_ext <<_ACEOF
8184 /* end confdefs.h. */
8185 #include "confdefs.h"
8186 #include <sys/types.h>
8187
8188
8189 int
8190 main ()
8191 {
8192 switch (0) case 0: case (sizeof (void *) == $ac_size):;
8193 ;
8194 return 0;
8195 }
8196 _ACEOF
8197 rm -f conftest.$ac_objext
8198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8199 (eval $ac_compile) 2>conftest.er1
8200 ac_status=$?
8201 grep -v '^ *+' conftest.er1 >conftest.err
8202 rm -f conftest.er1
8203 cat conftest.err >&5
8204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8205 (exit $ac_status); } &&
8206 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8208 (eval $ac_try) 2>&5
8209 ac_status=$?
8210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8211 (exit $ac_status); }; } &&
8212 { ac_try='test -s conftest.$ac_objext'
8213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8214 (eval $ac_try) 2>&5
8215 ac_status=$?
8216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8217 (exit $ac_status); }; }; then
8218 ac_cv_sizeof_void_p=$ac_size
8219 else
8220 echo "$as_me: failed program was:" >&5
8221 sed 's/^/| /' conftest.$ac_ext >&5
8222
8223
8224 fi
8225
8226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8227 if test x$ac_cv_sizeof_void_p != x ; then break; fi
8228 done
8229
8230 fi
8231
8232 if test x$ac_cv_sizeof_void_p = x ; then
8233 { { echo "$as_me:$LINENO: error: cannot determine a size for void *" >&5
8234 echo "$as_me: error: cannot determine a size for void *" >&2;}
8235 { (exit 1); exit 1; }; }
8236 fi
8237 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
8238 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
8239
8240 cat >>confdefs.h <<_ACEOF
8241 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
8242 _ACEOF
8243
8244
8245
8246 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
8247 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
8248 if test "${ac_cv_c_bigendian+set}" = set; then
8249 echo $ECHO_N "(cached) $ECHO_C" >&6
8250 else
8251 ac_cv_c_bigendian=unknown
8252 # See if sys/param.h defines the BYTE_ORDER macro.
8253 cat >conftest.$ac_ext <<_ACEOF
8254 /* confdefs.h. */
8255 _ACEOF
8256 cat confdefs.h >>conftest.$ac_ext
8257 cat >>conftest.$ac_ext <<_ACEOF
8258 /* end confdefs.h. */
8259 #include <sys/types.h>
8260 #include <sys/param.h>
8261 int
8262 main ()
8263 {
8264
8265 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
8266 bogus endian macros
8267 #endif
8268 ;
8269 return 0;
8270 }
8271 _ACEOF
8272 rm -f conftest.$ac_objext
8273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8274 (eval $ac_compile) 2>conftest.er1
8275 ac_status=$?
8276 grep -v '^ *+' conftest.er1 >conftest.err
8277 rm -f conftest.er1
8278 cat conftest.err >&5
8279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8280 (exit $ac_status); } &&
8281 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8283 (eval $ac_try) 2>&5
8284 ac_status=$?
8285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8286 (exit $ac_status); }; } &&
8287 { ac_try='test -s conftest.$ac_objext'
8288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8289 (eval $ac_try) 2>&5
8290 ac_status=$?
8291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8292 (exit $ac_status); }; }; then
8293 # It does; now see whether it defined to BIG_ENDIAN or not.
8294 cat >conftest.$ac_ext <<_ACEOF
8295 /* confdefs.h. */
8296 _ACEOF
8297 cat confdefs.h >>conftest.$ac_ext
8298 cat >>conftest.$ac_ext <<_ACEOF
8299 /* end confdefs.h. */
8300 #include <sys/types.h>
8301 #include <sys/param.h>
8302 int
8303 main ()
8304 {
8305
8306 #if BYTE_ORDER != BIG_ENDIAN
8307 not big endian
8308 #endif
8309 ;
8310 return 0;
8311 }
8312 _ACEOF
8313 rm -f conftest.$ac_objext
8314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8315 (eval $ac_compile) 2>conftest.er1
8316 ac_status=$?
8317 grep -v '^ *+' conftest.er1 >conftest.err
8318 rm -f conftest.er1
8319 cat conftest.err >&5
8320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8321 (exit $ac_status); } &&
8322 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8324 (eval $ac_try) 2>&5
8325 ac_status=$?
8326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8327 (exit $ac_status); }; } &&
8328 { ac_try='test -s conftest.$ac_objext'
8329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8330 (eval $ac_try) 2>&5
8331 ac_status=$?
8332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8333 (exit $ac_status); }; }; then
8334 ac_cv_c_bigendian=yes
8335 else
8336 echo "$as_me: failed program was:" >&5
8337 sed 's/^/| /' conftest.$ac_ext >&5
8338
8339 ac_cv_c_bigendian=no
8340 fi
8341
8342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8343 else
8344 echo "$as_me: failed program was:" >&5
8345 sed 's/^/| /' conftest.$ac_ext >&5
8346
8347
8348 fi
8349
8350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8351 if test $ac_cv_c_bigendian = unknown; then
8352 if test "$cross_compiling" = yes; then
8353 echo $ac_n "cross-compiling... " 2>&6
8354 else
8355 cat >conftest.$ac_ext <<_ACEOF
8356 /* confdefs.h. */
8357 _ACEOF
8358 cat confdefs.h >>conftest.$ac_ext
8359 cat >>conftest.$ac_ext <<_ACEOF
8360 /* end confdefs.h. */
8361 main () {
8362 /* Are we little or big endian? From Harbison&Steele. */
8363 union
8364 {
8365 long l;
8366 char c[sizeof (long)];
8367 } u;
8368 u.l = 1;
8369 exit (u.c[sizeof (long) - 1] == 1);
8370 }
8371 _ACEOF
8372 rm -f conftest$ac_exeext
8373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8374 (eval $ac_link) 2>&5
8375 ac_status=$?
8376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8377 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8379 (eval $ac_try) 2>&5
8380 ac_status=$?
8381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8382 (exit $ac_status); }; }; then
8383 ac_cv_c_bigendian=no
8384 else
8385 echo "$as_me: program exited with status $ac_status" >&5
8386 echo "$as_me: failed program was:" >&5
8387 sed 's/^/| /' conftest.$ac_ext >&5
8388
8389 ( exit $ac_status )
8390 ac_cv_c_bigendian=yes
8391 fi
8392 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8393 fi
8394
8395
8396 fi
8397 fi
8398 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
8399 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
8400 if test $ac_cv_c_bigendian = unknown; then
8401 { echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
8402 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6; }
8403
8404 cat >conftest.c <<EOF
8405 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
8406 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
8407 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
8408 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
8409 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
8410 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
8411 int main() { _ascii (); _ebcdic (); return 0; }
8412 EOF
8413 if test -f conftest.c ; then
8414 if ${CC-cc} ${CFLAGS} -c conftest.c -o conftest.o && test -f conftest.o ; then
8415 if test `grep -l BIGenDianSyS conftest.o` ; then
8416 echo $ac_n ' big endian probe OK, ' 1>&6
8417 ac_cv_c_bigendian=yes
8418 fi
8419 if test `grep -l LiTTleEnDian conftest.o` ; then
8420 echo $ac_n ' little endian probe OK, ' 1>&6
8421 if test $ac_cv_c_bigendian = yes ; then
8422 ac_cv_c_bigendian=unknown;
8423 else
8424 ac_cv_c_bigendian=no
8425 fi
8426 fi
8427 echo $ac_n 'guessing bigendian ... ' >&6
8428 fi
8429 fi
8430 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
8431 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
8432 fi
8433 if test $ac_cv_c_bigendian = yes; then
8434
8435 cat >>confdefs.h <<\_ACEOF
8436 #define WORDS_BIGENDIAN 1
8437 _ACEOF
8438
8439
8440 cat >>confdefs.h <<\_ACEOF
8441 #define HOST_WORDS_BIG_ENDIAN 1
8442 _ACEOF
8443
8444 BYTEORDER=4321
8445 else
8446 BYTEORDER=1234
8447 fi
8448
8449 cat >>confdefs.h <<_ACEOF
8450 #define BYTEORDER $BYTEORDER
8451 _ACEOF
8452
8453 if test $ac_cv_c_bigendian = unknown; then
8454 { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5
8455 echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;}
8456 { (exit 1); exit 1; }; }
8457 fi
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475 for ac_header in unistd.h sys/types.h sys/config.h sys/ioctl.h \
8476 asm/ioctls.h \
8477 inttypes.h stdint.h utime.h sys/utime.h sys/filio.h \
8478 sys/time.h \
8479 sys/select.h \
8480 crt_externs.h \
8481 fcntl.h \
8482 sys/mman.h
8483 do
8484 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8485 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8486 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8488 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8489 echo $ECHO_N "(cached) $ECHO_C" >&6
8490 fi
8491 ac_res=`eval echo '${'$as_ac_Header'}'`
8492 { echo "$as_me:$LINENO: result: $ac_res" >&5
8493 echo "${ECHO_T}$ac_res" >&6; }
8494 else
8495 # Is the header compilable?
8496 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8497 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8498 cat >conftest.$ac_ext <<_ACEOF
8499 /* confdefs.h. */
8500 _ACEOF
8501 cat confdefs.h >>conftest.$ac_ext
8502 cat >>conftest.$ac_ext <<_ACEOF
8503 /* end confdefs.h. */
8504 $ac_includes_default
8505 #include <$ac_header>
8506 _ACEOF
8507 rm -f conftest.$ac_objext
8508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8509 (eval $ac_compile) 2>conftest.er1
8510 ac_status=$?
8511 grep -v '^ *+' conftest.er1 >conftest.err
8512 rm -f conftest.er1
8513 cat conftest.err >&5
8514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8515 (exit $ac_status); } &&
8516 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8518 (eval $ac_try) 2>&5
8519 ac_status=$?
8520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8521 (exit $ac_status); }; } &&
8522 { ac_try='test -s conftest.$ac_objext'
8523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8524 (eval $ac_try) 2>&5
8525 ac_status=$?
8526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8527 (exit $ac_status); }; }; then
8528 ac_header_compiler=yes
8529 else
8530 echo "$as_me: failed program was:" >&5
8531 sed 's/^/| /' conftest.$ac_ext >&5
8532
8533 ac_header_compiler=no
8534 fi
8535
8536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8537 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8538 echo "${ECHO_T}$ac_header_compiler" >&6; }
8539
8540 # Is the header present?
8541 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8542 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8543 cat >conftest.$ac_ext <<_ACEOF
8544 /* confdefs.h. */
8545 _ACEOF
8546 cat confdefs.h >>conftest.$ac_ext
8547 cat >>conftest.$ac_ext <<_ACEOF
8548 /* end confdefs.h. */
8549 #include <$ac_header>
8550 _ACEOF
8551 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8552 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8553 ac_status=$?
8554 grep -v '^ *+' conftest.er1 >conftest.err
8555 rm -f conftest.er1
8556 cat conftest.err >&5
8557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8558 (exit $ac_status); } >/dev/null; then
8559 if test -s conftest.err; then
8560 ac_cpp_err=$ac_c_preproc_warn_flag
8561 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8562 else
8563 ac_cpp_err=
8564 fi
8565 else
8566 ac_cpp_err=yes
8567 fi
8568 if test -z "$ac_cpp_err"; then
8569 ac_header_preproc=yes
8570 else
8571 echo "$as_me: failed program was:" >&5
8572 sed 's/^/| /' conftest.$ac_ext >&5
8573
8574 ac_header_preproc=no
8575 fi
8576
8577 rm -f conftest.err conftest.$ac_ext
8578 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8579 echo "${ECHO_T}$ac_header_preproc" >&6; }
8580
8581 # So? What about this header?
8582 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8583 yes:no: )
8584 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8585 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8586 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8587 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8588 ac_header_preproc=yes
8589 ;;
8590 no:yes:* )
8591 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8592 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8593 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8594 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8595 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8596 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8597 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8598 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8599 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8600 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8601 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8602 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8603 ( cat <<\_ASBOX
8604 ## -------------------------------- ##
8605 ## Report this to classpath@gnu.org ##
8606 ## -------------------------------- ##
8607 _ASBOX
8608 ) | sed "s/^/$as_me: WARNING: /" >&2
8609 ;;
8610 esac
8611 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8612 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8613 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8614 echo $ECHO_N "(cached) $ECHO_C" >&6
8615 else
8616 eval "$as_ac_Header=\$ac_header_preproc"
8617 fi
8618 ac_res=`eval echo '${'$as_ac_Header'}'`
8619 { echo "$as_me:$LINENO: result: $ac_res" >&5
8620 echo "${ECHO_T}$ac_res" >&6; }
8621
8622 fi
8623 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8624 cat >>confdefs.h <<_ACEOF
8625 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8626 _ACEOF
8627
8628 fi
8629
8630 done
8631
8632
8633 cat >conftest.$ac_ext <<_ACEOF
8634 /* confdefs.h. */
8635 _ACEOF
8636 cat confdefs.h >>conftest.$ac_ext
8637 cat >>conftest.$ac_ext <<_ACEOF
8638 /* end confdefs.h. */
8639 #include <stdint.h>
8640
8641 _ACEOF
8642 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8643 $EGREP "uint32_t" >/dev/null 2>&1; then
8644
8645 cat >>confdefs.h <<\_ACEOF
8646 #define HAVE_INT32_DEFINED 1
8647 _ACEOF
8648
8649 fi
8650 rm -f conftest*
8651
8652 cat >conftest.$ac_ext <<_ACEOF
8653 /* confdefs.h. */
8654 _ACEOF
8655 cat confdefs.h >>conftest.$ac_ext
8656 cat >>conftest.$ac_ext <<_ACEOF
8657 /* end confdefs.h. */
8658 #include <inttypes.h>
8659
8660 _ACEOF
8661 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8662 $EGREP "uint32_t" >/dev/null 2>&1; then
8663
8664 cat >>confdefs.h <<\_ACEOF
8665 #define HAVE_INT32_DEFINED 1
8666 _ACEOF
8667
8668 fi
8669 rm -f conftest*
8670
8671 cat >conftest.$ac_ext <<_ACEOF
8672 /* confdefs.h. */
8673 _ACEOF
8674 cat confdefs.h >>conftest.$ac_ext
8675 cat >>conftest.$ac_ext <<_ACEOF
8676 /* end confdefs.h. */
8677 #include <sys/types.h>
8678
8679 _ACEOF
8680 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8681 $EGREP "u_int32_t" >/dev/null 2>&1; then
8682
8683 cat >>confdefs.h <<\_ACEOF
8684 #define HAVE_BSD_INT32_DEFINED 1
8685 _ACEOF
8686
8687 fi
8688 rm -f conftest*
8689
8690 cat >conftest.$ac_ext <<_ACEOF
8691 /* confdefs.h. */
8692 _ACEOF
8693 cat confdefs.h >>conftest.$ac_ext
8694 cat >>conftest.$ac_ext <<_ACEOF
8695 /* end confdefs.h. */
8696 #include <sys/config.h>
8697
8698 _ACEOF
8699 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8700 $EGREP "u_int32_t" >/dev/null 2>&1; then
8701
8702 cat >>confdefs.h <<\_ACEOF
8703 #define HAVE_BSD_INT32_DEFINED 1
8704 _ACEOF
8705
8706 fi
8707 rm -f conftest*
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751 for ac_func in ftruncate fsync select \
8752 gethostname socket strerror fork pipe execve open close \
8753 lseek fstat read write htonl memset htons connect \
8754 getsockname getpeername bind listen accept \
8755 recvfrom send sendto setsockopt getsockopt time mktime \
8756 localtime_r \
8757 strerror_r \
8758 fcntl \
8759 mmap munmap mincore msync madvise getpagesize sysconf \
8760
8761 do
8762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8763 { echo "$as_me:$LINENO: checking for $ac_func" >&5
8764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8765 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8766 echo $ECHO_N "(cached) $ECHO_C" >&6
8767 else
8768 cat >conftest.$ac_ext <<_ACEOF
8769 /* confdefs.h. */
8770 _ACEOF
8771 cat confdefs.h >>conftest.$ac_ext
8772 cat >>conftest.$ac_ext <<_ACEOF
8773 /* end confdefs.h. */
8774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8776 #define $ac_func innocuous_$ac_func
8777
8778 /* System header to define __stub macros and hopefully few prototypes,
8779 which can conflict with char $ac_func (); below.
8780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8781 <limits.h> exists even on freestanding compilers. */
8782
8783 #ifdef __STDC__
8784 # include <limits.h>
8785 #else
8786 # include <assert.h>
8787 #endif
8788
8789 #undef $ac_func
8790
8791 /* Override any GCC internal prototype to avoid an error.
8792 Use char because int might match the return type of a GCC
8793 builtin and then its argument prototype would still apply. */
8794 #ifdef __cplusplus
8795 extern "C"
8796 #endif
8797 char $ac_func ();
8798 /* The GNU C library defines this for functions which it implements
8799 to always fail with ENOSYS. Some functions are actually named
8800 something starting with __ and the normal name is an alias. */
8801 #if defined __stub_$ac_func || defined __stub___$ac_func
8802 choke me
8803 #endif
8804
8805 int
8806 main ()
8807 {
8808 return $ac_func ();
8809 ;
8810 return 0;
8811 }
8812 _ACEOF
8813 rm -f conftest.$ac_objext conftest$ac_exeext
8814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8815 (eval $ac_link) 2>conftest.er1
8816 ac_status=$?
8817 grep -v '^ *+' conftest.er1 >conftest.err
8818 rm -f conftest.er1
8819 cat conftest.err >&5
8820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8821 (exit $ac_status); } &&
8822 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8824 (eval $ac_try) 2>&5
8825 ac_status=$?
8826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8827 (exit $ac_status); }; } &&
8828 { ac_try='test -s conftest$ac_exeext'
8829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8830 (eval $ac_try) 2>&5
8831 ac_status=$?
8832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8833 (exit $ac_status); }; }; then
8834 eval "$as_ac_var=yes"
8835 else
8836 echo "$as_me: failed program was:" >&5
8837 sed 's/^/| /' conftest.$ac_ext >&5
8838
8839 eval "$as_ac_var=no"
8840 fi
8841
8842 rm -f conftest.err conftest.$ac_objext \
8843 conftest$ac_exeext conftest.$ac_ext
8844 fi
8845 ac_res=`eval echo '${'$as_ac_var'}'`
8846 { echo "$as_me:$LINENO: result: $ac_res" >&5
8847 echo "${ECHO_T}$ac_res" >&6; }
8848 if test `eval echo '${'$as_ac_var'}'` = yes; then
8849 cat >>confdefs.h <<_ACEOF
8850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8851 _ACEOF
8852
8853 fi
8854 done
8855
8856
8857 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
8858 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
8859 if test "${ac_cv_header_time+set}" = set; then
8860 echo $ECHO_N "(cached) $ECHO_C" >&6
8861 else
8862 cat >conftest.$ac_ext <<_ACEOF
8863 /* confdefs.h. */
8864 _ACEOF
8865 cat confdefs.h >>conftest.$ac_ext
8866 cat >>conftest.$ac_ext <<_ACEOF
8867 /* end confdefs.h. */
8868 #include <sys/types.h>
8869 #include <sys/time.h>
8870 #include <time.h>
8871
8872 int
8873 main ()
8874 {
8875 if ((struct tm *) 0)
8876 return 0;
8877 ;
8878 return 0;
8879 }
8880 _ACEOF
8881 rm -f conftest.$ac_objext
8882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8883 (eval $ac_compile) 2>conftest.er1
8884 ac_status=$?
8885 grep -v '^ *+' conftest.er1 >conftest.err
8886 rm -f conftest.er1
8887 cat conftest.err >&5
8888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8889 (exit $ac_status); } &&
8890 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8892 (eval $ac_try) 2>&5
8893 ac_status=$?
8894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8895 (exit $ac_status); }; } &&
8896 { ac_try='test -s conftest.$ac_objext'
8897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8898 (eval $ac_try) 2>&5
8899 ac_status=$?
8900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8901 (exit $ac_status); }; }; then
8902 ac_cv_header_time=yes
8903 else
8904 echo "$as_me: failed program was:" >&5
8905 sed 's/^/| /' conftest.$ac_ext >&5
8906
8907 ac_cv_header_time=no
8908 fi
8909
8910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8911 fi
8912 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
8913 echo "${ECHO_T}$ac_cv_header_time" >&6; }
8914 if test $ac_cv_header_time = yes; then
8915
8916 cat >>confdefs.h <<\_ACEOF
8917 #define TIME_WITH_SYS_TIME 1
8918 _ACEOF
8919
8920 fi
8921
8922 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
8923 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
8924 if test "${ac_cv_struct_tm+set}" = set; then
8925 echo $ECHO_N "(cached) $ECHO_C" >&6
8926 else
8927 cat >conftest.$ac_ext <<_ACEOF
8928 /* confdefs.h. */
8929 _ACEOF
8930 cat confdefs.h >>conftest.$ac_ext
8931 cat >>conftest.$ac_ext <<_ACEOF
8932 /* end confdefs.h. */
8933 #include <sys/types.h>
8934 #include <time.h>
8935
8936 int
8937 main ()
8938 {
8939 struct tm *tp; tp->tm_sec;
8940 ;
8941 return 0;
8942 }
8943 _ACEOF
8944 rm -f conftest.$ac_objext
8945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8946 (eval $ac_compile) 2>conftest.er1
8947 ac_status=$?
8948 grep -v '^ *+' conftest.er1 >conftest.err
8949 rm -f conftest.er1
8950 cat conftest.err >&5
8951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8952 (exit $ac_status); } &&
8953 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8955 (eval $ac_try) 2>&5
8956 ac_status=$?
8957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8958 (exit $ac_status); }; } &&
8959 { ac_try='test -s conftest.$ac_objext'
8960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8961 (eval $ac_try) 2>&5
8962 ac_status=$?
8963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8964 (exit $ac_status); }; }; then
8965 ac_cv_struct_tm=time.h
8966 else
8967 echo "$as_me: failed program was:" >&5
8968 sed 's/^/| /' conftest.$ac_ext >&5
8969
8970 ac_cv_struct_tm=sys/time.h
8971 fi
8972
8973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8974 fi
8975 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
8976 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
8977 if test $ac_cv_struct_tm = sys/time.h; then
8978
8979 cat >>confdefs.h <<\_ACEOF
8980 #define TM_IN_SYS_TIME 1
8981 _ACEOF
8982
8983 fi
8984
8985 { echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
8986 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6; }
8987 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
8988 echo $ECHO_N "(cached) $ECHO_C" >&6
8989 else
8990 cat >conftest.$ac_ext <<_ACEOF
8991 /* confdefs.h. */
8992 _ACEOF
8993 cat confdefs.h >>conftest.$ac_ext
8994 cat >>conftest.$ac_ext <<_ACEOF
8995 /* end confdefs.h. */
8996 #include <sys/types.h>
8997 #include <$ac_cv_struct_tm>
8998
8999
9000 int
9001 main ()
9002 {
9003 static struct tm ac_aggr;
9004 if (ac_aggr.tm_zone)
9005 return 0;
9006 ;
9007 return 0;
9008 }
9009 _ACEOF
9010 rm -f conftest.$ac_objext
9011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9012 (eval $ac_compile) 2>conftest.er1
9013 ac_status=$?
9014 grep -v '^ *+' conftest.er1 >conftest.err
9015 rm -f conftest.er1
9016 cat conftest.err >&5
9017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9018 (exit $ac_status); } &&
9019 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9021 (eval $ac_try) 2>&5
9022 ac_status=$?
9023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9024 (exit $ac_status); }; } &&
9025 { ac_try='test -s conftest.$ac_objext'
9026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9027 (eval $ac_try) 2>&5
9028 ac_status=$?
9029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9030 (exit $ac_status); }; }; then
9031 ac_cv_member_struct_tm_tm_zone=yes
9032 else
9033 echo "$as_me: failed program was:" >&5
9034 sed 's/^/| /' conftest.$ac_ext >&5
9035
9036 cat >conftest.$ac_ext <<_ACEOF
9037 /* confdefs.h. */
9038 _ACEOF
9039 cat confdefs.h >>conftest.$ac_ext
9040 cat >>conftest.$ac_ext <<_ACEOF
9041 /* end confdefs.h. */
9042 #include <sys/types.h>
9043 #include <$ac_cv_struct_tm>
9044
9045
9046 int
9047 main ()
9048 {
9049 static struct tm ac_aggr;
9050 if (sizeof ac_aggr.tm_zone)
9051 return 0;
9052 ;
9053 return 0;
9054 }
9055 _ACEOF
9056 rm -f conftest.$ac_objext
9057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9058 (eval $ac_compile) 2>conftest.er1
9059 ac_status=$?
9060 grep -v '^ *+' conftest.er1 >conftest.err
9061 rm -f conftest.er1
9062 cat conftest.err >&5
9063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9064 (exit $ac_status); } &&
9065 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9067 (eval $ac_try) 2>&5
9068 ac_status=$?
9069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9070 (exit $ac_status); }; } &&
9071 { ac_try='test -s conftest.$ac_objext'
9072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9073 (eval $ac_try) 2>&5
9074 ac_status=$?
9075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9076 (exit $ac_status); }; }; then
9077 ac_cv_member_struct_tm_tm_zone=yes
9078 else
9079 echo "$as_me: failed program was:" >&5
9080 sed 's/^/| /' conftest.$ac_ext >&5
9081
9082 ac_cv_member_struct_tm_tm_zone=no
9083 fi
9084
9085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9086 fi
9087
9088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9089 fi
9090 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
9091 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6; }
9092 if test $ac_cv_member_struct_tm_tm_zone = yes; then
9093
9094 cat >>confdefs.h <<_ACEOF
9095 #define HAVE_STRUCT_TM_TM_ZONE 1
9096 _ACEOF
9097
9098
9099 fi
9100
9101 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
9102
9103 cat >>confdefs.h <<\_ACEOF
9104 #define HAVE_TM_ZONE 1
9105 _ACEOF
9106
9107 else
9108 { echo "$as_me:$LINENO: checking whether tzname is declared" >&5
9109 echo $ECHO_N "checking whether tzname is declared... $ECHO_C" >&6; }
9110 if test "${ac_cv_have_decl_tzname+set}" = set; then
9111 echo $ECHO_N "(cached) $ECHO_C" >&6
9112 else
9113 cat >conftest.$ac_ext <<_ACEOF
9114 /* confdefs.h. */
9115 _ACEOF
9116 cat confdefs.h >>conftest.$ac_ext
9117 cat >>conftest.$ac_ext <<_ACEOF
9118 /* end confdefs.h. */
9119 #include <time.h>
9120
9121 int
9122 main ()
9123 {
9124 #ifndef tzname
9125 char *p = (char *) tzname;
9126 return !p;
9127 #endif
9128
9129 ;
9130 return 0;
9131 }
9132 _ACEOF
9133 rm -f conftest.$ac_objext
9134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9135 (eval $ac_compile) 2>conftest.er1
9136 ac_status=$?
9137 grep -v '^ *+' conftest.er1 >conftest.err
9138 rm -f conftest.er1
9139 cat conftest.err >&5
9140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9141 (exit $ac_status); } &&
9142 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9144 (eval $ac_try) 2>&5
9145 ac_status=$?
9146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9147 (exit $ac_status); }; } &&
9148 { ac_try='test -s conftest.$ac_objext'
9149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9150 (eval $ac_try) 2>&5
9151 ac_status=$?
9152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9153 (exit $ac_status); }; }; then
9154 ac_cv_have_decl_tzname=yes
9155 else
9156 echo "$as_me: failed program was:" >&5
9157 sed 's/^/| /' conftest.$ac_ext >&5
9158
9159 ac_cv_have_decl_tzname=no
9160 fi
9161
9162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9163 fi
9164 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5
9165 echo "${ECHO_T}$ac_cv_have_decl_tzname" >&6; }
9166 if test $ac_cv_have_decl_tzname = yes; then
9167
9168 cat >>confdefs.h <<_ACEOF
9169 #define HAVE_DECL_TZNAME 1
9170 _ACEOF
9171
9172
9173 else
9174 cat >>confdefs.h <<_ACEOF
9175 #define HAVE_DECL_TZNAME 0
9176 _ACEOF
9177
9178
9179 fi
9180
9181
9182 { echo "$as_me:$LINENO: checking for tzname" >&5
9183 echo $ECHO_N "checking for tzname... $ECHO_C" >&6; }
9184 if test "${ac_cv_var_tzname+set}" = set; then
9185 echo $ECHO_N "(cached) $ECHO_C" >&6
9186 else
9187 cat >conftest.$ac_ext <<_ACEOF
9188 /* confdefs.h. */
9189 _ACEOF
9190 cat confdefs.h >>conftest.$ac_ext
9191 cat >>conftest.$ac_ext <<_ACEOF
9192 /* end confdefs.h. */
9193 #include <time.h>
9194 #if !HAVE_DECL_TZNAME
9195 extern char *tzname[];
9196 #endif
9197
9198 int
9199 main ()
9200 {
9201 return tzname[0][0];
9202 ;
9203 return 0;
9204 }
9205 _ACEOF
9206 rm -f conftest.$ac_objext conftest$ac_exeext
9207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9208 (eval $ac_link) 2>conftest.er1
9209 ac_status=$?
9210 grep -v '^ *+' conftest.er1 >conftest.err
9211 rm -f conftest.er1
9212 cat conftest.err >&5
9213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9214 (exit $ac_status); } &&
9215 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9217 (eval $ac_try) 2>&5
9218 ac_status=$?
9219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9220 (exit $ac_status); }; } &&
9221 { ac_try='test -s conftest$ac_exeext'
9222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9223 (eval $ac_try) 2>&5
9224 ac_status=$?
9225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9226 (exit $ac_status); }; }; then
9227 ac_cv_var_tzname=yes
9228 else
9229 echo "$as_me: failed program was:" >&5
9230 sed 's/^/| /' conftest.$ac_ext >&5
9231
9232 ac_cv_var_tzname=no
9233 fi
9234
9235 rm -f conftest.err conftest.$ac_objext \
9236 conftest$ac_exeext conftest.$ac_ext
9237 fi
9238 { echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
9239 echo "${ECHO_T}$ac_cv_var_tzname" >&6; }
9240 if test $ac_cv_var_tzname = yes; then
9241
9242 cat >>confdefs.h <<\_ACEOF
9243 #define HAVE_TZNAME 1
9244 _ACEOF
9245
9246 fi
9247 fi
9248
9249
9250 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
9251 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
9252 cat >conftest.$ac_ext <<_ACEOF
9253 /* confdefs.h. */
9254 _ACEOF
9255 cat confdefs.h >>conftest.$ac_ext
9256 cat >>conftest.$ac_ext <<_ACEOF
9257 /* end confdefs.h. */
9258 #include <time.h>
9259 int
9260 main ()
9261 {
9262 struct tm tim; tim.tm_gmtoff = 0;
9263 ;
9264 return 0;
9265 }
9266 _ACEOF
9267 rm -f conftest.$ac_objext
9268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9269 (eval $ac_compile) 2>conftest.er1
9270 ac_status=$?
9271 grep -v '^ *+' conftest.er1 >conftest.err
9272 rm -f conftest.er1
9273 cat conftest.err >&5
9274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9275 (exit $ac_status); } &&
9276 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9278 (eval $ac_try) 2>&5
9279 ac_status=$?
9280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9281 (exit $ac_status); }; } &&
9282 { ac_try='test -s conftest.$ac_objext'
9283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9284 (eval $ac_try) 2>&5
9285 ac_status=$?
9286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9287 (exit $ac_status); }; }; then
9288
9289 cat >>confdefs.h <<\_ACEOF
9290 #define STRUCT_TM_HAS_GMTOFF 1
9291 _ACEOF
9292
9293 { echo "$as_me:$LINENO: result: yes" >&5
9294 echo "${ECHO_T}yes" >&6; }
9295 else
9296 echo "$as_me: failed program was:" >&5
9297 sed 's/^/| /' conftest.$ac_ext >&5
9298
9299 { echo "$as_me:$LINENO: result: no" >&5
9300 echo "${ECHO_T}no" >&6; }
9301 { echo "$as_me:$LINENO: checking for global timezone variable" >&5
9302 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6; }
9303 cat >conftest.$ac_ext <<_ACEOF
9304 /* confdefs.h. */
9305 _ACEOF
9306 cat confdefs.h >>conftest.$ac_ext
9307 cat >>conftest.$ac_ext <<_ACEOF
9308 /* end confdefs.h. */
9309 #include <time.h>
9310 int
9311 main ()
9312 {
9313 void i(){long z2 = 2*timezone;}
9314 ;
9315 return 0;
9316 }
9317 _ACEOF
9318 rm -f conftest.$ac_objext
9319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9320 (eval $ac_compile) 2>conftest.er1
9321 ac_status=$?
9322 grep -v '^ *+' conftest.er1 >conftest.err
9323 rm -f conftest.er1
9324 cat conftest.err >&5
9325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9326 (exit $ac_status); } &&
9327 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9329 (eval $ac_try) 2>&5
9330 ac_status=$?
9331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9332 (exit $ac_status); }; } &&
9333 { ac_try='test -s conftest.$ac_objext'
9334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9335 (eval $ac_try) 2>&5
9336 ac_status=$?
9337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9338 (exit $ac_status); }; }; then
9339
9340 cat >>confdefs.h <<\_ACEOF
9341 #define HAVE_TIMEZONE 1
9342 _ACEOF
9343
9344 { echo "$as_me:$LINENO: result: yes" >&5
9345 echo "${ECHO_T}yes" >&6; }
9346 else
9347 echo "$as_me: failed program was:" >&5
9348 sed 's/^/| /' conftest.$ac_ext >&5
9349
9350 { echo "$as_me:$LINENO: result: no" >&5
9351 echo "${ECHO_T}no" >&6; }
9352 { echo "$as_me:$LINENO: checking for global _timezone variable" >&5
9353 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6; }
9354 cat >conftest.$ac_ext <<_ACEOF
9355 /* confdefs.h. */
9356 _ACEOF
9357 cat confdefs.h >>conftest.$ac_ext
9358 cat >>conftest.$ac_ext <<_ACEOF
9359 /* end confdefs.h. */
9360 #include <time.h>
9361 int
9362 main ()
9363 {
9364 long z2 = _timezone;
9365 ;
9366 return 0;
9367 }
9368 _ACEOF
9369 rm -f conftest.$ac_objext
9370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9371 (eval $ac_compile) 2>conftest.er1
9372 ac_status=$?
9373 grep -v '^ *+' conftest.er1 >conftest.err
9374 rm -f conftest.er1
9375 cat conftest.err >&5
9376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9377 (exit $ac_status); } &&
9378 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9380 (eval $ac_try) 2>&5
9381 ac_status=$?
9382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9383 (exit $ac_status); }; } &&
9384 { ac_try='test -s conftest.$ac_objext'
9385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9386 (eval $ac_try) 2>&5
9387 ac_status=$?
9388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9389 (exit $ac_status); }; }; then
9390
9391 cat >>confdefs.h <<\_ACEOF
9392 #define HAVE_UNDERSCORE_TIMEZONE 1
9393 _ACEOF
9394
9395 { echo "$as_me:$LINENO: result: yes" >&5
9396 echo "${ECHO_T}yes" >&6; }
9397 else
9398 echo "$as_me: failed program was:" >&5
9399 sed 's/^/| /' conftest.$ac_ext >&5
9400
9401 { echo "$as_me:$LINENO: result: no" >&5
9402 echo "${ECHO_T}no" >&6; }
9403 fi
9404
9405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9406 fi
9407
9408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9409 fi
9410
9411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9412
9413 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
9414 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
9415 if test "${ac_cv_c_const+set}" = set; then
9416 echo $ECHO_N "(cached) $ECHO_C" >&6
9417 else
9418 cat >conftest.$ac_ext <<_ACEOF
9419 /* confdefs.h. */
9420 _ACEOF
9421 cat confdefs.h >>conftest.$ac_ext
9422 cat >>conftest.$ac_ext <<_ACEOF
9423 /* end confdefs.h. */
9424
9425 int
9426 main ()
9427 {
9428 /* FIXME: Include the comments suggested by Paul. */
9429 #ifndef __cplusplus
9430 /* Ultrix mips cc rejects this. */
9431 typedef int charset[2];
9432 const charset x;
9433 /* SunOS 4.1.1 cc rejects this. */
9434 char const *const *ccp;
9435 char **p;
9436 /* NEC SVR4.0.2 mips cc rejects this. */
9437 struct point {int x, y;};
9438 static struct point const zero = {0,0};
9439 /* AIX XL C 1.02.0.0 rejects this.
9440 It does not let you subtract one const X* pointer from another in
9441 an arm of an if-expression whose if-part is not a constant
9442 expression */
9443 const char *g = "string";
9444 ccp = &g + (g ? g-g : 0);
9445 /* HPUX 7.0 cc rejects these. */
9446 ++ccp;
9447 p = (char**) ccp;
9448 ccp = (char const *const *) p;
9449 { /* SCO 3.2v4 cc rejects this. */
9450 char *t;
9451 char const *s = 0 ? (char *) 0 : (char const *) 0;
9452
9453 *t++ = 0;
9454 if (s) return 0;
9455 }
9456 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9457 int x[] = {25, 17};
9458 const int *foo = &x[0];
9459 ++foo;
9460 }
9461 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9462 typedef const int *iptr;
9463 iptr p = 0;
9464 ++p;
9465 }
9466 { /* AIX XL C 1.02.0.0 rejects this saying
9467 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9468 struct s { int j; const int *ap[3]; };
9469 struct s *b; b->j = 5;
9470 }
9471 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9472 const int foo = 10;
9473 if (!foo) return 0;
9474 }
9475 return !x[0] && !zero.x;
9476 #endif
9477
9478 ;
9479 return 0;
9480 }
9481 _ACEOF
9482 rm -f conftest.$ac_objext
9483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9484 (eval $ac_compile) 2>conftest.er1
9485 ac_status=$?
9486 grep -v '^ *+' conftest.er1 >conftest.err
9487 rm -f conftest.er1
9488 cat conftest.err >&5
9489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9490 (exit $ac_status); } &&
9491 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9493 (eval $ac_try) 2>&5
9494 ac_status=$?
9495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9496 (exit $ac_status); }; } &&
9497 { ac_try='test -s conftest.$ac_objext'
9498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9499 (eval $ac_try) 2>&5
9500 ac_status=$?
9501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9502 (exit $ac_status); }; }; then
9503 ac_cv_c_const=yes
9504 else
9505 echo "$as_me: failed program was:" >&5
9506 sed 's/^/| /' conftest.$ac_ext >&5
9507
9508 ac_cv_c_const=no
9509 fi
9510
9511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9512 fi
9513 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
9514 echo "${ECHO_T}$ac_cv_c_const" >&6; }
9515 if test $ac_cv_c_const = no; then
9516
9517 cat >>confdefs.h <<\_ACEOF
9518 #define const
9519 _ACEOF
9520
9521 fi
9522
9523 { echo "$as_me:$LINENO: checking for __attribute__" >&5
9524 echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6; }
9525 if test "${ac_cv_c_attribute+set}" = set; then
9526 echo $ECHO_N "(cached) $ECHO_C" >&6
9527 else
9528
9529 cat >conftest.$ac_ext <<_ACEOF
9530 /* confdefs.h. */
9531 _ACEOF
9532 cat confdefs.h >>conftest.$ac_ext
9533 cat >>conftest.$ac_ext <<_ACEOF
9534 /* end confdefs.h. */
9535 void foo(void) __attribute__ ((__noreturn__));
9536
9537 _ACEOF
9538 rm -f conftest.$ac_objext
9539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9540 (eval $ac_compile) 2>conftest.er1
9541 ac_status=$?
9542 grep -v '^ *+' conftest.er1 >conftest.err
9543 rm -f conftest.er1
9544 cat conftest.err >&5
9545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9546 (exit $ac_status); } &&
9547 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9549 (eval $ac_try) 2>&5
9550 ac_status=$?
9551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9552 (exit $ac_status); }; } &&
9553 { ac_try='test -s conftest.$ac_objext'
9554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9555 (eval $ac_try) 2>&5
9556 ac_status=$?
9557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9558 (exit $ac_status); }; }; then
9559 ac_cv_c_attribute=yes
9560 else
9561 echo "$as_me: failed program was:" >&5
9562 sed 's/^/| /' conftest.$ac_ext >&5
9563
9564 ac_cv_c_attribute=no
9565
9566 fi
9567
9568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9569
9570 fi
9571 { echo "$as_me:$LINENO: result: $ac_cv_c_attribute" >&5
9572 echo "${ECHO_T}$ac_cv_c_attribute" >&6; }
9573
9574
9575 case $ac_cv_c_attribute in
9576 yes) ;;
9577 no)
9578 cat >>confdefs.h <<_ACEOF
9579 #define __attribute__(x) /* nothing */
9580 _ACEOF
9581 ;;
9582 esac
9583
9584
9585
9586 if test "X$prefix" = "XNONE"; then
9587 acl_final_prefix="$ac_default_prefix"
9588 else
9589 acl_final_prefix="$prefix"
9590 fi
9591 if test "X$exec_prefix" = "XNONE"; then
9592 acl_final_exec_prefix='${prefix}'
9593 else
9594 acl_final_exec_prefix="$exec_prefix"
9595 fi
9596 acl_save_prefix="$prefix"
9597 prefix="$acl_final_prefix"
9598 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
9599 prefix="$acl_save_prefix"
9600
9601
9602 # Check whether --with-gnu-ld was given.
9603 if test "${with_gnu_ld+set}" = set; then
9604 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
9605 else
9606 with_gnu_ld=no
9607 fi
9608
9609 # Prepare PATH_SEPARATOR.
9610 # The user is always right.
9611 if test "${PATH_SEPARATOR+set}" != set; then
9612 echo "#! /bin/sh" >conf$$.sh
9613 echo "exit 0" >>conf$$.sh
9614 chmod +x conf$$.sh
9615 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
9616 PATH_SEPARATOR=';'
9617 else
9618 PATH_SEPARATOR=:
9619 fi
9620 rm -f conf$$.sh
9621 fi
9622 ac_prog=ld
9623 if test "$GCC" = yes; then
9624 # Check if gcc -print-prog-name=ld gives a path.
9625 { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
9626 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
9627 case $host in
9628 *-*-mingw*)
9629 # gcc leaves a trailing carriage return which upsets mingw
9630 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9631 *)
9632 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9633 esac
9634 case $ac_prog in
9635 # Accept absolute paths.
9636 [\\/]* | [A-Za-z]:[\\/]*)
9637 re_direlt='/[^/][^/]*/\.\./'
9638 # Canonicalize the path of ld
9639 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
9640 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9641 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
9642 done
9643 test -z "$LD" && LD="$ac_prog"
9644 ;;
9645 "")
9646 # If it fails, then pretend we aren't using GCC.
9647 ac_prog=ld
9648 ;;
9649 *)
9650 # If it is relative, then search for the first ld in PATH.
9651 with_gnu_ld=unknown
9652 ;;
9653 esac
9654 elif test "$with_gnu_ld" = yes; then
9655 { echo "$as_me:$LINENO: checking for GNU ld" >&5
9656 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
9657 else
9658 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9659 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
9660 fi
9661 if test "${acl_cv_path_LD+set}" = set; then
9662 echo $ECHO_N "(cached) $ECHO_C" >&6
9663 else
9664 if test -z "$LD"; then
9665 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
9666 for ac_dir in $PATH; do
9667 test -z "$ac_dir" && ac_dir=.
9668 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9669 acl_cv_path_LD="$ac_dir/$ac_prog"
9670 # Check to see if the program is GNU ld. I'd rather use --version,
9671 # but apparently some GNU ld's only accept -v.
9672 # Break only if it was the GNU/non-GNU ld that we prefer.
9673 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
9674 test "$with_gnu_ld" != no && break
9675 else
9676 test "$with_gnu_ld" != yes && break
9677 fi
9678 fi
9679 done
9680 IFS="$ac_save_ifs"
9681 else
9682 acl_cv_path_LD="$LD" # Let the user override the test with a path.
9683 fi
9684 fi
9685
9686 LD="$acl_cv_path_LD"
9687 if test -n "$LD"; then
9688 { echo "$as_me:$LINENO: result: $LD" >&5
9689 echo "${ECHO_T}$LD" >&6; }
9690 else
9691 { echo "$as_me:$LINENO: result: no" >&5
9692 echo "${ECHO_T}no" >&6; }
9693 fi
9694 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9695 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9696 { (exit 1); exit 1; }; }
9697 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9698 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
9699 if test "${acl_cv_prog_gnu_ld+set}" = set; then
9700 echo $ECHO_N "(cached) $ECHO_C" >&6
9701 else
9702 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9703 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
9704 acl_cv_prog_gnu_ld=yes
9705 else
9706 acl_cv_prog_gnu_ld=no
9707 fi
9708 fi
9709 { echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
9710 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6; }
9711 with_gnu_ld=$acl_cv_prog_gnu_ld
9712
9713
9714
9715 { echo "$as_me:$LINENO: checking for shared library run path origin" >&5
9716 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6; }
9717 if test "${acl_cv_rpath+set}" = set; then
9718 echo $ECHO_N "(cached) $ECHO_C" >&6
9719 else
9720
9721 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
9722 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
9723 . ./conftest.sh
9724 rm -f ./conftest.sh
9725 acl_cv_rpath=done
9726
9727 fi
9728 { echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
9729 echo "${ECHO_T}$acl_cv_rpath" >&6; }
9730 wl="$acl_cv_wl"
9731 libext="$acl_cv_libext"
9732 shlibext="$acl_cv_shlibext"
9733 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
9734 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
9735 hardcode_direct="$acl_cv_hardcode_direct"
9736 hardcode_minus_L="$acl_cv_hardcode_minus_L"
9737 # Check whether --enable-rpath was given.
9738 if test "${enable_rpath+set}" = set; then
9739 enableval=$enable_rpath; :
9740 else
9741 enable_rpath=yes
9742 fi
9743
9744
9745
9746
9747
9748
9749
9750
9751 use_additional=yes
9752
9753 acl_save_prefix="$prefix"
9754 prefix="$acl_final_prefix"
9755 acl_save_exec_prefix="$exec_prefix"
9756 exec_prefix="$acl_final_exec_prefix"
9757
9758 eval additional_includedir=\"$includedir\"
9759 eval additional_libdir=\"$libdir\"
9760
9761 exec_prefix="$acl_save_exec_prefix"
9762 prefix="$acl_save_prefix"
9763
9764
9765 # Check whether --with-libiconv-prefix was given.
9766 if test "${with_libiconv_prefix+set}" = set; then
9767 withval=$with_libiconv_prefix;
9768 if test "X$withval" = "Xno"; then
9769 use_additional=no
9770 else
9771 if test "X$withval" = "X"; then
9772
9773 acl_save_prefix="$prefix"
9774 prefix="$acl_final_prefix"
9775 acl_save_exec_prefix="$exec_prefix"
9776 exec_prefix="$acl_final_exec_prefix"
9777
9778 eval additional_includedir=\"$includedir\"
9779 eval additional_libdir=\"$libdir\"
9780
9781 exec_prefix="$acl_save_exec_prefix"
9782 prefix="$acl_save_prefix"
9783
9784 else
9785 additional_includedir="$withval/include"
9786 additional_libdir="$withval/lib"
9787 fi
9788 fi
9789
9790 fi
9791
9792 LIBICONV=
9793 LTLIBICONV=
9794 INCICONV=
9795 rpathdirs=
9796 ltrpathdirs=
9797 names_already_handled=
9798 names_next_round='iconv '
9799 while test -n "$names_next_round"; do
9800 names_this_round="$names_next_round"
9801 names_next_round=
9802 for name in $names_this_round; do
9803 already_handled=
9804 for n in $names_already_handled; do
9805 if test "$n" = "$name"; then
9806 already_handled=yes
9807 break
9808 fi
9809 done
9810 if test -z "$already_handled"; then
9811 names_already_handled="$names_already_handled $name"
9812 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
9813 eval value=\"\$HAVE_LIB$uppername\"
9814 if test -n "$value"; then
9815 if test "$value" = yes; then
9816 eval value=\"\$LIB$uppername\"
9817 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
9818 eval value=\"\$LTLIB$uppername\"
9819 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
9820 else
9821 :
9822 fi
9823 else
9824 found_dir=
9825 found_la=
9826 found_so=
9827 found_a=
9828 if test $use_additional = yes; then
9829 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
9830 found_dir="$additional_libdir"
9831 found_so="$additional_libdir/lib$name.$shlibext"
9832 if test -f "$additional_libdir/lib$name.la"; then
9833 found_la="$additional_libdir/lib$name.la"
9834 fi
9835 else
9836 if test -f "$additional_libdir/lib$name.$libext"; then
9837 found_dir="$additional_libdir"
9838 found_a="$additional_libdir/lib$name.$libext"
9839 if test -f "$additional_libdir/lib$name.la"; then
9840 found_la="$additional_libdir/lib$name.la"
9841 fi
9842 fi
9843 fi
9844 fi
9845 if test "X$found_dir" = "X"; then
9846 for x in $LDFLAGS $LTLIBICONV; do
9847
9848 acl_save_prefix="$prefix"
9849 prefix="$acl_final_prefix"
9850 acl_save_exec_prefix="$exec_prefix"
9851 exec_prefix="$acl_final_exec_prefix"
9852 eval x=\"$x\"
9853 exec_prefix="$acl_save_exec_prefix"
9854 prefix="$acl_save_prefix"
9855
9856 case "$x" in
9857 -L*)
9858 dir=`echo "X$x" | sed -e 's/^X-L//'`
9859 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
9860 found_dir="$dir"
9861 found_so="$dir/lib$name.$shlibext"
9862 if test -f "$dir/lib$name.la"; then
9863 found_la="$dir/lib$name.la"
9864 fi
9865 else
9866 if test -f "$dir/lib$name.$libext"; then
9867 found_dir="$dir"
9868 found_a="$dir/lib$name.$libext"
9869 if test -f "$dir/lib$name.la"; then
9870 found_la="$dir/lib$name.la"
9871 fi
9872 fi
9873 fi
9874 ;;
9875 esac
9876 if test "X$found_dir" != "X"; then
9877 break
9878 fi
9879 done
9880 fi
9881 if test "X$found_dir" != "X"; then
9882 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
9883 if test "X$found_so" != "X"; then
9884 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
9885 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
9886 else
9887 haveit=
9888 for x in $ltrpathdirs; do
9889 if test "X$x" = "X$found_dir"; then
9890 haveit=yes
9891 break
9892 fi
9893 done
9894 if test -z "$haveit"; then
9895 ltrpathdirs="$ltrpathdirs $found_dir"
9896 fi
9897 if test "$hardcode_direct" = yes; then
9898 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
9899 else
9900 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
9901 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
9902 haveit=
9903 for x in $rpathdirs; do
9904 if test "X$x" = "X$found_dir"; then
9905 haveit=yes
9906 break
9907 fi
9908 done
9909 if test -z "$haveit"; then
9910 rpathdirs="$rpathdirs $found_dir"
9911 fi
9912 else
9913 haveit=
9914 for x in $LDFLAGS $LIBICONV; do
9915
9916 acl_save_prefix="$prefix"
9917 prefix="$acl_final_prefix"
9918 acl_save_exec_prefix="$exec_prefix"
9919 exec_prefix="$acl_final_exec_prefix"
9920 eval x=\"$x\"
9921 exec_prefix="$acl_save_exec_prefix"
9922 prefix="$acl_save_prefix"
9923
9924 if test "X$x" = "X-L$found_dir"; then
9925 haveit=yes
9926 break
9927 fi
9928 done
9929 if test -z "$haveit"; then
9930 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
9931 fi
9932 if test "$hardcode_minus_L" != no; then
9933 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
9934 else
9935 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
9936 fi
9937 fi
9938 fi
9939 fi
9940 else
9941 if test "X$found_a" != "X"; then
9942 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
9943 else
9944 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
9945 fi
9946 fi
9947 additional_includedir=
9948 case "$found_dir" in
9949 */lib | */lib/)
9950 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
9951 additional_includedir="$basedir/include"
9952 ;;
9953 esac
9954 if test "X$additional_includedir" != "X"; then
9955 if test "X$additional_includedir" != "X/usr/include"; then
9956 haveit=
9957 if test "X$additional_includedir" = "X/usr/local/include"; then
9958 if test -n "$GCC"; then
9959 case $host_os in
9960 linux*) haveit=yes;;
9961 esac
9962 fi
9963 fi
9964 if test -z "$haveit"; then
9965 for x in $CPPFLAGS $INCICONV; do
9966
9967 acl_save_prefix="$prefix"
9968 prefix="$acl_final_prefix"
9969 acl_save_exec_prefix="$exec_prefix"
9970 exec_prefix="$acl_final_exec_prefix"
9971 eval x=\"$x\"
9972 exec_prefix="$acl_save_exec_prefix"
9973 prefix="$acl_save_prefix"
9974
9975 if test "X$x" = "X-I$additional_includedir"; then
9976 haveit=yes
9977 break
9978 fi
9979 done
9980 if test -z "$haveit"; then
9981 if test -d "$additional_includedir"; then
9982 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
9983 fi
9984 fi
9985 fi
9986 fi
9987 fi
9988 if test -n "$found_la"; then
9989 save_libdir="$libdir"
9990 case "$found_la" in
9991 */* | *\\*) . "$found_la" ;;
9992 *) . "./$found_la" ;;
9993 esac
9994 libdir="$save_libdir"
9995 for dep in $dependency_libs; do
9996 case "$dep" in
9997 -L*)
9998 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
9999 if test "X$additional_libdir" != "X/usr/lib"; then
10000 haveit=
10001 if test "X$additional_libdir" = "X/usr/local/lib"; then
10002 if test -n "$GCC"; then
10003 case $host_os in
10004 linux*) haveit=yes;;
10005 esac
10006 fi
10007 fi
10008 if test -z "$haveit"; then
10009 haveit=
10010 for x in $LDFLAGS $LIBICONV; do
10011
10012 acl_save_prefix="$prefix"
10013 prefix="$acl_final_prefix"
10014 acl_save_exec_prefix="$exec_prefix"
10015 exec_prefix="$acl_final_exec_prefix"
10016 eval x=\"$x\"
10017 exec_prefix="$acl_save_exec_prefix"
10018 prefix="$acl_save_prefix"
10019
10020 if test "X$x" = "X-L$additional_libdir"; then
10021 haveit=yes
10022 break
10023 fi
10024 done
10025 if test -z "$haveit"; then
10026 if test -d "$additional_libdir"; then
10027 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
10028 fi
10029 fi
10030 haveit=
10031 for x in $LDFLAGS $LTLIBICONV; do
10032
10033 acl_save_prefix="$prefix"
10034 prefix="$acl_final_prefix"
10035 acl_save_exec_prefix="$exec_prefix"
10036 exec_prefix="$acl_final_exec_prefix"
10037 eval x=\"$x\"
10038 exec_prefix="$acl_save_exec_prefix"
10039 prefix="$acl_save_prefix"
10040
10041 if test "X$x" = "X-L$additional_libdir"; then
10042 haveit=yes
10043 break
10044 fi
10045 done
10046 if test -z "$haveit"; then
10047 if test -d "$additional_libdir"; then
10048 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
10049 fi
10050 fi
10051 fi
10052 fi
10053 ;;
10054 -R*)
10055 dir=`echo "X$dep" | sed -e 's/^X-R//'`
10056 if test "$enable_rpath" != no; then
10057 haveit=
10058 for x in $rpathdirs; do
10059 if test "X$x" = "X$dir"; then
10060 haveit=yes
10061 break
10062 fi
10063 done
10064 if test -z "$haveit"; then
10065 rpathdirs="$rpathdirs $dir"
10066 fi
10067 haveit=
10068 for x in $ltrpathdirs; do
10069 if test "X$x" = "X$dir"; then
10070 haveit=yes
10071 break
10072 fi
10073 done
10074 if test -z "$haveit"; then
10075 ltrpathdirs="$ltrpathdirs $dir"
10076 fi
10077 fi
10078 ;;
10079 -l*)
10080 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
10081 ;;
10082 *.la)
10083 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
10084 ;;
10085 *)
10086 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
10087 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
10088 ;;
10089 esac
10090 done
10091 fi
10092 else
10093 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
10094 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
10095 fi
10096 fi
10097 fi
10098 done
10099 done
10100 if test "X$rpathdirs" != "X"; then
10101 if test -n "$hardcode_libdir_separator"; then
10102 alldirs=
10103 for found_dir in $rpathdirs; do
10104 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
10105 done
10106 acl_save_libdir="$libdir"
10107 libdir="$alldirs"
10108 eval flag=\"$hardcode_libdir_flag_spec\"
10109 libdir="$acl_save_libdir"
10110 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
10111 else
10112 for found_dir in $rpathdirs; do
10113 acl_save_libdir="$libdir"
10114 libdir="$found_dir"
10115 eval flag=\"$hardcode_libdir_flag_spec\"
10116 libdir="$acl_save_libdir"
10117 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
10118 done
10119 fi
10120 fi
10121 if test "X$ltrpathdirs" != "X"; then
10122 for found_dir in $ltrpathdirs; do
10123 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
10124 done
10125 fi
10126
10127
10128
10129
10130
10131
10132
10133 am_save_CPPFLAGS="$CPPFLAGS"
10134
10135 for element in $INCICONV; do
10136 haveit=
10137 for x in $CPPFLAGS; do
10138
10139 acl_save_prefix="$prefix"
10140 prefix="$acl_final_prefix"
10141 acl_save_exec_prefix="$exec_prefix"
10142 exec_prefix="$acl_final_exec_prefix"
10143 eval x=\"$x\"
10144 exec_prefix="$acl_save_exec_prefix"
10145 prefix="$acl_save_prefix"
10146
10147 if test "X$x" = "X$element"; then
10148 haveit=yes
10149 break
10150 fi
10151 done
10152 if test -z "$haveit"; then
10153 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
10154 fi
10155 done
10156
10157
10158 { echo "$as_me:$LINENO: checking for iconv" >&5
10159 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
10160 if test "${am_cv_func_iconv+set}" = set; then
10161 echo $ECHO_N "(cached) $ECHO_C" >&6
10162 else
10163
10164 am_cv_func_iconv="no, consider installing GNU libiconv"
10165 am_cv_lib_iconv=no
10166 cat >conftest.$ac_ext <<_ACEOF
10167 /* confdefs.h. */
10168 _ACEOF
10169 cat confdefs.h >>conftest.$ac_ext
10170 cat >>conftest.$ac_ext <<_ACEOF
10171 /* end confdefs.h. */
10172 #include <stdlib.h>
10173 #include <iconv.h>
10174 int
10175 main ()
10176 {
10177 iconv_t cd = iconv_open("","");
10178 iconv(cd,NULL,NULL,NULL,NULL);
10179 iconv_close(cd);
10180 ;
10181 return 0;
10182 }
10183 _ACEOF
10184 rm -f conftest.$ac_objext conftest$ac_exeext
10185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10186 (eval $ac_link) 2>conftest.er1
10187 ac_status=$?
10188 grep -v '^ *+' conftest.er1 >conftest.err
10189 rm -f conftest.er1
10190 cat conftest.err >&5
10191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10192 (exit $ac_status); } &&
10193 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10195 (eval $ac_try) 2>&5
10196 ac_status=$?
10197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10198 (exit $ac_status); }; } &&
10199 { ac_try='test -s conftest$ac_exeext'
10200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10201 (eval $ac_try) 2>&5
10202 ac_status=$?
10203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10204 (exit $ac_status); }; }; then
10205 am_cv_func_iconv=yes
10206 else
10207 echo "$as_me: failed program was:" >&5
10208 sed 's/^/| /' conftest.$ac_ext >&5
10209
10210
10211 fi
10212
10213 rm -f conftest.err conftest.$ac_objext \
10214 conftest$ac_exeext conftest.$ac_ext
10215 if test "$am_cv_func_iconv" != yes; then
10216 am_save_LIBS="$LIBS"
10217 LIBS="$LIBS $LIBICONV"
10218 cat >conftest.$ac_ext <<_ACEOF
10219 /* confdefs.h. */
10220 _ACEOF
10221 cat confdefs.h >>conftest.$ac_ext
10222 cat >>conftest.$ac_ext <<_ACEOF
10223 /* end confdefs.h. */
10224 #include <stdlib.h>
10225 #include <iconv.h>
10226 int
10227 main ()
10228 {
10229 iconv_t cd = iconv_open("","");
10230 iconv(cd,NULL,NULL,NULL,NULL);
10231 iconv_close(cd);
10232 ;
10233 return 0;
10234 }
10235 _ACEOF
10236 rm -f conftest.$ac_objext conftest$ac_exeext
10237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10238 (eval $ac_link) 2>conftest.er1
10239 ac_status=$?
10240 grep -v '^ *+' conftest.er1 >conftest.err
10241 rm -f conftest.er1
10242 cat conftest.err >&5
10243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10244 (exit $ac_status); } &&
10245 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10247 (eval $ac_try) 2>&5
10248 ac_status=$?
10249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10250 (exit $ac_status); }; } &&
10251 { ac_try='test -s conftest$ac_exeext'
10252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10253 (eval $ac_try) 2>&5
10254 ac_status=$?
10255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10256 (exit $ac_status); }; }; then
10257 am_cv_lib_iconv=yes
10258 am_cv_func_iconv=yes
10259 else
10260 echo "$as_me: failed program was:" >&5
10261 sed 's/^/| /' conftest.$ac_ext >&5
10262
10263
10264 fi
10265
10266 rm -f conftest.err conftest.$ac_objext \
10267 conftest$ac_exeext conftest.$ac_ext
10268 LIBS="$am_save_LIBS"
10269 fi
10270
10271 fi
10272 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
10273 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
10274 if test "$am_cv_func_iconv" = yes; then
10275
10276 cat >>confdefs.h <<\_ACEOF
10277 #define HAVE_ICONV 1
10278 _ACEOF
10279
10280 fi
10281 if test "$am_cv_lib_iconv" = yes; then
10282 { echo "$as_me:$LINENO: checking how to link with libiconv" >&5
10283 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6; }
10284 { echo "$as_me:$LINENO: result: $LIBICONV" >&5
10285 echo "${ECHO_T}$LIBICONV" >&6; }
10286 else
10287 CPPFLAGS="$am_save_CPPFLAGS"
10288 LIBICONV=
10289 LTLIBICONV=
10290 fi
10291
10292
10293
10294 if test "$am_cv_func_iconv" = yes; then
10295 { echo "$as_me:$LINENO: checking for iconv declaration" >&5
10296 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6; }
10297 if test "${am_cv_proto_iconv+set}" = set; then
10298 echo $ECHO_N "(cached) $ECHO_C" >&6
10299 else
10300
10301 cat >conftest.$ac_ext <<_ACEOF
10302 /* confdefs.h. */
10303 _ACEOF
10304 cat confdefs.h >>conftest.$ac_ext
10305 cat >>conftest.$ac_ext <<_ACEOF
10306 /* end confdefs.h. */
10307
10308 #include <stdlib.h>
10309 #include <iconv.h>
10310 extern
10311 #ifdef __cplusplus
10312 "C"
10313 #endif
10314 #if defined(__STDC__) || defined(__cplusplus)
10315 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
10316 #else
10317 size_t iconv();
10318 #endif
10319
10320 int
10321 main ()
10322 {
10323
10324 ;
10325 return 0;
10326 }
10327 _ACEOF
10328 rm -f conftest.$ac_objext
10329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10330 (eval $ac_compile) 2>conftest.er1
10331 ac_status=$?
10332 grep -v '^ *+' conftest.er1 >conftest.err
10333 rm -f conftest.er1
10334 cat conftest.err >&5
10335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10336 (exit $ac_status); } &&
10337 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10339 (eval $ac_try) 2>&5
10340 ac_status=$?
10341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10342 (exit $ac_status); }; } &&
10343 { ac_try='test -s conftest.$ac_objext'
10344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10345 (eval $ac_try) 2>&5
10346 ac_status=$?
10347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10348 (exit $ac_status); }; }; then
10349 am_cv_proto_iconv_arg1=""
10350 else
10351 echo "$as_me: failed program was:" >&5
10352 sed 's/^/| /' conftest.$ac_ext >&5
10353
10354 am_cv_proto_iconv_arg1="const"
10355 fi
10356
10357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10358 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);"
10359 fi
10360
10361 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
10362 { echo "$as_me:$LINENO: result: ${ac_t:-
10363 }$am_cv_proto_iconv" >&5
10364 echo "${ECHO_T}${ac_t:-
10365 }$am_cv_proto_iconv" >&6; }
10366
10367 cat >>confdefs.h <<_ACEOF
10368 #define ICONV_CONST $am_cv_proto_iconv_arg1
10369 _ACEOF
10370
10371 fi
10372
10373
10374 if test "x${GCC}" = xyes; then
10375
10376 WARNING_CFLAGS='-pedantic -W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long'
10377
10378
10379 STRICT_WARNING_CFLAGS=-Wstrict-prototypes
10380
10381
10382 ERROR_CFLAGS=
10383 if test "x${ENABLE_WERROR}" = xyes; then
10384 ERROR_CFLAGS='-Werror'
10385 fi
10386
10387 fi
10388
10389 if test "x${COMPILE_XMLJ}" = xyes; then
10390
10391 succeeded=no
10392
10393 if test -z "$PKG_CONFIG"; then
10394 # Extract the first word of "pkg-config", so it can be a program name with args.
10395 set dummy pkg-config; ac_word=$2
10396 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10398 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
10399 echo $ECHO_N "(cached) $ECHO_C" >&6
10400 else
10401 case $PKG_CONFIG in
10402 [\\/]* | ?:[\\/]*)
10403 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10404 ;;
10405 *)
10406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10407 for as_dir in $PATH
10408 do
10409 IFS=$as_save_IFS
10410 test -z "$as_dir" && as_dir=.
10411 for ac_exec_ext in '' $ac_executable_extensions; do
10412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
10413 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10415 break 2
10416 fi
10417 done
10418 done
10419 IFS=$as_save_IFS
10420
10421 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
10422 ;;
10423 esac
10424 fi
10425 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
10426 if test -n "$PKG_CONFIG"; then
10427 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
10428 echo "${ECHO_T}$PKG_CONFIG" >&6; }
10429 else
10430 { echo "$as_me:$LINENO: result: no" >&5
10431 echo "${ECHO_T}no" >&6; }
10432 fi
10433
10434
10435 fi
10436
10437 if test "$PKG_CONFIG" = "no" ; then
10438 echo "*** The pkg-config script could not be found. Make sure it is"
10439 echo "*** in your path, or set the PKG_CONFIG environment variable"
10440 echo "*** to the full path to pkg-config."
10441 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
10442 else
10443 PKG_CONFIG_MIN_VERSION=0.9.0
10444 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
10445 { echo "$as_me:$LINENO: checking for libxml-2.0 >= 2.6.8" >&5
10446 echo $ECHO_N "checking for libxml-2.0 >= 2.6.8... $ECHO_C" >&6; }
10447
10448 if $PKG_CONFIG --exists "libxml-2.0 >= 2.6.8" ; then
10449 { echo "$as_me:$LINENO: result: yes" >&5
10450 echo "${ECHO_T}yes" >&6; }
10451 succeeded=yes
10452
10453 { echo "$as_me:$LINENO: checking XML_CFLAGS" >&5
10454 echo $ECHO_N "checking XML_CFLAGS... $ECHO_C" >&6; }
10455 XML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.8"`
10456 { echo "$as_me:$LINENO: result: $XML_CFLAGS" >&5
10457 echo "${ECHO_T}$XML_CFLAGS" >&6; }
10458
10459 { echo "$as_me:$LINENO: checking XML_LIBS" >&5
10460 echo $ECHO_N "checking XML_LIBS... $ECHO_C" >&6; }
10461 XML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.8"`
10462 { echo "$as_me:$LINENO: result: $XML_LIBS" >&5
10463 echo "${ECHO_T}$XML_LIBS" >&6; }
10464 else
10465 XML_CFLAGS=""
10466 XML_LIBS=""
10467 ## If we have a custom action on failure, don't print errors, but
10468 ## do set a variable so people can do so.
10469 XML_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= 2.6.8"`
10470 echo $XML_PKG_ERRORS
10471 fi
10472
10473
10474
10475 else
10476 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
10477 echo "*** See http://www.freedesktop.org/software/pkgconfig"
10478 fi
10479 fi
10480
10481 if test $succeeded = yes; then
10482 :
10483 else
10484 { { 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
10485 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;}
10486 { (exit 1); exit 1; }; }
10487 fi
10488
10489
10490 succeeded=no
10491
10492 if test -z "$PKG_CONFIG"; then
10493 # Extract the first word of "pkg-config", so it can be a program name with args.
10494 set dummy pkg-config; ac_word=$2
10495 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10497 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
10498 echo $ECHO_N "(cached) $ECHO_C" >&6
10499 else
10500 case $PKG_CONFIG in
10501 [\\/]* | ?:[\\/]*)
10502 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10503 ;;
10504 *)
10505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10506 for as_dir in $PATH
10507 do
10508 IFS=$as_save_IFS
10509 test -z "$as_dir" && as_dir=.
10510 for ac_exec_ext in '' $ac_executable_extensions; do
10511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
10512 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10513 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10514 break 2
10515 fi
10516 done
10517 done
10518 IFS=$as_save_IFS
10519
10520 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
10521 ;;
10522 esac
10523 fi
10524 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
10525 if test -n "$PKG_CONFIG"; then
10526 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
10527 echo "${ECHO_T}$PKG_CONFIG" >&6; }
10528 else
10529 { echo "$as_me:$LINENO: result: no" >&5
10530 echo "${ECHO_T}no" >&6; }
10531 fi
10532
10533
10534 fi
10535
10536 if test "$PKG_CONFIG" = "no" ; then
10537 echo "*** The pkg-config script could not be found. Make sure it is"
10538 echo "*** in your path, or set the PKG_CONFIG environment variable"
10539 echo "*** to the full path to pkg-config."
10540 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
10541 else
10542 PKG_CONFIG_MIN_VERSION=0.9.0
10543 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
10544 { echo "$as_me:$LINENO: checking for libxslt >= 1.1.11" >&5
10545 echo $ECHO_N "checking for libxslt >= 1.1.11... $ECHO_C" >&6; }
10546
10547 if $PKG_CONFIG --exists "libxslt >= 1.1.11" ; then
10548 { echo "$as_me:$LINENO: result: yes" >&5
10549 echo "${ECHO_T}yes" >&6; }
10550 succeeded=yes
10551
10552 { echo "$as_me:$LINENO: checking XSLT_CFLAGS" >&5
10553 echo $ECHO_N "checking XSLT_CFLAGS... $ECHO_C" >&6; }
10554 XSLT_CFLAGS=`$PKG_CONFIG --cflags "libxslt >= 1.1.11"`
10555 { echo "$as_me:$LINENO: result: $XSLT_CFLAGS" >&5
10556 echo "${ECHO_T}$XSLT_CFLAGS" >&6; }
10557
10558 { echo "$as_me:$LINENO: checking XSLT_LIBS" >&5
10559 echo $ECHO_N "checking XSLT_LIBS... $ECHO_C" >&6; }
10560 XSLT_LIBS=`$PKG_CONFIG --libs "libxslt >= 1.1.11"`
10561 { echo "$as_me:$LINENO: result: $XSLT_LIBS" >&5
10562 echo "${ECHO_T}$XSLT_LIBS" >&6; }
10563 else
10564 XSLT_CFLAGS=""
10565 XSLT_LIBS=""
10566 ## If we have a custom action on failure, don't print errors, but
10567 ## do set a variable so people can do so.
10568 XSLT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxslt >= 1.1.11"`
10569 echo $XSLT_PKG_ERRORS
10570 fi
10571
10572
10573
10574 else
10575 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
10576 echo "*** See http://www.freedesktop.org/software/pkgconfig"
10577 fi
10578 fi
10579
10580 if test $succeeded = yes; then
10581 :
10582 else
10583 { { 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
10584 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;}
10585 { (exit 1); exit 1; }; }
10586 fi
10587
10588
10589
10590
10591
10592 fi
10593
10594 if test "x${COMPILE_GTK_PEER}" = xyes; then
10595
10596 if test "x$ac_path_x_has_been_run" != xyes; then
10597 { echo "$as_me:$LINENO: checking for X" >&5
10598 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
10599
10600 ac_path_x_has_been_run=yes
10601
10602 # Check whether --with-x was given.
10603 if test "${with_x+set}" = set; then
10604 withval=$with_x;
10605 fi
10606
10607 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10608 if test "x$with_x" = xno; then
10609 # The user explicitly disabled X.
10610 have_x=disabled
10611 else
10612 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
10613 # Both variables are already set.
10614 have_x=yes
10615 else
10616 if test "${ac_cv_have_x+set}" = set; then
10617 echo $ECHO_N "(cached) $ECHO_C" >&6
10618 else
10619 # One or both of the vars are not set, and there is no cached value.
10620 ac_x_includes=no ac_x_libraries=no
10621 rm -f -r conftest.dir
10622 if mkdir conftest.dir; then
10623 cd conftest.dir
10624 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
10625 cat >Imakefile <<'_ACEOF'
10626 acfindx:
10627 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
10628 _ACEOF
10629 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10630 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10631 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
10632 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10633 for ac_extension in a so sl; do
10634 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
10635 test -f $ac_im_libdir/libX11.$ac_extension; then
10636 ac_im_usrlibdir=$ac_im_libdir; break
10637 fi
10638 done
10639 # Screen out bogus values from the imake configuration. They are
10640 # bogus both because they are the default anyway, and because
10641 # using them would break gcc on systems where it needs fixed includes.
10642 case $ac_im_incroot in
10643 /usr/include) ac_x_includes= ;;
10644 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10645 esac
10646 case $ac_im_usrlibdir in
10647 /usr/lib | /lib) ;;
10648 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10649 esac
10650 fi
10651 cd ..
10652 rm -f -r conftest.dir
10653 fi
10654
10655 # Standard set of common directories for X headers.
10656 # Check X11 before X11Rn because it is often a symlink to the current release.
10657 ac_x_header_dirs='
10658 /usr/X11/include
10659 /usr/X11R6/include
10660 /usr/X11R5/include
10661 /usr/X11R4/include
10662
10663 /usr/include/X11
10664 /usr/include/X11R6
10665 /usr/include/X11R5
10666 /usr/include/X11R4
10667
10668 /usr/local/X11/include
10669 /usr/local/X11R6/include
10670 /usr/local/X11R5/include
10671 /usr/local/X11R4/include
10672
10673 /usr/local/include/X11
10674 /usr/local/include/X11R6
10675 /usr/local/include/X11R5
10676 /usr/local/include/X11R4
10677
10678 /usr/X386/include
10679 /usr/x386/include
10680 /usr/XFree86/include/X11
10681
10682 /usr/include
10683 /usr/local/include
10684 /usr/unsupported/include
10685 /usr/athena/include
10686 /usr/local/x11r5/include
10687 /usr/lpp/Xamples/include
10688
10689 /usr/openwin/include
10690 /usr/openwin/share/include'
10691
10692 if test "$ac_x_includes" = no; then
10693 # Guess where to find include files, by looking for Xlib.h.
10694 # First, try using that file with no special directory specified.
10695 cat >conftest.$ac_ext <<_ACEOF
10696 /* confdefs.h. */
10697 _ACEOF
10698 cat confdefs.h >>conftest.$ac_ext
10699 cat >>conftest.$ac_ext <<_ACEOF
10700 /* end confdefs.h. */
10701 #include <X11/Xlib.h.h>
10702 _ACEOF
10703 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10704 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10705 ac_status=$?
10706 grep -v '^ *+' conftest.er1 >conftest.err
10707 rm -f conftest.er1
10708 cat conftest.err >&5
10709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10710 (exit $ac_status); } >/dev/null; then
10711 if test -s conftest.err; then
10712 ac_cpp_err=$ac_c_preproc_warn_flag
10713 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10714 else
10715 ac_cpp_err=
10716 fi
10717 else
10718 ac_cpp_err=yes
10719 fi
10720 if test -z "$ac_cpp_err"; then
10721 # We can compile using X headers with no special include directory.
10722 ac_x_includes=
10723 else
10724 echo "$as_me: failed program was:" >&5
10725 sed 's/^/| /' conftest.$ac_ext >&5
10726
10727 for ac_dir in $ac_x_header_dirs; do
10728 if test -r "$ac_dir/X11/Xlib.h"; then
10729 ac_x_includes=$ac_dir
10730 break
10731 fi
10732 done
10733 fi
10734
10735 rm -f conftest.err conftest.$ac_ext
10736 fi # $ac_x_includes = no
10737
10738 if test "$ac_x_libraries" = no; then
10739 # Check for the libraries.
10740 # See if we find them without any special options.
10741 # Don't add to $LIBS permanently.
10742 ac_save_LIBS=$LIBS
10743 LIBS="-lXt $LIBS"
10744 cat >conftest.$ac_ext <<_ACEOF
10745 /* confdefs.h. */
10746 _ACEOF
10747 cat confdefs.h >>conftest.$ac_ext
10748 cat >>conftest.$ac_ext <<_ACEOF
10749 /* end confdefs.h. */
10750 #include <X11/Xlib.h>
10751 int
10752 main ()
10753 {
10754 XrmInitialize ()
10755 ;
10756 return 0;
10757 }
10758 _ACEOF
10759 rm -f conftest.$ac_objext conftest$ac_exeext
10760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10761 (eval $ac_link) 2>conftest.er1
10762 ac_status=$?
10763 grep -v '^ *+' conftest.er1 >conftest.err
10764 rm -f conftest.er1
10765 cat conftest.err >&5
10766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10767 (exit $ac_status); } &&
10768 { ac_try='test -z "$ac_c_werror_flag" || 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 LIBS=$ac_save_LIBS
10781 # We can link X programs with no special library path.
10782 ac_x_libraries=
10783 else
10784 echo "$as_me: failed program was:" >&5
10785 sed 's/^/| /' conftest.$ac_ext >&5
10786
10787 LIBS=$ac_save_LIBS
10788 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10789 do
10790 # Don't even attempt the hair of trying to link an X program!
10791 for ac_extension in a so sl; do
10792 if test -r $ac_dir/libX11.$ac_extension; then
10793 ac_x_libraries=$ac_dir
10794 break 2
10795 fi
10796 done
10797 done
10798 fi
10799
10800 rm -f conftest.err conftest.$ac_objext \
10801 conftest$ac_exeext conftest.$ac_ext
10802 fi # $ac_x_libraries = no
10803
10804 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
10805 # Didn't find X anywhere. Cache the known absence of X.
10806 ac_cv_have_x="have_x=no"
10807 else
10808 # Record where we found X for the cache.
10809 ac_cv_have_x="have_x=yes \
10810 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
10811 fi
10812 fi
10813
10814 fi
10815 eval "$ac_cv_have_x"
10816 fi # $with_x != no
10817
10818 if test "$have_x" != yes; then
10819 { echo "$as_me:$LINENO: result: $have_x" >&5
10820 echo "${ECHO_T}$have_x" >&6; }
10821 no_x=yes
10822 else
10823 # If each of the values was on the command line, it overrides each guess.
10824 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10825 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10826 # Update the cache value to reflect the command line values.
10827 ac_cv_have_x="have_x=yes \
10828 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
10829 # It might be that x_includes is empty (headers are found in the
10830 # standard search path. Then output the corresponding message
10831 ac_out_x_includes=$x_includes
10832 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
10833 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
10834 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6; }
10835 fi
10836
10837 fi
10838 if test "$no_x" = yes; then
10839 # Not all programs may use this symbol, but it does not hurt to define it.
10840
10841 cat >>confdefs.h <<\_ACEOF
10842 #define X_DISPLAY_MISSING 1
10843 _ACEOF
10844
10845 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10846 else
10847 if test -n "$x_includes"; then
10848 X_CFLAGS="$X_CFLAGS -I$x_includes"
10849 fi
10850
10851 # It would also be nice to do this for all -L options, not just this one.
10852 if test -n "$x_libraries"; then
10853 X_LIBS="$X_LIBS -L$x_libraries"
10854 # For Solaris; some versions of Sun CC require a space after -R and
10855 # others require no space. Words are not sufficient . . . .
10856 case `(uname -sr) 2>/dev/null` in
10857 "SunOS 5"*)
10858 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
10859 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
10860 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10861 cat >conftest.$ac_ext <<_ACEOF
10862 /* confdefs.h. */
10863 _ACEOF
10864 cat confdefs.h >>conftest.$ac_ext
10865 cat >>conftest.$ac_ext <<_ACEOF
10866 /* end confdefs.h. */
10867
10868 int
10869 main ()
10870 {
10871
10872 ;
10873 return 0;
10874 }
10875 _ACEOF
10876 rm -f conftest.$ac_objext conftest$ac_exeext
10877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10878 (eval $ac_link) 2>conftest.er1
10879 ac_status=$?
10880 grep -v '^ *+' conftest.er1 >conftest.err
10881 rm -f conftest.er1
10882 cat conftest.err >&5
10883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10884 (exit $ac_status); } &&
10885 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10887 (eval $ac_try) 2>&5
10888 ac_status=$?
10889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10890 (exit $ac_status); }; } &&
10891 { ac_try='test -s conftest$ac_exeext'
10892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10893 (eval $ac_try) 2>&5
10894 ac_status=$?
10895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10896 (exit $ac_status); }; }; then
10897 ac_R_nospace=yes
10898 else
10899 echo "$as_me: failed program was:" >&5
10900 sed 's/^/| /' conftest.$ac_ext >&5
10901
10902 ac_R_nospace=no
10903 fi
10904
10905 rm -f conftest.err conftest.$ac_objext \
10906 conftest$ac_exeext conftest.$ac_ext
10907 if test $ac_R_nospace = yes; then
10908 { echo "$as_me:$LINENO: result: no" >&5
10909 echo "${ECHO_T}no" >&6; }
10910 X_LIBS="$X_LIBS -R$x_libraries"
10911 else
10912 LIBS="$ac_xsave_LIBS -R $x_libraries"
10913 cat >conftest.$ac_ext <<_ACEOF
10914 /* confdefs.h. */
10915 _ACEOF
10916 cat confdefs.h >>conftest.$ac_ext
10917 cat >>conftest.$ac_ext <<_ACEOF
10918 /* end confdefs.h. */
10919
10920 int
10921 main ()
10922 {
10923
10924 ;
10925 return 0;
10926 }
10927 _ACEOF
10928 rm -f conftest.$ac_objext conftest$ac_exeext
10929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10930 (eval $ac_link) 2>conftest.er1
10931 ac_status=$?
10932 grep -v '^ *+' conftest.er1 >conftest.err
10933 rm -f conftest.er1
10934 cat conftest.err >&5
10935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10936 (exit $ac_status); } &&
10937 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
10943 { ac_try='test -s conftest$ac_exeext'
10944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10945 (eval $ac_try) 2>&5
10946 ac_status=$?
10947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10948 (exit $ac_status); }; }; then
10949 ac_R_space=yes
10950 else
10951 echo "$as_me: failed program was:" >&5
10952 sed 's/^/| /' conftest.$ac_ext >&5
10953
10954 ac_R_space=no
10955 fi
10956
10957 rm -f conftest.err conftest.$ac_objext \
10958 conftest$ac_exeext conftest.$ac_ext
10959 if test $ac_R_space = yes; then
10960 { echo "$as_me:$LINENO: result: yes" >&5
10961 echo "${ECHO_T}yes" >&6; }
10962 X_LIBS="$X_LIBS -R $x_libraries"
10963 else
10964 { echo "$as_me:$LINENO: result: neither works" >&5
10965 echo "${ECHO_T}neither works" >&6; }
10966 fi
10967 fi
10968 LIBS=$ac_xsave_LIBS
10969 esac
10970 fi
10971
10972 # Check for system-dependent libraries X programs must link with.
10973 # Do this before checking for the system-independent R6 libraries
10974 # (-lICE), since we may need -lsocket or whatever for X linking.
10975
10976 if test "$ISC" = yes; then
10977 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10978 else
10979 # Martyn Johnson says this is needed for Ultrix, if the X
10980 # libraries were built with DECnet support. And Karl Berry says
10981 # the Alpha needs dnet_stub (dnet does not exist).
10982 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10983 cat >conftest.$ac_ext <<_ACEOF
10984 /* confdefs.h. */
10985 _ACEOF
10986 cat confdefs.h >>conftest.$ac_ext
10987 cat >>conftest.$ac_ext <<_ACEOF
10988 /* end confdefs.h. */
10989
10990 /* Override any GCC internal prototype to avoid an error.
10991 Use char because int might match the return type of a GCC
10992 builtin and then its argument prototype would still apply. */
10993 #ifdef __cplusplus
10994 extern "C"
10995 #endif
10996 char XOpenDisplay ();
10997 int
10998 main ()
10999 {
11000 return XOpenDisplay ();
11001 ;
11002 return 0;
11003 }
11004 _ACEOF
11005 rm -f conftest.$ac_objext conftest$ac_exeext
11006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11007 (eval $ac_link) 2>conftest.er1
11008 ac_status=$?
11009 grep -v '^ *+' conftest.er1 >conftest.err
11010 rm -f conftest.er1
11011 cat conftest.err >&5
11012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11013 (exit $ac_status); } &&
11014 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11016 (eval $ac_try) 2>&5
11017 ac_status=$?
11018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11019 (exit $ac_status); }; } &&
11020 { ac_try='test -s conftest$ac_exeext'
11021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11022 (eval $ac_try) 2>&5
11023 ac_status=$?
11024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11025 (exit $ac_status); }; }; then
11026 :
11027 else
11028 echo "$as_me: failed program was:" >&5
11029 sed 's/^/| /' conftest.$ac_ext >&5
11030
11031 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
11032 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
11033 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
11034 echo $ECHO_N "(cached) $ECHO_C" >&6
11035 else
11036 ac_check_lib_save_LIBS=$LIBS
11037 LIBS="-ldnet $LIBS"
11038 cat >conftest.$ac_ext <<_ACEOF
11039 /* confdefs.h. */
11040 _ACEOF
11041 cat confdefs.h >>conftest.$ac_ext
11042 cat >>conftest.$ac_ext <<_ACEOF
11043 /* end confdefs.h. */
11044
11045 /* Override any GCC internal prototype to avoid an error.
11046 Use char because int might match the return type of a GCC
11047 builtin and then its argument prototype would still apply. */
11048 #ifdef __cplusplus
11049 extern "C"
11050 #endif
11051 char dnet_ntoa ();
11052 int
11053 main ()
11054 {
11055 return dnet_ntoa ();
11056 ;
11057 return 0;
11058 }
11059 _ACEOF
11060 rm -f conftest.$ac_objext conftest$ac_exeext
11061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11062 (eval $ac_link) 2>conftest.er1
11063 ac_status=$?
11064 grep -v '^ *+' conftest.er1 >conftest.err
11065 rm -f conftest.er1
11066 cat conftest.err >&5
11067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11068 (exit $ac_status); } &&
11069 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11071 (eval $ac_try) 2>&5
11072 ac_status=$?
11073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11074 (exit $ac_status); }; } &&
11075 { ac_try='test -s conftest$ac_exeext'
11076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11077 (eval $ac_try) 2>&5
11078 ac_status=$?
11079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11080 (exit $ac_status); }; }; then
11081 ac_cv_lib_dnet_dnet_ntoa=yes
11082 else
11083 echo "$as_me: failed program was:" >&5
11084 sed 's/^/| /' conftest.$ac_ext >&5
11085
11086 ac_cv_lib_dnet_dnet_ntoa=no
11087 fi
11088
11089 rm -f conftest.err conftest.$ac_objext \
11090 conftest$ac_exeext conftest.$ac_ext
11091 LIBS=$ac_check_lib_save_LIBS
11092 fi
11093 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11094 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11095 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
11096 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11097 fi
11098
11099 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11100 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
11101 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
11102 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
11103 echo $ECHO_N "(cached) $ECHO_C" >&6
11104 else
11105 ac_check_lib_save_LIBS=$LIBS
11106 LIBS="-ldnet_stub $LIBS"
11107 cat >conftest.$ac_ext <<_ACEOF
11108 /* confdefs.h. */
11109 _ACEOF
11110 cat confdefs.h >>conftest.$ac_ext
11111 cat >>conftest.$ac_ext <<_ACEOF
11112 /* end confdefs.h. */
11113
11114 /* Override any GCC internal prototype to avoid an error.
11115 Use char because int might match the return type of a GCC
11116 builtin and then its argument prototype would still apply. */
11117 #ifdef __cplusplus
11118 extern "C"
11119 #endif
11120 char dnet_ntoa ();
11121 int
11122 main ()
11123 {
11124 return dnet_ntoa ();
11125 ;
11126 return 0;
11127 }
11128 _ACEOF
11129 rm -f conftest.$ac_objext conftest$ac_exeext
11130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11131 (eval $ac_link) 2>conftest.er1
11132 ac_status=$?
11133 grep -v '^ *+' conftest.er1 >conftest.err
11134 rm -f conftest.er1
11135 cat conftest.err >&5
11136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11137 (exit $ac_status); } &&
11138 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11140 (eval $ac_try) 2>&5
11141 ac_status=$?
11142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11143 (exit $ac_status); }; } &&
11144 { ac_try='test -s conftest$ac_exeext'
11145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11146 (eval $ac_try) 2>&5
11147 ac_status=$?
11148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11149 (exit $ac_status); }; }; then
11150 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11151 else
11152 echo "$as_me: failed program was:" >&5
11153 sed 's/^/| /' conftest.$ac_ext >&5
11154
11155 ac_cv_lib_dnet_stub_dnet_ntoa=no
11156 fi
11157
11158 rm -f conftest.err conftest.$ac_objext \
11159 conftest$ac_exeext conftest.$ac_ext
11160 LIBS=$ac_check_lib_save_LIBS
11161 fi
11162 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11163 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11164 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
11165 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11166 fi
11167
11168 fi
11169 fi
11170
11171 rm -f conftest.err conftest.$ac_objext \
11172 conftest$ac_exeext conftest.$ac_ext
11173 LIBS="$ac_xsave_LIBS"
11174
11175 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11176 # to get the SysV transport functions.
11177 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11178 # needs -lnsl.
11179 # The nsl library prevents programs from opening the X display
11180 # on Irix 5.2, according to T.E. Dickey.
11181 # The functions gethostbyname, getservbyname, and inet_addr are
11182 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11183 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
11184 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
11185 if test "${ac_cv_func_gethostbyname+set}" = set; then
11186 echo $ECHO_N "(cached) $ECHO_C" >&6
11187 else
11188 cat >conftest.$ac_ext <<_ACEOF
11189 /* confdefs.h. */
11190 _ACEOF
11191 cat confdefs.h >>conftest.$ac_ext
11192 cat >>conftest.$ac_ext <<_ACEOF
11193 /* end confdefs.h. */
11194 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
11195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11196 #define gethostbyname innocuous_gethostbyname
11197
11198 /* System header to define __stub macros and hopefully few prototypes,
11199 which can conflict with char gethostbyname (); below.
11200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11201 <limits.h> exists even on freestanding compilers. */
11202
11203 #ifdef __STDC__
11204 # include <limits.h>
11205 #else
11206 # include <assert.h>
11207 #endif
11208
11209 #undef gethostbyname
11210
11211 /* Override any GCC internal prototype to avoid an error.
11212 Use char because int might match the return type of a GCC
11213 builtin and then its argument prototype would still apply. */
11214 #ifdef __cplusplus
11215 extern "C"
11216 #endif
11217 char gethostbyname ();
11218 /* The GNU C library defines this for functions which it implements
11219 to always fail with ENOSYS. Some functions are actually named
11220 something starting with __ and the normal name is an alias. */
11221 #if defined __stub_gethostbyname || defined __stub___gethostbyname
11222 choke me
11223 #endif
11224
11225 int
11226 main ()
11227 {
11228 return gethostbyname ();
11229 ;
11230 return 0;
11231 }
11232 _ACEOF
11233 rm -f conftest.$ac_objext conftest$ac_exeext
11234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11235 (eval $ac_link) 2>conftest.er1
11236 ac_status=$?
11237 grep -v '^ *+' conftest.er1 >conftest.err
11238 rm -f conftest.er1
11239 cat conftest.err >&5
11240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11241 (exit $ac_status); } &&
11242 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11244 (eval $ac_try) 2>&5
11245 ac_status=$?
11246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11247 (exit $ac_status); }; } &&
11248 { ac_try='test -s conftest$ac_exeext'
11249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11250 (eval $ac_try) 2>&5
11251 ac_status=$?
11252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11253 (exit $ac_status); }; }; then
11254 ac_cv_func_gethostbyname=yes
11255 else
11256 echo "$as_me: failed program was:" >&5
11257 sed 's/^/| /' conftest.$ac_ext >&5
11258
11259 ac_cv_func_gethostbyname=no
11260 fi
11261
11262 rm -f conftest.err conftest.$ac_objext \
11263 conftest$ac_exeext conftest.$ac_ext
11264 fi
11265 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
11266 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
11267
11268 if test $ac_cv_func_gethostbyname = no; then
11269 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
11270 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
11271 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
11272 echo $ECHO_N "(cached) $ECHO_C" >&6
11273 else
11274 ac_check_lib_save_LIBS=$LIBS
11275 LIBS="-lnsl $LIBS"
11276 cat >conftest.$ac_ext <<_ACEOF
11277 /* confdefs.h. */
11278 _ACEOF
11279 cat confdefs.h >>conftest.$ac_ext
11280 cat >>conftest.$ac_ext <<_ACEOF
11281 /* end confdefs.h. */
11282
11283 /* Override any GCC internal prototype to avoid an error.
11284 Use char because int might match the return type of a GCC
11285 builtin and then its argument prototype would still apply. */
11286 #ifdef __cplusplus
11287 extern "C"
11288 #endif
11289 char gethostbyname ();
11290 int
11291 main ()
11292 {
11293 return gethostbyname ();
11294 ;
11295 return 0;
11296 }
11297 _ACEOF
11298 rm -f conftest.$ac_objext conftest$ac_exeext
11299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11300 (eval $ac_link) 2>conftest.er1
11301 ac_status=$?
11302 grep -v '^ *+' conftest.er1 >conftest.err
11303 rm -f conftest.er1
11304 cat conftest.err >&5
11305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11306 (exit $ac_status); } &&
11307 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11309 (eval $ac_try) 2>&5
11310 ac_status=$?
11311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11312 (exit $ac_status); }; } &&
11313 { ac_try='test -s conftest$ac_exeext'
11314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11315 (eval $ac_try) 2>&5
11316 ac_status=$?
11317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11318 (exit $ac_status); }; }; then
11319 ac_cv_lib_nsl_gethostbyname=yes
11320 else
11321 echo "$as_me: failed program was:" >&5
11322 sed 's/^/| /' conftest.$ac_ext >&5
11323
11324 ac_cv_lib_nsl_gethostbyname=no
11325 fi
11326
11327 rm -f conftest.err conftest.$ac_objext \
11328 conftest$ac_exeext conftest.$ac_ext
11329 LIBS=$ac_check_lib_save_LIBS
11330 fi
11331 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
11332 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
11333 if test $ac_cv_lib_nsl_gethostbyname = yes; then
11334 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11335 fi
11336
11337 if test $ac_cv_lib_nsl_gethostbyname = no; then
11338 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
11339 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
11340 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
11341 echo $ECHO_N "(cached) $ECHO_C" >&6
11342 else
11343 ac_check_lib_save_LIBS=$LIBS
11344 LIBS="-lbsd $LIBS"
11345 cat >conftest.$ac_ext <<_ACEOF
11346 /* confdefs.h. */
11347 _ACEOF
11348 cat confdefs.h >>conftest.$ac_ext
11349 cat >>conftest.$ac_ext <<_ACEOF
11350 /* end confdefs.h. */
11351
11352 /* Override any GCC internal prototype to avoid an error.
11353 Use char because int might match the return type of a GCC
11354 builtin and then its argument prototype would still apply. */
11355 #ifdef __cplusplus
11356 extern "C"
11357 #endif
11358 char gethostbyname ();
11359 int
11360 main ()
11361 {
11362 return gethostbyname ();
11363 ;
11364 return 0;
11365 }
11366 _ACEOF
11367 rm -f conftest.$ac_objext conftest$ac_exeext
11368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11369 (eval $ac_link) 2>conftest.er1
11370 ac_status=$?
11371 grep -v '^ *+' conftest.er1 >conftest.err
11372 rm -f conftest.er1
11373 cat conftest.err >&5
11374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11375 (exit $ac_status); } &&
11376 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11378 (eval $ac_try) 2>&5
11379 ac_status=$?
11380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11381 (exit $ac_status); }; } &&
11382 { ac_try='test -s conftest$ac_exeext'
11383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11384 (eval $ac_try) 2>&5
11385 ac_status=$?
11386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11387 (exit $ac_status); }; }; then
11388 ac_cv_lib_bsd_gethostbyname=yes
11389 else
11390 echo "$as_me: failed program was:" >&5
11391 sed 's/^/| /' conftest.$ac_ext >&5
11392
11393 ac_cv_lib_bsd_gethostbyname=no
11394 fi
11395
11396 rm -f conftest.err conftest.$ac_objext \
11397 conftest$ac_exeext conftest.$ac_ext
11398 LIBS=$ac_check_lib_save_LIBS
11399 fi
11400 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
11401 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
11402 if test $ac_cv_lib_bsd_gethostbyname = yes; then
11403 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11404 fi
11405
11406 fi
11407 fi
11408
11409 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11410 # socket/setsockopt and other routines are undefined under SCO ODT
11411 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11412 # on later versions), says Simon Leinen: it contains gethostby*
11413 # variants that don't use the name server (or something). -lsocket
11414 # must be given before -lnsl if both are needed. We assume that
11415 # if connect needs -lnsl, so does gethostbyname.
11416 { echo "$as_me:$LINENO: checking for connect" >&5
11417 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
11418 if test "${ac_cv_func_connect+set}" = set; then
11419 echo $ECHO_N "(cached) $ECHO_C" >&6
11420 else
11421 cat >conftest.$ac_ext <<_ACEOF
11422 /* confdefs.h. */
11423 _ACEOF
11424 cat confdefs.h >>conftest.$ac_ext
11425 cat >>conftest.$ac_ext <<_ACEOF
11426 /* end confdefs.h. */
11427 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
11428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11429 #define connect innocuous_connect
11430
11431 /* System header to define __stub macros and hopefully few prototypes,
11432 which can conflict with char connect (); below.
11433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11434 <limits.h> exists even on freestanding compilers. */
11435
11436 #ifdef __STDC__
11437 # include <limits.h>
11438 #else
11439 # include <assert.h>
11440 #endif
11441
11442 #undef connect
11443
11444 /* Override any GCC internal prototype to avoid an error.
11445 Use char because int might match the return type of a GCC
11446 builtin and then its argument prototype would still apply. */
11447 #ifdef __cplusplus
11448 extern "C"
11449 #endif
11450 char connect ();
11451 /* The GNU C library defines this for functions which it implements
11452 to always fail with ENOSYS. Some functions are actually named
11453 something starting with __ and the normal name is an alias. */
11454 #if defined __stub_connect || defined __stub___connect
11455 choke me
11456 #endif
11457
11458 int
11459 main ()
11460 {
11461 return connect ();
11462 ;
11463 return 0;
11464 }
11465 _ACEOF
11466 rm -f conftest.$ac_objext conftest$ac_exeext
11467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11468 (eval $ac_link) 2>conftest.er1
11469 ac_status=$?
11470 grep -v '^ *+' conftest.er1 >conftest.err
11471 rm -f conftest.er1
11472 cat conftest.err >&5
11473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11474 (exit $ac_status); } &&
11475 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11477 (eval $ac_try) 2>&5
11478 ac_status=$?
11479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11480 (exit $ac_status); }; } &&
11481 { ac_try='test -s conftest$ac_exeext'
11482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11483 (eval $ac_try) 2>&5
11484 ac_status=$?
11485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11486 (exit $ac_status); }; }; then
11487 ac_cv_func_connect=yes
11488 else
11489 echo "$as_me: failed program was:" >&5
11490 sed 's/^/| /' conftest.$ac_ext >&5
11491
11492 ac_cv_func_connect=no
11493 fi
11494
11495 rm -f conftest.err conftest.$ac_objext \
11496 conftest$ac_exeext conftest.$ac_ext
11497 fi
11498 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
11499 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
11500
11501 if test $ac_cv_func_connect = no; then
11502 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
11503 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
11504 if test "${ac_cv_lib_socket_connect+set}" = set; then
11505 echo $ECHO_N "(cached) $ECHO_C" >&6
11506 else
11507 ac_check_lib_save_LIBS=$LIBS
11508 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11509 cat >conftest.$ac_ext <<_ACEOF
11510 /* confdefs.h. */
11511 _ACEOF
11512 cat confdefs.h >>conftest.$ac_ext
11513 cat >>conftest.$ac_ext <<_ACEOF
11514 /* end confdefs.h. */
11515
11516 /* Override any GCC internal prototype to avoid an error.
11517 Use char because int might match the return type of a GCC
11518 builtin and then its argument prototype would still apply. */
11519 #ifdef __cplusplus
11520 extern "C"
11521 #endif
11522 char connect ();
11523 int
11524 main ()
11525 {
11526 return connect ();
11527 ;
11528 return 0;
11529 }
11530 _ACEOF
11531 rm -f conftest.$ac_objext conftest$ac_exeext
11532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11533 (eval $ac_link) 2>conftest.er1
11534 ac_status=$?
11535 grep -v '^ *+' conftest.er1 >conftest.err
11536 rm -f conftest.er1
11537 cat conftest.err >&5
11538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11539 (exit $ac_status); } &&
11540 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11542 (eval $ac_try) 2>&5
11543 ac_status=$?
11544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11545 (exit $ac_status); }; } &&
11546 { ac_try='test -s conftest$ac_exeext'
11547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11548 (eval $ac_try) 2>&5
11549 ac_status=$?
11550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11551 (exit $ac_status); }; }; then
11552 ac_cv_lib_socket_connect=yes
11553 else
11554 echo "$as_me: failed program was:" >&5
11555 sed 's/^/| /' conftest.$ac_ext >&5
11556
11557 ac_cv_lib_socket_connect=no
11558 fi
11559
11560 rm -f conftest.err conftest.$ac_objext \
11561 conftest$ac_exeext conftest.$ac_ext
11562 LIBS=$ac_check_lib_save_LIBS
11563 fi
11564 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
11565 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
11566 if test $ac_cv_lib_socket_connect = yes; then
11567 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11568 fi
11569
11570 fi
11571
11572 # Guillermo Gomez says -lposix is necessary on A/UX.
11573 { echo "$as_me:$LINENO: checking for remove" >&5
11574 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
11575 if test "${ac_cv_func_remove+set}" = set; then
11576 echo $ECHO_N "(cached) $ECHO_C" >&6
11577 else
11578 cat >conftest.$ac_ext <<_ACEOF
11579 /* confdefs.h. */
11580 _ACEOF
11581 cat confdefs.h >>conftest.$ac_ext
11582 cat >>conftest.$ac_ext <<_ACEOF
11583 /* end confdefs.h. */
11584 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
11585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11586 #define remove innocuous_remove
11587
11588 /* System header to define __stub macros and hopefully few prototypes,
11589 which can conflict with char remove (); below.
11590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11591 <limits.h> exists even on freestanding compilers. */
11592
11593 #ifdef __STDC__
11594 # include <limits.h>
11595 #else
11596 # include <assert.h>
11597 #endif
11598
11599 #undef remove
11600
11601 /* Override any GCC internal prototype to avoid an error.
11602 Use char because int might match the return type of a GCC
11603 builtin and then its argument prototype would still apply. */
11604 #ifdef __cplusplus
11605 extern "C"
11606 #endif
11607 char remove ();
11608 /* The GNU C library defines this for functions which it implements
11609 to always fail with ENOSYS. Some functions are actually named
11610 something starting with __ and the normal name is an alias. */
11611 #if defined __stub_remove || defined __stub___remove
11612 choke me
11613 #endif
11614
11615 int
11616 main ()
11617 {
11618 return remove ();
11619 ;
11620 return 0;
11621 }
11622 _ACEOF
11623 rm -f conftest.$ac_objext conftest$ac_exeext
11624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11625 (eval $ac_link) 2>conftest.er1
11626 ac_status=$?
11627 grep -v '^ *+' conftest.er1 >conftest.err
11628 rm -f conftest.er1
11629 cat conftest.err >&5
11630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11631 (exit $ac_status); } &&
11632 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11634 (eval $ac_try) 2>&5
11635 ac_status=$?
11636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11637 (exit $ac_status); }; } &&
11638 { ac_try='test -s conftest$ac_exeext'
11639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11640 (eval $ac_try) 2>&5
11641 ac_status=$?
11642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11643 (exit $ac_status); }; }; then
11644 ac_cv_func_remove=yes
11645 else
11646 echo "$as_me: failed program was:" >&5
11647 sed 's/^/| /' conftest.$ac_ext >&5
11648
11649 ac_cv_func_remove=no
11650 fi
11651
11652 rm -f conftest.err conftest.$ac_objext \
11653 conftest$ac_exeext conftest.$ac_ext
11654 fi
11655 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
11656 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
11657
11658 if test $ac_cv_func_remove = no; then
11659 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
11660 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
11661 if test "${ac_cv_lib_posix_remove+set}" = set; then
11662 echo $ECHO_N "(cached) $ECHO_C" >&6
11663 else
11664 ac_check_lib_save_LIBS=$LIBS
11665 LIBS="-lposix $LIBS"
11666 cat >conftest.$ac_ext <<_ACEOF
11667 /* confdefs.h. */
11668 _ACEOF
11669 cat confdefs.h >>conftest.$ac_ext
11670 cat >>conftest.$ac_ext <<_ACEOF
11671 /* end confdefs.h. */
11672
11673 /* Override any GCC internal prototype to avoid an error.
11674 Use char because int might match the return type of a GCC
11675 builtin and then its argument prototype would still apply. */
11676 #ifdef __cplusplus
11677 extern "C"
11678 #endif
11679 char remove ();
11680 int
11681 main ()
11682 {
11683 return remove ();
11684 ;
11685 return 0;
11686 }
11687 _ACEOF
11688 rm -f conftest.$ac_objext conftest$ac_exeext
11689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11690 (eval $ac_link) 2>conftest.er1
11691 ac_status=$?
11692 grep -v '^ *+' conftest.er1 >conftest.err
11693 rm -f conftest.er1
11694 cat conftest.err >&5
11695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11696 (exit $ac_status); } &&
11697 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11699 (eval $ac_try) 2>&5
11700 ac_status=$?
11701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11702 (exit $ac_status); }; } &&
11703 { ac_try='test -s conftest$ac_exeext'
11704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11705 (eval $ac_try) 2>&5
11706 ac_status=$?
11707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11708 (exit $ac_status); }; }; then
11709 ac_cv_lib_posix_remove=yes
11710 else
11711 echo "$as_me: failed program was:" >&5
11712 sed 's/^/| /' conftest.$ac_ext >&5
11713
11714 ac_cv_lib_posix_remove=no
11715 fi
11716
11717 rm -f conftest.err conftest.$ac_objext \
11718 conftest$ac_exeext conftest.$ac_ext
11719 LIBS=$ac_check_lib_save_LIBS
11720 fi
11721 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
11722 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
11723 if test $ac_cv_lib_posix_remove = yes; then
11724 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11725 fi
11726
11727 fi
11728
11729 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11730 { echo "$as_me:$LINENO: checking for shmat" >&5
11731 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
11732 if test "${ac_cv_func_shmat+set}" = set; then
11733 echo $ECHO_N "(cached) $ECHO_C" >&6
11734 else
11735 cat >conftest.$ac_ext <<_ACEOF
11736 /* confdefs.h. */
11737 _ACEOF
11738 cat confdefs.h >>conftest.$ac_ext
11739 cat >>conftest.$ac_ext <<_ACEOF
11740 /* end confdefs.h. */
11741 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
11742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11743 #define shmat innocuous_shmat
11744
11745 /* System header to define __stub macros and hopefully few prototypes,
11746 which can conflict with char shmat (); below.
11747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11748 <limits.h> exists even on freestanding compilers. */
11749
11750 #ifdef __STDC__
11751 # include <limits.h>
11752 #else
11753 # include <assert.h>
11754 #endif
11755
11756 #undef shmat
11757
11758 /* Override any GCC internal prototype to avoid an error.
11759 Use char because int might match the return type of a GCC
11760 builtin and then its argument prototype would still apply. */
11761 #ifdef __cplusplus
11762 extern "C"
11763 #endif
11764 char shmat ();
11765 /* The GNU C library defines this for functions which it implements
11766 to always fail with ENOSYS. Some functions are actually named
11767 something starting with __ and the normal name is an alias. */
11768 #if defined __stub_shmat || defined __stub___shmat
11769 choke me
11770 #endif
11771
11772 int
11773 main ()
11774 {
11775 return shmat ();
11776 ;
11777 return 0;
11778 }
11779 _ACEOF
11780 rm -f conftest.$ac_objext conftest$ac_exeext
11781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11782 (eval $ac_link) 2>conftest.er1
11783 ac_status=$?
11784 grep -v '^ *+' conftest.er1 >conftest.err
11785 rm -f conftest.er1
11786 cat conftest.err >&5
11787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11788 (exit $ac_status); } &&
11789 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11791 (eval $ac_try) 2>&5
11792 ac_status=$?
11793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11794 (exit $ac_status); }; } &&
11795 { ac_try='test -s conftest$ac_exeext'
11796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11797 (eval $ac_try) 2>&5
11798 ac_status=$?
11799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11800 (exit $ac_status); }; }; then
11801 ac_cv_func_shmat=yes
11802 else
11803 echo "$as_me: failed program was:" >&5
11804 sed 's/^/| /' conftest.$ac_ext >&5
11805
11806 ac_cv_func_shmat=no
11807 fi
11808
11809 rm -f conftest.err conftest.$ac_objext \
11810 conftest$ac_exeext conftest.$ac_ext
11811 fi
11812 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
11813 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
11814
11815 if test $ac_cv_func_shmat = no; then
11816 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
11817 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
11818 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
11819 echo $ECHO_N "(cached) $ECHO_C" >&6
11820 else
11821 ac_check_lib_save_LIBS=$LIBS
11822 LIBS="-lipc $LIBS"
11823 cat >conftest.$ac_ext <<_ACEOF
11824 /* confdefs.h. */
11825 _ACEOF
11826 cat confdefs.h >>conftest.$ac_ext
11827 cat >>conftest.$ac_ext <<_ACEOF
11828 /* end confdefs.h. */
11829
11830 /* Override any GCC internal prototype to avoid an error.
11831 Use char because int might match the return type of a GCC
11832 builtin and then its argument prototype would still apply. */
11833 #ifdef __cplusplus
11834 extern "C"
11835 #endif
11836 char shmat ();
11837 int
11838 main ()
11839 {
11840 return shmat ();
11841 ;
11842 return 0;
11843 }
11844 _ACEOF
11845 rm -f conftest.$ac_objext conftest$ac_exeext
11846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11847 (eval $ac_link) 2>conftest.er1
11848 ac_status=$?
11849 grep -v '^ *+' conftest.er1 >conftest.err
11850 rm -f conftest.er1
11851 cat conftest.err >&5
11852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11853 (exit $ac_status); } &&
11854 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11856 (eval $ac_try) 2>&5
11857 ac_status=$?
11858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11859 (exit $ac_status); }; } &&
11860 { ac_try='test -s conftest$ac_exeext'
11861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11862 (eval $ac_try) 2>&5
11863 ac_status=$?
11864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11865 (exit $ac_status); }; }; then
11866 ac_cv_lib_ipc_shmat=yes
11867 else
11868 echo "$as_me: failed program was:" >&5
11869 sed 's/^/| /' conftest.$ac_ext >&5
11870
11871 ac_cv_lib_ipc_shmat=no
11872 fi
11873
11874 rm -f conftest.err conftest.$ac_objext \
11875 conftest$ac_exeext conftest.$ac_ext
11876 LIBS=$ac_check_lib_save_LIBS
11877 fi
11878 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
11879 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
11880 if test $ac_cv_lib_ipc_shmat = yes; then
11881 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11882 fi
11883
11884 fi
11885 fi
11886
11887 # Check for libraries that X11R6 Xt/Xaw programs need.
11888 ac_save_LDFLAGS=$LDFLAGS
11889 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11890 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11891 # check for ICE first), but we must link in the order -lSM -lICE or
11892 # we get undefined symbols. So assume we have SM if we have ICE.
11893 # These have to be linked with before -lX11, unlike the other
11894 # libraries we check for below, so use a different variable.
11895 # John Interrante, Karl Berry
11896 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
11897 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
11898 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
11899 echo $ECHO_N "(cached) $ECHO_C" >&6
11900 else
11901 ac_check_lib_save_LIBS=$LIBS
11902 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11903 cat >conftest.$ac_ext <<_ACEOF
11904 /* confdefs.h. */
11905 _ACEOF
11906 cat confdefs.h >>conftest.$ac_ext
11907 cat >>conftest.$ac_ext <<_ACEOF
11908 /* end confdefs.h. */
11909
11910 /* Override any GCC internal prototype to avoid an error.
11911 Use char because int might match the return type of a GCC
11912 builtin and then its argument prototype would still apply. */
11913 #ifdef __cplusplus
11914 extern "C"
11915 #endif
11916 char IceConnectionNumber ();
11917 int
11918 main ()
11919 {
11920 return IceConnectionNumber ();
11921 ;
11922 return 0;
11923 }
11924 _ACEOF
11925 rm -f conftest.$ac_objext conftest$ac_exeext
11926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11927 (eval $ac_link) 2>conftest.er1
11928 ac_status=$?
11929 grep -v '^ *+' conftest.er1 >conftest.err
11930 rm -f conftest.er1
11931 cat conftest.err >&5
11932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11933 (exit $ac_status); } &&
11934 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11936 (eval $ac_try) 2>&5
11937 ac_status=$?
11938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11939 (exit $ac_status); }; } &&
11940 { ac_try='test -s conftest$ac_exeext'
11941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11942 (eval $ac_try) 2>&5
11943 ac_status=$?
11944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11945 (exit $ac_status); }; }; then
11946 ac_cv_lib_ICE_IceConnectionNumber=yes
11947 else
11948 echo "$as_me: failed program was:" >&5
11949 sed 's/^/| /' conftest.$ac_ext >&5
11950
11951 ac_cv_lib_ICE_IceConnectionNumber=no
11952 fi
11953
11954 rm -f conftest.err conftest.$ac_objext \
11955 conftest$ac_exeext conftest.$ac_ext
11956 LIBS=$ac_check_lib_save_LIBS
11957 fi
11958 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11959 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11960 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
11961 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11962 fi
11963
11964 LDFLAGS=$ac_save_LDFLAGS
11965
11966 fi
11967
11968 if test "$no_x" = yes; then
11969 { { echo "$as_me:$LINENO: error: GTK+ peers requested but no X library available" >&5
11970 echo "$as_me: error: GTK+ peers requested but no X library available" >&2;}
11971 { (exit 1); exit 1; }; }
11972 fi
11973 { echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
11974 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6; }
11975 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
11976 echo $ECHO_N "(cached) $ECHO_C" >&6
11977 else
11978 ac_check_lib_save_LIBS=$LIBS
11979 LIBS="-lXtst ${X_LIBS} $LIBS"
11980 cat >conftest.$ac_ext <<_ACEOF
11981 /* confdefs.h. */
11982 _ACEOF
11983 cat confdefs.h >>conftest.$ac_ext
11984 cat >>conftest.$ac_ext <<_ACEOF
11985 /* end confdefs.h. */
11986
11987 /* Override any GCC internal prototype to avoid an error.
11988 Use char because int might match the return type of a GCC
11989 builtin and then its argument prototype would still apply. */
11990 #ifdef __cplusplus
11991 extern "C"
11992 #endif
11993 char XTestQueryExtension ();
11994 int
11995 main ()
11996 {
11997 return XTestQueryExtension ();
11998 ;
11999 return 0;
12000 }
12001 _ACEOF
12002 rm -f conftest.$ac_objext conftest$ac_exeext
12003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12004 (eval $ac_link) 2>conftest.er1
12005 ac_status=$?
12006 grep -v '^ *+' conftest.er1 >conftest.err
12007 rm -f conftest.er1
12008 cat conftest.err >&5
12009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12010 (exit $ac_status); } &&
12011 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12013 (eval $ac_try) 2>&5
12014 ac_status=$?
12015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12016 (exit $ac_status); }; } &&
12017 { ac_try='test -s conftest$ac_exeext'
12018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12019 (eval $ac_try) 2>&5
12020 ac_status=$?
12021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12022 (exit $ac_status); }; }; then
12023 ac_cv_lib_Xtst_XTestQueryExtension=yes
12024 else
12025 echo "$as_me: failed program was:" >&5
12026 sed 's/^/| /' conftest.$ac_ext >&5
12027
12028 ac_cv_lib_Xtst_XTestQueryExtension=no
12029 fi
12030
12031 rm -f conftest.err conftest.$ac_objext \
12032 conftest$ac_exeext conftest.$ac_ext
12033 LIBS=$ac_check_lib_save_LIBS
12034 fi
12035 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
12036 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6; }
12037 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
12038 true
12039 else
12040 { { echo "$as_me:$LINENO: error: libXtst NOT found, required for GdkRobot" >&5
12041 echo "$as_me: error: libXtst NOT found, required for GdkRobot" >&2;}
12042 { (exit 1); exit 1; }; }
12043 fi
12044
12045
12046 succeeded=no
12047
12048 if test -z "$PKG_CONFIG"; then
12049 # Extract the first word of "pkg-config", so it can be a program name with args.
12050 set dummy pkg-config; ac_word=$2
12051 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12053 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12054 echo $ECHO_N "(cached) $ECHO_C" >&6
12055 else
12056 case $PKG_CONFIG in
12057 [\\/]* | ?:[\\/]*)
12058 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12059 ;;
12060 *)
12061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12062 for as_dir in $PATH
12063 do
12064 IFS=$as_save_IFS
12065 test -z "$as_dir" && as_dir=.
12066 for ac_exec_ext in '' $ac_executable_extensions; do
12067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12068 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12070 break 2
12071 fi
12072 done
12073 done
12074 IFS=$as_save_IFS
12075
12076 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12077 ;;
12078 esac
12079 fi
12080 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12081 if test -n "$PKG_CONFIG"; then
12082 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12083 echo "${ECHO_T}$PKG_CONFIG" >&6; }
12084 else
12085 { echo "$as_me:$LINENO: result: no" >&5
12086 echo "${ECHO_T}no" >&6; }
12087 fi
12088
12089
12090 fi
12091
12092 if test "$PKG_CONFIG" = "no" ; then
12093 echo "*** The pkg-config script could not be found. Make sure it is"
12094 echo "*** in your path, or set the PKG_CONFIG environment variable"
12095 echo "*** to the full path to pkg-config."
12096 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12097 else
12098 PKG_CONFIG_MIN_VERSION=0.9.0
12099 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12100 { echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
12101 echo $ECHO_N "checking for gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... $ECHO_C" >&6; }
12102
12103 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
12104 { echo "$as_me:$LINENO: result: yes" >&5
12105 echo "${ECHO_T}yes" >&6; }
12106 succeeded=yes
12107
12108 { echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
12109 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6; }
12110 GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
12111 { echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
12112 echo "${ECHO_T}$GTK_CFLAGS" >&6; }
12113
12114 { echo "$as_me:$LINENO: checking GTK_LIBS" >&5
12115 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6; }
12116 GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
12117 { echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
12118 echo "${ECHO_T}$GTK_LIBS" >&6; }
12119 else
12120 GTK_CFLAGS=""
12121 GTK_LIBS=""
12122 ## If we have a custom action on failure, don't print errors, but
12123 ## do set a variable so people can do so.
12124 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
12125 echo $GTK_PKG_ERRORS
12126 fi
12127
12128
12129
12130 else
12131 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12132 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12133 fi
12134 fi
12135
12136 if test $succeeded = yes; then
12137 :
12138 else
12139 { { 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
12140 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;}
12141 { (exit 1); exit 1; }; }
12142 fi
12143
12144
12145 if test "x${enable_gtk_cairo}" = xyes; then
12146
12147 succeeded=no
12148
12149 if test -z "$PKG_CONFIG"; then
12150 # Extract the first word of "pkg-config", so it can be a program name with args.
12151 set dummy pkg-config; ac_word=$2
12152 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12154 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12155 echo $ECHO_N "(cached) $ECHO_C" >&6
12156 else
12157 case $PKG_CONFIG in
12158 [\\/]* | ?:[\\/]*)
12159 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12160 ;;
12161 *)
12162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12163 for as_dir in $PATH
12164 do
12165 IFS=$as_save_IFS
12166 test -z "$as_dir" && as_dir=.
12167 for ac_exec_ext in '' $ac_executable_extensions; do
12168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12169 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12171 break 2
12172 fi
12173 done
12174 done
12175 IFS=$as_save_IFS
12176
12177 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12178 ;;
12179 esac
12180 fi
12181 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12182 if test -n "$PKG_CONFIG"; then
12183 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12184 echo "${ECHO_T}$PKG_CONFIG" >&6; }
12185 else
12186 { echo "$as_me:$LINENO: result: no" >&5
12187 echo "${ECHO_T}no" >&6; }
12188 fi
12189
12190
12191 fi
12192
12193 if test "$PKG_CONFIG" = "no" ; then
12194 echo "*** The pkg-config script could not be found. Make sure it is"
12195 echo "*** in your path, or set the PKG_CONFIG environment variable"
12196 echo "*** to the full path to pkg-config."
12197 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12198 else
12199 PKG_CONFIG_MIN_VERSION=0.9.0
12200 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12201 { echo "$as_me:$LINENO: checking for cairo >= 0.5.0" >&5
12202 echo $ECHO_N "checking for cairo >= 0.5.0... $ECHO_C" >&6; }
12203
12204 if $PKG_CONFIG --exists "cairo >= 0.5.0" ; then
12205 { echo "$as_me:$LINENO: result: yes" >&5
12206 echo "${ECHO_T}yes" >&6; }
12207 succeeded=yes
12208
12209 { echo "$as_me:$LINENO: checking CAIRO_CFLAGS" >&5
12210 echo $ECHO_N "checking CAIRO_CFLAGS... $ECHO_C" >&6; }
12211 CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= 0.5.0"`
12212 { echo "$as_me:$LINENO: result: $CAIRO_CFLAGS" >&5
12213 echo "${ECHO_T}$CAIRO_CFLAGS" >&6; }
12214
12215 { echo "$as_me:$LINENO: checking CAIRO_LIBS" >&5
12216 echo $ECHO_N "checking CAIRO_LIBS... $ECHO_C" >&6; }
12217 CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= 0.5.0"`
12218 { echo "$as_me:$LINENO: result: $CAIRO_LIBS" >&5
12219 echo "${ECHO_T}$CAIRO_LIBS" >&6; }
12220 else
12221 CAIRO_CFLAGS=""
12222 CAIRO_LIBS=""
12223 ## If we have a custom action on failure, don't print errors, but
12224 ## do set a variable so people can do so.
12225 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo >= 0.5.0"`
12226 echo $CAIRO_PKG_ERRORS
12227 fi
12228
12229
12230
12231 else
12232 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12233 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12234 fi
12235 fi
12236
12237 if test $succeeded = yes; then
12238 :
12239 else
12240 { { 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
12241 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;}
12242 { (exit 1); exit 1; }; }
12243 fi
12244
12245 fi
12246
12247
12248 succeeded=no
12249
12250 if test -z "$PKG_CONFIG"; then
12251 # Extract the first word of "pkg-config", so it can be a program name with args.
12252 set dummy pkg-config; ac_word=$2
12253 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12255 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12256 echo $ECHO_N "(cached) $ECHO_C" >&6
12257 else
12258 case $PKG_CONFIG in
12259 [\\/]* | ?:[\\/]*)
12260 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12261 ;;
12262 *)
12263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12264 for as_dir in $PATH
12265 do
12266 IFS=$as_save_IFS
12267 test -z "$as_dir" && as_dir=.
12268 for ac_exec_ext in '' $ac_executable_extensions; do
12269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12270 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12272 break 2
12273 fi
12274 done
12275 done
12276 IFS=$as_save_IFS
12277
12278 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12279 ;;
12280 esac
12281 fi
12282 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12283 if test -n "$PKG_CONFIG"; then
12284 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12285 echo "${ECHO_T}$PKG_CONFIG" >&6; }
12286 else
12287 { echo "$as_me:$LINENO: result: no" >&5
12288 echo "${ECHO_T}no" >&6; }
12289 fi
12290
12291
12292 fi
12293
12294 if test "$PKG_CONFIG" = "no" ; then
12295 echo "*** The pkg-config script could not be found. Make sure it is"
12296 echo "*** in your path, or set the PKG_CONFIG environment variable"
12297 echo "*** to the full path to pkg-config."
12298 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12299 else
12300 PKG_CONFIG_MIN_VERSION=0.9.0
12301 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12302 { echo "$as_me:$LINENO: checking for freetype2" >&5
12303 echo $ECHO_N "checking for freetype2... $ECHO_C" >&6; }
12304
12305 if $PKG_CONFIG --exists "freetype2" ; then
12306 { echo "$as_me:$LINENO: result: yes" >&5
12307 echo "${ECHO_T}yes" >&6; }
12308 succeeded=yes
12309
12310 { echo "$as_me:$LINENO: checking FREETYPE2_CFLAGS" >&5
12311 echo $ECHO_N "checking FREETYPE2_CFLAGS... $ECHO_C" >&6; }
12312 FREETYPE2_CFLAGS=`$PKG_CONFIG --cflags "freetype2"`
12313 { echo "$as_me:$LINENO: result: $FREETYPE2_CFLAGS" >&5
12314 echo "${ECHO_T}$FREETYPE2_CFLAGS" >&6; }
12315
12316 { echo "$as_me:$LINENO: checking FREETYPE2_LIBS" >&5
12317 echo $ECHO_N "checking FREETYPE2_LIBS... $ECHO_C" >&6; }
12318 FREETYPE2_LIBS=`$PKG_CONFIG --libs "freetype2"`
12319 { echo "$as_me:$LINENO: result: $FREETYPE2_LIBS" >&5
12320 echo "${ECHO_T}$FREETYPE2_LIBS" >&6; }
12321 else
12322 FREETYPE2_CFLAGS=""
12323 FREETYPE2_LIBS=""
12324 ## If we have a custom action on failure, don't print errors, but
12325 ## do set a variable so people can do so.
12326 FREETYPE2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"`
12327 echo $FREETYPE2_PKG_ERRORS
12328 fi
12329
12330
12331
12332 else
12333 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12334 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12335 fi
12336 fi
12337
12338 if test $succeeded = yes; then
12339 :
12340 else
12341 { { echo "$as_me:$LINENO: error: Library requirements (freetype2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
12342 echo "$as_me: error: Library requirements (freetype2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
12343 { (exit 1); exit 1; }; }
12344 fi
12345
12346
12347 succeeded=no
12348
12349 if test -z "$PKG_CONFIG"; then
12350 # Extract the first word of "pkg-config", so it can be a program name with args.
12351 set dummy pkg-config; ac_word=$2
12352 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12354 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12355 echo $ECHO_N "(cached) $ECHO_C" >&6
12356 else
12357 case $PKG_CONFIG in
12358 [\\/]* | ?:[\\/]*)
12359 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12360 ;;
12361 *)
12362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12363 for as_dir in $PATH
12364 do
12365 IFS=$as_save_IFS
12366 test -z "$as_dir" && as_dir=.
12367 for ac_exec_ext in '' $ac_executable_extensions; do
12368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12369 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12371 break 2
12372 fi
12373 done
12374 done
12375 IFS=$as_save_IFS
12376
12377 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12378 ;;
12379 esac
12380 fi
12381 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12382 if test -n "$PKG_CONFIG"; then
12383 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12384 echo "${ECHO_T}$PKG_CONFIG" >&6; }
12385 else
12386 { echo "$as_me:$LINENO: result: no" >&5
12387 echo "${ECHO_T}no" >&6; }
12388 fi
12389
12390
12391 fi
12392
12393 if test "$PKG_CONFIG" = "no" ; then
12394 echo "*** The pkg-config script could not be found. Make sure it is"
12395 echo "*** in your path, or set the PKG_CONFIG environment variable"
12396 echo "*** to the full path to pkg-config."
12397 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12398 else
12399 PKG_CONFIG_MIN_VERSION=0.9.0
12400 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12401 { echo "$as_me:$LINENO: checking for pangoft2" >&5
12402 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6; }
12403
12404 if $PKG_CONFIG --exists "pangoft2" ; then
12405 { echo "$as_me:$LINENO: result: yes" >&5
12406 echo "${ECHO_T}yes" >&6; }
12407 succeeded=yes
12408
12409 { echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
12410 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6; }
12411 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
12412 { echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
12413 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6; }
12414
12415 { echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
12416 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6; }
12417 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
12418 { echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
12419 echo "${ECHO_T}$PANGOFT2_LIBS" >&6; }
12420 else
12421 PANGOFT2_CFLAGS=""
12422 PANGOFT2_LIBS=""
12423 ## If we have a custom action on failure, don't print errors, but
12424 ## do set a variable so people can do so.
12425 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
12426 echo $PANGOFT2_PKG_ERRORS
12427 fi
12428
12429
12430
12431 else
12432 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12433 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12434 fi
12435 fi
12436
12437 if test $succeeded = yes; then
12438 :
12439 else
12440 { { 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
12441 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;}
12442 { (exit 1); exit 1; }; }
12443 fi
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454 fi
12455
12456 if test "x${COMPILE_QT_PEER}" = xyes; then
12457
12458 succeeded=no
12459
12460 if test -z "$PKG_CONFIG"; then
12461 # Extract the first word of "pkg-config", so it can be a program name with args.
12462 set dummy pkg-config; ac_word=$2
12463 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12465 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12466 echo $ECHO_N "(cached) $ECHO_C" >&6
12467 else
12468 case $PKG_CONFIG in
12469 [\\/]* | ?:[\\/]*)
12470 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12471 ;;
12472 *)
12473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12474 for as_dir in $PATH
12475 do
12476 IFS=$as_save_IFS
12477 test -z "$as_dir" && as_dir=.
12478 for ac_exec_ext in '' $ac_executable_extensions; do
12479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12480 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12481 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12482 break 2
12483 fi
12484 done
12485 done
12486 IFS=$as_save_IFS
12487
12488 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12489 ;;
12490 esac
12491 fi
12492 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12493 if test -n "$PKG_CONFIG"; then
12494 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12495 echo "${ECHO_T}$PKG_CONFIG" >&6; }
12496 else
12497 { echo "$as_me:$LINENO: result: no" >&5
12498 echo "${ECHO_T}no" >&6; }
12499 fi
12500
12501
12502 fi
12503
12504 if test "$PKG_CONFIG" = "no" ; then
12505 echo "*** The pkg-config script could not be found. Make sure it is"
12506 echo "*** in your path, or set the PKG_CONFIG environment variable"
12507 echo "*** to the full path to pkg-config."
12508 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12509 else
12510 PKG_CONFIG_MIN_VERSION=0.9.0
12511 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12512 { echo "$as_me:$LINENO: checking for QtCore QtGui >= 4.1.0" >&5
12513 echo $ECHO_N "checking for QtCore QtGui >= 4.1.0... $ECHO_C" >&6; }
12514
12515 if $PKG_CONFIG --exists "QtCore QtGui >= 4.1.0" ; then
12516 { echo "$as_me:$LINENO: result: yes" >&5
12517 echo "${ECHO_T}yes" >&6; }
12518 succeeded=yes
12519
12520 { echo "$as_me:$LINENO: checking QT_CFLAGS" >&5
12521 echo $ECHO_N "checking QT_CFLAGS... $ECHO_C" >&6; }
12522 QT_CFLAGS=`$PKG_CONFIG --cflags "QtCore QtGui >= 4.1.0"`
12523 { echo "$as_me:$LINENO: result: $QT_CFLAGS" >&5
12524 echo "${ECHO_T}$QT_CFLAGS" >&6; }
12525
12526 { echo "$as_me:$LINENO: checking QT_LIBS" >&5
12527 echo $ECHO_N "checking QT_LIBS... $ECHO_C" >&6; }
12528 QT_LIBS=`$PKG_CONFIG --libs "QtCore QtGui >= 4.1.0"`
12529 { echo "$as_me:$LINENO: result: $QT_LIBS" >&5
12530 echo "${ECHO_T}$QT_LIBS" >&6; }
12531 else
12532 QT_CFLAGS=""
12533 QT_LIBS=""
12534 ## If we have a custom action on failure, don't print errors, but
12535 ## do set a variable so people can do so.
12536 QT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtCore QtGui >= 4.1.0"`
12537
12538 fi
12539
12540
12541
12542 else
12543 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12544 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12545 fi
12546 fi
12547
12548 if test $succeeded = yes; then
12549 HAVE_QT4="yes"
12550 else
12551 HAVE_QT4="no"
12552 fi
12553
12554 if test "x$HAVE_QT4" = "xyes"; then
12555 QT_INCLUDE_DIR=$($PKG_CONFIG --variable=includedir QtGui)
12556 EXTRA_QT_INCLUDE_DIR="$QT_INCLUDE_DIR/Qt"
12557 as_ac_File=`echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
12558 { echo "$as_me:$LINENO: checking for $QT_INCLUDE_DIR/QWidget" >&5
12559 echo $ECHO_N "checking for $QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6; }
12560 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
12561 echo $ECHO_N "(cached) $ECHO_C" >&6
12562 else
12563 test "$cross_compiling" = yes &&
12564 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
12565 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
12566 { (exit 1); exit 1; }; }
12567 if test -r "$QT_INCLUDE_DIR/QWidget"; then
12568 eval "$as_ac_File=yes"
12569 else
12570 eval "$as_ac_File=no"
12571 fi
12572 fi
12573 ac_res=`eval echo '${'$as_ac_File'}'`
12574 { echo "$as_me:$LINENO: result: $ac_res" >&5
12575 echo "${ECHO_T}$ac_res" >&6; }
12576 if test `eval echo '${'$as_ac_File'}'` = yes; then
12577 { echo "$as_me:$LINENO: No extra QT_INCLUDE_DIR needed" >&5
12578 echo "$as_me: No extra QT_INCLUDE_DIR needed" >&6;}
12579 else
12580 as_ac_File=`echo "ac_cv_file_$EXTRA_QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
12581 { echo "$as_me:$LINENO: checking for $EXTRA_QT_INCLUDE_DIR/QWidget" >&5
12582 echo $ECHO_N "checking for $EXTRA_QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6; }
12583 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
12584 echo $ECHO_N "(cached) $ECHO_C" >&6
12585 else
12586 test "$cross_compiling" = yes &&
12587 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
12588 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
12589 { (exit 1); exit 1; }; }
12590 if test -r "$EXTRA_QT_INCLUDE_DIR/QWidget"; then
12591 eval "$as_ac_File=yes"
12592 else
12593 eval "$as_ac_File=no"
12594 fi
12595 fi
12596 ac_res=`eval echo '${'$as_ac_File'}'`
12597 { echo "$as_me:$LINENO: result: $ac_res" >&5
12598 echo "${ECHO_T}$ac_res" >&6; }
12599 if test `eval echo '${'$as_ac_File'}'` = yes; then
12600 QT_CFLAGS="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR"
12601 else
12602 { echo "$as_me:$LINENO: WARNING: QWidget not found" >&5
12603 echo "$as_me: WARNING: QWidget not found" >&2;}
12604 fi
12605
12606 fi
12607
12608 # Extract the first word of "moc", so it can be a program name with args.
12609 set dummy moc; ac_word=$2
12610 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12611 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12612 if test "${ac_cv_prog_MOC+set}" = set; then
12613 echo $ECHO_N "(cached) $ECHO_C" >&6
12614 else
12615 if test -n "$MOC"; then
12616 ac_cv_prog_MOC="$MOC" # Let the user override the test.
12617 else
12618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12619 for as_dir in $PATH
12620 do
12621 IFS=$as_save_IFS
12622 test -z "$as_dir" && as_dir=.
12623 for ac_exec_ext in '' $ac_executable_extensions; do
12624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12625 ac_cv_prog_MOC="moc"
12626 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12627 break 2
12628 fi
12629 done
12630 done
12631 IFS=$as_save_IFS
12632
12633 fi
12634 fi
12635 MOC=$ac_cv_prog_MOC
12636 if test -n "$MOC"; then
12637 { echo "$as_me:$LINENO: result: $MOC" >&5
12638 echo "${ECHO_T}$MOC" >&6; }
12639 else
12640 { echo "$as_me:$LINENO: result: no" >&5
12641 echo "${ECHO_T}no" >&6; }
12642 fi
12643
12644
12645 fi
12646 if test "x$HAVE_QT4" = "xno"; then
12647 { echo "$as_me:$LINENO: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&5
12648 echo "$as_me: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&6;}
12649 case "$host_os" in
12650 darwin*)
12651
12652 # Check whether --with-qt4dir was given.
12653 if test "${with_qt4dir+set}" = set; then
12654 withval=$with_qt4dir; QT4DIR=$withval
12655
12656 fi
12657
12658 if test x"$QT4DIR" = x ; then
12659 { { echo "$as_me:$LINENO: error: *** No path for Qt4 --with-qt4dir option given" >&5
12660 echo "$as_me: error: *** No path for Qt4 --with-qt4dir option given" >&2;}
12661 { (exit 1); exit 1; }; }
12662 fi
12663 { echo "$as_me:$LINENO: result: QT4DIR... $QT4DIR" >&5
12664 echo "${ECHO_T}QT4DIR... $QT4DIR" >&6; }
12665 # Extract the first word of "moc", so it can be a program name with args.
12666 set dummy moc; ac_word=$2
12667 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12669 if test "${ac_cv_prog_MOC+set}" = set; then
12670 echo $ECHO_N "(cached) $ECHO_C" >&6
12671 else
12672 if test -n "$MOC"; then
12673 ac_cv_prog_MOC="$MOC" # Let the user override the test.
12674 else
12675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12676 for as_dir in $QT4DIR/bin
12677 do
12678 IFS=$as_save_IFS
12679 test -z "$as_dir" && as_dir=.
12680 for ac_exec_ext in '' $ac_executable_extensions; do
12681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12682 ac_cv_prog_MOC="$QT4DIR/bin/moc"
12683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12684 break 2
12685 fi
12686 done
12687 done
12688 IFS=$as_save_IFS
12689
12690 fi
12691 fi
12692 MOC=$ac_cv_prog_MOC
12693 if test -n "$MOC"; then
12694 { echo "$as_me:$LINENO: result: $MOC" >&5
12695 echo "${ECHO_T}$MOC" >&6; }
12696 else
12697 { echo "$as_me:$LINENO: result: no" >&5
12698 echo "${ECHO_T}no" >&6; }
12699 fi
12700
12701
12702 if test x"$MOC" = x; then
12703 { { echo "$as_me:$LINENO: error: *** This is not the right Qt installation" >&5
12704 echo "$as_me: error: *** This is not the right Qt installation" >&2;}
12705 { (exit 1); exit 1; }; }
12706 fi
12707 QT_CFLAGS="-F$QT4DIR/lib -I$QT4DIR/lib/QtCore.framework/Headers"
12708 QT_CFLAGS="$QT_CFLAGS -I$QT4DIR/lib/QtGui.framework/Headers"
12709 QT_LIBS="-Xlinker -F$QT4DIR/lib -Xlinker -framework -Xlinker QtCore"
12710 QT_LIBS="$QT_LIBS -Xlinker -framework -Xlinker QtGui"
12711 ;;
12712 *)
12713 { { echo "$as_me:$LINENO: error: *** Please check PKG_CONFIG_PATH or the version
12714 of your installed Qt4 installation." >&5
12715 echo "$as_me: error: *** Please check PKG_CONFIG_PATH or the version
12716 of your installed Qt4 installation." >&2;}
12717 { (exit 1); exit 1; }; }
12718 ;;
12719 esac
12720 fi
12721 { echo "$as_me:$LINENO: Set QT_CFLAGS... $QT_CFLAGS" >&5
12722 echo "$as_me: Set QT_CFLAGS... $QT_CFLAGS" >&6;}
12723
12724
12725 fi
12726 fi
12727
12728
12729
12730 # Check whether --with-javah was given.
12731 if test "${with_javah+set}" = set; then
12732 withval=$with_javah;
12733 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
12734
12735 if test "x${withval}" != x; then
12736 if test -f "${withval}"; then
12737 USER_JAVAH="${withval}"
12738 else
12739 # Extract the first word of ""${withval}"", so it can be a program name with args.
12740 set dummy "${withval}"; ac_word=$2
12741 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12743 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
12744 echo $ECHO_N "(cached) $ECHO_C" >&6
12745 else
12746 case $USER_JAVAH in
12747 [\\/]* | ?:[\\/]*)
12748 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
12749 ;;
12750 *)
12751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12752 for as_dir in $PATH
12753 do
12754 IFS=$as_save_IFS
12755 test -z "$as_dir" && as_dir=.
12756 for ac_exec_ext in '' $ac_executable_extensions; do
12757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12758 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
12759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12760 break 2
12761 fi
12762 done
12763 done
12764 IFS=$as_save_IFS
12765
12766 ;;
12767 esac
12768 fi
12769 USER_JAVAH=$ac_cv_path_USER_JAVAH
12770 if test -n "$USER_JAVAH"; then
12771 { echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
12772 echo "${ECHO_T}$USER_JAVAH" >&6; }
12773 else
12774 { echo "$as_me:$LINENO: result: no" >&5
12775 echo "${ECHO_T}no" >&6; }
12776 fi
12777
12778
12779 fi
12780 else
12781 for javah_name in gcjh javah; do
12782 # Extract the first word of ""$javah_name"", so it can be a program name with args.
12783 set dummy "$javah_name"; ac_word=$2
12784 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12786 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
12787 echo $ECHO_N "(cached) $ECHO_C" >&6
12788 else
12789 case $USER_JAVAH in
12790 [\\/]* | ?:[\\/]*)
12791 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
12792 ;;
12793 *)
12794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12795 for as_dir in $PATH
12796 do
12797 IFS=$as_save_IFS
12798 test -z "$as_dir" && as_dir=.
12799 for ac_exec_ext in '' $ac_executable_extensions; do
12800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12801 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
12802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12803 break 2
12804 fi
12805 done
12806 done
12807 IFS=$as_save_IFS
12808
12809 ;;
12810 esac
12811 fi
12812 USER_JAVAH=$ac_cv_path_USER_JAVAH
12813 if test -n "$USER_JAVAH"; then
12814 { echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
12815 echo "${ECHO_T}$USER_JAVAH" >&6; }
12816 else
12817 { echo "$as_me:$LINENO: result: no" >&5
12818 echo "${ECHO_T}no" >&6; }
12819 fi
12820
12821
12822 if test "x${USER_JAVAH}" != x; then
12823 break
12824 fi
12825 done
12826 fi
12827
12828 # if test "x${USER_JAVAH}" = x; then
12829 # echo "configure: cannot find javah" 1>&2
12830 # exit 1
12831 # fi
12832
12833 else
12834
12835 if test "x" != x; then
12836 if test -f ""; then
12837 USER_JAVAH=""
12838 else
12839 # Extract the first word of """", so it can be a program name with args.
12840 set dummy ""; ac_word=$2
12841 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12843 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
12844 echo $ECHO_N "(cached) $ECHO_C" >&6
12845 else
12846 case $USER_JAVAH in
12847 [\\/]* | ?:[\\/]*)
12848 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
12849 ;;
12850 *)
12851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12852 for as_dir in $PATH
12853 do
12854 IFS=$as_save_IFS
12855 test -z "$as_dir" && as_dir=.
12856 for ac_exec_ext in '' $ac_executable_extensions; do
12857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12858 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
12859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12860 break 2
12861 fi
12862 done
12863 done
12864 IFS=$as_save_IFS
12865
12866 ;;
12867 esac
12868 fi
12869 USER_JAVAH=$ac_cv_path_USER_JAVAH
12870 if test -n "$USER_JAVAH"; then
12871 { echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
12872 echo "${ECHO_T}$USER_JAVAH" >&6; }
12873 else
12874 { echo "$as_me:$LINENO: result: no" >&5
12875 echo "${ECHO_T}no" >&6; }
12876 fi
12877
12878
12879 fi
12880 else
12881 for javah_name in gcjh javah; do
12882 # Extract the first word of ""$javah_name"", so it can be a program name with args.
12883 set dummy "$javah_name"; ac_word=$2
12884 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12886 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
12887 echo $ECHO_N "(cached) $ECHO_C" >&6
12888 else
12889 case $USER_JAVAH in
12890 [\\/]* | ?:[\\/]*)
12891 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
12892 ;;
12893 *)
12894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12895 for as_dir in $PATH
12896 do
12897 IFS=$as_save_IFS
12898 test -z "$as_dir" && as_dir=.
12899 for ac_exec_ext in '' $ac_executable_extensions; do
12900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12901 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
12902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12903 break 2
12904 fi
12905 done
12906 done
12907 IFS=$as_save_IFS
12908
12909 ;;
12910 esac
12911 fi
12912 USER_JAVAH=$ac_cv_path_USER_JAVAH
12913 if test -n "$USER_JAVAH"; then
12914 { echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
12915 echo "${ECHO_T}$USER_JAVAH" >&6; }
12916 else
12917 { echo "$as_me:$LINENO: result: no" >&5
12918 echo "${ECHO_T}no" >&6; }
12919 fi
12920
12921
12922 if test "x${USER_JAVAH}" != x; then
12923 break
12924 fi
12925 done
12926 fi
12927
12928 # if test "x${USER_JAVAH}" = x; then
12929 # echo "configure: cannot find javah" 1>&2
12930 # exit 1
12931 # fi
12932
12933 fi
12934
12935 else
12936
12937
12938 if test "x" != x; then
12939 if test -f ""; then
12940 USER_JAVAH=""
12941 else
12942 # Extract the first word of """", so it can be a program name with args.
12943 set dummy ""; ac_word=$2
12944 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12946 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
12947 echo $ECHO_N "(cached) $ECHO_C" >&6
12948 else
12949 case $USER_JAVAH in
12950 [\\/]* | ?:[\\/]*)
12951 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
12952 ;;
12953 *)
12954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12955 for as_dir in $PATH
12956 do
12957 IFS=$as_save_IFS
12958 test -z "$as_dir" && as_dir=.
12959 for ac_exec_ext in '' $ac_executable_extensions; do
12960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12961 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
12962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12963 break 2
12964 fi
12965 done
12966 done
12967 IFS=$as_save_IFS
12968
12969 ;;
12970 esac
12971 fi
12972 USER_JAVAH=$ac_cv_path_USER_JAVAH
12973 if test -n "$USER_JAVAH"; then
12974 { echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
12975 echo "${ECHO_T}$USER_JAVAH" >&6; }
12976 else
12977 { echo "$as_me:$LINENO: result: no" >&5
12978 echo "${ECHO_T}no" >&6; }
12979 fi
12980
12981
12982 fi
12983 else
12984 for javah_name in gcjh javah; do
12985 # Extract the first word of ""$javah_name"", so it can be a program name with args.
12986 set dummy "$javah_name"; ac_word=$2
12987 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12989 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
12990 echo $ECHO_N "(cached) $ECHO_C" >&6
12991 else
12992 case $USER_JAVAH in
12993 [\\/]* | ?:[\\/]*)
12994 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
12995 ;;
12996 *)
12997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12998 for as_dir in $PATH
12999 do
13000 IFS=$as_save_IFS
13001 test -z "$as_dir" && as_dir=.
13002 for ac_exec_ext in '' $ac_executable_extensions; do
13003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13004 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
13005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13006 break 2
13007 fi
13008 done
13009 done
13010 IFS=$as_save_IFS
13011
13012 ;;
13013 esac
13014 fi
13015 USER_JAVAH=$ac_cv_path_USER_JAVAH
13016 if test -n "$USER_JAVAH"; then
13017 { echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
13018 echo "${ECHO_T}$USER_JAVAH" >&6; }
13019 else
13020 { echo "$as_me:$LINENO: result: no" >&5
13021 echo "${ECHO_T}no" >&6; }
13022 fi
13023
13024
13025 if test "x${USER_JAVAH}" != x; then
13026 break
13027 fi
13028 done
13029 fi
13030
13031 # if test "x${USER_JAVAH}" = x; then
13032 # echo "configure: cannot find javah" 1>&2
13033 # exit 1
13034 # fi
13035
13036
13037 fi
13038
13039
13040
13041 if test "x${USER_JAVAH}" != x; then
13042 USER_SPECIFIED_JAVAH_TRUE=
13043 USER_SPECIFIED_JAVAH_FALSE='#'
13044 else
13045 USER_SPECIFIED_JAVAH_TRUE='#'
13046 USER_SPECIFIED_JAVAH_FALSE=
13047 fi
13048
13049
13050
13051
13052 CLASSPATH_INCLUDES="-I\$(top_srcdir)/include -I\$(top_srcdir)/native/jni/classpath -I\$(top_srcdir)/native/target/Linux -I\$(top_srcdir)/native/target/generic"
13053
13054
13055 if test "x${COMPILE_JNI}" = xyes; then
13056 { echo "$as_me:$LINENO: checking jni_md.h support" >&5
13057 echo $ECHO_N "checking jni_md.h support... $ECHO_C" >&6; }
13058 if test -f ${srcdir}/include/jni_md-${target_cpu}-${target_os}.h; then
13059 { echo "$as_me:$LINENO: result: yes" >&5
13060 echo "${ECHO_T}yes" >&6; }
13061 else
13062 target_cpu=x86
13063 target_os=linux-gnu
13064 { echo "$as_me:$LINENO: WARNING: no" >&5
13065 echo "$as_me: WARNING: no" >&2;}
13066 fi
13067 ac_sources="include/jni_md-${target_cpu}-${target_os}.h"
13068 ac_dests="include/jni_md.h"
13069 while test -n "$ac_sources"; do
13070 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
13071 set $ac_sources; ac_source=$1; shift; ac_sources=$*
13072 ac_config_links_1="$ac_config_links_1 $ac_dest:$ac_source"
13073 done
13074 ac_config_links="$ac_config_links $ac_config_links_1"
13075
13076 fi
13077
13078
13079 user_specified_javac=
13080
13081
13082
13083 # Check whether --with-gcj was given.
13084 if test "${with_gcj+set}" = set; then
13085 withval=$with_gcj;
13086 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
13087
13088 if test "x${withval}" != x; then
13089 if test -f "${withval}"; then
13090 GCJ="${withval}"
13091 else
13092 # Extract the first word of ""${withval}"", so it can be a program name with args.
13093 set dummy "${withval}"; ac_word=$2
13094 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13096 if test "${ac_cv_path_GCJ+set}" = set; then
13097 echo $ECHO_N "(cached) $ECHO_C" >&6
13098 else
13099 case $GCJ in
13100 [\\/]* | ?:[\\/]*)
13101 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
13102 ;;
13103 *)
13104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13105 for as_dir in $PATH
13106 do
13107 IFS=$as_save_IFS
13108 test -z "$as_dir" && as_dir=.
13109 for ac_exec_ext in '' $ac_executable_extensions; do
13110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13111 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
13112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13113 break 2
13114 fi
13115 done
13116 done
13117 IFS=$as_save_IFS
13118
13119 ;;
13120 esac
13121 fi
13122 GCJ=$ac_cv_path_GCJ
13123 if test -n "$GCJ"; then
13124 { echo "$as_me:$LINENO: result: $GCJ" >&5
13125 echo "${ECHO_T}$GCJ" >&6; }
13126 else
13127 { echo "$as_me:$LINENO: result: no" >&5
13128 echo "${ECHO_T}no" >&6; }
13129 fi
13130
13131
13132 fi
13133 else
13134 # Extract the first word of ""gcj"", so it can be a program name with args.
13135 set dummy "gcj"; ac_word=$2
13136 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13138 if test "${ac_cv_path_GCJ+set}" = set; then
13139 echo $ECHO_N "(cached) $ECHO_C" >&6
13140 else
13141 case $GCJ in
13142 [\\/]* | ?:[\\/]*)
13143 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
13144 ;;
13145 *)
13146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13147 for as_dir in $PATH
13148 do
13149 IFS=$as_save_IFS
13150 test -z "$as_dir" && as_dir=.
13151 for ac_exec_ext in '' $ac_executable_extensions; do
13152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13153 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
13154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13155 break 2
13156 fi
13157 done
13158 done
13159 IFS=$as_save_IFS
13160
13161 ;;
13162 esac
13163 fi
13164 GCJ=$ac_cv_path_GCJ
13165 if test -n "$GCJ"; then
13166 { echo "$as_me:$LINENO: result: $GCJ" >&5
13167 echo "${ECHO_T}$GCJ" >&6; }
13168 else
13169 { echo "$as_me:$LINENO: result: no" >&5
13170 echo "${ECHO_T}no" >&6; }
13171 fi
13172
13173
13174 fi
13175 if test "x$GCJ" != x; then
13176 { echo "$as_me:$LINENO: checking gcj version 4.0" >&5
13177 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6; }
13178 ac_ext=c
13179 ac_cpp='$CPP $CPPFLAGS'
13180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13183
13184 cat >conftest.$ac_ext <<_ACEOF
13185 #if __GNUC__ <= 3
13186 #error GCJ 4.0.0 or higher is required
13187 #endif
13188
13189 _ACEOF
13190 $GCJ -E conftest.c > /dev/null
13191 gcj_4_result=$?
13192 if test "x$gcj_4_result" = "x0"; then
13193 { echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
13194 echo "${ECHO_T}4.0 or higher found" >&6; }
13195 else
13196 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
13197 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
13198 fi
13199 ac_ext=c
13200 ac_cpp='$CPP $CPPFLAGS'
13201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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 GCJ=""
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_GCJ+set}" = set; then
13219 echo $ECHO_N "(cached) $ECHO_C" >&6
13220 else
13221 case $GCJ in
13222 [\\/]* | ?:[\\/]*)
13223 ac_cv_path_GCJ="$GCJ" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13233 ac_cv_path_GCJ="$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 IFS=$as_save_IFS
13240
13241 ;;
13242 esac
13243 fi
13244 GCJ=$ac_cv_path_GCJ
13245 if test -n "$GCJ"; then
13246 { echo "$as_me:$LINENO: result: $GCJ" >&5
13247 echo "${ECHO_T}$GCJ" >&6; }
13248 else
13249 { echo "$as_me:$LINENO: result: no" >&5
13250 echo "${ECHO_T}no" >&6; }
13251 fi
13252
13253
13254 fi
13255 else
13256 # Extract the first word of ""gcj"", so it can be a program name with args.
13257 set dummy "gcj"; ac_word=$2
13258 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13260 if test "${ac_cv_path_GCJ+set}" = set; then
13261 echo $ECHO_N "(cached) $ECHO_C" >&6
13262 else
13263 case $GCJ in
13264 [\\/]* | ?:[\\/]*)
13265 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
13266 ;;
13267 *)
13268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13269 for as_dir in $PATH
13270 do
13271 IFS=$as_save_IFS
13272 test -z "$as_dir" && as_dir=.
13273 for ac_exec_ext in '' $ac_executable_extensions; do
13274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13275 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
13276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13277 break 2
13278 fi
13279 done
13280 done
13281 IFS=$as_save_IFS
13282
13283 ;;
13284 esac
13285 fi
13286 GCJ=$ac_cv_path_GCJ
13287 if test -n "$GCJ"; then
13288 { echo "$as_me:$LINENO: result: $GCJ" >&5
13289 echo "${ECHO_T}$GCJ" >&6; }
13290 else
13291 { echo "$as_me:$LINENO: result: no" >&5
13292 echo "${ECHO_T}no" >&6; }
13293 fi
13294
13295
13296 fi
13297 if test "x$GCJ" != x; then
13298 { echo "$as_me:$LINENO: checking gcj version 4.0" >&5
13299 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6; }
13300 ac_ext=c
13301 ac_cpp='$CPP $CPPFLAGS'
13302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13305
13306 cat >conftest.$ac_ext <<_ACEOF
13307 #if __GNUC__ <= 3
13308 #error GCJ 4.0.0 or higher is required
13309 #endif
13310
13311 _ACEOF
13312 $GCJ -E conftest.c > /dev/null
13313 gcj_4_result=$?
13314 if test "x$gcj_4_result" = "x0"; then
13315 { echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
13316 echo "${ECHO_T}4.0 or higher found" >&6; }
13317 else
13318 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
13319 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
13320 fi
13321 ac_ext=c
13322 ac_cpp='$CPP $CPPFLAGS'
13323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13326
13327 fi
13328
13329 fi
13330 fi
13331 user_specified_javac=gcj
13332
13333 else
13334
13335
13336 if test "x" != x; then
13337 if test -f ""; then
13338 GCJ=""
13339 else
13340 # Extract the first word of """", so it can be a program name with args.
13341 set dummy ""; ac_word=$2
13342 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13344 if test "${ac_cv_path_GCJ+set}" = set; then
13345 echo $ECHO_N "(cached) $ECHO_C" >&6
13346 else
13347 case $GCJ in
13348 [\\/]* | ?:[\\/]*)
13349 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
13350 ;;
13351 *)
13352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13353 for as_dir in $PATH
13354 do
13355 IFS=$as_save_IFS
13356 test -z "$as_dir" && as_dir=.
13357 for ac_exec_ext in '' $ac_executable_extensions; do
13358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13359 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
13360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13361 break 2
13362 fi
13363 done
13364 done
13365 IFS=$as_save_IFS
13366
13367 ;;
13368 esac
13369 fi
13370 GCJ=$ac_cv_path_GCJ
13371 if test -n "$GCJ"; then
13372 { echo "$as_me:$LINENO: result: $GCJ" >&5
13373 echo "${ECHO_T}$GCJ" >&6; }
13374 else
13375 { echo "$as_me:$LINENO: result: no" >&5
13376 echo "${ECHO_T}no" >&6; }
13377 fi
13378
13379
13380 fi
13381 else
13382 # Extract the first word of ""gcj"", so it can be a program name with args.
13383 set dummy "gcj"; ac_word=$2
13384 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13386 if test "${ac_cv_path_GCJ+set}" = set; then
13387 echo $ECHO_N "(cached) $ECHO_C" >&6
13388 else
13389 case $GCJ in
13390 [\\/]* | ?:[\\/]*)
13391 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
13392 ;;
13393 *)
13394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13395 for as_dir in $PATH
13396 do
13397 IFS=$as_save_IFS
13398 test -z "$as_dir" && as_dir=.
13399 for ac_exec_ext in '' $ac_executable_extensions; do
13400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13401 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
13402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13403 break 2
13404 fi
13405 done
13406 done
13407 IFS=$as_save_IFS
13408
13409 ;;
13410 esac
13411 fi
13412 GCJ=$ac_cv_path_GCJ
13413 if test -n "$GCJ"; then
13414 { echo "$as_me:$LINENO: result: $GCJ" >&5
13415 echo "${ECHO_T}$GCJ" >&6; }
13416 else
13417 { echo "$as_me:$LINENO: result: no" >&5
13418 echo "${ECHO_T}no" >&6; }
13419 fi
13420
13421
13422 fi
13423 if test "x$GCJ" != x; then
13424 { echo "$as_me:$LINENO: checking gcj version 4.0" >&5
13425 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6; }
13426 ac_ext=c
13427 ac_cpp='$CPP $CPPFLAGS'
13428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13431
13432 cat >conftest.$ac_ext <<_ACEOF
13433 #if __GNUC__ <= 3
13434 #error GCJ 4.0.0 or higher is required
13435 #endif
13436
13437 _ACEOF
13438 $GCJ -E conftest.c > /dev/null
13439 gcj_4_result=$?
13440 if test "x$gcj_4_result" = "x0"; then
13441 { echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
13442 echo "${ECHO_T}4.0 or higher found" >&6; }
13443 else
13444 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
13445 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
13446 fi
13447 ac_ext=c
13448 ac_cpp='$CPP $CPPFLAGS'
13449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13452
13453 fi
13454
13455
13456 fi
13457
13458
13459
13460
13461
13462 # Check whether --with-jikes was given.
13463 if test "${with_jikes+set}" = set; then
13464 withval=$with_jikes;
13465 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
13466
13467 if test "x${withval}" != x; then
13468 if test -f "${withval}"; then
13469 JIKES="${withval}"
13470 else
13471 # Extract the first word of ""${withval}"", so it can be a program name with args.
13472 set dummy "${withval}"; ac_word=$2
13473 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13475 if test "${ac_cv_path_JIKES+set}" = set; then
13476 echo $ECHO_N "(cached) $ECHO_C" >&6
13477 else
13478 case $JIKES in
13479 [\\/]* | ?:[\\/]*)
13480 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
13481 ;;
13482 *)
13483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13484 for as_dir in $PATH
13485 do
13486 IFS=$as_save_IFS
13487 test -z "$as_dir" && as_dir=.
13488 for ac_exec_ext in '' $ac_executable_extensions; do
13489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13490 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
13491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13492 break 2
13493 fi
13494 done
13495 done
13496 IFS=$as_save_IFS
13497
13498 ;;
13499 esac
13500 fi
13501 JIKES=$ac_cv_path_JIKES
13502 if test -n "$JIKES"; then
13503 { echo "$as_me:$LINENO: result: $JIKES" >&5
13504 echo "${ECHO_T}$JIKES" >&6; }
13505 else
13506 { echo "$as_me:$LINENO: result: no" >&5
13507 echo "${ECHO_T}no" >&6; }
13508 fi
13509
13510
13511 fi
13512 else
13513 # Extract the first word of ""jikes"", so it can be a program name with args.
13514 set dummy "jikes"; ac_word=$2
13515 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13517 if test "${ac_cv_path_JIKES+set}" = set; then
13518 echo $ECHO_N "(cached) $ECHO_C" >&6
13519 else
13520 case $JIKES in
13521 [\\/]* | ?:[\\/]*)
13522 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
13523 ;;
13524 *)
13525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13526 for as_dir in $PATH
13527 do
13528 IFS=$as_save_IFS
13529 test -z "$as_dir" && as_dir=.
13530 for ac_exec_ext in '' $ac_executable_extensions; do
13531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13532 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
13533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13534 break 2
13535 fi
13536 done
13537 done
13538 IFS=$as_save_IFS
13539
13540 ;;
13541 esac
13542 fi
13543 JIKES=$ac_cv_path_JIKES
13544 if test -n "$JIKES"; then
13545 { echo "$as_me:$LINENO: result: $JIKES" >&5
13546 echo "${ECHO_T}$JIKES" >&6; }
13547 else
13548 { echo "$as_me:$LINENO: result: no" >&5
13549 echo "${ECHO_T}no" >&6; }
13550 fi
13551
13552
13553 fi
13554 if test "x$JIKES" != "x"; then
13555 { echo "$as_me:$LINENO: checking jikes version" >&5
13556 echo $ECHO_N "checking jikes version... $ECHO_C" >&6; }
13557 JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
13558 JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
13559 JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
13560 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then
13561 if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then
13562 JIKES=""
13563 fi
13564 fi
13565 if test "x$JIKES" != "x"; then
13566 { echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
13567 echo "${ECHO_T}$JIKES_VERSION" >&6; }
13568 else
13569 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
13570 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
13571 fi
13572
13573 JIKESENCODING=
13574 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
13575 JIKESENCODING='-encoding UTF-8'
13576 fi
13577
13578
13579 JIKESWARNINGS="+Pno-switchcheck"
13580 if test "x$JIKES_VERSION_MAJOR" = x"1" ; then
13581 if ! test "x$JIKES_VERSION_MINOR" = x"19"; then
13582 JIKESWARNINGS="$JIKESWARNINGS +Pno-shadow"
13583 fi
13584 fi
13585
13586
13587 fi
13588
13589 else
13590 if test "x${withval}" != xno; then
13591
13592 if test "x" != x; then
13593 if test -f ""; then
13594 JIKES=""
13595 else
13596 # Extract the first word of """", so it can be a program name with args.
13597 set dummy ""; ac_word=$2
13598 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13600 if test "${ac_cv_path_JIKES+set}" = set; then
13601 echo $ECHO_N "(cached) $ECHO_C" >&6
13602 else
13603 case $JIKES in
13604 [\\/]* | ?:[\\/]*)
13605 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
13606 ;;
13607 *)
13608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13609 for as_dir in $PATH
13610 do
13611 IFS=$as_save_IFS
13612 test -z "$as_dir" && as_dir=.
13613 for ac_exec_ext in '' $ac_executable_extensions; do
13614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13615 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
13616 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13617 break 2
13618 fi
13619 done
13620 done
13621 IFS=$as_save_IFS
13622
13623 ;;
13624 esac
13625 fi
13626 JIKES=$ac_cv_path_JIKES
13627 if test -n "$JIKES"; then
13628 { echo "$as_me:$LINENO: result: $JIKES" >&5
13629 echo "${ECHO_T}$JIKES" >&6; }
13630 else
13631 { echo "$as_me:$LINENO: result: no" >&5
13632 echo "${ECHO_T}no" >&6; }
13633 fi
13634
13635
13636 fi
13637 else
13638 # Extract the first word of ""jikes"", so it can be a program name with args.
13639 set dummy "jikes"; ac_word=$2
13640 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13641 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13642 if test "${ac_cv_path_JIKES+set}" = set; then
13643 echo $ECHO_N "(cached) $ECHO_C" >&6
13644 else
13645 case $JIKES in
13646 [\\/]* | ?:[\\/]*)
13647 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
13648 ;;
13649 *)
13650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13651 for as_dir in $PATH
13652 do
13653 IFS=$as_save_IFS
13654 test -z "$as_dir" && as_dir=.
13655 for ac_exec_ext in '' $ac_executable_extensions; do
13656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13657 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
13658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13659 break 2
13660 fi
13661 done
13662 done
13663 IFS=$as_save_IFS
13664
13665 ;;
13666 esac
13667 fi
13668 JIKES=$ac_cv_path_JIKES
13669 if test -n "$JIKES"; then
13670 { echo "$as_me:$LINENO: result: $JIKES" >&5
13671 echo "${ECHO_T}$JIKES" >&6; }
13672 else
13673 { echo "$as_me:$LINENO: result: no" >&5
13674 echo "${ECHO_T}no" >&6; }
13675 fi
13676
13677
13678 fi
13679 if test "x$JIKES" != "x"; then
13680 { echo "$as_me:$LINENO: checking jikes version" >&5
13681 echo $ECHO_N "checking jikes version... $ECHO_C" >&6; }
13682 JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
13683 JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
13684 JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
13685 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then
13686 if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then
13687 JIKES=""
13688 fi
13689 fi
13690 if test "x$JIKES" != "x"; then
13691 { echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
13692 echo "${ECHO_T}$JIKES_VERSION" >&6; }
13693 else
13694 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
13695 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
13696 fi
13697
13698 JIKESENCODING=
13699 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
13700 JIKESENCODING='-encoding UTF-8'
13701 fi
13702
13703
13704 JIKESWARNINGS="+Pno-switchcheck"
13705 if test "x$JIKES_VERSION_MAJOR" = x"1" ; then
13706 if ! test "x$JIKES_VERSION_MINOR" = x"19"; then
13707 JIKESWARNINGS="$JIKESWARNINGS +Pno-shadow"
13708 fi
13709 fi
13710
13711
13712 fi
13713
13714 fi
13715 fi
13716 user_specified_javac=jikes
13717
13718 else
13719
13720
13721 if test "x" != x; then
13722 if test -f ""; then
13723 JIKES=""
13724 else
13725 # Extract the first word of """", so it can be a program name with args.
13726 set dummy ""; ac_word=$2
13727 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13729 if test "${ac_cv_path_JIKES+set}" = set; then
13730 echo $ECHO_N "(cached) $ECHO_C" >&6
13731 else
13732 case $JIKES in
13733 [\\/]* | ?:[\\/]*)
13734 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
13735 ;;
13736 *)
13737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13738 for as_dir in $PATH
13739 do
13740 IFS=$as_save_IFS
13741 test -z "$as_dir" && as_dir=.
13742 for ac_exec_ext in '' $ac_executable_extensions; do
13743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13744 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
13745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13746 break 2
13747 fi
13748 done
13749 done
13750 IFS=$as_save_IFS
13751
13752 ;;
13753 esac
13754 fi
13755 JIKES=$ac_cv_path_JIKES
13756 if test -n "$JIKES"; then
13757 { echo "$as_me:$LINENO: result: $JIKES" >&5
13758 echo "${ECHO_T}$JIKES" >&6; }
13759 else
13760 { echo "$as_me:$LINENO: result: no" >&5
13761 echo "${ECHO_T}no" >&6; }
13762 fi
13763
13764
13765 fi
13766 else
13767 # Extract the first word of ""jikes"", so it can be a program name with args.
13768 set dummy "jikes"; ac_word=$2
13769 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13771 if test "${ac_cv_path_JIKES+set}" = set; then
13772 echo $ECHO_N "(cached) $ECHO_C" >&6
13773 else
13774 case $JIKES in
13775 [\\/]* | ?:[\\/]*)
13776 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
13777 ;;
13778 *)
13779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13780 for as_dir in $PATH
13781 do
13782 IFS=$as_save_IFS
13783 test -z "$as_dir" && as_dir=.
13784 for ac_exec_ext in '' $ac_executable_extensions; do
13785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13786 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
13787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13788 break 2
13789 fi
13790 done
13791 done
13792 IFS=$as_save_IFS
13793
13794 ;;
13795 esac
13796 fi
13797 JIKES=$ac_cv_path_JIKES
13798 if test -n "$JIKES"; then
13799 { echo "$as_me:$LINENO: result: $JIKES" >&5
13800 echo "${ECHO_T}$JIKES" >&6; }
13801 else
13802 { echo "$as_me:$LINENO: result: no" >&5
13803 echo "${ECHO_T}no" >&6; }
13804 fi
13805
13806
13807 fi
13808 if test "x$JIKES" != "x"; then
13809 { echo "$as_me:$LINENO: checking jikes version" >&5
13810 echo $ECHO_N "checking jikes version... $ECHO_C" >&6; }
13811 JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
13812 JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
13813 JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
13814 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then
13815 if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then
13816 JIKES=""
13817 fi
13818 fi
13819 if test "x$JIKES" != "x"; then
13820 { echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
13821 echo "${ECHO_T}$JIKES_VERSION" >&6; }
13822 else
13823 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
13824 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
13825 fi
13826
13827 JIKESENCODING=
13828 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
13829 JIKESENCODING='-encoding UTF-8'
13830 fi
13831
13832
13833 JIKESWARNINGS="+Pno-switchcheck"
13834 if test "x$JIKES_VERSION_MAJOR" = x"1" ; then
13835 if ! test "x$JIKES_VERSION_MINOR" = x"19"; then
13836 JIKESWARNINGS="$JIKESWARNINGS +Pno-shadow"
13837 fi
13838 fi
13839
13840
13841 fi
13842
13843
13844 fi
13845
13846
13847
13848
13849
13850 # Check whether --with-kjc was given.
13851 if test "${with_kjc+set}" = set; then
13852 withval=$with_kjc;
13853 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
13854
13855 if test "x${withval}" != x; then
13856 if test -f "${withval}"; then
13857 KJC="${withval}"
13858 else
13859 # Extract the first word of ""${withval}"", so it can be a program name with args.
13860 set dummy "${withval}"; ac_word=$2
13861 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13862 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13863 if test "${ac_cv_path_KJC+set}" = set; then
13864 echo $ECHO_N "(cached) $ECHO_C" >&6
13865 else
13866 case $KJC in
13867 [\\/]* | ?:[\\/]*)
13868 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
13869 ;;
13870 *)
13871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13872 for as_dir in $PATH
13873 do
13874 IFS=$as_save_IFS
13875 test -z "$as_dir" && as_dir=.
13876 for ac_exec_ext in '' $ac_executable_extensions; do
13877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13878 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
13879 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13880 break 2
13881 fi
13882 done
13883 done
13884 IFS=$as_save_IFS
13885
13886 ;;
13887 esac
13888 fi
13889 KJC=$ac_cv_path_KJC
13890 if test -n "$KJC"; then
13891 { echo "$as_me:$LINENO: result: $KJC" >&5
13892 echo "${ECHO_T}$KJC" >&6; }
13893 else
13894 { echo "$as_me:$LINENO: result: no" >&5
13895 echo "${ECHO_T}no" >&6; }
13896 fi
13897
13898
13899 fi
13900 else
13901 # Extract the first word of ""kJC"", so it can be a program name with args.
13902 set dummy "kJC"; ac_word=$2
13903 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13905 if test "${ac_cv_path_KJC+set}" = set; then
13906 echo $ECHO_N "(cached) $ECHO_C" >&6
13907 else
13908 case $KJC in
13909 [\\/]* | ?:[\\/]*)
13910 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
13911 ;;
13912 *)
13913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13914 for as_dir in $PATH
13915 do
13916 IFS=$as_save_IFS
13917 test -z "$as_dir" && as_dir=.
13918 for ac_exec_ext in '' $ac_executable_extensions; do
13919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13920 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
13921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13922 break 2
13923 fi
13924 done
13925 done
13926 IFS=$as_save_IFS
13927
13928 ;;
13929 esac
13930 fi
13931 KJC=$ac_cv_path_KJC
13932 if test -n "$KJC"; then
13933 { echo "$as_me:$LINENO: result: $KJC" >&5
13934 echo "${ECHO_T}$KJC" >&6; }
13935 else
13936 { echo "$as_me:$LINENO: result: no" >&5
13937 echo "${ECHO_T}no" >&6; }
13938 fi
13939
13940
13941 fi
13942
13943 else
13944 if test "x${withval}" != xno; then
13945
13946 if test "x" != x; then
13947 if test -f ""; then
13948 KJC=""
13949 else
13950 # Extract the first word of """", so it can be a program name with args.
13951 set dummy ""; ac_word=$2
13952 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13954 if test "${ac_cv_path_KJC+set}" = set; then
13955 echo $ECHO_N "(cached) $ECHO_C" >&6
13956 else
13957 case $KJC in
13958 [\\/]* | ?:[\\/]*)
13959 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
13960 ;;
13961 *)
13962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13963 for as_dir in $PATH
13964 do
13965 IFS=$as_save_IFS
13966 test -z "$as_dir" && as_dir=.
13967 for ac_exec_ext in '' $ac_executable_extensions; do
13968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13969 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
13970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13971 break 2
13972 fi
13973 done
13974 done
13975 IFS=$as_save_IFS
13976
13977 ;;
13978 esac
13979 fi
13980 KJC=$ac_cv_path_KJC
13981 if test -n "$KJC"; then
13982 { echo "$as_me:$LINENO: result: $KJC" >&5
13983 echo "${ECHO_T}$KJC" >&6; }
13984 else
13985 { echo "$as_me:$LINENO: result: no" >&5
13986 echo "${ECHO_T}no" >&6; }
13987 fi
13988
13989
13990 fi
13991 else
13992 # Extract the first word of ""kJC"", so it can be a program name with args.
13993 set dummy "kJC"; ac_word=$2
13994 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13996 if test "${ac_cv_path_KJC+set}" = set; then
13997 echo $ECHO_N "(cached) $ECHO_C" >&6
13998 else
13999 case $KJC in
14000 [\\/]* | ?:[\\/]*)
14001 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
14002 ;;
14003 *)
14004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14005 for as_dir in $PATH
14006 do
14007 IFS=$as_save_IFS
14008 test -z "$as_dir" && as_dir=.
14009 for ac_exec_ext in '' $ac_executable_extensions; do
14010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14011 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
14012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14013 break 2
14014 fi
14015 done
14016 done
14017 IFS=$as_save_IFS
14018
14019 ;;
14020 esac
14021 fi
14022 KJC=$ac_cv_path_KJC
14023 if test -n "$KJC"; then
14024 { echo "$as_me:$LINENO: result: $KJC" >&5
14025 echo "${ECHO_T}$KJC" >&6; }
14026 else
14027 { echo "$as_me:$LINENO: result: no" >&5
14028 echo "${ECHO_T}no" >&6; }
14029 fi
14030
14031
14032 fi
14033
14034 fi
14035 fi
14036 user_specified_javac=kjc
14037
14038 else
14039
14040
14041 if test "x" != x; then
14042 if test -f ""; then
14043 KJC=""
14044 else
14045 # Extract the first word of """", so it can be a program name with args.
14046 set dummy ""; ac_word=$2
14047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14049 if test "${ac_cv_path_KJC+set}" = set; then
14050 echo $ECHO_N "(cached) $ECHO_C" >&6
14051 else
14052 case $KJC in
14053 [\\/]* | ?:[\\/]*)
14054 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
14055 ;;
14056 *)
14057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14058 for as_dir in $PATH
14059 do
14060 IFS=$as_save_IFS
14061 test -z "$as_dir" && as_dir=.
14062 for ac_exec_ext in '' $ac_executable_extensions; do
14063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14064 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
14065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14066 break 2
14067 fi
14068 done
14069 done
14070 IFS=$as_save_IFS
14071
14072 ;;
14073 esac
14074 fi
14075 KJC=$ac_cv_path_KJC
14076 if test -n "$KJC"; then
14077 { echo "$as_me:$LINENO: result: $KJC" >&5
14078 echo "${ECHO_T}$KJC" >&6; }
14079 else
14080 { echo "$as_me:$LINENO: result: no" >&5
14081 echo "${ECHO_T}no" >&6; }
14082 fi
14083
14084
14085 fi
14086 else
14087 # Extract the first word of ""kJC"", so it can be a program name with args.
14088 set dummy "kJC"; ac_word=$2
14089 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14091 if test "${ac_cv_path_KJC+set}" = set; then
14092 echo $ECHO_N "(cached) $ECHO_C" >&6
14093 else
14094 case $KJC in
14095 [\\/]* | ?:[\\/]*)
14096 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
14097 ;;
14098 *)
14099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14100 for as_dir in $PATH
14101 do
14102 IFS=$as_save_IFS
14103 test -z "$as_dir" && as_dir=.
14104 for ac_exec_ext in '' $ac_executable_extensions; do
14105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14106 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
14107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14108 break 2
14109 fi
14110 done
14111 done
14112 IFS=$as_save_IFS
14113
14114 ;;
14115 esac
14116 fi
14117 KJC=$ac_cv_path_KJC
14118 if test -n "$KJC"; then
14119 { echo "$as_me:$LINENO: result: $KJC" >&5
14120 echo "${ECHO_T}$KJC" >&6; }
14121 else
14122 { echo "$as_me:$LINENO: result: no" >&5
14123 echo "${ECHO_T}no" >&6; }
14124 fi
14125
14126
14127 fi
14128
14129
14130 fi
14131
14132
14133
14134
14135
14136 # Check whether --with-gcjx was given.
14137 if test "${with_gcjx+set}" = set; then
14138 withval=$with_gcjx;
14139 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
14140
14141 if test "x${withval}" != x; then
14142 if test -f "${withval}"; then
14143 GCJX="${withval}"
14144 else
14145 # Extract the first word of ""${withval}"", so it can be a program name with args.
14146 set dummy "${withval}"; ac_word=$2
14147 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14149 if test "${ac_cv_path_GCJX+set}" = set; then
14150 echo $ECHO_N "(cached) $ECHO_C" >&6
14151 else
14152 case $GCJX in
14153 [\\/]* | ?:[\\/]*)
14154 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
14155 ;;
14156 *)
14157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14158 for as_dir in $PATH
14159 do
14160 IFS=$as_save_IFS
14161 test -z "$as_dir" && as_dir=.
14162 for ac_exec_ext in '' $ac_executable_extensions; do
14163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14164 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
14165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14166 break 2
14167 fi
14168 done
14169 done
14170 IFS=$as_save_IFS
14171
14172 ;;
14173 esac
14174 fi
14175 GCJX=$ac_cv_path_GCJX
14176 if test -n "$GCJX"; then
14177 { echo "$as_me:$LINENO: result: $GCJX" >&5
14178 echo "${ECHO_T}$GCJX" >&6; }
14179 else
14180 { echo "$as_me:$LINENO: result: no" >&5
14181 echo "${ECHO_T}no" >&6; }
14182 fi
14183
14184
14185 fi
14186 else
14187 # Extract the first word of ""gcjx"", so it can be a program name with args.
14188 set dummy "gcjx"; ac_word=$2
14189 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14191 if test "${ac_cv_path_GCJX+set}" = set; then
14192 echo $ECHO_N "(cached) $ECHO_C" >&6
14193 else
14194 case $GCJX in
14195 [\\/]* | ?:[\\/]*)
14196 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
14197 ;;
14198 *)
14199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14200 for as_dir in $PATH
14201 do
14202 IFS=$as_save_IFS
14203 test -z "$as_dir" && as_dir=.
14204 for ac_exec_ext in '' $ac_executable_extensions; do
14205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14206 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
14207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14208 break 2
14209 fi
14210 done
14211 done
14212 IFS=$as_save_IFS
14213
14214 ;;
14215 esac
14216 fi
14217 GCJX=$ac_cv_path_GCJX
14218 if test -n "$GCJX"; then
14219 { echo "$as_me:$LINENO: result: $GCJX" >&5
14220 echo "${ECHO_T}$GCJX" >&6; }
14221 else
14222 { echo "$as_me:$LINENO: result: no" >&5
14223 echo "${ECHO_T}no" >&6; }
14224 fi
14225
14226
14227 fi
14228
14229 else
14230 if test "x${withval}" != xno; then
14231
14232 if test "x" != x; then
14233 if test -f ""; then
14234 GCJX=""
14235 else
14236 # Extract the first word of """", so it can be a program name with args.
14237 set dummy ""; ac_word=$2
14238 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14240 if test "${ac_cv_path_GCJX+set}" = set; then
14241 echo $ECHO_N "(cached) $ECHO_C" >&6
14242 else
14243 case $GCJX in
14244 [\\/]* | ?:[\\/]*)
14245 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
14246 ;;
14247 *)
14248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14249 for as_dir in $PATH
14250 do
14251 IFS=$as_save_IFS
14252 test -z "$as_dir" && as_dir=.
14253 for ac_exec_ext in '' $ac_executable_extensions; do
14254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14255 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
14256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14257 break 2
14258 fi
14259 done
14260 done
14261 IFS=$as_save_IFS
14262
14263 ;;
14264 esac
14265 fi
14266 GCJX=$ac_cv_path_GCJX
14267 if test -n "$GCJX"; then
14268 { echo "$as_me:$LINENO: result: $GCJX" >&5
14269 echo "${ECHO_T}$GCJX" >&6; }
14270 else
14271 { echo "$as_me:$LINENO: result: no" >&5
14272 echo "${ECHO_T}no" >&6; }
14273 fi
14274
14275
14276 fi
14277 else
14278 # Extract the first word of ""gcjx"", so it can be a program name with args.
14279 set dummy "gcjx"; ac_word=$2
14280 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14282 if test "${ac_cv_path_GCJX+set}" = set; then
14283 echo $ECHO_N "(cached) $ECHO_C" >&6
14284 else
14285 case $GCJX in
14286 [\\/]* | ?:[\\/]*)
14287 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
14288 ;;
14289 *)
14290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14291 for as_dir in $PATH
14292 do
14293 IFS=$as_save_IFS
14294 test -z "$as_dir" && as_dir=.
14295 for ac_exec_ext in '' $ac_executable_extensions; do
14296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14297 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
14298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14299 break 2
14300 fi
14301 done
14302 done
14303 IFS=$as_save_IFS
14304
14305 ;;
14306 esac
14307 fi
14308 GCJX=$ac_cv_path_GCJX
14309 if test -n "$GCJX"; then
14310 { echo "$as_me:$LINENO: result: $GCJX" >&5
14311 echo "${ECHO_T}$GCJX" >&6; }
14312 else
14313 { echo "$as_me:$LINENO: result: no" >&5
14314 echo "${ECHO_T}no" >&6; }
14315 fi
14316
14317
14318 fi
14319
14320 fi
14321 fi
14322 user_specified_javac=gcjx
14323
14324 else
14325
14326
14327 if test "x" != x; then
14328 if test -f ""; then
14329 GCJX=""
14330 else
14331 # Extract the first word of """", so it can be a program name with args.
14332 set dummy ""; ac_word=$2
14333 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14335 if test "${ac_cv_path_GCJX+set}" = set; then
14336 echo $ECHO_N "(cached) $ECHO_C" >&6
14337 else
14338 case $GCJX in
14339 [\\/]* | ?:[\\/]*)
14340 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
14341 ;;
14342 *)
14343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14344 for as_dir in $PATH
14345 do
14346 IFS=$as_save_IFS
14347 test -z "$as_dir" && as_dir=.
14348 for ac_exec_ext in '' $ac_executable_extensions; do
14349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14350 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
14351 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14352 break 2
14353 fi
14354 done
14355 done
14356 IFS=$as_save_IFS
14357
14358 ;;
14359 esac
14360 fi
14361 GCJX=$ac_cv_path_GCJX
14362 if test -n "$GCJX"; then
14363 { echo "$as_me:$LINENO: result: $GCJX" >&5
14364 echo "${ECHO_T}$GCJX" >&6; }
14365 else
14366 { echo "$as_me:$LINENO: result: no" >&5
14367 echo "${ECHO_T}no" >&6; }
14368 fi
14369
14370
14371 fi
14372 else
14373 # Extract the first word of ""gcjx"", so it can be a program name with args.
14374 set dummy "gcjx"; ac_word=$2
14375 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14377 if test "${ac_cv_path_GCJX+set}" = set; then
14378 echo $ECHO_N "(cached) $ECHO_C" >&6
14379 else
14380 case $GCJX in
14381 [\\/]* | ?:[\\/]*)
14382 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
14383 ;;
14384 *)
14385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14386 for as_dir in $PATH
14387 do
14388 IFS=$as_save_IFS
14389 test -z "$as_dir" && as_dir=.
14390 for ac_exec_ext in '' $ac_executable_extensions; do
14391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14392 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
14393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14394 break 2
14395 fi
14396 done
14397 done
14398 IFS=$as_save_IFS
14399
14400 ;;
14401 esac
14402 fi
14403 GCJX=$ac_cv_path_GCJX
14404 if test -n "$GCJX"; then
14405 { echo "$as_me:$LINENO: result: $GCJX" >&5
14406 echo "${ECHO_T}$GCJX" >&6; }
14407 else
14408 { echo "$as_me:$LINENO: result: no" >&5
14409 echo "${ECHO_T}no" >&6; }
14410 fi
14411
14412
14413 fi
14414
14415
14416 fi
14417
14418
14419
14420
14421
14422 # Check whether --with-ecj was given.
14423 if test "${with_ecj+set}" = set; then
14424 withval=$with_ecj;
14425 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
14426
14427 if test "x${withval}" != x; then
14428 if test -f "${withval}"; then
14429 ECJ="${withval}"
14430 else
14431 # Extract the first word of ""${withval}"", so it can be a program name with args.
14432 set dummy "${withval}"; ac_word=$2
14433 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14435 if test "${ac_cv_path_ECJ+set}" = set; then
14436 echo $ECHO_N "(cached) $ECHO_C" >&6
14437 else
14438 case $ECJ in
14439 [\\/]* | ?:[\\/]*)
14440 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
14441 ;;
14442 *)
14443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14444 for as_dir in $PATH
14445 do
14446 IFS=$as_save_IFS
14447 test -z "$as_dir" && as_dir=.
14448 for ac_exec_ext in '' $ac_executable_extensions; do
14449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14450 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
14451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14452 break 2
14453 fi
14454 done
14455 done
14456 IFS=$as_save_IFS
14457
14458 ;;
14459 esac
14460 fi
14461 ECJ=$ac_cv_path_ECJ
14462 if test -n "$ECJ"; then
14463 { echo "$as_me:$LINENO: result: $ECJ" >&5
14464 echo "${ECHO_T}$ECJ" >&6; }
14465 else
14466 { echo "$as_me:$LINENO: result: no" >&5
14467 echo "${ECHO_T}no" >&6; }
14468 fi
14469
14470
14471 fi
14472 else
14473 # Extract the first word of ""ecj"", so it can be a program name with args.
14474 set dummy "ecj"; ac_word=$2
14475 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14477 if test "${ac_cv_path_ECJ+set}" = set; then
14478 echo $ECHO_N "(cached) $ECHO_C" >&6
14479 else
14480 case $ECJ in
14481 [\\/]* | ?:[\\/]*)
14482 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
14483 ;;
14484 *)
14485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14486 for as_dir in $PATH
14487 do
14488 IFS=$as_save_IFS
14489 test -z "$as_dir" && as_dir=.
14490 for ac_exec_ext in '' $ac_executable_extensions; do
14491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14492 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
14493 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14494 break 2
14495 fi
14496 done
14497 done
14498 IFS=$as_save_IFS
14499
14500 ;;
14501 esac
14502 fi
14503 ECJ=$ac_cv_path_ECJ
14504 if test -n "$ECJ"; then
14505 { echo "$as_me:$LINENO: result: $ECJ" >&5
14506 echo "${ECHO_T}$ECJ" >&6; }
14507 else
14508 { echo "$as_me:$LINENO: result: no" >&5
14509 echo "${ECHO_T}no" >&6; }
14510 fi
14511
14512
14513 fi
14514
14515 else
14516 if test "x${withval}" != xno; then
14517
14518 if test "x" != x; then
14519 if test -f ""; then
14520 ECJ=""
14521 else
14522 # Extract the first word of """", so it can be a program name with args.
14523 set dummy ""; ac_word=$2
14524 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14526 if test "${ac_cv_path_ECJ+set}" = set; then
14527 echo $ECHO_N "(cached) $ECHO_C" >&6
14528 else
14529 case $ECJ in
14530 [\\/]* | ?:[\\/]*)
14531 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
14532 ;;
14533 *)
14534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14535 for as_dir in $PATH
14536 do
14537 IFS=$as_save_IFS
14538 test -z "$as_dir" && as_dir=.
14539 for ac_exec_ext in '' $ac_executable_extensions; do
14540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14541 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
14542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14543 break 2
14544 fi
14545 done
14546 done
14547 IFS=$as_save_IFS
14548
14549 ;;
14550 esac
14551 fi
14552 ECJ=$ac_cv_path_ECJ
14553 if test -n "$ECJ"; then
14554 { echo "$as_me:$LINENO: result: $ECJ" >&5
14555 echo "${ECHO_T}$ECJ" >&6; }
14556 else
14557 { echo "$as_me:$LINENO: result: no" >&5
14558 echo "${ECHO_T}no" >&6; }
14559 fi
14560
14561
14562 fi
14563 else
14564 # Extract the first word of ""ecj"", so it can be a program name with args.
14565 set dummy "ecj"; ac_word=$2
14566 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14568 if test "${ac_cv_path_ECJ+set}" = set; then
14569 echo $ECHO_N "(cached) $ECHO_C" >&6
14570 else
14571 case $ECJ in
14572 [\\/]* | ?:[\\/]*)
14573 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
14574 ;;
14575 *)
14576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14577 for as_dir in $PATH
14578 do
14579 IFS=$as_save_IFS
14580 test -z "$as_dir" && as_dir=.
14581 for ac_exec_ext in '' $ac_executable_extensions; do
14582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14583 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
14584 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14585 break 2
14586 fi
14587 done
14588 done
14589 IFS=$as_save_IFS
14590
14591 ;;
14592 esac
14593 fi
14594 ECJ=$ac_cv_path_ECJ
14595 if test -n "$ECJ"; then
14596 { echo "$as_me:$LINENO: result: $ECJ" >&5
14597 echo "${ECHO_T}$ECJ" >&6; }
14598 else
14599 { echo "$as_me:$LINENO: result: no" >&5
14600 echo "${ECHO_T}no" >&6; }
14601 fi
14602
14603
14604 fi
14605
14606 fi
14607 fi
14608 user_specified_javac=ecj
14609
14610 else
14611
14612
14613 if test "x" != x; then
14614 if test -f ""; then
14615 ECJ=""
14616 else
14617 # Extract the first word of """", so it can be a program name with args.
14618 set dummy ""; ac_word=$2
14619 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14621 if test "${ac_cv_path_ECJ+set}" = set; then
14622 echo $ECHO_N "(cached) $ECHO_C" >&6
14623 else
14624 case $ECJ in
14625 [\\/]* | ?:[\\/]*)
14626 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
14627 ;;
14628 *)
14629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14630 for as_dir in $PATH
14631 do
14632 IFS=$as_save_IFS
14633 test -z "$as_dir" && as_dir=.
14634 for ac_exec_ext in '' $ac_executable_extensions; do
14635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14636 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
14637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14638 break 2
14639 fi
14640 done
14641 done
14642 IFS=$as_save_IFS
14643
14644 ;;
14645 esac
14646 fi
14647 ECJ=$ac_cv_path_ECJ
14648 if test -n "$ECJ"; then
14649 { echo "$as_me:$LINENO: result: $ECJ" >&5
14650 echo "${ECHO_T}$ECJ" >&6; }
14651 else
14652 { echo "$as_me:$LINENO: result: no" >&5
14653 echo "${ECHO_T}no" >&6; }
14654 fi
14655
14656
14657 fi
14658 else
14659 # Extract the first word of ""ecj"", so it can be a program name with args.
14660 set dummy "ecj"; ac_word=$2
14661 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14663 if test "${ac_cv_path_ECJ+set}" = set; then
14664 echo $ECHO_N "(cached) $ECHO_C" >&6
14665 else
14666 case $ECJ in
14667 [\\/]* | ?:[\\/]*)
14668 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
14669 ;;
14670 *)
14671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14672 for as_dir in $PATH
14673 do
14674 IFS=$as_save_IFS
14675 test -z "$as_dir" && as_dir=.
14676 for ac_exec_ext in '' $ac_executable_extensions; do
14677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14678 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
14679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14680 break 2
14681 fi
14682 done
14683 done
14684 IFS=$as_save_IFS
14685
14686 ;;
14687 esac
14688 fi
14689 ECJ=$ac_cv_path_ECJ
14690 if test -n "$ECJ"; then
14691 { echo "$as_me:$LINENO: result: $ECJ" >&5
14692 echo "${ECHO_T}$ECJ" >&6; }
14693 else
14694 { echo "$as_me:$LINENO: result: no" >&5
14695 echo "${ECHO_T}no" >&6; }
14696 fi
14697
14698
14699 fi
14700
14701
14702 fi
14703
14704
14705
14706
14707 if test "x${user_specified_javac}" = x; then
14708
14709
14710 if test "x${GCJ}" != x; then
14711 FOUND_GCJ_TRUE=
14712 FOUND_GCJ_FALSE='#'
14713 else
14714 FOUND_GCJ_TRUE='#'
14715 FOUND_GCJ_FALSE=
14716 fi
14717
14718
14719
14720 if test "x${JIKES}" != x; then
14721 FOUND_JIKES_TRUE=
14722 FOUND_JIKES_FALSE='#'
14723 else
14724 FOUND_JIKES_TRUE='#'
14725 FOUND_JIKES_FALSE=
14726 fi
14727
14728
14729
14730 if test "x${ECJ}" != x; then
14731 FOUND_ECJ_TRUE=
14732 FOUND_ECJ_FALSE='#'
14733 else
14734 FOUND_ECJ_TRUE='#'
14735 FOUND_ECJ_FALSE=
14736 fi
14737
14738 else
14739
14740
14741 if test "x${user_specified_javac}" = xgcj; then
14742 FOUND_GCJ_TRUE=
14743 FOUND_GCJ_FALSE='#'
14744 else
14745 FOUND_GCJ_TRUE='#'
14746 FOUND_GCJ_FALSE=
14747 fi
14748
14749
14750
14751 if test "x${user_specified_javac}" = xjikes; then
14752 FOUND_JIKES_TRUE=
14753 FOUND_JIKES_FALSE='#'
14754 else
14755 FOUND_JIKES_TRUE='#'
14756 FOUND_JIKES_FALSE=
14757 fi
14758
14759
14760
14761 if test "x${user_specified_javac}" = xecj; then
14762 FOUND_ECJ_TRUE=
14763 FOUND_ECJ_FALSE='#'
14764 else
14765 FOUND_ECJ_TRUE='#'
14766 FOUND_ECJ_FALSE=
14767 fi
14768
14769 fi
14770
14771
14772 if test "x${user_specified_javac}" = xkjc; then
14773 FOUND_KJC_TRUE=
14774 FOUND_KJC_FALSE='#'
14775 else
14776 FOUND_KJC_TRUE='#'
14777 FOUND_KJC_FALSE=
14778 fi
14779
14780
14781
14782 if test "x${user_specified_javac}" = xgcjx; then
14783 FOUND_GCJX_TRUE=
14784 FOUND_GCJX_FALSE='#'
14785 else
14786 FOUND_GCJX_TRUE='#'
14787 FOUND_GCJX_FALSE=
14788 fi
14789
14790
14791 if test "x${GCJ}" = x && test "x${JIKES}" = x && test "x${user_specified_javac}" != xkjc && test "x${user_specified_javac}" != xgcjx && test "x${user_specified_javac}" != xecj; then
14792 { { echo "$as_me:$LINENO: error: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx" >&5
14793 echo "$as_me: error: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx" >&2;}
14794 { (exit 1); exit 1; }; }
14795 fi
14796
14797
14798
14799
14800 # Check whether --with-classpath was given.
14801 if test "${with_classpath+set}" = set; then
14802 withval=$with_classpath;
14803 if test "x${withval}" = xyes; then
14804 # set user classpath to CLASSPATH from env
14805 { echo "$as_me:$LINENO: checking for classlib" >&5
14806 echo $ECHO_N "checking for classlib... $ECHO_C" >&6; }
14807 USER_CLASSLIB=${CLASSPATH}
14808
14809 { echo "$as_me:$LINENO: result: ${USER_CLASSLIB}" >&5
14810 echo "${ECHO_T}${USER_CLASSLIB}" >&6; }
14811 conditional_with_classlib=true
14812 elif test "x${withval}" != x && test "x${withval}" != xno; then
14813 # set user classpath to specified value
14814 { echo "$as_me:$LINENO: checking for classlib" >&5
14815 echo $ECHO_N "checking for classlib... $ECHO_C" >&6; }
14816 USER_CLASSLIB=${withval}
14817
14818 { echo "$as_me:$LINENO: result: ${withval}" >&5
14819 echo "${ECHO_T}${withval}" >&6; }
14820 conditional_with_classlib=true
14821 fi
14822
14823 else
14824 conditional_with_classlib=false
14825 fi
14826
14827
14828
14829 if test "x${conditional_with_classlib}" = xtrue; then
14830 USER_SPECIFIED_CLASSLIB_TRUE=
14831 USER_SPECIFIED_CLASSLIB_FALSE='#'
14832 else
14833 USER_SPECIFIED_CLASSLIB_TRUE='#'
14834 USER_SPECIFIED_CLASSLIB_FALSE=
14835 fi
14836
14837
14838
14839 # Check whether --with-vm-classes was given.
14840 if test "${with_vm_classes+set}" = set; then
14841 withval=$with_vm_classes; vm_classes="$with_vm_classes"
14842 else
14843 vm_classes='${top_srcdir}/vm/reference'
14844 fi
14845
14846
14847
14848
14849 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
14850 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
14851 # Check whether --enable-maintainer-mode was given.
14852 if test "${enable_maintainer_mode+set}" = set; then
14853 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14854 else
14855 USE_MAINTAINER_MODE=no
14856 fi
14857
14858 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
14859 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
14860
14861
14862 if test $USE_MAINTAINER_MODE = yes; then
14863 MAINTAINER_MODE_TRUE=
14864 MAINTAINER_MODE_FALSE='#'
14865 else
14866 MAINTAINER_MODE_TRUE='#'
14867 MAINTAINER_MODE_FALSE=
14868 fi
14869
14870 MAINT=$MAINTAINER_MODE_TRUE
14871
14872
14873
14874 # Check whether --enable-debug was given.
14875 if test "${enable_debug+set}" = set; then
14876 enableval=$enable_debug; case "${enableval}" in
14877 yes)
14878 LIBDEBUG="true"
14879
14880 cat >>confdefs.h <<\_ACEOF
14881 #define DEBUG 1
14882 _ACEOF
14883
14884 ;;
14885 no) LIBDEBUG="false" ;;
14886 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
14887 echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
14888 { (exit 1); exit 1; }; } ;;
14889 esac
14890 else
14891 LIBDEBUG="false"
14892 fi
14893
14894
14895
14896 # Check whether --enable-load-library was given.
14897 if test "${enable_load_library+set}" = set; then
14898 enableval=$enable_load_library; case "${enableval}" in
14899 yes) INIT_LOAD_LIBRARY="true" ;;
14900 no) INIT_LOAD_LIBRARY="false" ;;
14901 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-load-library" >&5
14902 echo "$as_me: error: bad value ${enableval} for --enable-load-library" >&2;}
14903 { (exit 1); exit 1; }; } ;;
14904 esac
14905 else
14906 INIT_LOAD_LIBRARY="true"
14907 fi
14908
14909
14910
14911
14912 # Check whether --enable-java-lang-system-explicit-initialization was given.
14913 if test "${enable_java_lang_system_explicit_initialization+set}" = set; then
14914 enableval=$enable_java_lang_system_explicit_initialization; case "${enableval}" in
14915 yes|true) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="true" ;;
14916 no|false) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="false" ;;
14917 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&5
14918 echo "$as_me: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&2;}
14919 { (exit 1); exit 1; }; } ;;
14920 esac
14921 else
14922 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="false"
14923 fi
14924
14925
14926
14927
14928 REMOVE=""
14929
14930
14931 # Extract the first word of "mkdir", so it can be a program name with args.
14932 set dummy mkdir; ac_word=$2
14933 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14934 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14935 if test "${ac_cv_path_MKDIR+set}" = set; then
14936 echo $ECHO_N "(cached) $ECHO_C" >&6
14937 else
14938 case $MKDIR in
14939 [\\/]* | ?:[\\/]*)
14940 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
14941 ;;
14942 *)
14943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14944 for as_dir in $PATH
14945 do
14946 IFS=$as_save_IFS
14947 test -z "$as_dir" && as_dir=.
14948 for ac_exec_ext in '' $ac_executable_extensions; do
14949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14950 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
14951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14952 break 2
14953 fi
14954 done
14955 done
14956 IFS=$as_save_IFS
14957
14958 ;;
14959 esac
14960 fi
14961 MKDIR=$ac_cv_path_MKDIR
14962 if test -n "$MKDIR"; then
14963 { echo "$as_me:$LINENO: result: $MKDIR" >&5
14964 echo "${ECHO_T}$MKDIR" >&6; }
14965 else
14966 { echo "$as_me:$LINENO: result: no" >&5
14967 echo "${ECHO_T}no" >&6; }
14968 fi
14969
14970
14971 # Extract the first word of "cp", so it can be a program name with args.
14972 set dummy cp; ac_word=$2
14973 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14975 if test "${ac_cv_path_CP+set}" = set; then
14976 echo $ECHO_N "(cached) $ECHO_C" >&6
14977 else
14978 case $CP in
14979 [\\/]* | ?:[\\/]*)
14980 ac_cv_path_CP="$CP" # Let the user override the test with a path.
14981 ;;
14982 *)
14983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14984 for as_dir in $PATH
14985 do
14986 IFS=$as_save_IFS
14987 test -z "$as_dir" && as_dir=.
14988 for ac_exec_ext in '' $ac_executable_extensions; do
14989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14990 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
14991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14992 break 2
14993 fi
14994 done
14995 done
14996 IFS=$as_save_IFS
14997
14998 ;;
14999 esac
15000 fi
15001 CP=$ac_cv_path_CP
15002 if test -n "$CP"; then
15003 { echo "$as_me:$LINENO: result: $CP" >&5
15004 echo "${ECHO_T}$CP" >&6; }
15005 else
15006 { echo "$as_me:$LINENO: result: no" >&5
15007 echo "${ECHO_T}no" >&6; }
15008 fi
15009
15010
15011 # Extract the first word of "date", so it can be a program name with args.
15012 set dummy date; ac_word=$2
15013 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15015 if test "${ac_cv_path_DATE+set}" = set; then
15016 echo $ECHO_N "(cached) $ECHO_C" >&6
15017 else
15018 case $DATE in
15019 [\\/]* | ?:[\\/]*)
15020 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
15021 ;;
15022 *)
15023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15024 for as_dir in $PATH
15025 do
15026 IFS=$as_save_IFS
15027 test -z "$as_dir" && as_dir=.
15028 for ac_exec_ext in '' $ac_executable_extensions; do
15029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15030 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
15031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15032 break 2
15033 fi
15034 done
15035 done
15036 IFS=$as_save_IFS
15037
15038 ;;
15039 esac
15040 fi
15041 DATE=$ac_cv_path_DATE
15042 if test -n "$DATE"; then
15043 { echo "$as_me:$LINENO: result: $DATE" >&5
15044 echo "${ECHO_T}$DATE" >&6; }
15045 else
15046 { echo "$as_me:$LINENO: result: no" >&5
15047 echo "${ECHO_T}no" >&6; }
15048 fi
15049
15050
15051
15052 # Extract the first word of "find", so it can be a program name with args.
15053 set dummy find; ac_word=$2
15054 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15056 if test "${ac_cv_path_FIND+set}" = set; then
15057 echo $ECHO_N "(cached) $ECHO_C" >&6
15058 else
15059 case $FIND in
15060 [\\/]* | ?:[\\/]*)
15061 ac_cv_path_FIND="$FIND" # Let the user override the test with a path.
15062 ;;
15063 *)
15064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15065 for as_dir in $PATH
15066 do
15067 IFS=$as_save_IFS
15068 test -z "$as_dir" && as_dir=.
15069 for ac_exec_ext in '' $ac_executable_extensions; do
15070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15071 ac_cv_path_FIND="$as_dir/$ac_word$ac_exec_ext"
15072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15073 break 2
15074 fi
15075 done
15076 done
15077 IFS=$as_save_IFS
15078
15079 ;;
15080 esac
15081 fi
15082 FIND=$ac_cv_path_FIND
15083 if test -n "$FIND"; then
15084 { echo "$as_me:$LINENO: result: $FIND" >&5
15085 echo "${ECHO_T}$FIND" >&6; }
15086 else
15087 { echo "$as_me:$LINENO: result: no" >&5
15088 echo "${ECHO_T}no" >&6; }
15089 fi
15090
15091
15092
15093
15094 # Extract the first word of "zip", so it can be a program name with args.
15095 set dummy zip; ac_word=$2
15096 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15098 if test "${ac_cv_path_ZIP+set}" = set; then
15099 echo $ECHO_N "(cached) $ECHO_C" >&6
15100 else
15101 case $ZIP in
15102 [\\/]* | ?:[\\/]*)
15103 ac_cv_path_ZIP="$ZIP" # Let the user override the test with a path.
15104 ;;
15105 *)
15106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15107 for as_dir in $PATH
15108 do
15109 IFS=$as_save_IFS
15110 test -z "$as_dir" && as_dir=.
15111 for ac_exec_ext in '' $ac_executable_extensions; do
15112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15113 ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext"
15114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15115 break 2
15116 fi
15117 done
15118 done
15119 IFS=$as_save_IFS
15120
15121 ;;
15122 esac
15123 fi
15124 ZIP=$ac_cv_path_ZIP
15125 if test -n "$ZIP"; then
15126 { echo "$as_me:$LINENO: result: $ZIP" >&5
15127 echo "${ECHO_T}$ZIP" >&6; }
15128 else
15129 { echo "$as_me:$LINENO: result: no" >&5
15130 echo "${ECHO_T}no" >&6; }
15131 fi
15132
15133
15134
15135 # Check whether --with-fastjar was given.
15136 if test "${with_fastjar+set}" = set; then
15137 withval=$with_fastjar;
15138 { echo "$as_me:$LINENO: checking for user supplied fastjar" >&5
15139 echo $ECHO_N "checking for user supplied fastjar... $ECHO_C" >&6; }
15140 FASTJAR=${withval}
15141 { echo "$as_me:$LINENO: result: ${FASTJAR}" >&5
15142 echo "${ECHO_T}${FASTJAR}" >&6; }
15143
15144 else
15145 # Extract the first word of "fastjar", so it can be a program name with args.
15146 set dummy fastjar; ac_word=$2
15147 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15149 if test "${ac_cv_path_FASTJAR+set}" = set; then
15150 echo $ECHO_N "(cached) $ECHO_C" >&6
15151 else
15152 case $FASTJAR in
15153 [\\/]* | ?:[\\/]*)
15154 ac_cv_path_FASTJAR="$FASTJAR" # Let the user override the test with a path.
15155 ;;
15156 *)
15157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15158 for as_dir in $PATH
15159 do
15160 IFS=$as_save_IFS
15161 test -z "$as_dir" && as_dir=.
15162 for ac_exec_ext in '' $ac_executable_extensions; do
15163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15164 ac_cv_path_FASTJAR="$as_dir/$ac_word$ac_exec_ext"
15165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15166 break 2
15167 fi
15168 done
15169 done
15170 IFS=$as_save_IFS
15171
15172 ;;
15173 esac
15174 fi
15175 FASTJAR=$ac_cv_path_FASTJAR
15176 if test -n "$FASTJAR"; then
15177 { echo "$as_me:$LINENO: result: $FASTJAR" >&5
15178 echo "${ECHO_T}$FASTJAR" >&6; }
15179 else
15180 { echo "$as_me:$LINENO: result: no" >&5
15181 echo "${ECHO_T}no" >&6; }
15182 fi
15183
15184
15185 fi
15186
15187 if test x"${FASTJAR}" != x; then
15188 ZIP=""
15189 fi
15190
15191
15192 # Check whether --with-glibj was given.
15193 if test "${with_glibj+set}" = set; then
15194 withval=$with_glibj;
15195 if test "x${withval}" = xyes || test "x${withval}" = xzip; then
15196 install_class_files=no
15197 build_class_files=yes
15198 use_zip=yes
15199 elif test "x${withval}" = xboth; then
15200 install_class_files=yes
15201 build_class_files=yes
15202 use_zip=yes
15203 elif test "x${withval}" = xflat; then
15204 install_class_files=yes
15205 build_class_files=yes
15206 use_zip=no
15207 elif test "x${withval}" = xno || test "x${withval}" = xnone; then
15208 install_class_files=no
15209 build_class_files=no
15210 use_zip=no
15211 elif test "x${withval}" = xbuild; then
15212 install_class_files=no
15213 build_class_files=yes
15214 use_zip=no
15215 else
15216 { { echo "$as_me:$LINENO: error: unknown value given to --with-glibj" >&5
15217 echo "$as_me: error: unknown value given to --with-glibj" >&2;}
15218 { (exit 1); exit 1; }; }
15219 fi
15220
15221 else
15222
15223 install_class_files=no
15224 use_zip=yes
15225
15226 fi
15227
15228
15229
15230 if test "x${use_zip}" = xyes; then
15231 INSTALL_GLIBJ_ZIP_TRUE=
15232 INSTALL_GLIBJ_ZIP_FALSE='#'
15233 else
15234 INSTALL_GLIBJ_ZIP_TRUE='#'
15235 INSTALL_GLIBJ_ZIP_FALSE=
15236 fi
15237
15238
15239
15240 if test "x${install_class_files}" = xyes; then
15241 INSTALL_CLASS_FILES_TRUE=
15242 INSTALL_CLASS_FILES_FALSE='#'
15243 else
15244 INSTALL_CLASS_FILES_TRUE='#'
15245 INSTALL_CLASS_FILES_FALSE=
15246 fi
15247
15248
15249
15250 if test "x${build_class_files}" = xyes; then
15251 BUILD_CLASS_FILES_TRUE=
15252 BUILD_CLASS_FILES_FALSE='#'
15253 else
15254 BUILD_CLASS_FILES_TRUE='#'
15255 BUILD_CLASS_FILES_FALSE=
15256 fi
15257
15258
15259 # Check whether --enable-examples was given.
15260 if test "${enable_examples+set}" = set; then
15261 enableval=$enable_examples; case "${enableval}" in
15262 yes) EXAMPLESDIR="examples" ;;
15263 no) EXAMPLESDIR="" ;;
15264 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-examples" >&5
15265 echo "$as_me: error: bad value ${enableval} for --enable-examples" >&2;}
15266 { (exit 1); exit 1; }; } ;;
15267 esac
15268 else
15269 EXAMPLESDIR="examples"
15270 fi
15271
15272 if test "x${use_zip}" = xno && test "x${install_class_files}" = xno; then
15273 EXAMPLESDIR=""
15274 fi
15275
15276
15277
15278
15279
15280 # Check whether --with-gjdoc was given.
15281 if test "${with_gjdoc+set}" = set; then
15282 withval=$with_gjdoc; if test "x${withval}" = xno; then
15283 WITH_GJDOC=no;
15284 elif test "x${withval}" = xyes -o "x{withval}" = x; then
15285 WITH_GJDOC=yes;
15286 # Extract the first word of "gjdoc", so it can be a program name with args.
15287 set dummy gjdoc; ac_word=$2
15288 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15290 if test "${ac_cv_path_GJDOC+set}" = set; then
15291 echo $ECHO_N "(cached) $ECHO_C" >&6
15292 else
15293 case $GJDOC in
15294 [\\/]* | ?:[\\/]*)
15295 ac_cv_path_GJDOC="$GJDOC" # Let the user override the test with a path.
15296 ;;
15297 *)
15298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15299 for as_dir in $PATH
15300 do
15301 IFS=$as_save_IFS
15302 test -z "$as_dir" && as_dir=.
15303 for ac_exec_ext in '' $ac_executable_extensions; do
15304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15305 ac_cv_path_GJDOC="$as_dir/$ac_word$ac_exec_ext"
15306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15307 break 2
15308 fi
15309 done
15310 done
15311 IFS=$as_save_IFS
15312
15313 test -z "$ac_cv_path_GJDOC" && ac_cv_path_GJDOC=""no""
15314 ;;
15315 esac
15316 fi
15317 GJDOC=$ac_cv_path_GJDOC
15318 if test -n "$GJDOC"; then
15319 { echo "$as_me:$LINENO: result: $GJDOC" >&5
15320 echo "${ECHO_T}$GJDOC" >&6; }
15321 else
15322 { echo "$as_me:$LINENO: result: no" >&5
15323 echo "${ECHO_T}no" >&6; }
15324 fi
15325
15326
15327 if test "x${GJDOC}" = xno; then
15328 { { echo "$as_me:$LINENO: error: \"gjdoc executable not found\"" >&5
15329 echo "$as_me: error: \"gjdoc executable not found\"" >&2;}
15330 { (exit 1); exit 1; }; };
15331 fi
15332 else
15333 WITH_GJDOC=yes
15334 GJDOC="${withval}"
15335 as_ac_File=`echo "ac_cv_file_${GJDOC}" | $as_tr_sh`
15336 { echo "$as_me:$LINENO: checking for ${GJDOC}" >&5
15337 echo $ECHO_N "checking for ${GJDOC}... $ECHO_C" >&6; }
15338 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
15339 echo $ECHO_N "(cached) $ECHO_C" >&6
15340 else
15341 test "$cross_compiling" = yes &&
15342 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
15343 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
15344 { (exit 1); exit 1; }; }
15345 if test -r "${GJDOC}"; then
15346 eval "$as_ac_File=yes"
15347 else
15348 eval "$as_ac_File=no"
15349 fi
15350 fi
15351 ac_res=`eval echo '${'$as_ac_File'}'`
15352 { echo "$as_me:$LINENO: result: $ac_res" >&5
15353 echo "${ECHO_T}$ac_res" >&6; }
15354 if test `eval echo '${'$as_ac_File'}'` = yes; then
15355 :
15356 else
15357 { { echo "$as_me:$LINENO: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&5
15358 echo "$as_me: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&2;}
15359 { (exit 1); exit 1; }; }
15360 fi
15361
15362 fi
15363 else
15364 WITH_GJDOC=no
15365 fi
15366
15367
15368
15369
15370 if test "x${WITH_GJDOC}" = xyes; then
15371 CREATE_API_DOCS_TRUE=
15372 CREATE_API_DOCS_FALSE='#'
15373 else
15374 CREATE_API_DOCS_TRUE='#'
15375 CREATE_API_DOCS_FALSE=
15376 fi
15377
15378
15379
15380
15381
15382 # Check whether --with-jay was given.
15383 if test "${with_jay+set}" = set; then
15384 withval=$with_jay;
15385 if test -d "${withval}"; then
15386 JAY_DIR_PATH="${withval}"
15387 # Extract the first word of "jay", so it can be a program name with args.
15388 set dummy jay; ac_word=$2
15389 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15391 if test "${ac_cv_path_JAY+set}" = set; then
15392 echo $ECHO_N "(cached) $ECHO_C" >&6
15393 else
15394 case $JAY in
15395 [\\/]* | ?:[\\/]*)
15396 ac_cv_path_JAY="$JAY" # Let the user override the test with a path.
15397 ;;
15398 *)
15399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15400 for as_dir in ${JAY_DIR_PATH}
15401 do
15402 IFS=$as_save_IFS
15403 test -z "$as_dir" && as_dir=.
15404 for ac_exec_ext in '' $ac_executable_extensions; do
15405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15406 ac_cv_path_JAY="$as_dir/$ac_word$ac_exec_ext"
15407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15408 break 2
15409 fi
15410 done
15411 done
15412 IFS=$as_save_IFS
15413
15414 test -z "$ac_cv_path_JAY" && ac_cv_path_JAY=""no""
15415 ;;
15416 esac
15417 fi
15418 JAY=$ac_cv_path_JAY
15419 if test -n "$JAY"; then
15420 { echo "$as_me:$LINENO: result: $JAY" >&5
15421 echo "${ECHO_T}$JAY" >&6; }
15422 else
15423 { echo "$as_me:$LINENO: result: no" >&5
15424 echo "${ECHO_T}no" >&6; }
15425 fi
15426
15427
15428 if test "x${JAY}" = xno; then
15429 { { echo "$as_me:$LINENO: error: \"jay executable not found\"" >&5
15430 echo "$as_me: error: \"jay executable not found\"" >&2;}
15431 { (exit 1); exit 1; }; };
15432 fi
15433 else
15434 JAY_DIR_PATH=$(dirname "${withval}")
15435 JAY="${withval}"
15436
15437 fi
15438 JAY_SKELETON="${JAY_DIR_PATH}/skeleton"
15439 as_ac_File=`echo "ac_cv_file_${JAY_SKELETON}" | $as_tr_sh`
15440 { echo "$as_me:$LINENO: checking for ${JAY_SKELETON}" >&5
15441 echo $ECHO_N "checking for ${JAY_SKELETON}... $ECHO_C" >&6; }
15442 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
15443 echo $ECHO_N "(cached) $ECHO_C" >&6
15444 else
15445 test "$cross_compiling" = yes &&
15446 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
15447 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
15448 { (exit 1); exit 1; }; }
15449 if test -r "${JAY_SKELETON}"; then
15450 eval "$as_ac_File=yes"
15451 else
15452 eval "$as_ac_File=no"
15453 fi
15454 fi
15455 ac_res=`eval echo '${'$as_ac_File'}'`
15456 { echo "$as_me:$LINENO: result: $ac_res" >&5
15457 echo "${ECHO_T}$ac_res" >&6; }
15458 if test `eval echo '${'$as_ac_File'}'` = yes; then
15459 :
15460 else
15461 { { echo "$as_me:$LINENO: error: \"Expected skeleton file in $(dirname ${withval})\"" >&5
15462 echo "$as_me: error: \"Expected skeleton file in $(dirname ${withval})\"" >&2;}
15463 { (exit 1); exit 1; }; }
15464 fi
15465
15466 JAY_FOUND=yes
15467
15468 else
15469
15470 JAY_FOUND=no
15471
15472 fi
15473
15474
15475
15476 if test "x${JAY_FOUND}" = xyes; then
15477 REGEN_PARSERS_TRUE=
15478 REGEN_PARSERS_FALSE='#'
15479 else
15480 REGEN_PARSERS_TRUE='#'
15481 REGEN_PARSERS_FALSE=
15482 fi
15483
15484
15485
15486 # Check whether --enable-portable-native-sync was given.
15487 if test "${enable_portable_native_sync+set}" = set; then
15488 enableval=$enable_portable_native_sync; case "${enableval}" in
15489 yes)
15490
15491 cat >>confdefs.h <<\_ACEOF
15492 #define PORTABLE_NATIVE_SYNC 1
15493 _ACEOF
15494
15495 ;;
15496 no) ;;
15497 *)
15498 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-portable-native-sync" >&5
15499 echo "$as_me: error: bad value ${enableval} for --enable-portable-native-sync" >&2;}
15500 { (exit 1); exit 1; }; }
15501 ;;
15502 esac
15503 fi
15504
15505
15506 # ------ AX CREATE STDINT H -------------------------------------
15507 { echo "$as_me:$LINENO: checking for stdint types" >&5
15508 echo $ECHO_N "checking for stdint types... $ECHO_C" >&6; }
15509 ac_stdint_h=`echo include/config-int.h`
15510 # try to shortcircuit - if the default include path of the compiler
15511 # can find a "stdint.h" header then we assume that all compilers can.
15512 if test "${ac_cv_header_stdint_t+set}" = set; then
15513 echo $ECHO_N "(cached) $ECHO_C" >&6
15514 else
15515
15516 old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS=""
15517 old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS=""
15518 old_CFLAGS="$CFLAGS" ; CFLAGS=""
15519 cat >conftest.$ac_ext <<_ACEOF
15520 /* confdefs.h. */
15521 _ACEOF
15522 cat confdefs.h >>conftest.$ac_ext
15523 cat >>conftest.$ac_ext <<_ACEOF
15524 /* end confdefs.h. */
15525 #include <stdint.h>
15526 int
15527 main ()
15528 {
15529 int_least32_t v = 0;
15530 ;
15531 return 0;
15532 }
15533 _ACEOF
15534 rm -f conftest.$ac_objext
15535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15536 (eval $ac_compile) 2>conftest.er1
15537 ac_status=$?
15538 grep -v '^ *+' conftest.er1 >conftest.err
15539 rm -f conftest.er1
15540 cat conftest.err >&5
15541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15542 (exit $ac_status); } &&
15543 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15545 (eval $ac_try) 2>&5
15546 ac_status=$?
15547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15548 (exit $ac_status); }; } &&
15549 { ac_try='test -s conftest.$ac_objext'
15550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15551 (eval $ac_try) 2>&5
15552 ac_status=$?
15553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15554 (exit $ac_status); }; }; then
15555 ac_cv_stdint_result="(assuming C99 compatible system)"
15556 ac_cv_header_stdint_t="stdint.h";
15557 else
15558 echo "$as_me: failed program was:" >&5
15559 sed 's/^/| /' conftest.$ac_ext >&5
15560
15561 ac_cv_header_stdint_t=""
15562 fi
15563
15564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15565 CXXFLAGS="$old_CXXFLAGS"
15566 CPPFLAGS="$old_CPPFLAGS"
15567 CFLAGS="$old_CFLAGS"
15568 fi
15569
15570
15571 v="... $ac_cv_header_stdint_h"
15572 if test "$ac_stdint_h" = "stdint.h" ; then
15573 { echo "$as_me:$LINENO: result: (are you sure you want them in ./stdint.h?)" >&5
15574 echo "${ECHO_T}(are you sure you want them in ./stdint.h?)" >&6; }
15575 elif test "$ac_stdint_h" = "inttypes.h" ; then
15576 { echo "$as_me:$LINENO: result: (are you sure you want them in ./inttypes.h?)" >&5
15577 echo "${ECHO_T}(are you sure you want them in ./inttypes.h?)" >&6; }
15578 elif test "_$ac_cv_header_stdint_t" = "_" ; then
15579 { echo "$as_me:$LINENO: result: (putting them into $ac_stdint_h)$v" >&5
15580 echo "${ECHO_T}(putting them into $ac_stdint_h)$v" >&6; }
15581 else
15582 ac_cv_header_stdint="$ac_cv_header_stdint_t"
15583 { echo "$as_me:$LINENO: result: $ac_cv_header_stdint (shortcircuit)" >&5
15584 echo "${ECHO_T}$ac_cv_header_stdint (shortcircuit)" >&6; }
15585 fi
15586
15587 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
15588
15589
15590 inttype_headers=`echo | sed -e 's/,/ /g'`
15591
15592 ac_cv_stdint_result="(no helpful system typedefs seen)"
15593
15594 { echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
15595 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6; }
15596 if test "${ac_cv_header_stdint_x+set}" = set; then
15597 echo $ECHO_N "(cached) $ECHO_C" >&6
15598 else
15599
15600 ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
15601 { echo "$as_me:$LINENO: result: (..)" >&5
15602 echo "${ECHO_T}(..)" >&6; }
15603 for i in stdint.h inttypes.h sys/inttypes.h $inttype_headers ; do
15604 unset ac_cv_type_uintptr_t
15605 unset ac_cv_type_uint64_t
15606 { echo "$as_me:$LINENO: checking for uintptr_t" >&5
15607 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6; }
15608 if test "${ac_cv_type_uintptr_t+set}" = set; then
15609 echo $ECHO_N "(cached) $ECHO_C" >&6
15610 else
15611 cat >conftest.$ac_ext <<_ACEOF
15612 /* confdefs.h. */
15613 _ACEOF
15614 cat confdefs.h >>conftest.$ac_ext
15615 cat >>conftest.$ac_ext <<_ACEOF
15616 /* end confdefs.h. */
15617 #include <$i>
15618
15619 typedef uintptr_t ac__type_new_;
15620 int
15621 main ()
15622 {
15623 if ((ac__type_new_ *) 0)
15624 return 0;
15625 if (sizeof (ac__type_new_))
15626 return 0;
15627 ;
15628 return 0;
15629 }
15630 _ACEOF
15631 rm -f conftest.$ac_objext
15632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15633 (eval $ac_compile) 2>conftest.er1
15634 ac_status=$?
15635 grep -v '^ *+' conftest.er1 >conftest.err
15636 rm -f conftest.er1
15637 cat conftest.err >&5
15638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15639 (exit $ac_status); } &&
15640 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15642 (eval $ac_try) 2>&5
15643 ac_status=$?
15644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15645 (exit $ac_status); }; } &&
15646 { ac_try='test -s conftest.$ac_objext'
15647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15648 (eval $ac_try) 2>&5
15649 ac_status=$?
15650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15651 (exit $ac_status); }; }; then
15652 ac_cv_type_uintptr_t=yes
15653 else
15654 echo "$as_me: failed program was:" >&5
15655 sed 's/^/| /' conftest.$ac_ext >&5
15656
15657 ac_cv_type_uintptr_t=no
15658 fi
15659
15660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15661 fi
15662 { echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
15663 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6; }
15664 if test $ac_cv_type_uintptr_t = yes; then
15665 ac_cv_header_stdint_x=$i
15666 else
15667 continue
15668 fi
15669
15670 { echo "$as_me:$LINENO: checking for uint64_t" >&5
15671 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
15672 if test "${ac_cv_type_uint64_t+set}" = set; then
15673 echo $ECHO_N "(cached) $ECHO_C" >&6
15674 else
15675 cat >conftest.$ac_ext <<_ACEOF
15676 /* confdefs.h. */
15677 _ACEOF
15678 cat confdefs.h >>conftest.$ac_ext
15679 cat >>conftest.$ac_ext <<_ACEOF
15680 /* end confdefs.h. */
15681 #include<$i>
15682
15683 typedef uint64_t ac__type_new_;
15684 int
15685 main ()
15686 {
15687 if ((ac__type_new_ *) 0)
15688 return 0;
15689 if (sizeof (ac__type_new_))
15690 return 0;
15691 ;
15692 return 0;
15693 }
15694 _ACEOF
15695 rm -f conftest.$ac_objext
15696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15697 (eval $ac_compile) 2>conftest.er1
15698 ac_status=$?
15699 grep -v '^ *+' conftest.er1 >conftest.err
15700 rm -f conftest.er1
15701 cat conftest.err >&5
15702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15703 (exit $ac_status); } &&
15704 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15706 (eval $ac_try) 2>&5
15707 ac_status=$?
15708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15709 (exit $ac_status); }; } &&
15710 { ac_try='test -s conftest.$ac_objext'
15711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15712 (eval $ac_try) 2>&5
15713 ac_status=$?
15714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15715 (exit $ac_status); }; }; then
15716 ac_cv_type_uint64_t=yes
15717 else
15718 echo "$as_me: failed program was:" >&5
15719 sed 's/^/| /' conftest.$ac_ext >&5
15720
15721 ac_cv_type_uint64_t=no
15722 fi
15723
15724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15725 fi
15726 { echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
15727 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; }
15728 if test $ac_cv_type_uint64_t = yes; then
15729 and64="/uint64_t"
15730 else
15731 and64=""
15732 fi
15733
15734 stdint.h inttypes.h sys/inttypes.h $inttype_headers
15735 break
15736 done
15737 { echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
15738 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6; }
15739
15740 fi
15741 { echo "$as_me:$LINENO: result: $ac_cv_header_stdint_x" >&5
15742 echo "${ECHO_T}$ac_cv_header_stdint_x" >&6; }
15743
15744
15745 if test "_$ac_cv_header_stdint_x" = "_" ; then
15746
15747 { echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
15748 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6; }
15749 if test "${ac_cv_header_stdint_o+set}" = set; then
15750 echo $ECHO_N "(cached) $ECHO_C" >&6
15751 else
15752
15753 ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
15754 { echo "$as_me:$LINENO: result: (..)" >&5
15755 echo "${ECHO_T}(..)" >&6; }
15756 for i in inttypes.h sys/inttypes.h stdint.h $inttype_headers ; do
15757 unset ac_cv_type_uint32_t
15758 unset ac_cv_type_uint64_t
15759 { echo "$as_me:$LINENO: checking for uint32_t" >&5
15760 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; }
15761 if test "${ac_cv_type_uint32_t+set}" = set; then
15762 echo $ECHO_N "(cached) $ECHO_C" >&6
15763 else
15764 cat >conftest.$ac_ext <<_ACEOF
15765 /* confdefs.h. */
15766 _ACEOF
15767 cat confdefs.h >>conftest.$ac_ext
15768 cat >>conftest.$ac_ext <<_ACEOF
15769 /* end confdefs.h. */
15770 #include <$i>
15771
15772 typedef uint32_t ac__type_new_;
15773 int
15774 main ()
15775 {
15776 if ((ac__type_new_ *) 0)
15777 return 0;
15778 if (sizeof (ac__type_new_))
15779 return 0;
15780 ;
15781 return 0;
15782 }
15783 _ACEOF
15784 rm -f conftest.$ac_objext
15785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15786 (eval $ac_compile) 2>conftest.er1
15787 ac_status=$?
15788 grep -v '^ *+' conftest.er1 >conftest.err
15789 rm -f conftest.er1
15790 cat conftest.err >&5
15791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15792 (exit $ac_status); } &&
15793 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15795 (eval $ac_try) 2>&5
15796 ac_status=$?
15797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15798 (exit $ac_status); }; } &&
15799 { ac_try='test -s conftest.$ac_objext'
15800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15801 (eval $ac_try) 2>&5
15802 ac_status=$?
15803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15804 (exit $ac_status); }; }; then
15805 ac_cv_type_uint32_t=yes
15806 else
15807 echo "$as_me: failed program was:" >&5
15808 sed 's/^/| /' conftest.$ac_ext >&5
15809
15810 ac_cv_type_uint32_t=no
15811 fi
15812
15813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15814 fi
15815 { echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
15816 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6; }
15817 if test $ac_cv_type_uint32_t = yes; then
15818 ac_cv_header_stdint_o=$i
15819 else
15820 continue
15821 fi
15822
15823 { echo "$as_me:$LINENO: checking for uint64_t" >&5
15824 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
15825 if test "${ac_cv_type_uint64_t+set}" = set; then
15826 echo $ECHO_N "(cached) $ECHO_C" >&6
15827 else
15828 cat >conftest.$ac_ext <<_ACEOF
15829 /* confdefs.h. */
15830 _ACEOF
15831 cat confdefs.h >>conftest.$ac_ext
15832 cat >>conftest.$ac_ext <<_ACEOF
15833 /* end confdefs.h. */
15834 #include<$i>
15835
15836 typedef uint64_t ac__type_new_;
15837 int
15838 main ()
15839 {
15840 if ((ac__type_new_ *) 0)
15841 return 0;
15842 if (sizeof (ac__type_new_))
15843 return 0;
15844 ;
15845 return 0;
15846 }
15847 _ACEOF
15848 rm -f conftest.$ac_objext
15849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15850 (eval $ac_compile) 2>conftest.er1
15851 ac_status=$?
15852 grep -v '^ *+' conftest.er1 >conftest.err
15853 rm -f conftest.er1
15854 cat conftest.err >&5
15855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15856 (exit $ac_status); } &&
15857 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15859 (eval $ac_try) 2>&5
15860 ac_status=$?
15861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15862 (exit $ac_status); }; } &&
15863 { ac_try='test -s conftest.$ac_objext'
15864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15865 (eval $ac_try) 2>&5
15866 ac_status=$?
15867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15868 (exit $ac_status); }; }; then
15869 ac_cv_type_uint64_t=yes
15870 else
15871 echo "$as_me: failed program was:" >&5
15872 sed 's/^/| /' conftest.$ac_ext >&5
15873
15874 ac_cv_type_uint64_t=no
15875 fi
15876
15877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15878 fi
15879 { echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
15880 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; }
15881 if test $ac_cv_type_uint64_t = yes; then
15882 and64="/uint64_t"
15883 else
15884 and64=""
15885 fi
15886
15887 inttypes.h sys/inttypes.h stdint.h $inttype_headers
15888 break
15889 break;
15890 done
15891 { echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
15892 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6; }
15893
15894 fi
15895 { echo "$as_me:$LINENO: result: $ac_cv_header_stdint_o" >&5
15896 echo "${ECHO_T}$ac_cv_header_stdint_o" >&6; }
15897
15898 fi
15899
15900 if test "_$ac_cv_header_stdint_x" = "_" ; then
15901 if test "_$ac_cv_header_stdint_o" = "_" ; then
15902
15903 { echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
15904 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6; }
15905 if test "${ac_cv_header_stdint_u+set}" = set; then
15906 echo $ECHO_N "(cached) $ECHO_C" >&6
15907 else
15908
15909 ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
15910 { echo "$as_me:$LINENO: result: (..)" >&5
15911 echo "${ECHO_T}(..)" >&6; }
15912 for i in sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do
15913 unset ac_cv_type_u_int32_t
15914 unset ac_cv_type_u_int64_t
15915 { echo "$as_me:$LINENO: checking for u_int32_t" >&5
15916 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6; }
15917 if test "${ac_cv_type_u_int32_t+set}" = set; then
15918 echo $ECHO_N "(cached) $ECHO_C" >&6
15919 else
15920 cat >conftest.$ac_ext <<_ACEOF
15921 /* confdefs.h. */
15922 _ACEOF
15923 cat confdefs.h >>conftest.$ac_ext
15924 cat >>conftest.$ac_ext <<_ACEOF
15925 /* end confdefs.h. */
15926 #include <$i>
15927
15928 typedef u_int32_t ac__type_new_;
15929 int
15930 main ()
15931 {
15932 if ((ac__type_new_ *) 0)
15933 return 0;
15934 if (sizeof (ac__type_new_))
15935 return 0;
15936 ;
15937 return 0;
15938 }
15939 _ACEOF
15940 rm -f conftest.$ac_objext
15941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15942 (eval $ac_compile) 2>conftest.er1
15943 ac_status=$?
15944 grep -v '^ *+' conftest.er1 >conftest.err
15945 rm -f conftest.er1
15946 cat conftest.err >&5
15947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15948 (exit $ac_status); } &&
15949 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15951 (eval $ac_try) 2>&5
15952 ac_status=$?
15953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15954 (exit $ac_status); }; } &&
15955 { ac_try='test -s conftest.$ac_objext'
15956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15957 (eval $ac_try) 2>&5
15958 ac_status=$?
15959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15960 (exit $ac_status); }; }; then
15961 ac_cv_type_u_int32_t=yes
15962 else
15963 echo "$as_me: failed program was:" >&5
15964 sed 's/^/| /' conftest.$ac_ext >&5
15965
15966 ac_cv_type_u_int32_t=no
15967 fi
15968
15969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15970 fi
15971 { echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
15972 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6; }
15973 if test $ac_cv_type_u_int32_t = yes; then
15974 ac_cv_header_stdint_u=$i
15975 else
15976 continue
15977 fi
15978
15979 { echo "$as_me:$LINENO: checking for u_int64_t" >&5
15980 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6; }
15981 if test "${ac_cv_type_u_int64_t+set}" = set; then
15982 echo $ECHO_N "(cached) $ECHO_C" >&6
15983 else
15984 cat >conftest.$ac_ext <<_ACEOF
15985 /* confdefs.h. */
15986 _ACEOF
15987 cat confdefs.h >>conftest.$ac_ext
15988 cat >>conftest.$ac_ext <<_ACEOF
15989 /* end confdefs.h. */
15990 #include<$i>
15991
15992 typedef u_int64_t ac__type_new_;
15993 int
15994 main ()
15995 {
15996 if ((ac__type_new_ *) 0)
15997 return 0;
15998 if (sizeof (ac__type_new_))
15999 return 0;
16000 ;
16001 return 0;
16002 }
16003 _ACEOF
16004 rm -f conftest.$ac_objext
16005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16006 (eval $ac_compile) 2>conftest.er1
16007 ac_status=$?
16008 grep -v '^ *+' conftest.er1 >conftest.err
16009 rm -f conftest.er1
16010 cat conftest.err >&5
16011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16012 (exit $ac_status); } &&
16013 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16015 (eval $ac_try) 2>&5
16016 ac_status=$?
16017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16018 (exit $ac_status); }; } &&
16019 { ac_try='test -s conftest.$ac_objext'
16020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16021 (eval $ac_try) 2>&5
16022 ac_status=$?
16023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16024 (exit $ac_status); }; }; then
16025 ac_cv_type_u_int64_t=yes
16026 else
16027 echo "$as_me: failed program was:" >&5
16028 sed 's/^/| /' conftest.$ac_ext >&5
16029
16030 ac_cv_type_u_int64_t=no
16031 fi
16032
16033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16034 fi
16035 { echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
16036 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6; }
16037 if test $ac_cv_type_u_int64_t = yes; then
16038 and64="/u_int64_t"
16039 else
16040 and64=""
16041 fi
16042
16043 sys/types.h inttypes.h sys/inttypes.h $inttype_headers
16044 break
16045 break;
16046 done
16047 { echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
16048 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6; }
16049
16050 fi
16051 { echo "$as_me:$LINENO: result: $ac_cv_header_stdint_u" >&5
16052 echo "${ECHO_T}$ac_cv_header_stdint_u" >&6; }
16053
16054 fi fi
16055
16056 if test "_$ac_cv_header_stdint_x" = "_" ; then
16057 { echo "$as_me:$LINENO: checking for stdint datatype model" >&5
16058 echo $ECHO_N "checking for stdint datatype model... $ECHO_C" >&6; }
16059 { echo "$as_me:$LINENO: result: (..)" >&5
16060 echo "${ECHO_T}(..)" >&6; }
16061
16062 { echo "$as_me:$LINENO: checking for char" >&5
16063 echo $ECHO_N "checking for char... $ECHO_C" >&6; }
16064 if test "${ac_cv_type_char+set}" = set; then
16065 echo $ECHO_N "(cached) $ECHO_C" >&6
16066 else
16067 cat >conftest.$ac_ext <<_ACEOF
16068 /* confdefs.h. */
16069 _ACEOF
16070 cat confdefs.h >>conftest.$ac_ext
16071 cat >>conftest.$ac_ext <<_ACEOF
16072 /* end confdefs.h. */
16073 $ac_includes_default
16074 typedef char ac__type_new_;
16075 int
16076 main ()
16077 {
16078 if ((ac__type_new_ *) 0)
16079 return 0;
16080 if (sizeof (ac__type_new_))
16081 return 0;
16082 ;
16083 return 0;
16084 }
16085 _ACEOF
16086 rm -f conftest.$ac_objext
16087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16088 (eval $ac_compile) 2>conftest.er1
16089 ac_status=$?
16090 grep -v '^ *+' conftest.er1 >conftest.err
16091 rm -f conftest.er1
16092 cat conftest.err >&5
16093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16094 (exit $ac_status); } &&
16095 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16097 (eval $ac_try) 2>&5
16098 ac_status=$?
16099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16100 (exit $ac_status); }; } &&
16101 { ac_try='test -s conftest.$ac_objext'
16102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16103 (eval $ac_try) 2>&5
16104 ac_status=$?
16105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16106 (exit $ac_status); }; }; then
16107 ac_cv_type_char=yes
16108 else
16109 echo "$as_me: failed program was:" >&5
16110 sed 's/^/| /' conftest.$ac_ext >&5
16111
16112 ac_cv_type_char=no
16113 fi
16114
16115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16116 fi
16117 { echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
16118 echo "${ECHO_T}$ac_cv_type_char" >&6; }
16119
16120 { echo "$as_me:$LINENO: checking size of char" >&5
16121 echo $ECHO_N "checking size of char... $ECHO_C" >&6; }
16122 if test "${ac_cv_sizeof_char+set}" = set; then
16123 echo $ECHO_N "(cached) $ECHO_C" >&6
16124 else
16125 if test "$ac_cv_type_char" = yes; then
16126 # The cast to long int works around a bug in the HP C Compiler
16127 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16128 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16129 # This bug is HP SR number 8606223364.
16130 if test "$cross_compiling" = yes; then
16131 # Depending upon the size, compute the lo and hi bounds.
16132 cat >conftest.$ac_ext <<_ACEOF
16133 /* confdefs.h. */
16134 _ACEOF
16135 cat confdefs.h >>conftest.$ac_ext
16136 cat >>conftest.$ac_ext <<_ACEOF
16137 /* end confdefs.h. */
16138 $ac_includes_default
16139 typedef char ac__type_sizeof_;
16140 int
16141 main ()
16142 {
16143 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
16144 test_array [0] = 0
16145
16146 ;
16147 return 0;
16148 }
16149 _ACEOF
16150 rm -f conftest.$ac_objext
16151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16152 (eval $ac_compile) 2>conftest.er1
16153 ac_status=$?
16154 grep -v '^ *+' conftest.er1 >conftest.err
16155 rm -f conftest.er1
16156 cat conftest.err >&5
16157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16158 (exit $ac_status); } &&
16159 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16161 (eval $ac_try) 2>&5
16162 ac_status=$?
16163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16164 (exit $ac_status); }; } &&
16165 { ac_try='test -s conftest.$ac_objext'
16166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16167 (eval $ac_try) 2>&5
16168 ac_status=$?
16169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16170 (exit $ac_status); }; }; then
16171 ac_lo=0 ac_mid=0
16172 while :; do
16173 cat >conftest.$ac_ext <<_ACEOF
16174 /* confdefs.h. */
16175 _ACEOF
16176 cat confdefs.h >>conftest.$ac_ext
16177 cat >>conftest.$ac_ext <<_ACEOF
16178 /* end confdefs.h. */
16179 $ac_includes_default
16180 typedef char ac__type_sizeof_;
16181 int
16182 main ()
16183 {
16184 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
16185 test_array [0] = 0
16186
16187 ;
16188 return 0;
16189 }
16190 _ACEOF
16191 rm -f conftest.$ac_objext
16192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16193 (eval $ac_compile) 2>conftest.er1
16194 ac_status=$?
16195 grep -v '^ *+' conftest.er1 >conftest.err
16196 rm -f conftest.er1
16197 cat conftest.err >&5
16198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16199 (exit $ac_status); } &&
16200 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16202 (eval $ac_try) 2>&5
16203 ac_status=$?
16204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16205 (exit $ac_status); }; } &&
16206 { ac_try='test -s conftest.$ac_objext'
16207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16208 (eval $ac_try) 2>&5
16209 ac_status=$?
16210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16211 (exit $ac_status); }; }; then
16212 ac_hi=$ac_mid; break
16213 else
16214 echo "$as_me: failed program was:" >&5
16215 sed 's/^/| /' conftest.$ac_ext >&5
16216
16217 ac_lo=`expr $ac_mid + 1`
16218 if test $ac_lo -le $ac_mid; then
16219 ac_lo= ac_hi=
16220 break
16221 fi
16222 ac_mid=`expr 2 '*' $ac_mid + 1`
16223 fi
16224
16225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16226 done
16227 else
16228 echo "$as_me: failed program was:" >&5
16229 sed 's/^/| /' conftest.$ac_ext >&5
16230
16231 cat >conftest.$ac_ext <<_ACEOF
16232 /* confdefs.h. */
16233 _ACEOF
16234 cat confdefs.h >>conftest.$ac_ext
16235 cat >>conftest.$ac_ext <<_ACEOF
16236 /* end confdefs.h. */
16237 $ac_includes_default
16238 typedef char ac__type_sizeof_;
16239 int
16240 main ()
16241 {
16242 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
16243 test_array [0] = 0
16244
16245 ;
16246 return 0;
16247 }
16248 _ACEOF
16249 rm -f conftest.$ac_objext
16250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16251 (eval $ac_compile) 2>conftest.er1
16252 ac_status=$?
16253 grep -v '^ *+' conftest.er1 >conftest.err
16254 rm -f conftest.er1
16255 cat conftest.err >&5
16256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257 (exit $ac_status); } &&
16258 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16260 (eval $ac_try) 2>&5
16261 ac_status=$?
16262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16263 (exit $ac_status); }; } &&
16264 { ac_try='test -s conftest.$ac_objext'
16265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16266 (eval $ac_try) 2>&5
16267 ac_status=$?
16268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16269 (exit $ac_status); }; }; then
16270 ac_hi=-1 ac_mid=-1
16271 while :; do
16272 cat >conftest.$ac_ext <<_ACEOF
16273 /* confdefs.h. */
16274 _ACEOF
16275 cat confdefs.h >>conftest.$ac_ext
16276 cat >>conftest.$ac_ext <<_ACEOF
16277 /* end confdefs.h. */
16278 $ac_includes_default
16279 typedef char ac__type_sizeof_;
16280 int
16281 main ()
16282 {
16283 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
16284 test_array [0] = 0
16285
16286 ;
16287 return 0;
16288 }
16289 _ACEOF
16290 rm -f conftest.$ac_objext
16291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16292 (eval $ac_compile) 2>conftest.er1
16293 ac_status=$?
16294 grep -v '^ *+' conftest.er1 >conftest.err
16295 rm -f conftest.er1
16296 cat conftest.err >&5
16297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16298 (exit $ac_status); } &&
16299 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16301 (eval $ac_try) 2>&5
16302 ac_status=$?
16303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16304 (exit $ac_status); }; } &&
16305 { ac_try='test -s conftest.$ac_objext'
16306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16307 (eval $ac_try) 2>&5
16308 ac_status=$?
16309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16310 (exit $ac_status); }; }; then
16311 ac_lo=$ac_mid; break
16312 else
16313 echo "$as_me: failed program was:" >&5
16314 sed 's/^/| /' conftest.$ac_ext >&5
16315
16316 ac_hi=`expr '(' $ac_mid ')' - 1`
16317 if test $ac_mid -le $ac_hi; then
16318 ac_lo= ac_hi=
16319 break
16320 fi
16321 ac_mid=`expr 2 '*' $ac_mid`
16322 fi
16323
16324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16325 done
16326 else
16327 echo "$as_me: failed program was:" >&5
16328 sed 's/^/| /' conftest.$ac_ext >&5
16329
16330 ac_lo= ac_hi=
16331 fi
16332
16333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16334 fi
16335
16336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16337 # Binary search between lo and hi bounds.
16338 while test "x$ac_lo" != "x$ac_hi"; do
16339 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16340 cat >conftest.$ac_ext <<_ACEOF
16341 /* confdefs.h. */
16342 _ACEOF
16343 cat confdefs.h >>conftest.$ac_ext
16344 cat >>conftest.$ac_ext <<_ACEOF
16345 /* end confdefs.h. */
16346 $ac_includes_default
16347 typedef char ac__type_sizeof_;
16348 int
16349 main ()
16350 {
16351 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
16352 test_array [0] = 0
16353
16354 ;
16355 return 0;
16356 }
16357 _ACEOF
16358 rm -f conftest.$ac_objext
16359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16360 (eval $ac_compile) 2>conftest.er1
16361 ac_status=$?
16362 grep -v '^ *+' conftest.er1 >conftest.err
16363 rm -f conftest.er1
16364 cat conftest.err >&5
16365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16366 (exit $ac_status); } &&
16367 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16369 (eval $ac_try) 2>&5
16370 ac_status=$?
16371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16372 (exit $ac_status); }; } &&
16373 { ac_try='test -s conftest.$ac_objext'
16374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16375 (eval $ac_try) 2>&5
16376 ac_status=$?
16377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16378 (exit $ac_status); }; }; then
16379 ac_hi=$ac_mid
16380 else
16381 echo "$as_me: failed program was:" >&5
16382 sed 's/^/| /' conftest.$ac_ext >&5
16383
16384 ac_lo=`expr '(' $ac_mid ')' + 1`
16385 fi
16386
16387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16388 done
16389 case $ac_lo in
16390 ?*) ac_cv_sizeof_char=$ac_lo;;
16391 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
16392 See \`config.log' for more details." >&5
16393 echo "$as_me: error: cannot compute sizeof (char)
16394 See \`config.log' for more details." >&2;}
16395 { (exit 77); exit 77; }; } ;;
16396 esac
16397 else
16398 cat >conftest.$ac_ext <<_ACEOF
16399 /* confdefs.h. */
16400 _ACEOF
16401 cat confdefs.h >>conftest.$ac_ext
16402 cat >>conftest.$ac_ext <<_ACEOF
16403 /* end confdefs.h. */
16404 $ac_includes_default
16405 typedef char ac__type_sizeof_;
16406 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
16407 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
16408 #include <stdio.h>
16409 #include <stdlib.h>
16410 int
16411 main ()
16412 {
16413
16414 FILE *f = fopen ("conftest.val", "w");
16415 if (! f)
16416 return 1;
16417 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
16418 {
16419 long int i = longval ();
16420 if (i != ((long int) (sizeof (ac__type_sizeof_))))
16421 return 1;
16422 fprintf (f, "%ld\n", i);
16423 }
16424 else
16425 {
16426 unsigned long int i = ulongval ();
16427 if (i != ((long int) (sizeof (ac__type_sizeof_))))
16428 return 1;
16429 fprintf (f, "%lu\n", i);
16430 }
16431 return ferror (f) || fclose (f) != 0;
16432
16433 ;
16434 return 0;
16435 }
16436 _ACEOF
16437 rm -f conftest$ac_exeext
16438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16439 (eval $ac_link) 2>&5
16440 ac_status=$?
16441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16442 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16444 (eval $ac_try) 2>&5
16445 ac_status=$?
16446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16447 (exit $ac_status); }; }; then
16448 ac_cv_sizeof_char=`cat conftest.val`
16449 else
16450 echo "$as_me: program exited with status $ac_status" >&5
16451 echo "$as_me: failed program was:" >&5
16452 sed 's/^/| /' conftest.$ac_ext >&5
16453
16454 ( exit $ac_status )
16455 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
16456 See \`config.log' for more details." >&5
16457 echo "$as_me: error: cannot compute sizeof (char)
16458 See \`config.log' for more details." >&2;}
16459 { (exit 77); exit 77; }; }
16460 fi
16461 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16462 fi
16463 rm -f conftest.val
16464 else
16465 ac_cv_sizeof_char=0
16466 fi
16467 fi
16468 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
16469 echo "${ECHO_T}$ac_cv_sizeof_char" >&6; }
16470 cat >>confdefs.h <<_ACEOF
16471 #define SIZEOF_CHAR $ac_cv_sizeof_char
16472 _ACEOF
16473
16474
16475 { echo "$as_me:$LINENO: checking for short" >&5
16476 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
16477 if test "${ac_cv_type_short+set}" = set; then
16478 echo $ECHO_N "(cached) $ECHO_C" >&6
16479 else
16480 cat >conftest.$ac_ext <<_ACEOF
16481 /* confdefs.h. */
16482 _ACEOF
16483 cat confdefs.h >>conftest.$ac_ext
16484 cat >>conftest.$ac_ext <<_ACEOF
16485 /* end confdefs.h. */
16486 $ac_includes_default
16487 typedef short ac__type_new_;
16488 int
16489 main ()
16490 {
16491 if ((ac__type_new_ *) 0)
16492 return 0;
16493 if (sizeof (ac__type_new_))
16494 return 0;
16495 ;
16496 return 0;
16497 }
16498 _ACEOF
16499 rm -f conftest.$ac_objext
16500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16501 (eval $ac_compile) 2>conftest.er1
16502 ac_status=$?
16503 grep -v '^ *+' conftest.er1 >conftest.err
16504 rm -f conftest.er1
16505 cat conftest.err >&5
16506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16507 (exit $ac_status); } &&
16508 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16510 (eval $ac_try) 2>&5
16511 ac_status=$?
16512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16513 (exit $ac_status); }; } &&
16514 { ac_try='test -s conftest.$ac_objext'
16515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16516 (eval $ac_try) 2>&5
16517 ac_status=$?
16518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16519 (exit $ac_status); }; }; then
16520 ac_cv_type_short=yes
16521 else
16522 echo "$as_me: failed program was:" >&5
16523 sed 's/^/| /' conftest.$ac_ext >&5
16524
16525 ac_cv_type_short=no
16526 fi
16527
16528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16529 fi
16530 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
16531 echo "${ECHO_T}$ac_cv_type_short" >&6; }
16532
16533 { echo "$as_me:$LINENO: checking size of short" >&5
16534 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
16535 if test "${ac_cv_sizeof_short+set}" = set; then
16536 echo $ECHO_N "(cached) $ECHO_C" >&6
16537 else
16538 if test "$ac_cv_type_short" = yes; then
16539 # The cast to long int works around a bug in the HP C Compiler
16540 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16541 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16542 # This bug is HP SR number 8606223364.
16543 if test "$cross_compiling" = yes; then
16544 # Depending upon the size, compute the lo and hi bounds.
16545 cat >conftest.$ac_ext <<_ACEOF
16546 /* confdefs.h. */
16547 _ACEOF
16548 cat confdefs.h >>conftest.$ac_ext
16549 cat >>conftest.$ac_ext <<_ACEOF
16550 /* end confdefs.h. */
16551 $ac_includes_default
16552 typedef short ac__type_sizeof_;
16553 int
16554 main ()
16555 {
16556 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
16557 test_array [0] = 0
16558
16559 ;
16560 return 0;
16561 }
16562 _ACEOF
16563 rm -f conftest.$ac_objext
16564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16565 (eval $ac_compile) 2>conftest.er1
16566 ac_status=$?
16567 grep -v '^ *+' conftest.er1 >conftest.err
16568 rm -f conftest.er1
16569 cat conftest.err >&5
16570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16571 (exit $ac_status); } &&
16572 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16574 (eval $ac_try) 2>&5
16575 ac_status=$?
16576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16577 (exit $ac_status); }; } &&
16578 { ac_try='test -s conftest.$ac_objext'
16579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16580 (eval $ac_try) 2>&5
16581 ac_status=$?
16582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16583 (exit $ac_status); }; }; then
16584 ac_lo=0 ac_mid=0
16585 while :; do
16586 cat >conftest.$ac_ext <<_ACEOF
16587 /* confdefs.h. */
16588 _ACEOF
16589 cat confdefs.h >>conftest.$ac_ext
16590 cat >>conftest.$ac_ext <<_ACEOF
16591 /* end confdefs.h. */
16592 $ac_includes_default
16593 typedef short ac__type_sizeof_;
16594 int
16595 main ()
16596 {
16597 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
16598 test_array [0] = 0
16599
16600 ;
16601 return 0;
16602 }
16603 _ACEOF
16604 rm -f conftest.$ac_objext
16605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16606 (eval $ac_compile) 2>conftest.er1
16607 ac_status=$?
16608 grep -v '^ *+' conftest.er1 >conftest.err
16609 rm -f conftest.er1
16610 cat conftest.err >&5
16611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16612 (exit $ac_status); } &&
16613 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16615 (eval $ac_try) 2>&5
16616 ac_status=$?
16617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16618 (exit $ac_status); }; } &&
16619 { ac_try='test -s conftest.$ac_objext'
16620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16621 (eval $ac_try) 2>&5
16622 ac_status=$?
16623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16624 (exit $ac_status); }; }; then
16625 ac_hi=$ac_mid; break
16626 else
16627 echo "$as_me: failed program was:" >&5
16628 sed 's/^/| /' conftest.$ac_ext >&5
16629
16630 ac_lo=`expr $ac_mid + 1`
16631 if test $ac_lo -le $ac_mid; then
16632 ac_lo= ac_hi=
16633 break
16634 fi
16635 ac_mid=`expr 2 '*' $ac_mid + 1`
16636 fi
16637
16638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16639 done
16640 else
16641 echo "$as_me: failed program was:" >&5
16642 sed 's/^/| /' conftest.$ac_ext >&5
16643
16644 cat >conftest.$ac_ext <<_ACEOF
16645 /* confdefs.h. */
16646 _ACEOF
16647 cat confdefs.h >>conftest.$ac_ext
16648 cat >>conftest.$ac_ext <<_ACEOF
16649 /* end confdefs.h. */
16650 $ac_includes_default
16651 typedef short ac__type_sizeof_;
16652 int
16653 main ()
16654 {
16655 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
16656 test_array [0] = 0
16657
16658 ;
16659 return 0;
16660 }
16661 _ACEOF
16662 rm -f conftest.$ac_objext
16663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16664 (eval $ac_compile) 2>conftest.er1
16665 ac_status=$?
16666 grep -v '^ *+' conftest.er1 >conftest.err
16667 rm -f conftest.er1
16668 cat conftest.err >&5
16669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16670 (exit $ac_status); } &&
16671 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16673 (eval $ac_try) 2>&5
16674 ac_status=$?
16675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16676 (exit $ac_status); }; } &&
16677 { ac_try='test -s conftest.$ac_objext'
16678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16679 (eval $ac_try) 2>&5
16680 ac_status=$?
16681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16682 (exit $ac_status); }; }; then
16683 ac_hi=-1 ac_mid=-1
16684 while :; do
16685 cat >conftest.$ac_ext <<_ACEOF
16686 /* confdefs.h. */
16687 _ACEOF
16688 cat confdefs.h >>conftest.$ac_ext
16689 cat >>conftest.$ac_ext <<_ACEOF
16690 /* end confdefs.h. */
16691 $ac_includes_default
16692 typedef short ac__type_sizeof_;
16693 int
16694 main ()
16695 {
16696 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
16697 test_array [0] = 0
16698
16699 ;
16700 return 0;
16701 }
16702 _ACEOF
16703 rm -f conftest.$ac_objext
16704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16705 (eval $ac_compile) 2>conftest.er1
16706 ac_status=$?
16707 grep -v '^ *+' conftest.er1 >conftest.err
16708 rm -f conftest.er1
16709 cat conftest.err >&5
16710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16711 (exit $ac_status); } &&
16712 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16714 (eval $ac_try) 2>&5
16715 ac_status=$?
16716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16717 (exit $ac_status); }; } &&
16718 { ac_try='test -s conftest.$ac_objext'
16719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16720 (eval $ac_try) 2>&5
16721 ac_status=$?
16722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16723 (exit $ac_status); }; }; then
16724 ac_lo=$ac_mid; break
16725 else
16726 echo "$as_me: failed program was:" >&5
16727 sed 's/^/| /' conftest.$ac_ext >&5
16728
16729 ac_hi=`expr '(' $ac_mid ')' - 1`
16730 if test $ac_mid -le $ac_hi; then
16731 ac_lo= ac_hi=
16732 break
16733 fi
16734 ac_mid=`expr 2 '*' $ac_mid`
16735 fi
16736
16737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16738 done
16739 else
16740 echo "$as_me: failed program was:" >&5
16741 sed 's/^/| /' conftest.$ac_ext >&5
16742
16743 ac_lo= ac_hi=
16744 fi
16745
16746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16747 fi
16748
16749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16750 # Binary search between lo and hi bounds.
16751 while test "x$ac_lo" != "x$ac_hi"; do
16752 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16753 cat >conftest.$ac_ext <<_ACEOF
16754 /* confdefs.h. */
16755 _ACEOF
16756 cat confdefs.h >>conftest.$ac_ext
16757 cat >>conftest.$ac_ext <<_ACEOF
16758 /* end confdefs.h. */
16759 $ac_includes_default
16760 typedef short ac__type_sizeof_;
16761 int
16762 main ()
16763 {
16764 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
16765 test_array [0] = 0
16766
16767 ;
16768 return 0;
16769 }
16770 _ACEOF
16771 rm -f conftest.$ac_objext
16772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16773 (eval $ac_compile) 2>conftest.er1
16774 ac_status=$?
16775 grep -v '^ *+' conftest.er1 >conftest.err
16776 rm -f conftest.er1
16777 cat conftest.err >&5
16778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16779 (exit $ac_status); } &&
16780 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16782 (eval $ac_try) 2>&5
16783 ac_status=$?
16784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16785 (exit $ac_status); }; } &&
16786 { ac_try='test -s conftest.$ac_objext'
16787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16788 (eval $ac_try) 2>&5
16789 ac_status=$?
16790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16791 (exit $ac_status); }; }; then
16792 ac_hi=$ac_mid
16793 else
16794 echo "$as_me: failed program was:" >&5
16795 sed 's/^/| /' conftest.$ac_ext >&5
16796
16797 ac_lo=`expr '(' $ac_mid ')' + 1`
16798 fi
16799
16800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16801 done
16802 case $ac_lo in
16803 ?*) ac_cv_sizeof_short=$ac_lo;;
16804 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
16805 See \`config.log' for more details." >&5
16806 echo "$as_me: error: cannot compute sizeof (short)
16807 See \`config.log' for more details." >&2;}
16808 { (exit 77); exit 77; }; } ;;
16809 esac
16810 else
16811 cat >conftest.$ac_ext <<_ACEOF
16812 /* confdefs.h. */
16813 _ACEOF
16814 cat confdefs.h >>conftest.$ac_ext
16815 cat >>conftest.$ac_ext <<_ACEOF
16816 /* end confdefs.h. */
16817 $ac_includes_default
16818 typedef short ac__type_sizeof_;
16819 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
16820 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
16821 #include <stdio.h>
16822 #include <stdlib.h>
16823 int
16824 main ()
16825 {
16826
16827 FILE *f = fopen ("conftest.val", "w");
16828 if (! f)
16829 return 1;
16830 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
16831 {
16832 long int i = longval ();
16833 if (i != ((long int) (sizeof (ac__type_sizeof_))))
16834 return 1;
16835 fprintf (f, "%ld\n", i);
16836 }
16837 else
16838 {
16839 unsigned long int i = ulongval ();
16840 if (i != ((long int) (sizeof (ac__type_sizeof_))))
16841 return 1;
16842 fprintf (f, "%lu\n", i);
16843 }
16844 return ferror (f) || fclose (f) != 0;
16845
16846 ;
16847 return 0;
16848 }
16849 _ACEOF
16850 rm -f conftest$ac_exeext
16851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16852 (eval $ac_link) 2>&5
16853 ac_status=$?
16854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16855 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16857 (eval $ac_try) 2>&5
16858 ac_status=$?
16859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16860 (exit $ac_status); }; }; then
16861 ac_cv_sizeof_short=`cat conftest.val`
16862 else
16863 echo "$as_me: program exited with status $ac_status" >&5
16864 echo "$as_me: failed program was:" >&5
16865 sed 's/^/| /' conftest.$ac_ext >&5
16866
16867 ( exit $ac_status )
16868 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
16869 See \`config.log' for more details." >&5
16870 echo "$as_me: error: cannot compute sizeof (short)
16871 See \`config.log' for more details." >&2;}
16872 { (exit 77); exit 77; }; }
16873 fi
16874 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16875 fi
16876 rm -f conftest.val
16877 else
16878 ac_cv_sizeof_short=0
16879 fi
16880 fi
16881 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16882 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
16883 cat >>confdefs.h <<_ACEOF
16884 #define SIZEOF_SHORT $ac_cv_sizeof_short
16885 _ACEOF
16886
16887
16888 { echo "$as_me:$LINENO: checking for int" >&5
16889 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
16890 if test "${ac_cv_type_int+set}" = set; then
16891 echo $ECHO_N "(cached) $ECHO_C" >&6
16892 else
16893 cat >conftest.$ac_ext <<_ACEOF
16894 /* confdefs.h. */
16895 _ACEOF
16896 cat confdefs.h >>conftest.$ac_ext
16897 cat >>conftest.$ac_ext <<_ACEOF
16898 /* end confdefs.h. */
16899 $ac_includes_default
16900 typedef int ac__type_new_;
16901 int
16902 main ()
16903 {
16904 if ((ac__type_new_ *) 0)
16905 return 0;
16906 if (sizeof (ac__type_new_))
16907 return 0;
16908 ;
16909 return 0;
16910 }
16911 _ACEOF
16912 rm -f conftest.$ac_objext
16913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16914 (eval $ac_compile) 2>conftest.er1
16915 ac_status=$?
16916 grep -v '^ *+' conftest.er1 >conftest.err
16917 rm -f conftest.er1
16918 cat conftest.err >&5
16919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16920 (exit $ac_status); } &&
16921 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16923 (eval $ac_try) 2>&5
16924 ac_status=$?
16925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16926 (exit $ac_status); }; } &&
16927 { ac_try='test -s conftest.$ac_objext'
16928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16929 (eval $ac_try) 2>&5
16930 ac_status=$?
16931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16932 (exit $ac_status); }; }; then
16933 ac_cv_type_int=yes
16934 else
16935 echo "$as_me: failed program was:" >&5
16936 sed 's/^/| /' conftest.$ac_ext >&5
16937
16938 ac_cv_type_int=no
16939 fi
16940
16941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16942 fi
16943 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16944 echo "${ECHO_T}$ac_cv_type_int" >&6; }
16945
16946 { echo "$as_me:$LINENO: checking size of int" >&5
16947 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
16948 if test "${ac_cv_sizeof_int+set}" = set; then
16949 echo $ECHO_N "(cached) $ECHO_C" >&6
16950 else
16951 if test "$ac_cv_type_int" = yes; then
16952 # The cast to long int works around a bug in the HP C Compiler
16953 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16954 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16955 # This bug is HP SR number 8606223364.
16956 if test "$cross_compiling" = yes; then
16957 # Depending upon the size, compute the lo and hi bounds.
16958 cat >conftest.$ac_ext <<_ACEOF
16959 /* confdefs.h. */
16960 _ACEOF
16961 cat confdefs.h >>conftest.$ac_ext
16962 cat >>conftest.$ac_ext <<_ACEOF
16963 /* end confdefs.h. */
16964 $ac_includes_default
16965 typedef int ac__type_sizeof_;
16966 int
16967 main ()
16968 {
16969 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
16970 test_array [0] = 0
16971
16972 ;
16973 return 0;
16974 }
16975 _ACEOF
16976 rm -f conftest.$ac_objext
16977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16978 (eval $ac_compile) 2>conftest.er1
16979 ac_status=$?
16980 grep -v '^ *+' conftest.er1 >conftest.err
16981 rm -f conftest.er1
16982 cat conftest.err >&5
16983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16984 (exit $ac_status); } &&
16985 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16987 (eval $ac_try) 2>&5
16988 ac_status=$?
16989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16990 (exit $ac_status); }; } &&
16991 { ac_try='test -s conftest.$ac_objext'
16992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16993 (eval $ac_try) 2>&5
16994 ac_status=$?
16995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16996 (exit $ac_status); }; }; then
16997 ac_lo=0 ac_mid=0
16998 while :; do
16999 cat >conftest.$ac_ext <<_ACEOF
17000 /* confdefs.h. */
17001 _ACEOF
17002 cat confdefs.h >>conftest.$ac_ext
17003 cat >>conftest.$ac_ext <<_ACEOF
17004 /* end confdefs.h. */
17005 $ac_includes_default
17006 typedef int ac__type_sizeof_;
17007 int
17008 main ()
17009 {
17010 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
17011 test_array [0] = 0
17012
17013 ;
17014 return 0;
17015 }
17016 _ACEOF
17017 rm -f conftest.$ac_objext
17018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17019 (eval $ac_compile) 2>conftest.er1
17020 ac_status=$?
17021 grep -v '^ *+' conftest.er1 >conftest.err
17022 rm -f conftest.er1
17023 cat conftest.err >&5
17024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17025 (exit $ac_status); } &&
17026 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17028 (eval $ac_try) 2>&5
17029 ac_status=$?
17030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17031 (exit $ac_status); }; } &&
17032 { ac_try='test -s conftest.$ac_objext'
17033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17034 (eval $ac_try) 2>&5
17035 ac_status=$?
17036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17037 (exit $ac_status); }; }; then
17038 ac_hi=$ac_mid; break
17039 else
17040 echo "$as_me: failed program was:" >&5
17041 sed 's/^/| /' conftest.$ac_ext >&5
17042
17043 ac_lo=`expr $ac_mid + 1`
17044 if test $ac_lo -le $ac_mid; then
17045 ac_lo= ac_hi=
17046 break
17047 fi
17048 ac_mid=`expr 2 '*' $ac_mid + 1`
17049 fi
17050
17051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17052 done
17053 else
17054 echo "$as_me: failed program was:" >&5
17055 sed 's/^/| /' conftest.$ac_ext >&5
17056
17057 cat >conftest.$ac_ext <<_ACEOF
17058 /* confdefs.h. */
17059 _ACEOF
17060 cat confdefs.h >>conftest.$ac_ext
17061 cat >>conftest.$ac_ext <<_ACEOF
17062 /* end confdefs.h. */
17063 $ac_includes_default
17064 typedef int ac__type_sizeof_;
17065 int
17066 main ()
17067 {
17068 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
17069 test_array [0] = 0
17070
17071 ;
17072 return 0;
17073 }
17074 _ACEOF
17075 rm -f conftest.$ac_objext
17076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17077 (eval $ac_compile) 2>conftest.er1
17078 ac_status=$?
17079 grep -v '^ *+' conftest.er1 >conftest.err
17080 rm -f conftest.er1
17081 cat conftest.err >&5
17082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17083 (exit $ac_status); } &&
17084 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17086 (eval $ac_try) 2>&5
17087 ac_status=$?
17088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17089 (exit $ac_status); }; } &&
17090 { ac_try='test -s conftest.$ac_objext'
17091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17092 (eval $ac_try) 2>&5
17093 ac_status=$?
17094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17095 (exit $ac_status); }; }; then
17096 ac_hi=-1 ac_mid=-1
17097 while :; do
17098 cat >conftest.$ac_ext <<_ACEOF
17099 /* confdefs.h. */
17100 _ACEOF
17101 cat confdefs.h >>conftest.$ac_ext
17102 cat >>conftest.$ac_ext <<_ACEOF
17103 /* end confdefs.h. */
17104 $ac_includes_default
17105 typedef int ac__type_sizeof_;
17106 int
17107 main ()
17108 {
17109 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
17110 test_array [0] = 0
17111
17112 ;
17113 return 0;
17114 }
17115 _ACEOF
17116 rm -f conftest.$ac_objext
17117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17118 (eval $ac_compile) 2>conftest.er1
17119 ac_status=$?
17120 grep -v '^ *+' conftest.er1 >conftest.err
17121 rm -f conftest.er1
17122 cat conftest.err >&5
17123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17124 (exit $ac_status); } &&
17125 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17127 (eval $ac_try) 2>&5
17128 ac_status=$?
17129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17130 (exit $ac_status); }; } &&
17131 { ac_try='test -s conftest.$ac_objext'
17132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17133 (eval $ac_try) 2>&5
17134 ac_status=$?
17135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17136 (exit $ac_status); }; }; then
17137 ac_lo=$ac_mid; break
17138 else
17139 echo "$as_me: failed program was:" >&5
17140 sed 's/^/| /' conftest.$ac_ext >&5
17141
17142 ac_hi=`expr '(' $ac_mid ')' - 1`
17143 if test $ac_mid -le $ac_hi; then
17144 ac_lo= ac_hi=
17145 break
17146 fi
17147 ac_mid=`expr 2 '*' $ac_mid`
17148 fi
17149
17150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17151 done
17152 else
17153 echo "$as_me: failed program was:" >&5
17154 sed 's/^/| /' conftest.$ac_ext >&5
17155
17156 ac_lo= ac_hi=
17157 fi
17158
17159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17160 fi
17161
17162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17163 # Binary search between lo and hi bounds.
17164 while test "x$ac_lo" != "x$ac_hi"; do
17165 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17166 cat >conftest.$ac_ext <<_ACEOF
17167 /* confdefs.h. */
17168 _ACEOF
17169 cat confdefs.h >>conftest.$ac_ext
17170 cat >>conftest.$ac_ext <<_ACEOF
17171 /* end confdefs.h. */
17172 $ac_includes_default
17173 typedef int ac__type_sizeof_;
17174 int
17175 main ()
17176 {
17177 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
17178 test_array [0] = 0
17179
17180 ;
17181 return 0;
17182 }
17183 _ACEOF
17184 rm -f conftest.$ac_objext
17185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17186 (eval $ac_compile) 2>conftest.er1
17187 ac_status=$?
17188 grep -v '^ *+' conftest.er1 >conftest.err
17189 rm -f conftest.er1
17190 cat conftest.err >&5
17191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17192 (exit $ac_status); } &&
17193 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17195 (eval $ac_try) 2>&5
17196 ac_status=$?
17197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17198 (exit $ac_status); }; } &&
17199 { ac_try='test -s conftest.$ac_objext'
17200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17201 (eval $ac_try) 2>&5
17202 ac_status=$?
17203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17204 (exit $ac_status); }; }; then
17205 ac_hi=$ac_mid
17206 else
17207 echo "$as_me: failed program was:" >&5
17208 sed 's/^/| /' conftest.$ac_ext >&5
17209
17210 ac_lo=`expr '(' $ac_mid ')' + 1`
17211 fi
17212
17213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17214 done
17215 case $ac_lo in
17216 ?*) ac_cv_sizeof_int=$ac_lo;;
17217 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
17218 See \`config.log' for more details." >&5
17219 echo "$as_me: error: cannot compute sizeof (int)
17220 See \`config.log' for more details." >&2;}
17221 { (exit 77); exit 77; }; } ;;
17222 esac
17223 else
17224 cat >conftest.$ac_ext <<_ACEOF
17225 /* confdefs.h. */
17226 _ACEOF
17227 cat confdefs.h >>conftest.$ac_ext
17228 cat >>conftest.$ac_ext <<_ACEOF
17229 /* end confdefs.h. */
17230 $ac_includes_default
17231 typedef int ac__type_sizeof_;
17232 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
17233 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
17234 #include <stdio.h>
17235 #include <stdlib.h>
17236 int
17237 main ()
17238 {
17239
17240 FILE *f = fopen ("conftest.val", "w");
17241 if (! f)
17242 return 1;
17243 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
17244 {
17245 long int i = longval ();
17246 if (i != ((long int) (sizeof (ac__type_sizeof_))))
17247 return 1;
17248 fprintf (f, "%ld\n", i);
17249 }
17250 else
17251 {
17252 unsigned long int i = ulongval ();
17253 if (i != ((long int) (sizeof (ac__type_sizeof_))))
17254 return 1;
17255 fprintf (f, "%lu\n", i);
17256 }
17257 return ferror (f) || fclose (f) != 0;
17258
17259 ;
17260 return 0;
17261 }
17262 _ACEOF
17263 rm -f conftest$ac_exeext
17264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17265 (eval $ac_link) 2>&5
17266 ac_status=$?
17267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17268 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17270 (eval $ac_try) 2>&5
17271 ac_status=$?
17272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17273 (exit $ac_status); }; }; then
17274 ac_cv_sizeof_int=`cat conftest.val`
17275 else
17276 echo "$as_me: program exited with status $ac_status" >&5
17277 echo "$as_me: failed program was:" >&5
17278 sed 's/^/| /' conftest.$ac_ext >&5
17279
17280 ( exit $ac_status )
17281 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
17282 See \`config.log' for more details." >&5
17283 echo "$as_me: error: cannot compute sizeof (int)
17284 See \`config.log' for more details." >&2;}
17285 { (exit 77); exit 77; }; }
17286 fi
17287 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17288 fi
17289 rm -f conftest.val
17290 else
17291 ac_cv_sizeof_int=0
17292 fi
17293 fi
17294 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17295 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
17296 cat >>confdefs.h <<_ACEOF
17297 #define SIZEOF_INT $ac_cv_sizeof_int
17298 _ACEOF
17299
17300
17301 { echo "$as_me:$LINENO: checking for long" >&5
17302 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
17303 if test "${ac_cv_type_long+set}" = set; then
17304 echo $ECHO_N "(cached) $ECHO_C" >&6
17305 else
17306 cat >conftest.$ac_ext <<_ACEOF
17307 /* confdefs.h. */
17308 _ACEOF
17309 cat confdefs.h >>conftest.$ac_ext
17310 cat >>conftest.$ac_ext <<_ACEOF
17311 /* end confdefs.h. */
17312 $ac_includes_default
17313 typedef long ac__type_new_;
17314 int
17315 main ()
17316 {
17317 if ((ac__type_new_ *) 0)
17318 return 0;
17319 if (sizeof (ac__type_new_))
17320 return 0;
17321 ;
17322 return 0;
17323 }
17324 _ACEOF
17325 rm -f conftest.$ac_objext
17326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17327 (eval $ac_compile) 2>conftest.er1
17328 ac_status=$?
17329 grep -v '^ *+' conftest.er1 >conftest.err
17330 rm -f conftest.er1
17331 cat conftest.err >&5
17332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17333 (exit $ac_status); } &&
17334 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17336 (eval $ac_try) 2>&5
17337 ac_status=$?
17338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17339 (exit $ac_status); }; } &&
17340 { ac_try='test -s conftest.$ac_objext'
17341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17342 (eval $ac_try) 2>&5
17343 ac_status=$?
17344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17345 (exit $ac_status); }; }; then
17346 ac_cv_type_long=yes
17347 else
17348 echo "$as_me: failed program was:" >&5
17349 sed 's/^/| /' conftest.$ac_ext >&5
17350
17351 ac_cv_type_long=no
17352 fi
17353
17354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17355 fi
17356 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17357 echo "${ECHO_T}$ac_cv_type_long" >&6; }
17358
17359 { echo "$as_me:$LINENO: checking size of long" >&5
17360 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
17361 if test "${ac_cv_sizeof_long+set}" = set; then
17362 echo $ECHO_N "(cached) $ECHO_C" >&6
17363 else
17364 if test "$ac_cv_type_long" = yes; then
17365 # The cast to long int works around a bug in the HP C Compiler
17366 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17367 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17368 # This bug is HP SR number 8606223364.
17369 if test "$cross_compiling" = yes; then
17370 # Depending upon the size, compute the lo and hi bounds.
17371 cat >conftest.$ac_ext <<_ACEOF
17372 /* confdefs.h. */
17373 _ACEOF
17374 cat confdefs.h >>conftest.$ac_ext
17375 cat >>conftest.$ac_ext <<_ACEOF
17376 /* end confdefs.h. */
17377 $ac_includes_default
17378 typedef long ac__type_sizeof_;
17379 int
17380 main ()
17381 {
17382 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
17383 test_array [0] = 0
17384
17385 ;
17386 return 0;
17387 }
17388 _ACEOF
17389 rm -f conftest.$ac_objext
17390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17391 (eval $ac_compile) 2>conftest.er1
17392 ac_status=$?
17393 grep -v '^ *+' conftest.er1 >conftest.err
17394 rm -f conftest.er1
17395 cat conftest.err >&5
17396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17397 (exit $ac_status); } &&
17398 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17400 (eval $ac_try) 2>&5
17401 ac_status=$?
17402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403 (exit $ac_status); }; } &&
17404 { ac_try='test -s conftest.$ac_objext'
17405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17406 (eval $ac_try) 2>&5
17407 ac_status=$?
17408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17409 (exit $ac_status); }; }; then
17410 ac_lo=0 ac_mid=0
17411 while :; do
17412 cat >conftest.$ac_ext <<_ACEOF
17413 /* confdefs.h. */
17414 _ACEOF
17415 cat confdefs.h >>conftest.$ac_ext
17416 cat >>conftest.$ac_ext <<_ACEOF
17417 /* end confdefs.h. */
17418 $ac_includes_default
17419 typedef long ac__type_sizeof_;
17420 int
17421 main ()
17422 {
17423 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
17424 test_array [0] = 0
17425
17426 ;
17427 return 0;
17428 }
17429 _ACEOF
17430 rm -f conftest.$ac_objext
17431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17432 (eval $ac_compile) 2>conftest.er1
17433 ac_status=$?
17434 grep -v '^ *+' conftest.er1 >conftest.err
17435 rm -f conftest.er1
17436 cat conftest.err >&5
17437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17438 (exit $ac_status); } &&
17439 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17441 (eval $ac_try) 2>&5
17442 ac_status=$?
17443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17444 (exit $ac_status); }; } &&
17445 { ac_try='test -s conftest.$ac_objext'
17446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17447 (eval $ac_try) 2>&5
17448 ac_status=$?
17449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17450 (exit $ac_status); }; }; then
17451 ac_hi=$ac_mid; break
17452 else
17453 echo "$as_me: failed program was:" >&5
17454 sed 's/^/| /' conftest.$ac_ext >&5
17455
17456 ac_lo=`expr $ac_mid + 1`
17457 if test $ac_lo -le $ac_mid; then
17458 ac_lo= ac_hi=
17459 break
17460 fi
17461 ac_mid=`expr 2 '*' $ac_mid + 1`
17462 fi
17463
17464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17465 done
17466 else
17467 echo "$as_me: failed program was:" >&5
17468 sed 's/^/| /' conftest.$ac_ext >&5
17469
17470 cat >conftest.$ac_ext <<_ACEOF
17471 /* confdefs.h. */
17472 _ACEOF
17473 cat confdefs.h >>conftest.$ac_ext
17474 cat >>conftest.$ac_ext <<_ACEOF
17475 /* end confdefs.h. */
17476 $ac_includes_default
17477 typedef long ac__type_sizeof_;
17478 int
17479 main ()
17480 {
17481 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
17482 test_array [0] = 0
17483
17484 ;
17485 return 0;
17486 }
17487 _ACEOF
17488 rm -f conftest.$ac_objext
17489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17490 (eval $ac_compile) 2>conftest.er1
17491 ac_status=$?
17492 grep -v '^ *+' conftest.er1 >conftest.err
17493 rm -f conftest.er1
17494 cat conftest.err >&5
17495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17496 (exit $ac_status); } &&
17497 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17499 (eval $ac_try) 2>&5
17500 ac_status=$?
17501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17502 (exit $ac_status); }; } &&
17503 { ac_try='test -s conftest.$ac_objext'
17504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17505 (eval $ac_try) 2>&5
17506 ac_status=$?
17507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17508 (exit $ac_status); }; }; then
17509 ac_hi=-1 ac_mid=-1
17510 while :; do
17511 cat >conftest.$ac_ext <<_ACEOF
17512 /* confdefs.h. */
17513 _ACEOF
17514 cat confdefs.h >>conftest.$ac_ext
17515 cat >>conftest.$ac_ext <<_ACEOF
17516 /* end confdefs.h. */
17517 $ac_includes_default
17518 typedef long ac__type_sizeof_;
17519 int
17520 main ()
17521 {
17522 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
17523 test_array [0] = 0
17524
17525 ;
17526 return 0;
17527 }
17528 _ACEOF
17529 rm -f conftest.$ac_objext
17530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17531 (eval $ac_compile) 2>conftest.er1
17532 ac_status=$?
17533 grep -v '^ *+' conftest.er1 >conftest.err
17534 rm -f conftest.er1
17535 cat conftest.err >&5
17536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17537 (exit $ac_status); } &&
17538 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17540 (eval $ac_try) 2>&5
17541 ac_status=$?
17542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17543 (exit $ac_status); }; } &&
17544 { ac_try='test -s conftest.$ac_objext'
17545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17546 (eval $ac_try) 2>&5
17547 ac_status=$?
17548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17549 (exit $ac_status); }; }; then
17550 ac_lo=$ac_mid; break
17551 else
17552 echo "$as_me: failed program was:" >&5
17553 sed 's/^/| /' conftest.$ac_ext >&5
17554
17555 ac_hi=`expr '(' $ac_mid ')' - 1`
17556 if test $ac_mid -le $ac_hi; then
17557 ac_lo= ac_hi=
17558 break
17559 fi
17560 ac_mid=`expr 2 '*' $ac_mid`
17561 fi
17562
17563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17564 done
17565 else
17566 echo "$as_me: failed program was:" >&5
17567 sed 's/^/| /' conftest.$ac_ext >&5
17568
17569 ac_lo= ac_hi=
17570 fi
17571
17572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17573 fi
17574
17575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17576 # Binary search between lo and hi bounds.
17577 while test "x$ac_lo" != "x$ac_hi"; do
17578 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17579 cat >conftest.$ac_ext <<_ACEOF
17580 /* confdefs.h. */
17581 _ACEOF
17582 cat confdefs.h >>conftest.$ac_ext
17583 cat >>conftest.$ac_ext <<_ACEOF
17584 /* end confdefs.h. */
17585 $ac_includes_default
17586 typedef long ac__type_sizeof_;
17587 int
17588 main ()
17589 {
17590 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
17591 test_array [0] = 0
17592
17593 ;
17594 return 0;
17595 }
17596 _ACEOF
17597 rm -f conftest.$ac_objext
17598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17599 (eval $ac_compile) 2>conftest.er1
17600 ac_status=$?
17601 grep -v '^ *+' conftest.er1 >conftest.err
17602 rm -f conftest.er1
17603 cat conftest.err >&5
17604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17605 (exit $ac_status); } &&
17606 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17608 (eval $ac_try) 2>&5
17609 ac_status=$?
17610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17611 (exit $ac_status); }; } &&
17612 { ac_try='test -s conftest.$ac_objext'
17613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17614 (eval $ac_try) 2>&5
17615 ac_status=$?
17616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17617 (exit $ac_status); }; }; then
17618 ac_hi=$ac_mid
17619 else
17620 echo "$as_me: failed program was:" >&5
17621 sed 's/^/| /' conftest.$ac_ext >&5
17622
17623 ac_lo=`expr '(' $ac_mid ')' + 1`
17624 fi
17625
17626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17627 done
17628 case $ac_lo in
17629 ?*) ac_cv_sizeof_long=$ac_lo;;
17630 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
17631 See \`config.log' for more details." >&5
17632 echo "$as_me: error: cannot compute sizeof (long)
17633 See \`config.log' for more details." >&2;}
17634 { (exit 77); exit 77; }; } ;;
17635 esac
17636 else
17637 cat >conftest.$ac_ext <<_ACEOF
17638 /* confdefs.h. */
17639 _ACEOF
17640 cat confdefs.h >>conftest.$ac_ext
17641 cat >>conftest.$ac_ext <<_ACEOF
17642 /* end confdefs.h. */
17643 $ac_includes_default
17644 typedef long ac__type_sizeof_;
17645 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
17646 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
17647 #include <stdio.h>
17648 #include <stdlib.h>
17649 int
17650 main ()
17651 {
17652
17653 FILE *f = fopen ("conftest.val", "w");
17654 if (! f)
17655 return 1;
17656 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
17657 {
17658 long int i = longval ();
17659 if (i != ((long int) (sizeof (ac__type_sizeof_))))
17660 return 1;
17661 fprintf (f, "%ld\n", i);
17662 }
17663 else
17664 {
17665 unsigned long int i = ulongval ();
17666 if (i != ((long int) (sizeof (ac__type_sizeof_))))
17667 return 1;
17668 fprintf (f, "%lu\n", i);
17669 }
17670 return ferror (f) || fclose (f) != 0;
17671
17672 ;
17673 return 0;
17674 }
17675 _ACEOF
17676 rm -f conftest$ac_exeext
17677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17678 (eval $ac_link) 2>&5
17679 ac_status=$?
17680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17681 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17683 (eval $ac_try) 2>&5
17684 ac_status=$?
17685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17686 (exit $ac_status); }; }; then
17687 ac_cv_sizeof_long=`cat conftest.val`
17688 else
17689 echo "$as_me: program exited with status $ac_status" >&5
17690 echo "$as_me: failed program was:" >&5
17691 sed 's/^/| /' conftest.$ac_ext >&5
17692
17693 ( exit $ac_status )
17694 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
17695 See \`config.log' for more details." >&5
17696 echo "$as_me: error: cannot compute sizeof (long)
17697 See \`config.log' for more details." >&2;}
17698 { (exit 77); exit 77; }; }
17699 fi
17700 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17701 fi
17702 rm -f conftest.val
17703 else
17704 ac_cv_sizeof_long=0
17705 fi
17706 fi
17707 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17708 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
17709 cat >>confdefs.h <<_ACEOF
17710 #define SIZEOF_LONG $ac_cv_sizeof_long
17711 _ACEOF
17712
17713
17714 { echo "$as_me:$LINENO: checking for void*" >&5
17715 echo $ECHO_N "checking for void*... $ECHO_C" >&6; }
17716 if test "${ac_cv_type_voidp+set}" = set; then
17717 echo $ECHO_N "(cached) $ECHO_C" >&6
17718 else
17719 cat >conftest.$ac_ext <<_ACEOF
17720 /* confdefs.h. */
17721 _ACEOF
17722 cat confdefs.h >>conftest.$ac_ext
17723 cat >>conftest.$ac_ext <<_ACEOF
17724 /* end confdefs.h. */
17725 $ac_includes_default
17726 typedef void* ac__type_new_;
17727 int
17728 main ()
17729 {
17730 if ((ac__type_new_ *) 0)
17731 return 0;
17732 if (sizeof (ac__type_new_))
17733 return 0;
17734 ;
17735 return 0;
17736 }
17737 _ACEOF
17738 rm -f conftest.$ac_objext
17739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17740 (eval $ac_compile) 2>conftest.er1
17741 ac_status=$?
17742 grep -v '^ *+' conftest.er1 >conftest.err
17743 rm -f conftest.er1
17744 cat conftest.err >&5
17745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17746 (exit $ac_status); } &&
17747 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17749 (eval $ac_try) 2>&5
17750 ac_status=$?
17751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17752 (exit $ac_status); }; } &&
17753 { ac_try='test -s conftest.$ac_objext'
17754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17755 (eval $ac_try) 2>&5
17756 ac_status=$?
17757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17758 (exit $ac_status); }; }; then
17759 ac_cv_type_voidp=yes
17760 else
17761 echo "$as_me: failed program was:" >&5
17762 sed 's/^/| /' conftest.$ac_ext >&5
17763
17764 ac_cv_type_voidp=no
17765 fi
17766
17767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17768 fi
17769 { echo "$as_me:$LINENO: result: $ac_cv_type_voidp" >&5
17770 echo "${ECHO_T}$ac_cv_type_voidp" >&6; }
17771
17772 { echo "$as_me:$LINENO: checking size of void*" >&5
17773 echo $ECHO_N "checking size of void*... $ECHO_C" >&6; }
17774 if test "${ac_cv_sizeof_voidp+set}" = set; then
17775 echo $ECHO_N "(cached) $ECHO_C" >&6
17776 else
17777 if test "$ac_cv_type_voidp" = yes; then
17778 # The cast to long int works around a bug in the HP C Compiler
17779 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17780 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17781 # This bug is HP SR number 8606223364.
17782 if test "$cross_compiling" = yes; then
17783 # Depending upon the size, compute the lo and hi bounds.
17784 cat >conftest.$ac_ext <<_ACEOF
17785 /* confdefs.h. */
17786 _ACEOF
17787 cat confdefs.h >>conftest.$ac_ext
17788 cat >>conftest.$ac_ext <<_ACEOF
17789 /* end confdefs.h. */
17790 $ac_includes_default
17791 typedef void* ac__type_sizeof_;
17792 int
17793 main ()
17794 {
17795 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
17796 test_array [0] = 0
17797
17798 ;
17799 return 0;
17800 }
17801 _ACEOF
17802 rm -f conftest.$ac_objext
17803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17804 (eval $ac_compile) 2>conftest.er1
17805 ac_status=$?
17806 grep -v '^ *+' conftest.er1 >conftest.err
17807 rm -f conftest.er1
17808 cat conftest.err >&5
17809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17810 (exit $ac_status); } &&
17811 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17813 (eval $ac_try) 2>&5
17814 ac_status=$?
17815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17816 (exit $ac_status); }; } &&
17817 { ac_try='test -s conftest.$ac_objext'
17818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17819 (eval $ac_try) 2>&5
17820 ac_status=$?
17821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17822 (exit $ac_status); }; }; then
17823 ac_lo=0 ac_mid=0
17824 while :; do
17825 cat >conftest.$ac_ext <<_ACEOF
17826 /* confdefs.h. */
17827 _ACEOF
17828 cat confdefs.h >>conftest.$ac_ext
17829 cat >>conftest.$ac_ext <<_ACEOF
17830 /* end confdefs.h. */
17831 $ac_includes_default
17832 typedef void* ac__type_sizeof_;
17833 int
17834 main ()
17835 {
17836 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
17837 test_array [0] = 0
17838
17839 ;
17840 return 0;
17841 }
17842 _ACEOF
17843 rm -f conftest.$ac_objext
17844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17845 (eval $ac_compile) 2>conftest.er1
17846 ac_status=$?
17847 grep -v '^ *+' conftest.er1 >conftest.err
17848 rm -f conftest.er1
17849 cat conftest.err >&5
17850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17851 (exit $ac_status); } &&
17852 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17854 (eval $ac_try) 2>&5
17855 ac_status=$?
17856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17857 (exit $ac_status); }; } &&
17858 { ac_try='test -s conftest.$ac_objext'
17859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17860 (eval $ac_try) 2>&5
17861 ac_status=$?
17862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17863 (exit $ac_status); }; }; then
17864 ac_hi=$ac_mid; break
17865 else
17866 echo "$as_me: failed program was:" >&5
17867 sed 's/^/| /' conftest.$ac_ext >&5
17868
17869 ac_lo=`expr $ac_mid + 1`
17870 if test $ac_lo -le $ac_mid; then
17871 ac_lo= ac_hi=
17872 break
17873 fi
17874 ac_mid=`expr 2 '*' $ac_mid + 1`
17875 fi
17876
17877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17878 done
17879 else
17880 echo "$as_me: failed program was:" >&5
17881 sed 's/^/| /' conftest.$ac_ext >&5
17882
17883 cat >conftest.$ac_ext <<_ACEOF
17884 /* confdefs.h. */
17885 _ACEOF
17886 cat confdefs.h >>conftest.$ac_ext
17887 cat >>conftest.$ac_ext <<_ACEOF
17888 /* end confdefs.h. */
17889 $ac_includes_default
17890 typedef void* ac__type_sizeof_;
17891 int
17892 main ()
17893 {
17894 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
17895 test_array [0] = 0
17896
17897 ;
17898 return 0;
17899 }
17900 _ACEOF
17901 rm -f conftest.$ac_objext
17902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17903 (eval $ac_compile) 2>conftest.er1
17904 ac_status=$?
17905 grep -v '^ *+' conftest.er1 >conftest.err
17906 rm -f conftest.er1
17907 cat conftest.err >&5
17908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17909 (exit $ac_status); } &&
17910 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17912 (eval $ac_try) 2>&5
17913 ac_status=$?
17914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17915 (exit $ac_status); }; } &&
17916 { ac_try='test -s conftest.$ac_objext'
17917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17918 (eval $ac_try) 2>&5
17919 ac_status=$?
17920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17921 (exit $ac_status); }; }; then
17922 ac_hi=-1 ac_mid=-1
17923 while :; do
17924 cat >conftest.$ac_ext <<_ACEOF
17925 /* confdefs.h. */
17926 _ACEOF
17927 cat confdefs.h >>conftest.$ac_ext
17928 cat >>conftest.$ac_ext <<_ACEOF
17929 /* end confdefs.h. */
17930 $ac_includes_default
17931 typedef void* ac__type_sizeof_;
17932 int
17933 main ()
17934 {
17935 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
17936 test_array [0] = 0
17937
17938 ;
17939 return 0;
17940 }
17941 _ACEOF
17942 rm -f conftest.$ac_objext
17943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17944 (eval $ac_compile) 2>conftest.er1
17945 ac_status=$?
17946 grep -v '^ *+' conftest.er1 >conftest.err
17947 rm -f conftest.er1
17948 cat conftest.err >&5
17949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17950 (exit $ac_status); } &&
17951 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17953 (eval $ac_try) 2>&5
17954 ac_status=$?
17955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17956 (exit $ac_status); }; } &&
17957 { ac_try='test -s conftest.$ac_objext'
17958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17959 (eval $ac_try) 2>&5
17960 ac_status=$?
17961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17962 (exit $ac_status); }; }; then
17963 ac_lo=$ac_mid; break
17964 else
17965 echo "$as_me: failed program was:" >&5
17966 sed 's/^/| /' conftest.$ac_ext >&5
17967
17968 ac_hi=`expr '(' $ac_mid ')' - 1`
17969 if test $ac_mid -le $ac_hi; then
17970 ac_lo= ac_hi=
17971 break
17972 fi
17973 ac_mid=`expr 2 '*' $ac_mid`
17974 fi
17975
17976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17977 done
17978 else
17979 echo "$as_me: failed program was:" >&5
17980 sed 's/^/| /' conftest.$ac_ext >&5
17981
17982 ac_lo= ac_hi=
17983 fi
17984
17985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17986 fi
17987
17988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17989 # Binary search between lo and hi bounds.
17990 while test "x$ac_lo" != "x$ac_hi"; do
17991 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17992 cat >conftest.$ac_ext <<_ACEOF
17993 /* confdefs.h. */
17994 _ACEOF
17995 cat confdefs.h >>conftest.$ac_ext
17996 cat >>conftest.$ac_ext <<_ACEOF
17997 /* end confdefs.h. */
17998 $ac_includes_default
17999 typedef void* ac__type_sizeof_;
18000 int
18001 main ()
18002 {
18003 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18004 test_array [0] = 0
18005
18006 ;
18007 return 0;
18008 }
18009 _ACEOF
18010 rm -f conftest.$ac_objext
18011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18012 (eval $ac_compile) 2>conftest.er1
18013 ac_status=$?
18014 grep -v '^ *+' conftest.er1 >conftest.err
18015 rm -f conftest.er1
18016 cat conftest.err >&5
18017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18018 (exit $ac_status); } &&
18019 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18021 (eval $ac_try) 2>&5
18022 ac_status=$?
18023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18024 (exit $ac_status); }; } &&
18025 { ac_try='test -s conftest.$ac_objext'
18026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18027 (eval $ac_try) 2>&5
18028 ac_status=$?
18029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18030 (exit $ac_status); }; }; then
18031 ac_hi=$ac_mid
18032 else
18033 echo "$as_me: failed program was:" >&5
18034 sed 's/^/| /' conftest.$ac_ext >&5
18035
18036 ac_lo=`expr '(' $ac_mid ')' + 1`
18037 fi
18038
18039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18040 done
18041 case $ac_lo in
18042 ?*) ac_cv_sizeof_voidp=$ac_lo;;
18043 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*)
18044 See \`config.log' for more details." >&5
18045 echo "$as_me: error: cannot compute sizeof (void*)
18046 See \`config.log' for more details." >&2;}
18047 { (exit 77); exit 77; }; } ;;
18048 esac
18049 else
18050 cat >conftest.$ac_ext <<_ACEOF
18051 /* confdefs.h. */
18052 _ACEOF
18053 cat confdefs.h >>conftest.$ac_ext
18054 cat >>conftest.$ac_ext <<_ACEOF
18055 /* end confdefs.h. */
18056 $ac_includes_default
18057 typedef void* ac__type_sizeof_;
18058 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18059 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18060 #include <stdio.h>
18061 #include <stdlib.h>
18062 int
18063 main ()
18064 {
18065
18066 FILE *f = fopen ("conftest.val", "w");
18067 if (! f)
18068 return 1;
18069 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18070 {
18071 long int i = longval ();
18072 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18073 return 1;
18074 fprintf (f, "%ld\n", i);
18075 }
18076 else
18077 {
18078 unsigned long int i = ulongval ();
18079 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18080 return 1;
18081 fprintf (f, "%lu\n", i);
18082 }
18083 return ferror (f) || fclose (f) != 0;
18084
18085 ;
18086 return 0;
18087 }
18088 _ACEOF
18089 rm -f conftest$ac_exeext
18090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18091 (eval $ac_link) 2>&5
18092 ac_status=$?
18093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18094 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18096 (eval $ac_try) 2>&5
18097 ac_status=$?
18098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18099 (exit $ac_status); }; }; then
18100 ac_cv_sizeof_voidp=`cat conftest.val`
18101 else
18102 echo "$as_me: program exited with status $ac_status" >&5
18103 echo "$as_me: failed program was:" >&5
18104 sed 's/^/| /' conftest.$ac_ext >&5
18105
18106 ( exit $ac_status )
18107 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*)
18108 See \`config.log' for more details." >&5
18109 echo "$as_me: error: cannot compute sizeof (void*)
18110 See \`config.log' for more details." >&2;}
18111 { (exit 77); exit 77; }; }
18112 fi
18113 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18114 fi
18115 rm -f conftest.val
18116 else
18117 ac_cv_sizeof_voidp=0
18118 fi
18119 fi
18120 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5
18121 echo "${ECHO_T}$ac_cv_sizeof_voidp" >&6; }
18122 cat >>confdefs.h <<_ACEOF
18123 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
18124 _ACEOF
18125
18126
18127 ac_cv_char_data_model=""
18128 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char"
18129 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short"
18130 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int"
18131 ac_cv_long_data_model=""
18132 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int"
18133 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long"
18134 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
18135 { echo "$as_me:$LINENO: checking data model" >&5
18136 echo $ECHO_N "checking data model... $ECHO_C" >&6; }
18137 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
18138 122/242) ac_cv_data_model="IP16" ; n="standard 16bit machine" ;;
18139 122/244) ac_cv_data_model="LP32" ; n="standard 32bit machine" ;;
18140 122/*) ac_cv_data_model="i16" ; n="unusual int16 model" ;;
18141 124/444) ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;;
18142 124/488) ac_cv_data_model="LP64" ; n="standard 64bit unixish" ;;
18143 124/448) ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;;
18144 124/*) ac_cv_data_model="i32" ; n="unusual int32 model" ;;
18145 128/888) ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;;
18146 128/*) ac_cv_data_model="i64" ; n="unusual int64 model" ;;
18147 222/*2) ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;;
18148 333/*3) ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;;
18149 444/*4) ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;;
18150 666/*6) ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;;
18151 888/*8) ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;;
18152 222/*|333/*|444/*|666/*|888/*) :
18153 ac_cv_data_model="iDSP" ; n="unusual dsptype" ;;
18154 *) ac_cv_data_model="none" ; n="very unusual model" ;;
18155 esac
18156 { echo "$as_me:$LINENO: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
18157 echo "${ECHO_T}$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6; }
18158
18159 fi
18160
18161 if test "_$ac_cv_header_stdint_x" != "_" ; then
18162 ac_cv_header_stdint="$ac_cv_header_stdint_x"
18163 elif test "_$ac_cv_header_stdint_o" != "_" ; then
18164 ac_cv_header_stdint="$ac_cv_header_stdint_o"
18165 elif test "_$ac_cv_header_stdint_u" != "_" ; then
18166 ac_cv_header_stdint="$ac_cv_header_stdint_u"
18167 else
18168 ac_cv_header_stdint="stddef.h"
18169 fi
18170
18171 { echo "$as_me:$LINENO: checking for extra inttypes in chosen header" >&5
18172 echo $ECHO_N "checking for extra inttypes in chosen header... $ECHO_C" >&6; }
18173 { echo "$as_me:$LINENO: result: ($ac_cv_header_stdint)" >&5
18174 echo "${ECHO_T}($ac_cv_header_stdint)" >&6; }
18175 unset ac_cv_type_int_least32_t
18176 unset ac_cv_type_int_fast32_t
18177 { echo "$as_me:$LINENO: checking for int_least32_t" >&5
18178 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6; }
18179 if test "${ac_cv_type_int_least32_t+set}" = set; then
18180 echo $ECHO_N "(cached) $ECHO_C" >&6
18181 else
18182 cat >conftest.$ac_ext <<_ACEOF
18183 /* confdefs.h. */
18184 _ACEOF
18185 cat confdefs.h >>conftest.$ac_ext
18186 cat >>conftest.$ac_ext <<_ACEOF
18187 /* end confdefs.h. */
18188 #include <$ac_cv_header_stdint>
18189
18190 typedef int_least32_t ac__type_new_;
18191 int
18192 main ()
18193 {
18194 if ((ac__type_new_ *) 0)
18195 return 0;
18196 if (sizeof (ac__type_new_))
18197 return 0;
18198 ;
18199 return 0;
18200 }
18201 _ACEOF
18202 rm -f conftest.$ac_objext
18203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18204 (eval $ac_compile) 2>conftest.er1
18205 ac_status=$?
18206 grep -v '^ *+' conftest.er1 >conftest.err
18207 rm -f conftest.er1
18208 cat conftest.err >&5
18209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18210 (exit $ac_status); } &&
18211 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18213 (eval $ac_try) 2>&5
18214 ac_status=$?
18215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18216 (exit $ac_status); }; } &&
18217 { ac_try='test -s conftest.$ac_objext'
18218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18219 (eval $ac_try) 2>&5
18220 ac_status=$?
18221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18222 (exit $ac_status); }; }; then
18223 ac_cv_type_int_least32_t=yes
18224 else
18225 echo "$as_me: failed program was:" >&5
18226 sed 's/^/| /' conftest.$ac_ext >&5
18227
18228 ac_cv_type_int_least32_t=no
18229 fi
18230
18231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18232 fi
18233 { echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
18234 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6; }
18235
18236 { echo "$as_me:$LINENO: checking for int_fast32_t" >&5
18237 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6; }
18238 if test "${ac_cv_type_int_fast32_t+set}" = set; then
18239 echo $ECHO_N "(cached) $ECHO_C" >&6
18240 else
18241 cat >conftest.$ac_ext <<_ACEOF
18242 /* confdefs.h. */
18243 _ACEOF
18244 cat confdefs.h >>conftest.$ac_ext
18245 cat >>conftest.$ac_ext <<_ACEOF
18246 /* end confdefs.h. */
18247 #include<$ac_cv_header_stdint>
18248
18249 typedef int_fast32_t ac__type_new_;
18250 int
18251 main ()
18252 {
18253 if ((ac__type_new_ *) 0)
18254 return 0;
18255 if (sizeof (ac__type_new_))
18256 return 0;
18257 ;
18258 return 0;
18259 }
18260 _ACEOF
18261 rm -f conftest.$ac_objext
18262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18263 (eval $ac_compile) 2>conftest.er1
18264 ac_status=$?
18265 grep -v '^ *+' conftest.er1 >conftest.err
18266 rm -f conftest.er1
18267 cat conftest.err >&5
18268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18269 (exit $ac_status); } &&
18270 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18272 (eval $ac_try) 2>&5
18273 ac_status=$?
18274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18275 (exit $ac_status); }; } &&
18276 { ac_try='test -s conftest.$ac_objext'
18277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18278 (eval $ac_try) 2>&5
18279 ac_status=$?
18280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18281 (exit $ac_status); }; }; then
18282 ac_cv_type_int_fast32_t=yes
18283 else
18284 echo "$as_me: failed program was:" >&5
18285 sed 's/^/| /' conftest.$ac_ext >&5
18286
18287 ac_cv_type_int_fast32_t=no
18288 fi
18289
18290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18291 fi
18292 { echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
18293 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6; }
18294
18295 { echo "$as_me:$LINENO: checking for intmax_t" >&5
18296 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6; }
18297 if test "${ac_cv_type_intmax_t+set}" = set; then
18298 echo $ECHO_N "(cached) $ECHO_C" >&6
18299 else
18300 cat >conftest.$ac_ext <<_ACEOF
18301 /* confdefs.h. */
18302 _ACEOF
18303 cat confdefs.h >>conftest.$ac_ext
18304 cat >>conftest.$ac_ext <<_ACEOF
18305 /* end confdefs.h. */
18306 #include <$ac_cv_header_stdint>
18307
18308 typedef intmax_t ac__type_new_;
18309 int
18310 main ()
18311 {
18312 if ((ac__type_new_ *) 0)
18313 return 0;
18314 if (sizeof (ac__type_new_))
18315 return 0;
18316 ;
18317 return 0;
18318 }
18319 _ACEOF
18320 rm -f conftest.$ac_objext
18321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18322 (eval $ac_compile) 2>conftest.er1
18323 ac_status=$?
18324 grep -v '^ *+' conftest.er1 >conftest.err
18325 rm -f conftest.er1
18326 cat conftest.err >&5
18327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18328 (exit $ac_status); } &&
18329 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18331 (eval $ac_try) 2>&5
18332 ac_status=$?
18333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18334 (exit $ac_status); }; } &&
18335 { ac_try='test -s conftest.$ac_objext'
18336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18337 (eval $ac_try) 2>&5
18338 ac_status=$?
18339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18340 (exit $ac_status); }; }; then
18341 ac_cv_type_intmax_t=yes
18342 else
18343 echo "$as_me: failed program was:" >&5
18344 sed 's/^/| /' conftest.$ac_ext >&5
18345
18346 ac_cv_type_intmax_t=no
18347 fi
18348
18349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18350 fi
18351 { echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5
18352 echo "${ECHO_T}$ac_cv_type_intmax_t" >&6; }
18353
18354
18355 fi # shortcircut to system "stdint.h"
18356 # ------------------ PREPARE VARIABLES ------------------------------
18357 if test "$GCC" = "yes" ; then
18358 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
18359 else
18360 ac_cv_stdint_message="using $CC"
18361 fi
18362
18363 { echo "$as_me:$LINENO: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
18364 echo "${ECHO_T}make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6; }
18365
18366 # ----------------- DONE inttypes.h checks START header -------------
18367 ac_config_commands="$ac_config_commands $ac_stdint_h"
18368
18369
18370
18371
18372 # Check whether --with-glibj_zip was given.
18373 if test "${with_glibj_zip+set}" = set; then
18374 withval=$with_glibj_zip;
18375 fi
18376
18377
18378 case "$with_glibj_zip" in
18379 "")
18380 use_glibj_zip=false
18381 ;;
18382 "no" )
18383 use_glibj_zip=false
18384 ;;
18385 "yes")
18386 { { echo "$as_me:$LINENO: error: Please suply an absolute path to a prebuilt glibj.zip" >&5
18387 echo "$as_me: error: Please suply an absolute path to a prebuilt glibj.zip" >&2;}
18388 { (exit 1); exit 1; }; }
18389 ;;
18390 *)
18391 use_glibj_zip=true
18392 PATH_TO_GLIBJ_ZIP=$with_glibj_zip
18393 ;;
18394 esac;
18395
18396
18397
18398 if test x$use_glibj_zip = xtrue; then
18399 USE_PREBUILT_GLIBJ_ZIP_TRUE=
18400 USE_PREBUILT_GLIBJ_ZIP_FALSE='#'
18401 else
18402 USE_PREBUILT_GLIBJ_ZIP_TRUE='#'
18403 USE_PREBUILT_GLIBJ_ZIP_FALSE=
18404 fi
18405
18406
18407
18408
18409 # Check whether --enable-local-sockets was given.
18410 if test "${enable_local_sockets+set}" = set; then
18411 enableval=$enable_local_sockets; case "${enableval}" in
18412 yes)
18413 ENABLE_LOCAL_SOCKETS=yes
18414 ;;
18415 *)
18416 ENABLE_LOCAL_SOCKETS=no
18417 ;;
18418 esac
18419 fi
18420
18421 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"
18422 then
18423 if test "${ac_cv_header_sys_un_h+set}" = set; then
18424 { echo "$as_me:$LINENO: checking for sys/un.h" >&5
18425 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6; }
18426 if test "${ac_cv_header_sys_un_h+set}" = set; then
18427 echo $ECHO_N "(cached) $ECHO_C" >&6
18428 fi
18429 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
18430 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6; }
18431 else
18432 # Is the header compilable?
18433 { echo "$as_me:$LINENO: checking sys/un.h usability" >&5
18434 echo $ECHO_N "checking sys/un.h usability... $ECHO_C" >&6; }
18435 cat >conftest.$ac_ext <<_ACEOF
18436 /* confdefs.h. */
18437 _ACEOF
18438 cat confdefs.h >>conftest.$ac_ext
18439 cat >>conftest.$ac_ext <<_ACEOF
18440 /* end confdefs.h. */
18441 $ac_includes_default
18442 #include <sys/un.h>
18443 _ACEOF
18444 rm -f conftest.$ac_objext
18445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18446 (eval $ac_compile) 2>conftest.er1
18447 ac_status=$?
18448 grep -v '^ *+' conftest.er1 >conftest.err
18449 rm -f conftest.er1
18450 cat conftest.err >&5
18451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18452 (exit $ac_status); } &&
18453 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18455 (eval $ac_try) 2>&5
18456 ac_status=$?
18457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18458 (exit $ac_status); }; } &&
18459 { ac_try='test -s conftest.$ac_objext'
18460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18461 (eval $ac_try) 2>&5
18462 ac_status=$?
18463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18464 (exit $ac_status); }; }; then
18465 ac_header_compiler=yes
18466 else
18467 echo "$as_me: failed program was:" >&5
18468 sed 's/^/| /' conftest.$ac_ext >&5
18469
18470 ac_header_compiler=no
18471 fi
18472
18473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18474 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18475 echo "${ECHO_T}$ac_header_compiler" >&6; }
18476
18477 # Is the header present?
18478 { echo "$as_me:$LINENO: checking sys/un.h presence" >&5
18479 echo $ECHO_N "checking sys/un.h presence... $ECHO_C" >&6; }
18480 cat >conftest.$ac_ext <<_ACEOF
18481 /* confdefs.h. */
18482 _ACEOF
18483 cat confdefs.h >>conftest.$ac_ext
18484 cat >>conftest.$ac_ext <<_ACEOF
18485 /* end confdefs.h. */
18486 #include <sys/un.h>
18487 _ACEOF
18488 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18489 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18490 ac_status=$?
18491 grep -v '^ *+' conftest.er1 >conftest.err
18492 rm -f conftest.er1
18493 cat conftest.err >&5
18494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18495 (exit $ac_status); } >/dev/null; then
18496 if test -s conftest.err; then
18497 ac_cpp_err=$ac_c_preproc_warn_flag
18498 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
18499 else
18500 ac_cpp_err=
18501 fi
18502 else
18503 ac_cpp_err=yes
18504 fi
18505 if test -z "$ac_cpp_err"; then
18506 ac_header_preproc=yes
18507 else
18508 echo "$as_me: failed program was:" >&5
18509 sed 's/^/| /' conftest.$ac_ext >&5
18510
18511 ac_header_preproc=no
18512 fi
18513
18514 rm -f conftest.err conftest.$ac_ext
18515 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18516 echo "${ECHO_T}$ac_header_preproc" >&6; }
18517
18518 # So? What about this header?
18519 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18520 yes:no: )
18521 { echo "$as_me:$LINENO: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&5
18522 echo "$as_me: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18523 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the compiler's result" >&5
18524 echo "$as_me: WARNING: sys/un.h: proceeding with the compiler's result" >&2;}
18525 ac_header_preproc=yes
18526 ;;
18527 no:yes:* )
18528 { echo "$as_me:$LINENO: WARNING: sys/un.h: present but cannot be compiled" >&5
18529 echo "$as_me: WARNING: sys/un.h: present but cannot be compiled" >&2;}
18530 { echo "$as_me:$LINENO: WARNING: sys/un.h: check for missing prerequisite headers?" >&5
18531 echo "$as_me: WARNING: sys/un.h: check for missing prerequisite headers?" >&2;}
18532 { echo "$as_me:$LINENO: WARNING: sys/un.h: see the Autoconf documentation" >&5
18533 echo "$as_me: WARNING: sys/un.h: see the Autoconf documentation" >&2;}
18534 { echo "$as_me:$LINENO: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&5
18535 echo "$as_me: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&2;}
18536 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the preprocessor's result" >&5
18537 echo "$as_me: WARNING: sys/un.h: proceeding with the preprocessor's result" >&2;}
18538 { echo "$as_me:$LINENO: WARNING: sys/un.h: in the future, the compiler will take precedence" >&5
18539 echo "$as_me: WARNING: sys/un.h: in the future, the compiler will take precedence" >&2;}
18540 ( cat <<\_ASBOX
18541 ## -------------------------------- ##
18542 ## Report this to classpath@gnu.org ##
18543 ## -------------------------------- ##
18544 _ASBOX
18545 ) | sed "s/^/$as_me: WARNING: /" >&2
18546 ;;
18547 esac
18548 { echo "$as_me:$LINENO: checking for sys/un.h" >&5
18549 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6; }
18550 if test "${ac_cv_header_sys_un_h+set}" = set; then
18551 echo $ECHO_N "(cached) $ECHO_C" >&6
18552 else
18553 ac_cv_header_sys_un_h=$ac_header_preproc
18554 fi
18555 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
18556 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6; }
18557
18558 fi
18559
18560
18561
18562
18563
18564
18565
18566
18567 for ac_func in read write bind listen accept shutdown
18568 do
18569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18570 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18572 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18573 echo $ECHO_N "(cached) $ECHO_C" >&6
18574 else
18575 cat >conftest.$ac_ext <<_ACEOF
18576 /* confdefs.h. */
18577 _ACEOF
18578 cat confdefs.h >>conftest.$ac_ext
18579 cat >>conftest.$ac_ext <<_ACEOF
18580 /* end confdefs.h. */
18581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18583 #define $ac_func innocuous_$ac_func
18584
18585 /* System header to define __stub macros and hopefully few prototypes,
18586 which can conflict with char $ac_func (); below.
18587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18588 <limits.h> exists even on freestanding compilers. */
18589
18590 #ifdef __STDC__
18591 # include <limits.h>
18592 #else
18593 # include <assert.h>
18594 #endif
18595
18596 #undef $ac_func
18597
18598 /* Override any GCC internal prototype to avoid an error.
18599 Use char because int might match the return type of a GCC
18600 builtin and then its argument prototype would still apply. */
18601 #ifdef __cplusplus
18602 extern "C"
18603 #endif
18604 char $ac_func ();
18605 /* The GNU C library defines this for functions which it implements
18606 to always fail with ENOSYS. Some functions are actually named
18607 something starting with __ and the normal name is an alias. */
18608 #if defined __stub_$ac_func || defined __stub___$ac_func
18609 choke me
18610 #endif
18611
18612 int
18613 main ()
18614 {
18615 return $ac_func ();
18616 ;
18617 return 0;
18618 }
18619 _ACEOF
18620 rm -f conftest.$ac_objext conftest$ac_exeext
18621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18622 (eval $ac_link) 2>conftest.er1
18623 ac_status=$?
18624 grep -v '^ *+' conftest.er1 >conftest.err
18625 rm -f conftest.er1
18626 cat conftest.err >&5
18627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18628 (exit $ac_status); } &&
18629 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18631 (eval $ac_try) 2>&5
18632 ac_status=$?
18633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18634 (exit $ac_status); }; } &&
18635 { ac_try='test -s conftest$ac_exeext'
18636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18637 (eval $ac_try) 2>&5
18638 ac_status=$?
18639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18640 (exit $ac_status); }; }; then
18641 eval "$as_ac_var=yes"
18642 else
18643 echo "$as_me: failed program was:" >&5
18644 sed 's/^/| /' conftest.$ac_ext >&5
18645
18646 eval "$as_ac_var=no"
18647 fi
18648
18649 rm -f conftest.err conftest.$ac_objext \
18650 conftest$ac_exeext conftest.$ac_ext
18651 fi
18652 ac_res=`eval echo '${'$as_ac_var'}'`
18653 { echo "$as_me:$LINENO: result: $ac_res" >&5
18654 echo "${ECHO_T}$ac_res" >&6; }
18655 if test `eval echo '${'$as_ac_var'}'` = yes; then
18656 cat >>confdefs.h <<_ACEOF
18657 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18658 _ACEOF
18659
18660 else
18661 { { echo "$as_me:$LINENO: error: networking support not available" >&5
18662 echo "$as_me: error: networking support not available" >&2;}
18663 { (exit 1); exit 1; }; }
18664 fi
18665 done
18666
18667
18668 cat >>confdefs.h <<\_ACEOF
18669 #define ENABLE_LOCAL_SOCKETS 1
18670 _ACEOF
18671
18672 fi
18673
18674
18675 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"; then
18676 ENABLE_LOCAL_SOCKETS_TRUE=
18677 ENABLE_LOCAL_SOCKETS_FALSE='#'
18678 else
18679 ENABLE_LOCAL_SOCKETS_TRUE='#'
18680 ENABLE_LOCAL_SOCKETS_FALSE=
18681 fi
18682
18683
18684
18685 ac_config_files="$ac_config_files Makefile doc/Makefile doc/api/Makefile external/Makefile external/sax/Makefile external/w3c_dom/Makefile external/relaxngDatatype/Makefile gnu/classpath/Configuration.java include/Makefile native/Makefile native/fdlibm/Makefile native/jawt/Makefile native/jni/Makefile native/jni/classpath/Makefile native/jni/java-io/Makefile native/jni/java-lang/Makefile native/jni/java-net/Makefile native/jni/java-nio/Makefile native/jni/java-util/Makefile native/jni/gtk-peer/Makefile native/jni/qt-peer/Makefile native/jni/xmlj/Makefile native/jni/midi-alsa/Makefile native/jni/midi-dssi/Makefile native/target/Makefile native/target/Linux/Makefile native/target/generic/Makefile resource/Makefile scripts/Makefile scripts/classpath.spec lib/Makefile lib/gen-classlist.sh lib/copy-vmresources.sh tools/Makefile tools/jarsigner.sh tools/keytool.sh examples/Makefile examples/Makefile.jawt"
18686
18687 ac_config_commands="$ac_config_commands gen-classlist"
18688
18689 ac_config_commands="$ac_config_commands copy-vmresources"
18690
18691 cat >confcache <<\_ACEOF
18692 # This file is a shell script that caches the results of configure
18693 # tests run on this system so they can be shared between configure
18694 # scripts and configure runs, see configure's option --config-cache.
18695 # It is not useful on other systems. If it contains results you don't
18696 # want to keep, you may remove or edit it.
18697 #
18698 # config.status only pays attention to the cache file if you give it
18699 # the --recheck option to rerun configure.
18700 #
18701 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18702 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18703 # following values.
18704
18705 _ACEOF
18706
18707 # The following way of writing the cache mishandles newlines in values,
18708 # but we know of no workaround that is simple, portable, and efficient.
18709 # So, we kill variables containing newlines.
18710 # Ultrix sh set writes to stderr and can't be redirected directly,
18711 # and sets the high bit in the cache file unless we assign to the vars.
18712 (
18713 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18714 eval ac_val=\$$ac_var
18715 case $ac_val in #(
18716 *${as_nl}*)
18717 case $ac_var in #(
18718 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
18719 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
18720 esac
18721 case $ac_var in #(
18722 _ | IFS | as_nl) ;; #(
18723 *) $as_unset $ac_var ;;
18724 esac ;;
18725 esac
18726 done
18727
18728 (set) 2>&1 |
18729 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18730 *${as_nl}ac_space=\ *)
18731 # `set' does not quote correctly, so add quotes (double-quote
18732 # substitution turns \\\\ into \\, and sed turns \\ into \).
18733 sed -n \
18734 "s/'/'\\\\''/g;
18735 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18736 ;; #(
18737 *)
18738 # `set' quotes correctly as required by POSIX, so do not add quotes.
18739 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18740 ;;
18741 esac |
18742 sort
18743 ) |
18744 sed '
18745 /^ac_cv_env_/b end
18746 t clear
18747 :clear
18748 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18749 t end
18750 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18751 :end' >>confcache
18752 if diff $cache_file confcache >/dev/null 2>&1; then :; else
18753 if test -w $cache_file; then
18754 test "x$cache_file" != "x/dev/null" &&
18755 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
18756 echo "$as_me: updating cache $cache_file" >&6;}
18757 cat confcache >$cache_file
18758 else
18759 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
18760 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18761 fi
18762 fi
18763 rm -f confcache
18764
18765 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18766 # Let make expand exec_prefix.
18767 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18768
18769 DEFS=-DHAVE_CONFIG_H
18770
18771 ac_libobjs=
18772 ac_ltlibobjs=
18773 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18774 # 1. Remove the extension, and $U if already installed.
18775 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18776 ac_i=`echo "$ac_i" | sed "$ac_script"`
18777 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18778 # will be set to the directory where LIBOBJS objects are built.
18779 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18780 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
18781 done
18782 LIBOBJS=$ac_libobjs
18783
18784 LTLIBOBJS=$ac_ltlibobjs
18785
18786
18787 if test -z "${CREATE_COLLECTIONS_TRUE}" && test -z "${CREATE_COLLECTIONS_FALSE}"; then
18788 { { echo "$as_me:$LINENO: error: conditional \"CREATE_COLLECTIONS\" was never defined.
18789 Usually this means the macro was only invoked conditionally." >&5
18790 echo "$as_me: error: conditional \"CREATE_COLLECTIONS\" was never defined.
18791 Usually this means the macro was only invoked conditionally." >&2;}
18792 { (exit 1); exit 1; }; }
18793 fi
18794 if test -z "${CREATE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_JNI_LIBRARIES_FALSE}"; then
18795 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
18796 Usually this means the macro was only invoked conditionally." >&5
18797 echo "$as_me: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
18798 Usually this means the macro was only invoked conditionally." >&2;}
18799 { (exit 1); exit 1; }; }
18800 fi
18801 if test -z "${CREATE_CORE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_CORE_JNI_LIBRARIES_FALSE}"; then
18802 { { echo "$as_me:$LINENO: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
18803 Usually this means the macro was only invoked conditionally." >&5
18804 echo "$as_me: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
18805 Usually this means the macro was only invoked conditionally." >&2;}
18806 { (exit 1); exit 1; }; }
18807 fi
18808 if test -z "${CREATE_XMLJ_LIBRARY_TRUE}" && test -z "${CREATE_XMLJ_LIBRARY_FALSE}"; then
18809 { { echo "$as_me:$LINENO: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
18810 Usually this means the macro was only invoked conditionally." >&5
18811 echo "$as_me: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
18812 Usually this means the macro was only invoked conditionally." >&2;}
18813 { (exit 1); exit 1; }; }
18814 fi
18815 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
18816 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
18817 Usually this means the macro was only invoked conditionally." >&5
18818 echo "$as_me: error: conditional \"AMDEP\" was never defined.
18819 Usually this means the macro was only invoked conditionally." >&2;}
18820 { (exit 1); exit 1; }; }
18821 fi
18822 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18823 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
18824 Usually this means the macro was only invoked conditionally." >&5
18825 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
18826 Usually this means the macro was only invoked conditionally." >&2;}
18827 { (exit 1); exit 1; }; }
18828 fi
18829 if test -z "${CREATE_ALSA_LIBRARIES_TRUE}" && test -z "${CREATE_ALSA_LIBRARIES_FALSE}"; then
18830 { { echo "$as_me:$LINENO: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
18831 Usually this means the macro was only invoked conditionally." >&5
18832 echo "$as_me: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
18833 Usually this means the macro was only invoked conditionally." >&2;}
18834 { (exit 1); exit 1; }; }
18835 fi
18836 if test -z "${CREATE_DSSI_LIBRARIES_TRUE}" && test -z "${CREATE_DSSI_LIBRARIES_FALSE}"; then
18837 { { echo "$as_me:$LINENO: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
18838 Usually this means the macro was only invoked conditionally." >&5
18839 echo "$as_me: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
18840 Usually this means the macro was only invoked conditionally." >&2;}
18841 { (exit 1); exit 1; }; }
18842 fi
18843 if test -z "${CREATE_GTK_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GTK_PEER_LIBRARIES_FALSE}"; then
18844 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
18845 Usually this means the macro was only invoked conditionally." >&5
18846 echo "$as_me: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
18847 Usually this means the macro was only invoked conditionally." >&2;}
18848 { (exit 1); exit 1; }; }
18849 fi
18850 if test -z "${GTK_CAIRO_TRUE}" && test -z "${GTK_CAIRO_FALSE}"; then
18851 { { echo "$as_me:$LINENO: error: conditional \"GTK_CAIRO\" was never defined.
18852 Usually this means the macro was only invoked conditionally." >&5
18853 echo "$as_me: error: conditional \"GTK_CAIRO\" was never defined.
18854 Usually this means the macro was only invoked conditionally." >&2;}
18855 { (exit 1); exit 1; }; }
18856 fi
18857 if test -z "${CREATE_QT_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_QT_PEER_LIBRARIES_FALSE}"; then
18858 { { echo "$as_me:$LINENO: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
18859 Usually this means the macro was only invoked conditionally." >&5
18860 echo "$as_me: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
18861 Usually this means the macro was only invoked conditionally." >&2;}
18862 { (exit 1); exit 1; }; }
18863 fi
18864 if test -z "${CREATE_JNI_HEADERS_TRUE}" && test -z "${CREATE_JNI_HEADERS_FALSE}"; then
18865 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
18866 Usually this means the macro was only invoked conditionally." >&5
18867 echo "$as_me: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
18868 Usually this means the macro was only invoked conditionally." >&2;}
18869 { (exit 1); exit 1; }; }
18870 fi
18871 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18872 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
18873 Usually this means the macro was only invoked conditionally." >&5
18874 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
18875 Usually this means the macro was only invoked conditionally." >&2;}
18876 { (exit 1); exit 1; }; }
18877 fi
18878 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
18879 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
18880 Usually this means the macro was only invoked conditionally." >&5
18881 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
18882 Usually this means the macro was only invoked conditionally." >&2;}
18883 { (exit 1); exit 1; }; }
18884 fi
18885 if test -z "${USER_SPECIFIED_JAVAH_TRUE}" && test -z "${USER_SPECIFIED_JAVAH_FALSE}"; then
18886 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
18887 Usually this means the macro was only invoked conditionally." >&5
18888 echo "$as_me: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
18889 Usually this means the macro was only invoked conditionally." >&2;}
18890 { (exit 1); exit 1; }; }
18891 fi
18892 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
18893 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
18894 Usually this means the macro was only invoked conditionally." >&5
18895 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
18896 Usually this means the macro was only invoked conditionally." >&2;}
18897 { (exit 1); exit 1; }; }
18898 fi
18899 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
18900 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
18901 Usually this means the macro was only invoked conditionally." >&5
18902 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
18903 Usually this means the macro was only invoked conditionally." >&2;}
18904 { (exit 1); exit 1; }; }
18905 fi
18906 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
18907 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
18908 Usually this means the macro was only invoked conditionally." >&5
18909 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
18910 Usually this means the macro was only invoked conditionally." >&2;}
18911 { (exit 1); exit 1; }; }
18912 fi
18913 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
18914 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
18915 Usually this means the macro was only invoked conditionally." >&5
18916 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
18917 Usually this means the macro was only invoked conditionally." >&2;}
18918 { (exit 1); exit 1; }; }
18919 fi
18920 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
18921 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
18922 Usually this means the macro was only invoked conditionally." >&5
18923 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
18924 Usually this means the macro was only invoked conditionally." >&2;}
18925 { (exit 1); exit 1; }; }
18926 fi
18927 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
18928 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
18929 Usually this means the macro was only invoked conditionally." >&5
18930 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
18931 Usually this means the macro was only invoked conditionally." >&2;}
18932 { (exit 1); exit 1; }; }
18933 fi
18934 if test -z "${FOUND_KJC_TRUE}" && test -z "${FOUND_KJC_FALSE}"; then
18935 { { echo "$as_me:$LINENO: error: conditional \"FOUND_KJC\" was never defined.
18936 Usually this means the macro was only invoked conditionally." >&5
18937 echo "$as_me: error: conditional \"FOUND_KJC\" was never defined.
18938 Usually this means the macro was only invoked conditionally." >&2;}
18939 { (exit 1); exit 1; }; }
18940 fi
18941 if test -z "${FOUND_GCJX_TRUE}" && test -z "${FOUND_GCJX_FALSE}"; then
18942 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJX\" was never defined.
18943 Usually this means the macro was only invoked conditionally." >&5
18944 echo "$as_me: error: conditional \"FOUND_GCJX\" was never defined.
18945 Usually this means the macro was only invoked conditionally." >&2;}
18946 { (exit 1); exit 1; }; }
18947 fi
18948 if test -z "${USER_SPECIFIED_CLASSLIB_TRUE}" && test -z "${USER_SPECIFIED_CLASSLIB_FALSE}"; then
18949 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
18950 Usually this means the macro was only invoked conditionally." >&5
18951 echo "$as_me: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
18952 Usually this means the macro was only invoked conditionally." >&2;}
18953 { (exit 1); exit 1; }; }
18954 fi
18955 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
18956 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
18957 Usually this means the macro was only invoked conditionally." >&5
18958 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
18959 Usually this means the macro was only invoked conditionally." >&2;}
18960 { (exit 1); exit 1; }; }
18961 fi
18962 if test -z "${INSTALL_GLIBJ_ZIP_TRUE}" && test -z "${INSTALL_GLIBJ_ZIP_FALSE}"; then
18963 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
18964 Usually this means the macro was only invoked conditionally." >&5
18965 echo "$as_me: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
18966 Usually this means the macro was only invoked conditionally." >&2;}
18967 { (exit 1); exit 1; }; }
18968 fi
18969 if test -z "${INSTALL_CLASS_FILES_TRUE}" && test -z "${INSTALL_CLASS_FILES_FALSE}"; then
18970 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
18971 Usually this means the macro was only invoked conditionally." >&5
18972 echo "$as_me: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
18973 Usually this means the macro was only invoked conditionally." >&2;}
18974 { (exit 1); exit 1; }; }
18975 fi
18976 if test -z "${BUILD_CLASS_FILES_TRUE}" && test -z "${BUILD_CLASS_FILES_FALSE}"; then
18977 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CLASS_FILES\" was never defined.
18978 Usually this means the macro was only invoked conditionally." >&5
18979 echo "$as_me: error: conditional \"BUILD_CLASS_FILES\" was never defined.
18980 Usually this means the macro was only invoked conditionally." >&2;}
18981 { (exit 1); exit 1; }; }
18982 fi
18983 if test -z "${CREATE_API_DOCS_TRUE}" && test -z "${CREATE_API_DOCS_FALSE}"; then
18984 { { echo "$as_me:$LINENO: error: conditional \"CREATE_API_DOCS\" was never defined.
18985 Usually this means the macro was only invoked conditionally." >&5
18986 echo "$as_me: error: conditional \"CREATE_API_DOCS\" was never defined.
18987 Usually this means the macro was only invoked conditionally." >&2;}
18988 { (exit 1); exit 1; }; }
18989 fi
18990 if test -z "${REGEN_PARSERS_TRUE}" && test -z "${REGEN_PARSERS_FALSE}"; then
18991 { { echo "$as_me:$LINENO: error: conditional \"REGEN_PARSERS\" was never defined.
18992 Usually this means the macro was only invoked conditionally." >&5
18993 echo "$as_me: error: conditional \"REGEN_PARSERS\" was never defined.
18994 Usually this means the macro was only invoked conditionally." >&2;}
18995 { (exit 1); exit 1; }; }
18996 fi
18997 if test -z "${USE_PREBUILT_GLIBJ_ZIP_TRUE}" && test -z "${USE_PREBUILT_GLIBJ_ZIP_FALSE}"; then
18998 { { echo "$as_me:$LINENO: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
18999 Usually this means the macro was only invoked conditionally." >&5
19000 echo "$as_me: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
19001 Usually this means the macro was only invoked conditionally." >&2;}
19002 { (exit 1); exit 1; }; }
19003 fi
19004 if test -z "${ENABLE_LOCAL_SOCKETS_TRUE}" && test -z "${ENABLE_LOCAL_SOCKETS_FALSE}"; then
19005 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
19006 Usually this means the macro was only invoked conditionally." >&5
19007 echo "$as_me: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
19008 Usually this means the macro was only invoked conditionally." >&2;}
19009 { (exit 1); exit 1; }; }
19010 fi
19011
19012 : ${CONFIG_STATUS=./config.status}
19013 ac_clean_files_save=$ac_clean_files
19014 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19015 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
19016 echo "$as_me: creating $CONFIG_STATUS" >&6;}
19017 cat >$CONFIG_STATUS <<_ACEOF
19018 #! $SHELL
19019 # Generated by $as_me.
19020 # Run this file to recreate the current configuration.
19021 # Compiler output produced by configure, useful for debugging
19022 # configure, is in config.log if it exists.
19023
19024 debug=false
19025 ac_cs_recheck=false
19026 ac_cs_silent=false
19027 SHELL=\${CONFIG_SHELL-$SHELL}
19028 _ACEOF
19029
19030 cat >>$CONFIG_STATUS <<\_ACEOF
19031 ## --------------------- ##
19032 ## M4sh Initialization. ##
19033 ## --------------------- ##
19034
19035 # Be Bourne compatible
19036 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19037 emulate sh
19038 NULLCMD=:
19039 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19040 # is contrary to our usage. Disable this feature.
19041 alias -g '${1+"$@"}'='"$@"'
19042 setopt NO_GLOB_SUBST
19043 else
19044 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
19045 fi
19046 BIN_SH=xpg4; export BIN_SH # for Tru64
19047 DUALCASE=1; export DUALCASE # for MKS sh
19048
19049
19050 # PATH needs CR
19051 # Avoid depending upon Character Ranges.
19052 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19053 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19054 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19055 as_cr_digits='0123456789'
19056 as_cr_alnum=$as_cr_Letters$as_cr_digits
19057
19058 # The user is always right.
19059 if test "${PATH_SEPARATOR+set}" != set; then
19060 echo "#! /bin/sh" >conf$$.sh
19061 echo "exit 0" >>conf$$.sh
19062 chmod +x conf$$.sh
19063 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
19064 PATH_SEPARATOR=';'
19065 else
19066 PATH_SEPARATOR=:
19067 fi
19068 rm -f conf$$.sh
19069 fi
19070
19071 # Support unset when possible.
19072 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
19073 as_unset=unset
19074 else
19075 as_unset=false
19076 fi
19077
19078
19079 # IFS
19080 # We need space, tab and new line, in precisely that order. Quoting is
19081 # there to prevent editors from complaining about space-tab.
19082 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19083 # splitting by setting IFS to empty value.)
19084 as_nl='
19085 '
19086 IFS=" "" $as_nl"
19087
19088 # Find who we are. Look in the path if we contain no directory separator.
19089 case $0 in
19090 *[\\/]* ) as_myself=$0 ;;
19091 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19092 for as_dir in $PATH
19093 do
19094 IFS=$as_save_IFS
19095 test -z "$as_dir" && as_dir=.
19096 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19097 done
19098 IFS=$as_save_IFS
19099
19100 ;;
19101 esac
19102 # We did not find ourselves, most probably we were run as `sh COMMAND'
19103 # in which case we are not to be found in the path.
19104 if test "x$as_myself" = x; then
19105 as_myself=$0
19106 fi
19107 if test ! -f "$as_myself"; then
19108 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19109 { (exit 1); exit 1; }
19110 fi
19111
19112 # Work around bugs in pre-3.0 UWIN ksh.
19113 for as_var in ENV MAIL MAILPATH
19114 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
19115 done
19116 PS1='$ '
19117 PS2='> '
19118 PS4='+ '
19119
19120 # NLS nuisances.
19121 for as_var in \
19122 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
19123 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
19124 LC_TELEPHONE LC_TIME
19125 do
19126 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
19127 eval $as_var=C; export $as_var
19128 else
19129 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
19130 fi
19131 done
19132
19133 # Required to use basename.
19134 if expr a : '\(a\)' >/dev/null 2>&1 &&
19135 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19136 as_expr=expr
19137 else
19138 as_expr=false
19139 fi
19140
19141 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19142 as_basename=basename
19143 else
19144 as_basename=false
19145 fi
19146
19147
19148 # Name of the executable.
19149 as_me=`$as_basename -- "$0" ||
19150 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19151 X"$0" : 'X\(//\)$' \| \
19152 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19153 echo X/"$0" |
19154 sed '/^.*\/\([^/][^/]*\)\/*$/{
19155 s//\1/
19156 q
19157 }
19158 /^X\/\(\/\/\)$/{
19159 s//\1/
19160 q
19161 }
19162 /^X\/\(\/\).*/{
19163 s//\1/
19164 q
19165 }
19166 s/.*/./; q'`
19167
19168 # CDPATH.
19169 $as_unset CDPATH
19170
19171
19172
19173 as_lineno_1=$LINENO
19174 as_lineno_2=$LINENO
19175 test "x$as_lineno_1" != "x$as_lineno_2" &&
19176 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
19177
19178 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
19179 # uniformly replaced by the line number. The first 'sed' inserts a
19180 # line-number line after each line using $LINENO; the second 'sed'
19181 # does the real work. The second script uses 'N' to pair each
19182 # line-number line with the line containing $LINENO, and appends
19183 # trailing '-' during substitution so that $LINENO is not a special
19184 # case at line end.
19185 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
19186 # scripts with optimization help from Paolo Bonzini. Blame Lee
19187 # E. McMahon (1931-1989) for sed's syntax. :-)
19188 sed -n '
19189 p
19190 /[$]LINENO/=
19191 ' <$as_myself |
19192 sed '
19193 s/[$]LINENO.*/&-/
19194 t lineno
19195 b
19196 :lineno
19197 N
19198 :loop
19199 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
19200 t loop
19201 s/-\n.*//
19202 ' >$as_me.lineno &&
19203 chmod +x "$as_me.lineno" ||
19204 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
19205 { (exit 1); exit 1; }; }
19206
19207 # Don't try to exec as it changes $[0], causing all sort of problems
19208 # (the dirname of $[0] is not the place where we might find the
19209 # original and so on. Autoconf is especially sensitive to this).
19210 . "./$as_me.lineno"
19211 # Exit status is that of the last command.
19212 exit
19213 }
19214
19215
19216 if (dirname -- /) >/dev/null 2>&1; then
19217 as_dirname=dirname
19218 else
19219 as_dirname=false
19220 fi
19221
19222 ECHO_C= ECHO_N= ECHO_T=
19223 case `echo -n x` in
19224 -n*)
19225 case `echo 'x\c'` in
19226 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19227 *) ECHO_C='\c';;
19228 esac;;
19229 *)
19230 ECHO_N='-n';;
19231 esac
19232
19233 if expr a : '\(a\)' >/dev/null 2>&1 &&
19234 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19235 as_expr=expr
19236 else
19237 as_expr=false
19238 fi
19239
19240 rm -f conf$$ conf$$.exe conf$$.file
19241 if test -d conf$$.dir; then
19242 rm -f conf$$.dir/conf$$.file
19243 else
19244 rm -f conf$$.dir
19245 mkdir conf$$.dir
19246 fi
19247 echo >conf$$.file
19248 if ln -s conf$$.file conf$$ 2>/dev/null; then
19249 as_ln_s='ln -s'
19250 # ... but there are two gotchas:
19251 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19252 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19253 # In both cases, we have to default to `cp -p'.
19254 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19255 as_ln_s='cp -p'
19256 elif ln conf$$.file conf$$ 2>/dev/null; then
19257 as_ln_s=ln
19258 else
19259 as_ln_s='cp -p'
19260 fi
19261 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19262 rmdir conf$$.dir 2>/dev/null
19263
19264 if mkdir -p . 2>/dev/null; then
19265 as_mkdir_p=:
19266 else
19267 test -d ./-p && rmdir ./-p
19268 as_mkdir_p=false
19269 fi
19270
19271 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
19272 # systems may use methods other than mode bits to determine executability.
19273 cat >conf$$.file <<_ASEOF
19274 #! /bin/sh
19275 exit 0
19276 _ASEOF
19277 chmod +x conf$$.file
19278 if test -x conf$$.file >/dev/null 2>&1; then
19279 as_executable_p="test -x"
19280 else
19281 as_executable_p=:
19282 fi
19283 rm -f conf$$.file
19284
19285 # Sed expression to map a string onto a valid CPP name.
19286 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19287
19288 # Sed expression to map a string onto a valid variable name.
19289 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19290
19291
19292 exec 6>&1
19293
19294 # Save the log message, to keep $[0] and so on meaningful, and to
19295 # report actual input values of CONFIG_FILES etc. instead of their
19296 # values after options handling.
19297 ac_log="
19298 This file was extended by GNU Classpath $as_me 0.91, which was
19299 generated by GNU Autoconf 2.59d. Invocation command line was
19300
19301 CONFIG_FILES = $CONFIG_FILES
19302 CONFIG_HEADERS = $CONFIG_HEADERS
19303 CONFIG_LINKS = $CONFIG_LINKS
19304 CONFIG_COMMANDS = $CONFIG_COMMANDS
19305 $ $0 $@
19306
19307 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19308 "
19309
19310 _ACEOF
19311
19312 cat >>$CONFIG_STATUS <<_ACEOF
19313 # Files that config.status was made for.
19314 config_files="$ac_config_files"
19315 config_headers="$ac_config_headers"
19316 config_links="$ac_config_links"
19317 config_commands="$ac_config_commands"
19318
19319 _ACEOF
19320
19321 cat >>$CONFIG_STATUS <<\_ACEOF
19322 ac_cs_usage="\
19323 \`$as_me' instantiates files from templates according to the
19324 current configuration.
19325
19326 Usage: $0 [OPTIONS] [FILE]...
19327
19328 -h, --help print this help, then exit
19329 -V, --version print version number, then exit
19330 -q, --quiet do not print progress messages
19331 -d, --debug don't remove temporary files
19332 --recheck update $as_me by reconfiguring in the same conditions
19333 --file=FILE[:TEMPLATE]
19334 instantiate the configuration file FILE
19335 --header=FILE[:TEMPLATE]
19336 instantiate the configuration header FILE
19337
19338 Configuration files:
19339 $config_files
19340
19341 Configuration headers:
19342 $config_headers
19343
19344 Configuration links:
19345 $config_links
19346
19347 Configuration commands:
19348 $config_commands
19349
19350 Report bugs to <bug-autoconf@gnu.org>."
19351
19352 _ACEOF
19353 cat >>$CONFIG_STATUS <<_ACEOF
19354 ac_cs_version="\\
19355 GNU Classpath config.status 0.91
19356 configured by $0, generated by GNU Autoconf 2.59d,
19357 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
19358
19359 Copyright (C) 2006 Free Software Foundation, Inc.
19360 This config.status script is free software; the Free Software Foundation
19361 gives unlimited permission to copy, distribute and modify it."
19362
19363 ac_pwd='$ac_pwd'
19364 srcdir='$srcdir'
19365 INSTALL='$INSTALL'
19366 _ACEOF
19367
19368 cat >>$CONFIG_STATUS <<\_ACEOF
19369 # If no file are specified by the user, then we need to provide default
19370 # value. By we need to know if files were specified by the user.
19371 ac_need_defaults=:
19372 while test $# != 0
19373 do
19374 case $1 in
19375 --*=*)
19376 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19377 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19378 ac_shift=:
19379 ;;
19380 *)
19381 ac_option=$1
19382 ac_optarg=$2
19383 ac_shift=shift
19384 ;;
19385 esac
19386
19387 case $ac_option in
19388 # Handling of the options.
19389 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19390 ac_cs_recheck=: ;;
19391 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19392 echo "$ac_cs_version"; exit ;;
19393 --debug | --debu | --deb | --de | --d | -d )
19394 debug=: ;;
19395 --file | --fil | --fi | --f )
19396 $ac_shift
19397 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
19398 ac_need_defaults=false;;
19399 --header | --heade | --head | --hea )
19400 $ac_shift
19401 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
19402 ac_need_defaults=false;;
19403 --he | --h)
19404 # Conflict between --help and --header
19405 { echo "$as_me: error: ambiguous option: $1
19406 Try \`$0 --help' for more information." >&2
19407 { (exit 1); exit 1; }; };;
19408 --help | --hel | -h )
19409 echo "$ac_cs_usage"; exit ;;
19410 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19411 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19412 ac_cs_silent=: ;;
19413
19414 # This is an error.
19415 -*) { echo "$as_me: error: unrecognized option: $1
19416 Try \`$0 --help' for more information." >&2
19417 { (exit 1); exit 1; }; } ;;
19418
19419 *) ac_config_targets="$ac_config_targets $1"
19420 ac_need_defaults=false ;;
19421
19422 esac
19423 shift
19424 done
19425
19426 ac_configure_extra_args=
19427
19428 if $ac_cs_silent; then
19429 exec 6>/dev/null
19430 ac_configure_extra_args="$ac_configure_extra_args --silent"
19431 fi
19432
19433 _ACEOF
19434 cat >>$CONFIG_STATUS <<_ACEOF
19435 if \$ac_cs_recheck; then
19436 echo "running CONFIG_SHELL=$SHELL $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
19437 CONFIG_SHELL=$SHELL
19438 export CONFIG_SHELL
19439 exec $SHELL "$0" $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19440 fi
19441
19442 _ACEOF
19443 cat >>$CONFIG_STATUS <<\_ACEOF
19444 exec 5>>config.log
19445 {
19446 echo
19447 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19448 ## Running $as_me. ##
19449 _ASBOX
19450 echo "$ac_log"
19451 } >&5
19452
19453 _ACEOF
19454 cat >>$CONFIG_STATUS <<_ACEOF
19455 #
19456 # INIT-COMMANDS
19457 #
19458 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19459 # variables for create stdint.h replacement
19460 PACKAGE="$PACKAGE"
19461 VERSION="$VERSION"
19462 ac_stdint_h="$ac_stdint_h"
19463 _ac_stdint_h=`echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
19464 ac_cv_stdint_message="$ac_cv_stdint_message"
19465 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
19466 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
19467 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
19468 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
19469 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
19470 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
19471 ac_cv_char_data_model="$ac_cv_char_data_model"
19472 ac_cv_long_data_model="$ac_cv_long_data_model"
19473 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
19474 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
19475 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
19476
19477
19478 _ACEOF
19479
19480 cat >>$CONFIG_STATUS <<\_ACEOF
19481
19482 # Handling of arguments.
19483 for ac_config_target in $ac_config_targets
19484 do
19485 case $ac_config_target in
19486 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19487 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
19488 "lib/mkcollections.pl") CONFIG_FILES="$CONFIG_FILES lib/mkcollections.pl" ;;
19489 "mkcollections.pl") CONFIG_COMMANDS="$CONFIG_COMMANDS mkcollections.pl" ;;
19490 "$ac_config_links_1") CONFIG_LINKS="$CONFIG_LINKS $ac_config_links_1" ;;
19491 "$ac_stdint_h") CONFIG_COMMANDS="$CONFIG_COMMANDS $ac_stdint_h" ;;
19492 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
19493 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
19494 "doc/api/Makefile") CONFIG_FILES="$CONFIG_FILES doc/api/Makefile" ;;
19495 "external/Makefile") CONFIG_FILES="$CONFIG_FILES external/Makefile" ;;
19496 "external/sax/Makefile") CONFIG_FILES="$CONFIG_FILES external/sax/Makefile" ;;
19497 "external/w3c_dom/Makefile") CONFIG_FILES="$CONFIG_FILES external/w3c_dom/Makefile" ;;
19498 "external/relaxngDatatype/Makefile") CONFIG_FILES="$CONFIG_FILES external/relaxngDatatype/Makefile" ;;
19499 "gnu/classpath/Configuration.java") CONFIG_FILES="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
19500 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
19501 "native/Makefile") CONFIG_FILES="$CONFIG_FILES native/Makefile" ;;
19502 "native/fdlibm/Makefile") CONFIG_FILES="$CONFIG_FILES native/fdlibm/Makefile" ;;
19503 "native/jawt/Makefile") CONFIG_FILES="$CONFIG_FILES native/jawt/Makefile" ;;
19504 "native/jni/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/Makefile" ;;
19505 "native/jni/classpath/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/classpath/Makefile" ;;
19506 "native/jni/java-io/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/java-io/Makefile" ;;
19507 "native/jni/java-lang/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/java-lang/Makefile" ;;
19508 "native/jni/java-net/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/java-net/Makefile" ;;
19509 "native/jni/java-nio/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/java-nio/Makefile" ;;
19510 "native/jni/java-util/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/java-util/Makefile" ;;
19511 "native/jni/gtk-peer/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/gtk-peer/Makefile" ;;
19512 "native/jni/qt-peer/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/qt-peer/Makefile" ;;
19513 "native/jni/xmlj/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/xmlj/Makefile" ;;
19514 "native/jni/midi-alsa/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/midi-alsa/Makefile" ;;
19515 "native/jni/midi-dssi/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/midi-dssi/Makefile" ;;
19516 "native/target/Makefile") CONFIG_FILES="$CONFIG_FILES native/target/Makefile" ;;
19517 "native/target/Linux/Makefile") CONFIG_FILES="$CONFIG_FILES native/target/Linux/Makefile" ;;
19518 "native/target/generic/Makefile") CONFIG_FILES="$CONFIG_FILES native/target/generic/Makefile" ;;
19519 "resource/Makefile") CONFIG_FILES="$CONFIG_FILES resource/Makefile" ;;
19520 "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
19521 "scripts/classpath.spec") CONFIG_FILES="$CONFIG_FILES scripts/classpath.spec" ;;
19522 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
19523 "lib/gen-classlist.sh") CONFIG_FILES="$CONFIG_FILES lib/gen-classlist.sh" ;;
19524 "lib/copy-vmresources.sh") CONFIG_FILES="$CONFIG_FILES lib/copy-vmresources.sh" ;;
19525 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
19526 "tools/jarsigner.sh") CONFIG_FILES="$CONFIG_FILES tools/jarsigner.sh" ;;
19527 "tools/keytool.sh") CONFIG_FILES="$CONFIG_FILES tools/keytool.sh" ;;
19528 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
19529 "examples/Makefile.jawt") CONFIG_FILES="$CONFIG_FILES examples/Makefile.jawt" ;;
19530 "gen-classlist") CONFIG_COMMANDS="$CONFIG_COMMANDS gen-classlist" ;;
19531 "copy-vmresources") CONFIG_COMMANDS="$CONFIG_COMMANDS copy-vmresources" ;;
19532
19533 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
19534 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
19535 { (exit 1); exit 1; }; };;
19536 esac
19537 done
19538
19539
19540 # If the user did not use the arguments to specify the items to instantiate,
19541 # then the envvar interface is used. Set only those that are not.
19542 # We use the long form for the default assignment because of an extremely
19543 # bizarre bug on SunOS 4.1.3.
19544 if $ac_need_defaults; then
19545 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19546 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19547 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19548 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19549 fi
19550
19551 # Have a temporary directory for convenience. Make it in the build tree
19552 # simply because there is no reason against having it here, and in addition,
19553 # creating and moving files from /tmp can sometimes cause problems.
19554 # Hook for its removal unless debugging.
19555 # Note that there is a small window in which the directory will not be cleaned:
19556 # after its creation but before its name has been assigned to `$tmp'.
19557 $debug ||
19558 {
19559 tmp=
19560 trap 'exit_status=$?
19561 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
19562 ' 0
19563 trap '{ (exit 1); exit 1; }' 1 2 13 15
19564 }
19565 # Create a (secure) tmp directory for tmp files.
19566
19567 {
19568 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19569 test -n "$tmp" && test -d "$tmp"
19570 } ||
19571 {
19572 tmp=./conf$$-$RANDOM
19573 (umask 077 && mkdir "$tmp")
19574 } ||
19575 {
19576 echo "$me: cannot create a temporary directory in ." >&2
19577 { (exit 1); exit 1; }
19578 }
19579
19580 #
19581 # Set up the sed scripts for CONFIG_FILES section.
19582 #
19583
19584 # No need to generate the scripts if there are no CONFIG_FILES.
19585 # This happens for instance when ./config.status config.h
19586 if test -n "$CONFIG_FILES"; then
19587
19588 _ACEOF
19589
19590
19591
19592 ac_delim='%!_!# '
19593 for ac_last_try in false false false false false :; do
19594 cat >conf$$subs.sed <<_ACEOF
19595 SHELL!$SHELL$ac_delim
19596 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
19597 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
19598 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
19599 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
19600 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
19601 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
19602 exec_prefix!$exec_prefix$ac_delim
19603 prefix!$prefix$ac_delim
19604 program_transform_name!$program_transform_name$ac_delim
19605 bindir!$bindir$ac_delim
19606 sbindir!$sbindir$ac_delim
19607 libexecdir!$libexecdir$ac_delim
19608 datarootdir!$datarootdir$ac_delim
19609 datadir!$datadir$ac_delim
19610 sysconfdir!$sysconfdir$ac_delim
19611 sharedstatedir!$sharedstatedir$ac_delim
19612 localstatedir!$localstatedir$ac_delim
19613 includedir!$includedir$ac_delim
19614 oldincludedir!$oldincludedir$ac_delim
19615 docdir!$docdir$ac_delim
19616 infodir!$infodir$ac_delim
19617 htmldir!$htmldir$ac_delim
19618 dvidir!$dvidir$ac_delim
19619 pdfdir!$pdfdir$ac_delim
19620 psdir!$psdir$ac_delim
19621 libdir!$libdir$ac_delim
19622 localedir!$localedir$ac_delim
19623 mandir!$mandir$ac_delim
19624 DEFS!$DEFS$ac_delim
19625 ECHO_C!$ECHO_C$ac_delim
19626 ECHO_N!$ECHO_N$ac_delim
19627 ECHO_T!$ECHO_T$ac_delim
19628 LIBS!$LIBS$ac_delim
19629 build_alias!$build_alias$ac_delim
19630 host_alias!$host_alias$ac_delim
19631 target_alias!$target_alias$ac_delim
19632 build!$build$ac_delim
19633 build_cpu!$build_cpu$ac_delim
19634 build_vendor!$build_vendor$ac_delim
19635 build_os!$build_os$ac_delim
19636 host!$host$ac_delim
19637 host_cpu!$host_cpu$ac_delim
19638 host_vendor!$host_vendor$ac_delim
19639 host_os!$host_os$ac_delim
19640 target!$target$ac_delim
19641 target_cpu!$target_cpu$ac_delim
19642 target_vendor!$target_vendor$ac_delim
19643 target_os!$target_os$ac_delim
19644 LIBVERSION!$LIBVERSION$ac_delim
19645 CLASSPATH_MODULE!$CLASSPATH_MODULE$ac_delim
19646 CLASSPATH_CONVENIENCE!$CLASSPATH_CONVENIENCE$ac_delim
19647 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
19648 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
19649 INSTALL_DATA!$INSTALL_DATA$ac_delim
19650 CYGPATH_W!$CYGPATH_W$ac_delim
19651 PACKAGE!$PACKAGE$ac_delim
19652 VERSION!$VERSION$ac_delim
19653 ACLOCAL!$ACLOCAL$ac_delim
19654 AUTOCONF!$AUTOCONF$ac_delim
19655 AUTOMAKE!$AUTOMAKE$ac_delim
19656 AUTOHEADER!$AUTOHEADER$ac_delim
19657 MAKEINFO!$MAKEINFO$ac_delim
19658 install_sh!$install_sh$ac_delim
19659 STRIP!$STRIP$ac_delim
19660 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
19661 mkdir_p!$mkdir_p$ac_delim
19662 AWK!$AWK$ac_delim
19663 SET_MAKE!$SET_MAKE$ac_delim
19664 am__leading_dot!$am__leading_dot$ac_delim
19665 AMTAR!$AMTAR$ac_delim
19666 am__tar!$am__tar$ac_delim
19667 am__untar!$am__untar$ac_delim
19668 CREATE_COLLECTIONS_TRUE!$CREATE_COLLECTIONS_TRUE$ac_delim
19669 CREATE_COLLECTIONS_FALSE!$CREATE_COLLECTIONS_FALSE$ac_delim
19670 CREATE_JNI_LIBRARIES_TRUE!$CREATE_JNI_LIBRARIES_TRUE$ac_delim
19671 CREATE_JNI_LIBRARIES_FALSE!$CREATE_JNI_LIBRARIES_FALSE$ac_delim
19672 CREATE_CORE_JNI_LIBRARIES_TRUE!$CREATE_CORE_JNI_LIBRARIES_TRUE$ac_delim
19673 CREATE_CORE_JNI_LIBRARIES_FALSE!$CREATE_CORE_JNI_LIBRARIES_FALSE$ac_delim
19674 default_toolkit!$default_toolkit$ac_delim
19675 CREATE_XMLJ_LIBRARY_TRUE!$CREATE_XMLJ_LIBRARY_TRUE$ac_delim
19676 CREATE_XMLJ_LIBRARY_FALSE!$CREATE_XMLJ_LIBRARY_FALSE$ac_delim
19677 CC!$CC$ac_delim
19678 CFLAGS!$CFLAGS$ac_delim
19679 LDFLAGS!$LDFLAGS$ac_delim
19680 CPPFLAGS!$CPPFLAGS$ac_delim
19681 ac_ct_CC!$ac_ct_CC$ac_delim
19682 EXEEXT!$EXEEXT$ac_delim
19683 OBJEXT!$OBJEXT$ac_delim
19684 DEPDIR!$DEPDIR$ac_delim
19685 am__include!$am__include$ac_delim
19686 am__quote!$am__quote$ac_delim
19687 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
19688 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
19689 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
19690 CCDEPMODE!$CCDEPMODE$ac_delim
19691 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
19692 _ACEOF
19693
19694 if test `grep -c "$ac_delim\$" conf$$subs.sed` = 97; then
19695 break
19696 elif $ac_last_try; then
19697 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
19698 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
19699 { (exit 1); exit 1; }; }
19700 else
19701 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19702 fi
19703 done
19704
19705 ac_eof=
19706 if grep '^CEOF$' conf$$subs.sed >/dev/null; then
19707 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF//p' conf$$subs.sed | sort -nru | sed 1q`
19708 ac_eof=`expr 0$ac_eof + 1`
19709 fi
19710
19711 cat >>$CONFIG_STATUS <<_ACEOF
19712 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
19713 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19714 _ACEOF
19715 sed '
19716 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
19717 s/^/s,@/; s/!/@,|#_!!_#|/
19718 :n
19719 t n
19720 s/'"$ac_delim"'$/,g/; t
19721 s/$/\\/; p
19722 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
19723 ' >>$CONFIG_STATUS <conf$$subs.sed
19724 rm -f conf$$subs.sed
19725 cat >>$CONFIG_STATUS <<_ACEOF
19726 CEOF$ac_eof
19727 _ACEOF
19728
19729
19730 ac_delim='%!_!# '
19731 for ac_last_try in false false false false false :; do
19732 cat >conf$$subs.sed <<_ACEOF
19733 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
19734 CPP!$CPP$ac_delim
19735 GREP!$GREP$ac_delim
19736 EGREP!$EGREP$ac_delim
19737 CREATE_ALSA_LIBRARIES_TRUE!$CREATE_ALSA_LIBRARIES_TRUE$ac_delim
19738 CREATE_ALSA_LIBRARIES_FALSE!$CREATE_ALSA_LIBRARIES_FALSE$ac_delim
19739 CREATE_DSSI_LIBRARIES_TRUE!$CREATE_DSSI_LIBRARIES_TRUE$ac_delim
19740 CREATE_DSSI_LIBRARIES_FALSE!$CREATE_DSSI_LIBRARIES_FALSE$ac_delim
19741 CREATE_GTK_PEER_LIBRARIES_TRUE!$CREATE_GTK_PEER_LIBRARIES_TRUE$ac_delim
19742 CREATE_GTK_PEER_LIBRARIES_FALSE!$CREATE_GTK_PEER_LIBRARIES_FALSE$ac_delim
19743 GTK_CAIRO_ENABLED!$GTK_CAIRO_ENABLED$ac_delim
19744 GTK_CAIRO_TRUE!$GTK_CAIRO_TRUE$ac_delim
19745 GTK_CAIRO_FALSE!$GTK_CAIRO_FALSE$ac_delim
19746 CREATE_QT_PEER_LIBRARIES_TRUE!$CREATE_QT_PEER_LIBRARIES_TRUE$ac_delim
19747 CREATE_QT_PEER_LIBRARIES_FALSE!$CREATE_QT_PEER_LIBRARIES_FALSE$ac_delim
19748 nativeexeclibdir!$nativeexeclibdir$ac_delim
19749 glibjdir!$glibjdir$ac_delim
19750 CREATE_JNI_HEADERS_TRUE!$CREATE_JNI_HEADERS_TRUE$ac_delim
19751 CREATE_JNI_HEADERS_FALSE!$CREATE_JNI_HEADERS_FALSE$ac_delim
19752 LN_S!$LN_S$ac_delim
19753 RANLIB!$RANLIB$ac_delim
19754 LIBTOOL!$LIBTOOL$ac_delim
19755 CXX!$CXX$ac_delim
19756 CXXFLAGS!$CXXFLAGS$ac_delim
19757 ac_ct_CXX!$ac_ct_CXX$ac_delim
19758 CXXDEPMODE!$CXXDEPMODE$ac_delim
19759 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
19760 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
19761 CXXCPP!$CXXCPP$ac_delim
19762 PERL!$PERL$ac_delim
19763 COLLECTIONS_PREFIX!$COLLECTIONS_PREFIX$ac_delim
19764 LIBICONV!$LIBICONV$ac_delim
19765 LTLIBICONV!$LTLIBICONV$ac_delim
19766 WARNING_CFLAGS!$WARNING_CFLAGS$ac_delim
19767 STRICT_WARNING_CFLAGS!$STRICT_WARNING_CFLAGS$ac_delim
19768 ERROR_CFLAGS!$ERROR_CFLAGS$ac_delim
19769 PKG_CONFIG!$PKG_CONFIG$ac_delim
19770 XML_CFLAGS!$XML_CFLAGS$ac_delim
19771 XML_LIBS!$XML_LIBS$ac_delim
19772 XSLT_CFLAGS!$XSLT_CFLAGS$ac_delim
19773 XSLT_LIBS!$XSLT_LIBS$ac_delim
19774 XMKMF!$XMKMF$ac_delim
19775 X_CFLAGS!$X_CFLAGS$ac_delim
19776 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
19777 X_LIBS!$X_LIBS$ac_delim
19778 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
19779 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
19780 GTK_LIBS!$GTK_LIBS$ac_delim
19781 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
19782 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
19783 FREETYPE2_CFLAGS!$FREETYPE2_CFLAGS$ac_delim
19784 FREETYPE2_LIBS!$FREETYPE2_LIBS$ac_delim
19785 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
19786 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
19787 QT_CFLAGS!$QT_CFLAGS$ac_delim
19788 QT_LIBS!$QT_LIBS$ac_delim
19789 MOC!$MOC$ac_delim
19790 USER_JAVAH!$USER_JAVAH$ac_delim
19791 USER_SPECIFIED_JAVAH_TRUE!$USER_SPECIFIED_JAVAH_TRUE$ac_delim
19792 USER_SPECIFIED_JAVAH_FALSE!$USER_SPECIFIED_JAVAH_FALSE$ac_delim
19793 CLASSPATH_INCLUDES!$CLASSPATH_INCLUDES$ac_delim
19794 GCJ!$GCJ$ac_delim
19795 JIKES!$JIKES$ac_delim
19796 JIKESENCODING!$JIKESENCODING$ac_delim
19797 JIKESWARNINGS!$JIKESWARNINGS$ac_delim
19798 KJC!$KJC$ac_delim
19799 GCJX!$GCJX$ac_delim
19800 ECJ!$ECJ$ac_delim
19801 FOUND_GCJ_TRUE!$FOUND_GCJ_TRUE$ac_delim
19802 FOUND_GCJ_FALSE!$FOUND_GCJ_FALSE$ac_delim
19803 FOUND_JIKES_TRUE!$FOUND_JIKES_TRUE$ac_delim
19804 FOUND_JIKES_FALSE!$FOUND_JIKES_FALSE$ac_delim
19805 FOUND_ECJ_TRUE!$FOUND_ECJ_TRUE$ac_delim
19806 FOUND_ECJ_FALSE!$FOUND_ECJ_FALSE$ac_delim
19807 FOUND_KJC_TRUE!$FOUND_KJC_TRUE$ac_delim
19808 FOUND_KJC_FALSE!$FOUND_KJC_FALSE$ac_delim
19809 FOUND_GCJX_TRUE!$FOUND_GCJX_TRUE$ac_delim
19810 FOUND_GCJX_FALSE!$FOUND_GCJX_FALSE$ac_delim
19811 USER_CLASSLIB!$USER_CLASSLIB$ac_delim
19812 USER_SPECIFIED_CLASSLIB_TRUE!$USER_SPECIFIED_CLASSLIB_TRUE$ac_delim
19813 USER_SPECIFIED_CLASSLIB_FALSE!$USER_SPECIFIED_CLASSLIB_FALSE$ac_delim
19814 vm_classes!$vm_classes$ac_delim
19815 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
19816 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
19817 MAINT!$MAINT$ac_delim
19818 LIBDEBUG!$LIBDEBUG$ac_delim
19819 INIT_LOAD_LIBRARY!$INIT_LOAD_LIBRARY$ac_delim
19820 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION!$JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION$ac_delim
19821 REMOVE!$REMOVE$ac_delim
19822 MKDIR!$MKDIR$ac_delim
19823 CP!$CP$ac_delim
19824 DATE!$DATE$ac_delim
19825 FIND!$FIND$ac_delim
19826 ZIP!$ZIP$ac_delim
19827 FASTJAR!$FASTJAR$ac_delim
19828 INSTALL_GLIBJ_ZIP_TRUE!$INSTALL_GLIBJ_ZIP_TRUE$ac_delim
19829 INSTALL_GLIBJ_ZIP_FALSE!$INSTALL_GLIBJ_ZIP_FALSE$ac_delim
19830 _ACEOF
19831
19832 if test `grep -c "$ac_delim\$" conf$$subs.sed` = 97; then
19833 break
19834 elif $ac_last_try; then
19835 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
19836 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
19837 { (exit 1); exit 1; }; }
19838 else
19839 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19840 fi
19841 done
19842
19843 ac_eof=
19844 if grep '^CEOF$' conf$$subs.sed >/dev/null; then
19845 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF//p' conf$$subs.sed | sort -nru | sed 1q`
19846 ac_eof=`expr 0$ac_eof + 1`
19847 fi
19848
19849 cat >>$CONFIG_STATUS <<_ACEOF
19850 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
19851 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19852 _ACEOF
19853 sed '
19854 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
19855 s/^/s,@/; s/!/@,|#_!!_#|/
19856 :n
19857 t n
19858 s/'"$ac_delim"'$/,g/; t
19859 s/$/\\/; p
19860 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
19861 ' >>$CONFIG_STATUS <conf$$subs.sed
19862 rm -f conf$$subs.sed
19863 cat >>$CONFIG_STATUS <<_ACEOF
19864 CEOF$ac_eof
19865 _ACEOF
19866
19867
19868 ac_delim='%!_!# '
19869 for ac_last_try in false false false false false :; do
19870 cat >conf$$subs.sed <<_ACEOF
19871 INSTALL_CLASS_FILES_TRUE!$INSTALL_CLASS_FILES_TRUE$ac_delim
19872 INSTALL_CLASS_FILES_FALSE!$INSTALL_CLASS_FILES_FALSE$ac_delim
19873 BUILD_CLASS_FILES_TRUE!$BUILD_CLASS_FILES_TRUE$ac_delim
19874 BUILD_CLASS_FILES_FALSE!$BUILD_CLASS_FILES_FALSE$ac_delim
19875 EXAMPLESDIR!$EXAMPLESDIR$ac_delim
19876 GJDOC!$GJDOC$ac_delim
19877 CREATE_API_DOCS_TRUE!$CREATE_API_DOCS_TRUE$ac_delim
19878 CREATE_API_DOCS_FALSE!$CREATE_API_DOCS_FALSE$ac_delim
19879 JAY!$JAY$ac_delim
19880 JAY_SKELETON!$JAY_SKELETON$ac_delim
19881 REGEN_PARSERS_TRUE!$REGEN_PARSERS_TRUE$ac_delim
19882 REGEN_PARSERS_FALSE!$REGEN_PARSERS_FALSE$ac_delim
19883 USE_PREBUILT_GLIBJ_ZIP_TRUE!$USE_PREBUILT_GLIBJ_ZIP_TRUE$ac_delim
19884 USE_PREBUILT_GLIBJ_ZIP_FALSE!$USE_PREBUILT_GLIBJ_ZIP_FALSE$ac_delim
19885 PATH_TO_GLIBJ_ZIP!$PATH_TO_GLIBJ_ZIP$ac_delim
19886 ENABLE_LOCAL_SOCKETS_TRUE!$ENABLE_LOCAL_SOCKETS_TRUE$ac_delim
19887 ENABLE_LOCAL_SOCKETS_FALSE!$ENABLE_LOCAL_SOCKETS_FALSE$ac_delim
19888 LIBOBJS!$LIBOBJS$ac_delim
19889 LTLIBOBJS!$LTLIBOBJS$ac_delim
19890 _ACEOF
19891
19892 if test `grep -c "$ac_delim\$" conf$$subs.sed` = 19; then
19893 break
19894 elif $ac_last_try; then
19895 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
19896 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
19897 { (exit 1); exit 1; }; }
19898 else
19899 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19900 fi
19901 done
19902
19903 ac_eof=
19904 if grep '^CEOF$' conf$$subs.sed >/dev/null; then
19905 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF//p' conf$$subs.sed | sort -nru | sed 1q`
19906 ac_eof=`expr 0$ac_eof + 1`
19907 fi
19908
19909 cat >>$CONFIG_STATUS <<_ACEOF
19910 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
19911 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
19912 _ACEOF
19913 sed '
19914 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
19915 s/^/s,@/; s/!/@,|#_!!_#|/
19916 :n
19917 t n
19918 s/'"$ac_delim"'$/,g/; t
19919 s/$/\\/; p
19920 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
19921 ' >>$CONFIG_STATUS <conf$$subs.sed
19922 rm -f conf$$subs.sed
19923 cat >>$CONFIG_STATUS <<_ACEOF
19924 :end
19925 s/|#_!!_#|//g
19926 CEOF$ac_eof
19927 _ACEOF
19928
19929
19930 # VPATH may cause trouble with some makes, so we remove $(srcdir),
19931 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
19932 # trailing colons and then remove the whole line if VPATH becomes empty
19933 # (actually we leave an empty line to preserve line numbers).
19934 if test "x$srcdir" = x.; then
19935 ac_vpsub='/^[ ]*VPATH[ ]*=/{
19936 s/:*\$(srcdir):*/:/
19937 s/:*\${srcdir}:*/:/
19938 s/:*@srcdir@:*/:/
19939 s/^\([^=]*=[ ]*\):*/\1/
19940 s/:*$//
19941 s/^[^=]*=[ ]*$//
19942 }'
19943 fi
19944
19945 cat >>$CONFIG_STATUS <<\_ACEOF
19946 fi # test -n "$CONFIG_FILES"
19947
19948
19949 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS
19950 do
19951 case $ac_tag in
19952 :[FHLC]) ac_mode=$ac_tag; continue;;
19953 esac
19954 case $ac_mode$ac_tag in
19955 :[FHL]*:*);;
19956 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
19957 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
19958 { (exit 1); exit 1; }; };;
19959 :[FH]-) ac_tag=-:-;;
19960 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19961 esac
19962 ac_save_IFS=$IFS
19963 IFS=:
19964 set x $ac_tag
19965 IFS=$ac_save_IFS
19966 shift
19967 ac_file=$1
19968 shift
19969
19970 case $ac_mode in
19971 :L) ac_source=$1;;
19972 :[FH])
19973 ac_file_inputs=
19974 for ac_f
19975 do
19976 case $ac_f in
19977 -) ac_f="$tmp/stdin";;
19978 *) # Look for the file first in the build tree, then in the source tree
19979 # (if the path is not absolute). The absolute path cannot be DOS-style,
19980 # because $ac_f cannot contain `:'.
19981 test -f "$ac_f" ||
19982 case $ac_f in
19983 [\\/$]*) false;;
19984 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19985 esac ||
19986 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
19987 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
19988 { (exit 1); exit 1; }; };;
19989 esac
19990 ac_file_inputs="$ac_file_inputs $ac_f"
19991 done
19992
19993 # Let's still pretend it is `configure' which instantiates (i.e., don't
19994 # use $as_me), people would be surprised to read:
19995 # /* config.h. Generated by config.status. */
19996 configure_input="Generated from "`IFS=:
19997 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
19998 if test x"$ac_file" != x-; then
19999 configure_input="$ac_file. $configure_input"
20000 { echo "$as_me:$LINENO: creating $ac_file" >&5
20001 echo "$as_me: creating $ac_file" >&6;}
20002 fi
20003
20004 case $ac_tag in
20005 *:-:* | *:-) cat >"$tmp/stdin";;
20006 esac
20007 ;;
20008 esac
20009
20010 ac_dir=`$as_dirname -- "$ac_file" ||
20011 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20012 X"$ac_file" : 'X\(//\)[^/]' \| \
20013 X"$ac_file" : 'X\(//\)$' \| \
20014 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20015 echo X"$ac_file" |
20016 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20017 s//\1/
20018 q
20019 }
20020 /^X\(\/\/\)[^/].*/{
20021 s//\1/
20022 q
20023 }
20024 /^X\(\/\/\)$/{
20025 s//\1/
20026 q
20027 }
20028 /^X\(\/\).*/{
20029 s//\1/
20030 q
20031 }
20032 s/.*/./; q'`
20033 { as_dir="$ac_dir"
20034 case $as_dir in #(
20035 -*) as_dir=./$as_dir;;
20036 esac
20037 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
20038 as_dirs=
20039 while :; do
20040 case $as_dir in #(
20041 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
20042 *) as_qdir=$as_dir;;
20043 esac
20044 as_dirs="'$as_qdir' $as_dirs"
20045 as_dir=`$as_dirname -- "$as_dir" ||
20046 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20047 X"$as_dir" : 'X\(//\)[^/]' \| \
20048 X"$as_dir" : 'X\(//\)$' \| \
20049 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20050 echo X"$as_dir" |
20051 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20052 s//\1/
20053 q
20054 }
20055 /^X\(\/\/\)[^/].*/{
20056 s//\1/
20057 q
20058 }
20059 /^X\(\/\/\)$/{
20060 s//\1/
20061 q
20062 }
20063 /^X\(\/\).*/{
20064 s//\1/
20065 q
20066 }
20067 s/.*/./; q'`
20068 test -d "$as_dir" && break
20069 done
20070 test -z "$as_dirs" || eval "mkdir $as_dirs"
20071 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
20072 echo "$as_me: error: cannot create directory $as_dir" >&2;}
20073 { (exit 1); exit 1; }; }; }
20074 ac_builddir=.
20075
20076 case "$ac_dir" in
20077 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20078 *)
20079 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20080 # A ".." for each directory in $ac_dir_suffix.
20081 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
20082 case $ac_top_builddir_sub in
20083 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20084 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20085 esac ;;
20086 esac
20087 ac_abs_top_builddir=$ac_pwd
20088 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20089 # for backward compatibility:
20090 ac_top_builddir=$ac_top_build_prefix
20091
20092 case $srcdir in
20093 .) # We are building in place.
20094 ac_srcdir=.
20095 ac_top_srcdir=$ac_top_builddir_sub
20096 ac_abs_top_srcdir=$ac_pwd ;;
20097 [\\/]* | ?:[\\/]* ) # Absolute name.
20098 ac_srcdir=$srcdir$ac_dir_suffix;
20099 ac_top_srcdir=$srcdir
20100 ac_abs_top_srcdir=$srcdir ;;
20101 *) # Relative name.
20102 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20103 ac_top_srcdir=$ac_top_build_prefix$srcdir
20104 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20105 esac
20106 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20107
20108
20109 case $ac_mode in
20110 :F)
20111 #
20112 # CONFIG_FILE
20113 #
20114
20115 case $INSTALL in
20116 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
20117 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
20118 esac
20119 _ACEOF
20120
20121 cat >>$CONFIG_STATUS <<\_ACEOF
20122 # If the template does not know about datarootdir, expand it.
20123 # FIXME: This hack should be removed a few years after 2.60.
20124 ac_datarootdir_hack=
20125
20126 case `sed -n '/datarootdir/ {
20127 p
20128 q
20129 }
20130 /@datadir@/p
20131 /@docdir@/p
20132 /@infodir@/p
20133 /@localedir@/p
20134 /@mandir@/p
20135 ' $ac_file_inputs` in
20136 *datarootdir*) ;;
20137 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20138 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20139 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20140 _ACEOF
20141 cat >>$CONFIG_STATUS <<_ACEOF
20142 ac_datarootdir_hack='
20143 s&@datadir@&$datadir&g
20144 s&@docdir@&$docdir&g
20145 s&@infodir@&$infodir&g
20146 s&@localedir@&$localedir&g
20147 s&@mandir@&$mandir&g
20148 s&\\\${datarootdir}&$datarootdir&g' ;;
20149 esac
20150 _ACEOF
20151
20152 # Neutralize VPATH when `$srcdir' = `.'.
20153 # Shell code in configure.ac might set extrasub.
20154 # FIXME: do we really want to maintain this feature?
20155 cat >>$CONFIG_STATUS <<_ACEOF
20156 sed "$ac_vpsub
20157 $extrasub
20158 _ACEOF
20159 cat >>$CONFIG_STATUS <<\_ACEOF
20160 :t
20161 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20162 s&@configure_input@&$configure_input&;t t
20163 s&@top_builddir@&$ac_top_builddir_sub&;t t
20164 s&@srcdir@&$ac_srcdir&;t t
20165 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20166 s&@top_srcdir@&$ac_top_srcdir&;t t
20167 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20168 s&@builddir@&$ac_builddir&;t t
20169 s&@abs_builddir@&$ac_abs_builddir&;t t
20170 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20171 s&@INSTALL@&$ac_INSTALL&;t t
20172 $ac_datarootdir_hack
20173 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out
20174
20175 rm -f "$tmp/stdin"
20176 case $ac_file in
20177 -) cat "$tmp/out"; rm -f "$tmp/out";;
20178 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
20179 esac
20180 ;;
20181 :H)
20182 #
20183 # CONFIG_HEADER
20184 #
20185
20186 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
20187 # NAME is the cpp macro being defined, VALUE is the value it is being given.
20188 # PARAMS is the parameter list in the macro definition--in most cases, it's
20189 # just an empty string.
20190 #
20191 ac_dA='s,^\([ ]*#[ ]*\)[^ ]*\([ ][ ]*'
20192 ac_dB='\)[ (].*$,\1define\2'
20193 ac_dC=' '
20194 ac_dD=' ,'
20195
20196 ac_word_regexp=[_$as_cr_Letters][_$as_cr_alnum]*
20197 _ACEOF
20198
20199 # Transform confdefs.h into a sed script `conftest.defines', that
20200 # substitutes the proper values into config.h.in to produce config.h.
20201 rm -f conftest.defines conftest.tail
20202 # First, append a space to every undef/define line, to ease matching.
20203 echo 's/$/ /' >conftest.defines
20204 # Then, protect against being on the right side of a sed subst, or in
20205 # an unquoted here document, in config.status. If some macros were
20206 # called several times there might be several #defines for the same
20207 # symbol, which is useless. But do not sort them, since the last
20208 # AC_DEFINE must be honored.
20209 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20210 uniq confdefs.h |
20211 sed -n '
20212 t rset
20213 :rset
20214 s/^[ ]*#[ ]*define[ ][ ]*//
20215 t ok
20216 d
20217 :ok
20218 s/[\\&,]/\\&/g
20219 s/[\\$`]/\\&/g
20220 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/${ac_dA}\1$ac_dB\2${ac_dC}\3$ac_dD/p
20221 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/${ac_dA}\1$ac_dB${ac_dC}\2$ac_dD/p
20222 ' >>conftest.defines
20223
20224 # Remove the space that was appended to ease matching.
20225 # Then replace #undef with comments. This is necessary, for
20226 # example, in the case of _POSIX_SOURCE, which is predefined and required
20227 # on some systems where configure will not decide to define it.
20228 # (The regexp can be short, since the line contains either #define or #undef.)
20229 echo 's/ $//
20230 s,^[ #]*u.*,/* & */,' >>conftest.defines
20231
20232 # Break up conftest.defines:
20233 ac_max_sed_lines=96
20234
20235 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
20236 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
20237 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
20238 # et cetera.
20239 ac_in='$ac_file_inputs'
20240 ac_out='"$tmp/out1"'
20241 ac_nxt='"$tmp/out2"'
20242
20243 while :
20244 do
20245 # Write a here document:
20246 echo ' # First, check the format of the line:
20247 cat >"$tmp/defines.sed" <<CEOF
20248 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_regexp[ ]*$/b def
20249 /^[ ]*#[ ]*define[ ][ ]*$ac_word_regexp[( ]/b def
20250 b
20251 :def' >>$CONFIG_STATUS
20252 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
20253 echo 'CEOF
20254 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
20255 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
20256 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
20257 grep . conftest.tail >/dev/null || break
20258 rm -f conftest.defines
20259 mv conftest.tail conftest.defines
20260 done
20261 rm -f conftest.defines conftest.tail
20262
20263 echo "ac_result=$ac_in" >>$CONFIG_STATUS
20264 cat >>$CONFIG_STATUS <<\_ACEOF
20265 if test x"$ac_file" != x-; then
20266 echo "/* $configure_input */" >"$tmp/config.h"
20267 cat "$ac_result" >>"$tmp/config.h"
20268 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
20269 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
20270 echo "$as_me: $ac_file is unchanged" >&6;}
20271 else
20272 rm -f $ac_file
20273 mv "$tmp/config.h" $ac_file
20274 fi
20275 else
20276 echo "/* $configure_input */"
20277 cat "$ac_result"
20278 fi
20279 rm -f "$tmp/out12"
20280 # Compute $ac_file's index in $config_headers.
20281 _am_stamp_count=1
20282 for _am_header in $config_headers :; do
20283 case $_am_header in
20284 $ac_file | $ac_file:* )
20285 break ;;
20286 * )
20287 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
20288 esac
20289 done
20290 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
20291 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20292 X$ac_file : 'X\(//\)[^/]' \| \
20293 X$ac_file : 'X\(//\)$' \| \
20294 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
20295 echo X$ac_file |
20296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20297 s//\1/
20298 q
20299 }
20300 /^X\(\/\/\)[^/].*/{
20301 s//\1/
20302 q
20303 }
20304 /^X\(\/\/\)$/{
20305 s//\1/
20306 q
20307 }
20308 /^X\(\/\).*/{
20309 s//\1/
20310 q
20311 }
20312 s/.*/./; q'`/stamp-h$_am_stamp_count
20313 ;;
20314 :L)
20315 #
20316 # CONFIG_LINK
20317 #
20318
20319 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_file" >&5
20320 echo "$as_me: linking $srcdir/$ac_source to $ac_file" >&6;}
20321
20322 if test ! -r $srcdir/$ac_source; then
20323 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
20324 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
20325 { (exit 1); exit 1; }; }
20326 fi
20327 rm -f $ac_file
20328
20329 # Try a relative symlink, then a hard link, then a copy.
20330 case $srcdir in
20331 [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
20332 *) ac_rel_source=$ac_top_build_prefix$srcdir/$ac_source ;;
20333 esac
20334 ln -s $ac_rel_source $ac_file 2>/dev/null ||
20335 ln $srcdir/$ac_source $ac_file 2>/dev/null ||
20336 cp -p $srcdir/$ac_source $ac_file ||
20337 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_file" >&5
20338 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_file" >&2;}
20339 { (exit 1); exit 1; }; }
20340 ;;
20341 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
20342 echo "$as_me: executing $ac_file commands" >&6;}
20343 ;;
20344 esac
20345
20346
20347 case $ac_file$ac_mode in
20348 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
20349 # Strip MF so we end up with the name of the file.
20350 mf=`echo "$mf" | sed -e 's/:.*$//'`
20351 # Check whether this is an Automake generated Makefile or not.
20352 # We used to match only the files named `Makefile.in', but
20353 # some people rename them; so instead we look at the file content.
20354 # Grep'ing the first line is not enough: some people post-process
20355 # each Makefile.in and add a new line on top of each file to say so.
20356 # So let's grep whole file.
20357 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
20358 dirpart=`$as_dirname -- "$mf" ||
20359 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20360 X"$mf" : 'X\(//\)[^/]' \| \
20361 X"$mf" : 'X\(//\)$' \| \
20362 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
20363 echo X"$mf" |
20364 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20365 s//\1/
20366 q
20367 }
20368 /^X\(\/\/\)[^/].*/{
20369 s//\1/
20370 q
20371 }
20372 /^X\(\/\/\)$/{
20373 s//\1/
20374 q
20375 }
20376 /^X\(\/\).*/{
20377 s//\1/
20378 q
20379 }
20380 s/.*/./; q'`
20381 else
20382 continue
20383 fi
20384 # Extract the definition of DEPDIR, am__include, and am__quote
20385 # from the Makefile without running `make'.
20386 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
20387 test -z "$DEPDIR" && continue
20388 am__include=`sed -n 's/^am__include = //p' < "$mf"`
20389 test -z "am__include" && continue
20390 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
20391 # When using ansi2knr, U may be empty or an underscore; expand it
20392 U=`sed -n 's/^U = //p' < "$mf"`
20393 # Find all dependency output files, they are included files with
20394 # $(DEPDIR) in their names. We invoke sed twice because it is the
20395 # simplest approach to changing $(DEPDIR) to its actual value in the
20396 # expansion.
20397 for file in `sed -n "
20398 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20399 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
20400 # Make sure the directory exists.
20401 test -f "$dirpart/$file" && continue
20402 fdir=`$as_dirname -- "$file" ||
20403 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20404 X"$file" : 'X\(//\)[^/]' \| \
20405 X"$file" : 'X\(//\)$' \| \
20406 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
20407 echo X"$file" |
20408 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20409 s//\1/
20410 q
20411 }
20412 /^X\(\/\/\)[^/].*/{
20413 s//\1/
20414 q
20415 }
20416 /^X\(\/\/\)$/{
20417 s//\1/
20418 q
20419 }
20420 /^X\(\/\).*/{
20421 s//\1/
20422 q
20423 }
20424 s/.*/./; q'`
20425 { as_dir=$dirpart/$fdir
20426 case $as_dir in #(
20427 -*) as_dir=./$as_dir;;
20428 esac
20429 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
20430 as_dirs=
20431 while :; do
20432 case $as_dir in #(
20433 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
20434 *) as_qdir=$as_dir;;
20435 esac
20436 as_dirs="'$as_qdir' $as_dirs"
20437 as_dir=`$as_dirname -- "$as_dir" ||
20438 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20439 X"$as_dir" : 'X\(//\)[^/]' \| \
20440 X"$as_dir" : 'X\(//\)$' \| \
20441 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20442 echo X"$as_dir" |
20443 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20444 s//\1/
20445 q
20446 }
20447 /^X\(\/\/\)[^/].*/{
20448 s//\1/
20449 q
20450 }
20451 /^X\(\/\/\)$/{
20452 s//\1/
20453 q
20454 }
20455 /^X\(\/\).*/{
20456 s//\1/
20457 q
20458 }
20459 s/.*/./; q'`
20460 test -d "$as_dir" && break
20461 done
20462 test -z "$as_dirs" || eval "mkdir $as_dirs"
20463 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
20464 echo "$as_me: error: cannot create directory $as_dir" >&2;}
20465 { (exit 1); exit 1; }; }; }
20466 # echo "creating $dirpart/$file"
20467 echo '# dummy' > "$dirpart/$file"
20468 done
20469 done
20470 ;;
20471 "mkcollections.pl":C) chmod 755 lib/mkcollections.pl ;;
20472 "$ac_stdint_h":C)
20473 { echo "$as_me:$LINENO: creating $ac_stdint_h : $_ac_stdint_h" >&5
20474 echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
20475 ac_stdint=$tmp/_stdint.h
20476
20477 echo "#ifndef" $_ac_stdint_h >$ac_stdint
20478 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
20479 echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint
20480 echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint
20481 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
20482 if test "_$ac_cv_header_stdint_t" != "_" ; then
20483 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
20484 echo "#include <stdint.h>" >>$ac_stdint
20485 echo "#endif" >>$ac_stdint
20486 echo "#endif" >>$ac_stdint
20487 else
20488
20489 cat >>$ac_stdint <<STDINT_EOF
20490
20491 /* ................... shortcircuit part ........................... */
20492
20493 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
20494 #include <stdint.h>
20495 #else
20496 #include <stddef.h>
20497
20498 /* .................... configured part ............................ */
20499
20500 STDINT_EOF
20501
20502 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
20503 if test "_$ac_cv_header_stdint_x" != "_" ; then
20504 ac_header="$ac_cv_header_stdint_x"
20505 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
20506 else
20507 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
20508 fi
20509
20510 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
20511 if test "_$ac_cv_header_stdint_o" != "_" ; then
20512 ac_header="$ac_cv_header_stdint_o"
20513 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
20514 else
20515 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
20516 fi
20517
20518 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
20519 if test "_$ac_cv_header_stdint_u" != "_" ; then
20520 ac_header="$ac_cv_header_stdint_u"
20521 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
20522 else
20523 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
20524 fi
20525
20526 echo "" >>$ac_stdint
20527
20528 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
20529 echo "#include <$ac_header>" >>$ac_stdint
20530 echo "" >>$ac_stdint
20531 fi fi
20532
20533 echo "/* which 64bit typedef has been found */" >>$ac_stdint
20534 if test "$ac_cv_type_uint64_t" = "yes" ; then
20535 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
20536 else
20537 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
20538 fi
20539 if test "$ac_cv_type_u_int64_t" = "yes" ; then
20540 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
20541 else
20542 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
20543 fi
20544 echo "" >>$ac_stdint
20545
20546 echo "/* which type model has been detected */" >>$ac_stdint
20547 if test "_$ac_cv_char_data_model" != "_" ; then
20548 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
20549 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
20550 else
20551 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
20552 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
20553 fi
20554 echo "" >>$ac_stdint
20555
20556 echo "/* whether int_least types were detected */" >>$ac_stdint
20557 if test "$ac_cv_type_int_least32_t" = "yes"; then
20558 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
20559 else
20560 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
20561 fi
20562 echo "/* whether int_fast types were detected */" >>$ac_stdint
20563 if test "$ac_cv_type_int_fast32_t" = "yes"; then
20564 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
20565 else
20566 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
20567 fi
20568 echo "/* whether intmax_t type was detected */" >>$ac_stdint
20569 if test "$ac_cv_type_intmax_t" = "yes"; then
20570 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
20571 else
20572 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
20573 fi
20574 echo "" >>$ac_stdint
20575
20576 cat >>$ac_stdint <<STDINT_EOF
20577 /* .................... detections part ............................ */
20578
20579 /* whether we need to define bitspecific types from compiler base types */
20580 #ifndef _STDINT_HEADER_INTPTR
20581 #ifndef _STDINT_HEADER_UINT32
20582 #ifndef _STDINT_HEADER_U_INT32
20583 #define _STDINT_NEED_INT_MODEL_T
20584 #else
20585 #define _STDINT_HAVE_U_INT_TYPES
20586 #endif
20587 #endif
20588 #endif
20589
20590 #ifdef _STDINT_HAVE_U_INT_TYPES
20591 #undef _STDINT_NEED_INT_MODEL_T
20592 #endif
20593
20594 #ifdef _STDINT_CHAR_MODEL
20595 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
20596 #ifndef _STDINT_BYTE_MODEL
20597 #define _STDINT_BYTE_MODEL 12
20598 #endif
20599 #endif
20600 #endif
20601
20602 #ifndef _STDINT_HAVE_INT_LEAST32_T
20603 #define _STDINT_NEED_INT_LEAST_T
20604 #endif
20605
20606 #ifndef _STDINT_HAVE_INT_FAST32_T
20607 #define _STDINT_NEED_INT_FAST_T
20608 #endif
20609
20610 #ifndef _STDINT_HEADER_INTPTR
20611 #define _STDINT_NEED_INTPTR_T
20612 #ifndef _STDINT_HAVE_INTMAX_T
20613 #define _STDINT_NEED_INTMAX_T
20614 #endif
20615 #endif
20616
20617
20618 /* .................... definition part ............................ */
20619
20620 /* some system headers have good uint64_t */
20621 #ifndef _HAVE_UINT64_T
20622 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
20623 #define _HAVE_UINT64_T
20624 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
20625 #define _HAVE_UINT64_T
20626 typedef u_int64_t uint64_t;
20627 #endif
20628 #endif
20629
20630 #ifndef _HAVE_UINT64_T
20631 /* .. here are some common heuristics using compiler runtime specifics */
20632 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
20633 #define _HAVE_UINT64_T
20634 #define _HAVE_LONGLONG_UINT64_T
20635 typedef long long int64_t;
20636 typedef unsigned long long uint64_t;
20637
20638 #elif !defined __STRICT_ANSI__
20639 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
20640 #define _HAVE_UINT64_T
20641 typedef __int64 int64_t;
20642 typedef unsigned __int64 uint64_t;
20643
20644 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
20645 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
20646 #if !defined _NO_LONGLONG
20647 #define _HAVE_UINT64_T
20648 #define _HAVE_LONGLONG_UINT64_T
20649 typedef long long int64_t;
20650 typedef unsigned long long uint64_t;
20651 #endif
20652
20653 #elif defined __alpha || (defined __mips && defined _ABIN32)
20654 #if !defined _NO_LONGLONG
20655 typedef long int64_t;
20656 typedef unsigned long uint64_t;
20657 #endif
20658 /* compiler/cpu type to define int64_t */
20659 #endif
20660 #endif
20661 #endif
20662
20663 #if defined _STDINT_HAVE_U_INT_TYPES
20664 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
20665 typedef u_int8_t uint8_t;
20666 typedef u_int16_t uint16_t;
20667 typedef u_int32_t uint32_t;
20668
20669 /* glibc compatibility */
20670 #ifndef __int8_t_defined
20671 #define __int8_t_defined
20672 #endif
20673 #endif
20674
20675 #ifdef _STDINT_NEED_INT_MODEL_T
20676 /* we must guess all the basic types. Apart from byte-adressable system, */
20677 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
20678 /* (btw, those nibble-addressable systems are way off, or so we assume) */
20679
20680
20681 #if defined _STDINT_BYTE_MODEL
20682 #if _STDINT_LONG_MODEL+0 == 242
20683 /* 2:4:2 = IP16 = a normal 16-bit system */
20684 typedef unsigned char uint8_t;
20685 typedef unsigned short uint16_t;
20686 typedef unsigned long uint32_t;
20687 #ifndef __int8_t_defined
20688 #define __int8_t_defined
20689 typedef char int8_t;
20690 typedef short int16_t;
20691 typedef long int32_t;
20692 #endif
20693 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
20694 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
20695 /* 4:4:4 = ILP32 = a normal 32-bit system */
20696 typedef unsigned char uint8_t;
20697 typedef unsigned short uint16_t;
20698 typedef unsigned int uint32_t;
20699 #ifndef __int8_t_defined
20700 #define __int8_t_defined
20701 typedef char int8_t;
20702 typedef short int16_t;
20703 typedef int int32_t;
20704 #endif
20705 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
20706 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
20707 /* 4:8:8 = LP64 = a normal 64-bit system */
20708 typedef unsigned char uint8_t;
20709 typedef unsigned short uint16_t;
20710 typedef unsigned int uint32_t;
20711 #ifndef __int8_t_defined
20712 #define __int8_t_defined
20713 typedef char int8_t;
20714 typedef short int16_t;
20715 typedef int int32_t;
20716 #endif
20717 /* this system has a "long" of 64bit */
20718 #ifndef _HAVE_UINT64_T
20719 #define _HAVE_UINT64_T
20720 typedef unsigned long uint64_t;
20721 typedef long int64_t;
20722 #endif
20723 #elif _STDINT_LONG_MODEL+0 == 448
20724 /* LLP64 a 64-bit system derived from a 32-bit system */
20725 typedef unsigned char uint8_t;
20726 typedef unsigned short uint16_t;
20727 typedef unsigned int uint32_t;
20728 #ifndef __int8_t_defined
20729 #define __int8_t_defined
20730 typedef char int8_t;
20731 typedef short int16_t;
20732 typedef int int32_t;
20733 #endif
20734 /* assuming the system has a "long long" */
20735 #ifndef _HAVE_UINT64_T
20736 #define _HAVE_UINT64_T
20737 #define _HAVE_LONGLONG_UINT64_T
20738 typedef unsigned long long uint64_t;
20739 typedef long long int64_t;
20740 #endif
20741 #else
20742 #define _STDINT_NO_INT32_T
20743 #endif
20744 #else
20745 #define _STDINT_NO_INT8_T
20746 #define _STDINT_NO_INT32_T
20747 #endif
20748 #endif
20749
20750 /*
20751 * quote from SunOS-5.8 sys/inttypes.h:
20752 * Use at your own risk. As of February 1996, the committee is squarely
20753 * behind the fixed sized types; the "least" and "fast" types are still being
20754 * discussed. The probability that the "fast" types may be removed before
20755 * the standard is finalized is high enough that they are not currently
20756 * implemented.
20757 */
20758
20759 #if defined _STDINT_NEED_INT_LEAST_T
20760 typedef int8_t int_least8_t;
20761 typedef int16_t int_least16_t;
20762 typedef int32_t int_least32_t;
20763 #ifdef _HAVE_UINT64_T
20764 typedef int64_t int_least64_t;
20765 #endif
20766
20767 typedef uint8_t uint_least8_t;
20768 typedef uint16_t uint_least16_t;
20769 typedef uint32_t uint_least32_t;
20770 #ifdef _HAVE_UINT64_T
20771 typedef uint64_t uint_least64_t;
20772 #endif
20773 /* least types */
20774 #endif
20775
20776 #if defined _STDINT_NEED_INT_FAST_T
20777 typedef int8_t int_fast8_t;
20778 typedef int int_fast16_t;
20779 typedef int32_t int_fast32_t;
20780 #ifdef _HAVE_UINT64_T
20781 typedef int64_t int_fast64_t;
20782 #endif
20783
20784 typedef uint8_t uint_fast8_t;
20785 typedef unsigned uint_fast16_t;
20786 typedef uint32_t uint_fast32_t;
20787 #ifdef _HAVE_UINT64_T
20788 typedef uint64_t uint_fast64_t;
20789 #endif
20790 /* fast types */
20791 #endif
20792
20793 #ifdef _STDINT_NEED_INTMAX_T
20794 #ifdef _HAVE_UINT64_T
20795 typedef int64_t intmax_t;
20796 typedef uint64_t uintmax_t;
20797 #else
20798 typedef long intmax_t;
20799 typedef unsigned long uintmax_t;
20800 #endif
20801 #endif
20802
20803 #ifdef _STDINT_NEED_INTPTR_T
20804 #ifndef __intptr_t_defined
20805 #define __intptr_t_defined
20806 /* we encourage using "long" to store pointer values, never use "int" ! */
20807 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
20808 typedef unsigned int uintptr_t;
20809 typedef int intptr_t;
20810 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
20811 typedef unsigned long uintptr_t;
20812 typedef long intptr_t;
20813 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
20814 typedef uint64_t uintptr_t;
20815 typedef int64_t intptr_t;
20816 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
20817 typedef unsigned long uintptr_t;
20818 typedef long intptr_t;
20819 #endif
20820 #endif
20821 #endif
20822
20823 /* The ISO C99 standard specifies that in C++ implementations these
20824 should only be defined if explicitly requested. */
20825 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
20826 #ifndef UINT32_C
20827
20828 /* Signed. */
20829 # define INT8_C(c) c
20830 # define INT16_C(c) c
20831 # define INT32_C(c) c
20832 # ifdef _HAVE_LONGLONG_UINT64_T
20833 # define INT64_C(c) c ## L
20834 # else
20835 # define INT64_C(c) c ## LL
20836 # endif
20837
20838 /* Unsigned. */
20839 # define UINT8_C(c) c ## U
20840 # define UINT16_C(c) c ## U
20841 # define UINT32_C(c) c ## U
20842 # ifdef _HAVE_LONGLONG_UINT64_T
20843 # define UINT64_C(c) c ## UL
20844 # else
20845 # define UINT64_C(c) c ## ULL
20846 # endif
20847
20848 /* Maximal type. */
20849 # ifdef _HAVE_LONGLONG_UINT64_T
20850 # define INTMAX_C(c) c ## L
20851 # define UINTMAX_C(c) c ## UL
20852 # else
20853 # define INTMAX_C(c) c ## LL
20854 # define UINTMAX_C(c) c ## ULL
20855 # endif
20856
20857 /* literalnumbers */
20858 #endif
20859 #endif
20860
20861 /* These limits are merily those of a two complement byte-oriented system */
20862
20863 /* Minimum of signed integral types. */
20864 # define INT8_MIN (-128)
20865 # define INT16_MIN (-32767-1)
20866 # define INT32_MIN (-2147483647-1)
20867 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
20868 /* Maximum of signed integral types. */
20869 # define INT8_MAX (127)
20870 # define INT16_MAX (32767)
20871 # define INT32_MAX (2147483647)
20872 # define INT64_MAX (__INT64_C(9223372036854775807))
20873
20874 /* Maximum of unsigned integral types. */
20875 # define UINT8_MAX (255)
20876 # define UINT16_MAX (65535)
20877 # define UINT32_MAX (4294967295U)
20878 # define UINT64_MAX (__UINT64_C(18446744073709551615))
20879
20880 /* Minimum of signed integral types having a minimum size. */
20881 # define INT_LEAST8_MIN INT8_MIN
20882 # define INT_LEAST16_MIN INT16_MIN
20883 # define INT_LEAST32_MIN INT32_MIN
20884 # define INT_LEAST64_MIN INT64_MIN
20885 /* Maximum of signed integral types having a minimum size. */
20886 # define INT_LEAST8_MAX INT8_MAX
20887 # define INT_LEAST16_MAX INT16_MAX
20888 # define INT_LEAST32_MAX INT32_MAX
20889 # define INT_LEAST64_MAX INT64_MAX
20890
20891 /* Maximum of unsigned integral types having a minimum size. */
20892 # define UINT_LEAST8_MAX UINT8_MAX
20893 # define UINT_LEAST16_MAX UINT16_MAX
20894 # define UINT_LEAST32_MAX UINT32_MAX
20895 # define UINT_LEAST64_MAX UINT64_MAX
20896
20897 /* shortcircuit*/
20898 #endif
20899 /* once */
20900 #endif
20901 #endif
20902 STDINT_EOF
20903 fi
20904 if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then
20905 { echo "$as_me:$LINENO: $ac_stdint_h is unchanged" >&5
20906 echo "$as_me: $ac_stdint_h is unchanged" >&6;}
20907 else
20908 ac_dir=`$as_dirname -- "$ac_stdint_h" ||
20909 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20910 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
20911 X"$ac_stdint_h" : 'X\(//\)$' \| \
20912 X"$ac_stdint_h" : 'X\(/\)' \| . 2>/dev/null ||
20913 echo X"$ac_stdint_h" |
20914 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20915 s//\1/
20916 q
20917 }
20918 /^X\(\/\/\)[^/].*/{
20919 s//\1/
20920 q
20921 }
20922 /^X\(\/\/\)$/{
20923 s//\1/
20924 q
20925 }
20926 /^X\(\/\).*/{
20927 s//\1/
20928 q
20929 }
20930 s/.*/./; q'`
20931 { as_dir="$ac_dir"
20932 case $as_dir in #(
20933 -*) as_dir=./$as_dir;;
20934 esac
20935 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
20936 as_dirs=
20937 while :; do
20938 case $as_dir in #(
20939 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
20940 *) as_qdir=$as_dir;;
20941 esac
20942 as_dirs="'$as_qdir' $as_dirs"
20943 as_dir=`$as_dirname -- "$as_dir" ||
20944 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20945 X"$as_dir" : 'X\(//\)[^/]' \| \
20946 X"$as_dir" : 'X\(//\)$' \| \
20947 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20948 echo X"$as_dir" |
20949 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20950 s//\1/
20951 q
20952 }
20953 /^X\(\/\/\)[^/].*/{
20954 s//\1/
20955 q
20956 }
20957 /^X\(\/\/\)$/{
20958 s//\1/
20959 q
20960 }
20961 /^X\(\/\).*/{
20962 s//\1/
20963 q
20964 }
20965 s/.*/./; q'`
20966 test -d "$as_dir" && break
20967 done
20968 test -z "$as_dirs" || eval "mkdir $as_dirs"
20969 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
20970 echo "$as_me: error: cannot create directory $as_dir" >&2;}
20971 { (exit 1); exit 1; }; }; }
20972 rm -f $ac_stdint_h
20973 mv $ac_stdint $ac_stdint_h
20974 fi
20975 ;;
20976 "gen-classlist":C) chmod 755 lib/gen-classlist.sh ;;
20977 "copy-vmresources":C) chmod 755 lib/copy-vmresources.sh ;;
20978
20979 esac
20980 done # for ac_tag
20981
20982
20983 { (exit 0); exit 0; }
20984 _ACEOF
20985 chmod +x $CONFIG_STATUS
20986 ac_clean_files=$ac_clean_files_save
20987
20988
20989 # configure is writing to config.log, and then calls config.status.
20990 # config.status does its own redirection, appending to config.log.
20991 # Unfortunately, on DOS this fails, as config.log is still kept open
20992 # by configure, so config.status won't be able to write to it; its
20993 # output is simply discarded. So we exec the FD to /dev/null,
20994 # effectively closing config.log, so it can be properly (re)opened and
20995 # appended to by config.status. When coming back to configure, we
20996 # need to make the FD available again.
20997 if test "$no_create" != yes; then
20998 ac_cs_success=:
20999 ac_config_status_args=
21000 test "$silent" = yes &&
21001 ac_config_status_args="$ac_config_status_args --quiet"
21002 exec 5>/dev/null
21003 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21004 exec 5>>config.log
21005 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21006 # would make configure fail if this is the last instruction.
21007 $ac_cs_success || { (exit 1); exit 1; }
21008 fi
21009