source: trunk/icedtea-web/configure@ 405

Last change on this file since 405 was 348, checked in by dmik, 13 years ago

vendor: Add icedtea-web v1.1.2 to current.

  • Property svn:executable set to *
File size: 255.0 KB
Line 
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.68 for icedtea-web 1.1.2.
4#
5# Report bugs to <distro-pkg-dev@openjdk.java.net>.
6#
7#
8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10# Foundation, Inc.
11#
12#
13# This configure script is free software; the Free Software Foundation
14# gives unlimited permission to copy, distribute and modify it.
15## -------------------- ##
16## M4sh Initialization. ##
17## -------------------- ##
18
19# Be more Bourne compatible
20DUALCASE=1; export DUALCASE # for MKS sh
21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 emulate sh
23 NULLCMD=:
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
27 setopt NO_GLOB_SUBST
28else
29 case `(set -o) 2>/dev/null` in #(
30 *posix*) :
31 set -o posix ;; #(
32 *) :
33 ;;
34esac
35fi
36
37
38as_nl='
39'
40export as_nl
41# Printing a long string crashes Solaris 7 /usr/bin/printf.
42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45# Prefer a ksh shell builtin over an external printf program on Solaris,
46# but without wasting forks for bash or zsh.
47if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='print -r --'
50 as_echo_n='print -rn --'
51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52 as_echo='printf %s\n'
53 as_echo_n='printf %s'
54else
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
58 else
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 as_echo_n_body='eval
61 arg=$1;
62 case $arg in #(
63 *"$as_nl"*)
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 esac;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 '
69 export as_echo_n_body
70 as_echo_n='sh -c $as_echo_n_body as_echo'
71 fi
72 export as_echo_body
73 as_echo='sh -c $as_echo_body as_echo'
74fi
75
76# The user is always right.
77if test "${PATH_SEPARATOR+set}" != set; then
78 PATH_SEPARATOR=:
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 PATH_SEPARATOR=';'
82 }
83fi
84
85
86# IFS
87# We need space, tab and new line, in precisely that order. Quoting is
88# there to prevent editors from complaining about space-tab.
89# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90# splitting by setting IFS to empty value.)
91IFS=" "" $as_nl"
92
93# Find who we are. Look in the path if we contain no directory separator.
94as_myself=
95case $0 in #((
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98for as_dir in $PATH
99do
100 IFS=$as_save_IFS
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 done
104IFS=$as_save_IFS
105
106 ;;
107esac
108# We did not find ourselves, most probably we were run as `sh COMMAND'
109# in which case we are not to be found in the path.
110if test "x$as_myself" = x; then
111 as_myself=$0
112fi
113if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 exit 1
116fi
117
118# Unset variables that we do not need and which cause bugs (e.g. in
119# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120# suppresses any "Segmentation fault" message there. '((' could
121# trigger a bug in pdksh 5.2.14.
122for as_var in BASH_ENV ENV MAIL MAILPATH
123do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125done
126PS1='$ '
127PS2='> '
128PS4='+ '
129
130# NLS nuisances.
131LC_ALL=C
132export LC_ALL
133LANGUAGE=C
134export LANGUAGE
135
136# CDPATH.
137(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 emulate sh
142 NULLCMD=:
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 setopt NO_GLOB_SUBST
147else
148 case \`(set -o) 2>/dev/null\` in #(
149 *posix*) :
150 set -o posix ;; #(
151 *) :
152 ;;
153esac
154fi
155"
156 as_required="as_fn_return () { (exit \$1); }
157as_fn_success () { as_fn_return 0; }
158as_fn_failure () { as_fn_return 1; }
159as_fn_ret_success () { return 0; }
160as_fn_ret_failure () { return 1; }
161
162exitcode=0
163as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169else
170 exitcode=1; echo positional parameters were not saved.
171fi
172test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
178 as_have_required=yes
179else
180 as_have_required=no
181fi
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
184else
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186as_found=false
187for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188do
189 IFS=$as_save_IFS
190 test -z "$as_dir" && as_dir=.
191 as_found=:
192 case $as_dir in #(
193 /*)
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
201 break 2
202fi
203fi
204 done;;
205 esac
206 as_found=false
207done
208$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
211fi; }
212IFS=$as_save_IFS
213
214
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
219 # Preserve -v and -x to the replacement shell.
220 BASH_ENV=/dev/null
221 ENV=/dev/null
222 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223 export CONFIG_SHELL
224 case $- in # ((((
225 *v*x* | *x*v* ) as_opts=-vx ;;
226 *v* ) as_opts=-v ;;
227 *x* ) as_opts=-x ;;
228 * ) as_opts= ;;
229 esac
230 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
231fi
232
233 if test x$as_have_required = xno; then :
234 $as_echo "$0: This script requires a shell more modern than all"
235 $as_echo "$0: the shells that I found on your system."
236 if test x${ZSH_VERSION+set} = xset ; then
237 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
238 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
239 else
240 $as_echo "$0: Please tell bug-autoconf@gnu.org and
241$0: distro-pkg-dev@openjdk.java.net about your system,
242$0: including any error possibly output before this
243$0: message. Then install a modern shell, or manually run
244$0: the script under such a shell if you do have one."
245 fi
246 exit 1
247fi
248fi
249fi
250SHELL=${CONFIG_SHELL-/bin/sh}
251export SHELL
252# Unset more variables known to interfere with behavior of common tools.
253CLICOLOR_FORCE= GREP_OPTIONS=
254unset CLICOLOR_FORCE GREP_OPTIONS
255
256## --------------------- ##
257## M4sh Shell Functions. ##
258## --------------------- ##
259# as_fn_unset VAR
260# ---------------
261# Portably unset VAR.
262as_fn_unset ()
263{
264 { eval $1=; unset $1;}
265}
266as_unset=as_fn_unset
267
268# as_fn_set_status STATUS
269# -----------------------
270# Set $? to STATUS, without forking.
271as_fn_set_status ()
272{
273 return $1
274} # as_fn_set_status
275
276# as_fn_exit STATUS
277# -----------------
278# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
279as_fn_exit ()
280{
281 set +e
282 as_fn_set_status $1
283 exit $1
284} # as_fn_exit
285
286# as_fn_mkdir_p
287# -------------
288# Create "$as_dir" as a directory, including parents if necessary.
289as_fn_mkdir_p ()
290{
291
292 case $as_dir in #(
293 -*) as_dir=./$as_dir;;
294 esac
295 test -d "$as_dir" || eval $as_mkdir_p || {
296 as_dirs=
297 while :; do
298 case $as_dir in #(
299 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
300 *) as_qdir=$as_dir;;
301 esac
302 as_dirs="'$as_qdir' $as_dirs"
303 as_dir=`$as_dirname -- "$as_dir" ||
304$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
305 X"$as_dir" : 'X\(//\)[^/]' \| \
306 X"$as_dir" : 'X\(//\)$' \| \
307 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
308$as_echo X"$as_dir" |
309 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
310 s//\1/
311 q
312 }
313 /^X\(\/\/\)[^/].*/{
314 s//\1/
315 q
316 }
317 /^X\(\/\/\)$/{
318 s//\1/
319 q
320 }
321 /^X\(\/\).*/{
322 s//\1/
323 q
324 }
325 s/.*/./; q'`
326 test -d "$as_dir" && break
327 done
328 test -z "$as_dirs" || eval "mkdir $as_dirs"
329 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
330
331
332} # as_fn_mkdir_p
333# as_fn_append VAR VALUE
334# ----------------------
335# Append the text in VALUE to the end of the definition contained in VAR. Take
336# advantage of any shell optimizations that allow amortized linear growth over
337# repeated appends, instead of the typical quadratic growth present in naive
338# implementations.
339if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
340 eval 'as_fn_append ()
341 {
342 eval $1+=\$2
343 }'
344else
345 as_fn_append ()
346 {
347 eval $1=\$$1\$2
348 }
349fi # as_fn_append
350
351# as_fn_arith ARG...
352# ------------------
353# Perform arithmetic evaluation on the ARGs, and store the result in the
354# global $as_val. Take advantage of shells that can avoid forks. The arguments
355# must be portable across $(()) and expr.
356if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
357 eval 'as_fn_arith ()
358 {
359 as_val=$(( $* ))
360 }'
361else
362 as_fn_arith ()
363 {
364 as_val=`expr "$@" || test $? -eq 1`
365 }
366fi # as_fn_arith
367
368
369# as_fn_error STATUS ERROR [LINENO LOG_FD]
370# ----------------------------------------
371# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
372# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
373# script with STATUS, using 1 if that was 0.
374as_fn_error ()
375{
376 as_status=$1; test $as_status -eq 0 && as_status=1
377 if test "$4"; then
378 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
379 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
380 fi
381 $as_echo "$as_me: error: $2" >&2
382 as_fn_exit $as_status
383} # as_fn_error
384
385if expr a : '\(a\)' >/dev/null 2>&1 &&
386 test "X`expr 00001 : '.*\(...\)'`" = X001; then
387 as_expr=expr
388else
389 as_expr=false
390fi
391
392if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
393 as_basename=basename
394else
395 as_basename=false
396fi
397
398if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
399 as_dirname=dirname
400else
401 as_dirname=false
402fi
403
404as_me=`$as_basename -- "$0" ||
405$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
406 X"$0" : 'X\(//\)$' \| \
407 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
408$as_echo X/"$0" |
409 sed '/^.*\/\([^/][^/]*\)\/*$/{
410 s//\1/
411 q
412 }
413 /^X\/\(\/\/\)$/{
414 s//\1/
415 q
416 }
417 /^X\/\(\/\).*/{
418 s//\1/
419 q
420 }
421 s/.*/./; q'`
422
423# Avoid depending upon Character Ranges.
424as_cr_letters='abcdefghijklmnopqrstuvwxyz'
425as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
426as_cr_Letters=$as_cr_letters$as_cr_LETTERS
427as_cr_digits='0123456789'
428as_cr_alnum=$as_cr_Letters$as_cr_digits
429
430
431 as_lineno_1=$LINENO as_lineno_1a=$LINENO
432 as_lineno_2=$LINENO as_lineno_2a=$LINENO
433 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
434 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
435 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
436 sed -n '
437 p
438 /[$]LINENO/=
439 ' <$as_myself |
440 sed '
441 s/[$]LINENO.*/&-/
442 t lineno
443 b
444 :lineno
445 N
446 :loop
447 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
448 t loop
449 s/-\n.*//
450 ' >$as_me.lineno &&
451 chmod +x "$as_me.lineno" ||
452 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
453
454 # Don't try to exec as it changes $[0], causing all sort of problems
455 # (the dirname of $[0] is not the place where we might find the
456 # original and so on. Autoconf is especially sensitive to this).
457 . "./$as_me.lineno"
458 # Exit status is that of the last command.
459 exit
460}
461
462ECHO_C= ECHO_N= ECHO_T=
463case `echo -n x` in #(((((
464-n*)
465 case `echo 'xy\c'` in
466 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
467 xy) ECHO_C='\c';;
468 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
469 ECHO_T=' ';;
470 esac;;
471*)
472 ECHO_N='-n';;
473esac
474
475rm -f conf$$ conf$$.exe conf$$.file
476if test -d conf$$.dir; then
477 rm -f conf$$.dir/conf$$.file
478else
479 rm -f conf$$.dir
480 mkdir conf$$.dir 2>/dev/null
481fi
482if (echo >conf$$.file) 2>/dev/null; then
483 if ln -s conf$$.file conf$$ 2>/dev/null; then
484 as_ln_s='ln -s'
485 # ... but there are two gotchas:
486 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
487 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
488 # In both cases, we have to default to `cp -p'.
489 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
490 as_ln_s='cp -p'
491 elif ln conf$$.file conf$$ 2>/dev/null; then
492 as_ln_s=ln
493 else
494 as_ln_s='cp -p'
495 fi
496else
497 as_ln_s='cp -p'
498fi
499rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
500rmdir conf$$.dir 2>/dev/null
501
502if mkdir -p . 2>/dev/null; then
503 as_mkdir_p='mkdir -p "$as_dir"'
504else
505 test -d ./-p && rmdir ./-p
506 as_mkdir_p=false
507fi
508
509if test -x / >/dev/null 2>&1; then
510 as_test_x='test -x'
511else
512 if ls -dL / >/dev/null 2>&1; then
513 as_ls_L_option=L
514 else
515 as_ls_L_option=
516 fi
517 as_test_x='
518 eval sh -c '\''
519 if test -d "$1"; then
520 test -d "$1/.";
521 else
522 case $1 in #(
523 -*)set "./$1";;
524 esac;
525 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
526 ???[sx]*):;;*)false;;esac;fi
527 '\'' sh
528 '
529fi
530as_executable_p=$as_test_x
531
532# Sed expression to map a string onto a valid CPP name.
533as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
534
535# Sed expression to map a string onto a valid variable name.
536as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537
538
539test -n "$DJDIR" || exec 7<&0 </dev/null
540exec 6>&1
541
542# Name of the host.
543# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
544# so uname gets run too.
545ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
546
547#
548# Initializations.
549#
550ac_default_prefix=/usr/local
551ac_clean_files=
552ac_config_libobj_dir=.
553LIBOBJS=
554cross_compiling=no
555subdirs=
556MFLAGS=
557MAKEFLAGS=
558
559# Identity of this package.
560PACKAGE_NAME='icedtea-web'
561PACKAGE_TARNAME='icedtea-web'
562PACKAGE_VERSION='1.1.2'
563PACKAGE_STRING='icedtea-web 1.1.2'
564PACKAGE_BUGREPORT='distro-pkg-dev@openjdk.java.net'
565PACKAGE_URL='http://icedtea.classpath.org/wiki/IcedTea-Web'
566
567ac_subst_vars='am__EXEEXT_FALSE
568am__EXEEXT_TRUE
569LTLIBOBJS
570LIBOBJS
571JUNIT_AVAILABLE
572JUNIT_JAR
573WITH_JUNIT_FALSE
574WITH_JUNIT_TRUE
575RHINO_AVAILABLE
576RHINO_JAR
577WITH_RHINO_FALSE
578WITH_RHINO_TRUE
579JAVA
580SYSTEM_JRE_DIR
581X11_LIBS
582X11_CFLAGS
583MOZILLA_VERSION_COLLAPSED
584ENABLE_PLUGIN_FALSE
585ENABLE_PLUGIN_TRUE
586MOZILLA_LIBS
587MOZILLA_CFLAGS
588GLIB_LIBS
589GLIB_CFLAGS
590GTK_LIBS
591GTK_CFLAGS
592PKG_CONFIG_LIBDIR
593PKG_CONFIG_PATH
594PKG_CONFIG
595FULL_VERSION
596PKGVERSION
597HAS_PKGVERSION_FALSE
598HAS_PKGVERSION_TRUE
599HAS_ICEDTEA_REVISION_FALSE
600HAS_ICEDTEA_REVISION_TRUE
601ICEDTEA_REVISION
602HG
603JAVADOC_SUPPORTS_J_OPTIONS_FALSE
604JAVADOC_SUPPORTS_J_OPTIONS_TRUE
605JAVADOC_KNOWS_J_OPTIONS
606JAVADOC
607ECJ_JAR
608JAR_KNOWS_J_OPTIONS
609JAR_ACCEPTS_STDIN_LIST
610JAR_KNOWS_ATFILE
611JAR
612USING_ECJ
613ECJ
614JAVAC
615SYSTEM_JDK_DIR
616ZIP
617GCJ
618ENABLE_DOCS_FALSE
619ENABLE_DOCS_TRUE
620SRC_DIR_HARDLINKABLE_FALSE
621SRC_DIR_HARDLINKABLE_TRUE
622CP_SUPPORTS_REFLINK_FALSE
623CP_SUPPORTS_REFLINK_TRUE
624ARCHFLAG
625ARCH_PREFIX
626JRE_ARCH_DIR
627INSTALL_ARCH_DIR
628BUILD_ARCH_DIR
629am__fastdepCXX_FALSE
630am__fastdepCXX_TRUE
631CXXDEPMODE
632ac_ct_CXX
633CXXFLAGS
634CXX
635am__fastdepCC_FALSE
636am__fastdepCC_TRUE
637CCDEPMODE
638AMDEPBACKSLASH
639AMDEP_FALSE
640AMDEP_TRUE
641am__quote
642am__include
643DEPDIR
644OBJEXT
645EXEEXT
646ac_ct_CC
647CPPFLAGS
648LDFLAGS
649CFLAGS
650CC
651host_os
652host_vendor
653host_cpu
654host
655build_os
656build_vendor
657build_cpu
658build
659abs_top_srcdir
660abs_top_builddir
661am__untar
662am__tar
663AMTAR
664am__leading_dot
665SET_MAKE
666AWK
667mkdir_p
668MKDIR_P
669INSTALL_STRIP_PROGRAM
670STRIP
671install_sh
672MAKEINFO
673AUTOHEADER
674AUTOMAKE
675AUTOCONF
676ACLOCAL
677VERSION
678PACKAGE
679CYGPATH_W
680am__isrc
681INSTALL_DATA
682INSTALL_SCRIPT
683INSTALL_PROGRAM
684target_alias
685host_alias
686build_alias
687LIBS
688ECHO_T
689ECHO_N
690ECHO_C
691DEFS
692mandir
693localedir
694libdir
695psdir
696pdfdir
697dvidir
698htmldir
699infodir
700docdir
701oldincludedir
702includedir
703localstatedir
704sharedstatedir
705sysconfdir
706datadir
707datarootdir
708libexecdir
709sbindir
710bindir
711program_transform_name
712prefix
713exec_prefix
714PACKAGE_URL
715PACKAGE_BUGREPORT
716PACKAGE_STRING
717PACKAGE_VERSION
718PACKAGE_TARNAME
719PACKAGE_NAME
720PATH_SEPARATOR
721SHELL'
722ac_subst_files=''
723ac_user_opts='
724enable_option_checking
725enable_dependency_tracking
726enable_docs
727with_gcj
728with_jdk_home
729with_javac
730with_ecj
731with_jar
732with_ecj_jar
733with_javadoc
734with_pkgversion
735enable_plugin
736with_jre_home
737with_java
738with_rhino
739with_junit
740'
741 ac_precious_vars='build_alias
742host_alias
743target_alias
744CC
745CFLAGS
746LDFLAGS
747LIBS
748CPPFLAGS
749CXX
750CXXFLAGS
751CCC
752PKG_CONFIG
753PKG_CONFIG_PATH
754PKG_CONFIG_LIBDIR
755GTK_CFLAGS
756GTK_LIBS
757GLIB_CFLAGS
758GLIB_LIBS
759MOZILLA_CFLAGS
760MOZILLA_LIBS
761X11_CFLAGS
762X11_LIBS'
763
764
765# Initialize some variables set by options.
766ac_init_help=
767ac_init_version=false
768ac_unrecognized_opts=
769ac_unrecognized_sep=
770# The variables have the same names as the options, with
771# dashes changed to underlines.
772cache_file=/dev/null
773exec_prefix=NONE
774no_create=
775no_recursion=
776prefix=NONE
777program_prefix=NONE
778program_suffix=NONE
779program_transform_name=s,x,x,
780silent=
781site=
782srcdir=
783verbose=
784x_includes=NONE
785x_libraries=NONE
786
787# Installation directory options.
788# These are left unexpanded so users can "make install exec_prefix=/foo"
789# and all the variables that are supposed to be based on exec_prefix
790# by default will actually change.
791# Use braces instead of parens because sh, perl, etc. also accept them.
792# (The list follows the same order as the GNU Coding Standards.)
793bindir='${exec_prefix}/bin'
794sbindir='${exec_prefix}/sbin'
795libexecdir='${exec_prefix}/libexec'
796datarootdir='${prefix}/share'
797datadir='${datarootdir}'
798sysconfdir='${prefix}/etc'
799sharedstatedir='${prefix}/com'
800localstatedir='${prefix}/var'
801includedir='${prefix}/include'
802oldincludedir='/usr/include'
803docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
804infodir='${datarootdir}/info'
805htmldir='${docdir}'
806dvidir='${docdir}'
807pdfdir='${docdir}'
808psdir='${docdir}'
809libdir='${exec_prefix}/lib'
810localedir='${datarootdir}/locale'
811mandir='${datarootdir}/man'
812
813ac_prev=
814ac_dashdash=
815for ac_option
816do
817 # If the previous option needs an argument, assign it.
818 if test -n "$ac_prev"; then
819 eval $ac_prev=\$ac_option
820 ac_prev=
821 continue
822 fi
823
824 case $ac_option in
825 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
826 *=) ac_optarg= ;;
827 *) ac_optarg=yes ;;
828 esac
829
830 # Accept the important Cygnus configure options, so we can diagnose typos.
831
832 case $ac_dashdash$ac_option in
833 --)
834 ac_dashdash=yes ;;
835
836 -bindir | --bindir | --bindi | --bind | --bin | --bi)
837 ac_prev=bindir ;;
838 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
839 bindir=$ac_optarg ;;
840
841 -build | --build | --buil | --bui | --bu)
842 ac_prev=build_alias ;;
843 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
844 build_alias=$ac_optarg ;;
845
846 -cache-file | --cache-file | --cache-fil | --cache-fi \
847 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
848 ac_prev=cache_file ;;
849 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
850 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
851 cache_file=$ac_optarg ;;
852
853 --config-cache | -C)
854 cache_file=config.cache ;;
855
856 -datadir | --datadir | --datadi | --datad)
857 ac_prev=datadir ;;
858 -datadir=* | --datadir=* | --datadi=* | --datad=*)
859 datadir=$ac_optarg ;;
860
861 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
862 | --dataroo | --dataro | --datar)
863 ac_prev=datarootdir ;;
864 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
865 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
866 datarootdir=$ac_optarg ;;
867
868 -disable-* | --disable-*)
869 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
870 # Reject names that are not valid shell variable names.
871 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
872 as_fn_error $? "invalid feature name: $ac_useropt"
873 ac_useropt_orig=$ac_useropt
874 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
875 case $ac_user_opts in
876 *"
877"enable_$ac_useropt"
878"*) ;;
879 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
880 ac_unrecognized_sep=', ';;
881 esac
882 eval enable_$ac_useropt=no ;;
883
884 -docdir | --docdir | --docdi | --doc | --do)
885 ac_prev=docdir ;;
886 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
887 docdir=$ac_optarg ;;
888
889 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
890 ac_prev=dvidir ;;
891 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
892 dvidir=$ac_optarg ;;
893
894 -enable-* | --enable-*)
895 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
896 # Reject names that are not valid shell variable names.
897 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
898 as_fn_error $? "invalid feature name: $ac_useropt"
899 ac_useropt_orig=$ac_useropt
900 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
901 case $ac_user_opts in
902 *"
903"enable_$ac_useropt"
904"*) ;;
905 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
906 ac_unrecognized_sep=', ';;
907 esac
908 eval enable_$ac_useropt=\$ac_optarg ;;
909
910 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
911 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
912 | --exec | --exe | --ex)
913 ac_prev=exec_prefix ;;
914 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
915 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
916 | --exec=* | --exe=* | --ex=*)
917 exec_prefix=$ac_optarg ;;
918
919 -gas | --gas | --ga | --g)
920 # Obsolete; use --with-gas.
921 with_gas=yes ;;
922
923 -help | --help | --hel | --he | -h)
924 ac_init_help=long ;;
925 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
926 ac_init_help=recursive ;;
927 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
928 ac_init_help=short ;;
929
930 -host | --host | --hos | --ho)
931 ac_prev=host_alias ;;
932 -host=* | --host=* | --hos=* | --ho=*)
933 host_alias=$ac_optarg ;;
934
935 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
936 ac_prev=htmldir ;;
937 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
938 | --ht=*)
939 htmldir=$ac_optarg ;;
940
941 -includedir | --includedir | --includedi | --included | --include \
942 | --includ | --inclu | --incl | --inc)
943 ac_prev=includedir ;;
944 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
945 | --includ=* | --inclu=* | --incl=* | --inc=*)
946 includedir=$ac_optarg ;;
947
948 -infodir | --infodir | --infodi | --infod | --info | --inf)
949 ac_prev=infodir ;;
950 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
951 infodir=$ac_optarg ;;
952
953 -libdir | --libdir | --libdi | --libd)
954 ac_prev=libdir ;;
955 -libdir=* | --libdir=* | --libdi=* | --libd=*)
956 libdir=$ac_optarg ;;
957
958 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
959 | --libexe | --libex | --libe)
960 ac_prev=libexecdir ;;
961 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
962 | --libexe=* | --libex=* | --libe=*)
963 libexecdir=$ac_optarg ;;
964
965 -localedir | --localedir | --localedi | --localed | --locale)
966 ac_prev=localedir ;;
967 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
968 localedir=$ac_optarg ;;
969
970 -localstatedir | --localstatedir | --localstatedi | --localstated \
971 | --localstate | --localstat | --localsta | --localst | --locals)
972 ac_prev=localstatedir ;;
973 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
974 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
975 localstatedir=$ac_optarg ;;
976
977 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
978 ac_prev=mandir ;;
979 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
980 mandir=$ac_optarg ;;
981
982 -nfp | --nfp | --nf)
983 # Obsolete; use --without-fp.
984 with_fp=no ;;
985
986 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
987 | --no-cr | --no-c | -n)
988 no_create=yes ;;
989
990 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
991 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
992 no_recursion=yes ;;
993
994 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
995 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
996 | --oldin | --oldi | --old | --ol | --o)
997 ac_prev=oldincludedir ;;
998 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
999 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1000 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1001 oldincludedir=$ac_optarg ;;
1002
1003 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1004 ac_prev=prefix ;;
1005 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1006 prefix=$ac_optarg ;;
1007
1008 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1009 | --program-pre | --program-pr | --program-p)
1010 ac_prev=program_prefix ;;
1011 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1012 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1013 program_prefix=$ac_optarg ;;
1014
1015 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1016 | --program-suf | --program-su | --program-s)
1017 ac_prev=program_suffix ;;
1018 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1019 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1020 program_suffix=$ac_optarg ;;
1021
1022 -program-transform-name | --program-transform-name \
1023 | --program-transform-nam | --program-transform-na \
1024 | --program-transform-n | --program-transform- \
1025 | --program-transform | --program-transfor \
1026 | --program-transfo | --program-transf \
1027 | --program-trans | --program-tran \
1028 | --progr-tra | --program-tr | --program-t)
1029 ac_prev=program_transform_name ;;
1030 -program-transform-name=* | --program-transform-name=* \
1031 | --program-transform-nam=* | --program-transform-na=* \
1032 | --program-transform-n=* | --program-transform-=* \
1033 | --program-transform=* | --program-transfor=* \
1034 | --program-transfo=* | --program-transf=* \
1035 | --program-trans=* | --program-tran=* \
1036 | --progr-tra=* | --program-tr=* | --program-t=*)
1037 program_transform_name=$ac_optarg ;;
1038
1039 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1040 ac_prev=pdfdir ;;
1041 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1042 pdfdir=$ac_optarg ;;
1043
1044 -psdir | --psdir | --psdi | --psd | --ps)
1045 ac_prev=psdir ;;
1046 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1047 psdir=$ac_optarg ;;
1048
1049 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1050 | -silent | --silent | --silen | --sile | --sil)
1051 silent=yes ;;
1052
1053 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1054 ac_prev=sbindir ;;
1055 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1056 | --sbi=* | --sb=*)
1057 sbindir=$ac_optarg ;;
1058
1059 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1060 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1061 | --sharedst | --shareds | --shared | --share | --shar \
1062 | --sha | --sh)
1063 ac_prev=sharedstatedir ;;
1064 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1065 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1066 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1067 | --sha=* | --sh=*)
1068 sharedstatedir=$ac_optarg ;;
1069
1070 -site | --site | --sit)
1071 ac_prev=site ;;
1072 -site=* | --site=* | --sit=*)
1073 site=$ac_optarg ;;
1074
1075 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1076 ac_prev=srcdir ;;
1077 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1078 srcdir=$ac_optarg ;;
1079
1080 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1081 | --syscon | --sysco | --sysc | --sys | --sy)
1082 ac_prev=sysconfdir ;;
1083 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1084 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1085 sysconfdir=$ac_optarg ;;
1086
1087 -target | --target | --targe | --targ | --tar | --ta | --t)
1088 ac_prev=target_alias ;;
1089 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1090 target_alias=$ac_optarg ;;
1091
1092 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1093 verbose=yes ;;
1094
1095 -version | --version | --versio | --versi | --vers | -V)
1096 ac_init_version=: ;;
1097
1098 -with-* | --with-*)
1099 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1100 # Reject names that are not valid shell variable names.
1101 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1102 as_fn_error $? "invalid package name: $ac_useropt"
1103 ac_useropt_orig=$ac_useropt
1104 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1105 case $ac_user_opts in
1106 *"
1107"with_$ac_useropt"
1108"*) ;;
1109 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1110 ac_unrecognized_sep=', ';;
1111 esac
1112 eval with_$ac_useropt=\$ac_optarg ;;
1113
1114 -without-* | --without-*)
1115 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1116 # Reject names that are not valid shell variable names.
1117 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1118 as_fn_error $? "invalid package name: $ac_useropt"
1119 ac_useropt_orig=$ac_useropt
1120 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1121 case $ac_user_opts in
1122 *"
1123"with_$ac_useropt"
1124"*) ;;
1125 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1126 ac_unrecognized_sep=', ';;
1127 esac
1128 eval with_$ac_useropt=no ;;
1129
1130 --x)
1131 # Obsolete; use --with-x.
1132 with_x=yes ;;
1133
1134 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1135 | --x-incl | --x-inc | --x-in | --x-i)
1136 ac_prev=x_includes ;;
1137 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1138 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1139 x_includes=$ac_optarg ;;
1140
1141 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1142 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1143 ac_prev=x_libraries ;;
1144 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1145 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1146 x_libraries=$ac_optarg ;;
1147
1148 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1149Try \`$0 --help' for more information"
1150 ;;
1151
1152 *=*)
1153 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1154 # Reject names that are not valid shell variable names.
1155 case $ac_envvar in #(
1156 '' | [0-9]* | *[!_$as_cr_alnum]* )
1157 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1158 esac
1159 eval $ac_envvar=\$ac_optarg
1160 export $ac_envvar ;;
1161
1162 *)
1163 # FIXME: should be removed in autoconf 3.0.
1164 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1165 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1166 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1167 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1168 ;;
1169
1170 esac
1171done
1172
1173if test -n "$ac_prev"; then
1174 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1175 as_fn_error $? "missing argument to $ac_option"
1176fi
1177
1178if test -n "$ac_unrecognized_opts"; then
1179 case $enable_option_checking in
1180 no) ;;
1181 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1182 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1183 esac
1184fi
1185
1186# Check all directory arguments for consistency.
1187for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1188 datadir sysconfdir sharedstatedir localstatedir includedir \
1189 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1190 libdir localedir mandir
1191do
1192 eval ac_val=\$$ac_var
1193 # Remove trailing slashes.
1194 case $ac_val in
1195 */ )
1196 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1197 eval $ac_var=\$ac_val;;
1198 esac
1199 # Be sure to have absolute directory names.
1200 case $ac_val in
1201 [\\/$]* | ?:[\\/]* ) continue;;
1202 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1203 esac
1204 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1205done
1206
1207# There might be people who depend on the old broken behavior: `$host'
1208# used to hold the argument of --host etc.
1209# FIXME: To remove some day.
1210build=$build_alias
1211host=$host_alias
1212target=$target_alias
1213
1214# FIXME: To remove some day.
1215if test "x$host_alias" != x; then
1216 if test "x$build_alias" = x; then
1217 cross_compiling=maybe
1218 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1219 If a cross compiler is detected then cross compile mode will be used" >&2
1220 elif test "x$build_alias" != "x$host_alias"; then
1221 cross_compiling=yes
1222 fi
1223fi
1224
1225ac_tool_prefix=
1226test -n "$host_alias" && ac_tool_prefix=$host_alias-
1227
1228test "$silent" = yes && exec 6>/dev/null
1229
1230
1231ac_pwd=`pwd` && test -n "$ac_pwd" &&
1232ac_ls_di=`ls -di .` &&
1233ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1234 as_fn_error $? "working directory cannot be determined"
1235test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1236 as_fn_error $? "pwd does not report name of working directory"
1237
1238
1239# Find the source files, if location was not specified.
1240if test -z "$srcdir"; then
1241 ac_srcdir_defaulted=yes
1242 # Try the directory containing this script, then the parent directory.
1243 ac_confdir=`$as_dirname -- "$as_myself" ||
1244$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1245 X"$as_myself" : 'X\(//\)[^/]' \| \
1246 X"$as_myself" : 'X\(//\)$' \| \
1247 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1248$as_echo X"$as_myself" |
1249 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1250 s//\1/
1251 q
1252 }
1253 /^X\(\/\/\)[^/].*/{
1254 s//\1/
1255 q
1256 }
1257 /^X\(\/\/\)$/{
1258 s//\1/
1259 q
1260 }
1261 /^X\(\/\).*/{
1262 s//\1/
1263 q
1264 }
1265 s/.*/./; q'`
1266 srcdir=$ac_confdir
1267 if test ! -r "$srcdir/$ac_unique_file"; then
1268 srcdir=..
1269 fi
1270else
1271 ac_srcdir_defaulted=no
1272fi
1273if test ! -r "$srcdir/$ac_unique_file"; then
1274 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1275 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1276fi
1277ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1278ac_abs_confdir=`(
1279 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1280 pwd)`
1281# When building in place, set srcdir=.
1282if test "$ac_abs_confdir" = "$ac_pwd"; then
1283 srcdir=.
1284fi
1285# Remove unnecessary trailing slashes from srcdir.
1286# Double slashes in file names in object file debugging info
1287# mess up M-x gdb in Emacs.
1288case $srcdir in
1289*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1290esac
1291for ac_var in $ac_precious_vars; do
1292 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1293 eval ac_env_${ac_var}_value=\$${ac_var}
1294 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1295 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1296done
1297
1298#
1299# Report the --help message.
1300#
1301if test "$ac_init_help" = "long"; then
1302 # Omit some internal or obsolete options to make the list less imposing.
1303 # This message is too long to be a string in the A/UX 3.1 sh.
1304 cat <<_ACEOF
1305\`configure' configures icedtea-web 1.1.2 to adapt to many kinds of systems.
1306
1307Usage: $0 [OPTION]... [VAR=VALUE]...
1308
1309To assign environment variables (e.g., CC, CFLAGS...), specify them as
1310VAR=VALUE. See below for descriptions of some of the useful variables.
1311
1312Defaults for the options are specified in brackets.
1313
1314Configuration:
1315 -h, --help display this help and exit
1316 --help=short display options specific to this package
1317 --help=recursive display the short help of all the included packages
1318 -V, --version display version information and exit
1319 -q, --quiet, --silent do not print \`checking ...' messages
1320 --cache-file=FILE cache test results in FILE [disabled]
1321 -C, --config-cache alias for \`--cache-file=config.cache'
1322 -n, --no-create do not create output files
1323 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1324
1325Installation directories:
1326 --prefix=PREFIX install architecture-independent files in PREFIX
1327 [$ac_default_prefix]
1328 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1329 [PREFIX]
1330
1331By default, \`make install' will install all the files in
1332\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1333an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1334for instance \`--prefix=\$HOME'.
1335
1336For better control, use the options below.
1337
1338Fine tuning of the installation directories:
1339 --bindir=DIR user executables [EPREFIX/bin]
1340 --sbindir=DIR system admin executables [EPREFIX/sbin]
1341 --libexecdir=DIR program executables [EPREFIX/libexec]
1342 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1343 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1344 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1345 --libdir=DIR object code libraries [EPREFIX/lib]
1346 --includedir=DIR C header files [PREFIX/include]
1347 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1348 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1349 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1350 --infodir=DIR info documentation [DATAROOTDIR/info]
1351 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1352 --mandir=DIR man documentation [DATAROOTDIR/man]
1353 --docdir=DIR documentation root [DATAROOTDIR/doc/icedtea-web]
1354 --htmldir=DIR html documentation [DOCDIR]
1355 --dvidir=DIR dvi documentation [DOCDIR]
1356 --pdfdir=DIR pdf documentation [DOCDIR]
1357 --psdir=DIR ps documentation [DOCDIR]
1358_ACEOF
1359
1360 cat <<\_ACEOF
1361
1362Program names:
1363 --program-prefix=PREFIX prepend PREFIX to installed program names
1364 --program-suffix=SUFFIX append SUFFIX to installed program names
1365 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1366
1367System types:
1368 --build=BUILD configure for building on BUILD [guessed]
1369 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1370_ACEOF
1371fi
1372
1373if test -n "$ac_init_help"; then
1374 case $ac_init_help in
1375 short | recursive ) echo "Configuration of icedtea-web 1.1.2:";;
1376 esac
1377 cat <<\_ACEOF
1378
1379Optional Features:
1380 --disable-option-checking ignore unrecognized --enable/--with options
1381 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1382 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1383 --disable-dependency-tracking speeds up one-time build
1384 --enable-dependency-tracking do not reject slow dependency extractors
1385 --disable-docs Disable generation of documentation
1386 --disable-plugin Disable compilation of browser plugin
1387
1388Optional Packages:
1389 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1390 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1391 --with-gcj location of gcj for natively compiling ecj
1392 --with-jdk-home jdk home directory (default is first predefined JDK
1393 found)
1394 --with-javac bytecode compilation with javac
1395 --with-ecj bytecode compilation with ecj
1396 --with-jar specify location of Java archive tool (jar)
1397 --with-ecj-jar specify location of the ECJ jar
1398 --with-javadoc specify location of Java documentation tool
1399 (javadoc)
1400 --with-pkgversion=PKG Use PKG in the version string in addition to
1401 "IcedTea"
1402 --with-jre-home jre home directory (default is the JRE under the
1403 JDK)
1404 --with-java specify location of the 1.5 java vm
1405 --with-rhino specify location of the rhino jar
1406 --with-junit specify location of the junit jar
1407
1408Some influential environment variables:
1409 CC C compiler command
1410 CFLAGS C compiler flags
1411 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1412 nonstandard directory <lib dir>
1413 LIBS libraries to pass to the linker, e.g. -l<library>
1414 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1415 you have headers in a nonstandard directory <include dir>
1416 CXX C++ compiler command
1417 CXXFLAGS C++ compiler flags
1418 PKG_CONFIG path to pkg-config utility
1419 PKG_CONFIG_PATH
1420 directories to add to pkg-config's search path
1421 PKG_CONFIG_LIBDIR
1422 path overriding pkg-config's built-in search path
1423 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1424 GTK_LIBS linker flags for GTK, overriding pkg-config
1425 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1426 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1427 MOZILLA_CFLAGS
1428 C compiler flags for MOZILLA, overriding pkg-config
1429 MOZILLA_LIBS
1430 linker flags for MOZILLA, overriding pkg-config
1431 X11_CFLAGS C compiler flags for X11, overriding pkg-config
1432 X11_LIBS linker flags for X11, overriding pkg-config
1433
1434Use these variables to override the choices made by `configure' or to help
1435it to find libraries and programs with nonstandard names/locations.
1436
1437Report bugs to <distro-pkg-dev@openjdk.java.net>.
1438icedtea-web home page: <http://icedtea.classpath.org/wiki/IcedTea-Web>.
1439_ACEOF
1440ac_status=$?
1441fi
1442
1443if test "$ac_init_help" = "recursive"; then
1444 # If there are subdirs, report their specific --help.
1445 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1446 test -d "$ac_dir" ||
1447 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1448 continue
1449 ac_builddir=.
1450
1451case "$ac_dir" in
1452.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1453*)
1454 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1455 # A ".." for each directory in $ac_dir_suffix.
1456 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1457 case $ac_top_builddir_sub in
1458 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1459 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1460 esac ;;
1461esac
1462ac_abs_top_builddir=$ac_pwd
1463ac_abs_builddir=$ac_pwd$ac_dir_suffix
1464# for backward compatibility:
1465ac_top_builddir=$ac_top_build_prefix
1466
1467case $srcdir in
1468 .) # We are building in place.
1469 ac_srcdir=.
1470 ac_top_srcdir=$ac_top_builddir_sub
1471 ac_abs_top_srcdir=$ac_pwd ;;
1472 [\\/]* | ?:[\\/]* ) # Absolute name.
1473 ac_srcdir=$srcdir$ac_dir_suffix;
1474 ac_top_srcdir=$srcdir
1475 ac_abs_top_srcdir=$srcdir ;;
1476 *) # Relative name.
1477 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1478 ac_top_srcdir=$ac_top_build_prefix$srcdir
1479 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1480esac
1481ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1482
1483 cd "$ac_dir" || { ac_status=$?; continue; }
1484 # Check for guested configure.
1485 if test -f "$ac_srcdir/configure.gnu"; then
1486 echo &&
1487 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1488 elif test -f "$ac_srcdir/configure"; then
1489 echo &&
1490 $SHELL "$ac_srcdir/configure" --help=recursive
1491 else
1492 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1493 fi || ac_status=$?
1494 cd "$ac_pwd" || { ac_status=$?; break; }
1495 done
1496fi
1497
1498test -n "$ac_init_help" && exit $ac_status
1499if $ac_init_version; then
1500 cat <<\_ACEOF
1501icedtea-web configure 1.1.2
1502generated by GNU Autoconf 2.68
1503
1504Copyright (C) 2010 Free Software Foundation, Inc.
1505This configure script is free software; the Free Software Foundation
1506gives unlimited permission to copy, distribute and modify it.
1507_ACEOF
1508 exit
1509fi
1510
1511## ------------------------ ##
1512## Autoconf initialization. ##
1513## ------------------------ ##
1514
1515# ac_fn_c_try_compile LINENO
1516# --------------------------
1517# Try to compile conftest.$ac_ext, and return whether this succeeded.
1518ac_fn_c_try_compile ()
1519{
1520 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1521 rm -f conftest.$ac_objext
1522 if { { ac_try="$ac_compile"
1523case "(($ac_try" in
1524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1525 *) ac_try_echo=$ac_try;;
1526esac
1527eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1528$as_echo "$ac_try_echo"; } >&5
1529 (eval "$ac_compile") 2>conftest.err
1530 ac_status=$?
1531 if test -s conftest.err; then
1532 grep -v '^ *+' conftest.err >conftest.er1
1533 cat conftest.er1 >&5
1534 mv -f conftest.er1 conftest.err
1535 fi
1536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1537 test $ac_status = 0; } && {
1538 test -z "$ac_c_werror_flag" ||
1539 test ! -s conftest.err
1540 } && test -s conftest.$ac_objext; then :
1541 ac_retval=0
1542else
1543 $as_echo "$as_me: failed program was:" >&5
1544sed 's/^/| /' conftest.$ac_ext >&5
1545
1546 ac_retval=1
1547fi
1548 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1549 as_fn_set_status $ac_retval
1550
1551} # ac_fn_c_try_compile
1552
1553# ac_fn_cxx_try_compile LINENO
1554# ----------------------------
1555# Try to compile conftest.$ac_ext, and return whether this succeeded.
1556ac_fn_cxx_try_compile ()
1557{
1558 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1559 rm -f conftest.$ac_objext
1560 if { { ac_try="$ac_compile"
1561case "(($ac_try" in
1562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1563 *) ac_try_echo=$ac_try;;
1564esac
1565eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1566$as_echo "$ac_try_echo"; } >&5
1567 (eval "$ac_compile") 2>conftest.err
1568 ac_status=$?
1569 if test -s conftest.err; then
1570 grep -v '^ *+' conftest.err >conftest.er1
1571 cat conftest.er1 >&5
1572 mv -f conftest.er1 conftest.err
1573 fi
1574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1575 test $ac_status = 0; } && {
1576 test -z "$ac_cxx_werror_flag" ||
1577 test ! -s conftest.err
1578 } && test -s conftest.$ac_objext; then :
1579 ac_retval=0
1580else
1581 $as_echo "$as_me: failed program was:" >&5
1582sed 's/^/| /' conftest.$ac_ext >&5
1583
1584 ac_retval=1
1585fi
1586 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1587 as_fn_set_status $ac_retval
1588
1589} # ac_fn_cxx_try_compile
1590
1591# ac_fn_c_try_link LINENO
1592# -----------------------
1593# Try to link conftest.$ac_ext, and return whether this succeeded.
1594ac_fn_c_try_link ()
1595{
1596 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1597 rm -f conftest.$ac_objext conftest$ac_exeext
1598 if { { ac_try="$ac_link"
1599case "(($ac_try" in
1600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1601 *) ac_try_echo=$ac_try;;
1602esac
1603eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1604$as_echo "$ac_try_echo"; } >&5
1605 (eval "$ac_link") 2>conftest.err
1606 ac_status=$?
1607 if test -s conftest.err; then
1608 grep -v '^ *+' conftest.err >conftest.er1
1609 cat conftest.er1 >&5
1610 mv -f conftest.er1 conftest.err
1611 fi
1612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1613 test $ac_status = 0; } && {
1614 test -z "$ac_c_werror_flag" ||
1615 test ! -s conftest.err
1616 } && test -s conftest$ac_exeext && {
1617 test "$cross_compiling" = yes ||
1618 $as_test_x conftest$ac_exeext
1619 }; then :
1620 ac_retval=0
1621else
1622 $as_echo "$as_me: failed program was:" >&5
1623sed 's/^/| /' conftest.$ac_ext >&5
1624
1625 ac_retval=1
1626fi
1627 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1628 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1629 # interfere with the next link command; also delete a directory that is
1630 # left behind by Apple's compiler. We do this before executing the actions.
1631 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1632 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1633 as_fn_set_status $ac_retval
1634
1635} # ac_fn_c_try_link
1636cat >config.log <<_ACEOF
1637This file contains any messages produced by compilers while
1638running configure, to aid debugging if configure makes a mistake.
1639
1640It was created by icedtea-web $as_me 1.1.2, which was
1641generated by GNU Autoconf 2.68. Invocation command line was
1642
1643 $ $0 $@
1644
1645_ACEOF
1646exec 5>>config.log
1647{
1648cat <<_ASUNAME
1649## --------- ##
1650## Platform. ##
1651## --------- ##
1652
1653hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1654uname -m = `(uname -m) 2>/dev/null || echo unknown`
1655uname -r = `(uname -r) 2>/dev/null || echo unknown`
1656uname -s = `(uname -s) 2>/dev/null || echo unknown`
1657uname -v = `(uname -v) 2>/dev/null || echo unknown`
1658
1659/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1660/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1661
1662/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1663/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1664/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1665/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1666/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1667/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1668/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1669
1670_ASUNAME
1671
1672as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1673for as_dir in $PATH
1674do
1675 IFS=$as_save_IFS
1676 test -z "$as_dir" && as_dir=.
1677 $as_echo "PATH: $as_dir"
1678 done
1679IFS=$as_save_IFS
1680
1681} >&5
1682
1683cat >&5 <<_ACEOF
1684
1685
1686## ----------- ##
1687## Core tests. ##
1688## ----------- ##
1689
1690_ACEOF
1691
1692
1693# Keep a trace of the command line.
1694# Strip out --no-create and --no-recursion so they do not pile up.
1695# Strip out --silent because we don't want to record it for future runs.
1696# Also quote any args containing shell meta-characters.
1697# Make two passes to allow for proper duplicate-argument suppression.
1698ac_configure_args=
1699ac_configure_args0=
1700ac_configure_args1=
1701ac_must_keep_next=false
1702for ac_pass in 1 2
1703do
1704 for ac_arg
1705 do
1706 case $ac_arg in
1707 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1708 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1709 | -silent | --silent | --silen | --sile | --sil)
1710 continue ;;
1711 *\'*)
1712 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1713 esac
1714 case $ac_pass in
1715 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1716 2)
1717 as_fn_append ac_configure_args1 " '$ac_arg'"
1718 if test $ac_must_keep_next = true; then
1719 ac_must_keep_next=false # Got value, back to normal.
1720 else
1721 case $ac_arg in
1722 *=* | --config-cache | -C | -disable-* | --disable-* \
1723 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1724 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1725 | -with-* | --with-* | -without-* | --without-* | --x)
1726 case "$ac_configure_args0 " in
1727 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1728 esac
1729 ;;
1730 -* ) ac_must_keep_next=true ;;
1731 esac
1732 fi
1733 as_fn_append ac_configure_args " '$ac_arg'"
1734 ;;
1735 esac
1736 done
1737done
1738{ ac_configure_args0=; unset ac_configure_args0;}
1739{ ac_configure_args1=; unset ac_configure_args1;}
1740
1741# When interrupted or exit'd, cleanup temporary files, and complete
1742# config.log. We remove comments because anyway the quotes in there
1743# would cause problems or look ugly.
1744# WARNING: Use '\'' to represent an apostrophe within the trap.
1745# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1746trap 'exit_status=$?
1747 # Save into config.log some information that might help in debugging.
1748 {
1749 echo
1750
1751 $as_echo "## ---------------- ##
1752## Cache variables. ##
1753## ---------------- ##"
1754 echo
1755 # The following way of writing the cache mishandles newlines in values,
1756(
1757 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1758 eval ac_val=\$$ac_var
1759 case $ac_val in #(
1760 *${as_nl}*)
1761 case $ac_var in #(
1762 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1763$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1764 esac
1765 case $ac_var in #(
1766 _ | IFS | as_nl) ;; #(
1767 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1768 *) { eval $ac_var=; unset $ac_var;} ;;
1769 esac ;;
1770 esac
1771 done
1772 (set) 2>&1 |
1773 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1774 *${as_nl}ac_space=\ *)
1775 sed -n \
1776 "s/'\''/'\''\\\\'\'''\''/g;
1777 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1778 ;; #(
1779 *)
1780 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1781 ;;
1782 esac |
1783 sort
1784)
1785 echo
1786
1787 $as_echo "## ----------------- ##
1788## Output variables. ##
1789## ----------------- ##"
1790 echo
1791 for ac_var in $ac_subst_vars
1792 do
1793 eval ac_val=\$$ac_var
1794 case $ac_val in
1795 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1796 esac
1797 $as_echo "$ac_var='\''$ac_val'\''"
1798 done | sort
1799 echo
1800
1801 if test -n "$ac_subst_files"; then
1802 $as_echo "## ------------------- ##
1803## File substitutions. ##
1804## ------------------- ##"
1805 echo
1806 for ac_var in $ac_subst_files
1807 do
1808 eval ac_val=\$$ac_var
1809 case $ac_val in
1810 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1811 esac
1812 $as_echo "$ac_var='\''$ac_val'\''"
1813 done | sort
1814 echo
1815 fi
1816
1817 if test -s confdefs.h; then
1818 $as_echo "## ----------- ##
1819## confdefs.h. ##
1820## ----------- ##"
1821 echo
1822 cat confdefs.h
1823 echo
1824 fi
1825 test "$ac_signal" != 0 &&
1826 $as_echo "$as_me: caught signal $ac_signal"
1827 $as_echo "$as_me: exit $exit_status"
1828 } >&5
1829 rm -f core *.core core.conftest.* &&
1830 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1831 exit $exit_status
1832' 0
1833for ac_signal in 1 2 13 15; do
1834 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1835done
1836ac_signal=0
1837
1838# confdefs.h avoids OS command line length limits that DEFS can exceed.
1839rm -f -r conftest* confdefs.h
1840
1841$as_echo "/* confdefs.h */" > confdefs.h
1842
1843# Predefined preprocessor variables.
1844
1845cat >>confdefs.h <<_ACEOF
1846#define PACKAGE_NAME "$PACKAGE_NAME"
1847_ACEOF
1848
1849cat >>confdefs.h <<_ACEOF
1850#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1851_ACEOF
1852
1853cat >>confdefs.h <<_ACEOF
1854#define PACKAGE_VERSION "$PACKAGE_VERSION"
1855_ACEOF
1856
1857cat >>confdefs.h <<_ACEOF
1858#define PACKAGE_STRING "$PACKAGE_STRING"
1859_ACEOF
1860
1861cat >>confdefs.h <<_ACEOF
1862#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1863_ACEOF
1864
1865cat >>confdefs.h <<_ACEOF
1866#define PACKAGE_URL "$PACKAGE_URL"
1867_ACEOF
1868
1869
1870# Let the site file select an alternate cache file if it wants to.
1871# Prefer an explicitly selected file to automatically selected ones.
1872ac_site_file1=NONE
1873ac_site_file2=NONE
1874if test -n "$CONFIG_SITE"; then
1875 # We do not want a PATH search for config.site.
1876 case $CONFIG_SITE in #((
1877 -*) ac_site_file1=./$CONFIG_SITE;;
1878 */*) ac_site_file1=$CONFIG_SITE;;
1879 *) ac_site_file1=./$CONFIG_SITE;;
1880 esac
1881elif test "x$prefix" != xNONE; then
1882 ac_site_file1=$prefix/share/config.site
1883 ac_site_file2=$prefix/etc/config.site
1884else
1885 ac_site_file1=$ac_default_prefix/share/config.site
1886 ac_site_file2=$ac_default_prefix/etc/config.site
1887fi
1888for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1889do
1890 test "x$ac_site_file" = xNONE && continue
1891 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1893$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1894 sed 's/^/| /' "$ac_site_file" >&5
1895 . "$ac_site_file" \
1896 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1897$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1898as_fn_error $? "failed to load site script $ac_site_file
1899See \`config.log' for more details" "$LINENO" 5; }
1900 fi
1901done
1902
1903if test -r "$cache_file"; then
1904 # Some versions of bash will fail to source /dev/null (special files
1905 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1906 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1908$as_echo "$as_me: loading cache $cache_file" >&6;}
1909 case $cache_file in
1910 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1911 *) . "./$cache_file";;
1912 esac
1913 fi
1914else
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1916$as_echo "$as_me: creating cache $cache_file" >&6;}
1917 >$cache_file
1918fi
1919
1920# Check that the precious variables saved in the cache have kept the same
1921# value.
1922ac_cache_corrupted=false
1923for ac_var in $ac_precious_vars; do
1924 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1925 eval ac_new_set=\$ac_env_${ac_var}_set
1926 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1927 eval ac_new_val=\$ac_env_${ac_var}_value
1928 case $ac_old_set,$ac_new_set in
1929 set,)
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1931$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1932 ac_cache_corrupted=: ;;
1933 ,set)
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1935$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1936 ac_cache_corrupted=: ;;
1937 ,);;
1938 *)
1939 if test "x$ac_old_val" != "x$ac_new_val"; then
1940 # differences in whitespace do not lead to failure.
1941 ac_old_val_w=`echo x $ac_old_val`
1942 ac_new_val_w=`echo x $ac_new_val`
1943 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1945$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1946 ac_cache_corrupted=:
1947 else
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1949$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1950 eval $ac_var=\$ac_old_val
1951 fi
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1953$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1955$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1956 fi;;
1957 esac
1958 # Pass precious variables to config.status.
1959 if test "$ac_new_set" = set; then
1960 case $ac_new_val in
1961 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1962 *) ac_arg=$ac_var=$ac_new_val ;;
1963 esac
1964 case " $ac_configure_args " in
1965 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1966 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1967 esac
1968 fi
1969done
1970if $ac_cache_corrupted; then
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1972$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1974$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1975 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1976fi
1977## -------------------- ##
1978## Main body of script. ##
1979## -------------------- ##
1980
1981ac_ext=c
1982ac_cpp='$CPP $CPPFLAGS'
1983ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1984ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1985ac_compiler_gnu=$ac_cv_c_compiler_gnu
1986
1987
1988am__api_version='1.11'
1989
1990ac_aux_dir=
1991for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1992 if test -f "$ac_dir/install-sh"; then
1993 ac_aux_dir=$ac_dir
1994 ac_install_sh="$ac_aux_dir/install-sh -c"
1995 break
1996 elif test -f "$ac_dir/install.sh"; then
1997 ac_aux_dir=$ac_dir
1998 ac_install_sh="$ac_aux_dir/install.sh -c"
1999 break
2000 elif test -f "$ac_dir/shtool"; then
2001 ac_aux_dir=$ac_dir
2002 ac_install_sh="$ac_aux_dir/shtool install -c"
2003 break
2004 fi
2005done
2006if test -z "$ac_aux_dir"; then
2007 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2008fi
2009
2010# These three variables are undocumented and unsupported,
2011# and are intended to be withdrawn in a future Autoconf release.
2012# They can cause serious problems if a builder's source tree is in a directory
2013# whose full name contains unusual characters.
2014ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2015ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2016ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2017
2018
2019# Find a good install program. We prefer a C program (faster),
2020# so one script is as good as another. But avoid the broken or
2021# incompatible versions:
2022# SysV /etc/install, /usr/sbin/install
2023# SunOS /usr/etc/install
2024# IRIX /sbin/install
2025# AIX /bin/install
2026# AmigaOS /C/install, which installs bootblocks on floppy discs
2027# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2028# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2029# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2030# OS/2's system install, which has a completely different semantic
2031# ./install, which can be erroneously created by make from ./install.sh.
2032# Reject install programs that cannot install multiple files.
2033{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2034$as_echo_n "checking for a BSD-compatible install... " >&6; }
2035if test -z "$INSTALL"; then
2036if ${ac_cv_path_install+:} false; then :
2037 $as_echo_n "(cached) " >&6
2038else
2039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2040for as_dir in $PATH
2041do
2042 IFS=$as_save_IFS
2043 test -z "$as_dir" && as_dir=.
2044 # Account for people who put trailing slashes in PATH elements.
2045case $as_dir/ in #((
2046 ./ | .// | /[cC]/* | \
2047 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2048 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2049 /usr/ucb/* ) ;;
2050 *)
2051 # OSF1 and SCO ODT 3.0 have their own names for install.
2052 # Don't use installbsd from OSF since it installs stuff as root
2053 # by default.
2054 for ac_prog in ginstall scoinst install; do
2055 for ac_exec_ext in '' $ac_executable_extensions; do
2056 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2057 if test $ac_prog = install &&
2058 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2059 # AIX install. It has an incompatible calling convention.
2060 :
2061 elif test $ac_prog = install &&
2062 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2063 # program-specific install script used by HP pwplus--don't use.
2064 :
2065 else
2066 rm -rf conftest.one conftest.two conftest.dir
2067 echo one > conftest.one
2068 echo two > conftest.two
2069 mkdir conftest.dir
2070 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2071 test -s conftest.one && test -s conftest.two &&
2072 test -s conftest.dir/conftest.one &&
2073 test -s conftest.dir/conftest.two
2074 then
2075 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2076 break 3
2077 fi
2078 fi
2079 fi
2080 done
2081 done
2082 ;;
2083esac
2084
2085 done
2086IFS=$as_save_IFS
2087
2088rm -rf conftest.one conftest.two conftest.dir
2089
2090fi
2091 if test "${ac_cv_path_install+set}" = set; then
2092 INSTALL=$ac_cv_path_install
2093 else
2094 # As a last resort, use the slow shell script. Don't cache a
2095 # value for INSTALL within a source directory, because that will
2096 # break other packages using the cache if that directory is
2097 # removed, or if the value is a relative name.
2098 INSTALL=$ac_install_sh
2099 fi
2100fi
2101{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2102$as_echo "$INSTALL" >&6; }
2103
2104# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2105# It thinks the first close brace ends the variable substitution.
2106test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2107
2108test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2109
2110test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2111
2112{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2113$as_echo_n "checking whether build environment is sane... " >&6; }
2114# Just in case
2115sleep 1
2116echo timestamp > conftest.file
2117# Reject unsafe characters in $srcdir or the absolute working directory
2118# name. Accept space and tab only in the latter.
2119am_lf='
2120'
2121case `pwd` in
2122 *[\\\"\#\$\&\'\`$am_lf]*)
2123 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2124esac
2125case $srcdir in
2126 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2127 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2128esac
2129
2130# Do `set' in a subshell so we don't clobber the current shell's
2131# arguments. Must try -L first in case configure is actually a
2132# symlink; some systems play weird games with the mod time of symlinks
2133# (eg FreeBSD returns the mod time of the symlink's containing
2134# directory).
2135if (
2136 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2137 if test "$*" = "X"; then
2138 # -L didn't work.
2139 set X `ls -t "$srcdir/configure" conftest.file`
2140 fi
2141 rm -f conftest.file
2142 if test "$*" != "X $srcdir/configure conftest.file" \
2143 && test "$*" != "X conftest.file $srcdir/configure"; then
2144
2145 # If neither matched, then we have a broken ls. This can happen
2146 # if, for instance, CONFIG_SHELL is bash and it inherits a
2147 # broken ls alias from the environment. This has actually
2148 # happened. Such a system could not be considered "sane".
2149 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2150alias in your environment" "$LINENO" 5
2151 fi
2152
2153 test "$2" = conftest.file
2154 )
2155then
2156 # Ok.
2157 :
2158else
2159 as_fn_error $? "newly created file is older than distributed files!
2160Check your system clock" "$LINENO" 5
2161fi
2162{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2163$as_echo "yes" >&6; }
2164test "$program_prefix" != NONE &&
2165 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2166# Use a double $ so make ignores it.
2167test "$program_suffix" != NONE &&
2168 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2169# Double any \ or $.
2170# By default was `s,x,x', remove it if useless.
2171ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2172program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2173
2174# expand $ac_aux_dir to an absolute path
2175am_aux_dir=`cd $ac_aux_dir && pwd`
2176
2177if test x"${MISSING+set}" != xset; then
2178 case $am_aux_dir in
2179 *\ * | *\ *)
2180 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2181 *)
2182 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2183 esac
2184fi
2185# Use eval to expand $SHELL
2186if eval "$MISSING --run true"; then
2187 am_missing_run="$MISSING --run "
2188else
2189 am_missing_run=
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2191$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2192fi
2193
2194if test x"${install_sh}" != xset; then
2195 case $am_aux_dir in
2196 *\ * | *\ *)
2197 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2198 *)
2199 install_sh="\${SHELL} $am_aux_dir/install-sh"
2200 esac
2201fi
2202
2203# Installed binaries are usually stripped using `strip' when the user
2204# run `make install-strip'. However `strip' might not be the right
2205# tool to use in cross-compilation environments, therefore Automake
2206# will honor the `STRIP' environment variable to overrule this program.
2207if test "$cross_compiling" != no; then
2208 if test -n "$ac_tool_prefix"; then
2209 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2210set dummy ${ac_tool_prefix}strip; ac_word=$2
2211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2212$as_echo_n "checking for $ac_word... " >&6; }
2213if ${ac_cv_prog_STRIP+:} false; then :
2214 $as_echo_n "(cached) " >&6
2215else
2216 if test -n "$STRIP"; then
2217 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2218else
2219as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2220for as_dir in $PATH
2221do
2222 IFS=$as_save_IFS
2223 test -z "$as_dir" && as_dir=.
2224 for ac_exec_ext in '' $ac_executable_extensions; do
2225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2226 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2228 break 2
2229 fi
2230done
2231 done
2232IFS=$as_save_IFS
2233
2234fi
2235fi
2236STRIP=$ac_cv_prog_STRIP
2237if test -n "$STRIP"; then
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2239$as_echo "$STRIP" >&6; }
2240else
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2242$as_echo "no" >&6; }
2243fi
2244
2245
2246fi
2247if test -z "$ac_cv_prog_STRIP"; then
2248 ac_ct_STRIP=$STRIP
2249 # Extract the first word of "strip", so it can be a program name with args.
2250set dummy strip; ac_word=$2
2251{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2252$as_echo_n "checking for $ac_word... " >&6; }
2253if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2254 $as_echo_n "(cached) " >&6
2255else
2256 if test -n "$ac_ct_STRIP"; then
2257 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2258else
2259as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2260for as_dir in $PATH
2261do
2262 IFS=$as_save_IFS
2263 test -z "$as_dir" && as_dir=.
2264 for ac_exec_ext in '' $ac_executable_extensions; do
2265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2266 ac_cv_prog_ac_ct_STRIP="strip"
2267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2268 break 2
2269 fi
2270done
2271 done
2272IFS=$as_save_IFS
2273
2274fi
2275fi
2276ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2277if test -n "$ac_ct_STRIP"; then
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2279$as_echo "$ac_ct_STRIP" >&6; }
2280else
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2282$as_echo "no" >&6; }
2283fi
2284
2285 if test "x$ac_ct_STRIP" = x; then
2286 STRIP=":"
2287 else
2288 case $cross_compiling:$ac_tool_warned in
2289yes:)
2290{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2291$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2292ac_tool_warned=yes ;;
2293esac
2294 STRIP=$ac_ct_STRIP
2295 fi
2296else
2297 STRIP="$ac_cv_prog_STRIP"
2298fi
2299
2300fi
2301INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2302
2303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2304$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2305if test -z "$MKDIR_P"; then
2306 if ${ac_cv_path_mkdir+:} false; then :
2307 $as_echo_n "(cached) " >&6
2308else
2309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2310for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2311do
2312 IFS=$as_save_IFS
2313 test -z "$as_dir" && as_dir=.
2314 for ac_prog in mkdir gmkdir; do
2315 for ac_exec_ext in '' $ac_executable_extensions; do
2316 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2317 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2318 'mkdir (GNU coreutils) '* | \
2319 'mkdir (coreutils) '* | \
2320 'mkdir (fileutils) '4.1*)
2321 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2322 break 3;;
2323 esac
2324 done
2325 done
2326 done
2327IFS=$as_save_IFS
2328
2329fi
2330
2331 test -d ./--version && rmdir ./--version
2332 if test "${ac_cv_path_mkdir+set}" = set; then
2333 MKDIR_P="$ac_cv_path_mkdir -p"
2334 else
2335 # As a last resort, use the slow shell script. Don't cache a
2336 # value for MKDIR_P within a source directory, because that will
2337 # break other packages using the cache if that directory is
2338 # removed, or if the value is a relative name.
2339 MKDIR_P="$ac_install_sh -d"
2340 fi
2341fi
2342{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2343$as_echo "$MKDIR_P" >&6; }
2344
2345mkdir_p="$MKDIR_P"
2346case $mkdir_p in
2347 [\\/$]* | ?:[\\/]*) ;;
2348 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2349esac
2350
2351for ac_prog in gawk mawk nawk awk
2352do
2353 # Extract the first word of "$ac_prog", so it can be a program name with args.
2354set dummy $ac_prog; ac_word=$2
2355{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2356$as_echo_n "checking for $ac_word... " >&6; }
2357if ${ac_cv_prog_AWK+:} false; then :
2358 $as_echo_n "(cached) " >&6
2359else
2360 if test -n "$AWK"; then
2361 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2362else
2363as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2364for as_dir in $PATH
2365do
2366 IFS=$as_save_IFS
2367 test -z "$as_dir" && as_dir=.
2368 for ac_exec_ext in '' $ac_executable_extensions; do
2369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2370 ac_cv_prog_AWK="$ac_prog"
2371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2372 break 2
2373 fi
2374done
2375 done
2376IFS=$as_save_IFS
2377
2378fi
2379fi
2380AWK=$ac_cv_prog_AWK
2381if test -n "$AWK"; then
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2383$as_echo "$AWK" >&6; }
2384else
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2386$as_echo "no" >&6; }
2387fi
2388
2389
2390 test -n "$AWK" && break
2391done
2392
2393{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2394$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2395set x ${MAKE-make}
2396ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2397if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2398 $as_echo_n "(cached) " >&6
2399else
2400 cat >conftest.make <<\_ACEOF
2401SHELL = /bin/sh
2402all:
2403 @echo '@@@%%%=$(MAKE)=@@@%%%'
2404_ACEOF
2405# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2406case `${MAKE-make} -f conftest.make 2>/dev/null` in
2407 *@@@%%%=?*=@@@%%%*)
2408 eval ac_cv_prog_make_${ac_make}_set=yes;;
2409 *)
2410 eval ac_cv_prog_make_${ac_make}_set=no;;
2411esac
2412rm -f conftest.make
2413fi
2414if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2416$as_echo "yes" >&6; }
2417 SET_MAKE=
2418else
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2420$as_echo "no" >&6; }
2421 SET_MAKE="MAKE=${MAKE-make}"
2422fi
2423
2424rm -rf .tst 2>/dev/null
2425mkdir .tst 2>/dev/null
2426if test -d .tst; then
2427 am__leading_dot=.
2428else
2429 am__leading_dot=_
2430fi
2431rmdir .tst 2>/dev/null
2432
2433if test "`cd $srcdir && pwd`" != "`pwd`"; then
2434 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2435 # is not polluted with repeated "-I."
2436 am__isrc=' -I$(srcdir)'
2437 # test to see if srcdir already configured
2438 if test -f $srcdir/config.status; then
2439 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2440 fi
2441fi
2442
2443# test whether we have cygpath
2444if test -z "$CYGPATH_W"; then
2445 if (cygpath --version) >/dev/null 2>/dev/null; then
2446 CYGPATH_W='cygpath -w'
2447 else
2448 CYGPATH_W=echo
2449 fi
2450fi
2451
2452
2453# Define the identity of the package.
2454 PACKAGE='icedtea-web'
2455 VERSION='1.1.2'
2456
2457
2458cat >>confdefs.h <<_ACEOF
2459#define PACKAGE "$PACKAGE"
2460_ACEOF
2461
2462
2463cat >>confdefs.h <<_ACEOF
2464#define VERSION "$VERSION"
2465_ACEOF
2466
2467# Some tools Automake needs.
2468
2469ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2470
2471
2472AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2473
2474
2475AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2476
2477
2478AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2479
2480
2481MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2482
2483# We need awk for the "check" target. The system "awk" is bad on
2484# some platforms.
2485# Always define AMTAR for backward compatibility.
2486
2487AMTAR=${AMTAR-"${am_missing_run}tar"}
2488
2489
2490{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2491$as_echo_n "checking how to create a pax tar archive... " >&6; }
2492# Loop over all known methods to create a tar archive until one works.
2493_am_tools='gnutar pax cpio none'
2494_am_tools=${am_cv_prog_tar_pax-$_am_tools}
2495# Do not fold the above two line into one, because Tru64 sh and
2496# Solaris sh will not grok spaces in the rhs of `-'.
2497for _am_tool in $_am_tools
2498do
2499 case $_am_tool in
2500 gnutar)
2501 for _am_tar in tar gnutar gtar;
2502 do
2503 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2504 ($_am_tar --version) >&5 2>&5
2505 ac_status=$?
2506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2507 (exit $ac_status); } && break
2508 done
2509 am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2510 am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2511 am__untar="$_am_tar -xf -"
2512 ;;
2513 plaintar)
2514 # Must skip GNU tar: if it does not support --format= it doesn't create
2515 # ustar tarball either.
2516 (tar --version) >/dev/null 2>&1 && continue
2517 am__tar='tar chf - "$$tardir"'
2518 am__tar_='tar chf - "$tardir"'
2519 am__untar='tar xf -'
2520 ;;
2521 pax)
2522 am__tar='pax -L -x pax -w "$$tardir"'
2523 am__tar_='pax -L -x pax -w "$tardir"'
2524 am__untar='pax -r'
2525 ;;
2526 cpio)
2527 am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2528 am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2529 am__untar='cpio -i -H pax -d'
2530 ;;
2531 none)
2532 am__tar=false
2533 am__tar_=false
2534 am__untar=false
2535 ;;
2536 esac
2537
2538 # If the value was cached, stop now. We just wanted to have am__tar
2539 # and am__untar set.
2540 test -n "${am_cv_prog_tar_pax}" && break
2541
2542 # tar/untar a dummy directory, and stop if the command works
2543 rm -rf conftest.dir
2544 mkdir conftest.dir
2545 echo GrepMe > conftest.dir/file
2546 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2547 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2548 ac_status=$?
2549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2550 (exit $ac_status); }
2551 rm -rf conftest.dir
2552 if test -s conftest.tar; then
2553 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2554 ($am__untar <conftest.tar) >&5 2>&5
2555 ac_status=$?
2556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2557 (exit $ac_status); }
2558 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2559 fi
2560done
2561rm -rf conftest.dir
2562
2563if ${am_cv_prog_tar_pax+:} false; then :
2564 $as_echo_n "(cached) " >&6
2565else
2566 am_cv_prog_tar_pax=$_am_tool
2567fi
2568
2569{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2570$as_echo "$am_cv_prog_tar_pax" >&6; }
2571
2572
2573
2574
2575
2576ac_config_files="$ac_config_files Makefile netx.manifest"
2577
2578
2579# Older automake doesn't generate these correctly
2580abs_top_builddir=`pwd -P`
2581
2582abs_top_srcdir=`dirname $0`
2583cd $abs_top_srcdir
2584abs_top_srcdir=`pwd`
2585cd $abs_top_builddir
2586
2587
2588# Make sure we can run config.sub.
2589$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2590 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2591
2592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2593$as_echo_n "checking build system type... " >&6; }
2594if ${ac_cv_build+:} false; then :
2595 $as_echo_n "(cached) " >&6
2596else
2597 ac_build_alias=$build_alias
2598test "x$ac_build_alias" = x &&
2599 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2600test "x$ac_build_alias" = x &&
2601 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2602ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2603 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2604
2605fi
2606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2607$as_echo "$ac_cv_build" >&6; }
2608case $ac_cv_build in
2609*-*-*) ;;
2610*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2611esac
2612build=$ac_cv_build
2613ac_save_IFS=$IFS; IFS='-'
2614set x $ac_cv_build
2615shift
2616build_cpu=$1
2617build_vendor=$2
2618shift; shift
2619# Remember, the first character of IFS is used to create $*,
2620# except with old shells:
2621build_os=$*
2622IFS=$ac_save_IFS
2623case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2624
2625
2626{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2627$as_echo_n "checking host system type... " >&6; }
2628if ${ac_cv_host+:} false; then :
2629 $as_echo_n "(cached) " >&6
2630else
2631 if test "x$host_alias" = x; then
2632 ac_cv_host=$ac_cv_build
2633else
2634 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2635 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2636fi
2637
2638fi
2639{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2640$as_echo "$ac_cv_host" >&6; }
2641case $ac_cv_host in
2642*-*-*) ;;
2643*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2644esac
2645host=$ac_cv_host
2646ac_save_IFS=$IFS; IFS='-'
2647set x $ac_cv_host
2648shift
2649host_cpu=$1
2650host_vendor=$2
2651shift; shift
2652# Remember, the first character of IFS is used to create $*,
2653# except with old shells:
2654host_os=$*
2655IFS=$ac_save_IFS
2656case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2657
2658
2659ac_ext=c
2660ac_cpp='$CPP $CPPFLAGS'
2661ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2662ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2663ac_compiler_gnu=$ac_cv_c_compiler_gnu
2664if test -n "$ac_tool_prefix"; then
2665 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2666set dummy ${ac_tool_prefix}gcc; ac_word=$2
2667{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2668$as_echo_n "checking for $ac_word... " >&6; }
2669if ${ac_cv_prog_CC+:} false; then :
2670 $as_echo_n "(cached) " >&6
2671else
2672 if test -n "$CC"; then
2673 ac_cv_prog_CC="$CC" # Let the user override the test.
2674else
2675as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2676for as_dir in $PATH
2677do
2678 IFS=$as_save_IFS
2679 test -z "$as_dir" && as_dir=.
2680 for ac_exec_ext in '' $ac_executable_extensions; do
2681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2682 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2684 break 2
2685 fi
2686done
2687 done
2688IFS=$as_save_IFS
2689
2690fi
2691fi
2692CC=$ac_cv_prog_CC
2693if test -n "$CC"; then
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2695$as_echo "$CC" >&6; }
2696else
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2698$as_echo "no" >&6; }
2699fi
2700
2701
2702fi
2703if test -z "$ac_cv_prog_CC"; then
2704 ac_ct_CC=$CC
2705 # Extract the first word of "gcc", so it can be a program name with args.
2706set dummy gcc; ac_word=$2
2707{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2708$as_echo_n "checking for $ac_word... " >&6; }
2709if ${ac_cv_prog_ac_ct_CC+:} false; then :
2710 $as_echo_n "(cached) " >&6
2711else
2712 if test -n "$ac_ct_CC"; then
2713 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2714else
2715as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2716for as_dir in $PATH
2717do
2718 IFS=$as_save_IFS
2719 test -z "$as_dir" && as_dir=.
2720 for ac_exec_ext in '' $ac_executable_extensions; do
2721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2722 ac_cv_prog_ac_ct_CC="gcc"
2723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2724 break 2
2725 fi
2726done
2727 done
2728IFS=$as_save_IFS
2729
2730fi
2731fi
2732ac_ct_CC=$ac_cv_prog_ac_ct_CC
2733if test -n "$ac_ct_CC"; then
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2735$as_echo "$ac_ct_CC" >&6; }
2736else
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2738$as_echo "no" >&6; }
2739fi
2740
2741 if test "x$ac_ct_CC" = x; then
2742 CC=""
2743 else
2744 case $cross_compiling:$ac_tool_warned in
2745yes:)
2746{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2747$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2748ac_tool_warned=yes ;;
2749esac
2750 CC=$ac_ct_CC
2751 fi
2752else
2753 CC="$ac_cv_prog_CC"
2754fi
2755
2756if test -z "$CC"; then
2757 if test -n "$ac_tool_prefix"; then
2758 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2759set dummy ${ac_tool_prefix}cc; ac_word=$2
2760{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2761$as_echo_n "checking for $ac_word... " >&6; }
2762if ${ac_cv_prog_CC+:} false; then :
2763 $as_echo_n "(cached) " >&6
2764else
2765 if test -n "$CC"; then
2766 ac_cv_prog_CC="$CC" # Let the user override the test.
2767else
2768as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2769for as_dir in $PATH
2770do
2771 IFS=$as_save_IFS
2772 test -z "$as_dir" && as_dir=.
2773 for ac_exec_ext in '' $ac_executable_extensions; do
2774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2775 ac_cv_prog_CC="${ac_tool_prefix}cc"
2776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2777 break 2
2778 fi
2779done
2780 done
2781IFS=$as_save_IFS
2782
2783fi
2784fi
2785CC=$ac_cv_prog_CC
2786if test -n "$CC"; then
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2788$as_echo "$CC" >&6; }
2789else
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2791$as_echo "no" >&6; }
2792fi
2793
2794
2795 fi
2796fi
2797if test -z "$CC"; then
2798 # Extract the first word of "cc", so it can be a program name with args.
2799set dummy cc; ac_word=$2
2800{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2801$as_echo_n "checking for $ac_word... " >&6; }
2802if ${ac_cv_prog_CC+:} false; then :
2803 $as_echo_n "(cached) " >&6
2804else
2805 if test -n "$CC"; then
2806 ac_cv_prog_CC="$CC" # Let the user override the test.
2807else
2808 ac_prog_rejected=no
2809as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2810for as_dir in $PATH
2811do
2812 IFS=$as_save_IFS
2813 test -z "$as_dir" && as_dir=.
2814 for ac_exec_ext in '' $ac_executable_extensions; do
2815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2816 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2817 ac_prog_rejected=yes
2818 continue
2819 fi
2820 ac_cv_prog_CC="cc"
2821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2822 break 2
2823 fi
2824done
2825 done
2826IFS=$as_save_IFS
2827
2828if test $ac_prog_rejected = yes; then
2829 # We found a bogon in the path, so make sure we never use it.
2830 set dummy $ac_cv_prog_CC
2831 shift
2832 if test $# != 0; then
2833 # We chose a different compiler from the bogus one.
2834 # However, it has the same basename, so the bogon will be chosen
2835 # first if we set CC to just the basename; use the full file name.
2836 shift
2837 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2838 fi
2839fi
2840fi
2841fi
2842CC=$ac_cv_prog_CC
2843if test -n "$CC"; then
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2845$as_echo "$CC" >&6; }
2846else
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2848$as_echo "no" >&6; }
2849fi
2850
2851
2852fi
2853if test -z "$CC"; then
2854 if test -n "$ac_tool_prefix"; then
2855 for ac_prog in cl.exe
2856 do
2857 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2858set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2859{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2860$as_echo_n "checking for $ac_word... " >&6; }
2861if ${ac_cv_prog_CC+:} false; then :
2862 $as_echo_n "(cached) " >&6
2863else
2864 if test -n "$CC"; then
2865 ac_cv_prog_CC="$CC" # Let the user override the test.
2866else
2867as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2868for as_dir in $PATH
2869do
2870 IFS=$as_save_IFS
2871 test -z "$as_dir" && as_dir=.
2872 for ac_exec_ext in '' $ac_executable_extensions; do
2873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2874 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2876 break 2
2877 fi
2878done
2879 done
2880IFS=$as_save_IFS
2881
2882fi
2883fi
2884CC=$ac_cv_prog_CC
2885if test -n "$CC"; then
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2887$as_echo "$CC" >&6; }
2888else
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2890$as_echo "no" >&6; }
2891fi
2892
2893
2894 test -n "$CC" && break
2895 done
2896fi
2897if test -z "$CC"; then
2898 ac_ct_CC=$CC
2899 for ac_prog in cl.exe
2900do
2901 # Extract the first word of "$ac_prog", so it can be a program name with args.
2902set dummy $ac_prog; ac_word=$2
2903{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2904$as_echo_n "checking for $ac_word... " >&6; }
2905if ${ac_cv_prog_ac_ct_CC+:} false; then :
2906 $as_echo_n "(cached) " >&6
2907else
2908 if test -n "$ac_ct_CC"; then
2909 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2910else
2911as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2912for as_dir in $PATH
2913do
2914 IFS=$as_save_IFS
2915 test -z "$as_dir" && as_dir=.
2916 for ac_exec_ext in '' $ac_executable_extensions; do
2917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2918 ac_cv_prog_ac_ct_CC="$ac_prog"
2919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2920 break 2
2921 fi
2922done
2923 done
2924IFS=$as_save_IFS
2925
2926fi
2927fi
2928ac_ct_CC=$ac_cv_prog_ac_ct_CC
2929if test -n "$ac_ct_CC"; then
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2931$as_echo "$ac_ct_CC" >&6; }
2932else
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2934$as_echo "no" >&6; }
2935fi
2936
2937
2938 test -n "$ac_ct_CC" && break
2939done
2940
2941 if test "x$ac_ct_CC" = x; then
2942 CC=""
2943 else
2944 case $cross_compiling:$ac_tool_warned in
2945yes:)
2946{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2947$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2948ac_tool_warned=yes ;;
2949esac
2950 CC=$ac_ct_CC
2951 fi
2952fi
2953
2954fi
2955
2956
2957test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2958$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2959as_fn_error $? "no acceptable C compiler found in \$PATH
2960See \`config.log' for more details" "$LINENO" 5; }
2961
2962# Provide some information about the compiler.
2963$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2964set X $ac_compile
2965ac_compiler=$2
2966for ac_option in --version -v -V -qversion; do
2967 { { ac_try="$ac_compiler $ac_option >&5"
2968case "(($ac_try" in
2969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2970 *) ac_try_echo=$ac_try;;
2971esac
2972eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2973$as_echo "$ac_try_echo"; } >&5
2974 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2975 ac_status=$?
2976 if test -s conftest.err; then
2977 sed '10a\
2978... rest of stderr output deleted ...
2979 10q' conftest.err >conftest.er1
2980 cat conftest.er1 >&5
2981 fi
2982 rm -f conftest.er1 conftest.err
2983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2984 test $ac_status = 0; }
2985done
2986
2987cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2988/* end confdefs.h. */
2989
2990int
2991main ()
2992{
2993
2994 ;
2995 return 0;
2996}
2997_ACEOF
2998ac_clean_files_save=$ac_clean_files
2999ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3000# Try to create an executable without -o first, disregard a.out.
3001# It will help us diagnose broken compilers, and finding out an intuition
3002# of exeext.
3003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3004$as_echo_n "checking whether the C compiler works... " >&6; }
3005ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3006
3007# The possible output files:
3008ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3009
3010ac_rmfiles=
3011for ac_file in $ac_files
3012do
3013 case $ac_file in
3014 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3015 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3016 esac
3017done
3018rm -f $ac_rmfiles
3019
3020if { { ac_try="$ac_link_default"
3021case "(($ac_try" in
3022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3023 *) ac_try_echo=$ac_try;;
3024esac
3025eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3026$as_echo "$ac_try_echo"; } >&5
3027 (eval "$ac_link_default") 2>&5
3028 ac_status=$?
3029 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3030 test $ac_status = 0; }; then :
3031 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3032# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3033# in a Makefile. We should not override ac_cv_exeext if it was cached,
3034# so that the user can short-circuit this test for compilers unknown to
3035# Autoconf.
3036for ac_file in $ac_files ''
3037do
3038 test -f "$ac_file" || continue
3039 case $ac_file in
3040 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3041 ;;
3042 [ab].out )
3043 # We found the default executable, but exeext='' is most
3044 # certainly right.
3045 break;;
3046 *.* )
3047 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3048 then :; else
3049 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3050 fi
3051 # We set ac_cv_exeext here because the later test for it is not
3052 # safe: cross compilers may not add the suffix if given an `-o'
3053 # argument, so we may need to know it at that point already.
3054 # Even if this section looks crufty: it has the advantage of
3055 # actually working.
3056 break;;
3057 * )
3058 break;;
3059 esac
3060done
3061test "$ac_cv_exeext" = no && ac_cv_exeext=
3062
3063else
3064 ac_file=''
3065fi
3066if test -z "$ac_file"; then :
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3068$as_echo "no" >&6; }
3069$as_echo "$as_me: failed program was:" >&5
3070sed 's/^/| /' conftest.$ac_ext >&5
3071
3072{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3073$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3074as_fn_error 77 "C compiler cannot create executables
3075See \`config.log' for more details" "$LINENO" 5; }
3076else
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3078$as_echo "yes" >&6; }
3079fi
3080{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3081$as_echo_n "checking for C compiler default output file name... " >&6; }
3082{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3083$as_echo "$ac_file" >&6; }
3084ac_exeext=$ac_cv_exeext
3085
3086rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3087ac_clean_files=$ac_clean_files_save
3088{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3089$as_echo_n "checking for suffix of executables... " >&6; }
3090if { { ac_try="$ac_link"
3091case "(($ac_try" in
3092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3093 *) ac_try_echo=$ac_try;;
3094esac
3095eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3096$as_echo "$ac_try_echo"; } >&5
3097 (eval "$ac_link") 2>&5
3098 ac_status=$?
3099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3100 test $ac_status = 0; }; then :
3101 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3102# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3103# work properly (i.e., refer to `conftest.exe'), while it won't with
3104# `rm'.
3105for ac_file in conftest.exe conftest conftest.*; do
3106 test -f "$ac_file" || continue
3107 case $ac_file in
3108 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3109 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3110 break;;
3111 * ) break;;
3112 esac
3113done
3114else
3115 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3116$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3117as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3118See \`config.log' for more details" "$LINENO" 5; }
3119fi
3120rm -f conftest conftest$ac_cv_exeext
3121{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3122$as_echo "$ac_cv_exeext" >&6; }
3123
3124rm -f conftest.$ac_ext
3125EXEEXT=$ac_cv_exeext
3126ac_exeext=$EXEEXT
3127cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3128/* end confdefs.h. */
3129#include <stdio.h>
3130int
3131main ()
3132{
3133FILE *f = fopen ("conftest.out", "w");
3134 return ferror (f) || fclose (f) != 0;
3135
3136 ;
3137 return 0;
3138}
3139_ACEOF
3140ac_clean_files="$ac_clean_files conftest.out"
3141# Check that the compiler produces executables we can run. If not, either
3142# the compiler is broken, or we cross compile.
3143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3144$as_echo_n "checking whether we are cross compiling... " >&6; }
3145if test "$cross_compiling" != yes; then
3146 { { ac_try="$ac_link"
3147case "(($ac_try" in
3148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3149 *) ac_try_echo=$ac_try;;
3150esac
3151eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3152$as_echo "$ac_try_echo"; } >&5
3153 (eval "$ac_link") 2>&5
3154 ac_status=$?
3155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3156 test $ac_status = 0; }
3157 if { ac_try='./conftest$ac_cv_exeext'
3158 { { case "(($ac_try" in
3159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3160 *) ac_try_echo=$ac_try;;
3161esac
3162eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3163$as_echo "$ac_try_echo"; } >&5
3164 (eval "$ac_try") 2>&5
3165 ac_status=$?
3166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3167 test $ac_status = 0; }; }; then
3168 cross_compiling=no
3169 else
3170 if test "$cross_compiling" = maybe; then
3171 cross_compiling=yes
3172 else
3173 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3174$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3175as_fn_error $? "cannot run C compiled programs.
3176If you meant to cross compile, use \`--host'.
3177See \`config.log' for more details" "$LINENO" 5; }
3178 fi
3179 fi
3180fi
3181{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3182$as_echo "$cross_compiling" >&6; }
3183
3184rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3185ac_clean_files=$ac_clean_files_save
3186{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3187$as_echo_n "checking for suffix of object files... " >&6; }
3188if ${ac_cv_objext+:} false; then :
3189 $as_echo_n "(cached) " >&6
3190else
3191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3192/* end confdefs.h. */
3193
3194int
3195main ()
3196{
3197
3198 ;
3199 return 0;
3200}
3201_ACEOF
3202rm -f conftest.o conftest.obj
3203if { { ac_try="$ac_compile"
3204case "(($ac_try" in
3205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3206 *) ac_try_echo=$ac_try;;
3207esac
3208eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3209$as_echo "$ac_try_echo"; } >&5
3210 (eval "$ac_compile") 2>&5
3211 ac_status=$?
3212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3213 test $ac_status = 0; }; then :
3214 for ac_file in conftest.o conftest.obj conftest.*; do
3215 test -f "$ac_file" || continue;
3216 case $ac_file in
3217 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3218 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3219 break;;
3220 esac
3221done
3222else
3223 $as_echo "$as_me: failed program was:" >&5
3224sed 's/^/| /' conftest.$ac_ext >&5
3225
3226{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3227$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3228as_fn_error $? "cannot compute suffix of object files: cannot compile
3229See \`config.log' for more details" "$LINENO" 5; }
3230fi
3231rm -f conftest.$ac_cv_objext conftest.$ac_ext
3232fi
3233{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3234$as_echo "$ac_cv_objext" >&6; }
3235OBJEXT=$ac_cv_objext
3236ac_objext=$OBJEXT
3237{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3238$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3239if ${ac_cv_c_compiler_gnu+:} false; then :
3240 $as_echo_n "(cached) " >&6
3241else
3242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3243/* end confdefs.h. */
3244
3245int
3246main ()
3247{
3248#ifndef __GNUC__
3249 choke me
3250#endif
3251
3252 ;
3253 return 0;
3254}
3255_ACEOF
3256if ac_fn_c_try_compile "$LINENO"; then :
3257 ac_compiler_gnu=yes
3258else
3259 ac_compiler_gnu=no
3260fi
3261rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3262ac_cv_c_compiler_gnu=$ac_compiler_gnu
3263
3264fi
3265{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3266$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3267if test $ac_compiler_gnu = yes; then
3268 GCC=yes
3269else
3270 GCC=
3271fi
3272ac_test_CFLAGS=${CFLAGS+set}
3273ac_save_CFLAGS=$CFLAGS
3274{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3275$as_echo_n "checking whether $CC accepts -g... " >&6; }
3276if ${ac_cv_prog_cc_g+:} false; then :
3277 $as_echo_n "(cached) " >&6
3278else
3279 ac_save_c_werror_flag=$ac_c_werror_flag
3280 ac_c_werror_flag=yes
3281 ac_cv_prog_cc_g=no
3282 CFLAGS="-g"
3283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3284/* end confdefs.h. */
3285
3286int
3287main ()
3288{
3289
3290 ;
3291 return 0;
3292}
3293_ACEOF
3294if ac_fn_c_try_compile "$LINENO"; then :
3295 ac_cv_prog_cc_g=yes
3296else
3297 CFLAGS=""
3298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3299/* end confdefs.h. */
3300
3301int
3302main ()
3303{
3304
3305 ;
3306 return 0;
3307}
3308_ACEOF
3309if ac_fn_c_try_compile "$LINENO"; then :
3310
3311else
3312 ac_c_werror_flag=$ac_save_c_werror_flag
3313 CFLAGS="-g"
3314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3315/* end confdefs.h. */
3316
3317int
3318main ()
3319{
3320
3321 ;
3322 return 0;
3323}
3324_ACEOF
3325if ac_fn_c_try_compile "$LINENO"; then :
3326 ac_cv_prog_cc_g=yes
3327fi
3328rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3329fi
3330rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3331fi
3332rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3333 ac_c_werror_flag=$ac_save_c_werror_flag
3334fi
3335{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3336$as_echo "$ac_cv_prog_cc_g" >&6; }
3337if test "$ac_test_CFLAGS" = set; then
3338 CFLAGS=$ac_save_CFLAGS
3339elif test $ac_cv_prog_cc_g = yes; then
3340 if test "$GCC" = yes; then
3341 CFLAGS="-g -O2"
3342 else
3343 CFLAGS="-g"
3344 fi
3345else
3346 if test "$GCC" = yes; then
3347 CFLAGS="-O2"
3348 else
3349 CFLAGS=
3350 fi
3351fi
3352{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3353$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3354if ${ac_cv_prog_cc_c89+:} false; then :
3355 $as_echo_n "(cached) " >&6
3356else
3357 ac_cv_prog_cc_c89=no
3358ac_save_CC=$CC
3359cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3360/* end confdefs.h. */
3361#include <stdarg.h>
3362#include <stdio.h>
3363#include <sys/types.h>
3364#include <sys/stat.h>
3365/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3366struct buf { int x; };
3367FILE * (*rcsopen) (struct buf *, struct stat *, int);
3368static char *e (p, i)
3369 char **p;
3370 int i;
3371{
3372 return p[i];
3373}
3374static char *f (char * (*g) (char **, int), char **p, ...)
3375{
3376 char *s;
3377 va_list v;
3378 va_start (v,p);
3379 s = g (p, va_arg (v,int));
3380 va_end (v);
3381 return s;
3382}
3383
3384/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3385 function prototypes and stuff, but not '\xHH' hex character constants.
3386 These don't provoke an error unfortunately, instead are silently treated
3387 as 'x'. The following induces an error, until -std is added to get
3388 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3389 array size at least. It's necessary to write '\x00'==0 to get something
3390 that's true only with -std. */
3391int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3392
3393/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3394 inside strings and character constants. */
3395#define FOO(x) 'x'
3396int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3397
3398int test (int i, double x);
3399struct s1 {int (*f) (int a);};
3400struct s2 {int (*f) (double a);};
3401int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3402int argc;
3403char **argv;
3404int
3405main ()
3406{
3407return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3408 ;
3409 return 0;
3410}
3411_ACEOF
3412for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3413 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3414do
3415 CC="$ac_save_CC $ac_arg"
3416 if ac_fn_c_try_compile "$LINENO"; then :
3417 ac_cv_prog_cc_c89=$ac_arg
3418fi
3419rm -f core conftest.err conftest.$ac_objext
3420 test "x$ac_cv_prog_cc_c89" != "xno" && break
3421done
3422rm -f conftest.$ac_ext
3423CC=$ac_save_CC
3424
3425fi
3426# AC_CACHE_VAL
3427case "x$ac_cv_prog_cc_c89" in
3428 x)
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3430$as_echo "none needed" >&6; } ;;
3431 xno)
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3433$as_echo "unsupported" >&6; } ;;
3434 *)
3435 CC="$CC $ac_cv_prog_cc_c89"
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3437$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3438esac
3439if test "x$ac_cv_prog_cc_c89" != xno; then :
3440
3441fi
3442
3443ac_ext=c
3444ac_cpp='$CPP $CPPFLAGS'
3445ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3446ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3447ac_compiler_gnu=$ac_cv_c_compiler_gnu
3448DEPDIR="${am__leading_dot}deps"
3449
3450ac_config_commands="$ac_config_commands depfiles"
3451
3452
3453am_make=${MAKE-make}
3454cat > confinc << 'END'
3455am__doit:
3456 @echo this is the am__doit target
3457.PHONY: am__doit
3458END
3459# If we don't find an include directive, just comment out the code.
3460{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3461$as_echo_n "checking for style of include used by $am_make... " >&6; }
3462am__include="#"
3463am__quote=
3464_am_result=none
3465# First try GNU make style include.
3466echo "include confinc" > confmf
3467# Ignore all kinds of additional output from `make'.
3468case `$am_make -s -f confmf 2> /dev/null` in #(
3469*the\ am__doit\ target*)
3470 am__include=include
3471 am__quote=
3472 _am_result=GNU
3473 ;;
3474esac
3475# Now try BSD make style include.
3476if test "$am__include" = "#"; then
3477 echo '.include "confinc"' > confmf
3478 case `$am_make -s -f confmf 2> /dev/null` in #(
3479 *the\ am__doit\ target*)
3480 am__include=.include
3481 am__quote="\""
3482 _am_result=BSD
3483 ;;
3484 esac
3485fi
3486
3487
3488{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3489$as_echo "$_am_result" >&6; }
3490rm -f confinc confmf
3491
3492# Check whether --enable-dependency-tracking was given.
3493if test "${enable_dependency_tracking+set}" = set; then :
3494 enableval=$enable_dependency_tracking;
3495fi
3496
3497if test "x$enable_dependency_tracking" != xno; then
3498 am_depcomp="$ac_aux_dir/depcomp"
3499 AMDEPBACKSLASH='\'
3500fi
3501 if test "x$enable_dependency_tracking" != xno; then
3502 AMDEP_TRUE=
3503 AMDEP_FALSE='#'
3504else
3505 AMDEP_TRUE='#'
3506 AMDEP_FALSE=
3507fi
3508
3509
3510
3511depcc="$CC" am_compiler_list=
3512
3513{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3514$as_echo_n "checking dependency style of $depcc... " >&6; }
3515if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3516 $as_echo_n "(cached) " >&6
3517else
3518 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3519 # We make a subdir and do the tests there. Otherwise we can end up
3520 # making bogus files that we don't know about and never remove. For
3521 # instance it was reported that on HP-UX the gcc test will end up
3522 # making a dummy file named `D' -- because `-MD' means `put the output
3523 # in D'.
3524 mkdir conftest.dir
3525 # Copy depcomp to subdir because otherwise we won't find it if we're
3526 # using a relative directory.
3527 cp "$am_depcomp" conftest.dir
3528 cd conftest.dir
3529 # We will build objects and dependencies in a subdirectory because
3530 # it helps to detect inapplicable dependency modes. For instance
3531 # both Tru64's cc and ICC support -MD to output dependencies as a
3532 # side effect of compilation, but ICC will put the dependencies in
3533 # the current directory while Tru64 will put them in the object
3534 # directory.
3535 mkdir sub
3536
3537 am_cv_CC_dependencies_compiler_type=none
3538 if test "$am_compiler_list" = ""; then
3539 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3540 fi
3541 am__universal=false
3542 case " $depcc " in #(
3543 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3544 esac
3545
3546 for depmode in $am_compiler_list; do
3547 # Setup a source with many dependencies, because some compilers
3548 # like to wrap large dependency lists on column 80 (with \), and
3549 # we should not choose a depcomp mode which is confused by this.
3550 #
3551 # We need to recreate these files for each test, as the compiler may
3552 # overwrite some of them when testing with obscure command lines.
3553 # This happens at least with the AIX C compiler.
3554 : > sub/conftest.c
3555 for i in 1 2 3 4 5 6; do
3556 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3557 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3558 # Solaris 8's {/usr,}/bin/sh.
3559 touch sub/conftst$i.h
3560 done
3561 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3562
3563 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3564 # mode. It turns out that the SunPro C++ compiler does not properly
3565 # handle `-M -o', and we need to detect this. Also, some Intel
3566 # versions had trouble with output in subdirs
3567 am__obj=sub/conftest.${OBJEXT-o}
3568 am__minus_obj="-o $am__obj"
3569 case $depmode in
3570 gcc)
3571 # This depmode causes a compiler race in universal mode.
3572 test "$am__universal" = false || continue
3573 ;;
3574 nosideeffect)
3575 # after this tag, mechanisms are not by side-effect, so they'll
3576 # only be used when explicitly requested
3577 if test "x$enable_dependency_tracking" = xyes; then
3578 continue
3579 else
3580 break
3581 fi
3582 ;;
3583 msvisualcpp | msvcmsys)
3584 # This compiler won't grok `-c -o', but also, the minuso test has
3585 # not run yet. These depmodes are late enough in the game, and
3586 # so weak that their functioning should not be impacted.
3587 am__obj=conftest.${OBJEXT-o}
3588 am__minus_obj=
3589 ;;
3590 none) break ;;
3591 esac
3592 if depmode=$depmode \
3593 source=sub/conftest.c object=$am__obj \
3594 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3595 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3596 >/dev/null 2>conftest.err &&
3597 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3598 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3599 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3600 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3601 # icc doesn't choke on unknown options, it will just issue warnings
3602 # or remarks (even with -Werror). So we grep stderr for any message
3603 # that says an option was ignored or not supported.
3604 # When given -MP, icc 7.0 and 7.1 complain thusly:
3605 # icc: Command line warning: ignoring option '-M'; no argument required
3606 # The diagnosis changed in icc 8.0:
3607 # icc: Command line remark: option '-MP' not supported
3608 if (grep 'ignoring option' conftest.err ||
3609 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3610 am_cv_CC_dependencies_compiler_type=$depmode
3611 break
3612 fi
3613 fi
3614 done
3615
3616 cd ..
3617 rm -rf conftest.dir
3618else
3619 am_cv_CC_dependencies_compiler_type=none
3620fi
3621
3622fi
3623{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3624$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3625CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3626
3627 if
3628 test "x$enable_dependency_tracking" != xno \
3629 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3630 am__fastdepCC_TRUE=
3631 am__fastdepCC_FALSE='#'
3632else
3633 am__fastdepCC_TRUE='#'
3634 am__fastdepCC_FALSE=
3635fi
3636
3637
3638ac_ext=cpp
3639ac_cpp='$CXXCPP $CPPFLAGS'
3640ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3641ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3642ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3643if test -z "$CXX"; then
3644 if test -n "$CCC"; then
3645 CXX=$CCC
3646 else
3647 if test -n "$ac_tool_prefix"; then
3648 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3649 do
3650 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3651set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3652{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3653$as_echo_n "checking for $ac_word... " >&6; }
3654if ${ac_cv_prog_CXX+:} false; then :
3655 $as_echo_n "(cached) " >&6
3656else
3657 if test -n "$CXX"; then
3658 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3659else
3660as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3661for as_dir in $PATH
3662do
3663 IFS=$as_save_IFS
3664 test -z "$as_dir" && as_dir=.
3665 for ac_exec_ext in '' $ac_executable_extensions; do
3666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3667 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3669 break 2
3670 fi
3671done
3672 done
3673IFS=$as_save_IFS
3674
3675fi
3676fi
3677CXX=$ac_cv_prog_CXX
3678if test -n "$CXX"; then
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3680$as_echo "$CXX" >&6; }
3681else
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3683$as_echo "no" >&6; }
3684fi
3685
3686
3687 test -n "$CXX" && break
3688 done
3689fi
3690if test -z "$CXX"; then
3691 ac_ct_CXX=$CXX
3692 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3693do
3694 # Extract the first word of "$ac_prog", so it can be a program name with args.
3695set dummy $ac_prog; ac_word=$2
3696{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3697$as_echo_n "checking for $ac_word... " >&6; }
3698if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3699 $as_echo_n "(cached) " >&6
3700else
3701 if test -n "$ac_ct_CXX"; then
3702 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3703else
3704as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3705for as_dir in $PATH
3706do
3707 IFS=$as_save_IFS
3708 test -z "$as_dir" && as_dir=.
3709 for ac_exec_ext in '' $ac_executable_extensions; do
3710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3711 ac_cv_prog_ac_ct_CXX="$ac_prog"
3712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3713 break 2
3714 fi
3715done
3716 done
3717IFS=$as_save_IFS
3718
3719fi
3720fi
3721ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3722if test -n "$ac_ct_CXX"; then
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3724$as_echo "$ac_ct_CXX" >&6; }
3725else
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3727$as_echo "no" >&6; }
3728fi
3729
3730
3731 test -n "$ac_ct_CXX" && break
3732done
3733
3734 if test "x$ac_ct_CXX" = x; then
3735 CXX="g++"
3736 else
3737 case $cross_compiling:$ac_tool_warned in
3738yes:)
3739{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3740$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3741ac_tool_warned=yes ;;
3742esac
3743 CXX=$ac_ct_CXX
3744 fi
3745fi
3746
3747 fi
3748fi
3749# Provide some information about the compiler.
3750$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3751set X $ac_compile
3752ac_compiler=$2
3753for ac_option in --version -v -V -qversion; do
3754 { { ac_try="$ac_compiler $ac_option >&5"
3755case "(($ac_try" in
3756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3757 *) ac_try_echo=$ac_try;;
3758esac
3759eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3760$as_echo "$ac_try_echo"; } >&5
3761 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3762 ac_status=$?
3763 if test -s conftest.err; then
3764 sed '10a\
3765... rest of stderr output deleted ...
3766 10q' conftest.err >conftest.er1
3767 cat conftest.er1 >&5
3768 fi
3769 rm -f conftest.er1 conftest.err
3770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3771 test $ac_status = 0; }
3772done
3773
3774{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3775$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3776if ${ac_cv_cxx_compiler_gnu+:} false; then :
3777 $as_echo_n "(cached) " >&6
3778else
3779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3780/* end confdefs.h. */
3781
3782int
3783main ()
3784{
3785#ifndef __GNUC__
3786 choke me
3787#endif
3788
3789 ;
3790 return 0;
3791}
3792_ACEOF
3793if ac_fn_cxx_try_compile "$LINENO"; then :
3794 ac_compiler_gnu=yes
3795else
3796 ac_compiler_gnu=no
3797fi
3798rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3799ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3800
3801fi
3802{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3803$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3804if test $ac_compiler_gnu = yes; then
3805 GXX=yes
3806else
3807 GXX=
3808fi
3809ac_test_CXXFLAGS=${CXXFLAGS+set}
3810ac_save_CXXFLAGS=$CXXFLAGS
3811{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3812$as_echo_n "checking whether $CXX accepts -g... " >&6; }
3813if ${ac_cv_prog_cxx_g+:} false; then :
3814 $as_echo_n "(cached) " >&6
3815else
3816 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3817 ac_cxx_werror_flag=yes
3818 ac_cv_prog_cxx_g=no
3819 CXXFLAGS="-g"
3820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3821/* end confdefs.h. */
3822
3823int
3824main ()
3825{
3826
3827 ;
3828 return 0;
3829}
3830_ACEOF
3831if ac_fn_cxx_try_compile "$LINENO"; then :
3832 ac_cv_prog_cxx_g=yes
3833else
3834 CXXFLAGS=""
3835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3836/* end confdefs.h. */
3837
3838int
3839main ()
3840{
3841
3842 ;
3843 return 0;
3844}
3845_ACEOF
3846if ac_fn_cxx_try_compile "$LINENO"; then :
3847
3848else
3849 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3850 CXXFLAGS="-g"
3851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3852/* end confdefs.h. */
3853
3854int
3855main ()
3856{
3857
3858 ;
3859 return 0;
3860}
3861_ACEOF
3862if ac_fn_cxx_try_compile "$LINENO"; then :
3863 ac_cv_prog_cxx_g=yes
3864fi
3865rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3866fi
3867rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3868fi
3869rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3870 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3871fi
3872{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3873$as_echo "$ac_cv_prog_cxx_g" >&6; }
3874if test "$ac_test_CXXFLAGS" = set; then
3875 CXXFLAGS=$ac_save_CXXFLAGS
3876elif test $ac_cv_prog_cxx_g = yes; then
3877 if test "$GXX" = yes; then
3878 CXXFLAGS="-g -O2"
3879 else
3880 CXXFLAGS="-g"
3881 fi
3882else
3883 if test "$GXX" = yes; then
3884 CXXFLAGS="-O2"
3885 else
3886 CXXFLAGS=
3887 fi
3888fi
3889ac_ext=c
3890ac_cpp='$CPP $CPPFLAGS'
3891ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3892ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3893ac_compiler_gnu=$ac_cv_c_compiler_gnu
3894
3895depcc="$CXX" am_compiler_list=
3896
3897{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3898$as_echo_n "checking dependency style of $depcc... " >&6; }
3899if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3900 $as_echo_n "(cached) " >&6
3901else
3902 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3903 # We make a subdir and do the tests there. Otherwise we can end up
3904 # making bogus files that we don't know about and never remove. For
3905 # instance it was reported that on HP-UX the gcc test will end up
3906 # making a dummy file named `D' -- because `-MD' means `put the output
3907 # in D'.
3908 mkdir conftest.dir
3909 # Copy depcomp to subdir because otherwise we won't find it if we're
3910 # using a relative directory.
3911 cp "$am_depcomp" conftest.dir
3912 cd conftest.dir
3913 # We will build objects and dependencies in a subdirectory because
3914 # it helps to detect inapplicable dependency modes. For instance
3915 # both Tru64's cc and ICC support -MD to output dependencies as a
3916 # side effect of compilation, but ICC will put the dependencies in
3917 # the current directory while Tru64 will put them in the object
3918 # directory.
3919 mkdir sub
3920
3921 am_cv_CXX_dependencies_compiler_type=none
3922 if test "$am_compiler_list" = ""; then
3923 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3924 fi
3925 am__universal=false
3926 case " $depcc " in #(
3927 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3928 esac
3929
3930 for depmode in $am_compiler_list; do
3931 # Setup a source with many dependencies, because some compilers
3932 # like to wrap large dependency lists on column 80 (with \), and
3933 # we should not choose a depcomp mode which is confused by this.
3934 #
3935 # We need to recreate these files for each test, as the compiler may
3936 # overwrite some of them when testing with obscure command lines.
3937 # This happens at least with the AIX C compiler.
3938 : > sub/conftest.c
3939 for i in 1 2 3 4 5 6; do
3940 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3941 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3942 # Solaris 8's {/usr,}/bin/sh.
3943 touch sub/conftst$i.h
3944 done
3945 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3946
3947 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3948 # mode. It turns out that the SunPro C++ compiler does not properly
3949 # handle `-M -o', and we need to detect this. Also, some Intel
3950 # versions had trouble with output in subdirs
3951 am__obj=sub/conftest.${OBJEXT-o}
3952 am__minus_obj="-o $am__obj"
3953 case $depmode in
3954 gcc)
3955 # This depmode causes a compiler race in universal mode.
3956 test "$am__universal" = false || continue
3957 ;;
3958 nosideeffect)
3959 # after this tag, mechanisms are not by side-effect, so they'll
3960 # only be used when explicitly requested
3961 if test "x$enable_dependency_tracking" = xyes; then
3962 continue
3963 else
3964 break
3965 fi
3966 ;;
3967 msvisualcpp | msvcmsys)
3968 # This compiler won't grok `-c -o', but also, the minuso test has
3969 # not run yet. These depmodes are late enough in the game, and
3970 # so weak that their functioning should not be impacted.
3971 am__obj=conftest.${OBJEXT-o}
3972 am__minus_obj=
3973 ;;
3974 none) break ;;
3975 esac
3976 if depmode=$depmode \
3977 source=sub/conftest.c object=$am__obj \
3978 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3979 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3980 >/dev/null 2>conftest.err &&
3981 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3982 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3983 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3984 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3985 # icc doesn't choke on unknown options, it will just issue warnings
3986 # or remarks (even with -Werror). So we grep stderr for any message
3987 # that says an option was ignored or not supported.
3988 # When given -MP, icc 7.0 and 7.1 complain thusly:
3989 # icc: Command line warning: ignoring option '-M'; no argument required
3990 # The diagnosis changed in icc 8.0:
3991 # icc: Command line remark: option '-MP' not supported
3992 if (grep 'ignoring option' conftest.err ||
3993 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3994 am_cv_CXX_dependencies_compiler_type=$depmode
3995 break
3996 fi
3997 fi
3998 done
3999
4000 cd ..
4001 rm -rf conftest.dir
4002else
4003 am_cv_CXX_dependencies_compiler_type=none
4004fi
4005
4006fi
4007{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4008$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4009CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4010
4011 if
4012 test "x$enable_dependency_tracking" != xno \
4013 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4014 am__fastdepCXX_TRUE=
4015 am__fastdepCXX_FALSE='#'
4016else
4017 am__fastdepCXX_TRUE='#'
4018 am__fastdepCXX_FALSE=
4019fi
4020
4021
4022
4023 case "${host_cpu}" in
4024 x86_64)
4025 BUILD_ARCH_DIR=amd64
4026 INSTALL_ARCH_DIR=amd64
4027 JRE_ARCH_DIR=amd64
4028 ARCHFLAG="-m64"
4029 ;;
4030 i?86)
4031 BUILD_ARCH_DIR=i586
4032 INSTALL_ARCH_DIR=i386
4033 JRE_ARCH_DIR=i386
4034 ARCH_PREFIX=${LINUX32}
4035 ARCHFLAG="-m32"
4036 ;;
4037 alpha*)
4038 BUILD_ARCH_DIR=alpha
4039 INSTALL_ARCH_DIR=alpha
4040 JRE_ARCH_DIR=alpha
4041 ;;
4042 arm*)
4043 BUILD_ARCH_DIR=arm
4044 INSTALL_ARCH_DIR=arm
4045 JRE_ARCH_DIR=arm
4046 ;;
4047 mips)
4048 BUILD_ARCH_DIR=mips
4049 INSTALL_ARCH_DIR=mips
4050 JRE_ARCH_DIR=mips
4051 ;;
4052 mipsel)
4053 BUILD_ARCH_DIR=mipsel
4054 INSTALL_ARCH_DIR=mipsel
4055 JRE_ARCH_DIR=mipsel
4056 ;;
4057 powerpc)
4058 BUILD_ARCH_DIR=ppc
4059 INSTALL_ARCH_DIR=ppc
4060 JRE_ARCH_DIR=ppc
4061 ARCH_PREFIX=${LINUX32}
4062 ARCHFLAG="-m32"
4063 ;;
4064 powerpc64)
4065 BUILD_ARCH_DIR=ppc64
4066 INSTALL_ARCH_DIR=ppc64
4067 JRE_ARCH_DIR=ppc64
4068 ARCHFLAG="-m64"
4069 ;;
4070 sparc)
4071 BUILD_ARCH_DIR=sparc
4072 INSTALL_ARCH_DIR=sparc
4073 JRE_ARCH_DIR=sparc
4074 ARCH_PREFIX=${LINUX32}
4075 ARCHFLAG="-m32"
4076 ;;
4077 sparc64)
4078 BUILD_ARCH_DIR=sparcv9
4079 INSTALL_ARCH_DIR=sparcv9
4080 JRE_ARCH_DIR=sparc64
4081 ARCHFLAG="-m64"
4082 ;;
4083 s390)
4084 BUILD_ARCH_DIR=s390
4085 INSTALL_ARCH_DIR=s390
4086 JRE_ARCH_DIR=s390
4087 ARCH_PREFIX=${LINUX32}
4088 ARCHFLAG="-m31"
4089 ;;
4090 s390x)
4091 BUILD_ARCH_DIR=s390x
4092 INSTALL_ARCH_DIR=s390x
4093 JRE_ARCH_DIR=s390x
4094 ARCHFLAG="-m64"
4095 ;;
4096 sh*)
4097 BUILD_ARCH_DIR=sh
4098 INSTALL_ARCH_DIR=sh
4099 JRE_ARCH_DIR=sh
4100 ;;
4101 *)
4102 BUILD_ARCH_DIR=`uname -m`
4103 INSTALL_ARCH_DIR=$BUILD_ARCH_DIR
4104 JRE_ARCH_DIR=$INSTALL_ARCH_DIR
4105 ;;
4106 esac
4107
4108
4109
4110
4111
4112
4113
4114
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cp supports --reflink" >&5
4116$as_echo_n "checking if cp supports --reflink... " >&6; }
4117if ${it_cv_reflink+:} false; then :
4118 $as_echo_n "(cached) " >&6
4119else
4120
4121 touch tmp.$$
4122 if cp --reflink=auto tmp.$$ tmp2.$$ >&5 2>&1; then
4123 it_cv_reflink=yes;
4124 else
4125 it_cv_reflink=no;
4126 fi
4127 rm -f tmp.$$ tmp2.$$
4128
4129fi
4130{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $it_cv_reflink" >&5
4131$as_echo "$it_cv_reflink" >&6; }
4132 if test x"${it_cv_reflink}" = "xyes"; then
4133 CP_SUPPORTS_REFLINK_TRUE=
4134 CP_SUPPORTS_REFLINK_FALSE='#'
4135else
4136 CP_SUPPORTS_REFLINK_TRUE='#'
4137 CP_SUPPORTS_REFLINK_FALSE=
4138fi
4139
4140
4141
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can hard link rather than copy from ${abs_top_srcdir}" >&5
4143$as_echo_n "checking if we can hard link rather than copy from ${abs_top_srcdir}... " >&6; }
4144if ${it_cv_hardlink_src+:} false; then :
4145 $as_echo_n "(cached) " >&6
4146else
4147
4148 if cp -l ${abs_top_srcdir}/README tmp.$$ >&5 2>&1; then
4149 it_cv_hardlink_src=yes;
4150 else
4151 it_cv_hardlink_src=no;
4152 fi
4153 rm -f tmp.$$
4154
4155fi
4156{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $it_cv_hardlink_src" >&5
4157$as_echo "$it_cv_hardlink_src" >&6; }
4158 if test x"${it_cv_hardlink_src}" = "xyes"; then
4159 SRC_DIR_HARDLINKABLE_TRUE=
4160 SRC_DIR_HARDLINKABLE_FALSE='#'
4161else
4162 SRC_DIR_HARDLINKABLE_TRUE='#'
4163 SRC_DIR_HARDLINKABLE_FALSE=
4164fi
4165
4166
4167
4168{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
4169$as_echo_n "checking whether to build documentation... " >&6; }
4170# Check whether --enable-docs was given.
4171if test "${enable_docs+set}" = set; then :
4172 enableval=$enable_docs; ENABLE_DOCS="${enableval}"
4173else
4174 ENABLE_DOCS='yes'
4175fi
4176
4177 if test x$ENABLE_DOCS = xyes; then
4178 ENABLE_DOCS_TRUE=
4179 ENABLE_DOCS_FALSE='#'
4180else
4181 ENABLE_DOCS_TRUE='#'
4182 ENABLE_DOCS_FALSE=
4183fi
4184
4185{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ENABLE_DOCS}" >&5
4186$as_echo "${ENABLE_DOCS}" >&6; }
4187
4188
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to compile ecj natively" >&5
4190$as_echo_n "checking whether to compile ecj natively... " >&6; }
4191
4192# Check whether --with-gcj was given.
4193if test "${with_gcj+set}" = set; then :
4194 withval=$with_gcj;
4195 GCJ="${withval}"
4196
4197else
4198
4199 GCJ="no"
4200
4201fi
4202
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${GCJ}" >&5
4204$as_echo "${GCJ}" >&6; }
4205 if test "x${GCJ}" = xyes; then
4206 if test -n "$ac_tool_prefix"; then
4207 # Extract the first word of "${ac_tool_prefix}gcj", so it can be a program name with args.
4208set dummy ${ac_tool_prefix}gcj; ac_word=$2
4209{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4210$as_echo_n "checking for $ac_word... " >&6; }
4211if ${ac_cv_path_GCJ+:} false; then :
4212 $as_echo_n "(cached) " >&6
4213else
4214 case $GCJ in
4215 [\\/]* | ?:[\\/]*)
4216 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
4217 ;;
4218 *)
4219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4220for as_dir in $PATH
4221do
4222 IFS=$as_save_IFS
4223 test -z "$as_dir" && as_dir=.
4224 for ac_exec_ext in '' $ac_executable_extensions; do
4225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4226 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
4227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4228 break 2
4229 fi
4230done
4231 done
4232IFS=$as_save_IFS
4233
4234 ;;
4235esac
4236fi
4237GCJ=$ac_cv_path_GCJ
4238if test -n "$GCJ"; then
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ" >&5
4240$as_echo "$GCJ" >&6; }
4241else
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4243$as_echo "no" >&6; }
4244fi
4245
4246
4247fi
4248if test -z "$ac_cv_path_GCJ"; then
4249 ac_pt_GCJ=$GCJ
4250 # Extract the first word of "gcj", so it can be a program name with args.
4251set dummy gcj; ac_word=$2
4252{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4253$as_echo_n "checking for $ac_word... " >&6; }
4254if ${ac_cv_path_ac_pt_GCJ+:} false; then :
4255 $as_echo_n "(cached) " >&6
4256else
4257 case $ac_pt_GCJ in
4258 [\\/]* | ?:[\\/]*)
4259 ac_cv_path_ac_pt_GCJ="$ac_pt_GCJ" # Let the user override the test with a path.
4260 ;;
4261 *)
4262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4263for as_dir in $PATH
4264do
4265 IFS=$as_save_IFS
4266 test -z "$as_dir" && as_dir=.
4267 for ac_exec_ext in '' $ac_executable_extensions; do
4268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4269 ac_cv_path_ac_pt_GCJ="$as_dir/$ac_word$ac_exec_ext"
4270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4271 break 2
4272 fi
4273done
4274 done
4275IFS=$as_save_IFS
4276
4277 ;;
4278esac
4279fi
4280ac_pt_GCJ=$ac_cv_path_ac_pt_GCJ
4281if test -n "$ac_pt_GCJ"; then
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_GCJ" >&5
4283$as_echo "$ac_pt_GCJ" >&6; }
4284else
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4286$as_echo "no" >&6; }
4287fi
4288
4289 if test "x$ac_pt_GCJ" = x; then
4290 GCJ=""
4291 else
4292 case $cross_compiling:$ac_tool_warned in
4293yes:)
4294{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4295$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4296ac_tool_warned=yes ;;
4297esac
4298 GCJ=$ac_pt_GCJ
4299 fi
4300else
4301 GCJ="$ac_cv_path_GCJ"
4302fi
4303
4304 fi
4305
4306
4307if test -n "$ac_tool_prefix"; then
4308 # Extract the first word of "${ac_tool_prefix}zip", so it can be a program name with args.
4309set dummy ${ac_tool_prefix}zip; ac_word=$2
4310{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4311$as_echo_n "checking for $ac_word... " >&6; }
4312if ${ac_cv_path_ZIP+:} false; then :
4313 $as_echo_n "(cached) " >&6
4314else
4315 case $ZIP in
4316 [\\/]* | ?:[\\/]*)
4317 ac_cv_path_ZIP="$ZIP" # Let the user override the test with a path.
4318 ;;
4319 *)
4320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4321for as_dir in $PATH
4322do
4323 IFS=$as_save_IFS
4324 test -z "$as_dir" && as_dir=.
4325 for ac_exec_ext in '' $ac_executable_extensions; do
4326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4327 ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext"
4328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4329 break 2
4330 fi
4331done
4332 done
4333IFS=$as_save_IFS
4334
4335 ;;
4336esac
4337fi
4338ZIP=$ac_cv_path_ZIP
4339if test -n "$ZIP"; then
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ZIP" >&5
4341$as_echo "$ZIP" >&6; }
4342else
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4344$as_echo "no" >&6; }
4345fi
4346
4347
4348fi
4349if test -z "$ac_cv_path_ZIP"; then
4350 ac_pt_ZIP=$ZIP
4351 # Extract the first word of "zip", so it can be a program name with args.
4352set dummy zip; ac_word=$2
4353{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4354$as_echo_n "checking for $ac_word... " >&6; }
4355if ${ac_cv_path_ac_pt_ZIP+:} false; then :
4356 $as_echo_n "(cached) " >&6
4357else
4358 case $ac_pt_ZIP in
4359 [\\/]* | ?:[\\/]*)
4360 ac_cv_path_ac_pt_ZIP="$ac_pt_ZIP" # Let the user override the test with a path.
4361 ;;
4362 *)
4363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4364for as_dir in $PATH
4365do
4366 IFS=$as_save_IFS
4367 test -z "$as_dir" && as_dir=.
4368 for ac_exec_ext in '' $ac_executable_extensions; do
4369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4370 ac_cv_path_ac_pt_ZIP="$as_dir/$ac_word$ac_exec_ext"
4371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4372 break 2
4373 fi
4374done
4375 done
4376IFS=$as_save_IFS
4377
4378 ;;
4379esac
4380fi
4381ac_pt_ZIP=$ac_cv_path_ac_pt_ZIP
4382if test -n "$ac_pt_ZIP"; then
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_ZIP" >&5
4384$as_echo "$ac_pt_ZIP" >&6; }
4385else
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4387$as_echo "no" >&6; }
4388fi
4389
4390 if test "x$ac_pt_ZIP" = x; then
4391 ZIP=""
4392 else
4393 case $cross_compiling:$ac_tool_warned in
4394yes:)
4395{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4396$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4397ac_tool_warned=yes ;;
4398esac
4399 ZIP=$ac_pt_ZIP
4400 fi
4401else
4402 ZIP="$ac_cv_path_ZIP"
4403fi
4404
4405 if test x"$ZIP" = x ; then
4406 as_fn_error $? "zip program not found in PATH" "$LINENO" 5
4407 fi
4408
4409
4410
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a JDK home directory" >&5
4412$as_echo_n "checking for a JDK home directory... " >&6; }
4413
4414# Check whether --with-jdk-home was given.
4415if test "${with_jdk_home+set}" = set; then :
4416 withval=$with_jdk_home;
4417 if test "x${withval}" = xyes
4418 then
4419 SYSTEM_JDK_DIR=
4420 elif test "x${withval}" = xno
4421 then
4422 SYSTEM_JDK_DIR=
4423 else
4424 SYSTEM_JDK_DIR=${withval}
4425 fi
4426
4427else
4428
4429 SYSTEM_JDK_DIR=
4430
4431fi
4432
4433 if test -z "${SYSTEM_JDK_DIR}"; then
4434 for dir in /usr/lib/jvm/java-openjdk /usr/lib/jvm/icedtea6 \
4435 /usr/lib/jvm/java-6-openjdk /usr/lib/jvm/openjdk \
4436 /usr/lib/jvm/java-icedtea /usr/lib/jvm/java-gcj /usr/lib/jvm/gcj-jdk \
4437 /usr/lib/jvm/cacao ; do
4438 if test -d $dir; then
4439 SYSTEM_JDK_DIR=$dir
4440 break
4441 fi
4442 done
4443 fi
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${SYSTEM_JDK_DIR}" >&5
4445$as_echo "${SYSTEM_JDK_DIR}" >&6; }
4446 if ! test -d "${SYSTEM_JDK_DIR}"; then
4447 as_fn_error $? "\"A JDK home directory could not be found.\"" "$LINENO" 5
4448 fi
4449
4450
4451
4452
4453 JAVAC=${SYSTEM_JDK_DIR}/bin/javac
4454
4455
4456# Check whether --with-javac was given.
4457if test "${with_javac+set}" = set; then :
4458 withval=$with_javac;
4459 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
4460
4461 if test "x${withval}" != x; then
4462 if test -f "${withval}"; then
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for javac" >&5
4464$as_echo_n "checking for javac... " >&6; }
4465 JAVAC="${withval}"
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${JAVAC}" >&5
4467$as_echo "${JAVAC}" >&6; }
4468 else
4469 # Extract the first word of ""${withval}"", so it can be a program name with args.
4470set dummy "${withval}"; ac_word=$2
4471{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4472$as_echo_n "checking for $ac_word... " >&6; }
4473if ${ac_cv_path_JAVAC+:} false; then :
4474 $as_echo_n "(cached) " >&6
4475else
4476 case $JAVAC in
4477 [\\/]* | ?:[\\/]*)
4478 ac_cv_path_JAVAC="$JAVAC" # Let the user override the test with a path.
4479 ;;
4480 *)
4481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4482for as_dir in $PATH
4483do
4484 IFS=$as_save_IFS
4485 test -z "$as_dir" && as_dir=.
4486 for ac_exec_ext in '' $ac_executable_extensions; do
4487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4488 ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext"
4489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4490 break 2
4491 fi
4492done
4493 done
4494IFS=$as_save_IFS
4495
4496 ;;
4497esac
4498fi
4499JAVAC=$ac_cv_path_JAVAC
4500if test -n "$JAVAC"; then
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
4502$as_echo "$JAVAC" >&6; }
4503else
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4505$as_echo "no" >&6; }
4506fi
4507
4508
4509 fi
4510 else
4511 # Extract the first word of ""javac"", so it can be a program name with args.
4512set dummy "javac"; ac_word=$2
4513{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4514$as_echo_n "checking for $ac_word... " >&6; }
4515if ${ac_cv_path_JAVAC+:} false; then :
4516 $as_echo_n "(cached) " >&6
4517else
4518 case $JAVAC in
4519 [\\/]* | ?:[\\/]*)
4520 ac_cv_path_JAVAC="$JAVAC" # Let the user override the test with a path.
4521 ;;
4522 *)
4523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4524for as_dir in $PATH
4525do
4526 IFS=$as_save_IFS
4527 test -z "$as_dir" && as_dir=.
4528 for ac_exec_ext in '' $ac_executable_extensions; do
4529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4530 ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext"
4531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4532 break 2
4533 fi
4534done
4535 done
4536IFS=$as_save_IFS
4537
4538 ;;
4539esac
4540fi
4541JAVAC=$ac_cv_path_JAVAC
4542if test -n "$JAVAC"; then
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
4544$as_echo "$JAVAC" >&6; }
4545else
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4547$as_echo "no" >&6; }
4548fi
4549
4550
4551 fi
4552
4553 else
4554 if test "x${withval}" != xno; then
4555
4556 if test "x" != x; then
4557 if test -f ""; then
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for javac" >&5
4559$as_echo_n "checking for javac... " >&6; }
4560 JAVAC=""
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${JAVAC}" >&5
4562$as_echo "${JAVAC}" >&6; }
4563 else
4564 # Extract the first word of """", so it can be a program name with args.
4565set dummy ""; ac_word=$2
4566{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4567$as_echo_n "checking for $ac_word... " >&6; }
4568if ${ac_cv_path_JAVAC+:} false; then :
4569 $as_echo_n "(cached) " >&6
4570else
4571 case $JAVAC in
4572 [\\/]* | ?:[\\/]*)
4573 ac_cv_path_JAVAC="$JAVAC" # Let the user override the test with a path.
4574 ;;
4575 *)
4576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4577for as_dir in $PATH
4578do
4579 IFS=$as_save_IFS
4580 test -z "$as_dir" && as_dir=.
4581 for ac_exec_ext in '' $ac_executable_extensions; do
4582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4583 ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext"
4584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4585 break 2
4586 fi
4587done
4588 done
4589IFS=$as_save_IFS
4590
4591 ;;
4592esac
4593fi
4594JAVAC=$ac_cv_path_JAVAC
4595if test -n "$JAVAC"; then
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
4597$as_echo "$JAVAC" >&6; }
4598else
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4600$as_echo "no" >&6; }
4601fi
4602
4603
4604 fi
4605 else
4606 # Extract the first word of ""javac"", so it can be a program name with args.
4607set dummy "javac"; ac_word=$2
4608{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4609$as_echo_n "checking for $ac_word... " >&6; }
4610if ${ac_cv_path_JAVAC+:} false; then :
4611 $as_echo_n "(cached) " >&6
4612else
4613 case $JAVAC in
4614 [\\/]* | ?:[\\/]*)
4615 ac_cv_path_JAVAC="$JAVAC" # Let the user override the test with a path.
4616 ;;
4617 *)
4618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4619for as_dir in $PATH
4620do
4621 IFS=$as_save_IFS
4622 test -z "$as_dir" && as_dir=.
4623 for ac_exec_ext in '' $ac_executable_extensions; do
4624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4625 ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext"
4626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4627 break 2
4628 fi
4629done
4630 done
4631IFS=$as_save_IFS
4632
4633 ;;
4634esac
4635fi
4636JAVAC=$ac_cv_path_JAVAC
4637if test -n "$JAVAC"; then
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
4639$as_echo "$JAVAC" >&6; }
4640else
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4642$as_echo "no" >&6; }
4643fi
4644
4645
4646 fi
4647
4648 fi
4649 fi
4650
4651else
4652
4653
4654 if test "x" != x; then
4655 if test -f ""; then
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for javac" >&5
4657$as_echo_n "checking for javac... " >&6; }
4658 JAVAC=""
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${JAVAC}" >&5
4660$as_echo "${JAVAC}" >&6; }
4661 else
4662 # Extract the first word of """", so it can be a program name with args.
4663set dummy ""; ac_word=$2
4664{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4665$as_echo_n "checking for $ac_word... " >&6; }
4666if ${ac_cv_path_JAVAC+:} false; then :
4667 $as_echo_n "(cached) " >&6
4668else
4669 case $JAVAC in
4670 [\\/]* | ?:[\\/]*)
4671 ac_cv_path_JAVAC="$JAVAC" # Let the user override the test with a path.
4672 ;;
4673 *)
4674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4675for as_dir in $PATH
4676do
4677 IFS=$as_save_IFS
4678 test -z "$as_dir" && as_dir=.
4679 for ac_exec_ext in '' $ac_executable_extensions; do
4680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4681 ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext"
4682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4683 break 2
4684 fi
4685done
4686 done
4687IFS=$as_save_IFS
4688
4689 ;;
4690esac
4691fi
4692JAVAC=$ac_cv_path_JAVAC
4693if test -n "$JAVAC"; then
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
4695$as_echo "$JAVAC" >&6; }
4696else
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4698$as_echo "no" >&6; }
4699fi
4700
4701
4702 fi
4703 else
4704 # Extract the first word of ""javac"", so it can be a program name with args.
4705set dummy "javac"; ac_word=$2
4706{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4707$as_echo_n "checking for $ac_word... " >&6; }
4708if ${ac_cv_path_JAVAC+:} false; then :
4709 $as_echo_n "(cached) " >&6
4710else
4711 case $JAVAC in
4712 [\\/]* | ?:[\\/]*)
4713 ac_cv_path_JAVAC="$JAVAC" # Let the user override the test with a path.
4714 ;;
4715 *)
4716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4717for as_dir in $PATH
4718do
4719 IFS=$as_save_IFS
4720 test -z "$as_dir" && as_dir=.
4721 for ac_exec_ext in '' $ac_executable_extensions; do
4722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4723 ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext"
4724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4725 break 2
4726 fi
4727done
4728 done
4729IFS=$as_save_IFS
4730
4731 ;;
4732esac
4733fi
4734JAVAC=$ac_cv_path_JAVAC
4735if test -n "$JAVAC"; then
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
4737$as_echo "$JAVAC" >&6; }
4738else
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4740$as_echo "no" >&6; }
4741fi
4742
4743
4744 fi
4745
4746
4747fi
4748
4749
4750
4751
4752# Check whether --with-ecj was given.
4753if test "${with_ecj+set}" = set; then :
4754 withval=$with_ecj;
4755 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
4756
4757 if test "x${withval}" != x; then
4758 if test -f "${withval}"; then
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ecj" >&5
4760$as_echo_n "checking for ecj... " >&6; }
4761 ECJ="${withval}"
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ECJ}" >&5
4763$as_echo "${ECJ}" >&6; }
4764 else
4765 # Extract the first word of ""${withval}"", so it can be a program name with args.
4766set dummy "${withval}"; ac_word=$2
4767{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4768$as_echo_n "checking for $ac_word... " >&6; }
4769if ${ac_cv_path_ECJ+:} false; then :
4770 $as_echo_n "(cached) " >&6
4771else
4772 case $ECJ in
4773 [\\/]* | ?:[\\/]*)
4774 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
4775 ;;
4776 *)
4777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4778for as_dir in $PATH
4779do
4780 IFS=$as_save_IFS
4781 test -z "$as_dir" && as_dir=.
4782 for ac_exec_ext in '' $ac_executable_extensions; do
4783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4784 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
4785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4786 break 2
4787 fi
4788done
4789 done
4790IFS=$as_save_IFS
4791
4792 ;;
4793esac
4794fi
4795ECJ=$ac_cv_path_ECJ
4796if test -n "$ECJ"; then
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECJ" >&5
4798$as_echo "$ECJ" >&6; }
4799else
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4801$as_echo "no" >&6; }
4802fi
4803
4804
4805 fi
4806 else
4807 # Extract the first word of ""ecj"", so it can be a program name with args.
4808set dummy "ecj"; ac_word=$2
4809{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4810$as_echo_n "checking for $ac_word... " >&6; }
4811if ${ac_cv_path_ECJ+:} false; then :
4812 $as_echo_n "(cached) " >&6
4813else
4814 case $ECJ in
4815 [\\/]* | ?:[\\/]*)
4816 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
4817 ;;
4818 *)
4819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4820for as_dir in $PATH
4821do
4822 IFS=$as_save_IFS
4823 test -z "$as_dir" && as_dir=.
4824 for ac_exec_ext in '' $ac_executable_extensions; do
4825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4826 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
4827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4828 break 2
4829 fi
4830done
4831 done
4832IFS=$as_save_IFS
4833
4834 ;;
4835esac
4836fi
4837ECJ=$ac_cv_path_ECJ
4838if test -n "$ECJ"; then
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECJ" >&5
4840$as_echo "$ECJ" >&6; }
4841else
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4843$as_echo "no" >&6; }
4844fi
4845
4846
4847 if test -z "${ECJ}"; then
4848 # Extract the first word of ""ecj-3.1"", so it can be a program name with args.
4849set dummy "ecj-3.1"; ac_word=$2
4850{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4851$as_echo_n "checking for $ac_word... " >&6; }
4852if ${ac_cv_path_ECJ+:} false; then :
4853 $as_echo_n "(cached) " >&6
4854else
4855 case $ECJ in
4856 [\\/]* | ?:[\\/]*)
4857 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
4858 ;;
4859 *)
4860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4861for as_dir in $PATH
4862do
4863 IFS=$as_save_IFS
4864 test -z "$as_dir" && as_dir=.
4865 for ac_exec_ext in '' $ac_executable_extensions; do
4866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4867 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
4868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4869 break 2
4870 fi
4871done
4872 done
4873IFS=$as_save_IFS
4874
4875 ;;
4876esac
4877fi
4878ECJ=$ac_cv_path_ECJ
4879if test -n "$ECJ"; then
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECJ" >&5
4881$as_echo "$ECJ" >&6; }
4882else
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4884$as_echo "no" >&6; }
4885fi
4886
4887
4888 fi
4889 if test -z "${ECJ}"; then
4890 # Extract the first word of ""ecj-3.2"", so it can be a program name with args.
4891set dummy "ecj-3.2"; ac_word=$2
4892{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4893$as_echo_n "checking for $ac_word... " >&6; }
4894if ${ac_cv_path_ECJ+:} false; then :
4895 $as_echo_n "(cached) " >&6
4896else
4897 case $ECJ in
4898 [\\/]* | ?:[\\/]*)
4899 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
4900 ;;
4901 *)
4902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4903for as_dir in $PATH
4904do
4905 IFS=$as_save_IFS
4906 test -z "$as_dir" && as_dir=.
4907 for ac_exec_ext in '' $ac_executable_extensions; do
4908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4909 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
4910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4911 break 2
4912 fi
4913done
4914 done
4915IFS=$as_save_IFS
4916
4917 ;;
4918esac
4919fi
4920ECJ=$ac_cv_path_ECJ
4921if test -n "$ECJ"; then
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECJ" >&5
4923$as_echo "$ECJ" >&6; }
4924else
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4926$as_echo "no" >&6; }
4927fi
4928
4929
4930 fi
4931 if test -z "${ECJ}"; then
4932 # Extract the first word of ""ecj-3.3"", so it can be a program name with args.
4933set dummy "ecj-3.3"; ac_word=$2
4934{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4935$as_echo_n "checking for $ac_word... " >&6; }
4936if ${ac_cv_path_ECJ+:} false; then :
4937 $as_echo_n "(cached) " >&6
4938else
4939 case $ECJ in
4940 [\\/]* | ?:[\\/]*)
4941 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
4942 ;;
4943 *)
4944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4945for as_dir in $PATH
4946do
4947 IFS=$as_save_IFS
4948 test -z "$as_dir" && as_dir=.
4949 for ac_exec_ext in '' $ac_executable_extensions; do
4950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4951 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
4952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4953 break 2
4954 fi
4955done
4956 done
4957IFS=$as_save_IFS
4958
4959 ;;
4960esac
4961fi
4962ECJ=$ac_cv_path_ECJ
4963if test -n "$ECJ"; then
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECJ" >&5
4965$as_echo "$ECJ" >&6; }
4966else
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4968$as_echo "no" >&6; }
4969fi
4970
4971
4972 fi
4973 fi
4974
4975 else
4976 if test "x${withval}" != xno; then
4977
4978 if test "x" != x; then
4979 if test -f ""; then
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ecj" >&5
4981$as_echo_n "checking for ecj... " >&6; }
4982 ECJ=""
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ECJ}" >&5
4984$as_echo "${ECJ}" >&6; }
4985 else
4986 # Extract the first word of """", so it can be a program name with args.
4987set dummy ""; ac_word=$2
4988{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4989$as_echo_n "checking for $ac_word... " >&6; }
4990if ${ac_cv_path_ECJ+:} false; then :
4991 $as_echo_n "(cached) " >&6
4992else
4993 case $ECJ in
4994 [\\/]* | ?:[\\/]*)
4995 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
4996 ;;
4997 *)
4998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4999for as_dir in $PATH
5000do
5001 IFS=$as_save_IFS
5002 test -z "$as_dir" && as_dir=.
5003 for ac_exec_ext in '' $ac_executable_extensions; do
5004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5005 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
5006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5007 break 2
5008 fi
5009done
5010 done
5011IFS=$as_save_IFS
5012
5013 ;;
5014esac
5015fi
5016ECJ=$ac_cv_path_ECJ
5017if test -n "$ECJ"; then
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECJ" >&5
5019$as_echo "$ECJ" >&6; }
5020else
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5022$as_echo "no" >&6; }
5023fi
5024
5025
5026 fi
5027 else
5028 # Extract the first word of ""ecj"", so it can be a program name with args.
5029set dummy "ecj"; ac_word=$2
5030{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5031$as_echo_n "checking for $ac_word... " >&6; }
5032if ${ac_cv_path_ECJ+:} false; then :
5033 $as_echo_n "(cached) " >&6
5034else
5035 case $ECJ in
5036 [\\/]* | ?:[\\/]*)
5037 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
5038 ;;
5039 *)
5040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5041for as_dir in $PATH
5042do
5043 IFS=$as_save_IFS
5044 test -z "$as_dir" && as_dir=.
5045 for ac_exec_ext in '' $ac_executable_extensions; do
5046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5047 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
5048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5049 break 2
5050 fi
5051done
5052 done
5053IFS=$as_save_IFS
5054
5055 ;;
5056esac
5057fi
5058ECJ=$ac_cv_path_ECJ
5059if test -n "$ECJ"; then
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECJ" >&5
5061$as_echo "$ECJ" >&6; }
5062else
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5064$as_echo "no" >&6; }
5065fi
5066
5067
5068 if test -z "${ECJ}"; then
5069 # Extract the first word of ""ecj-3.1"", so it can be a program name with args.
5070set dummy "ecj-3.1"; ac_word=$2
5071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5072$as_echo_n "checking for $ac_word... " >&6; }
5073if ${ac_cv_path_ECJ+:} false; then :
5074 $as_echo_n "(cached) " >&6
5075else
5076 case $ECJ in
5077 [\\/]* | ?:[\\/]*)
5078 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
5079 ;;
5080 *)
5081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5082for as_dir in $PATH
5083do
5084 IFS=$as_save_IFS
5085 test -z "$as_dir" && as_dir=.
5086 for ac_exec_ext in '' $ac_executable_extensions; do
5087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5088 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
5089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5090 break 2
5091 fi
5092done
5093 done
5094IFS=$as_save_IFS
5095
5096 ;;
5097esac
5098fi
5099ECJ=$ac_cv_path_ECJ
5100if test -n "$ECJ"; then
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECJ" >&5
5102$as_echo "$ECJ" >&6; }
5103else
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5105$as_echo "no" >&6; }
5106fi
5107
5108
5109 fi
5110 if test -z "${ECJ}"; then
5111 # Extract the first word of ""ecj-3.2"", so it can be a program name with args.
5112set dummy "ecj-3.2"; ac_word=$2
5113{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5114$as_echo_n "checking for $ac_word... " >&6; }
5115if ${ac_cv_path_ECJ+:} false; then :
5116 $as_echo_n "(cached) " >&6
5117else
5118 case $ECJ in
5119 [\\/]* | ?:[\\/]*)
5120 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
5121 ;;
5122 *)
5123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5124for as_dir in $PATH
5125do
5126 IFS=$as_save_IFS
5127 test -z "$as_dir" && as_dir=.
5128 for ac_exec_ext in '' $ac_executable_extensions; do
5129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5130 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
5131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5132 break 2
5133 fi
5134done
5135 done
5136IFS=$as_save_IFS
5137
5138 ;;
5139esac
5140fi
5141ECJ=$ac_cv_path_ECJ
5142if test -n "$ECJ"; then
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECJ" >&5
5144$as_echo "$ECJ" >&6; }
5145else
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5147$as_echo "no" >&6; }
5148fi
5149
5150
5151 fi
5152 if test -z "${ECJ}"; then
5153 # Extract the first word of ""ecj-3.3"", so it can be a program name with args.
5154set dummy "ecj-3.3"; ac_word=$2
5155{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5156$as_echo_n "checking for $ac_word... " >&6; }
5157if ${ac_cv_path_ECJ+:} false; then :
5158 $as_echo_n "(cached) " >&6
5159else
5160 case $ECJ in
5161 [\\/]* | ?:[\\/]*)
5162 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
5163 ;;
5164 *)
5165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5166for as_dir in $PATH
5167do
5168 IFS=$as_save_IFS
5169 test -z "$as_dir" && as_dir=.
5170 for ac_exec_ext in '' $ac_executable_extensions; do
5171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5172 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
5173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5174 break 2
5175 fi
5176done
5177 done
5178IFS=$as_save_IFS
5179
5180 ;;
5181esac
5182fi
5183ECJ=$ac_cv_path_ECJ
5184if test -n "$ECJ"; then
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECJ" >&5
5186$as_echo "$ECJ" >&6; }
5187else
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5189$as_echo "no" >&6; }
5190fi
5191
5192
5193 fi
5194 fi
5195
5196 fi
5197 fi
5198
5199else
5200
5201
5202 if test "x" != x; then
5203 if test -f ""; then
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ecj" >&5
5205$as_echo_n "checking for ecj... " >&6; }
5206 ECJ=""
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ECJ}" >&5
5208$as_echo "${ECJ}" >&6; }
5209 else
5210 # Extract the first word of """", so it can be a program name with args.
5211set dummy ""; ac_word=$2
5212{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5213$as_echo_n "checking for $ac_word... " >&6; }
5214if ${ac_cv_path_ECJ+:} false; then :
5215 $as_echo_n "(cached) " >&6
5216else
5217 case $ECJ in
5218 [\\/]* | ?:[\\/]*)
5219 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
5220 ;;
5221 *)
5222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5223for as_dir in $PATH
5224do
5225 IFS=$as_save_IFS
5226 test -z "$as_dir" && as_dir=.
5227 for ac_exec_ext in '' $ac_executable_extensions; do
5228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5229 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
5230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5231 break 2
5232 fi
5233done
5234 done
5235IFS=$as_save_IFS
5236
5237 ;;
5238esac
5239fi
5240ECJ=$ac_cv_path_ECJ
5241if test -n "$ECJ"; then
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECJ" >&5
5243$as_echo "$ECJ" >&6; }
5244else
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5246$as_echo "no" >&6; }
5247fi
5248
5249
5250 fi
5251 else
5252 # Extract the first word of ""ecj"", so it can be a program name with args.
5253set dummy "ecj"; ac_word=$2
5254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5255$as_echo_n "checking for $ac_word... " >&6; }
5256if ${ac_cv_path_ECJ+:} false; then :
5257 $as_echo_n "(cached) " >&6
5258else
5259 case $ECJ in
5260 [\\/]* | ?:[\\/]*)
5261 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
5262 ;;
5263 *)
5264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5265for as_dir in $PATH
5266do
5267 IFS=$as_save_IFS
5268 test -z "$as_dir" && as_dir=.
5269 for ac_exec_ext in '' $ac_executable_extensions; do
5270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5271 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
5272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5273 break 2
5274 fi
5275done
5276 done
5277IFS=$as_save_IFS
5278
5279 ;;
5280esac
5281fi
5282ECJ=$ac_cv_path_ECJ
5283if test -n "$ECJ"; then
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECJ" >&5
5285$as_echo "$ECJ" >&6; }
5286else
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5288$as_echo "no" >&6; }
5289fi
5290
5291
5292 if test -z "${ECJ}"; then
5293 # Extract the first word of ""ecj-3.1"", so it can be a program name with args.
5294set dummy "ecj-3.1"; ac_word=$2
5295{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5296$as_echo_n "checking for $ac_word... " >&6; }
5297if ${ac_cv_path_ECJ+:} false; then :
5298 $as_echo_n "(cached) " >&6
5299else
5300 case $ECJ in
5301 [\\/]* | ?:[\\/]*)
5302 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
5303 ;;
5304 *)
5305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5306for as_dir in $PATH
5307do
5308 IFS=$as_save_IFS
5309 test -z "$as_dir" && as_dir=.
5310 for ac_exec_ext in '' $ac_executable_extensions; do
5311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5312 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
5313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5314 break 2
5315 fi
5316done
5317 done
5318IFS=$as_save_IFS
5319
5320 ;;
5321esac
5322fi
5323ECJ=$ac_cv_path_ECJ
5324if test -n "$ECJ"; then
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECJ" >&5
5326$as_echo "$ECJ" >&6; }
5327else
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5329$as_echo "no" >&6; }
5330fi
5331
5332
5333 fi
5334 if test -z "${ECJ}"; then
5335 # Extract the first word of ""ecj-3.2"", so it can be a program name with args.
5336set dummy "ecj-3.2"; ac_word=$2
5337{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5338$as_echo_n "checking for $ac_word... " >&6; }
5339if ${ac_cv_path_ECJ+:} false; then :
5340 $as_echo_n "(cached) " >&6
5341else
5342 case $ECJ in
5343 [\\/]* | ?:[\\/]*)
5344 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
5345 ;;
5346 *)
5347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5348for as_dir in $PATH
5349do
5350 IFS=$as_save_IFS
5351 test -z "$as_dir" && as_dir=.
5352 for ac_exec_ext in '' $ac_executable_extensions; do
5353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5354 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
5355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5356 break 2
5357 fi
5358done
5359 done
5360IFS=$as_save_IFS
5361
5362 ;;
5363esac
5364fi
5365ECJ=$ac_cv_path_ECJ
5366if test -n "$ECJ"; then
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECJ" >&5
5368$as_echo "$ECJ" >&6; }
5369else
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5371$as_echo "no" >&6; }
5372fi
5373
5374
5375 fi
5376 if test -z "${ECJ}"; then
5377 # Extract the first word of ""ecj-3.3"", so it can be a program name with args.
5378set dummy "ecj-3.3"; ac_word=$2
5379{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5380$as_echo_n "checking for $ac_word... " >&6; }
5381if ${ac_cv_path_ECJ+:} false; then :
5382 $as_echo_n "(cached) " >&6
5383else
5384 case $ECJ in
5385 [\\/]* | ?:[\\/]*)
5386 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
5387 ;;
5388 *)
5389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5390for as_dir in $PATH
5391do
5392 IFS=$as_save_IFS
5393 test -z "$as_dir" && as_dir=.
5394 for ac_exec_ext in '' $ac_executable_extensions; do
5395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5396 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
5397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5398 break 2
5399 fi
5400done
5401 done
5402IFS=$as_save_IFS
5403
5404 ;;
5405esac
5406fi
5407ECJ=$ac_cv_path_ECJ
5408if test -n "$ECJ"; then
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECJ" >&5
5410$as_echo "$ECJ" >&6; }
5411else
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5413$as_echo "no" >&6; }
5414fi
5415
5416
5417 fi
5418 fi
5419
5420
5421fi
5422
5423 if test "x${JAVAC}" = "x"; then
5424 if test "x{ECJ}" != "x"; then
5425 JAVAC="${ECJ} -nowarn"
5426 fi
5427 fi
5428
5429
5430{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we are using ecj as javac" >&5
5431$as_echo_n "checking if we are using ecj as javac... " >&6; }
5432if ${it_cv_ecj+:} false; then :
5433 $as_echo_n "(cached) " >&6
5434else
5435
5436if $JAVAC -version 2>&1| grep '^Eclipse' >&5 ; then
5437 it_cv_ecj=yes;
5438else
5439 it_cv_ecj=no;
5440fi
5441
5442fi
5443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $it_cv_ecj" >&5
5444$as_echo "$it_cv_ecj" >&6; }
5445USING_ECJ=$it_cv_ecj
5446
5447
5448
5449
5450
5451
5452
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jar" >&5
5454$as_echo_n "checking for jar... " >&6; }
5455
5456# Check whether --with-jar was given.
5457if test "${with_jar+set}" = set; then :
5458 withval=$with_jar;
5459 JAR="${withval}"
5460
5461else
5462
5463 JAR=${SYSTEM_JDK_DIR}/bin/jar
5464
5465fi
5466
5467 if ! test -f "${JAR}"; then
5468 # Extract the first word of ""${JAR}"", so it can be a program name with args.
5469set dummy "${JAR}"; ac_word=$2
5470{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5471$as_echo_n "checking for $ac_word... " >&6; }
5472if ${ac_cv_path_JAR+:} false; then :
5473 $as_echo_n "(cached) " >&6
5474else
5475 case $JAR in
5476 [\\/]* | ?:[\\/]*)
5477 ac_cv_path_JAR="$JAR" # Let the user override the test with a path.
5478 ;;
5479 *)
5480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5481for as_dir in $PATH
5482do
5483 IFS=$as_save_IFS
5484 test -z "$as_dir" && as_dir=.
5485 for ac_exec_ext in '' $ac_executable_extensions; do
5486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5487 ac_cv_path_JAR="$as_dir/$ac_word$ac_exec_ext"
5488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5489 break 2
5490 fi
5491done
5492 done
5493IFS=$as_save_IFS
5494
5495 ;;
5496esac
5497fi
5498JAR=$ac_cv_path_JAR
5499if test -n "$JAR"; then
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAR" >&5
5501$as_echo "$JAR" >&6; }
5502else
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5504$as_echo "no" >&6; }
5505fi
5506
5507
5508 fi
5509 if test -z "${JAR}"; then
5510 # Extract the first word of ""gjar"", so it can be a program name with args.
5511set dummy "gjar"; ac_word=$2
5512{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5513$as_echo_n "checking for $ac_word... " >&6; }
5514if ${ac_cv_path_JAR+:} false; then :
5515 $as_echo_n "(cached) " >&6
5516else
5517 case $JAR in
5518 [\\/]* | ?:[\\/]*)
5519 ac_cv_path_JAR="$JAR" # Let the user override the test with a path.
5520 ;;
5521 *)
5522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5523for as_dir in $PATH
5524do
5525 IFS=$as_save_IFS
5526 test -z "$as_dir" && as_dir=.
5527 for ac_exec_ext in '' $ac_executable_extensions; do
5528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5529 ac_cv_path_JAR="$as_dir/$ac_word$ac_exec_ext"
5530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5531 break 2
5532 fi
5533done
5534 done
5535IFS=$as_save_IFS
5536
5537 ;;
5538esac
5539fi
5540JAR=$ac_cv_path_JAR
5541if test -n "$JAR"; then
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAR" >&5
5543$as_echo "$JAR" >&6; }
5544else
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5546$as_echo "no" >&6; }
5547fi
5548
5549
5550 fi
5551 if test -z "${JAR}"; then
5552 # Extract the first word of ""jar"", so it can be a program name with args.
5553set dummy "jar"; ac_word=$2
5554{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5555$as_echo_n "checking for $ac_word... " >&6; }
5556if ${ac_cv_path_JAR+:} false; then :
5557 $as_echo_n "(cached) " >&6
5558else
5559 case $JAR in
5560 [\\/]* | ?:[\\/]*)
5561 ac_cv_path_JAR="$JAR" # Let the user override the test with a path.
5562 ;;
5563 *)
5564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5565for as_dir in $PATH
5566do
5567 IFS=$as_save_IFS
5568 test -z "$as_dir" && as_dir=.
5569 for ac_exec_ext in '' $ac_executable_extensions; do
5570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5571 ac_cv_path_JAR="$as_dir/$ac_word$ac_exec_ext"
5572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5573 break 2
5574 fi
5575done
5576 done
5577IFS=$as_save_IFS
5578
5579 ;;
5580esac
5581fi
5582JAR=$ac_cv_path_JAR
5583if test -n "$JAR"; then
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAR" >&5
5585$as_echo "$JAR" >&6; }
5586else
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5588$as_echo "no" >&6; }
5589fi
5590
5591
5592 fi
5593 if test -z "${JAR}"; then
5594 as_fn_error $? "\"No Java archive tool was found.\"" "$LINENO" 5
5595 fi
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${JAR}" >&5
5597$as_echo "${JAR}" >&6; }
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether jar supports @<file> argument" >&5
5599$as_echo_n "checking whether jar supports @<file> argument... " >&6; }
5600 touch _config.txt
5601 cat >_config.list <<EOF
5602_config.txt
5603EOF
5604 if $JAR cf _config.jar @_config.list >&5 2>&1; then
5605 JAR_KNOWS_ATFILE=1
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5607$as_echo "yes" >&6; }
5608 else
5609 JAR_KNOWS_ATFILE=
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5611$as_echo "no" >&6; }
5612 fi
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether jar supports stdin file arguments" >&5
5614$as_echo_n "checking whether jar supports stdin file arguments... " >&6; }
5615 if cat _config.list | $JAR cf@ _config.jar >&5 2>&1; then
5616 JAR_ACCEPTS_STDIN_LIST=1
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5618$as_echo "yes" >&6; }
5619 else
5620 JAR_ACCEPTS_STDIN_LIST=
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5622$as_echo "no" >&6; }
5623 fi
5624 rm -f _config.list _config.jar
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether jar supports -J options at the end" >&5
5626$as_echo_n "checking whether jar supports -J options at the end... " >&6; }
5627 if $JAR cf _config.jar _config.txt -J-Xmx896m >&5 2>&1; then
5628 JAR_KNOWS_J_OPTIONS=1
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5630$as_echo "yes" >&6; }
5631 else
5632 JAR_KNOWS_J_OPTIONS=
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5634$as_echo "no" >&6; }
5635 fi
5636 rm -f _config.txt _config.jar
5637
5638
5639
5640
5641
5642
5643
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ecj JAR file" >&5
5645$as_echo_n "checking for an ecj JAR file... " >&6; }
5646
5647# Check whether --with-ecj-jar was given.
5648if test "${with_ecj_jar+set}" = set; then :
5649 withval=$with_ecj_jar;
5650 if test -f "${withval}"; then
5651 ECJ_JAR="${withval}"
5652 fi
5653
5654else
5655
5656 ECJ_JAR=
5657
5658fi
5659
5660 if test -z "${ECJ_JAR}"; then
5661 for jar in /usr/share/java/eclipse-ecj.jar \
5662 /usr/share/java/ecj.jar \
5663 /usr/share/eclipse-ecj-3.{2,3,4,5}/lib/ecj.jar; do
5664 if test -e $jar; then
5665 ECJ_JAR=$jar
5666 break
5667 fi
5668 done
5669 if test -z "${ECJ_JAR}"; then
5670 ECJ_JAR=no
5671 fi
5672 fi
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ECJ_JAR}" >&5
5674$as_echo "${ECJ_JAR}" >&6; }
5675 if test "x${JAVAC}" = x && test "x${ECJ_JAR}" = "xno" ; then
5676 as_fn_error $? "cannot find a Java compiler or ecj JAR file, try --with-javac, --with-ecj or --with-ecj-jar" "$LINENO" 5
5677 fi
5678
5679
5680
5681
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for javadoc" >&5
5683$as_echo_n "checking for javadoc... " >&6; }
5684
5685# Check whether --with-javadoc was given.
5686if test "${with_javadoc+set}" = set; then :
5687 withval=$with_javadoc;
5688 JAVADOC="${withval}"
5689
5690else
5691
5692 JAVADOC=${SYSTEM_JDK_DIR}/bin/javadoc
5693
5694fi
5695
5696 if ! test -f "${JAVADOC}"; then
5697 # Extract the first word of ""${JAVADOC}"", so it can be a program name with args.
5698set dummy "${JAVADOC}"; ac_word=$2
5699{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5700$as_echo_n "checking for $ac_word... " >&6; }
5701if ${ac_cv_path_JAVADOC+:} false; then :
5702 $as_echo_n "(cached) " >&6
5703else
5704 case $JAVADOC in
5705 [\\/]* | ?:[\\/]*)
5706 ac_cv_path_JAVADOC="$JAVADOC" # Let the user override the test with a path.
5707 ;;
5708 *)
5709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5710for as_dir in $PATH
5711do
5712 IFS=$as_save_IFS
5713 test -z "$as_dir" && as_dir=.
5714 for ac_exec_ext in '' $ac_executable_extensions; do
5715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5716 ac_cv_path_JAVADOC="$as_dir/$ac_word$ac_exec_ext"
5717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5718 break 2
5719 fi
5720done
5721 done
5722IFS=$as_save_IFS
5723
5724 ;;
5725esac
5726fi
5727JAVADOC=$ac_cv_path_JAVADOC
5728if test -n "$JAVADOC"; then
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVADOC" >&5
5730$as_echo "$JAVADOC" >&6; }
5731else
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5733$as_echo "no" >&6; }
5734fi
5735
5736
5737 fi
5738 if test -z "${JAVADOC}"; then
5739 # Extract the first word of ""javadoc"", so it can be a program name with args.
5740set dummy "javadoc"; ac_word=$2
5741{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5742$as_echo_n "checking for $ac_word... " >&6; }
5743if ${ac_cv_path_JAVADOC+:} false; then :
5744 $as_echo_n "(cached) " >&6
5745else
5746 case $JAVADOC in
5747 [\\/]* | ?:[\\/]*)
5748 ac_cv_path_JAVADOC="$JAVADOC" # Let the user override the test with a path.
5749 ;;
5750 *)
5751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5752for as_dir in $PATH
5753do
5754 IFS=$as_save_IFS
5755 test -z "$as_dir" && as_dir=.
5756 for ac_exec_ext in '' $ac_executable_extensions; do
5757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5758 ac_cv_path_JAVADOC="$as_dir/$ac_word$ac_exec_ext"
5759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5760 break 2
5761 fi
5762done
5763 done
5764IFS=$as_save_IFS
5765
5766 ;;
5767esac
5768fi
5769JAVADOC=$ac_cv_path_JAVADOC
5770if test -n "$JAVADOC"; then
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVADOC" >&5
5772$as_echo "$JAVADOC" >&6; }
5773else
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5775$as_echo "no" >&6; }
5776fi
5777
5778
5779 fi
5780 if test -z "${JAVADOC}"; then
5781 # Extract the first word of ""gjdoc"", so it can be a program name with args.
5782set dummy "gjdoc"; ac_word=$2
5783{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5784$as_echo_n "checking for $ac_word... " >&6; }
5785if ${ac_cv_path_JAVADOC+:} false; then :
5786 $as_echo_n "(cached) " >&6
5787else
5788 case $JAVADOC in
5789 [\\/]* | ?:[\\/]*)
5790 ac_cv_path_JAVADOC="$JAVADOC" # Let the user override the test with a path.
5791 ;;
5792 *)
5793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5794for as_dir in $PATH
5795do
5796 IFS=$as_save_IFS
5797 test -z "$as_dir" && as_dir=.
5798 for ac_exec_ext in '' $ac_executable_extensions; do
5799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5800 ac_cv_path_JAVADOC="$as_dir/$ac_word$ac_exec_ext"
5801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5802 break 2
5803 fi
5804done
5805 done
5806IFS=$as_save_IFS
5807
5808 ;;
5809esac
5810fi
5811JAVADOC=$ac_cv_path_JAVADOC
5812if test -n "$JAVADOC"; then
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVADOC" >&5
5814$as_echo "$JAVADOC" >&6; }
5815else
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5817$as_echo "no" >&6; }
5818fi
5819
5820
5821 fi
5822 if test -z "${JAVADOC}" && test "x$ENABLE_DOCS" = "xyes"; then
5823 as_fn_error $? "\"No Java documentation tool was found.\"" "$LINENO" 5
5824 fi
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${JAVADOC}" >&5
5826$as_echo "${JAVADOC}" >&6; }
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether javadoc supports -J options" >&5
5828$as_echo_n "checking whether javadoc supports -J options... " >&6; }
5829 CLASS=pkg/Test.java
5830 mkdir tmp.$$
5831 cd tmp.$$
5832 mkdir pkg
5833 cat << \EOF > $CLASS
5834/* [#]line 5834 "configure" */
5835package pkg;
5836
5837public class Test
5838{
5839 /**
5840 * Does stuff.
5841 *
5842 *
5843 * @param args arguments from cli.
5844 */
5845 public static void main(String[] args)
5846 {
5847 System.out.println("Hello World!");
5848 }
5849}
5850
5851EOF
5852 if $JAVADOC -J-Xmx896m pkg >&5 2>&1; then
5853 JAVADOC_KNOWS_J_OPTIONS=yes
5854 else
5855 JAVADOC_KNOWS_J_OPTIONS=no
5856 fi
5857 cd ..
5858 rm -rf tmp.$$
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${JAVADOC_KNOWS_J_OPTIONS}" >&5
5860$as_echo "${JAVADOC_KNOWS_J_OPTIONS}" >&6; }
5861
5862
5863 if test x"${JAVADOC_KNOWS_J_OPTIONS}" = "xyes"; then
5864 JAVADOC_SUPPORTS_J_OPTIONS_TRUE=
5865 JAVADOC_SUPPORTS_J_OPTIONS_FALSE='#'
5866else
5867 JAVADOC_SUPPORTS_J_OPTIONS_TRUE='#'
5868 JAVADOC_SUPPORTS_J_OPTIONS_FALSE=
5869fi
5870
5871
5872ac_config_files="$ac_config_files javac"
5873
5874
5875
5876 if test -n "$ac_tool_prefix"; then
5877 # Extract the first word of "${ac_tool_prefix}hg", so it can be a program name with args.
5878set dummy ${ac_tool_prefix}hg; ac_word=$2
5879{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5880$as_echo_n "checking for $ac_word... " >&6; }
5881if ${ac_cv_path_HG+:} false; then :
5882 $as_echo_n "(cached) " >&6
5883else
5884 case $HG in
5885 [\\/]* | ?:[\\/]*)
5886 ac_cv_path_HG="$HG" # Let the user override the test with a path.
5887 ;;
5888 *)
5889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5890for as_dir in $PATH
5891do
5892 IFS=$as_save_IFS
5893 test -z "$as_dir" && as_dir=.
5894 for ac_exec_ext in '' $ac_executable_extensions; do
5895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5896 ac_cv_path_HG="$as_dir/$ac_word$ac_exec_ext"
5897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5898 break 2
5899 fi
5900done
5901 done
5902IFS=$as_save_IFS
5903
5904 ;;
5905esac
5906fi
5907HG=$ac_cv_path_HG
5908if test -n "$HG"; then
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HG" >&5
5910$as_echo "$HG" >&6; }
5911else
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5913$as_echo "no" >&6; }
5914fi
5915
5916
5917fi
5918if test -z "$ac_cv_path_HG"; then
5919 ac_pt_HG=$HG
5920 # Extract the first word of "hg", so it can be a program name with args.
5921set dummy hg; ac_word=$2
5922{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5923$as_echo_n "checking for $ac_word... " >&6; }
5924if ${ac_cv_path_ac_pt_HG+:} false; then :
5925 $as_echo_n "(cached) " >&6
5926else
5927 case $ac_pt_HG in
5928 [\\/]* | ?:[\\/]*)
5929 ac_cv_path_ac_pt_HG="$ac_pt_HG" # Let the user override the test with a path.
5930 ;;
5931 *)
5932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5933for as_dir in $PATH
5934do
5935 IFS=$as_save_IFS
5936 test -z "$as_dir" && as_dir=.
5937 for ac_exec_ext in '' $ac_executable_extensions; do
5938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5939 ac_cv_path_ac_pt_HG="$as_dir/$ac_word$ac_exec_ext"
5940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5941 break 2
5942 fi
5943done
5944 done
5945IFS=$as_save_IFS
5946
5947 ;;
5948esac
5949fi
5950ac_pt_HG=$ac_cv_path_ac_pt_HG
5951if test -n "$ac_pt_HG"; then
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_HG" >&5
5953$as_echo "$ac_pt_HG" >&6; }
5954else
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5956$as_echo "no" >&6; }
5957fi
5958
5959 if test "x$ac_pt_HG" = x; then
5960 HG=""
5961 else
5962 case $cross_compiling:$ac_tool_warned in
5963yes:)
5964{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5965$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5966ac_tool_warned=yes ;;
5967esac
5968 HG=$ac_pt_HG
5969 fi
5970else
5971 HG="$ac_cv_path_HG"
5972fi
5973
5974
5975
5976
5977
5978 ICEDTEA_REVISION="none";
5979 if which ${HG} >&5 2>&1; then
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IcedTea Mercurial revision ID" >&5
5981$as_echo_n "checking for IcedTea Mercurial revision ID... " >&6; }
5982 if test -e ${abs_top_srcdir}/.hg ; then
5983 ICEDTEA_REVISION="r`(cd ${abs_top_srcdir}; ${HG} id -i)`" ;
5984 fi ;
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ICEDTEA_REVISION}" >&5
5986$as_echo "${ICEDTEA_REVISION}" >&6; }
5987
5988 fi;
5989 if test "x${ICEDTEA_REVISION}" != xnone; then
5990 HAS_ICEDTEA_REVISION_TRUE=
5991 HAS_ICEDTEA_REVISION_FALSE='#'
5992else
5993 HAS_ICEDTEA_REVISION_TRUE='#'
5994 HAS_ICEDTEA_REVISION_FALSE=
5995fi
5996
5997
5998
5999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for distribution package version" >&5
6000$as_echo_n "checking for distribution package version... " >&6; }
6001
6002# Check whether --with-pkgversion was given.
6003if test "${with_pkgversion+set}" = set; then :
6004 withval=$with_pkgversion; case "$withval" in
6005 yes) as_fn_error $? "package version not specified" "$LINENO" 5 ;;
6006 no) PKGVERSION=none ;;
6007 *) PKGVERSION="$withval" ;;
6008 esac
6009else
6010 PKGVERSION=none
6011fi
6012
6013{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${PKGVERSION}" >&5
6014$as_echo "${PKGVERSION}" >&6; }
6015 if test "x${PKGVERSION}" != "xnone"; then
6016 HAS_PKGVERSION_TRUE=
6017 HAS_PKGVERSION_FALSE='#'
6018else
6019 HAS_PKGVERSION_TRUE='#'
6020 HAS_PKGVERSION_FALSE=
6021fi
6022
6023
6024
6025
6026
6027
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what version string to use" >&5
6029$as_echo_n "checking what version string to use... " >&6; }
6030 if test "x${ICEDTEA_REVISION}" != xnone; then
6031 ICEDTEA_REV="+${ICEDTEA_REVISION}"
6032 fi
6033 if test "x${PKGVERSION}" != "xnone"; then
6034 ICEDTEA_PKG=" (${PKGVERSION})"
6035 fi
6036 FULL_VERSION="${PACKAGE_VERSION}${ICEDTEA_REV}${ICEDTEA_PKG}"
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FULL_VERSION}" >&5
6038$as_echo "${FULL_VERSION}" >&6; }
6039
6040
6041
6042{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the browser plugin" >&5
6043$as_echo_n "checking whether to build the browser plugin... " >&6; }
6044# Check whether --enable-plugin was given.
6045if test "${enable_plugin+set}" = set; then :
6046 enableval=$enable_plugin; enable_plugin="${enableval}"
6047else
6048 enable_plugin="yes"
6049fi
6050
6051{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_plugin}" >&5
6052$as_echo "${enable_plugin}" >&6; }
6053
6054
6055
6056
6057
6058
6059
6060if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
6061 if test -n "$ac_tool_prefix"; then
6062 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6063set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6064{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6065$as_echo_n "checking for $ac_word... " >&6; }
6066if ${ac_cv_path_PKG_CONFIG+:} false; then :
6067 $as_echo_n "(cached) " >&6
6068else
6069 case $PKG_CONFIG in
6070 [\\/]* | ?:[\\/]*)
6071 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6072 ;;
6073 *)
6074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6075for as_dir in $PATH
6076do
6077 IFS=$as_save_IFS
6078 test -z "$as_dir" && as_dir=.
6079 for ac_exec_ext in '' $ac_executable_extensions; do
6080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6081 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6083 break 2
6084 fi
6085done
6086 done
6087IFS=$as_save_IFS
6088
6089 ;;
6090esac
6091fi
6092PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6093if test -n "$PKG_CONFIG"; then
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6095$as_echo "$PKG_CONFIG" >&6; }
6096else
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6098$as_echo "no" >&6; }
6099fi
6100
6101
6102fi
6103if test -z "$ac_cv_path_PKG_CONFIG"; then
6104 ac_pt_PKG_CONFIG=$PKG_CONFIG
6105 # Extract the first word of "pkg-config", so it can be a program name with args.
6106set dummy pkg-config; ac_word=$2
6107{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6108$as_echo_n "checking for $ac_word... " >&6; }
6109if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
6110 $as_echo_n "(cached) " >&6
6111else
6112 case $ac_pt_PKG_CONFIG in
6113 [\\/]* | ?:[\\/]*)
6114 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
6115 ;;
6116 *)
6117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6118for as_dir in $PATH
6119do
6120 IFS=$as_save_IFS
6121 test -z "$as_dir" && as_dir=.
6122 for ac_exec_ext in '' $ac_executable_extensions; do
6123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6124 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6126 break 2
6127 fi
6128done
6129 done
6130IFS=$as_save_IFS
6131
6132 ;;
6133esac
6134fi
6135ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
6136if test -n "$ac_pt_PKG_CONFIG"; then
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
6138$as_echo "$ac_pt_PKG_CONFIG" >&6; }
6139else
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6141$as_echo "no" >&6; }
6142fi
6143
6144 if test "x$ac_pt_PKG_CONFIG" = x; then
6145 PKG_CONFIG=""
6146 else
6147 case $cross_compiling:$ac_tool_warned in
6148yes:)
6149{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6150$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6151ac_tool_warned=yes ;;
6152esac
6153 PKG_CONFIG=$ac_pt_PKG_CONFIG
6154 fi
6155else
6156 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
6157fi
6158
6159fi
6160if test -n "$PKG_CONFIG"; then
6161 _pkg_min_version=0.9.0
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
6163$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
6164 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6166$as_echo "yes" >&6; }
6167 else
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6169$as_echo "no" >&6; }
6170 PKG_CONFIG=""
6171 fi
6172fi
6173
6174
6175if test "x${enable_plugin}" = "xyes" ; then
6176
6177pkg_failed=no
6178{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
6179$as_echo_n "checking for GTK... " >&6; }
6180
6181if test -n "$GTK_CFLAGS"; then
6182 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
6183 elif test -n "$PKG_CONFIG"; then
6184 if test -n "$PKG_CONFIG" && \
6185 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\""; } >&5
6186 ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
6187 ac_status=$?
6188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6189 test $ac_status = 0; }; then
6190 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`
6191else
6192 pkg_failed=yes
6193fi
6194 else
6195 pkg_failed=untried
6196fi
6197if test -n "$GTK_LIBS"; then
6198 pkg_cv_GTK_LIBS="$GTK_LIBS"
6199 elif test -n "$PKG_CONFIG"; then
6200 if test -n "$PKG_CONFIG" && \
6201 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\""; } >&5
6202 ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
6203 ac_status=$?
6204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6205 test $ac_status = 0; }; then
6206 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`
6207else
6208 pkg_failed=yes
6209fi
6210 else
6211 pkg_failed=untried
6212fi
6213
6214
6215
6216if test $pkg_failed = yes; then
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6218$as_echo "no" >&6; }
6219
6220if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6221 _pkg_short_errors_supported=yes
6222else
6223 _pkg_short_errors_supported=no
6224fi
6225 if test $_pkg_short_errors_supported = yes; then
6226 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0" 2>&1`
6227 else
6228 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0" 2>&1`
6229 fi
6230 # Put the nasty error message in config.log where it belongs
6231 echo "$GTK_PKG_ERRORS" >&5
6232
6233 as_fn_error $? "Package requirements (gtk+-2.0) were not met:
6234
6235$GTK_PKG_ERRORS
6236
6237Consider adjusting the PKG_CONFIG_PATH environment variable if you
6238installed software in a non-standard prefix.
6239
6240Alternatively, you may set the environment variables GTK_CFLAGS
6241and GTK_LIBS to avoid the need to call pkg-config.
6242See the pkg-config man page for more details." "$LINENO" 5
6243
6244elif test $pkg_failed = untried; then
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6246$as_echo "no" >&6; }
6247 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6248$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6249as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
6250is in your PATH or set the PKG_CONFIG environment variable to the full
6251path to pkg-config.
6252
6253Alternatively, you may set the environment variables GTK_CFLAGS
6254and GTK_LIBS to avoid the need to call pkg-config.
6255See the pkg-config man page for more details.
6256
6257To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6258See \`config.log' for more details" "$LINENO" 5; }
6259
6260else
6261 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
6262 GTK_LIBS=$pkg_cv_GTK_LIBS
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6264$as_echo "yes" >&6; }
6265
6266fi
6267
6268pkg_failed=no
6269{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
6270$as_echo_n "checking for GLIB... " >&6; }
6271
6272if test -n "$GLIB_CFLAGS"; then
6273 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
6274 elif test -n "$PKG_CONFIG"; then
6275 if test -n "$PKG_CONFIG" && \
6276 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
6277 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
6278 ac_status=$?
6279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6280 test $ac_status = 0; }; then
6281 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
6282else
6283 pkg_failed=yes
6284fi
6285 else
6286 pkg_failed=untried
6287fi
6288if test -n "$GLIB_LIBS"; then
6289 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
6290 elif test -n "$PKG_CONFIG"; then
6291 if test -n "$PKG_CONFIG" && \
6292 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
6293 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
6294 ac_status=$?
6295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6296 test $ac_status = 0; }; then
6297 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
6298else
6299 pkg_failed=yes
6300fi
6301 else
6302 pkg_failed=untried
6303fi
6304
6305
6306
6307if test $pkg_failed = yes; then
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6309$as_echo "no" >&6; }
6310
6311if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6312 _pkg_short_errors_supported=yes
6313else
6314 _pkg_short_errors_supported=no
6315fi
6316 if test $_pkg_short_errors_supported = yes; then
6317 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0" 2>&1`
6318 else
6319 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0" 2>&1`
6320 fi
6321 # Put the nasty error message in config.log where it belongs
6322 echo "$GLIB_PKG_ERRORS" >&5
6323
6324 as_fn_error $? "Package requirements (glib-2.0) were not met:
6325
6326$GLIB_PKG_ERRORS
6327
6328Consider adjusting the PKG_CONFIG_PATH environment variable if you
6329installed software in a non-standard prefix.
6330
6331Alternatively, you may set the environment variables GLIB_CFLAGS
6332and GLIB_LIBS to avoid the need to call pkg-config.
6333See the pkg-config man page for more details." "$LINENO" 5
6334
6335elif test $pkg_failed = untried; then
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6337$as_echo "no" >&6; }
6338 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6339$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6340as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
6341is in your PATH or set the PKG_CONFIG environment variable to the full
6342path to pkg-config.
6343
6344Alternatively, you may set the environment variables GLIB_CFLAGS
6345and GLIB_LIBS to avoid the need to call pkg-config.
6346See the pkg-config man page for more details.
6347
6348To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6349See \`config.log' for more details" "$LINENO" 5; }
6350
6351else
6352 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
6353 GLIB_LIBS=$pkg_cv_GLIB_LIBS
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6355$as_echo "yes" >&6; }
6356
6357fi
6358
6359
6360
6361
6362
6363
6364pkg_failed=no
6365{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MOZILLA" >&5
6366$as_echo_n "checking for MOZILLA... " >&6; }
6367
6368if test -n "$MOZILLA_CFLAGS"; then
6369 pkg_cv_MOZILLA_CFLAGS="$MOZILLA_CFLAGS"
6370 elif test -n "$PKG_CONFIG"; then
6371 if test -n "$PKG_CONFIG" && \
6372 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin\""; } >&5
6373 ($PKG_CONFIG --exists --print-errors "mozilla-plugin") 2>&5
6374 ac_status=$?
6375 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6376 test $ac_status = 0; }; then
6377 pkg_cv_MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "mozilla-plugin" 2>/dev/null`
6378else
6379 pkg_failed=yes
6380fi
6381 else
6382 pkg_failed=untried
6383fi
6384if test -n "$MOZILLA_LIBS"; then
6385 pkg_cv_MOZILLA_LIBS="$MOZILLA_LIBS"
6386 elif test -n "$PKG_CONFIG"; then
6387 if test -n "$PKG_CONFIG" && \
6388 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin\""; } >&5
6389 ($PKG_CONFIG --exists --print-errors "mozilla-plugin") 2>&5
6390 ac_status=$?
6391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6392 test $ac_status = 0; }; then
6393 pkg_cv_MOZILLA_LIBS=`$PKG_CONFIG --libs "mozilla-plugin" 2>/dev/null`
6394else
6395 pkg_failed=yes
6396fi
6397 else
6398 pkg_failed=untried
6399fi
6400
6401
6402
6403if test $pkg_failed = yes; then
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6405$as_echo "no" >&6; }
6406
6407if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6408 _pkg_short_errors_supported=yes
6409else
6410 _pkg_short_errors_supported=no
6411fi
6412 if test $_pkg_short_errors_supported = yes; then
6413 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "mozilla-plugin" 2>&1`
6414 else
6415 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --print-errors "mozilla-plugin" 2>&1`
6416 fi
6417 # Put the nasty error message in config.log where it belongs
6418 echo "$MOZILLA_PKG_ERRORS" >&5
6419
6420 as_fn_error $? "Package requirements (mozilla-plugin) were not met:
6421
6422$MOZILLA_PKG_ERRORS
6423
6424Consider adjusting the PKG_CONFIG_PATH environment variable if you
6425installed software in a non-standard prefix.
6426
6427Alternatively, you may set the environment variables MOZILLA_CFLAGS
6428and MOZILLA_LIBS to avoid the need to call pkg-config.
6429See the pkg-config man page for more details." "$LINENO" 5
6430
6431elif test $pkg_failed = untried; then
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6433$as_echo "no" >&6; }
6434 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6435$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6436as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
6437is in your PATH or set the PKG_CONFIG environment variable to the full
6438path to pkg-config.
6439
6440Alternatively, you may set the environment variables MOZILLA_CFLAGS
6441and MOZILLA_LIBS to avoid the need to call pkg-config.
6442See the pkg-config man page for more details.
6443
6444To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6445See \`config.log' for more details" "$LINENO" 5; }
6446
6447else
6448 MOZILLA_CFLAGS=$pkg_cv_MOZILLA_CFLAGS
6449 MOZILLA_LIBS=$pkg_cv_MOZILLA_LIBS
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6451$as_echo "yes" >&6; }
6452
6453fi
6454
6455
6456
6457fi
6458 if test "x${enable_plugin}" = "xyes"; then
6459 ENABLE_PLUGIN_TRUE=
6460 ENABLE_PLUGIN_FALSE='#'
6461else
6462 ENABLE_PLUGIN_TRUE='#'
6463 ENABLE_PLUGIN_FALSE=
6464fi
6465
6466
6467
6468
6469if test "x${enable_plugin}" = "xyes"
6470then
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xulrunner version" >&5
6472$as_echo_n "checking for xulrunner version... " >&6; }
6473if ${xulrunner_cv_collapsed_version+:} false; then :
6474 $as_echo_n "(cached) " >&6
6475else
6476
6477 if pkg-config --modversion libxul >/dev/null 2>&1
6478 then
6479 xulrunner_cv_collapsed_version=`pkg-config --modversion libxul | awk -F. '{power=6; v=0; for (i=1; i <= NF; i++) {v += $i * 10 ^ power; power -=2}; print v}'`
6480 else
6481 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6482$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6483as_fn_error $? "cannot determine xulrunner version
6484See \`config.log' for more details" "$LINENO" 5; }
6485 fi
6486fi
6487{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xulrunner_cv_collapsed_version" >&5
6488$as_echo "$xulrunner_cv_collapsed_version" >&6; }
6489 MOZILLA_VERSION_COLLAPSED=$xulrunner_cv_collapsed_version
6490
6491fi
6492
6493
6494
6495{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lz" >&5
6496$as_echo_n "checking for main in -lz... " >&6; }
6497if ${ac_cv_lib_z_main+:} false; then :
6498 $as_echo_n "(cached) " >&6
6499else
6500 ac_check_lib_save_LIBS=$LIBS
6501LIBS="-lz $LIBS"
6502cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6503/* end confdefs.h. */
6504
6505
6506int
6507main ()
6508{
6509return main ();
6510 ;
6511 return 0;
6512}
6513_ACEOF
6514if ac_fn_c_try_link "$LINENO"; then :
6515 ac_cv_lib_z_main=yes
6516else
6517 ac_cv_lib_z_main=no
6518fi
6519rm -f core conftest.err conftest.$ac_objext \
6520 conftest$ac_exeext conftest.$ac_ext
6521LIBS=$ac_check_lib_save_LIBS
6522fi
6523{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_main" >&5
6524$as_echo "$ac_cv_lib_z_main" >&6; }
6525if test "x$ac_cv_lib_z_main" = xyes; then :
6526 cat >>confdefs.h <<_ACEOF
6527#define HAVE_LIBZ 1
6528_ACEOF
6529
6530 LIBS="-lz $LIBS"
6531
6532else
6533 as_fn_error $? "\"zlib not found - try installing zlib-devel\"" "$LINENO" 5
6534fi
6535
6536
6537pkg_failed=no
6538{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
6539$as_echo_n "checking for X11... " >&6; }
6540
6541if test -n "$X11_CFLAGS"; then
6542 pkg_cv_X11_CFLAGS="$X11_CFLAGS"
6543 elif test -n "$PKG_CONFIG"; then
6544 if test -n "$PKG_CONFIG" && \
6545 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
6546 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
6547 ac_status=$?
6548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6549 test $ac_status = 0; }; then
6550 pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
6551else
6552 pkg_failed=yes
6553fi
6554 else
6555 pkg_failed=untried
6556fi
6557if test -n "$X11_LIBS"; then
6558 pkg_cv_X11_LIBS="$X11_LIBS"
6559 elif test -n "$PKG_CONFIG"; then
6560 if test -n "$PKG_CONFIG" && \
6561 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
6562 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
6563 ac_status=$?
6564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6565 test $ac_status = 0; }; then
6566 pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
6567else
6568 pkg_failed=yes
6569fi
6570 else
6571 pkg_failed=untried
6572fi
6573
6574
6575
6576if test $pkg_failed = yes; then
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6578$as_echo "no" >&6; }
6579
6580if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6581 _pkg_short_errors_supported=yes
6582else
6583 _pkg_short_errors_supported=no
6584fi
6585 if test $_pkg_short_errors_supported = yes; then
6586 X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11" 2>&1`
6587 else
6588 X11_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11" 2>&1`
6589 fi
6590 # Put the nasty error message in config.log where it belongs
6591 echo "$X11_PKG_ERRORS" >&5
6592
6593 X11_FOUND=no
6594elif test $pkg_failed = untried; then
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6596$as_echo "no" >&6; }
6597 X11_FOUND=no
6598else
6599 X11_CFLAGS=$pkg_cv_X11_CFLAGS
6600 X11_LIBS=$pkg_cv_X11_LIBS
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6602$as_echo "yes" >&6; }
6603 X11_FOUND=yes
6604fi
6605if test "x${X11_FOUND}" = xno
6606then
6607 as_fn_error $? "Could not find x11 - \
6608 Try installing libX11-devel." "$LINENO" 5
6609fi
6610
6611
6612
6613
6614
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a JRE home directory" >&5
6616$as_echo_n "checking for a JRE home directory... " >&6; }
6617
6618# Check whether --with-jre-home was given.
6619if test "${with_jre_home+set}" = set; then :
6620 withval=$with_jre_home;
6621 SYSTEM_JRE_DIR=${withval}
6622
6623else
6624
6625 SYSTEM_JRE_DIR=
6626
6627fi
6628
6629 if test -z "${SYSTEM_JRE_DIR}" ; then
6630 if test -d "${SYSTEM_JDK_DIR}/jre" ; then
6631 SYSTEM_JRE_DIR="${SYSTEM_JDK_DIR}/jre"
6632 fi
6633 fi
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${SYSTEM_JRE_DIR}" >&5
6635$as_echo "${SYSTEM_JRE_DIR}" >&6; }
6636 if ! test -d "${SYSTEM_JRE_DIR}"; then
6637 as_fn_error $? "\"A JRE home directory could not be found.\"" "$LINENO" 5
6638 fi
6639
6640
6641
6642
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Java virtual machine" >&5
6644$as_echo_n "checking for a Java virtual machine... " >&6; }
6645
6646# Check whether --with-java was given.
6647if test "${with_java+set}" = set; then :
6648 withval=$with_java;
6649 JAVA="${withval}"
6650
6651else
6652
6653 JAVA="${SYSTEM_JRE_DIR}/bin/java"
6654
6655fi
6656
6657 if ! test -f "${JAVA}"; then
6658 # Extract the first word of ""${JAVA}"", so it can be a program name with args.
6659set dummy "${JAVA}"; ac_word=$2
6660{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6661$as_echo_n "checking for $ac_word... " >&6; }
6662if ${ac_cv_path_JAVA+:} false; then :
6663 $as_echo_n "(cached) " >&6
6664else
6665 case $JAVA in
6666 [\\/]* | ?:[\\/]*)
6667 ac_cv_path_JAVA="$JAVA" # Let the user override the test with a path.
6668 ;;
6669 *)
6670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6671for as_dir in $PATH
6672do
6673 IFS=$as_save_IFS
6674 test -z "$as_dir" && as_dir=.
6675 for ac_exec_ext in '' $ac_executable_extensions; do
6676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6677 ac_cv_path_JAVA="$as_dir/$ac_word$ac_exec_ext"
6678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6679 break 2
6680 fi
6681done
6682 done
6683IFS=$as_save_IFS
6684
6685 ;;
6686esac
6687fi
6688JAVA=$ac_cv_path_JAVA
6689if test -n "$JAVA"; then
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
6691$as_echo "$JAVA" >&6; }
6692else
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6694$as_echo "no" >&6; }
6695fi
6696
6697
6698 fi
6699 if test -z "${JAVA}"; then
6700 # Extract the first word of ""java"", so it can be a program name with args.
6701set dummy "java"; ac_word=$2
6702{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6703$as_echo_n "checking for $ac_word... " >&6; }
6704if ${ac_cv_path_JAVA+:} false; then :
6705 $as_echo_n "(cached) " >&6
6706else
6707 case $JAVA in
6708 [\\/]* | ?:[\\/]*)
6709 ac_cv_path_JAVA="$JAVA" # Let the user override the test with a path.
6710 ;;
6711 *)
6712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6713for as_dir in $PATH
6714do
6715 IFS=$as_save_IFS
6716 test -z "$as_dir" && as_dir=.
6717 for ac_exec_ext in '' $ac_executable_extensions; do
6718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6719 ac_cv_path_JAVA="$as_dir/$ac_word$ac_exec_ext"
6720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6721 break 2
6722 fi
6723done
6724 done
6725IFS=$as_save_IFS
6726
6727 ;;
6728esac
6729fi
6730JAVA=$ac_cv_path_JAVA
6731if test -n "$JAVA"; then
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
6733$as_echo "$JAVA" >&6; }
6734else
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6736$as_echo "no" >&6; }
6737fi
6738
6739
6740 fi
6741 if test -z "${JAVA}"; then
6742 # Extract the first word of ""gij"", so it can be a program name with args.
6743set dummy "gij"; ac_word=$2
6744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6745$as_echo_n "checking for $ac_word... " >&6; }
6746if ${ac_cv_path_JAVA+:} false; then :
6747 $as_echo_n "(cached) " >&6
6748else
6749 case $JAVA in
6750 [\\/]* | ?:[\\/]*)
6751 ac_cv_path_JAVA="$JAVA" # Let the user override the test with a path.
6752 ;;
6753 *)
6754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6755for as_dir in $PATH
6756do
6757 IFS=$as_save_IFS
6758 test -z "$as_dir" && as_dir=.
6759 for ac_exec_ext in '' $ac_executable_extensions; do
6760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6761 ac_cv_path_JAVA="$as_dir/$ac_word$ac_exec_ext"
6762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6763 break 2
6764 fi
6765done
6766 done
6767IFS=$as_save_IFS
6768
6769 ;;
6770esac
6771fi
6772JAVA=$ac_cv_path_JAVA
6773if test -n "$JAVA"; then
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
6775$as_echo "$JAVA" >&6; }
6776else
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6778$as_echo "no" >&6; }
6779fi
6780
6781
6782 fi
6783 if test -z "${JAVA}"; then
6784 as_fn_error $? "\"A 1.5-compatible Java VM is required.\"" "$LINENO" 5
6785 fi
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${JAVA}" >&5
6787$as_echo "${JAVA}" >&6; }
6788
6789
6790
6791
6792
6793{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if java.util.jar.Pack200 is available" >&5
6794$as_echo_n "checking if java.util.jar.Pack200 is available... " >&6; }
6795if ${it_cv_JAVA_UTIL_JAR_PACK200+:} false; then :
6796 $as_echo_n "(cached) " >&6
6797else
6798
6799CLASS=sun/applet/Test.java
6800BYTECODE=$(echo $CLASS|sed 's#\.java##')
6801mkdir -p tmp.$$/$(dirname $CLASS)
6802cd tmp.$$
6803cat << \EOF > $CLASS
6804/* [#]line 6804 "configure" */
6805package sun.applet;
6806
6807import java.util.jar.Pack200;
6808
6809public class Test
6810{
6811 public static void main(String[] args)
6812 throws Exception
6813 {
6814 System.out.println(Class.forName("java.util.jar.Pack200"));
6815 }
6816}
6817
6818EOF
6819if $JAVAC -cp . $JAVACFLAGS -nowarn $CLASS >&5 2>&1; then
6820 if $JAVA -classpath . $BYTECODE >&5 2>&1; then
6821 it_cv_JAVA_UTIL_JAR_PACK200=yes;
6822 else
6823 it_cv_JAVA_UTIL_JAR_PACK200=no;
6824 fi
6825else
6826 it_cv_JAVA_UTIL_JAR_PACK200=no;
6827fi
6828
6829fi
6830{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $it_cv_JAVA_UTIL_JAR_PACK200" >&5
6831$as_echo "$it_cv_JAVA_UTIL_JAR_PACK200" >&6; }
6832rm -f $CLASS *.class
6833cd ..
6834# should be rmdir but has to be rm -rf due to sun.applet usage
6835rm -rf tmp.$$
6836if test x"${it_cv_JAVA_UTIL_JAR_PACK200}" = "xno"; then
6837 as_fn_error $? "java.util.jar.Pack200 not found." "$LINENO" 5
6838fi
6839
6840
6841
6842
6843{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if java.net.CookieManager is available" >&5
6844$as_echo_n "checking if java.net.CookieManager is available... " >&6; }
6845if ${it_cv_JAVA_NET_COOKIEMANAGER+:} false; then :
6846 $as_echo_n "(cached) " >&6
6847else
6848
6849CLASS=sun/applet/Test.java
6850BYTECODE=$(echo $CLASS|sed 's#\.java##')
6851mkdir -p tmp.$$/$(dirname $CLASS)
6852cd tmp.$$
6853cat << \EOF > $CLASS
6854/* [#]line 6854 "configure" */
6855package sun.applet;
6856
6857import java.net.CookieManager;
6858
6859public class Test
6860{
6861 public static void main(String[] args)
6862 throws Exception
6863 {
6864 System.out.println(Class.forName("java.net.CookieManager"));
6865 }
6866}
6867
6868EOF
6869if $JAVAC -cp . $JAVACFLAGS -nowarn $CLASS >&5 2>&1; then
6870 if $JAVA -classpath . $BYTECODE >&5 2>&1; then
6871 it_cv_JAVA_NET_COOKIEMANAGER=yes;
6872 else
6873 it_cv_JAVA_NET_COOKIEMANAGER=no;
6874 fi
6875else
6876 it_cv_JAVA_NET_COOKIEMANAGER=no;
6877fi
6878
6879fi
6880{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $it_cv_JAVA_NET_COOKIEMANAGER" >&5
6881$as_echo "$it_cv_JAVA_NET_COOKIEMANAGER" >&6; }
6882rm -f $CLASS *.class
6883cd ..
6884# should be rmdir but has to be rm -rf due to sun.applet usage
6885rm -rf tmp.$$
6886if test x"${it_cv_JAVA_NET_COOKIEMANAGER}" = "xno"; then
6887 as_fn_error $? "java.net.CookieManager not found." "$LINENO" 5
6888fi
6889
6890
6891
6892
6893{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if java.net.HttpCookie is available" >&5
6894$as_echo_n "checking if java.net.HttpCookie is available... " >&6; }
6895if ${it_cv_JAVA_NET_HTTPCOOKIE+:} false; then :
6896 $as_echo_n "(cached) " >&6
6897else
6898
6899CLASS=sun/applet/Test.java
6900BYTECODE=$(echo $CLASS|sed 's#\.java##')
6901mkdir -p tmp.$$/$(dirname $CLASS)
6902cd tmp.$$
6903cat << \EOF > $CLASS
6904/* [#]line 6904 "configure" */
6905package sun.applet;
6906
6907import java.net.HttpCookie;
6908
6909public class Test
6910{
6911 public static void main(String[] args)
6912 throws Exception
6913 {
6914 System.out.println(Class.forName("java.net.HttpCookie"));
6915 }
6916}
6917
6918EOF
6919if $JAVAC -cp . $JAVACFLAGS -nowarn $CLASS >&5 2>&1; then
6920 if $JAVA -classpath . $BYTECODE >&5 2>&1; then
6921 it_cv_JAVA_NET_HTTPCOOKIE=yes;
6922 else
6923 it_cv_JAVA_NET_HTTPCOOKIE=no;
6924 fi
6925else
6926 it_cv_JAVA_NET_HTTPCOOKIE=no;
6927fi
6928
6929fi
6930{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $it_cv_JAVA_NET_HTTPCOOKIE" >&5
6931$as_echo "$it_cv_JAVA_NET_HTTPCOOKIE" >&6; }
6932rm -f $CLASS *.class
6933cd ..
6934# should be rmdir but has to be rm -rf due to sun.applet usage
6935rm -rf tmp.$$
6936if test x"${it_cv_JAVA_NET_HTTPCOOKIE}" = "xno"; then
6937 as_fn_error $? "java.net.HttpCookie not found." "$LINENO" 5
6938fi
6939
6940
6941
6942
6943{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if java.net.CookieHandler is available" >&5
6944$as_echo_n "checking if java.net.CookieHandler is available... " >&6; }
6945if ${it_cv_JAVA_NET_COOKIEHANDLER+:} false; then :
6946 $as_echo_n "(cached) " >&6
6947else
6948
6949CLASS=sun/applet/Test.java
6950BYTECODE=$(echo $CLASS|sed 's#\.java##')
6951mkdir -p tmp.$$/$(dirname $CLASS)
6952cd tmp.$$
6953cat << \EOF > $CLASS
6954/* [#]line 6954 "configure" */
6955package sun.applet;
6956
6957import java.net.CookieHandler;
6958
6959public class Test
6960{
6961 public static void main(String[] args)
6962 throws Exception
6963 {
6964 System.out.println(Class.forName("java.net.CookieHandler"));
6965 }
6966}
6967
6968EOF
6969if $JAVAC -cp . $JAVACFLAGS -nowarn $CLASS >&5 2>&1; then
6970 if $JAVA -classpath . $BYTECODE >&5 2>&1; then
6971 it_cv_JAVA_NET_COOKIEHANDLER=yes;
6972 else
6973 it_cv_JAVA_NET_COOKIEHANDLER=no;
6974 fi
6975else
6976 it_cv_JAVA_NET_COOKIEHANDLER=no;
6977fi
6978
6979fi
6980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $it_cv_JAVA_NET_COOKIEHANDLER" >&5
6981$as_echo "$it_cv_JAVA_NET_COOKIEHANDLER" >&6; }
6982rm -f $CLASS *.class
6983cd ..
6984# should be rmdir but has to be rm -rf due to sun.applet usage
6985rm -rf tmp.$$
6986if test x"${it_cv_JAVA_NET_COOKIEHANDLER}" = "xno"; then
6987 as_fn_error $? "java.net.CookieHandler not found." "$LINENO" 5
6988fi
6989
6990
6991
6992
6993{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if sun.security.provider.X509Factory is available" >&5
6994$as_echo_n "checking if sun.security.provider.X509Factory is available... " >&6; }
6995if ${it_cv_SUN_SECURITY_PROVIDER_X509FACTORY+:} false; then :
6996 $as_echo_n "(cached) " >&6
6997else
6998
6999CLASS=sun/applet/Test.java
7000BYTECODE=$(echo $CLASS|sed 's#\.java##')
7001mkdir -p tmp.$$/$(dirname $CLASS)
7002cd tmp.$$
7003cat << \EOF > $CLASS
7004/* [#]line 7004 "configure" */
7005package sun.applet;
7006
7007import sun.security.provider.X509Factory;
7008
7009public class Test
7010{
7011 public static void main(String[] args)
7012 throws Exception
7013 {
7014 System.out.println(Class.forName("sun.security.provider.X509Factory"));
7015 }
7016}
7017
7018EOF
7019if $JAVAC -cp . $JAVACFLAGS -nowarn $CLASS >&5 2>&1; then
7020 if $JAVA -classpath . $BYTECODE >&5 2>&1; then
7021 it_cv_SUN_SECURITY_PROVIDER_X509FACTORY=yes;
7022 else
7023 it_cv_SUN_SECURITY_PROVIDER_X509FACTORY=no;
7024 fi
7025else
7026 it_cv_SUN_SECURITY_PROVIDER_X509FACTORY=no;
7027fi
7028
7029fi
7030{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $it_cv_SUN_SECURITY_PROVIDER_X509FACTORY" >&5
7031$as_echo "$it_cv_SUN_SECURITY_PROVIDER_X509FACTORY" >&6; }
7032rm -f $CLASS *.class
7033cd ..
7034# should be rmdir but has to be rm -rf due to sun.applet usage
7035rm -rf tmp.$$
7036if test x"${it_cv_SUN_SECURITY_PROVIDER_X509FACTORY}" = "xno"; then
7037 as_fn_error $? "sun.security.provider.X509Factory not found." "$LINENO" 5
7038fi
7039
7040
7041
7042
7043{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if sun.security.util.SecurityConstants is available" >&5
7044$as_echo_n "checking if sun.security.util.SecurityConstants is available... " >&6; }
7045if ${it_cv_SUN_SECURITY_UTIL_SECURITYCONSTANTS+:} false; then :
7046 $as_echo_n "(cached) " >&6
7047else
7048
7049CLASS=sun/applet/Test.java
7050BYTECODE=$(echo $CLASS|sed 's#\.java##')
7051mkdir -p tmp.$$/$(dirname $CLASS)
7052cd tmp.$$
7053cat << \EOF > $CLASS
7054/* [#]line 7054 "configure" */
7055package sun.applet;
7056
7057import sun.security.util.SecurityConstants;
7058
7059public class Test
7060{
7061 public static void main(String[] args)
7062 throws Exception
7063 {
7064 System.out.println(Class.forName("sun.security.util.SecurityConstants"));
7065 }
7066}
7067
7068EOF
7069if $JAVAC -cp . $JAVACFLAGS -nowarn $CLASS >&5 2>&1; then
7070 if $JAVA -classpath . $BYTECODE >&5 2>&1; then
7071 it_cv_SUN_SECURITY_UTIL_SECURITYCONSTANTS=yes;
7072 else
7073 it_cv_SUN_SECURITY_UTIL_SECURITYCONSTANTS=no;
7074 fi
7075else
7076 it_cv_SUN_SECURITY_UTIL_SECURITYCONSTANTS=no;
7077fi
7078
7079fi
7080{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $it_cv_SUN_SECURITY_UTIL_SECURITYCONSTANTS" >&5
7081$as_echo "$it_cv_SUN_SECURITY_UTIL_SECURITYCONSTANTS" >&6; }
7082rm -f $CLASS *.class
7083cd ..
7084# should be rmdir but has to be rm -rf due to sun.applet usage
7085rm -rf tmp.$$
7086if test x"${it_cv_SUN_SECURITY_UTIL_SECURITYCONSTANTS}" = "xno"; then
7087 as_fn_error $? "sun.security.util.SecurityConstants not found." "$LINENO" 5
7088fi
7089
7090
7091
7092
7093{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if sun.security.util.HostnameChecker is available" >&5
7094$as_echo_n "checking if sun.security.util.HostnameChecker is available... " >&6; }
7095if ${it_cv_SUN_SECURITY_UTIL_HOSTNAMECHECKER+:} false; then :
7096 $as_echo_n "(cached) " >&6
7097else
7098
7099CLASS=sun/applet/Test.java
7100BYTECODE=$(echo $CLASS|sed 's#\.java##')
7101mkdir -p tmp.$$/$(dirname $CLASS)
7102cd tmp.$$
7103cat << \EOF > $CLASS
7104/* [#]line 7104 "configure" */
7105package sun.applet;
7106
7107import sun.security.util.HostnameChecker;
7108
7109public class Test
7110{
7111 public static void main(String[] args)
7112 throws Exception
7113 {
7114 System.out.println(Class.forName("sun.security.util.HostnameChecker"));
7115 }
7116}
7117
7118EOF
7119if $JAVAC -cp . $JAVACFLAGS -nowarn $CLASS >&5 2>&1; then
7120 if $JAVA -classpath . $BYTECODE >&5 2>&1; then
7121 it_cv_SUN_SECURITY_UTIL_HOSTNAMECHECKER=yes;
7122 else
7123 it_cv_SUN_SECURITY_UTIL_HOSTNAMECHECKER=no;
7124 fi
7125else
7126 it_cv_SUN_SECURITY_UTIL_HOSTNAMECHECKER=no;
7127fi
7128
7129fi
7130{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $it_cv_SUN_SECURITY_UTIL_HOSTNAMECHECKER" >&5
7131$as_echo "$it_cv_SUN_SECURITY_UTIL_HOSTNAMECHECKER" >&6; }
7132rm -f $CLASS *.class
7133cd ..
7134# should be rmdir but has to be rm -rf due to sun.applet usage
7135rm -rf tmp.$$
7136if test x"${it_cv_SUN_SECURITY_UTIL_HOSTNAMECHECKER}" = "xno"; then
7137 as_fn_error $? "sun.security.util.HostnameChecker not found." "$LINENO" 5
7138fi
7139
7140
7141
7142
7143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if sun.security.x509.X500Name is available" >&5
7144$as_echo_n "checking if sun.security.x509.X500Name is available... " >&6; }
7145if ${it_cv_SUN_SECURITY_X509_X500NAME+:} false; then :
7146 $as_echo_n "(cached) " >&6
7147else
7148
7149CLASS=sun/applet/Test.java
7150BYTECODE=$(echo $CLASS|sed 's#\.java##')
7151mkdir -p tmp.$$/$(dirname $CLASS)
7152cd tmp.$$
7153cat << \EOF > $CLASS
7154/* [#]line 7154 "configure" */
7155package sun.applet;
7156
7157import sun.security.x509.X500Name;
7158
7159public class Test
7160{
7161 public static void main(String[] args)
7162 throws Exception
7163 {
7164 System.out.println(Class.forName("sun.security.x509.X500Name"));
7165 }
7166}
7167
7168EOF
7169if $JAVAC -cp . $JAVACFLAGS -nowarn $CLASS >&5 2>&1; then
7170 if $JAVA -classpath . $BYTECODE >&5 2>&1; then
7171 it_cv_SUN_SECURITY_X509_X500NAME=yes;
7172 else
7173 it_cv_SUN_SECURITY_X509_X500NAME=no;
7174 fi
7175else
7176 it_cv_SUN_SECURITY_X509_X500NAME=no;
7177fi
7178
7179fi
7180{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $it_cv_SUN_SECURITY_X509_X500NAME" >&5
7181$as_echo "$it_cv_SUN_SECURITY_X509_X500NAME" >&6; }
7182rm -f $CLASS *.class
7183cd ..
7184# should be rmdir but has to be rm -rf due to sun.applet usage
7185rm -rf tmp.$$
7186if test x"${it_cv_SUN_SECURITY_X509_X500NAME}" = "xno"; then
7187 as_fn_error $? "sun.security.x509.X500Name not found." "$LINENO" 5
7188fi
7189
7190
7191
7192
7193{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if sun.misc.BASE64Encoder is available" >&5
7194$as_echo_n "checking if sun.misc.BASE64Encoder is available... " >&6; }
7195if ${it_cv_SUN_MISC_BASE64ENCODER+:} false; then :
7196 $as_echo_n "(cached) " >&6
7197else
7198
7199CLASS=sun/applet/Test.java
7200BYTECODE=$(echo $CLASS|sed 's#\.java##')
7201mkdir -p tmp.$$/$(dirname $CLASS)
7202cd tmp.$$
7203cat << \EOF > $CLASS
7204/* [#]line 7204 "configure" */
7205package sun.applet;
7206
7207import sun.misc.BASE64Encoder;
7208
7209public class Test
7210{
7211 public static void main(String[] args)
7212 throws Exception
7213 {
7214 System.out.println(Class.forName("sun.misc.BASE64Encoder"));
7215 }
7216}
7217
7218EOF
7219if $JAVAC -cp . $JAVACFLAGS -nowarn $CLASS >&5 2>&1; then
7220 if $JAVA -classpath . $BYTECODE >&5 2>&1; then
7221 it_cv_SUN_MISC_BASE64ENCODER=yes;
7222 else
7223 it_cv_SUN_MISC_BASE64ENCODER=no;
7224 fi
7225else
7226 it_cv_SUN_MISC_BASE64ENCODER=no;
7227fi
7228
7229fi
7230{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $it_cv_SUN_MISC_BASE64ENCODER" >&5
7231$as_echo "$it_cv_SUN_MISC_BASE64ENCODER" >&6; }
7232rm -f $CLASS *.class
7233cd ..
7234# should be rmdir but has to be rm -rf due to sun.applet usage
7235rm -rf tmp.$$
7236if test x"${it_cv_SUN_MISC_BASE64ENCODER}" = "xno"; then
7237 as_fn_error $? "sun.misc.BASE64Encoder not found." "$LINENO" 5
7238fi
7239
7240
7241
7242
7243{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if sun.misc.HexDumpEncoder is available" >&5
7244$as_echo_n "checking if sun.misc.HexDumpEncoder is available... " >&6; }
7245if ${it_cv_SUN_MISC_HEXDUMPENCODER+:} false; then :
7246 $as_echo_n "(cached) " >&6
7247else
7248
7249CLASS=sun/applet/Test.java
7250BYTECODE=$(echo $CLASS|sed 's#\.java##')
7251mkdir -p tmp.$$/$(dirname $CLASS)
7252cd tmp.$$
7253cat << \EOF > $CLASS
7254/* [#]line 7254 "configure" */
7255package sun.applet;
7256
7257import sun.misc.HexDumpEncoder;
7258
7259public class Test
7260{
7261 public static void main(String[] args)
7262 throws Exception
7263 {
7264 System.out.println(Class.forName("sun.misc.HexDumpEncoder"));
7265 }
7266}
7267
7268EOF
7269if $JAVAC -cp . $JAVACFLAGS -nowarn $CLASS >&5 2>&1; then
7270 if $JAVA -classpath . $BYTECODE >&5 2>&1; then
7271 it_cv_SUN_MISC_HEXDUMPENCODER=yes;
7272 else
7273 it_cv_SUN_MISC_HEXDUMPENCODER=no;
7274 fi
7275else
7276 it_cv_SUN_MISC_HEXDUMPENCODER=no;
7277fi
7278
7279fi
7280{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $it_cv_SUN_MISC_HEXDUMPENCODER" >&5
7281$as_echo "$it_cv_SUN_MISC_HEXDUMPENCODER" >&6; }
7282rm -f $CLASS *.class
7283cd ..
7284# should be rmdir but has to be rm -rf due to sun.applet usage
7285rm -rf tmp.$$
7286if test x"${it_cv_SUN_MISC_HEXDUMPENCODER}" = "xno"; then
7287 as_fn_error $? "sun.misc.HexDumpEncoder not found." "$LINENO" 5
7288fi
7289
7290
7291
7292
7293{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if sun.security.validator.ValidatorException is available" >&5
7294$as_echo_n "checking if sun.security.validator.ValidatorException is available... " >&6; }
7295if ${it_cv_SUN_SECURITY_VALIDATOR_VALIDATOREXCEPTION+:} false; then :
7296 $as_echo_n "(cached) " >&6
7297else
7298
7299CLASS=sun/applet/Test.java
7300BYTECODE=$(echo $CLASS|sed 's#\.java##')
7301mkdir -p tmp.$$/$(dirname $CLASS)
7302cd tmp.$$
7303cat << \EOF > $CLASS
7304/* [#]line 7304 "configure" */
7305package sun.applet;
7306
7307import sun.security.validator.ValidatorException;
7308
7309public class Test
7310{
7311 public static void main(String[] args)
7312 throws Exception
7313 {
7314 System.out.println(Class.forName("sun.security.validator.ValidatorException"));
7315 }
7316}
7317
7318EOF
7319if $JAVAC -cp . $JAVACFLAGS -nowarn $CLASS >&5 2>&1; then
7320 if $JAVA -classpath . $BYTECODE >&5 2>&1; then
7321 it_cv_SUN_SECURITY_VALIDATOR_VALIDATOREXCEPTION=yes;
7322 else
7323 it_cv_SUN_SECURITY_VALIDATOR_VALIDATOREXCEPTION=no;
7324 fi
7325else
7326 it_cv_SUN_SECURITY_VALIDATOR_VALIDATOREXCEPTION=no;
7327fi
7328
7329fi
7330{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $it_cv_SUN_SECURITY_VALIDATOR_VALIDATOREXCEPTION" >&5
7331$as_echo "$it_cv_SUN_SECURITY_VALIDATOR_VALIDATOREXCEPTION" >&6; }
7332rm -f $CLASS *.class
7333cd ..
7334# should be rmdir but has to be rm -rf due to sun.applet usage
7335rm -rf tmp.$$
7336if test x"${it_cv_SUN_SECURITY_VALIDATOR_VALIDATOREXCEPTION}" = "xno"; then
7337 as_fn_error $? "sun.security.validator.ValidatorException not found." "$LINENO" 5
7338fi
7339
7340
7341
7342
7343{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if com.sun.net.ssl.internal.ssl.X509ExtendedTrustManager is available" >&5
7344$as_echo_n "checking if com.sun.net.ssl.internal.ssl.X509ExtendedTrustManager is available... " >&6; }
7345if ${it_cv_COM_SUN_NET_SSL_INTERNAL_SSL_X509EXTENDEDTRUSTMANAGER+:} false; then :
7346 $as_echo_n "(cached) " >&6
7347else
7348
7349CLASS=sun/applet/Test.java
7350BYTECODE=$(echo $CLASS|sed 's#\.java##')
7351mkdir -p tmp.$$/$(dirname $CLASS)
7352cd tmp.$$
7353cat << \EOF > $CLASS
7354/* [#]line 7354 "configure" */
7355package sun.applet;
7356
7357import com.sun.net.ssl.internal.ssl.X509ExtendedTrustManager;
7358
7359public class Test
7360{
7361 public static void main(String[] args)
7362 throws Exception
7363 {
7364 System.out.println(Class.forName("com.sun.net.ssl.internal.ssl.X509ExtendedTrustManager"));
7365 }
7366}
7367
7368EOF
7369if $JAVAC -cp . $JAVACFLAGS -nowarn $CLASS >&5 2>&1; then
7370 if $JAVA -classpath . $BYTECODE >&5 2>&1; then
7371 it_cv_COM_SUN_NET_SSL_INTERNAL_SSL_X509EXTENDEDTRUSTMANAGER=yes;
7372 else
7373 it_cv_COM_SUN_NET_SSL_INTERNAL_SSL_X509EXTENDEDTRUSTMANAGER=no;
7374 fi
7375else
7376 it_cv_COM_SUN_NET_SSL_INTERNAL_SSL_X509EXTENDEDTRUSTMANAGER=no;
7377fi
7378
7379fi
7380{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $it_cv_COM_SUN_NET_SSL_INTERNAL_SSL_X509EXTENDEDTRUSTMANAGER" >&5
7381$as_echo "$it_cv_COM_SUN_NET_SSL_INTERNAL_SSL_X509EXTENDEDTRUSTMANAGER" >&6; }
7382rm -f $CLASS *.class
7383cd ..
7384# should be rmdir but has to be rm -rf due to sun.applet usage
7385rm -rf tmp.$$
7386if test x"${it_cv_COM_SUN_NET_SSL_INTERNAL_SSL_X509EXTENDEDTRUSTMANAGER}" = "xno"; then
7387 as_fn_error $? "com.sun.net.ssl.internal.ssl.X509ExtendedTrustManager not found." "$LINENO" 5
7388fi
7389
7390
7391
7392
7393{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if sun.awt.X11.XEmbeddedFrame is available" >&5
7394$as_echo_n "checking if sun.awt.X11.XEmbeddedFrame is available... " >&6; }
7395if ${it_cv_SUN_AWT_X11_XEMBEDDEDFRAME+:} false; then :
7396 $as_echo_n "(cached) " >&6
7397else
7398
7399CLASS=sun/applet/Test.java
7400BYTECODE=$(echo $CLASS|sed 's#\.java##')
7401mkdir -p tmp.$$/$(dirname $CLASS)
7402cd tmp.$$
7403cat << \EOF > $CLASS
7404/* [#]line 7404 "configure" */
7405package sun.applet;
7406
7407import sun.awt.X11.XEmbeddedFrame;
7408
7409public class Test
7410{
7411 public static void main(String[] args)
7412 throws Exception
7413 {
7414 System.out.println(Class.forName("sun.awt.X11.XEmbeddedFrame"));
7415 }
7416}
7417
7418EOF
7419if $JAVAC -cp . $JAVACFLAGS -nowarn $CLASS >&5 2>&1; then
7420 if $JAVA -classpath . $BYTECODE >&5 2>&1; then
7421 it_cv_SUN_AWT_X11_XEMBEDDEDFRAME=yes;
7422 else
7423 it_cv_SUN_AWT_X11_XEMBEDDEDFRAME=no;
7424 fi
7425else
7426 it_cv_SUN_AWT_X11_XEMBEDDEDFRAME=no;
7427fi
7428
7429fi
7430{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $it_cv_SUN_AWT_X11_XEMBEDDEDFRAME" >&5
7431$as_echo "$it_cv_SUN_AWT_X11_XEMBEDDEDFRAME" >&6; }
7432rm -f $CLASS *.class
7433cd ..
7434# should be rmdir but has to be rm -rf due to sun.applet usage
7435rm -rf tmp.$$
7436if test x"${it_cv_SUN_AWT_X11_XEMBEDDEDFRAME}" = "xno"; then
7437 as_fn_error $? "sun.awt.X11.XEmbeddedFrame not found." "$LINENO" 5
7438fi
7439
7440
7441
7442
7443{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if sun.misc.Ref is available" >&5
7444$as_echo_n "checking if sun.misc.Ref is available... " >&6; }
7445if ${it_cv_SUN_MISC_REF+:} false; then :
7446 $as_echo_n "(cached) " >&6
7447else
7448
7449CLASS=sun/applet/Test.java
7450BYTECODE=$(echo $CLASS|sed 's#\.java##')
7451mkdir -p tmp.$$/$(dirname $CLASS)
7452cd tmp.$$
7453cat << \EOF > $CLASS
7454/* [#]line 7454 "configure" */
7455package sun.applet;
7456
7457import sun.misc.Ref;
7458
7459public class Test
7460{
7461 public static void main(String[] args)
7462 throws Exception
7463 {
7464 System.out.println(Class.forName("sun.misc.Ref"));
7465 }
7466}
7467
7468EOF
7469if $JAVAC -cp . $JAVACFLAGS -nowarn $CLASS >&5 2>&1; then
7470 if $JAVA -classpath . $BYTECODE >&5 2>&1; then
7471 it_cv_SUN_MISC_REF=yes;
7472 else
7473 it_cv_SUN_MISC_REF=no;
7474 fi
7475else
7476 it_cv_SUN_MISC_REF=no;
7477fi
7478
7479fi
7480{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $it_cv_SUN_MISC_REF" >&5
7481$as_echo "$it_cv_SUN_MISC_REF" >&6; }
7482rm -f $CLASS *.class
7483cd ..
7484# should be rmdir but has to be rm -rf due to sun.applet usage
7485rm -rf tmp.$$
7486if test x"${it_cv_SUN_MISC_REF}" = "xno"; then
7487 as_fn_error $? "sun.misc.Ref not found." "$LINENO" 5
7488fi
7489
7490
7491
7492
7493{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if com.sun.jndi.toolkit.url.UrlUtil is available" >&5
7494$as_echo_n "checking if com.sun.jndi.toolkit.url.UrlUtil is available... " >&6; }
7495if ${it_cv_COM_SUN_JNDI_TOOLKIT_URL_URLUTIL+:} false; then :
7496 $as_echo_n "(cached) " >&6
7497else
7498
7499CLASS=sun/applet/Test.java
7500BYTECODE=$(echo $CLASS|sed 's#\.java##')
7501mkdir -p tmp.$$/$(dirname $CLASS)
7502cd tmp.$$
7503cat << \EOF > $CLASS
7504/* [#]line 7504 "configure" */
7505package sun.applet;
7506
7507import com.sun.jndi.toolkit.url.UrlUtil;
7508
7509public class Test
7510{
7511 public static void main(String[] args)
7512 throws Exception
7513 {
7514 System.out.println(Class.forName("com.sun.jndi.toolkit.url.UrlUtil"));
7515 }
7516}
7517
7518EOF
7519if $JAVAC -cp . $JAVACFLAGS -nowarn $CLASS >&5 2>&1; then
7520 if $JAVA -classpath . $BYTECODE >&5 2>&1; then
7521 it_cv_COM_SUN_JNDI_TOOLKIT_URL_URLUTIL=yes;
7522 else
7523 it_cv_COM_SUN_JNDI_TOOLKIT_URL_URLUTIL=no;
7524 fi
7525else
7526 it_cv_COM_SUN_JNDI_TOOLKIT_URL_URLUTIL=no;
7527fi
7528
7529fi
7530{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $it_cv_COM_SUN_JNDI_TOOLKIT_URL_URLUTIL" >&5
7531$as_echo "$it_cv_COM_SUN_JNDI_TOOLKIT_URL_URLUTIL" >&6; }
7532rm -f $CLASS *.class
7533cd ..
7534# should be rmdir but has to be rm -rf due to sun.applet usage
7535rm -rf tmp.$$
7536if test x"${it_cv_COM_SUN_JNDI_TOOLKIT_URL_URLUTIL}" = "xno"; then
7537 as_fn_error $? "com.sun.jndi.toolkit.url.UrlUtil not found." "$LINENO" 5
7538fi
7539
7540
7541
7542
7543{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if sun.applet.AppletImageRef is available" >&5
7544$as_echo_n "checking if sun.applet.AppletImageRef is available... " >&6; }
7545if ${it_cv_SUN_APPLET_APPLETIMAGEREF+:} false; then :
7546 $as_echo_n "(cached) " >&6
7547else
7548
7549CLASS=sun/applet/Test.java
7550BYTECODE=$(echo $CLASS|sed 's#\.java##')
7551mkdir -p tmp.$$/$(dirname $CLASS)
7552cd tmp.$$
7553cat << \EOF > $CLASS
7554/* [#]line 7554 "configure" */
7555package sun.applet;
7556
7557import sun.applet.AppletImageRef;
7558
7559public class Test
7560{
7561 public static void main(String[] args)
7562 throws Exception
7563 {
7564 System.out.println(Class.forName("sun.applet.AppletImageRef"));
7565 }
7566}
7567
7568EOF
7569if $JAVAC -cp . $JAVACFLAGS -nowarn $CLASS >&5 2>&1; then
7570 if $JAVA -classpath . $BYTECODE >&5 2>&1; then
7571 it_cv_SUN_APPLET_APPLETIMAGEREF=yes;
7572 else
7573 it_cv_SUN_APPLET_APPLETIMAGEREF=no;
7574 fi
7575else
7576 it_cv_SUN_APPLET_APPLETIMAGEREF=no;
7577fi
7578
7579fi
7580{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $it_cv_SUN_APPLET_APPLETIMAGEREF" >&5
7581$as_echo "$it_cv_SUN_APPLET_APPLETIMAGEREF" >&6; }
7582rm -f $CLASS *.class
7583cd ..
7584# should be rmdir but has to be rm -rf due to sun.applet usage
7585rm -rf tmp.$$
7586if test x"${it_cv_SUN_APPLET_APPLETIMAGEREF}" = "xno"; then
7587 as_fn_error $? "sun.applet.AppletImageRef not found." "$LINENO" 5
7588fi
7589
7590
7591
7592
7593{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if sun.applet.AppletViewerPanel is available and public" >&5
7594$as_echo_n "checking if sun.applet.AppletViewerPanel is available and public... " >&6; }
7595if ${it_cv_applet_hole+:} false; then :
7596 $as_echo_n "(cached) " >&6
7597else
7598
7599CLASS=TestAppletViewer.java
7600BYTECODE=$(echo $CLASS|sed 's#\.java##')
7601mkdir -p tmp.$$
7602cd tmp.$$
7603cat << \EOF > $CLASS
7604/* [#]line 7604 "configure" */
7605import java.lang.reflect.Modifier;
7606
7607public class TestAppletViewer
7608{
7609 public static void main(String[] args)
7610 {
7611 try
7612 {
7613 Class<?> clazz = Class.forName("sun.applet.AppletViewerPanel");
7614 if (Modifier.isPublic(clazz.getModifiers()))
7615 {
7616 System.err.println("Found public sun.applet.AppletViewerPanel");
7617 System.exit(0);
7618 }
7619 System.err.println("Found non-public sun.applet.AppletViewerPanel");
7620 System.exit(2);
7621 }
7622 catch (ClassNotFoundException e)
7623 {
7624 System.err.println("Could not find sun.applet.AppletViewerPanel");
7625 System.exit(1);
7626 }
7627 }
7628}
7629
7630EOF
7631if $JAVAC -cp . $JAVACFLAGS -nowarn $CLASS >&5 2>&1; then
7632 if $JAVA -classpath . $BYTECODE >&5 2>&1; then
7633 it_cv_applet_hole=yes;
7634 else
7635 it_cv_applet_hole=$?;
7636 fi
7637else
7638 it_cv_applet_hole=3;
7639fi
7640
7641fi
7642{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $it_cv_applet_hole" >&5
7643$as_echo "$it_cv_applet_hole" >&6; }
7644rm -f $CLASS *.class
7645cd ..
7646rmdir tmp.$$
7647if test x"${it_cv_applet_hole}" = "x1"; then
7648 as_fn_error $? "sun.applet.AppletViewerPanel is not available." "$LINENO" 5
7649elif test x"${it_cv_applet_hole}" = "x2"; then
7650 as_fn_error $? "sun.applet.AppletViewerPanel is not public." "$LINENO" 5
7651elif test x"${it_cv_applet_hole}" = "x3"; then
7652 as_fn_error $? "Compilation failed. See config.log." "$LINENO" 5
7653fi
7654
7655
7656#
7657# Find optional depedencies
7658#
7659
7660
7661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rhino jar" >&5
7662$as_echo_n "checking for rhino jar... " >&6; }
7663
7664# Check whether --with-rhino was given.
7665if test "${with_rhino+set}" = set; then :
7666 withval=$with_rhino;
7667 case "${withval}" in
7668 yes)
7669 RHINO_JAR=yes
7670 ;;
7671 no)
7672 RHINO_JAR=no
7673 ;;
7674 *)
7675 if test -f "${withval}"; then
7676 RHINO_JAR="${withval}"
7677 elif test -z "${withval}"; then
7678 RHINO_JAR=yes
7679 else
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7681$as_echo "not found" >&6; }
7682 as_fn_error $? "\"The rhino jar ${withval} was not found.\"" "$LINENO" 5
7683 fi
7684 ;;
7685 esac
7686
7687else
7688
7689 RHINO_JAR=yes
7690
7691fi
7692
7693 it_extra_paths_rhino="/usr/share/java/js.jar /usr/share/rhino-1.6/lib/js.jar"
7694 if test "x${RHINO_JAR}" = "xyes"; then
7695 for path in ${it_extra_paths_rhino}; do
7696 if test -f ${path}; then
7697 RHINO_JAR=${path}
7698 break
7699 fi
7700 done
7701 fi
7702 if test x"${RHINO_JAR}" = "xyes"; then
7703 if test -f "/usr/share/java/rhino.jar"; then
7704 RHINO_JAR=/usr/share/java/rhino.jar
7705 fi
7706 fi
7707 if test x"${RHINO_JAR}" = "xyes"; then
7708 RHINO_JAR=no
7709 fi
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${RHINO_JAR}" >&5
7711$as_echo "${RHINO_JAR}" >&6; }
7712 if test x"${RHINO_JAR}" != "xno"; then
7713 WITH_RHINO_TRUE=
7714 WITH_RHINO_FALSE='#'
7715else
7716 WITH_RHINO_TRUE='#'
7717 WITH_RHINO_FALSE=
7718fi
7719
7720 # Clear RHINO_JAR if it doesn't contain a valid filename
7721 if test x"${RHINO_JAR}" = "xno"; then
7722 RHINO_JAR=
7723 fi
7724 if test -n "${RHINO_JAR}" ; then
7725 RHINO_AVAILABLE=true
7726 else
7727 RHINO_AVAILABLE=false
7728 fi
7729
7730
7731
7732
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for junit jar" >&5
7734$as_echo_n "checking for junit jar... " >&6; }
7735
7736# Check whether --with-junit was given.
7737if test "${with_junit+set}" = set; then :
7738 withval=$with_junit;
7739 case "${withval}" in
7740 yes)
7741 JUNIT_JAR=yes
7742 ;;
7743 no)
7744 JUNIT_JAR=no
7745 ;;
7746 *)
7747 if test -f "${withval}"; then
7748 JUNIT_JAR="${withval}"
7749 elif test -z "${withval}"; then
7750 JUNIT_JAR=yes
7751 else
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7753$as_echo "not found" >&6; }
7754 as_fn_error $? "\"The junit jar ${withval} was not found.\"" "$LINENO" 5
7755 fi
7756 ;;
7757 esac
7758
7759else
7760
7761 JUNIT_JAR=yes
7762
7763fi
7764
7765 it_extra_paths_junit="/usr/share/java/junit4.jar /usr/share/junit-4/lib/junit.jar"
7766 if test "x${JUNIT_JAR}" = "xyes"; then
7767 for path in ${it_extra_paths_junit}; do
7768 if test -f ${path}; then
7769 JUNIT_JAR=${path}
7770 break
7771 fi
7772 done
7773 fi
7774 if test x"${JUNIT_JAR}" = "xyes"; then
7775 if test -f "/usr/share/java/junit.jar"; then
7776 JUNIT_JAR=/usr/share/java/junit.jar
7777 fi
7778 fi
7779 if test x"${JUNIT_JAR}" = "xyes"; then
7780 JUNIT_JAR=no
7781 fi
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${JUNIT_JAR}" >&5
7783$as_echo "${JUNIT_JAR}" >&6; }
7784 if test x"${JUNIT_JAR}" != "xno"; then
7785 WITH_JUNIT_TRUE=
7786 WITH_JUNIT_FALSE='#'
7787else
7788 WITH_JUNIT_TRUE='#'
7789 WITH_JUNIT_FALSE=
7790fi
7791
7792 # Clear JUNIT_JAR if it doesn't contain a valid filename
7793 if test x"${JUNIT_JAR}" = "xno"; then
7794 JUNIT_JAR=
7795 fi
7796 if test -n "${JUNIT_JAR}" ; then
7797 JUNIT_AVAILABLE=true
7798 else
7799 JUNIT_AVAILABLE=false
7800 fi
7801
7802
7803
7804
7805ac_config_files="$ac_config_files jrunscript"
7806
7807ac_config_files="$ac_config_files build.properties"
7808
7809
7810cat >confcache <<\_ACEOF
7811# This file is a shell script that caches the results of configure
7812# tests run on this system so they can be shared between configure
7813# scripts and configure runs, see configure's option --config-cache.
7814# It is not useful on other systems. If it contains results you don't
7815# want to keep, you may remove or edit it.
7816#
7817# config.status only pays attention to the cache file if you give it
7818# the --recheck option to rerun configure.
7819#
7820# `ac_cv_env_foo' variables (set or unset) will be overridden when
7821# loading this file, other *unset* `ac_cv_foo' will be assigned the
7822# following values.
7823
7824_ACEOF
7825
7826# The following way of writing the cache mishandles newlines in values,
7827# but we know of no workaround that is simple, portable, and efficient.
7828# So, we kill variables containing newlines.
7829# Ultrix sh set writes to stderr and can't be redirected directly,
7830# and sets the high bit in the cache file unless we assign to the vars.
7831(
7832 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7833 eval ac_val=\$$ac_var
7834 case $ac_val in #(
7835 *${as_nl}*)
7836 case $ac_var in #(
7837 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7838$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7839 esac
7840 case $ac_var in #(
7841 _ | IFS | as_nl) ;; #(
7842 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7843 *) { eval $ac_var=; unset $ac_var;} ;;
7844 esac ;;
7845 esac
7846 done
7847
7848 (set) 2>&1 |
7849 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7850 *${as_nl}ac_space=\ *)
7851 # `set' does not quote correctly, so add quotes: double-quote
7852 # substitution turns \\\\ into \\, and sed turns \\ into \.
7853 sed -n \
7854 "s/'/'\\\\''/g;
7855 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7856 ;; #(
7857 *)
7858 # `set' quotes correctly as required by POSIX, so do not add quotes.
7859 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7860 ;;
7861 esac |
7862 sort
7863) |
7864 sed '
7865 /^ac_cv_env_/b end
7866 t clear
7867 :clear
7868 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7869 t end
7870 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7871 :end' >>confcache
7872if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7873 if test -w "$cache_file"; then
7874 if test "x$cache_file" != "x/dev/null"; then
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7876$as_echo "$as_me: updating cache $cache_file" >&6;}
7877 if test ! -f "$cache_file" || test -h "$cache_file"; then
7878 cat confcache >"$cache_file"
7879 else
7880 case $cache_file in #(
7881 */* | ?:*)
7882 mv -f confcache "$cache_file"$$ &&
7883 mv -f "$cache_file"$$ "$cache_file" ;; #(
7884 *)
7885 mv -f confcache "$cache_file" ;;
7886 esac
7887 fi
7888 fi
7889 else
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7891$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7892 fi
7893fi
7894rm -f confcache
7895
7896test "x$prefix" = xNONE && prefix=$ac_default_prefix
7897# Let make expand exec_prefix.
7898test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7899
7900# Transform confdefs.h into DEFS.
7901# Protect against shell expansion while executing Makefile rules.
7902# Protect against Makefile macro expansion.
7903#
7904# If the first sed substitution is executed (which looks for macros that
7905# take arguments), then branch to the quote section. Otherwise,
7906# look for a macro that doesn't take arguments.
7907ac_script='
7908:mline
7909/\\$/{
7910 N
7911 s,\\\n,,
7912 b mline
7913}
7914t clear
7915:clear
7916s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
7917t quote
7918s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
7919t quote
7920b any
7921:quote
7922s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
7923s/\[/\\&/g
7924s/\]/\\&/g
7925s/\$/$$/g
7926H
7927:any
7928${
7929 g
7930 s/^\n//
7931 s/\n/ /g
7932 p
7933}
7934'
7935DEFS=`sed -n "$ac_script" confdefs.h`
7936
7937
7938ac_libobjs=
7939ac_ltlibobjs=
7940U=
7941for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7942 # 1. Remove the extension, and $U if already installed.
7943 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7944 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7945 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7946 # will be set to the directory where LIBOBJS objects are built.
7947 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7948 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7949done
7950LIBOBJS=$ac_libobjs
7951
7952LTLIBOBJS=$ac_ltlibobjs
7953
7954
7955 if test -n "$EXEEXT"; then
7956 am__EXEEXT_TRUE=
7957 am__EXEEXT_FALSE='#'
7958else
7959 am__EXEEXT_TRUE='#'
7960 am__EXEEXT_FALSE=
7961fi
7962
7963if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7964 as_fn_error $? "conditional \"AMDEP\" was never defined.
7965Usually this means the macro was only invoked conditionally." "$LINENO" 5
7966fi
7967if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7968 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
7969Usually this means the macro was only invoked conditionally." "$LINENO" 5
7970fi
7971if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
7972 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
7973Usually this means the macro was only invoked conditionally." "$LINENO" 5
7974fi
7975if test -z "${CP_SUPPORTS_REFLINK_TRUE}" && test -z "${CP_SUPPORTS_REFLINK_FALSE}"; then
7976 as_fn_error $? "conditional \"CP_SUPPORTS_REFLINK\" was never defined.
7977Usually this means the macro was only invoked conditionally." "$LINENO" 5
7978fi
7979if test -z "${SRC_DIR_HARDLINKABLE_TRUE}" && test -z "${SRC_DIR_HARDLINKABLE_FALSE}"; then
7980 as_fn_error $? "conditional \"SRC_DIR_HARDLINKABLE\" was never defined.
7981Usually this means the macro was only invoked conditionally." "$LINENO" 5
7982fi
7983if test -z "${ENABLE_DOCS_TRUE}" && test -z "${ENABLE_DOCS_FALSE}"; then
7984 as_fn_error $? "conditional \"ENABLE_DOCS\" was never defined.
7985Usually this means the macro was only invoked conditionally." "$LINENO" 5
7986fi
7987if test -z "${JAVADOC_SUPPORTS_J_OPTIONS_TRUE}" && test -z "${JAVADOC_SUPPORTS_J_OPTIONS_FALSE}"; then
7988 as_fn_error $? "conditional \"JAVADOC_SUPPORTS_J_OPTIONS\" was never defined.
7989Usually this means the macro was only invoked conditionally." "$LINENO" 5
7990fi
7991if test -z "${HAS_ICEDTEA_REVISION_TRUE}" && test -z "${HAS_ICEDTEA_REVISION_FALSE}"; then
7992 as_fn_error $? "conditional \"HAS_ICEDTEA_REVISION\" was never defined.
7993Usually this means the macro was only invoked conditionally." "$LINENO" 5
7994fi
7995if test -z "${HAS_PKGVERSION_TRUE}" && test -z "${HAS_PKGVERSION_FALSE}"; then
7996 as_fn_error $? "conditional \"HAS_PKGVERSION\" was never defined.
7997Usually this means the macro was only invoked conditionally." "$LINENO" 5
7998fi
7999if test -z "${ENABLE_PLUGIN_TRUE}" && test -z "${ENABLE_PLUGIN_FALSE}"; then
8000 as_fn_error $? "conditional \"ENABLE_PLUGIN\" was never defined.
8001Usually this means the macro was only invoked conditionally." "$LINENO" 5
8002fi
8003if test -z "${WITH_RHINO_TRUE}" && test -z "${WITH_RHINO_FALSE}"; then
8004 as_fn_error $? "conditional \"WITH_RHINO\" was never defined.
8005Usually this means the macro was only invoked conditionally." "$LINENO" 5
8006fi
8007if test -z "${WITH_JUNIT_TRUE}" && test -z "${WITH_JUNIT_FALSE}"; then
8008 as_fn_error $? "conditional \"WITH_JUNIT\" was never defined.
8009Usually this means the macro was only invoked conditionally." "$LINENO" 5
8010fi
8011
8012: "${CONFIG_STATUS=./config.status}"
8013ac_write_fail=0
8014ac_clean_files_save=$ac_clean_files
8015ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8016{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8017$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8018as_write_fail=0
8019cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8020#! $SHELL
8021# Generated by $as_me.
8022# Run this file to recreate the current configuration.
8023# Compiler output produced by configure, useful for debugging
8024# configure, is in config.log if it exists.
8025
8026debug=false
8027ac_cs_recheck=false
8028ac_cs_silent=false
8029
8030SHELL=\${CONFIG_SHELL-$SHELL}
8031export SHELL
8032_ASEOF
8033cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
8034## -------------------- ##
8035## M4sh Initialization. ##
8036## -------------------- ##
8037
8038# Be more Bourne compatible
8039DUALCASE=1; export DUALCASE # for MKS sh
8040if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
8041 emulate sh
8042 NULLCMD=:
8043 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8044 # is contrary to our usage. Disable this feature.
8045 alias -g '${1+"$@"}'='"$@"'
8046 setopt NO_GLOB_SUBST
8047else
8048 case `(set -o) 2>/dev/null` in #(
8049 *posix*) :
8050 set -o posix ;; #(
8051 *) :
8052 ;;
8053esac
8054fi
8055
8056
8057as_nl='
8058'
8059export as_nl
8060# Printing a long string crashes Solaris 7 /usr/bin/printf.
8061as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8062as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8063as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8064# Prefer a ksh shell builtin over an external printf program on Solaris,
8065# but without wasting forks for bash or zsh.
8066if test -z "$BASH_VERSION$ZSH_VERSION" \
8067 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8068 as_echo='print -r --'
8069 as_echo_n='print -rn --'
8070elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8071 as_echo='printf %s\n'
8072 as_echo_n='printf %s'
8073else
8074 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8075 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
8076 as_echo_n='/usr/ucb/echo -n'
8077 else
8078 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8079 as_echo_n_body='eval
8080 arg=$1;
8081 case $arg in #(
8082 *"$as_nl"*)
8083 expr "X$arg" : "X\\(.*\\)$as_nl";
8084 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8085 esac;
8086 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
8087 '
8088 export as_echo_n_body
8089 as_echo_n='sh -c $as_echo_n_body as_echo'
8090 fi
8091 export as_echo_body
8092 as_echo='sh -c $as_echo_body as_echo'
8093fi
8094
8095# The user is always right.
8096if test "${PATH_SEPARATOR+set}" != set; then
8097 PATH_SEPARATOR=:
8098 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8099 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8100 PATH_SEPARATOR=';'
8101 }
8102fi
8103
8104
8105# IFS
8106# We need space, tab and new line, in precisely that order. Quoting is
8107# there to prevent editors from complaining about space-tab.
8108# (If _AS_PATH_WALK were called with IFS unset, it would disable word
8109# splitting by setting IFS to empty value.)
8110IFS=" "" $as_nl"
8111
8112# Find who we are. Look in the path if we contain no directory separator.
8113as_myself=
8114case $0 in #((
8115 *[\\/]* ) as_myself=$0 ;;
8116 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8117for as_dir in $PATH
8118do
8119 IFS=$as_save_IFS
8120 test -z "$as_dir" && as_dir=.
8121 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8122 done
8123IFS=$as_save_IFS
8124
8125 ;;
8126esac
8127# We did not find ourselves, most probably we were run as `sh COMMAND'
8128# in which case we are not to be found in the path.
8129if test "x$as_myself" = x; then
8130 as_myself=$0
8131fi
8132if test ! -f "$as_myself"; then
8133 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8134 exit 1
8135fi
8136
8137# Unset variables that we do not need and which cause bugs (e.g. in
8138# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
8139# suppresses any "Segmentation fault" message there. '((' could
8140# trigger a bug in pdksh 5.2.14.
8141for as_var in BASH_ENV ENV MAIL MAILPATH
8142do eval test x\${$as_var+set} = xset \
8143 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
8144done
8145PS1='$ '
8146PS2='> '
8147PS4='+ '
8148
8149# NLS nuisances.
8150LC_ALL=C
8151export LC_ALL
8152LANGUAGE=C
8153export LANGUAGE
8154
8155# CDPATH.
8156(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
8157
8158
8159# as_fn_error STATUS ERROR [LINENO LOG_FD]
8160# ----------------------------------------
8161# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8162# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8163# script with STATUS, using 1 if that was 0.
8164as_fn_error ()
8165{
8166 as_status=$1; test $as_status -eq 0 && as_status=1
8167 if test "$4"; then
8168 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
8169 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
8170 fi
8171 $as_echo "$as_me: error: $2" >&2
8172 as_fn_exit $as_status
8173} # as_fn_error
8174
8175
8176# as_fn_set_status STATUS
8177# -----------------------
8178# Set $? to STATUS, without forking.
8179as_fn_set_status ()
8180{
8181 return $1
8182} # as_fn_set_status
8183
8184# as_fn_exit STATUS
8185# -----------------
8186# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8187as_fn_exit ()
8188{
8189 set +e
8190 as_fn_set_status $1
8191 exit $1
8192} # as_fn_exit
8193
8194# as_fn_unset VAR
8195# ---------------
8196# Portably unset VAR.
8197as_fn_unset ()
8198{
8199 { eval $1=; unset $1;}
8200}
8201as_unset=as_fn_unset
8202# as_fn_append VAR VALUE
8203# ----------------------
8204# Append the text in VALUE to the end of the definition contained in VAR. Take
8205# advantage of any shell optimizations that allow amortized linear growth over
8206# repeated appends, instead of the typical quadratic growth present in naive
8207# implementations.
8208if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
8209 eval 'as_fn_append ()
8210 {
8211 eval $1+=\$2
8212 }'
8213else
8214 as_fn_append ()
8215 {
8216 eval $1=\$$1\$2
8217 }
8218fi # as_fn_append
8219
8220# as_fn_arith ARG...
8221# ------------------
8222# Perform arithmetic evaluation on the ARGs, and store the result in the
8223# global $as_val. Take advantage of shells that can avoid forks. The arguments
8224# must be portable across $(()) and expr.
8225if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
8226 eval 'as_fn_arith ()
8227 {
8228 as_val=$(( $* ))
8229 }'
8230else
8231 as_fn_arith ()
8232 {
8233 as_val=`expr "$@" || test $? -eq 1`
8234 }
8235fi # as_fn_arith
8236
8237
8238if expr a : '\(a\)' >/dev/null 2>&1 &&
8239 test "X`expr 00001 : '.*\(...\)'`" = X001; then
8240 as_expr=expr
8241else
8242 as_expr=false
8243fi
8244
8245if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8246 as_basename=basename
8247else
8248 as_basename=false
8249fi
8250
8251if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8252 as_dirname=dirname
8253else
8254 as_dirname=false
8255fi
8256
8257as_me=`$as_basename -- "$0" ||
8258$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8259 X"$0" : 'X\(//\)$' \| \
8260 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8261$as_echo X/"$0" |
8262 sed '/^.*\/\([^/][^/]*\)\/*$/{
8263 s//\1/
8264 q
8265 }
8266 /^X\/\(\/\/\)$/{
8267 s//\1/
8268 q
8269 }
8270 /^X\/\(\/\).*/{
8271 s//\1/
8272 q
8273 }
8274 s/.*/./; q'`
8275
8276# Avoid depending upon Character Ranges.
8277as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8278as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8279as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8280as_cr_digits='0123456789'
8281as_cr_alnum=$as_cr_Letters$as_cr_digits
8282
8283ECHO_C= ECHO_N= ECHO_T=
8284case `echo -n x` in #(((((
8285-n*)
8286 case `echo 'xy\c'` in
8287 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
8288 xy) ECHO_C='\c';;
8289 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
8290 ECHO_T=' ';;
8291 esac;;
8292*)
8293 ECHO_N='-n';;
8294esac
8295
8296rm -f conf$$ conf$$.exe conf$$.file
8297if test -d conf$$.dir; then
8298 rm -f conf$$.dir/conf$$.file
8299else
8300 rm -f conf$$.dir
8301 mkdir conf$$.dir 2>/dev/null
8302fi
8303if (echo >conf$$.file) 2>/dev/null; then
8304 if ln -s conf$$.file conf$$ 2>/dev/null; then
8305 as_ln_s='ln -s'
8306 # ... but there are two gotchas:
8307 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8308 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8309 # In both cases, we have to default to `cp -p'.
8310 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8311 as_ln_s='cp -p'
8312 elif ln conf$$.file conf$$ 2>/dev/null; then
8313 as_ln_s=ln
8314 else
8315 as_ln_s='cp -p'
8316 fi
8317else
8318 as_ln_s='cp -p'
8319fi
8320rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8321rmdir conf$$.dir 2>/dev/null
8322
8323
8324# as_fn_mkdir_p
8325# -------------
8326# Create "$as_dir" as a directory, including parents if necessary.
8327as_fn_mkdir_p ()
8328{
8329
8330 case $as_dir in #(
8331 -*) as_dir=./$as_dir;;
8332 esac
8333 test -d "$as_dir" || eval $as_mkdir_p || {
8334 as_dirs=
8335 while :; do
8336 case $as_dir in #(
8337 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8338 *) as_qdir=$as_dir;;
8339 esac
8340 as_dirs="'$as_qdir' $as_dirs"
8341 as_dir=`$as_dirname -- "$as_dir" ||
8342$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8343 X"$as_dir" : 'X\(//\)[^/]' \| \
8344 X"$as_dir" : 'X\(//\)$' \| \
8345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8346$as_echo X"$as_dir" |
8347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8348 s//\1/
8349 q
8350 }
8351 /^X\(\/\/\)[^/].*/{
8352 s//\1/
8353 q
8354 }
8355 /^X\(\/\/\)$/{
8356 s//\1/
8357 q
8358 }
8359 /^X\(\/\).*/{
8360 s//\1/
8361 q
8362 }
8363 s/.*/./; q'`
8364 test -d "$as_dir" && break
8365 done
8366 test -z "$as_dirs" || eval "mkdir $as_dirs"
8367 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
8368
8369
8370} # as_fn_mkdir_p
8371if mkdir -p . 2>/dev/null; then
8372 as_mkdir_p='mkdir -p "$as_dir"'
8373else
8374 test -d ./-p && rmdir ./-p
8375 as_mkdir_p=false
8376fi
8377
8378if test -x / >/dev/null 2>&1; then
8379 as_test_x='test -x'
8380else
8381 if ls -dL / >/dev/null 2>&1; then
8382 as_ls_L_option=L
8383 else
8384 as_ls_L_option=
8385 fi
8386 as_test_x='
8387 eval sh -c '\''
8388 if test -d "$1"; then
8389 test -d "$1/.";
8390 else
8391 case $1 in #(
8392 -*)set "./$1";;
8393 esac;
8394 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
8395 ???[sx]*):;;*)false;;esac;fi
8396 '\'' sh
8397 '
8398fi
8399as_executable_p=$as_test_x
8400
8401# Sed expression to map a string onto a valid CPP name.
8402as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8403
8404# Sed expression to map a string onto a valid variable name.
8405as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8406
8407
8408exec 6>&1
8409## ----------------------------------- ##
8410## Main body of $CONFIG_STATUS script. ##
8411## ----------------------------------- ##
8412_ASEOF
8413test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
8414
8415cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8416# Save the log message, to keep $0 and so on meaningful, and to
8417# report actual input values of CONFIG_FILES etc. instead of their
8418# values after options handling.
8419ac_log="
8420This file was extended by icedtea-web $as_me 1.1.2, which was
8421generated by GNU Autoconf 2.68. Invocation command line was
8422
8423 CONFIG_FILES = $CONFIG_FILES
8424 CONFIG_HEADERS = $CONFIG_HEADERS
8425 CONFIG_LINKS = $CONFIG_LINKS
8426 CONFIG_COMMANDS = $CONFIG_COMMANDS
8427 $ $0 $@
8428
8429on `(hostname || uname -n) 2>/dev/null | sed 1q`
8430"
8431
8432_ACEOF
8433
8434case $ac_config_files in *"
8435"*) set x $ac_config_files; shift; ac_config_files=$*;;
8436esac
8437
8438
8439
8440cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8441# Files that config.status was made for.
8442config_files="$ac_config_files"
8443config_commands="$ac_config_commands"
8444
8445_ACEOF
8446
8447cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8448ac_cs_usage="\
8449\`$as_me' instantiates files and other configuration actions
8450from templates according to the current configuration. Unless the files
8451and actions are specified as TAGs, all are instantiated by default.
8452
8453Usage: $0 [OPTION]... [TAG]...
8454
8455 -h, --help print this help, then exit
8456 -V, --version print version number and configuration settings, then exit
8457 --config print configuration, then exit
8458 -q, --quiet, --silent
8459 do not print progress messages
8460 -d, --debug don't remove temporary files
8461 --recheck update $as_me by reconfiguring in the same conditions
8462 --file=FILE[:TEMPLATE]
8463 instantiate the configuration file FILE
8464
8465Configuration files:
8466$config_files
8467
8468Configuration commands:
8469$config_commands
8470
8471Report bugs to <distro-pkg-dev@openjdk.java.net>.
8472icedtea-web home page: <http://icedtea.classpath.org/wiki/IcedTea-Web>."
8473
8474_ACEOF
8475cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8476ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8477ac_cs_version="\\
8478icedtea-web config.status 1.1.2
8479configured by $0, generated by GNU Autoconf 2.68,
8480 with options \\"\$ac_cs_config\\"
8481
8482Copyright (C) 2010 Free Software Foundation, Inc.
8483This config.status script is free software; the Free Software Foundation
8484gives unlimited permission to copy, distribute and modify it."
8485
8486ac_pwd='$ac_pwd'
8487srcdir='$srcdir'
8488INSTALL='$INSTALL'
8489MKDIR_P='$MKDIR_P'
8490AWK='$AWK'
8491test -n "\$AWK" || AWK=awk
8492_ACEOF
8493
8494cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8495# The default lists apply if the user does not specify any file.
8496ac_need_defaults=:
8497while test $# != 0
8498do
8499 case $1 in
8500 --*=?*)
8501 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8502 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8503 ac_shift=:
8504 ;;
8505 --*=)
8506 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8507 ac_optarg=
8508 ac_shift=:
8509 ;;
8510 *)
8511 ac_option=$1
8512 ac_optarg=$2
8513 ac_shift=shift
8514 ;;
8515 esac
8516
8517 case $ac_option in
8518 # Handling of the options.
8519 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8520 ac_cs_recheck=: ;;
8521 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8522 $as_echo "$ac_cs_version"; exit ;;
8523 --config | --confi | --conf | --con | --co | --c )
8524 $as_echo "$ac_cs_config"; exit ;;
8525 --debug | --debu | --deb | --de | --d | -d )
8526 debug=: ;;
8527 --file | --fil | --fi | --f )
8528 $ac_shift
8529 case $ac_optarg in
8530 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8531 '') as_fn_error $? "missing file argument" ;;
8532 esac
8533 as_fn_append CONFIG_FILES " '$ac_optarg'"
8534 ac_need_defaults=false;;
8535 --he | --h | --help | --hel | -h )
8536 $as_echo "$ac_cs_usage"; exit ;;
8537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8538 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8539 ac_cs_silent=: ;;
8540
8541 # This is an error.
8542 -*) as_fn_error $? "unrecognized option: \`$1'
8543Try \`$0 --help' for more information." ;;
8544
8545 *) as_fn_append ac_config_targets " $1"
8546 ac_need_defaults=false ;;
8547
8548 esac
8549 shift
8550done
8551
8552ac_configure_extra_args=
8553
8554if $ac_cs_silent; then
8555 exec 6>/dev/null
8556 ac_configure_extra_args="$ac_configure_extra_args --silent"
8557fi
8558
8559_ACEOF
8560cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8561if \$ac_cs_recheck; then
8562 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8563 shift
8564 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8565 CONFIG_SHELL='$SHELL'
8566 export CONFIG_SHELL
8567 exec "\$@"
8568fi
8569
8570_ACEOF
8571cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8572exec 5>>config.log
8573{
8574 echo
8575 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8576## Running $as_me. ##
8577_ASBOX
8578 $as_echo "$ac_log"
8579} >&5
8580
8581_ACEOF
8582cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8583#
8584# INIT-COMMANDS
8585#
8586AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8587
8588_ACEOF
8589
8590cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8591
8592# Handling of arguments.
8593for ac_config_target in $ac_config_targets
8594do
8595 case $ac_config_target in
8596 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8597 "netx.manifest") CONFIG_FILES="$CONFIG_FILES netx.manifest" ;;
8598 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
8599 "javac") CONFIG_FILES="$CONFIG_FILES javac" ;;
8600 "jrunscript") CONFIG_FILES="$CONFIG_FILES jrunscript" ;;
8601 "build.properties") CONFIG_FILES="$CONFIG_FILES build.properties" ;;
8602
8603 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8604 esac
8605done
8606
8607
8608# If the user did not use the arguments to specify the items to instantiate,
8609# then the envvar interface is used. Set only those that are not.
8610# We use the long form for the default assignment because of an extremely
8611# bizarre bug on SunOS 4.1.3.
8612if $ac_need_defaults; then
8613 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8614 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8615fi
8616
8617# Have a temporary directory for convenience. Make it in the build tree
8618# simply because there is no reason against having it here, and in addition,
8619# creating and moving files from /tmp can sometimes cause problems.
8620# Hook for its removal unless debugging.
8621# Note that there is a small window in which the directory will not be cleaned:
8622# after its creation but before its name has been assigned to `$tmp'.
8623$debug ||
8624{
8625 tmp= ac_tmp=
8626 trap 'exit_status=$?
8627 : "${ac_tmp:=$tmp}"
8628 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8629' 0
8630 trap 'as_fn_exit 1' 1 2 13 15
8631}
8632# Create a (secure) tmp directory for tmp files.
8633
8634{
8635 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8636 test -d "$tmp"
8637} ||
8638{
8639 tmp=./conf$$-$RANDOM
8640 (umask 077 && mkdir "$tmp")
8641} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
8642ac_tmp=$tmp
8643
8644# Set up the scripts for CONFIG_FILES section.
8645# No need to generate them if there are no CONFIG_FILES.
8646# This happens for instance with `./config.status config.h'.
8647if test -n "$CONFIG_FILES"; then
8648
8649
8650ac_cr=`echo X | tr X '\015'`
8651# On cygwin, bash can eat \r inside `` if the user requested igncr.
8652# But we know of no other shell where ac_cr would be empty at this
8653# point, so we can use a bashism as a fallback.
8654if test "x$ac_cr" = x; then
8655 eval ac_cr=\$\'\\r\'
8656fi
8657ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8658if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8659 ac_cs_awk_cr='\\r'
8660else
8661 ac_cs_awk_cr=$ac_cr
8662fi
8663
8664echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8665_ACEOF
8666
8667
8668{
8669 echo "cat >conf$$subs.awk <<_ACEOF" &&
8670 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8671 echo "_ACEOF"
8672} >conf$$subs.sh ||
8673 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8674ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8675ac_delim='%!_!# '
8676for ac_last_try in false false false false false :; do
8677 . ./conf$$subs.sh ||
8678 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8679
8680 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8681 if test $ac_delim_n = $ac_delim_num; then
8682 break
8683 elif $ac_last_try; then
8684 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8685 else
8686 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8687 fi
8688done
8689rm -f conf$$subs.sh
8690
8691cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8692cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
8693_ACEOF
8694sed -n '
8695h
8696s/^/S["/; s/!.*/"]=/
8697p
8698g
8699s/^[^!]*!//
8700:repl
8701t repl
8702s/'"$ac_delim"'$//
8703t delim
8704:nl
8705h
8706s/\(.\{148\}\)..*/\1/
8707t more1
8708s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8709p
8710n
8711b repl
8712:more1
8713s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8714p
8715g
8716s/.\{148\}//
8717t nl
8718:delim
8719h
8720s/\(.\{148\}\)..*/\1/
8721t more2
8722s/["\\]/\\&/g; s/^/"/; s/$/"/
8723p
8724b
8725:more2
8726s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8727p
8728g
8729s/.\{148\}//
8730t delim
8731' <conf$$subs.awk | sed '
8732/^[^""]/{
8733 N
8734 s/\n//
8735}
8736' >>$CONFIG_STATUS || ac_write_fail=1
8737rm -f conf$$subs.awk
8738cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8739_ACAWK
8740cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
8741 for (key in S) S_is_set[key] = 1
8742 FS = ""
8743
8744}
8745{
8746 line = $ 0
8747 nfields = split(line, field, "@")
8748 substed = 0
8749 len = length(field[1])
8750 for (i = 2; i < nfields; i++) {
8751 key = field[i]
8752 keylen = length(key)
8753 if (S_is_set[key]) {
8754 value = S[key]
8755 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8756 len += length(value) + length(field[++i])
8757 substed = 1
8758 } else
8759 len += 1 + keylen
8760 }
8761
8762 print line
8763}
8764
8765_ACAWK
8766_ACEOF
8767cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8768if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8769 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8770else
8771 cat
8772fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
8773 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
8774_ACEOF
8775
8776# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8777# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
8778# trailing colons and then remove the whole line if VPATH becomes empty
8779# (actually we leave an empty line to preserve line numbers).
8780if test "x$srcdir" = x.; then
8781 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8782h
8783s///
8784s/^/:/
8785s/[ ]*$/:/
8786s/:\$(srcdir):/:/g
8787s/:\${srcdir}:/:/g
8788s/:@srcdir@:/:/g
8789s/^:*//
8790s/:*$//
8791x
8792s/\(=[ ]*\).*/\1/
8793G
8794s/\n//
8795s/^[^=]*=[ ]*$//
8796}'
8797fi
8798
8799cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8800fi # test -n "$CONFIG_FILES"
8801
8802
8803eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
8804shift
8805for ac_tag
8806do
8807 case $ac_tag in
8808 :[FHLC]) ac_mode=$ac_tag; continue;;
8809 esac
8810 case $ac_mode$ac_tag in
8811 :[FHL]*:*);;
8812 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
8813 :[FH]-) ac_tag=-:-;;
8814 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8815 esac
8816 ac_save_IFS=$IFS
8817 IFS=:
8818 set x $ac_tag
8819 IFS=$ac_save_IFS
8820 shift
8821 ac_file=$1
8822 shift
8823
8824 case $ac_mode in
8825 :L) ac_source=$1;;
8826 :[FH])
8827 ac_file_inputs=
8828 for ac_f
8829 do
8830 case $ac_f in
8831 -) ac_f="$ac_tmp/stdin";;
8832 *) # Look for the file first in the build tree, then in the source tree
8833 # (if the path is not absolute). The absolute path cannot be DOS-style,
8834 # because $ac_f cannot contain `:'.
8835 test -f "$ac_f" ||
8836 case $ac_f in
8837 [\\/$]*) false;;
8838 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8839 esac ||
8840 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8841 esac
8842 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8843 as_fn_append ac_file_inputs " '$ac_f'"
8844 done
8845
8846 # Let's still pretend it is `configure' which instantiates (i.e., don't
8847 # use $as_me), people would be surprised to read:
8848 # /* config.h. Generated by config.status. */
8849 configure_input='Generated from '`
8850 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8851 `' by configure.'
8852 if test x"$ac_file" != x-; then
8853 configure_input="$ac_file. $configure_input"
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8855$as_echo "$as_me: creating $ac_file" >&6;}
8856 fi
8857 # Neutralize special characters interpreted by sed in replacement strings.
8858 case $configure_input in #(
8859 *\&* | *\|* | *\\* )
8860 ac_sed_conf_input=`$as_echo "$configure_input" |
8861 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8862 *) ac_sed_conf_input=$configure_input;;
8863 esac
8864
8865 case $ac_tag in
8866 *:-:* | *:-) cat >"$ac_tmp/stdin" \
8867 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
8868 esac
8869 ;;
8870 esac
8871
8872 ac_dir=`$as_dirname -- "$ac_file" ||
8873$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8874 X"$ac_file" : 'X\(//\)[^/]' \| \
8875 X"$ac_file" : 'X\(//\)$' \| \
8876 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8877$as_echo X"$ac_file" |
8878 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8879 s//\1/
8880 q
8881 }
8882 /^X\(\/\/\)[^/].*/{
8883 s//\1/
8884 q
8885 }
8886 /^X\(\/\/\)$/{
8887 s//\1/
8888 q
8889 }
8890 /^X\(\/\).*/{
8891 s//\1/
8892 q
8893 }
8894 s/.*/./; q'`
8895 as_dir="$ac_dir"; as_fn_mkdir_p
8896 ac_builddir=.
8897
8898case "$ac_dir" in
8899.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8900*)
8901 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8902 # A ".." for each directory in $ac_dir_suffix.
8903 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8904 case $ac_top_builddir_sub in
8905 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8906 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8907 esac ;;
8908esac
8909ac_abs_top_builddir=$ac_pwd
8910ac_abs_builddir=$ac_pwd$ac_dir_suffix
8911# for backward compatibility:
8912ac_top_builddir=$ac_top_build_prefix
8913
8914case $srcdir in
8915 .) # We are building in place.
8916 ac_srcdir=.
8917 ac_top_srcdir=$ac_top_builddir_sub
8918 ac_abs_top_srcdir=$ac_pwd ;;
8919 [\\/]* | ?:[\\/]* ) # Absolute name.
8920 ac_srcdir=$srcdir$ac_dir_suffix;
8921 ac_top_srcdir=$srcdir
8922 ac_abs_top_srcdir=$srcdir ;;
8923 *) # Relative name.
8924 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8925 ac_top_srcdir=$ac_top_build_prefix$srcdir
8926 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8927esac
8928ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8929
8930
8931 case $ac_mode in
8932 :F)
8933 #
8934 # CONFIG_FILE
8935 #
8936
8937 case $INSTALL in
8938 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8939 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8940 esac
8941 ac_MKDIR_P=$MKDIR_P
8942 case $MKDIR_P in
8943 [\\/$]* | ?:[\\/]* ) ;;
8944 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
8945 esac
8946_ACEOF
8947
8948cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8949# If the template does not know about datarootdir, expand it.
8950# FIXME: This hack should be removed a few years after 2.60.
8951ac_datarootdir_hack=; ac_datarootdir_seen=
8952ac_sed_dataroot='
8953/datarootdir/ {
8954 p
8955 q
8956}
8957/@datadir@/p
8958/@docdir@/p
8959/@infodir@/p
8960/@localedir@/p
8961/@mandir@/p'
8962case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8963*datarootdir*) ac_datarootdir_seen=yes;;
8964*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8966$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8967_ACEOF
8968cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8969 ac_datarootdir_hack='
8970 s&@datadir@&$datadir&g
8971 s&@docdir@&$docdir&g
8972 s&@infodir@&$infodir&g
8973 s&@localedir@&$localedir&g
8974 s&@mandir@&$mandir&g
8975 s&\\\${datarootdir}&$datarootdir&g' ;;
8976esac
8977_ACEOF
8978
8979# Neutralize VPATH when `$srcdir' = `.'.
8980# Shell code in configure.ac might set extrasub.
8981# FIXME: do we really want to maintain this feature?
8982cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8983ac_sed_extra="$ac_vpsub
8984$extrasub
8985_ACEOF
8986cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8987:t
8988/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8989s|@configure_input@|$ac_sed_conf_input|;t t
8990s&@top_builddir@&$ac_top_builddir_sub&;t t
8991s&@top_build_prefix@&$ac_top_build_prefix&;t t
8992s&@srcdir@&$ac_srcdir&;t t
8993s&@abs_srcdir@&$ac_abs_srcdir&;t t
8994s&@top_srcdir@&$ac_top_srcdir&;t t
8995s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8996s&@builddir@&$ac_builddir&;t t
8997s&@abs_builddir@&$ac_abs_builddir&;t t
8998s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8999s&@INSTALL@&$ac_INSTALL&;t t
9000s&@MKDIR_P@&$ac_MKDIR_P&;t t
9001$ac_datarootdir_hack
9002"
9003eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
9004 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9005
9006test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9007 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
9008 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
9009 "$ac_tmp/out"`; test -z "$ac_out"; } &&
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9011which seems to be undefined. Please make sure it is defined" >&5
9012$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9013which seems to be undefined. Please make sure it is defined" >&2;}
9014
9015 rm -f "$ac_tmp/stdin"
9016 case $ac_file in
9017 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9018 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9019 esac \
9020 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9021 ;;
9022
9023
9024 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9025$as_echo "$as_me: executing $ac_file commands" >&6;}
9026 ;;
9027 esac
9028
9029
9030 case $ac_file$ac_mode in
9031 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
9032 # Autoconf 2.62 quotes --file arguments for eval, but not when files
9033 # are listed without --file. Let's play safe and only enable the eval
9034 # if we detect the quoting.
9035 case $CONFIG_FILES in
9036 *\'*) eval set x "$CONFIG_FILES" ;;
9037 *) set x $CONFIG_FILES ;;
9038 esac
9039 shift
9040 for mf
9041 do
9042 # Strip MF so we end up with the name of the file.
9043 mf=`echo "$mf" | sed -e 's/:.*$//'`
9044 # Check whether this is an Automake generated Makefile or not.
9045 # We used to match only the files named `Makefile.in', but
9046 # some people rename them; so instead we look at the file content.
9047 # Grep'ing the first line is not enough: some people post-process
9048 # each Makefile.in and add a new line on top of each file to say so.
9049 # Grep'ing the whole file is not good either: AIX grep has a line
9050 # limit of 2048, but all sed's we know have understand at least 4000.
9051 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
9052 dirpart=`$as_dirname -- "$mf" ||
9053$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9054 X"$mf" : 'X\(//\)[^/]' \| \
9055 X"$mf" : 'X\(//\)$' \| \
9056 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9057$as_echo X"$mf" |
9058 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9059 s//\1/
9060 q
9061 }
9062 /^X\(\/\/\)[^/].*/{
9063 s//\1/
9064 q
9065 }
9066 /^X\(\/\/\)$/{
9067 s//\1/
9068 q
9069 }
9070 /^X\(\/\).*/{
9071 s//\1/
9072 q
9073 }
9074 s/.*/./; q'`
9075 else
9076 continue
9077 fi
9078 # Extract the definition of DEPDIR, am__include, and am__quote
9079 # from the Makefile without running `make'.
9080 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9081 test -z "$DEPDIR" && continue
9082 am__include=`sed -n 's/^am__include = //p' < "$mf"`
9083 test -z "am__include" && continue
9084 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9085 # When using ansi2knr, U may be empty or an underscore; expand it
9086 U=`sed -n 's/^U = //p' < "$mf"`
9087 # Find all dependency output files, they are included files with
9088 # $(DEPDIR) in their names. We invoke sed twice because it is the
9089 # simplest approach to changing $(DEPDIR) to its actual value in the
9090 # expansion.
9091 for file in `sed -n "
9092 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9093 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9094 # Make sure the directory exists.
9095 test -f "$dirpart/$file" && continue
9096 fdir=`$as_dirname -- "$file" ||
9097$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9098 X"$file" : 'X\(//\)[^/]' \| \
9099 X"$file" : 'X\(//\)$' \| \
9100 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9101$as_echo X"$file" |
9102 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9103 s//\1/
9104 q
9105 }
9106 /^X\(\/\/\)[^/].*/{
9107 s//\1/
9108 q
9109 }
9110 /^X\(\/\/\)$/{
9111 s//\1/
9112 q
9113 }
9114 /^X\(\/\).*/{
9115 s//\1/
9116 q
9117 }
9118 s/.*/./; q'`
9119 as_dir=$dirpart/$fdir; as_fn_mkdir_p
9120 # echo "creating $dirpart/$file"
9121 echo '# dummy' > "$dirpart/$file"
9122 done
9123 done
9124}
9125 ;;
9126 "javac":F) chmod +x javac ;;
9127 "jrunscript":F) chmod u+x jrunscript ;;
9128
9129 esac
9130done # for ac_tag
9131
9132
9133as_fn_exit 0
9134_ACEOF
9135ac_clean_files=$ac_clean_files_save
9136
9137test $ac_write_fail = 0 ||
9138 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
9139
9140
9141# configure is writing to config.log, and then calls config.status.
9142# config.status does its own redirection, appending to config.log.
9143# Unfortunately, on DOS this fails, as config.log is still kept open
9144# by configure, so config.status won't be able to write to it; its
9145# output is simply discarded. So we exec the FD to /dev/null,
9146# effectively closing config.log, so it can be properly (re)opened and
9147# appended to by config.status. When coming back to configure, we
9148# need to make the FD available again.
9149if test "$no_create" != yes; then
9150 ac_cs_success=:
9151 ac_config_status_args=
9152 test "$silent" = yes &&
9153 ac_config_status_args="$ac_config_status_args --quiet"
9154 exec 5>/dev/null
9155 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9156 exec 5>>config.log
9157 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9158 # would make configure fail if this is the last instruction.
9159 $ac_cs_success || as_fn_exit 1
9160fi
9161if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9163$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
9164fi
9165
Note: See TracBrowser for help on using the repository browser.