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
|
---|
20 | DUALCASE=1; export DUALCASE # for MKS sh
|
---|
21 | if 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
|
---|
28 | else
|
---|
29 | case `(set -o) 2>/dev/null` in #(
|
---|
30 | *posix*) :
|
---|
31 | set -o posix ;; #(
|
---|
32 | *) :
|
---|
33 | ;;
|
---|
34 | esac
|
---|
35 | fi
|
---|
36 |
|
---|
37 |
|
---|
38 | as_nl='
|
---|
39 | '
|
---|
40 | export as_nl
|
---|
41 | # Printing a long string crashes Solaris 7 /usr/bin/printf.
|
---|
42 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
---|
43 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
44 | as_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.
|
---|
47 | if 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 --'
|
---|
51 | elif (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'
|
---|
54 | else
|
---|
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'
|
---|
74 | fi
|
---|
75 |
|
---|
76 | # The user is always right.
|
---|
77 | if 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 | }
|
---|
83 | fi
|
---|
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.)
|
---|
91 | IFS=" "" $as_nl"
|
---|
92 |
|
---|
93 | # Find who we are. Look in the path if we contain no directory separator.
|
---|
94 | as_myself=
|
---|
95 | case $0 in #((
|
---|
96 | *[\\/]* ) as_myself=$0 ;;
|
---|
97 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
98 | for as_dir in $PATH
|
---|
99 | do
|
---|
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
|
---|
104 | IFS=$as_save_IFS
|
---|
105 |
|
---|
106 | ;;
|
---|
107 | esac
|
---|
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.
|
---|
110 | if test "x$as_myself" = x; then
|
---|
111 | as_myself=$0
|
---|
112 | fi
|
---|
113 | if test ! -f "$as_myself"; then
|
---|
114 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
---|
115 | exit 1
|
---|
116 | fi
|
---|
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.
|
---|
122 | for as_var in BASH_ENV ENV MAIL MAILPATH
|
---|
123 | do eval test x\${$as_var+set} = xset \
|
---|
124 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
---|
125 | done
|
---|
126 | PS1='$ '
|
---|
127 | PS2='> '
|
---|
128 | PS4='+ '
|
---|
129 |
|
---|
130 | # NLS nuisances.
|
---|
131 | LC_ALL=C
|
---|
132 | export LC_ALL
|
---|
133 | LANGUAGE=C
|
---|
134 | export LANGUAGE
|
---|
135 |
|
---|
136 | # CDPATH.
|
---|
137 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
---|
138 |
|
---|
139 | if 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
|
---|
147 | else
|
---|
148 | case \`(set -o) 2>/dev/null\` in #(
|
---|
149 | *posix*) :
|
---|
150 | set -o posix ;; #(
|
---|
151 | *) :
|
---|
152 | ;;
|
---|
153 | esac
|
---|
154 | fi
|
---|
155 | "
|
---|
156 | as_required="as_fn_return () { (exit \$1); }
|
---|
157 | as_fn_success () { as_fn_return 0; }
|
---|
158 | as_fn_failure () { as_fn_return 1; }
|
---|
159 | as_fn_ret_success () { return 0; }
|
---|
160 | as_fn_ret_failure () { return 1; }
|
---|
161 |
|
---|
162 | exitcode=0
|
---|
163 | as_fn_success || { exitcode=1; echo as_fn_success failed.; }
|
---|
164 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
|
---|
165 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
|
---|
166 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
|
---|
167 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
|
---|
168 |
|
---|
169 | else
|
---|
170 | exitcode=1; echo positional parameters were not saved.
|
---|
171 | fi
|
---|
172 | test 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
|
---|
179 | else
|
---|
180 | as_have_required=no
|
---|
181 | fi
|
---|
182 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
|
---|
183 |
|
---|
184 | else
|
---|
185 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
186 | as_found=false
|
---|
187 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
---|
188 | do
|
---|
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
|
---|
202 | fi
|
---|
203 | fi
|
---|
204 | done;;
|
---|
205 | esac
|
---|
206 | as_found=false
|
---|
207 | done
|
---|
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
|
---|
211 | fi; }
|
---|
212 | IFS=$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+"$@"}
|
---|
231 | fi
|
---|
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
|
---|
247 | fi
|
---|
248 | fi
|
---|
249 | fi
|
---|
250 | SHELL=${CONFIG_SHELL-/bin/sh}
|
---|
251 | export SHELL
|
---|
252 | # Unset more variables known to interfere with behavior of common tools.
|
---|
253 | CLICOLOR_FORCE= GREP_OPTIONS=
|
---|
254 | unset CLICOLOR_FORCE GREP_OPTIONS
|
---|
255 |
|
---|
256 | ## --------------------- ##
|
---|
257 | ## M4sh Shell Functions. ##
|
---|
258 | ## --------------------- ##
|
---|
259 | # as_fn_unset VAR
|
---|
260 | # ---------------
|
---|
261 | # Portably unset VAR.
|
---|
262 | as_fn_unset ()
|
---|
263 | {
|
---|
264 | { eval $1=; unset $1;}
|
---|
265 | }
|
---|
266 | as_unset=as_fn_unset
|
---|
267 |
|
---|
268 | # as_fn_set_status STATUS
|
---|
269 | # -----------------------
|
---|
270 | # Set $? to STATUS, without forking.
|
---|
271 | as_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.
|
---|
279 | as_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.
|
---|
289 | as_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.
|
---|
339 | if (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 | }'
|
---|
344 | else
|
---|
345 | as_fn_append ()
|
---|
346 | {
|
---|
347 | eval $1=\$$1\$2
|
---|
348 | }
|
---|
349 | fi # 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.
|
---|
356 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
---|
357 | eval 'as_fn_arith ()
|
---|
358 | {
|
---|
359 | as_val=$(( $* ))
|
---|
360 | }'
|
---|
361 | else
|
---|
362 | as_fn_arith ()
|
---|
363 | {
|
---|
364 | as_val=`expr "$@" || test $? -eq 1`
|
---|
365 | }
|
---|
366 | fi # 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.
|
---|
374 | as_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 |
|
---|
385 | if expr a : '\(a\)' >/dev/null 2>&1 &&
|
---|
386 | test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
---|
387 | as_expr=expr
|
---|
388 | else
|
---|
389 | as_expr=false
|
---|
390 | fi
|
---|
391 |
|
---|
392 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
---|
393 | as_basename=basename
|
---|
394 | else
|
---|
395 | as_basename=false
|
---|
396 | fi
|
---|
397 |
|
---|
398 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
---|
399 | as_dirname=dirname
|
---|
400 | else
|
---|
401 | as_dirname=false
|
---|
402 | fi
|
---|
403 |
|
---|
404 | as_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.
|
---|
424 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
---|
425 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
---|
426 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
---|
427 | as_cr_digits='0123456789'
|
---|
428 | as_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 |
|
---|
462 | ECHO_C= ECHO_N= ECHO_T=
|
---|
463 | case `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';;
|
---|
473 | esac
|
---|
474 |
|
---|
475 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
476 | if test -d conf$$.dir; then
|
---|
477 | rm -f conf$$.dir/conf$$.file
|
---|
478 | else
|
---|
479 | rm -f conf$$.dir
|
---|
480 | mkdir conf$$.dir 2>/dev/null
|
---|
481 | fi
|
---|
482 | if (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
|
---|
496 | else
|
---|
497 | as_ln_s='cp -p'
|
---|
498 | fi
|
---|
499 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
---|
500 | rmdir conf$$.dir 2>/dev/null
|
---|
501 |
|
---|
502 | if mkdir -p . 2>/dev/null; then
|
---|
503 | as_mkdir_p='mkdir -p "$as_dir"'
|
---|
504 | else
|
---|
505 | test -d ./-p && rmdir ./-p
|
---|
506 | as_mkdir_p=false
|
---|
507 | fi
|
---|
508 |
|
---|
509 | if test -x / >/dev/null 2>&1; then
|
---|
510 | as_test_x='test -x'
|
---|
511 | else
|
---|
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 | '
|
---|
529 | fi
|
---|
530 | as_executable_p=$as_test_x
|
---|
531 |
|
---|
532 | # Sed expression to map a string onto a valid CPP name.
|
---|
533 | as_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.
|
---|
536 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
---|
537 |
|
---|
538 |
|
---|
539 | test -n "$DJDIR" || exec 7<&0 </dev/null
|
---|
540 | exec 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.
|
---|
545 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
546 |
|
---|
547 | #
|
---|
548 | # Initializations.
|
---|
549 | #
|
---|
550 | ac_default_prefix=/usr/local
|
---|
551 | ac_clean_files=
|
---|
552 | ac_config_libobj_dir=.
|
---|
553 | LIBOBJS=
|
---|
554 | cross_compiling=no
|
---|
555 | subdirs=
|
---|
556 | MFLAGS=
|
---|
557 | MAKEFLAGS=
|
---|
558 |
|
---|
559 | # Identity of this package.
|
---|
560 | PACKAGE_NAME='icedtea-web'
|
---|
561 | PACKAGE_TARNAME='icedtea-web'
|
---|
562 | PACKAGE_VERSION='1.1.2'
|
---|
563 | PACKAGE_STRING='icedtea-web 1.1.2'
|
---|
564 | PACKAGE_BUGREPORT='distro-pkg-dev@openjdk.java.net'
|
---|
565 | PACKAGE_URL='http://icedtea.classpath.org/wiki/IcedTea-Web'
|
---|
566 |
|
---|
567 | ac_subst_vars='am__EXEEXT_FALSE
|
---|
568 | am__EXEEXT_TRUE
|
---|
569 | LTLIBOBJS
|
---|
570 | LIBOBJS
|
---|
571 | JUNIT_AVAILABLE
|
---|
572 | JUNIT_JAR
|
---|
573 | WITH_JUNIT_FALSE
|
---|
574 | WITH_JUNIT_TRUE
|
---|
575 | RHINO_AVAILABLE
|
---|
576 | RHINO_JAR
|
---|
577 | WITH_RHINO_FALSE
|
---|
578 | WITH_RHINO_TRUE
|
---|
579 | JAVA
|
---|
580 | SYSTEM_JRE_DIR
|
---|
581 | X11_LIBS
|
---|
582 | X11_CFLAGS
|
---|
583 | MOZILLA_VERSION_COLLAPSED
|
---|
584 | ENABLE_PLUGIN_FALSE
|
---|
585 | ENABLE_PLUGIN_TRUE
|
---|
586 | MOZILLA_LIBS
|
---|
587 | MOZILLA_CFLAGS
|
---|
588 | GLIB_LIBS
|
---|
589 | GLIB_CFLAGS
|
---|
590 | GTK_LIBS
|
---|
591 | GTK_CFLAGS
|
---|
592 | PKG_CONFIG_LIBDIR
|
---|
593 | PKG_CONFIG_PATH
|
---|
594 | PKG_CONFIG
|
---|
595 | FULL_VERSION
|
---|
596 | PKGVERSION
|
---|
597 | HAS_PKGVERSION_FALSE
|
---|
598 | HAS_PKGVERSION_TRUE
|
---|
599 | HAS_ICEDTEA_REVISION_FALSE
|
---|
600 | HAS_ICEDTEA_REVISION_TRUE
|
---|
601 | ICEDTEA_REVISION
|
---|
602 | HG
|
---|
603 | JAVADOC_SUPPORTS_J_OPTIONS_FALSE
|
---|
604 | JAVADOC_SUPPORTS_J_OPTIONS_TRUE
|
---|
605 | JAVADOC_KNOWS_J_OPTIONS
|
---|
606 | JAVADOC
|
---|
607 | ECJ_JAR
|
---|
608 | JAR_KNOWS_J_OPTIONS
|
---|
609 | JAR_ACCEPTS_STDIN_LIST
|
---|
610 | JAR_KNOWS_ATFILE
|
---|
611 | JAR
|
---|
612 | USING_ECJ
|
---|
613 | ECJ
|
---|
614 | JAVAC
|
---|
615 | SYSTEM_JDK_DIR
|
---|
616 | ZIP
|
---|
617 | GCJ
|
---|
618 | ENABLE_DOCS_FALSE
|
---|
619 | ENABLE_DOCS_TRUE
|
---|
620 | SRC_DIR_HARDLINKABLE_FALSE
|
---|
621 | SRC_DIR_HARDLINKABLE_TRUE
|
---|
622 | CP_SUPPORTS_REFLINK_FALSE
|
---|
623 | CP_SUPPORTS_REFLINK_TRUE
|
---|
624 | ARCHFLAG
|
---|
625 | ARCH_PREFIX
|
---|
626 | JRE_ARCH_DIR
|
---|
627 | INSTALL_ARCH_DIR
|
---|
628 | BUILD_ARCH_DIR
|
---|
629 | am__fastdepCXX_FALSE
|
---|
630 | am__fastdepCXX_TRUE
|
---|
631 | CXXDEPMODE
|
---|
632 | ac_ct_CXX
|
---|
633 | CXXFLAGS
|
---|
634 | CXX
|
---|
635 | am__fastdepCC_FALSE
|
---|
636 | am__fastdepCC_TRUE
|
---|
637 | CCDEPMODE
|
---|
638 | AMDEPBACKSLASH
|
---|
639 | AMDEP_FALSE
|
---|
640 | AMDEP_TRUE
|
---|
641 | am__quote
|
---|
642 | am__include
|
---|
643 | DEPDIR
|
---|
644 | OBJEXT
|
---|
645 | EXEEXT
|
---|
646 | ac_ct_CC
|
---|
647 | CPPFLAGS
|
---|
648 | LDFLAGS
|
---|
649 | CFLAGS
|
---|
650 | CC
|
---|
651 | host_os
|
---|
652 | host_vendor
|
---|
653 | host_cpu
|
---|
654 | host
|
---|
655 | build_os
|
---|
656 | build_vendor
|
---|
657 | build_cpu
|
---|
658 | build
|
---|
659 | abs_top_srcdir
|
---|
660 | abs_top_builddir
|
---|
661 | am__untar
|
---|
662 | am__tar
|
---|
663 | AMTAR
|
---|
664 | am__leading_dot
|
---|
665 | SET_MAKE
|
---|
666 | AWK
|
---|
667 | mkdir_p
|
---|
668 | MKDIR_P
|
---|
669 | INSTALL_STRIP_PROGRAM
|
---|
670 | STRIP
|
---|
671 | install_sh
|
---|
672 | MAKEINFO
|
---|
673 | AUTOHEADER
|
---|
674 | AUTOMAKE
|
---|
675 | AUTOCONF
|
---|
676 | ACLOCAL
|
---|
677 | VERSION
|
---|
678 | PACKAGE
|
---|
679 | CYGPATH_W
|
---|
680 | am__isrc
|
---|
681 | INSTALL_DATA
|
---|
682 | INSTALL_SCRIPT
|
---|
683 | INSTALL_PROGRAM
|
---|
684 | target_alias
|
---|
685 | host_alias
|
---|
686 | build_alias
|
---|
687 | LIBS
|
---|
688 | ECHO_T
|
---|
689 | ECHO_N
|
---|
690 | ECHO_C
|
---|
691 | DEFS
|
---|
692 | mandir
|
---|
693 | localedir
|
---|
694 | libdir
|
---|
695 | psdir
|
---|
696 | pdfdir
|
---|
697 | dvidir
|
---|
698 | htmldir
|
---|
699 | infodir
|
---|
700 | docdir
|
---|
701 | oldincludedir
|
---|
702 | includedir
|
---|
703 | localstatedir
|
---|
704 | sharedstatedir
|
---|
705 | sysconfdir
|
---|
706 | datadir
|
---|
707 | datarootdir
|
---|
708 | libexecdir
|
---|
709 | sbindir
|
---|
710 | bindir
|
---|
711 | program_transform_name
|
---|
712 | prefix
|
---|
713 | exec_prefix
|
---|
714 | PACKAGE_URL
|
---|
715 | PACKAGE_BUGREPORT
|
---|
716 | PACKAGE_STRING
|
---|
717 | PACKAGE_VERSION
|
---|
718 | PACKAGE_TARNAME
|
---|
719 | PACKAGE_NAME
|
---|
720 | PATH_SEPARATOR
|
---|
721 | SHELL'
|
---|
722 | ac_subst_files=''
|
---|
723 | ac_user_opts='
|
---|
724 | enable_option_checking
|
---|
725 | enable_dependency_tracking
|
---|
726 | enable_docs
|
---|
727 | with_gcj
|
---|
728 | with_jdk_home
|
---|
729 | with_javac
|
---|
730 | with_ecj
|
---|
731 | with_jar
|
---|
732 | with_ecj_jar
|
---|
733 | with_javadoc
|
---|
734 | with_pkgversion
|
---|
735 | enable_plugin
|
---|
736 | with_jre_home
|
---|
737 | with_java
|
---|
738 | with_rhino
|
---|
739 | with_junit
|
---|
740 | '
|
---|
741 | ac_precious_vars='build_alias
|
---|
742 | host_alias
|
---|
743 | target_alias
|
---|
744 | CC
|
---|
745 | CFLAGS
|
---|
746 | LDFLAGS
|
---|
747 | LIBS
|
---|
748 | CPPFLAGS
|
---|
749 | CXX
|
---|
750 | CXXFLAGS
|
---|
751 | CCC
|
---|
752 | PKG_CONFIG
|
---|
753 | PKG_CONFIG_PATH
|
---|
754 | PKG_CONFIG_LIBDIR
|
---|
755 | GTK_CFLAGS
|
---|
756 | GTK_LIBS
|
---|
757 | GLIB_CFLAGS
|
---|
758 | GLIB_LIBS
|
---|
759 | MOZILLA_CFLAGS
|
---|
760 | MOZILLA_LIBS
|
---|
761 | X11_CFLAGS
|
---|
762 | X11_LIBS'
|
---|
763 |
|
---|
764 |
|
---|
765 | # Initialize some variables set by options.
|
---|
766 | ac_init_help=
|
---|
767 | ac_init_version=false
|
---|
768 | ac_unrecognized_opts=
|
---|
769 | ac_unrecognized_sep=
|
---|
770 | # The variables have the same names as the options, with
|
---|
771 | # dashes changed to underlines.
|
---|
772 | cache_file=/dev/null
|
---|
773 | exec_prefix=NONE
|
---|
774 | no_create=
|
---|
775 | no_recursion=
|
---|
776 | prefix=NONE
|
---|
777 | program_prefix=NONE
|
---|
778 | program_suffix=NONE
|
---|
779 | program_transform_name=s,x,x,
|
---|
780 | silent=
|
---|
781 | site=
|
---|
782 | srcdir=
|
---|
783 | verbose=
|
---|
784 | x_includes=NONE
|
---|
785 | x_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.)
|
---|
793 | bindir='${exec_prefix}/bin'
|
---|
794 | sbindir='${exec_prefix}/sbin'
|
---|
795 | libexecdir='${exec_prefix}/libexec'
|
---|
796 | datarootdir='${prefix}/share'
|
---|
797 | datadir='${datarootdir}'
|
---|
798 | sysconfdir='${prefix}/etc'
|
---|
799 | sharedstatedir='${prefix}/com'
|
---|
800 | localstatedir='${prefix}/var'
|
---|
801 | includedir='${prefix}/include'
|
---|
802 | oldincludedir='/usr/include'
|
---|
803 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
|
---|
804 | infodir='${datarootdir}/info'
|
---|
805 | htmldir='${docdir}'
|
---|
806 | dvidir='${docdir}'
|
---|
807 | pdfdir='${docdir}'
|
---|
808 | psdir='${docdir}'
|
---|
809 | libdir='${exec_prefix}/lib'
|
---|
810 | localedir='${datarootdir}/locale'
|
---|
811 | mandir='${datarootdir}/man'
|
---|
812 |
|
---|
813 | ac_prev=
|
---|
814 | ac_dashdash=
|
---|
815 | for ac_option
|
---|
816 | do
|
---|
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'
|
---|
1149 | Try \`$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
|
---|
1171 | done
|
---|
1172 |
|
---|
1173 | if test -n "$ac_prev"; then
|
---|
1174 | ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
---|
1175 | as_fn_error $? "missing argument to $ac_option"
|
---|
1176 | fi
|
---|
1177 |
|
---|
1178 | if 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
|
---|
1184 | fi
|
---|
1185 |
|
---|
1186 | # Check all directory arguments for consistency.
|
---|
1187 | for 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
|
---|
1191 | do
|
---|
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"
|
---|
1205 | done
|
---|
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.
|
---|
1210 | build=$build_alias
|
---|
1211 | host=$host_alias
|
---|
1212 | target=$target_alias
|
---|
1213 |
|
---|
1214 | # FIXME: To remove some day.
|
---|
1215 | if 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
|
---|
1223 | fi
|
---|
1224 |
|
---|
1225 | ac_tool_prefix=
|
---|
1226 | test -n "$host_alias" && ac_tool_prefix=$host_alias-
|
---|
1227 |
|
---|
1228 | test "$silent" = yes && exec 6>/dev/null
|
---|
1229 |
|
---|
1230 |
|
---|
1231 | ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
---|
1232 | ac_ls_di=`ls -di .` &&
|
---|
1233 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
---|
1234 | as_fn_error $? "working directory cannot be determined"
|
---|
1235 | test "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.
|
---|
1240 | if 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
|
---|
1270 | else
|
---|
1271 | ac_srcdir_defaulted=no
|
---|
1272 | fi
|
---|
1273 | if 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"
|
---|
1276 | fi
|
---|
1277 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
---|
1278 | ac_abs_confdir=`(
|
---|
1279 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
|
---|
1280 | pwd)`
|
---|
1281 | # When building in place, set srcdir=.
|
---|
1282 | if test "$ac_abs_confdir" = "$ac_pwd"; then
|
---|
1283 | srcdir=.
|
---|
1284 | fi
|
---|
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.
|
---|
1288 | case $srcdir in
|
---|
1289 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
|
---|
1290 | esac
|
---|
1291 | for 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}
|
---|
1296 | done
|
---|
1297 |
|
---|
1298 | #
|
---|
1299 | # Report the --help message.
|
---|
1300 | #
|
---|
1301 | if 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 |
|
---|
1307 | Usage: $0 [OPTION]... [VAR=VALUE]...
|
---|
1308 |
|
---|
1309 | To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
---|
1310 | VAR=VALUE. See below for descriptions of some of the useful variables.
|
---|
1311 |
|
---|
1312 | Defaults for the options are specified in brackets.
|
---|
1313 |
|
---|
1314 | Configuration:
|
---|
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 |
|
---|
1325 | Installation 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 |
|
---|
1331 | By default, \`make install' will install all the files in
|
---|
1332 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
---|
1333 | an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
---|
1334 | for instance \`--prefix=\$HOME'.
|
---|
1335 |
|
---|
1336 | For better control, use the options below.
|
---|
1337 |
|
---|
1338 | Fine 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 |
|
---|
1362 | Program 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 |
|
---|
1367 | System 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
|
---|
1371 | fi
|
---|
1372 |
|
---|
1373 | if 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 |
|
---|
1379 | Optional 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 |
|
---|
1388 | Optional 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 |
|
---|
1408 | Some 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 |
|
---|
1434 | Use these variables to override the choices made by `configure' or to help
|
---|
1435 | it to find libraries and programs with nonstandard names/locations.
|
---|
1436 |
|
---|
1437 | Report bugs to <distro-pkg-dev@openjdk.java.net>.
|
---|
1438 | icedtea-web home page: <http://icedtea.classpath.org/wiki/IcedTea-Web>.
|
---|
1439 | _ACEOF
|
---|
1440 | ac_status=$?
|
---|
1441 | fi
|
---|
1442 |
|
---|
1443 | if 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 |
|
---|
1451 | case "$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 ;;
|
---|
1461 | esac
|
---|
1462 | ac_abs_top_builddir=$ac_pwd
|
---|
1463 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
---|
1464 | # for backward compatibility:
|
---|
1465 | ac_top_builddir=$ac_top_build_prefix
|
---|
1466 |
|
---|
1467 | case $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 ;;
|
---|
1480 | esac
|
---|
1481 | ac_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
|
---|
1496 | fi
|
---|
1497 |
|
---|
1498 | test -n "$ac_init_help" && exit $ac_status
|
---|
1499 | if $ac_init_version; then
|
---|
1500 | cat <<\_ACEOF
|
---|
1501 | icedtea-web configure 1.1.2
|
---|
1502 | generated by GNU Autoconf 2.68
|
---|
1503 |
|
---|
1504 | Copyright (C) 2010 Free Software Foundation, Inc.
|
---|
1505 | This configure script is free software; the Free Software Foundation
|
---|
1506 | gives unlimited permission to copy, distribute and modify it.
|
---|
1507 | _ACEOF
|
---|
1508 | exit
|
---|
1509 | fi
|
---|
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.
|
---|
1518 | ac_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"
|
---|
1523 | case "(($ac_try" in
|
---|
1524 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
1525 | *) ac_try_echo=$ac_try;;
|
---|
1526 | esac
|
---|
1527 | eval 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
|
---|
1542 | else
|
---|
1543 | $as_echo "$as_me: failed program was:" >&5
|
---|
1544 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
1545 |
|
---|
1546 | ac_retval=1
|
---|
1547 | fi
|
---|
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.
|
---|
1556 | ac_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"
|
---|
1561 | case "(($ac_try" in
|
---|
1562 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
1563 | *) ac_try_echo=$ac_try;;
|
---|
1564 | esac
|
---|
1565 | eval 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
|
---|
1580 | else
|
---|
1581 | $as_echo "$as_me: failed program was:" >&5
|
---|
1582 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
1583 |
|
---|
1584 | ac_retval=1
|
---|
1585 | fi
|
---|
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.
|
---|
1594 | ac_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"
|
---|
1599 | case "(($ac_try" in
|
---|
1600 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
1601 | *) ac_try_echo=$ac_try;;
|
---|
1602 | esac
|
---|
1603 | eval 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
|
---|
1621 | else
|
---|
1622 | $as_echo "$as_me: failed program was:" >&5
|
---|
1623 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
1624 |
|
---|
1625 | ac_retval=1
|
---|
1626 | fi
|
---|
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
|
---|
1636 | cat >config.log <<_ACEOF
|
---|
1637 | This file contains any messages produced by compilers while
|
---|
1638 | running configure, to aid debugging if configure makes a mistake.
|
---|
1639 |
|
---|
1640 | It was created by icedtea-web $as_me 1.1.2, which was
|
---|
1641 | generated by GNU Autoconf 2.68. Invocation command line was
|
---|
1642 |
|
---|
1643 | $ $0 $@
|
---|
1644 |
|
---|
1645 | _ACEOF
|
---|
1646 | exec 5>>config.log
|
---|
1647 | {
|
---|
1648 | cat <<_ASUNAME
|
---|
1649 | ## --------- ##
|
---|
1650 | ## Platform. ##
|
---|
1651 | ## --------- ##
|
---|
1652 |
|
---|
1653 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
1654 | uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
---|
1655 | uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
---|
1656 | uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
---|
1657 | uname -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 |
|
---|
1672 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
1673 | for as_dir in $PATH
|
---|
1674 | do
|
---|
1675 | IFS=$as_save_IFS
|
---|
1676 | test -z "$as_dir" && as_dir=.
|
---|
1677 | $as_echo "PATH: $as_dir"
|
---|
1678 | done
|
---|
1679 | IFS=$as_save_IFS
|
---|
1680 |
|
---|
1681 | } >&5
|
---|
1682 |
|
---|
1683 | cat >&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.
|
---|
1698 | ac_configure_args=
|
---|
1699 | ac_configure_args0=
|
---|
1700 | ac_configure_args1=
|
---|
1701 | ac_must_keep_next=false
|
---|
1702 | for ac_pass in 1 2
|
---|
1703 | do
|
---|
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
|
---|
1737 | done
|
---|
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.
|
---|
1746 | trap '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
|
---|
1833 | for ac_signal in 1 2 13 15; do
|
---|
1834 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
|
---|
1835 | done
|
---|
1836 | ac_signal=0
|
---|
1837 |
|
---|
1838 | # confdefs.h avoids OS command line length limits that DEFS can exceed.
|
---|
1839 | rm -f -r conftest* confdefs.h
|
---|
1840 |
|
---|
1841 | $as_echo "/* confdefs.h */" > confdefs.h
|
---|
1842 |
|
---|
1843 | # Predefined preprocessor variables.
|
---|
1844 |
|
---|
1845 | cat >>confdefs.h <<_ACEOF
|
---|
1846 | #define PACKAGE_NAME "$PACKAGE_NAME"
|
---|
1847 | _ACEOF
|
---|
1848 |
|
---|
1849 | cat >>confdefs.h <<_ACEOF
|
---|
1850 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
---|
1851 | _ACEOF
|
---|
1852 |
|
---|
1853 | cat >>confdefs.h <<_ACEOF
|
---|
1854 | #define PACKAGE_VERSION "$PACKAGE_VERSION"
|
---|
1855 | _ACEOF
|
---|
1856 |
|
---|
1857 | cat >>confdefs.h <<_ACEOF
|
---|
1858 | #define PACKAGE_STRING "$PACKAGE_STRING"
|
---|
1859 | _ACEOF
|
---|
1860 |
|
---|
1861 | cat >>confdefs.h <<_ACEOF
|
---|
1862 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
---|
1863 | _ACEOF
|
---|
1864 |
|
---|
1865 | cat >>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.
|
---|
1872 | ac_site_file1=NONE
|
---|
1873 | ac_site_file2=NONE
|
---|
1874 | if 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
|
---|
1881 | elif test "x$prefix" != xNONE; then
|
---|
1882 | ac_site_file1=$prefix/share/config.site
|
---|
1883 | ac_site_file2=$prefix/etc/config.site
|
---|
1884 | else
|
---|
1885 | ac_site_file1=$ac_default_prefix/share/config.site
|
---|
1886 | ac_site_file2=$ac_default_prefix/etc/config.site
|
---|
1887 | fi
|
---|
1888 | for ac_site_file in "$ac_site_file1" "$ac_site_file2"
|
---|
1889 | do
|
---|
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;}
|
---|
1898 | as_fn_error $? "failed to load site script $ac_site_file
|
---|
1899 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
1900 | fi
|
---|
1901 | done
|
---|
1902 |
|
---|
1903 | if 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
|
---|
1914 | else
|
---|
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
|
---|
1918 | fi
|
---|
1919 |
|
---|
1920 | # Check that the precious variables saved in the cache have kept the same
|
---|
1921 | # value.
|
---|
1922 | ac_cache_corrupted=false
|
---|
1923 | for 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
|
---|
1969 | done
|
---|
1970 | if $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
|
---|
1976 | fi
|
---|
1977 | ## -------------------- ##
|
---|
1978 | ## Main body of script. ##
|
---|
1979 | ## -------------------- ##
|
---|
1980 |
|
---|
1981 | ac_ext=c
|
---|
1982 | ac_cpp='$CPP $CPPFLAGS'
|
---|
1983 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
1984 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
1985 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
1986 |
|
---|
1987 |
|
---|
1988 | am__api_version='1.11'
|
---|
1989 |
|
---|
1990 | ac_aux_dir=
|
---|
1991 | for 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
|
---|
2005 | done
|
---|
2006 | if test -z "$ac_aux_dir"; then
|
---|
2007 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
|
---|
2008 | fi
|
---|
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.
|
---|
2014 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
|
---|
2015 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
|
---|
2016 | ac_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; }
|
---|
2035 | if test -z "$INSTALL"; then
|
---|
2036 | if ${ac_cv_path_install+:} false; then :
|
---|
2037 | $as_echo_n "(cached) " >&6
|
---|
2038 | else
|
---|
2039 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
2040 | for as_dir in $PATH
|
---|
2041 | do
|
---|
2042 | IFS=$as_save_IFS
|
---|
2043 | test -z "$as_dir" && as_dir=.
|
---|
2044 | # Account for people who put trailing slashes in PATH elements.
|
---|
2045 | case $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 | ;;
|
---|
2083 | esac
|
---|
2084 |
|
---|
2085 | done
|
---|
2086 | IFS=$as_save_IFS
|
---|
2087 |
|
---|
2088 | rm -rf conftest.one conftest.two conftest.dir
|
---|
2089 |
|
---|
2090 | fi
|
---|
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
|
---|
2100 | fi
|
---|
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.
|
---|
2106 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
---|
2107 |
|
---|
2108 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
---|
2109 |
|
---|
2110 | test -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
|
---|
2115 | sleep 1
|
---|
2116 | echo timestamp > conftest.file
|
---|
2117 | # Reject unsafe characters in $srcdir or the absolute working directory
|
---|
2118 | # name. Accept space and tab only in the latter.
|
---|
2119 | am_lf='
|
---|
2120 | '
|
---|
2121 | case `pwd` in
|
---|
2122 | *[\\\"\#\$\&\'\`$am_lf]*)
|
---|
2123 | as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
|
---|
2124 | esac
|
---|
2125 | case $srcdir in
|
---|
2126 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
|
---|
2127 | as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
|
---|
2128 | esac
|
---|
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).
|
---|
2135 | if (
|
---|
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
|
---|
2150 | alias in your environment" "$LINENO" 5
|
---|
2151 | fi
|
---|
2152 |
|
---|
2153 | test "$2" = conftest.file
|
---|
2154 | )
|
---|
2155 | then
|
---|
2156 | # Ok.
|
---|
2157 | :
|
---|
2158 | else
|
---|
2159 | as_fn_error $? "newly created file is older than distributed files!
|
---|
2160 | Check your system clock" "$LINENO" 5
|
---|
2161 | fi
|
---|
2162 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
2163 | $as_echo "yes" >&6; }
|
---|
2164 | test "$program_prefix" != NONE &&
|
---|
2165 | program_transform_name="s&^&$program_prefix&;$program_transform_name"
|
---|
2166 | # Use a double $ so make ignores it.
|
---|
2167 | test "$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.
|
---|
2171 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
|
---|
2172 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
|
---|
2173 |
|
---|
2174 | # expand $ac_aux_dir to an absolute path
|
---|
2175 | am_aux_dir=`cd $ac_aux_dir && pwd`
|
---|
2176 |
|
---|
2177 | if 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
|
---|
2184 | fi
|
---|
2185 | # Use eval to expand $SHELL
|
---|
2186 | if eval "$MISSING --run true"; then
|
---|
2187 | am_missing_run="$MISSING --run "
|
---|
2188 | else
|
---|
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;}
|
---|
2192 | fi
|
---|
2193 |
|
---|
2194 | if 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
|
---|
2201 | fi
|
---|
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.
|
---|
2207 | if 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.
|
---|
2210 | set 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; }
|
---|
2213 | if ${ac_cv_prog_STRIP+:} false; then :
|
---|
2214 | $as_echo_n "(cached) " >&6
|
---|
2215 | else
|
---|
2216 | if test -n "$STRIP"; then
|
---|
2217 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
---|
2218 | else
|
---|
2219 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
2220 | for as_dir in $PATH
|
---|
2221 | do
|
---|
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
|
---|
2230 | done
|
---|
2231 | done
|
---|
2232 | IFS=$as_save_IFS
|
---|
2233 |
|
---|
2234 | fi
|
---|
2235 | fi
|
---|
2236 | STRIP=$ac_cv_prog_STRIP
|
---|
2237 | if test -n "$STRIP"; then
|
---|
2238 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
|
---|
2239 | $as_echo "$STRIP" >&6; }
|
---|
2240 | else
|
---|
2241 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
2242 | $as_echo "no" >&6; }
|
---|
2243 | fi
|
---|
2244 |
|
---|
2245 |
|
---|
2246 | fi
|
---|
2247 | if 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.
|
---|
2250 | set 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; }
|
---|
2253 | if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
|
---|
2254 | $as_echo_n "(cached) " >&6
|
---|
2255 | else
|
---|
2256 | if test -n "$ac_ct_STRIP"; then
|
---|
2257 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
---|
2258 | else
|
---|
2259 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
2260 | for as_dir in $PATH
|
---|
2261 | do
|
---|
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
|
---|
2270 | done
|
---|
2271 | done
|
---|
2272 | IFS=$as_save_IFS
|
---|
2273 |
|
---|
2274 | fi
|
---|
2275 | fi
|
---|
2276 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
---|
2277 | if 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; }
|
---|
2280 | else
|
---|
2281 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
2282 | $as_echo "no" >&6; }
|
---|
2283 | fi
|
---|
2284 |
|
---|
2285 | if test "x$ac_ct_STRIP" = x; then
|
---|
2286 | STRIP=":"
|
---|
2287 | else
|
---|
2288 | case $cross_compiling:$ac_tool_warned in
|
---|
2289 | yes:)
|
---|
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;}
|
---|
2292 | ac_tool_warned=yes ;;
|
---|
2293 | esac
|
---|
2294 | STRIP=$ac_ct_STRIP
|
---|
2295 | fi
|
---|
2296 | else
|
---|
2297 | STRIP="$ac_cv_prog_STRIP"
|
---|
2298 | fi
|
---|
2299 |
|
---|
2300 | fi
|
---|
2301 | INSTALL_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; }
|
---|
2305 | if test -z "$MKDIR_P"; then
|
---|
2306 | if ${ac_cv_path_mkdir+:} false; then :
|
---|
2307 | $as_echo_n "(cached) " >&6
|
---|
2308 | else
|
---|
2309 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
2310 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
|
---|
2311 | do
|
---|
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
|
---|
2327 | IFS=$as_save_IFS
|
---|
2328 |
|
---|
2329 | fi
|
---|
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
|
---|
2341 | fi
|
---|
2342 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
|
---|
2343 | $as_echo "$MKDIR_P" >&6; }
|
---|
2344 |
|
---|
2345 | mkdir_p="$MKDIR_P"
|
---|
2346 | case $mkdir_p in
|
---|
2347 | [\\/$]* | ?:[\\/]*) ;;
|
---|
2348 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
|
---|
2349 | esac
|
---|
2350 |
|
---|
2351 | for ac_prog in gawk mawk nawk awk
|
---|
2352 | do
|
---|
2353 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
2354 | set 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; }
|
---|
2357 | if ${ac_cv_prog_AWK+:} false; then :
|
---|
2358 | $as_echo_n "(cached) " >&6
|
---|
2359 | else
|
---|
2360 | if test -n "$AWK"; then
|
---|
2361 | ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
---|
2362 | else
|
---|
2363 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
2364 | for as_dir in $PATH
|
---|
2365 | do
|
---|
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
|
---|
2374 | done
|
---|
2375 | done
|
---|
2376 | IFS=$as_save_IFS
|
---|
2377 |
|
---|
2378 | fi
|
---|
2379 | fi
|
---|
2380 | AWK=$ac_cv_prog_AWK
|
---|
2381 | if test -n "$AWK"; then
|
---|
2382 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
|
---|
2383 | $as_echo "$AWK" >&6; }
|
---|
2384 | else
|
---|
2385 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
2386 | $as_echo "no" >&6; }
|
---|
2387 | fi
|
---|
2388 |
|
---|
2389 |
|
---|
2390 | test -n "$AWK" && break
|
---|
2391 | done
|
---|
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; }
|
---|
2395 | set x ${MAKE-make}
|
---|
2396 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
---|
2397 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
|
---|
2398 | $as_echo_n "(cached) " >&6
|
---|
2399 | else
|
---|
2400 | cat >conftest.make <<\_ACEOF
|
---|
2401 | SHELL = /bin/sh
|
---|
2402 | all:
|
---|
2403 | @echo '@@@%%%=$(MAKE)=@@@%%%'
|
---|
2404 | _ACEOF
|
---|
2405 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
|
---|
2406 | case `${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;;
|
---|
2411 | esac
|
---|
2412 | rm -f conftest.make
|
---|
2413 | fi
|
---|
2414 | if 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=
|
---|
2418 | else
|
---|
2419 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
2420 | $as_echo "no" >&6; }
|
---|
2421 | SET_MAKE="MAKE=${MAKE-make}"
|
---|
2422 | fi
|
---|
2423 |
|
---|
2424 | rm -rf .tst 2>/dev/null
|
---|
2425 | mkdir .tst 2>/dev/null
|
---|
2426 | if test -d .tst; then
|
---|
2427 | am__leading_dot=.
|
---|
2428 | else
|
---|
2429 | am__leading_dot=_
|
---|
2430 | fi
|
---|
2431 | rmdir .tst 2>/dev/null
|
---|
2432 |
|
---|
2433 | if 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
|
---|
2441 | fi
|
---|
2442 |
|
---|
2443 | # test whether we have cygpath
|
---|
2444 | if 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
|
---|
2450 | fi
|
---|
2451 |
|
---|
2452 |
|
---|
2453 | # Define the identity of the package.
|
---|
2454 | PACKAGE='icedtea-web'
|
---|
2455 | VERSION='1.1.2'
|
---|
2456 |
|
---|
2457 |
|
---|
2458 | cat >>confdefs.h <<_ACEOF
|
---|
2459 | #define PACKAGE "$PACKAGE"
|
---|
2460 | _ACEOF
|
---|
2461 |
|
---|
2462 |
|
---|
2463 | cat >>confdefs.h <<_ACEOF
|
---|
2464 | #define VERSION "$VERSION"
|
---|
2465 | _ACEOF
|
---|
2466 |
|
---|
2467 | # Some tools Automake needs.
|
---|
2468 |
|
---|
2469 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
|
---|
2470 |
|
---|
2471 |
|
---|
2472 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
|
---|
2473 |
|
---|
2474 |
|
---|
2475 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
|
---|
2476 |
|
---|
2477 |
|
---|
2478 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
|
---|
2479 |
|
---|
2480 |
|
---|
2481 | MAKEINFO=${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 |
|
---|
2487 | AMTAR=${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 `-'.
|
---|
2497 | for _am_tool in $_am_tools
|
---|
2498 | do
|
---|
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
|
---|
2560 | done
|
---|
2561 | rm -rf conftest.dir
|
---|
2562 |
|
---|
2563 | if ${am_cv_prog_tar_pax+:} false; then :
|
---|
2564 | $as_echo_n "(cached) " >&6
|
---|
2565 | else
|
---|
2566 | am_cv_prog_tar_pax=$_am_tool
|
---|
2567 | fi
|
---|
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 |
|
---|
2576 | ac_config_files="$ac_config_files Makefile netx.manifest"
|
---|
2577 |
|
---|
2578 |
|
---|
2579 | # Older automake doesn't generate these correctly
|
---|
2580 | abs_top_builddir=`pwd -P`
|
---|
2581 |
|
---|
2582 | abs_top_srcdir=`dirname $0`
|
---|
2583 | cd $abs_top_srcdir
|
---|
2584 | abs_top_srcdir=`pwd`
|
---|
2585 | cd $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; }
|
---|
2594 | if ${ac_cv_build+:} false; then :
|
---|
2595 | $as_echo_n "(cached) " >&6
|
---|
2596 | else
|
---|
2597 | ac_build_alias=$build_alias
|
---|
2598 | test "x$ac_build_alias" = x &&
|
---|
2599 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
|
---|
2600 | test "x$ac_build_alias" = x &&
|
---|
2601 | as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
|
---|
2602 | ac_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 |
|
---|
2605 | fi
|
---|
2606 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
|
---|
2607 | $as_echo "$ac_cv_build" >&6; }
|
---|
2608 | case $ac_cv_build in
|
---|
2609 | *-*-*) ;;
|
---|
2610 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
|
---|
2611 | esac
|
---|
2612 | build=$ac_cv_build
|
---|
2613 | ac_save_IFS=$IFS; IFS='-'
|
---|
2614 | set x $ac_cv_build
|
---|
2615 | shift
|
---|
2616 | build_cpu=$1
|
---|
2617 | build_vendor=$2
|
---|
2618 | shift; shift
|
---|
2619 | # Remember, the first character of IFS is used to create $*,
|
---|
2620 | # except with old shells:
|
---|
2621 | build_os=$*
|
---|
2622 | IFS=$ac_save_IFS
|
---|
2623 | case $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; }
|
---|
2628 | if ${ac_cv_host+:} false; then :
|
---|
2629 | $as_echo_n "(cached) " >&6
|
---|
2630 | else
|
---|
2631 | if test "x$host_alias" = x; then
|
---|
2632 | ac_cv_host=$ac_cv_build
|
---|
2633 | else
|
---|
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
|
---|
2636 | fi
|
---|
2637 |
|
---|
2638 | fi
|
---|
2639 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
|
---|
2640 | $as_echo "$ac_cv_host" >&6; }
|
---|
2641 | case $ac_cv_host in
|
---|
2642 | *-*-*) ;;
|
---|
2643 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
|
---|
2644 | esac
|
---|
2645 | host=$ac_cv_host
|
---|
2646 | ac_save_IFS=$IFS; IFS='-'
|
---|
2647 | set x $ac_cv_host
|
---|
2648 | shift
|
---|
2649 | host_cpu=$1
|
---|
2650 | host_vendor=$2
|
---|
2651 | shift; shift
|
---|
2652 | # Remember, the first character of IFS is used to create $*,
|
---|
2653 | # except with old shells:
|
---|
2654 | host_os=$*
|
---|
2655 | IFS=$ac_save_IFS
|
---|
2656 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
|
---|
2657 |
|
---|
2658 |
|
---|
2659 | ac_ext=c
|
---|
2660 | ac_cpp='$CPP $CPPFLAGS'
|
---|
2661 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
2662 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
2663 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
2664 | if 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.
|
---|
2666 | set 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; }
|
---|
2669 | if ${ac_cv_prog_CC+:} false; then :
|
---|
2670 | $as_echo_n "(cached) " >&6
|
---|
2671 | else
|
---|
2672 | if test -n "$CC"; then
|
---|
2673 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
2674 | else
|
---|
2675 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
2676 | for as_dir in $PATH
|
---|
2677 | do
|
---|
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
|
---|
2686 | done
|
---|
2687 | done
|
---|
2688 | IFS=$as_save_IFS
|
---|
2689 |
|
---|
2690 | fi
|
---|
2691 | fi
|
---|
2692 | CC=$ac_cv_prog_CC
|
---|
2693 | if test -n "$CC"; then
|
---|
2694 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
2695 | $as_echo "$CC" >&6; }
|
---|
2696 | else
|
---|
2697 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
2698 | $as_echo "no" >&6; }
|
---|
2699 | fi
|
---|
2700 |
|
---|
2701 |
|
---|
2702 | fi
|
---|
2703 | if 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.
|
---|
2706 | set 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; }
|
---|
2709 | if ${ac_cv_prog_ac_ct_CC+:} false; then :
|
---|
2710 | $as_echo_n "(cached) " >&6
|
---|
2711 | else
|
---|
2712 | if test -n "$ac_ct_CC"; then
|
---|
2713 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
---|
2714 | else
|
---|
2715 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
2716 | for as_dir in $PATH
|
---|
2717 | do
|
---|
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
|
---|
2726 | done
|
---|
2727 | done
|
---|
2728 | IFS=$as_save_IFS
|
---|
2729 |
|
---|
2730 | fi
|
---|
2731 | fi
|
---|
2732 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
---|
2733 | if 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; }
|
---|
2736 | else
|
---|
2737 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
2738 | $as_echo "no" >&6; }
|
---|
2739 | fi
|
---|
2740 |
|
---|
2741 | if test "x$ac_ct_CC" = x; then
|
---|
2742 | CC=""
|
---|
2743 | else
|
---|
2744 | case $cross_compiling:$ac_tool_warned in
|
---|
2745 | yes:)
|
---|
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;}
|
---|
2748 | ac_tool_warned=yes ;;
|
---|
2749 | esac
|
---|
2750 | CC=$ac_ct_CC
|
---|
2751 | fi
|
---|
2752 | else
|
---|
2753 | CC="$ac_cv_prog_CC"
|
---|
2754 | fi
|
---|
2755 |
|
---|
2756 | if 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.
|
---|
2759 | set 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; }
|
---|
2762 | if ${ac_cv_prog_CC+:} false; then :
|
---|
2763 | $as_echo_n "(cached) " >&6
|
---|
2764 | else
|
---|
2765 | if test -n "$CC"; then
|
---|
2766 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
2767 | else
|
---|
2768 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
2769 | for as_dir in $PATH
|
---|
2770 | do
|
---|
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
|
---|
2779 | done
|
---|
2780 | done
|
---|
2781 | IFS=$as_save_IFS
|
---|
2782 |
|
---|
2783 | fi
|
---|
2784 | fi
|
---|
2785 | CC=$ac_cv_prog_CC
|
---|
2786 | if test -n "$CC"; then
|
---|
2787 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
2788 | $as_echo "$CC" >&6; }
|
---|
2789 | else
|
---|
2790 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
2791 | $as_echo "no" >&6; }
|
---|
2792 | fi
|
---|
2793 |
|
---|
2794 |
|
---|
2795 | fi
|
---|
2796 | fi
|
---|
2797 | if test -z "$CC"; then
|
---|
2798 | # Extract the first word of "cc", so it can be a program name with args.
|
---|
2799 | set 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; }
|
---|
2802 | if ${ac_cv_prog_CC+:} false; then :
|
---|
2803 | $as_echo_n "(cached) " >&6
|
---|
2804 | else
|
---|
2805 | if test -n "$CC"; then
|
---|
2806 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
2807 | else
|
---|
2808 | ac_prog_rejected=no
|
---|
2809 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
2810 | for as_dir in $PATH
|
---|
2811 | do
|
---|
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
|
---|
2824 | done
|
---|
2825 | done
|
---|
2826 | IFS=$as_save_IFS
|
---|
2827 |
|
---|
2828 | if 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
|
---|
2839 | fi
|
---|
2840 | fi
|
---|
2841 | fi
|
---|
2842 | CC=$ac_cv_prog_CC
|
---|
2843 | if test -n "$CC"; then
|
---|
2844 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
2845 | $as_echo "$CC" >&6; }
|
---|
2846 | else
|
---|
2847 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
2848 | $as_echo "no" >&6; }
|
---|
2849 | fi
|
---|
2850 |
|
---|
2851 |
|
---|
2852 | fi
|
---|
2853 | if 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.
|
---|
2858 | set 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; }
|
---|
2861 | if ${ac_cv_prog_CC+:} false; then :
|
---|
2862 | $as_echo_n "(cached) " >&6
|
---|
2863 | else
|
---|
2864 | if test -n "$CC"; then
|
---|
2865 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
2866 | else
|
---|
2867 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
2868 | for as_dir in $PATH
|
---|
2869 | do
|
---|
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
|
---|
2878 | done
|
---|
2879 | done
|
---|
2880 | IFS=$as_save_IFS
|
---|
2881 |
|
---|
2882 | fi
|
---|
2883 | fi
|
---|
2884 | CC=$ac_cv_prog_CC
|
---|
2885 | if test -n "$CC"; then
|
---|
2886 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
2887 | $as_echo "$CC" >&6; }
|
---|
2888 | else
|
---|
2889 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
2890 | $as_echo "no" >&6; }
|
---|
2891 | fi
|
---|
2892 |
|
---|
2893 |
|
---|
2894 | test -n "$CC" && break
|
---|
2895 | done
|
---|
2896 | fi
|
---|
2897 | if test -z "$CC"; then
|
---|
2898 | ac_ct_CC=$CC
|
---|
2899 | for ac_prog in cl.exe
|
---|
2900 | do
|
---|
2901 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
2902 | set 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; }
|
---|
2905 | if ${ac_cv_prog_ac_ct_CC+:} false; then :
|
---|
2906 | $as_echo_n "(cached) " >&6
|
---|
2907 | else
|
---|
2908 | if test -n "$ac_ct_CC"; then
|
---|
2909 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
---|
2910 | else
|
---|
2911 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
2912 | for as_dir in $PATH
|
---|
2913 | do
|
---|
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
|
---|
2922 | done
|
---|
2923 | done
|
---|
2924 | IFS=$as_save_IFS
|
---|
2925 |
|
---|
2926 | fi
|
---|
2927 | fi
|
---|
2928 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
---|
2929 | if 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; }
|
---|
2932 | else
|
---|
2933 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
2934 | $as_echo "no" >&6; }
|
---|
2935 | fi
|
---|
2936 |
|
---|
2937 |
|
---|
2938 | test -n "$ac_ct_CC" && break
|
---|
2939 | done
|
---|
2940 |
|
---|
2941 | if test "x$ac_ct_CC" = x; then
|
---|
2942 | CC=""
|
---|
2943 | else
|
---|
2944 | case $cross_compiling:$ac_tool_warned in
|
---|
2945 | yes:)
|
---|
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;}
|
---|
2948 | ac_tool_warned=yes ;;
|
---|
2949 | esac
|
---|
2950 | CC=$ac_ct_CC
|
---|
2951 | fi
|
---|
2952 | fi
|
---|
2953 |
|
---|
2954 | fi
|
---|
2955 |
|
---|
2956 |
|
---|
2957 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
2958 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
2959 | as_fn_error $? "no acceptable C compiler found in \$PATH
|
---|
2960 | See \`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
|
---|
2964 | set X $ac_compile
|
---|
2965 | ac_compiler=$2
|
---|
2966 | for ac_option in --version -v -V -qversion; do
|
---|
2967 | { { ac_try="$ac_compiler $ac_option >&5"
|
---|
2968 | case "(($ac_try" in
|
---|
2969 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
2970 | *) ac_try_echo=$ac_try;;
|
---|
2971 | esac
|
---|
2972 | eval 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; }
|
---|
2985 | done
|
---|
2986 |
|
---|
2987 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
2988 | /* end confdefs.h. */
|
---|
2989 |
|
---|
2990 | int
|
---|
2991 | main ()
|
---|
2992 | {
|
---|
2993 |
|
---|
2994 | ;
|
---|
2995 | return 0;
|
---|
2996 | }
|
---|
2997 | _ACEOF
|
---|
2998 | ac_clean_files_save=$ac_clean_files
|
---|
2999 | ac_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; }
|
---|
3005 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
---|
3006 |
|
---|
3007 | # The possible output files:
|
---|
3008 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
|
---|
3009 |
|
---|
3010 | ac_rmfiles=
|
---|
3011 | for ac_file in $ac_files
|
---|
3012 | do
|
---|
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
|
---|
3017 | done
|
---|
3018 | rm -f $ac_rmfiles
|
---|
3019 |
|
---|
3020 | if { { ac_try="$ac_link_default"
|
---|
3021 | case "(($ac_try" in
|
---|
3022 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
3023 | *) ac_try_echo=$ac_try;;
|
---|
3024 | esac
|
---|
3025 | eval 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.
|
---|
3036 | for ac_file in $ac_files ''
|
---|
3037 | do
|
---|
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
|
---|
3060 | done
|
---|
3061 | test "$ac_cv_exeext" = no && ac_cv_exeext=
|
---|
3062 |
|
---|
3063 | else
|
---|
3064 | ac_file=''
|
---|
3065 | fi
|
---|
3066 | if 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
|
---|
3070 | sed '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;}
|
---|
3074 | as_fn_error 77 "C compiler cannot create executables
|
---|
3075 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
3076 | else
|
---|
3077 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
3078 | $as_echo "yes" >&6; }
|
---|
3079 | fi
|
---|
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; }
|
---|
3084 | ac_exeext=$ac_cv_exeext
|
---|
3085 |
|
---|
3086 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
|
---|
3087 | ac_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; }
|
---|
3090 | if { { ac_try="$ac_link"
|
---|
3091 | case "(($ac_try" in
|
---|
3092 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
3093 | *) ac_try_echo=$ac_try;;
|
---|
3094 | esac
|
---|
3095 | eval 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'.
|
---|
3105 | for 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
|
---|
3113 | done
|
---|
3114 | else
|
---|
3115 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
3116 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
3117 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link
|
---|
3118 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
3119 | fi
|
---|
3120 | rm -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 |
|
---|
3124 | rm -f conftest.$ac_ext
|
---|
3125 | EXEEXT=$ac_cv_exeext
|
---|
3126 | ac_exeext=$EXEEXT
|
---|
3127 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
3128 | /* end confdefs.h. */
|
---|
3129 | #include <stdio.h>
|
---|
3130 | int
|
---|
3131 | main ()
|
---|
3132 | {
|
---|
3133 | FILE *f = fopen ("conftest.out", "w");
|
---|
3134 | return ferror (f) || fclose (f) != 0;
|
---|
3135 |
|
---|
3136 | ;
|
---|
3137 | return 0;
|
---|
3138 | }
|
---|
3139 | _ACEOF
|
---|
3140 | ac_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; }
|
---|
3145 | if test "$cross_compiling" != yes; then
|
---|
3146 | { { ac_try="$ac_link"
|
---|
3147 | case "(($ac_try" in
|
---|
3148 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
3149 | *) ac_try_echo=$ac_try;;
|
---|
3150 | esac
|
---|
3151 | eval 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;;
|
---|
3161 | esac
|
---|
3162 | eval 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;}
|
---|
3175 | as_fn_error $? "cannot run C compiled programs.
|
---|
3176 | If you meant to cross compile, use \`--host'.
|
---|
3177 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
3178 | fi
|
---|
3179 | fi
|
---|
3180 | fi
|
---|
3181 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
|
---|
3182 | $as_echo "$cross_compiling" >&6; }
|
---|
3183 |
|
---|
3184 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
|
---|
3185 | ac_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; }
|
---|
3188 | if ${ac_cv_objext+:} false; then :
|
---|
3189 | $as_echo_n "(cached) " >&6
|
---|
3190 | else
|
---|
3191 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
3192 | /* end confdefs.h. */
|
---|
3193 |
|
---|
3194 | int
|
---|
3195 | main ()
|
---|
3196 | {
|
---|
3197 |
|
---|
3198 | ;
|
---|
3199 | return 0;
|
---|
3200 | }
|
---|
3201 | _ACEOF
|
---|
3202 | rm -f conftest.o conftest.obj
|
---|
3203 | if { { ac_try="$ac_compile"
|
---|
3204 | case "(($ac_try" in
|
---|
3205 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
3206 | *) ac_try_echo=$ac_try;;
|
---|
3207 | esac
|
---|
3208 | eval 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
|
---|
3221 | done
|
---|
3222 | else
|
---|
3223 | $as_echo "$as_me: failed program was:" >&5
|
---|
3224 | sed '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;}
|
---|
3228 | as_fn_error $? "cannot compute suffix of object files: cannot compile
|
---|
3229 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
3230 | fi
|
---|
3231 | rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
---|
3232 | fi
|
---|
3233 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
|
---|
3234 | $as_echo "$ac_cv_objext" >&6; }
|
---|
3235 | OBJEXT=$ac_cv_objext
|
---|
3236 | ac_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; }
|
---|
3239 | if ${ac_cv_c_compiler_gnu+:} false; then :
|
---|
3240 | $as_echo_n "(cached) " >&6
|
---|
3241 | else
|
---|
3242 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
3243 | /* end confdefs.h. */
|
---|
3244 |
|
---|
3245 | int
|
---|
3246 | main ()
|
---|
3247 | {
|
---|
3248 | #ifndef __GNUC__
|
---|
3249 | choke me
|
---|
3250 | #endif
|
---|
3251 |
|
---|
3252 | ;
|
---|
3253 | return 0;
|
---|
3254 | }
|
---|
3255 | _ACEOF
|
---|
3256 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
3257 | ac_compiler_gnu=yes
|
---|
3258 | else
|
---|
3259 | ac_compiler_gnu=no
|
---|
3260 | fi
|
---|
3261 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
3262 | ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
---|
3263 |
|
---|
3264 | fi
|
---|
3265 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
---|
3266 | $as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
---|
3267 | if test $ac_compiler_gnu = yes; then
|
---|
3268 | GCC=yes
|
---|
3269 | else
|
---|
3270 | GCC=
|
---|
3271 | fi
|
---|
3272 | ac_test_CFLAGS=${CFLAGS+set}
|
---|
3273 | ac_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; }
|
---|
3276 | if ${ac_cv_prog_cc_g+:} false; then :
|
---|
3277 | $as_echo_n "(cached) " >&6
|
---|
3278 | else
|
---|
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 |
|
---|
3286 | int
|
---|
3287 | main ()
|
---|
3288 | {
|
---|
3289 |
|
---|
3290 | ;
|
---|
3291 | return 0;
|
---|
3292 | }
|
---|
3293 | _ACEOF
|
---|
3294 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
3295 | ac_cv_prog_cc_g=yes
|
---|
3296 | else
|
---|
3297 | CFLAGS=""
|
---|
3298 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
3299 | /* end confdefs.h. */
|
---|
3300 |
|
---|
3301 | int
|
---|
3302 | main ()
|
---|
3303 | {
|
---|
3304 |
|
---|
3305 | ;
|
---|
3306 | return 0;
|
---|
3307 | }
|
---|
3308 | _ACEOF
|
---|
3309 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
3310 |
|
---|
3311 | else
|
---|
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 |
|
---|
3317 | int
|
---|
3318 | main ()
|
---|
3319 | {
|
---|
3320 |
|
---|
3321 | ;
|
---|
3322 | return 0;
|
---|
3323 | }
|
---|
3324 | _ACEOF
|
---|
3325 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
3326 | ac_cv_prog_cc_g=yes
|
---|
3327 | fi
|
---|
3328 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
3329 | fi
|
---|
3330 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
3331 | fi
|
---|
3332 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
3333 | ac_c_werror_flag=$ac_save_c_werror_flag
|
---|
3334 | fi
|
---|
3335 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
---|
3336 | $as_echo "$ac_cv_prog_cc_g" >&6; }
|
---|
3337 | if test "$ac_test_CFLAGS" = set; then
|
---|
3338 | CFLAGS=$ac_save_CFLAGS
|
---|
3339 | elif 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
|
---|
3345 | else
|
---|
3346 | if test "$GCC" = yes; then
|
---|
3347 | CFLAGS="-O2"
|
---|
3348 | else
|
---|
3349 | CFLAGS=
|
---|
3350 | fi
|
---|
3351 | fi
|
---|
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; }
|
---|
3354 | if ${ac_cv_prog_cc_c89+:} false; then :
|
---|
3355 | $as_echo_n "(cached) " >&6
|
---|
3356 | else
|
---|
3357 | ac_cv_prog_cc_c89=no
|
---|
3358 | ac_save_CC=$CC
|
---|
3359 | cat 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. */
|
---|
3366 | struct buf { int x; };
|
---|
3367 | FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
---|
3368 | static char *e (p, i)
|
---|
3369 | char **p;
|
---|
3370 | int i;
|
---|
3371 | {
|
---|
3372 | return p[i];
|
---|
3373 | }
|
---|
3374 | static 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. */
|
---|
3391 | int 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'
|
---|
3396 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
---|
3397 |
|
---|
3398 | int test (int i, double x);
|
---|
3399 | struct s1 {int (*f) (int a);};
|
---|
3400 | struct s2 {int (*f) (double a);};
|
---|
3401 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
---|
3402 | int argc;
|
---|
3403 | char **argv;
|
---|
3404 | int
|
---|
3405 | main ()
|
---|
3406 | {
|
---|
3407 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
---|
3408 | ;
|
---|
3409 | return 0;
|
---|
3410 | }
|
---|
3411 | _ACEOF
|
---|
3412 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
---|
3413 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
---|
3414 | do
|
---|
3415 | CC="$ac_save_CC $ac_arg"
|
---|
3416 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
3417 | ac_cv_prog_cc_c89=$ac_arg
|
---|
3418 | fi
|
---|
3419 | rm -f core conftest.err conftest.$ac_objext
|
---|
3420 | test "x$ac_cv_prog_cc_c89" != "xno" && break
|
---|
3421 | done
|
---|
3422 | rm -f conftest.$ac_ext
|
---|
3423 | CC=$ac_save_CC
|
---|
3424 |
|
---|
3425 | fi
|
---|
3426 | # AC_CACHE_VAL
|
---|
3427 | case "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; } ;;
|
---|
3438 | esac
|
---|
3439 | if test "x$ac_cv_prog_cc_c89" != xno; then :
|
---|
3440 |
|
---|
3441 | fi
|
---|
3442 |
|
---|
3443 | ac_ext=c
|
---|
3444 | ac_cpp='$CPP $CPPFLAGS'
|
---|
3445 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
3446 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
3447 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
3448 | DEPDIR="${am__leading_dot}deps"
|
---|
3449 |
|
---|
3450 | ac_config_commands="$ac_config_commands depfiles"
|
---|
3451 |
|
---|
3452 |
|
---|
3453 | am_make=${MAKE-make}
|
---|
3454 | cat > confinc << 'END'
|
---|
3455 | am__doit:
|
---|
3456 | @echo this is the am__doit target
|
---|
3457 | .PHONY: am__doit
|
---|
3458 | END
|
---|
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; }
|
---|
3462 | am__include="#"
|
---|
3463 | am__quote=
|
---|
3464 | _am_result=none
|
---|
3465 | # First try GNU make style include.
|
---|
3466 | echo "include confinc" > confmf
|
---|
3467 | # Ignore all kinds of additional output from `make'.
|
---|
3468 | case `$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 | ;;
|
---|
3474 | esac
|
---|
3475 | # Now try BSD make style include.
|
---|
3476 | if 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
|
---|
3485 | fi
|
---|
3486 |
|
---|
3487 |
|
---|
3488 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
|
---|
3489 | $as_echo "$_am_result" >&6; }
|
---|
3490 | rm -f confinc confmf
|
---|
3491 |
|
---|
3492 | # Check whether --enable-dependency-tracking was given.
|
---|
3493 | if test "${enable_dependency_tracking+set}" = set; then :
|
---|
3494 | enableval=$enable_dependency_tracking;
|
---|
3495 | fi
|
---|
3496 |
|
---|
3497 | if test "x$enable_dependency_tracking" != xno; then
|
---|
3498 | am_depcomp="$ac_aux_dir/depcomp"
|
---|
3499 | AMDEPBACKSLASH='\'
|
---|
3500 | fi
|
---|
3501 | if test "x$enable_dependency_tracking" != xno; then
|
---|
3502 | AMDEP_TRUE=
|
---|
3503 | AMDEP_FALSE='#'
|
---|
3504 | else
|
---|
3505 | AMDEP_TRUE='#'
|
---|
3506 | AMDEP_FALSE=
|
---|
3507 | fi
|
---|
3508 |
|
---|
3509 |
|
---|
3510 |
|
---|
3511 | depcc="$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; }
|
---|
3515 | if ${am_cv_CC_dependencies_compiler_type+:} false; then :
|
---|
3516 | $as_echo_n "(cached) " >&6
|
---|
3517 | else
|
---|
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
|
---|
3618 | else
|
---|
3619 | am_cv_CC_dependencies_compiler_type=none
|
---|
3620 | fi
|
---|
3621 |
|
---|
3622 | fi
|
---|
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; }
|
---|
3625 | CCDEPMODE=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='#'
|
---|
3632 | else
|
---|
3633 | am__fastdepCC_TRUE='#'
|
---|
3634 | am__fastdepCC_FALSE=
|
---|
3635 | fi
|
---|
3636 |
|
---|
3637 |
|
---|
3638 | ac_ext=cpp
|
---|
3639 | ac_cpp='$CXXCPP $CPPFLAGS'
|
---|
3640 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
3641 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
3642 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
---|
3643 | if 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.
|
---|
3651 | set 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; }
|
---|
3654 | if ${ac_cv_prog_CXX+:} false; then :
|
---|
3655 | $as_echo_n "(cached) " >&6
|
---|
3656 | else
|
---|
3657 | if test -n "$CXX"; then
|
---|
3658 | ac_cv_prog_CXX="$CXX" # Let the user override the test.
|
---|
3659 | else
|
---|
3660 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
3661 | for as_dir in $PATH
|
---|
3662 | do
|
---|
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
|
---|
3671 | done
|
---|
3672 | done
|
---|
3673 | IFS=$as_save_IFS
|
---|
3674 |
|
---|
3675 | fi
|
---|
3676 | fi
|
---|
3677 | CXX=$ac_cv_prog_CXX
|
---|
3678 | if test -n "$CXX"; then
|
---|
3679 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
|
---|
3680 | $as_echo "$CXX" >&6; }
|
---|
3681 | else
|
---|
3682 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
3683 | $as_echo "no" >&6; }
|
---|
3684 | fi
|
---|
3685 |
|
---|
3686 |
|
---|
3687 | test -n "$CXX" && break
|
---|
3688 | done
|
---|
3689 | fi
|
---|
3690 | if 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
|
---|
3693 | do
|
---|
3694 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
3695 | set 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; }
|
---|
3698 | if ${ac_cv_prog_ac_ct_CXX+:} false; then :
|
---|
3699 | $as_echo_n "(cached) " >&6
|
---|
3700 | else
|
---|
3701 | if test -n "$ac_ct_CXX"; then
|
---|
3702 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
|
---|
3703 | else
|
---|
3704 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
3705 | for as_dir in $PATH
|
---|
3706 | do
|
---|
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
|
---|
3715 | done
|
---|
3716 | done
|
---|
3717 | IFS=$as_save_IFS
|
---|
3718 |
|
---|
3719 | fi
|
---|
3720 | fi
|
---|
3721 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
|
---|
3722 | if 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; }
|
---|
3725 | else
|
---|
3726 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
3727 | $as_echo "no" >&6; }
|
---|
3728 | fi
|
---|
3729 |
|
---|
3730 |
|
---|
3731 | test -n "$ac_ct_CXX" && break
|
---|
3732 | done
|
---|
3733 |
|
---|
3734 | if test "x$ac_ct_CXX" = x; then
|
---|
3735 | CXX="g++"
|
---|
3736 | else
|
---|
3737 | case $cross_compiling:$ac_tool_warned in
|
---|
3738 | yes:)
|
---|
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;}
|
---|
3741 | ac_tool_warned=yes ;;
|
---|
3742 | esac
|
---|
3743 | CXX=$ac_ct_CXX
|
---|
3744 | fi
|
---|
3745 | fi
|
---|
3746 |
|
---|
3747 | fi
|
---|
3748 | fi
|
---|
3749 | # Provide some information about the compiler.
|
---|
3750 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
|
---|
3751 | set X $ac_compile
|
---|
3752 | ac_compiler=$2
|
---|
3753 | for ac_option in --version -v -V -qversion; do
|
---|
3754 | { { ac_try="$ac_compiler $ac_option >&5"
|
---|
3755 | case "(($ac_try" in
|
---|
3756 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
3757 | *) ac_try_echo=$ac_try;;
|
---|
3758 | esac
|
---|
3759 | eval 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; }
|
---|
3772 | done
|
---|
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; }
|
---|
3776 | if ${ac_cv_cxx_compiler_gnu+:} false; then :
|
---|
3777 | $as_echo_n "(cached) " >&6
|
---|
3778 | else
|
---|
3779 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
3780 | /* end confdefs.h. */
|
---|
3781 |
|
---|
3782 | int
|
---|
3783 | main ()
|
---|
3784 | {
|
---|
3785 | #ifndef __GNUC__
|
---|
3786 | choke me
|
---|
3787 | #endif
|
---|
3788 |
|
---|
3789 | ;
|
---|
3790 | return 0;
|
---|
3791 | }
|
---|
3792 | _ACEOF
|
---|
3793 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
3794 | ac_compiler_gnu=yes
|
---|
3795 | else
|
---|
3796 | ac_compiler_gnu=no
|
---|
3797 | fi
|
---|
3798 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
3799 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
|
---|
3800 |
|
---|
3801 | fi
|
---|
3802 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
|
---|
3803 | $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
|
---|
3804 | if test $ac_compiler_gnu = yes; then
|
---|
3805 | GXX=yes
|
---|
3806 | else
|
---|
3807 | GXX=
|
---|
3808 | fi
|
---|
3809 | ac_test_CXXFLAGS=${CXXFLAGS+set}
|
---|
3810 | ac_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; }
|
---|
3813 | if ${ac_cv_prog_cxx_g+:} false; then :
|
---|
3814 | $as_echo_n "(cached) " >&6
|
---|
3815 | else
|
---|
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 |
|
---|
3823 | int
|
---|
3824 | main ()
|
---|
3825 | {
|
---|
3826 |
|
---|
3827 | ;
|
---|
3828 | return 0;
|
---|
3829 | }
|
---|
3830 | _ACEOF
|
---|
3831 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
3832 | ac_cv_prog_cxx_g=yes
|
---|
3833 | else
|
---|
3834 | CXXFLAGS=""
|
---|
3835 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
3836 | /* end confdefs.h. */
|
---|
3837 |
|
---|
3838 | int
|
---|
3839 | main ()
|
---|
3840 | {
|
---|
3841 |
|
---|
3842 | ;
|
---|
3843 | return 0;
|
---|
3844 | }
|
---|
3845 | _ACEOF
|
---|
3846 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
3847 |
|
---|
3848 | else
|
---|
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 |
|
---|
3854 | int
|
---|
3855 | main ()
|
---|
3856 | {
|
---|
3857 |
|
---|
3858 | ;
|
---|
3859 | return 0;
|
---|
3860 | }
|
---|
3861 | _ACEOF
|
---|
3862 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
3863 | ac_cv_prog_cxx_g=yes
|
---|
3864 | fi
|
---|
3865 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
3866 | fi
|
---|
3867 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
3868 | fi
|
---|
3869 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
3870 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
---|
3871 | fi
|
---|
3872 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
|
---|
3873 | $as_echo "$ac_cv_prog_cxx_g" >&6; }
|
---|
3874 | if test "$ac_test_CXXFLAGS" = set; then
|
---|
3875 | CXXFLAGS=$ac_save_CXXFLAGS
|
---|
3876 | elif 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
|
---|
3882 | else
|
---|
3883 | if test "$GXX" = yes; then
|
---|
3884 | CXXFLAGS="-O2"
|
---|
3885 | else
|
---|
3886 | CXXFLAGS=
|
---|
3887 | fi
|
---|
3888 | fi
|
---|
3889 | ac_ext=c
|
---|
3890 | ac_cpp='$CPP $CPPFLAGS'
|
---|
3891 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
3892 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
3893 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
3894 |
|
---|
3895 | depcc="$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; }
|
---|
3899 | if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
|
---|
3900 | $as_echo_n "(cached) " >&6
|
---|
3901 | else
|
---|
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
|
---|
4002 | else
|
---|
4003 | am_cv_CXX_dependencies_compiler_type=none
|
---|
4004 | fi
|
---|
4005 |
|
---|
4006 | fi
|
---|
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; }
|
---|
4009 | CXXDEPMODE=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='#'
|
---|
4016 | else
|
---|
4017 | am__fastdepCXX_TRUE='#'
|
---|
4018 | am__fastdepCXX_FALSE=
|
---|
4019 | fi
|
---|
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; }
|
---|
4117 | if ${it_cv_reflink+:} false; then :
|
---|
4118 | $as_echo_n "(cached) " >&6
|
---|
4119 | else
|
---|
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 |
|
---|
4129 | fi
|
---|
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='#'
|
---|
4135 | else
|
---|
4136 | CP_SUPPORTS_REFLINK_TRUE='#'
|
---|
4137 | CP_SUPPORTS_REFLINK_FALSE=
|
---|
4138 | fi
|
---|
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; }
|
---|
4144 | if ${it_cv_hardlink_src+:} false; then :
|
---|
4145 | $as_echo_n "(cached) " >&6
|
---|
4146 | else
|
---|
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 |
|
---|
4155 | fi
|
---|
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='#'
|
---|
4161 | else
|
---|
4162 | SRC_DIR_HARDLINKABLE_TRUE='#'
|
---|
4163 | SRC_DIR_HARDLINKABLE_FALSE=
|
---|
4164 | fi
|
---|
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.
|
---|
4171 | if test "${enable_docs+set}" = set; then :
|
---|
4172 | enableval=$enable_docs; ENABLE_DOCS="${enableval}"
|
---|
4173 | else
|
---|
4174 | ENABLE_DOCS='yes'
|
---|
4175 | fi
|
---|
4176 |
|
---|
4177 | if test x$ENABLE_DOCS = xyes; then
|
---|
4178 | ENABLE_DOCS_TRUE=
|
---|
4179 | ENABLE_DOCS_FALSE='#'
|
---|
4180 | else
|
---|
4181 | ENABLE_DOCS_TRUE='#'
|
---|
4182 | ENABLE_DOCS_FALSE=
|
---|
4183 | fi
|
---|
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.
|
---|
4193 | if test "${with_gcj+set}" = set; then :
|
---|
4194 | withval=$with_gcj;
|
---|
4195 | GCJ="${withval}"
|
---|
4196 |
|
---|
4197 | else
|
---|
4198 |
|
---|
4199 | GCJ="no"
|
---|
4200 |
|
---|
4201 | fi
|
---|
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.
|
---|
4208 | set 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; }
|
---|
4211 | if ${ac_cv_path_GCJ+:} false; then :
|
---|
4212 | $as_echo_n "(cached) " >&6
|
---|
4213 | else
|
---|
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
|
---|
4220 | for as_dir in $PATH
|
---|
4221 | do
|
---|
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
|
---|
4230 | done
|
---|
4231 | done
|
---|
4232 | IFS=$as_save_IFS
|
---|
4233 |
|
---|
4234 | ;;
|
---|
4235 | esac
|
---|
4236 | fi
|
---|
4237 | GCJ=$ac_cv_path_GCJ
|
---|
4238 | if test -n "$GCJ"; then
|
---|
4239 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ" >&5
|
---|
4240 | $as_echo "$GCJ" >&6; }
|
---|
4241 | else
|
---|
4242 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
4243 | $as_echo "no" >&6; }
|
---|
4244 | fi
|
---|
4245 |
|
---|
4246 |
|
---|
4247 | fi
|
---|
4248 | if 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.
|
---|
4251 | set 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; }
|
---|
4254 | if ${ac_cv_path_ac_pt_GCJ+:} false; then :
|
---|
4255 | $as_echo_n "(cached) " >&6
|
---|
4256 | else
|
---|
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
|
---|
4263 | for as_dir in $PATH
|
---|
4264 | do
|
---|
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
|
---|
4273 | done
|
---|
4274 | done
|
---|
4275 | IFS=$as_save_IFS
|
---|
4276 |
|
---|
4277 | ;;
|
---|
4278 | esac
|
---|
4279 | fi
|
---|
4280 | ac_pt_GCJ=$ac_cv_path_ac_pt_GCJ
|
---|
4281 | if 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; }
|
---|
4284 | else
|
---|
4285 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
4286 | $as_echo "no" >&6; }
|
---|
4287 | fi
|
---|
4288 |
|
---|
4289 | if test "x$ac_pt_GCJ" = x; then
|
---|
4290 | GCJ=""
|
---|
4291 | else
|
---|
4292 | case $cross_compiling:$ac_tool_warned in
|
---|
4293 | yes:)
|
---|
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;}
|
---|
4296 | ac_tool_warned=yes ;;
|
---|
4297 | esac
|
---|
4298 | GCJ=$ac_pt_GCJ
|
---|
4299 | fi
|
---|
4300 | else
|
---|
4301 | GCJ="$ac_cv_path_GCJ"
|
---|
4302 | fi
|
---|
4303 |
|
---|
4304 | fi
|
---|
4305 |
|
---|
4306 |
|
---|
4307 | if 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.
|
---|
4309 | set 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; }
|
---|
4312 | if ${ac_cv_path_ZIP+:} false; then :
|
---|
4313 | $as_echo_n "(cached) " >&6
|
---|
4314 | else
|
---|
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
|
---|
4321 | for as_dir in $PATH
|
---|
4322 | do
|
---|
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
|
---|
4331 | done
|
---|
4332 | done
|
---|
4333 | IFS=$as_save_IFS
|
---|
4334 |
|
---|
4335 | ;;
|
---|
4336 | esac
|
---|
4337 | fi
|
---|
4338 | ZIP=$ac_cv_path_ZIP
|
---|
4339 | if test -n "$ZIP"; then
|
---|
4340 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ZIP" >&5
|
---|
4341 | $as_echo "$ZIP" >&6; }
|
---|
4342 | else
|
---|
4343 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
4344 | $as_echo "no" >&6; }
|
---|
4345 | fi
|
---|
4346 |
|
---|
4347 |
|
---|
4348 | fi
|
---|
4349 | if 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.
|
---|
4352 | set 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; }
|
---|
4355 | if ${ac_cv_path_ac_pt_ZIP+:} false; then :
|
---|
4356 | $as_echo_n "(cached) " >&6
|
---|
4357 | else
|
---|
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
|
---|
4364 | for as_dir in $PATH
|
---|
4365 | do
|
---|
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
|
---|
4374 | done
|
---|
4375 | done
|
---|
4376 | IFS=$as_save_IFS
|
---|
4377 |
|
---|
4378 | ;;
|
---|
4379 | esac
|
---|
4380 | fi
|
---|
4381 | ac_pt_ZIP=$ac_cv_path_ac_pt_ZIP
|
---|
4382 | if 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; }
|
---|
4385 | else
|
---|
4386 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
4387 | $as_echo "no" >&6; }
|
---|
4388 | fi
|
---|
4389 |
|
---|
4390 | if test "x$ac_pt_ZIP" = x; then
|
---|
4391 | ZIP=""
|
---|
4392 | else
|
---|
4393 | case $cross_compiling:$ac_tool_warned in
|
---|
4394 | yes:)
|
---|
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;}
|
---|
4397 | ac_tool_warned=yes ;;
|
---|
4398 | esac
|
---|
4399 | ZIP=$ac_pt_ZIP
|
---|
4400 | fi
|
---|
4401 | else
|
---|
4402 | ZIP="$ac_cv_path_ZIP"
|
---|
4403 | fi
|
---|
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.
|
---|
4415 | if 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 |
|
---|
4427 | else
|
---|
4428 |
|
---|
4429 | SYSTEM_JDK_DIR=
|
---|
4430 |
|
---|
4431 | fi
|
---|
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.
|
---|
4457 | if 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.
|
---|
4470 | set 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; }
|
---|
4473 | if ${ac_cv_path_JAVAC+:} false; then :
|
---|
4474 | $as_echo_n "(cached) " >&6
|
---|
4475 | else
|
---|
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
|
---|
4482 | for as_dir in $PATH
|
---|
4483 | do
|
---|
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
|
---|
4492 | done
|
---|
4493 | done
|
---|
4494 | IFS=$as_save_IFS
|
---|
4495 |
|
---|
4496 | ;;
|
---|
4497 | esac
|
---|
4498 | fi
|
---|
4499 | JAVAC=$ac_cv_path_JAVAC
|
---|
4500 | if test -n "$JAVAC"; then
|
---|
4501 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
|
---|
4502 | $as_echo "$JAVAC" >&6; }
|
---|
4503 | else
|
---|
4504 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
4505 | $as_echo "no" >&6; }
|
---|
4506 | fi
|
---|
4507 |
|
---|
4508 |
|
---|
4509 | fi
|
---|
4510 | else
|
---|
4511 | # Extract the first word of ""javac"", so it can be a program name with args.
|
---|
4512 | set 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; }
|
---|
4515 | if ${ac_cv_path_JAVAC+:} false; then :
|
---|
4516 | $as_echo_n "(cached) " >&6
|
---|
4517 | else
|
---|
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
|
---|
4524 | for as_dir in $PATH
|
---|
4525 | do
|
---|
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
|
---|
4534 | done
|
---|
4535 | done
|
---|
4536 | IFS=$as_save_IFS
|
---|
4537 |
|
---|
4538 | ;;
|
---|
4539 | esac
|
---|
4540 | fi
|
---|
4541 | JAVAC=$ac_cv_path_JAVAC
|
---|
4542 | if test -n "$JAVAC"; then
|
---|
4543 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
|
---|
4544 | $as_echo "$JAVAC" >&6; }
|
---|
4545 | else
|
---|
4546 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
4547 | $as_echo "no" >&6; }
|
---|
4548 | fi
|
---|
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.
|
---|
4565 | set 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; }
|
---|
4568 | if ${ac_cv_path_JAVAC+:} false; then :
|
---|
4569 | $as_echo_n "(cached) " >&6
|
---|
4570 | else
|
---|
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
|
---|
4577 | for as_dir in $PATH
|
---|
4578 | do
|
---|
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
|
---|
4587 | done
|
---|
4588 | done
|
---|
4589 | IFS=$as_save_IFS
|
---|
4590 |
|
---|
4591 | ;;
|
---|
4592 | esac
|
---|
4593 | fi
|
---|
4594 | JAVAC=$ac_cv_path_JAVAC
|
---|
4595 | if test -n "$JAVAC"; then
|
---|
4596 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
|
---|
4597 | $as_echo "$JAVAC" >&6; }
|
---|
4598 | else
|
---|
4599 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
4600 | $as_echo "no" >&6; }
|
---|
4601 | fi
|
---|
4602 |
|
---|
4603 |
|
---|
4604 | fi
|
---|
4605 | else
|
---|
4606 | # Extract the first word of ""javac"", so it can be a program name with args.
|
---|
4607 | set 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; }
|
---|
4610 | if ${ac_cv_path_JAVAC+:} false; then :
|
---|
4611 | $as_echo_n "(cached) " >&6
|
---|
4612 | else
|
---|
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
|
---|
4619 | for as_dir in $PATH
|
---|
4620 | do
|
---|
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
|
---|
4629 | done
|
---|
4630 | done
|
---|
4631 | IFS=$as_save_IFS
|
---|
4632 |
|
---|
4633 | ;;
|
---|
4634 | esac
|
---|
4635 | fi
|
---|
4636 | JAVAC=$ac_cv_path_JAVAC
|
---|
4637 | if test -n "$JAVAC"; then
|
---|
4638 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
|
---|
4639 | $as_echo "$JAVAC" >&6; }
|
---|
4640 | else
|
---|
4641 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
4642 | $as_echo "no" >&6; }
|
---|
4643 | fi
|
---|
4644 |
|
---|
4645 |
|
---|
4646 | fi
|
---|
4647 |
|
---|
4648 | fi
|
---|
4649 | fi
|
---|
4650 |
|
---|
4651 | else
|
---|
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.
|
---|
4663 | set 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; }
|
---|
4666 | if ${ac_cv_path_JAVAC+:} false; then :
|
---|
4667 | $as_echo_n "(cached) " >&6
|
---|
4668 | else
|
---|
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
|
---|
4675 | for as_dir in $PATH
|
---|
4676 | do
|
---|
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
|
---|
4685 | done
|
---|
4686 | done
|
---|
4687 | IFS=$as_save_IFS
|
---|
4688 |
|
---|
4689 | ;;
|
---|
4690 | esac
|
---|
4691 | fi
|
---|
4692 | JAVAC=$ac_cv_path_JAVAC
|
---|
4693 | if test -n "$JAVAC"; then
|
---|
4694 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
|
---|
4695 | $as_echo "$JAVAC" >&6; }
|
---|
4696 | else
|
---|
4697 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
4698 | $as_echo "no" >&6; }
|
---|
4699 | fi
|
---|
4700 |
|
---|
4701 |
|
---|
4702 | fi
|
---|
4703 | else
|
---|
4704 | # Extract the first word of ""javac"", so it can be a program name with args.
|
---|
4705 | set 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; }
|
---|
4708 | if ${ac_cv_path_JAVAC+:} false; then :
|
---|
4709 | $as_echo_n "(cached) " >&6
|
---|
4710 | else
|
---|
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
|
---|
4717 | for as_dir in $PATH
|
---|
4718 | do
|
---|
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
|
---|
4727 | done
|
---|
4728 | done
|
---|
4729 | IFS=$as_save_IFS
|
---|
4730 |
|
---|
4731 | ;;
|
---|
4732 | esac
|
---|
4733 | fi
|
---|
4734 | JAVAC=$ac_cv_path_JAVAC
|
---|
4735 | if test -n "$JAVAC"; then
|
---|
4736 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
|
---|
4737 | $as_echo "$JAVAC" >&6; }
|
---|
4738 | else
|
---|
4739 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
4740 | $as_echo "no" >&6; }
|
---|
4741 | fi
|
---|
4742 |
|
---|
4743 |
|
---|
4744 | fi
|
---|
4745 |
|
---|
4746 |
|
---|
4747 | fi
|
---|
4748 |
|
---|
4749 |
|
---|
4750 |
|
---|
4751 |
|
---|
4752 | # Check whether --with-ecj was given.
|
---|
4753 | if 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.
|
---|
4766 | set 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; }
|
---|
4769 | if ${ac_cv_path_ECJ+:} false; then :
|
---|
4770 | $as_echo_n "(cached) " >&6
|
---|
4771 | else
|
---|
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
|
---|
4778 | for as_dir in $PATH
|
---|
4779 | do
|
---|
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
|
---|
4788 | done
|
---|
4789 | done
|
---|
4790 | IFS=$as_save_IFS
|
---|
4791 |
|
---|
4792 | ;;
|
---|
4793 | esac
|
---|
4794 | fi
|
---|
4795 | ECJ=$ac_cv_path_ECJ
|
---|
4796 | if test -n "$ECJ"; then
|
---|
4797 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECJ" >&5
|
---|
4798 | $as_echo "$ECJ" >&6; }
|
---|
4799 | else
|
---|
4800 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
4801 | $as_echo "no" >&6; }
|
---|
4802 | fi
|
---|
4803 |
|
---|
4804 |
|
---|
4805 | fi
|
---|
4806 | else
|
---|
4807 | # Extract the first word of ""ecj"", so it can be a program name with args.
|
---|
4808 | set 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; }
|
---|
4811 | if ${ac_cv_path_ECJ+:} false; then :
|
---|
4812 | $as_echo_n "(cached) " >&6
|
---|
4813 | else
|
---|
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
|
---|
4820 | for as_dir in $PATH
|
---|
4821 | do
|
---|
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
|
---|
4830 | done
|
---|
4831 | done
|
---|
4832 | IFS=$as_save_IFS
|
---|
4833 |
|
---|
4834 | ;;
|
---|
4835 | esac
|
---|
4836 | fi
|
---|
4837 | ECJ=$ac_cv_path_ECJ
|
---|
4838 | if test -n "$ECJ"; then
|
---|
4839 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECJ" >&5
|
---|
4840 | $as_echo "$ECJ" >&6; }
|
---|
4841 | else
|
---|
4842 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
4843 | $as_echo "no" >&6; }
|
---|
4844 | fi
|
---|
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.
|
---|
4849 | set 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; }
|
---|
4852 | if ${ac_cv_path_ECJ+:} false; then :
|
---|
4853 | $as_echo_n "(cached) " >&6
|
---|
4854 | else
|
---|
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
|
---|
4861 | for as_dir in $PATH
|
---|
4862 | do
|
---|
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
|
---|
4871 | done
|
---|
4872 | done
|
---|
4873 | IFS=$as_save_IFS
|
---|
4874 |
|
---|
4875 | ;;
|
---|
4876 | esac
|
---|
4877 | fi
|
---|
4878 | ECJ=$ac_cv_path_ECJ
|
---|
4879 | if test -n "$ECJ"; then
|
---|
4880 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECJ" >&5
|
---|
4881 | $as_echo "$ECJ" >&6; }
|
---|
4882 | else
|
---|
4883 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
4884 | $as_echo "no" >&6; }
|
---|
4885 | fi
|
---|
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.
|
---|
4891 | set 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; }
|
---|
4894 | if ${ac_cv_path_ECJ+:} false; then :
|
---|
4895 | $as_echo_n "(cached) " >&6
|
---|
4896 | else
|
---|
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
|
---|
4903 | for as_dir in $PATH
|
---|
4904 | do
|
---|
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
|
---|
4913 | done
|
---|
4914 | done
|
---|
4915 | IFS=$as_save_IFS
|
---|
4916 |
|
---|
4917 | ;;
|
---|
4918 | esac
|
---|
4919 | fi
|
---|
4920 | ECJ=$ac_cv_path_ECJ
|
---|
4921 | if test -n "$ECJ"; then
|
---|
4922 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECJ" >&5
|
---|
4923 | $as_echo "$ECJ" >&6; }
|
---|
4924 | else
|
---|
4925 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
4926 | $as_echo "no" >&6; }
|
---|
4927 | fi
|
---|
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.
|
---|
4933 | set 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; }
|
---|
4936 | if ${ac_cv_path_ECJ+:} false; then :
|
---|
4937 | $as_echo_n "(cached) " >&6
|
---|
4938 | else
|
---|
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
|
---|
4945 | for as_dir in $PATH
|
---|
4946 | do
|
---|
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
|
---|
4955 | done
|
---|
4956 | done
|
---|
4957 | IFS=$as_save_IFS
|
---|
4958 |
|
---|
4959 | ;;
|
---|
4960 | esac
|
---|
4961 | fi
|
---|
4962 | ECJ=$ac_cv_path_ECJ
|
---|
4963 | if test -n "$ECJ"; then
|
---|
4964 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECJ" >&5
|
---|
4965 | $as_echo "$ECJ" >&6; }
|
---|
4966 | else
|
---|
4967 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
4968 | $as_echo "no" >&6; }
|
---|
4969 | fi
|
---|
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.
|
---|
4987 | set 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; }
|
---|
4990 | if ${ac_cv_path_ECJ+:} false; then :
|
---|
4991 | $as_echo_n "(cached) " >&6
|
---|
4992 | else
|
---|
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
|
---|
4999 | for as_dir in $PATH
|
---|
5000 | do
|
---|
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
|
---|
5009 | done
|
---|
5010 | done
|
---|
5011 | IFS=$as_save_IFS
|
---|
5012 |
|
---|
5013 | ;;
|
---|
5014 | esac
|
---|
5015 | fi
|
---|
5016 | ECJ=$ac_cv_path_ECJ
|
---|
5017 | if test -n "$ECJ"; then
|
---|
5018 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECJ" >&5
|
---|
5019 | $as_echo "$ECJ" >&6; }
|
---|
5020 | else
|
---|
5021 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
5022 | $as_echo "no" >&6; }
|
---|
5023 | fi
|
---|
5024 |
|
---|
5025 |
|
---|
5026 | fi
|
---|
5027 | else
|
---|
5028 | # Extract the first word of ""ecj"", so it can be a program name with args.
|
---|
5029 | set 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; }
|
---|
5032 | if ${ac_cv_path_ECJ+:} false; then :
|
---|
5033 | $as_echo_n "(cached) " >&6
|
---|
5034 | else
|
---|
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
|
---|
5041 | for as_dir in $PATH
|
---|
5042 | do
|
---|
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
|
---|
5051 | done
|
---|
5052 | done
|
---|
5053 | IFS=$as_save_IFS
|
---|
5054 |
|
---|
5055 | ;;
|
---|
5056 | esac
|
---|
5057 | fi
|
---|
5058 | ECJ=$ac_cv_path_ECJ
|
---|
5059 | if test -n "$ECJ"; then
|
---|
5060 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECJ" >&5
|
---|
5061 | $as_echo "$ECJ" >&6; }
|
---|
5062 | else
|
---|
5063 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
5064 | $as_echo "no" >&6; }
|
---|
5065 | fi
|
---|
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.
|
---|
5070 | set 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; }
|
---|
5073 | if ${ac_cv_path_ECJ+:} false; then :
|
---|
5074 | $as_echo_n "(cached) " >&6
|
---|
5075 | else
|
---|
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
|
---|
5082 | for as_dir in $PATH
|
---|
5083 | do
|
---|
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
|
---|
5092 | done
|
---|
5093 | done
|
---|
5094 | IFS=$as_save_IFS
|
---|
5095 |
|
---|
5096 | ;;
|
---|
5097 | esac
|
---|
5098 | fi
|
---|
5099 | ECJ=$ac_cv_path_ECJ
|
---|
5100 | if test -n "$ECJ"; then
|
---|
5101 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECJ" >&5
|
---|
5102 | $as_echo "$ECJ" >&6; }
|
---|
5103 | else
|
---|
5104 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
5105 | $as_echo "no" >&6; }
|
---|
5106 | fi
|
---|
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.
|
---|
5112 | set 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; }
|
---|
5115 | if ${ac_cv_path_ECJ+:} false; then :
|
---|
5116 | $as_echo_n "(cached) " >&6
|
---|
5117 | else
|
---|
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
|
---|
5124 | for as_dir in $PATH
|
---|
5125 | do
|
---|
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
|
---|
5134 | done
|
---|
5135 | done
|
---|
5136 | IFS=$as_save_IFS
|
---|
5137 |
|
---|
5138 | ;;
|
---|
5139 | esac
|
---|
5140 | fi
|
---|
5141 | ECJ=$ac_cv_path_ECJ
|
---|
5142 | if test -n "$ECJ"; then
|
---|
5143 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECJ" >&5
|
---|
5144 | $as_echo "$ECJ" >&6; }
|
---|
5145 | else
|
---|
5146 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
5147 | $as_echo "no" >&6; }
|
---|
5148 | fi
|
---|
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.
|
---|
5154 | set 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; }
|
---|
5157 | if ${ac_cv_path_ECJ+:} false; then :
|
---|
5158 | $as_echo_n "(cached) " >&6
|
---|
5159 | else
|
---|
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
|
---|
5166 | for as_dir in $PATH
|
---|
5167 | do
|
---|
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
|
---|
5176 | done
|
---|
5177 | done
|
---|
5178 | IFS=$as_save_IFS
|
---|
5179 |
|
---|
5180 | ;;
|
---|
5181 | esac
|
---|
5182 | fi
|
---|
5183 | ECJ=$ac_cv_path_ECJ
|
---|
5184 | if test -n "$ECJ"; then
|
---|
5185 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECJ" >&5
|
---|
5186 | $as_echo "$ECJ" >&6; }
|
---|
5187 | else
|
---|
5188 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
5189 | $as_echo "no" >&6; }
|
---|
5190 | fi
|
---|
5191 |
|
---|
5192 |
|
---|
5193 | fi
|
---|
5194 | fi
|
---|
5195 |
|
---|
5196 | fi
|
---|
5197 | fi
|
---|
5198 |
|
---|
5199 | else
|
---|
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.
|
---|
5211 | set 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; }
|
---|
5214 | if ${ac_cv_path_ECJ+:} false; then :
|
---|
5215 | $as_echo_n "(cached) " >&6
|
---|
5216 | else
|
---|
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
|
---|
5223 | for as_dir in $PATH
|
---|
5224 | do
|
---|
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
|
---|
5233 | done
|
---|
5234 | done
|
---|
5235 | IFS=$as_save_IFS
|
---|
5236 |
|
---|
5237 | ;;
|
---|
5238 | esac
|
---|
5239 | fi
|
---|
5240 | ECJ=$ac_cv_path_ECJ
|
---|
5241 | if test -n "$ECJ"; then
|
---|
5242 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECJ" >&5
|
---|
5243 | $as_echo "$ECJ" >&6; }
|
---|
5244 | else
|
---|
5245 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
5246 | $as_echo "no" >&6; }
|
---|
5247 | fi
|
---|
5248 |
|
---|
5249 |
|
---|
5250 | fi
|
---|
5251 | else
|
---|
5252 | # Extract the first word of ""ecj"", so it can be a program name with args.
|
---|
5253 | set 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; }
|
---|
5256 | if ${ac_cv_path_ECJ+:} false; then :
|
---|
5257 | $as_echo_n "(cached) " >&6
|
---|
5258 | else
|
---|
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
|
---|
5265 | for as_dir in $PATH
|
---|
5266 | do
|
---|
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
|
---|
5275 | done
|
---|
5276 | done
|
---|
5277 | IFS=$as_save_IFS
|
---|
5278 |
|
---|
5279 | ;;
|
---|
5280 | esac
|
---|
5281 | fi
|
---|
5282 | ECJ=$ac_cv_path_ECJ
|
---|
5283 | if test -n "$ECJ"; then
|
---|
5284 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECJ" >&5
|
---|
5285 | $as_echo "$ECJ" >&6; }
|
---|
5286 | else
|
---|
5287 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
5288 | $as_echo "no" >&6; }
|
---|
5289 | fi
|
---|
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.
|
---|
5294 | set 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; }
|
---|
5297 | if ${ac_cv_path_ECJ+:} false; then :
|
---|
5298 | $as_echo_n "(cached) " >&6
|
---|
5299 | else
|
---|
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
|
---|
5306 | for as_dir in $PATH
|
---|
5307 | do
|
---|
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
|
---|
5316 | done
|
---|
5317 | done
|
---|
5318 | IFS=$as_save_IFS
|
---|
5319 |
|
---|
5320 | ;;
|
---|
5321 | esac
|
---|
5322 | fi
|
---|
5323 | ECJ=$ac_cv_path_ECJ
|
---|
5324 | if test -n "$ECJ"; then
|
---|
5325 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECJ" >&5
|
---|
5326 | $as_echo "$ECJ" >&6; }
|
---|
5327 | else
|
---|
5328 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
5329 | $as_echo "no" >&6; }
|
---|
5330 | fi
|
---|
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.
|
---|
5336 | set 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; }
|
---|
5339 | if ${ac_cv_path_ECJ+:} false; then :
|
---|
5340 | $as_echo_n "(cached) " >&6
|
---|
5341 | else
|
---|
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
|
---|
5348 | for as_dir in $PATH
|
---|
5349 | do
|
---|
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
|
---|
5358 | done
|
---|
5359 | done
|
---|
5360 | IFS=$as_save_IFS
|
---|
5361 |
|
---|
5362 | ;;
|
---|
5363 | esac
|
---|
5364 | fi
|
---|
5365 | ECJ=$ac_cv_path_ECJ
|
---|
5366 | if test -n "$ECJ"; then
|
---|
5367 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECJ" >&5
|
---|
5368 | $as_echo "$ECJ" >&6; }
|
---|
5369 | else
|
---|
5370 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
5371 | $as_echo "no" >&6; }
|
---|
5372 | fi
|
---|
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.
|
---|
5378 | set 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; }
|
---|
5381 | if ${ac_cv_path_ECJ+:} false; then :
|
---|
5382 | $as_echo_n "(cached) " >&6
|
---|
5383 | else
|
---|
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
|
---|
5390 | for as_dir in $PATH
|
---|
5391 | do
|
---|
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
|
---|
5400 | done
|
---|
5401 | done
|
---|
5402 | IFS=$as_save_IFS
|
---|
5403 |
|
---|
5404 | ;;
|
---|
5405 | esac
|
---|
5406 | fi
|
---|
5407 | ECJ=$ac_cv_path_ECJ
|
---|
5408 | if test -n "$ECJ"; then
|
---|
5409 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECJ" >&5
|
---|
5410 | $as_echo "$ECJ" >&6; }
|
---|
5411 | else
|
---|
5412 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
5413 | $as_echo "no" >&6; }
|
---|
5414 | fi
|
---|
5415 |
|
---|
5416 |
|
---|
5417 | fi
|
---|
5418 | fi
|
---|
5419 |
|
---|
5420 |
|
---|
5421 | fi
|
---|
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; }
|
---|
5432 | if ${it_cv_ecj+:} false; then :
|
---|
5433 | $as_echo_n "(cached) " >&6
|
---|
5434 | else
|
---|
5435 |
|
---|
5436 | if $JAVAC -version 2>&1| grep '^Eclipse' >&5 ; then
|
---|
5437 | it_cv_ecj=yes;
|
---|
5438 | else
|
---|
5439 | it_cv_ecj=no;
|
---|
5440 | fi
|
---|
5441 |
|
---|
5442 | fi
|
---|
5443 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $it_cv_ecj" >&5
|
---|
5444 | $as_echo "$it_cv_ecj" >&6; }
|
---|
5445 | USING_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.
|
---|
5457 | if test "${with_jar+set}" = set; then :
|
---|
5458 | withval=$with_jar;
|
---|
5459 | JAR="${withval}"
|
---|
5460 |
|
---|
5461 | else
|
---|
5462 |
|
---|
5463 | JAR=${SYSTEM_JDK_DIR}/bin/jar
|
---|
5464 |
|
---|
5465 | fi
|
---|
5466 |
|
---|
5467 | if ! test -f "${JAR}"; then
|
---|
5468 | # Extract the first word of ""${JAR}"", so it can be a program name with args.
|
---|
5469 | set 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; }
|
---|
5472 | if ${ac_cv_path_JAR+:} false; then :
|
---|
5473 | $as_echo_n "(cached) " >&6
|
---|
5474 | else
|
---|
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
|
---|
5481 | for as_dir in $PATH
|
---|
5482 | do
|
---|
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
|
---|
5491 | done
|
---|
5492 | done
|
---|
5493 | IFS=$as_save_IFS
|
---|
5494 |
|
---|
5495 | ;;
|
---|
5496 | esac
|
---|
5497 | fi
|
---|
5498 | JAR=$ac_cv_path_JAR
|
---|
5499 | if test -n "$JAR"; then
|
---|
5500 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAR" >&5
|
---|
5501 | $as_echo "$JAR" >&6; }
|
---|
5502 | else
|
---|
5503 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
5504 | $as_echo "no" >&6; }
|
---|
5505 | fi
|
---|
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.
|
---|
5511 | set 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; }
|
---|
5514 | if ${ac_cv_path_JAR+:} false; then :
|
---|
5515 | $as_echo_n "(cached) " >&6
|
---|
5516 | else
|
---|
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
|
---|
5523 | for as_dir in $PATH
|
---|
5524 | do
|
---|
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
|
---|
5533 | done
|
---|
5534 | done
|
---|
5535 | IFS=$as_save_IFS
|
---|
5536 |
|
---|
5537 | ;;
|
---|
5538 | esac
|
---|
5539 | fi
|
---|
5540 | JAR=$ac_cv_path_JAR
|
---|
5541 | if test -n "$JAR"; then
|
---|
5542 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAR" >&5
|
---|
5543 | $as_echo "$JAR" >&6; }
|
---|
5544 | else
|
---|
5545 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
5546 | $as_echo "no" >&6; }
|
---|
5547 | fi
|
---|
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.
|
---|
5553 | set 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; }
|
---|
5556 | if ${ac_cv_path_JAR+:} false; then :
|
---|
5557 | $as_echo_n "(cached) " >&6
|
---|
5558 | else
|
---|
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
|
---|
5565 | for as_dir in $PATH
|
---|
5566 | do
|
---|
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
|
---|
5575 | done
|
---|
5576 | done
|
---|
5577 | IFS=$as_save_IFS
|
---|
5578 |
|
---|
5579 | ;;
|
---|
5580 | esac
|
---|
5581 | fi
|
---|
5582 | JAR=$ac_cv_path_JAR
|
---|
5583 | if test -n "$JAR"; then
|
---|
5584 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAR" >&5
|
---|
5585 | $as_echo "$JAR" >&6; }
|
---|
5586 | else
|
---|
5587 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
5588 | $as_echo "no" >&6; }
|
---|
5589 | fi
|
---|
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
|
---|
5603 | EOF
|
---|
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.
|
---|
5648 | if 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 |
|
---|
5654 | else
|
---|
5655 |
|
---|
5656 | ECJ_JAR=
|
---|
5657 |
|
---|
5658 | fi
|
---|
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.
|
---|
5686 | if test "${with_javadoc+set}" = set; then :
|
---|
5687 | withval=$with_javadoc;
|
---|
5688 | JAVADOC="${withval}"
|
---|
5689 |
|
---|
5690 | else
|
---|
5691 |
|
---|
5692 | JAVADOC=${SYSTEM_JDK_DIR}/bin/javadoc
|
---|
5693 |
|
---|
5694 | fi
|
---|
5695 |
|
---|
5696 | if ! test -f "${JAVADOC}"; then
|
---|
5697 | # Extract the first word of ""${JAVADOC}"", so it can be a program name with args.
|
---|
5698 | set 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; }
|
---|
5701 | if ${ac_cv_path_JAVADOC+:} false; then :
|
---|
5702 | $as_echo_n "(cached) " >&6
|
---|
5703 | else
|
---|
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
|
---|
5710 | for as_dir in $PATH
|
---|
5711 | do
|
---|
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
|
---|
5720 | done
|
---|
5721 | done
|
---|
5722 | IFS=$as_save_IFS
|
---|
5723 |
|
---|
5724 | ;;
|
---|
5725 | esac
|
---|
5726 | fi
|
---|
5727 | JAVADOC=$ac_cv_path_JAVADOC
|
---|
5728 | if test -n "$JAVADOC"; then
|
---|
5729 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVADOC" >&5
|
---|
5730 | $as_echo "$JAVADOC" >&6; }
|
---|
5731 | else
|
---|
5732 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
5733 | $as_echo "no" >&6; }
|
---|
5734 | fi
|
---|
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.
|
---|
5740 | set 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; }
|
---|
5743 | if ${ac_cv_path_JAVADOC+:} false; then :
|
---|
5744 | $as_echo_n "(cached) " >&6
|
---|
5745 | else
|
---|
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
|
---|
5752 | for as_dir in $PATH
|
---|
5753 | do
|
---|
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
|
---|
5762 | done
|
---|
5763 | done
|
---|
5764 | IFS=$as_save_IFS
|
---|
5765 |
|
---|
5766 | ;;
|
---|
5767 | esac
|
---|
5768 | fi
|
---|
5769 | JAVADOC=$ac_cv_path_JAVADOC
|
---|
5770 | if test -n "$JAVADOC"; then
|
---|
5771 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVADOC" >&5
|
---|
5772 | $as_echo "$JAVADOC" >&6; }
|
---|
5773 | else
|
---|
5774 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
5775 | $as_echo "no" >&6; }
|
---|
5776 | fi
|
---|
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.
|
---|
5782 | set 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; }
|
---|
5785 | if ${ac_cv_path_JAVADOC+:} false; then :
|
---|
5786 | $as_echo_n "(cached) " >&6
|
---|
5787 | else
|
---|
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
|
---|
5794 | for as_dir in $PATH
|
---|
5795 | do
|
---|
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
|
---|
5804 | done
|
---|
5805 | done
|
---|
5806 | IFS=$as_save_IFS
|
---|
5807 |
|
---|
5808 | ;;
|
---|
5809 | esac
|
---|
5810 | fi
|
---|
5811 | JAVADOC=$ac_cv_path_JAVADOC
|
---|
5812 | if test -n "$JAVADOC"; then
|
---|
5813 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVADOC" >&5
|
---|
5814 | $as_echo "$JAVADOC" >&6; }
|
---|
5815 | else
|
---|
5816 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
5817 | $as_echo "no" >&6; }
|
---|
5818 | fi
|
---|
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" */
|
---|
5835 | package pkg;
|
---|
5836 |
|
---|
5837 | public 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 |
|
---|
5851 | EOF
|
---|
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='#'
|
---|
5866 | else
|
---|
5867 | JAVADOC_SUPPORTS_J_OPTIONS_TRUE='#'
|
---|
5868 | JAVADOC_SUPPORTS_J_OPTIONS_FALSE=
|
---|
5869 | fi
|
---|
5870 |
|
---|
5871 |
|
---|
5872 | ac_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.
|
---|
5878 | set 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; }
|
---|
5881 | if ${ac_cv_path_HG+:} false; then :
|
---|
5882 | $as_echo_n "(cached) " >&6
|
---|
5883 | else
|
---|
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
|
---|
5890 | for as_dir in $PATH
|
---|
5891 | do
|
---|
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
|
---|
5900 | done
|
---|
5901 | done
|
---|
5902 | IFS=$as_save_IFS
|
---|
5903 |
|
---|
5904 | ;;
|
---|
5905 | esac
|
---|
5906 | fi
|
---|
5907 | HG=$ac_cv_path_HG
|
---|
5908 | if test -n "$HG"; then
|
---|
5909 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HG" >&5
|
---|
5910 | $as_echo "$HG" >&6; }
|
---|
5911 | else
|
---|
5912 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
5913 | $as_echo "no" >&6; }
|
---|
5914 | fi
|
---|
5915 |
|
---|
5916 |
|
---|
5917 | fi
|
---|
5918 | if 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.
|
---|
5921 | set 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; }
|
---|
5924 | if ${ac_cv_path_ac_pt_HG+:} false; then :
|
---|
5925 | $as_echo_n "(cached) " >&6
|
---|
5926 | else
|
---|
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
|
---|
5933 | for as_dir in $PATH
|
---|
5934 | do
|
---|
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
|
---|
5943 | done
|
---|
5944 | done
|
---|
5945 | IFS=$as_save_IFS
|
---|
5946 |
|
---|
5947 | ;;
|
---|
5948 | esac
|
---|
5949 | fi
|
---|
5950 | ac_pt_HG=$ac_cv_path_ac_pt_HG
|
---|
5951 | if 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; }
|
---|
5954 | else
|
---|
5955 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
5956 | $as_echo "no" >&6; }
|
---|
5957 | fi
|
---|
5958 |
|
---|
5959 | if test "x$ac_pt_HG" = x; then
|
---|
5960 | HG=""
|
---|
5961 | else
|
---|
5962 | case $cross_compiling:$ac_tool_warned in
|
---|
5963 | yes:)
|
---|
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;}
|
---|
5966 | ac_tool_warned=yes ;;
|
---|
5967 | esac
|
---|
5968 | HG=$ac_pt_HG
|
---|
5969 | fi
|
---|
5970 | else
|
---|
5971 | HG="$ac_cv_path_HG"
|
---|
5972 | fi
|
---|
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='#'
|
---|
5992 | else
|
---|
5993 | HAS_ICEDTEA_REVISION_TRUE='#'
|
---|
5994 | HAS_ICEDTEA_REVISION_FALSE=
|
---|
5995 | fi
|
---|
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.
|
---|
6003 | if 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
|
---|
6009 | else
|
---|
6010 | PKGVERSION=none
|
---|
6011 | fi
|
---|
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='#'
|
---|
6018 | else
|
---|
6019 | HAS_PKGVERSION_TRUE='#'
|
---|
6020 | HAS_PKGVERSION_FALSE=
|
---|
6021 | fi
|
---|
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.
|
---|
6045 | if test "${enable_plugin+set}" = set; then :
|
---|
6046 | enableval=$enable_plugin; enable_plugin="${enableval}"
|
---|
6047 | else
|
---|
6048 | enable_plugin="yes"
|
---|
6049 | fi
|
---|
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 |
|
---|
6060 | if 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.
|
---|
6063 | set 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; }
|
---|
6066 | if ${ac_cv_path_PKG_CONFIG+:} false; then :
|
---|
6067 | $as_echo_n "(cached) " >&6
|
---|
6068 | else
|
---|
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
|
---|
6075 | for as_dir in $PATH
|
---|
6076 | do
|
---|
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
|
---|
6085 | done
|
---|
6086 | done
|
---|
6087 | IFS=$as_save_IFS
|
---|
6088 |
|
---|
6089 | ;;
|
---|
6090 | esac
|
---|
6091 | fi
|
---|
6092 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG
|
---|
6093 | if test -n "$PKG_CONFIG"; then
|
---|
6094 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
|
---|
6095 | $as_echo "$PKG_CONFIG" >&6; }
|
---|
6096 | else
|
---|
6097 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
6098 | $as_echo "no" >&6; }
|
---|
6099 | fi
|
---|
6100 |
|
---|
6101 |
|
---|
6102 | fi
|
---|
6103 | if 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.
|
---|
6106 | set 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; }
|
---|
6109 | if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
|
---|
6110 | $as_echo_n "(cached) " >&6
|
---|
6111 | else
|
---|
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
|
---|
6118 | for as_dir in $PATH
|
---|
6119 | do
|
---|
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
|
---|
6128 | done
|
---|
6129 | done
|
---|
6130 | IFS=$as_save_IFS
|
---|
6131 |
|
---|
6132 | ;;
|
---|
6133 | esac
|
---|
6134 | fi
|
---|
6135 | ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
|
---|
6136 | if 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; }
|
---|
6139 | else
|
---|
6140 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
6141 | $as_echo "no" >&6; }
|
---|
6142 | fi
|
---|
6143 |
|
---|
6144 | if test "x$ac_pt_PKG_CONFIG" = x; then
|
---|
6145 | PKG_CONFIG=""
|
---|
6146 | else
|
---|
6147 | case $cross_compiling:$ac_tool_warned in
|
---|
6148 | yes:)
|
---|
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;}
|
---|
6151 | ac_tool_warned=yes ;;
|
---|
6152 | esac
|
---|
6153 | PKG_CONFIG=$ac_pt_PKG_CONFIG
|
---|
6154 | fi
|
---|
6155 | else
|
---|
6156 | PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
|
---|
6157 | fi
|
---|
6158 |
|
---|
6159 | fi
|
---|
6160 | if 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
|
---|
6172 | fi
|
---|
6173 |
|
---|
6174 |
|
---|
6175 | if test "x${enable_plugin}" = "xyes" ; then
|
---|
6176 |
|
---|
6177 | pkg_failed=no
|
---|
6178 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
|
---|
6179 | $as_echo_n "checking for GTK... " >&6; }
|
---|
6180 |
|
---|
6181 | if 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`
|
---|
6191 | else
|
---|
6192 | pkg_failed=yes
|
---|
6193 | fi
|
---|
6194 | else
|
---|
6195 | pkg_failed=untried
|
---|
6196 | fi
|
---|
6197 | if 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`
|
---|
6207 | else
|
---|
6208 | pkg_failed=yes
|
---|
6209 | fi
|
---|
6210 | else
|
---|
6211 | pkg_failed=untried
|
---|
6212 | fi
|
---|
6213 |
|
---|
6214 |
|
---|
6215 |
|
---|
6216 | if test $pkg_failed = yes; then
|
---|
6217 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
6218 | $as_echo "no" >&6; }
|
---|
6219 |
|
---|
6220 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
|
---|
6221 | _pkg_short_errors_supported=yes
|
---|
6222 | else
|
---|
6223 | _pkg_short_errors_supported=no
|
---|
6224 | fi
|
---|
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 |
|
---|
6237 | Consider adjusting the PKG_CONFIG_PATH environment variable if you
|
---|
6238 | installed software in a non-standard prefix.
|
---|
6239 |
|
---|
6240 | Alternatively, you may set the environment variables GTK_CFLAGS
|
---|
6241 | and GTK_LIBS to avoid the need to call pkg-config.
|
---|
6242 | See the pkg-config man page for more details." "$LINENO" 5
|
---|
6243 |
|
---|
6244 | elif 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;}
|
---|
6249 | as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
|
---|
6250 | is in your PATH or set the PKG_CONFIG environment variable to the full
|
---|
6251 | path to pkg-config.
|
---|
6252 |
|
---|
6253 | Alternatively, you may set the environment variables GTK_CFLAGS
|
---|
6254 | and GTK_LIBS to avoid the need to call pkg-config.
|
---|
6255 | See the pkg-config man page for more details.
|
---|
6256 |
|
---|
6257 | To get pkg-config, see <http://pkg-config.freedesktop.org/>.
|
---|
6258 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
6259 |
|
---|
6260 | else
|
---|
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 |
|
---|
6266 | fi
|
---|
6267 |
|
---|
6268 | pkg_failed=no
|
---|
6269 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
|
---|
6270 | $as_echo_n "checking for GLIB... " >&6; }
|
---|
6271 |
|
---|
6272 | if 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`
|
---|
6282 | else
|
---|
6283 | pkg_failed=yes
|
---|
6284 | fi
|
---|
6285 | else
|
---|
6286 | pkg_failed=untried
|
---|
6287 | fi
|
---|
6288 | if 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`
|
---|
6298 | else
|
---|
6299 | pkg_failed=yes
|
---|
6300 | fi
|
---|
6301 | else
|
---|
6302 | pkg_failed=untried
|
---|
6303 | fi
|
---|
6304 |
|
---|
6305 |
|
---|
6306 |
|
---|
6307 | if test $pkg_failed = yes; then
|
---|
6308 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
6309 | $as_echo "no" >&6; }
|
---|
6310 |
|
---|
6311 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
|
---|
6312 | _pkg_short_errors_supported=yes
|
---|
6313 | else
|
---|
6314 | _pkg_short_errors_supported=no
|
---|
6315 | fi
|
---|
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 |
|
---|
6328 | Consider adjusting the PKG_CONFIG_PATH environment variable if you
|
---|
6329 | installed software in a non-standard prefix.
|
---|
6330 |
|
---|
6331 | Alternatively, you may set the environment variables GLIB_CFLAGS
|
---|
6332 | and GLIB_LIBS to avoid the need to call pkg-config.
|
---|
6333 | See the pkg-config man page for more details." "$LINENO" 5
|
---|
6334 |
|
---|
6335 | elif 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;}
|
---|
6340 | as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
|
---|
6341 | is in your PATH or set the PKG_CONFIG environment variable to the full
|
---|
6342 | path to pkg-config.
|
---|
6343 |
|
---|
6344 | Alternatively, you may set the environment variables GLIB_CFLAGS
|
---|
6345 | and GLIB_LIBS to avoid the need to call pkg-config.
|
---|
6346 | See the pkg-config man page for more details.
|
---|
6347 |
|
---|
6348 | To get pkg-config, see <http://pkg-config.freedesktop.org/>.
|
---|
6349 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
6350 |
|
---|
6351 | else
|
---|
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 |
|
---|
6357 | fi
|
---|
6358 |
|
---|
6359 |
|
---|
6360 |
|
---|
6361 |
|
---|
6362 |
|
---|
6363 |
|
---|
6364 | pkg_failed=no
|
---|
6365 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MOZILLA" >&5
|
---|
6366 | $as_echo_n "checking for MOZILLA... " >&6; }
|
---|
6367 |
|
---|
6368 | if 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`
|
---|
6378 | else
|
---|
6379 | pkg_failed=yes
|
---|
6380 | fi
|
---|
6381 | else
|
---|
6382 | pkg_failed=untried
|
---|
6383 | fi
|
---|
6384 | if 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`
|
---|
6394 | else
|
---|
6395 | pkg_failed=yes
|
---|
6396 | fi
|
---|
6397 | else
|
---|
6398 | pkg_failed=untried
|
---|
6399 | fi
|
---|
6400 |
|
---|
6401 |
|
---|
6402 |
|
---|
6403 | if test $pkg_failed = yes; then
|
---|
6404 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
6405 | $as_echo "no" >&6; }
|
---|
6406 |
|
---|
6407 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
|
---|
6408 | _pkg_short_errors_supported=yes
|
---|
6409 | else
|
---|
6410 | _pkg_short_errors_supported=no
|
---|
6411 | fi
|
---|
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 |
|
---|
6424 | Consider adjusting the PKG_CONFIG_PATH environment variable if you
|
---|
6425 | installed software in a non-standard prefix.
|
---|
6426 |
|
---|
6427 | Alternatively, you may set the environment variables MOZILLA_CFLAGS
|
---|
6428 | and MOZILLA_LIBS to avoid the need to call pkg-config.
|
---|
6429 | See the pkg-config man page for more details." "$LINENO" 5
|
---|
6430 |
|
---|
6431 | elif 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;}
|
---|
6436 | as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
|
---|
6437 | is in your PATH or set the PKG_CONFIG environment variable to the full
|
---|
6438 | path to pkg-config.
|
---|
6439 |
|
---|
6440 | Alternatively, you may set the environment variables MOZILLA_CFLAGS
|
---|
6441 | and MOZILLA_LIBS to avoid the need to call pkg-config.
|
---|
6442 | See the pkg-config man page for more details.
|
---|
6443 |
|
---|
6444 | To get pkg-config, see <http://pkg-config.freedesktop.org/>.
|
---|
6445 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
6446 |
|
---|
6447 | else
|
---|
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 |
|
---|
6453 | fi
|
---|
6454 |
|
---|
6455 |
|
---|
6456 |
|
---|
6457 | fi
|
---|
6458 | if test "x${enable_plugin}" = "xyes"; then
|
---|
6459 | ENABLE_PLUGIN_TRUE=
|
---|
6460 | ENABLE_PLUGIN_FALSE='#'
|
---|
6461 | else
|
---|
6462 | ENABLE_PLUGIN_TRUE='#'
|
---|
6463 | ENABLE_PLUGIN_FALSE=
|
---|
6464 | fi
|
---|
6465 |
|
---|
6466 |
|
---|
6467 |
|
---|
6468 |
|
---|
6469 | if test "x${enable_plugin}" = "xyes"
|
---|
6470 | then
|
---|
6471 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xulrunner version" >&5
|
---|
6472 | $as_echo_n "checking for xulrunner version... " >&6; }
|
---|
6473 | if ${xulrunner_cv_collapsed_version+:} false; then :
|
---|
6474 | $as_echo_n "(cached) " >&6
|
---|
6475 | else
|
---|
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;}
|
---|
6483 | as_fn_error $? "cannot determine xulrunner version
|
---|
6484 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
6485 | fi
|
---|
6486 | fi
|
---|
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 |
|
---|
6491 | fi
|
---|
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; }
|
---|
6497 | if ${ac_cv_lib_z_main+:} false; then :
|
---|
6498 | $as_echo_n "(cached) " >&6
|
---|
6499 | else
|
---|
6500 | ac_check_lib_save_LIBS=$LIBS
|
---|
6501 | LIBS="-lz $LIBS"
|
---|
6502 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
6503 | /* end confdefs.h. */
|
---|
6504 |
|
---|
6505 |
|
---|
6506 | int
|
---|
6507 | main ()
|
---|
6508 | {
|
---|
6509 | return main ();
|
---|
6510 | ;
|
---|
6511 | return 0;
|
---|
6512 | }
|
---|
6513 | _ACEOF
|
---|
6514 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
6515 | ac_cv_lib_z_main=yes
|
---|
6516 | else
|
---|
6517 | ac_cv_lib_z_main=no
|
---|
6518 | fi
|
---|
6519 | rm -f core conftest.err conftest.$ac_objext \
|
---|
6520 | conftest$ac_exeext conftest.$ac_ext
|
---|
6521 | LIBS=$ac_check_lib_save_LIBS
|
---|
6522 | fi
|
---|
6523 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_main" >&5
|
---|
6524 | $as_echo "$ac_cv_lib_z_main" >&6; }
|
---|
6525 | if 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 |
|
---|
6532 | else
|
---|
6533 | as_fn_error $? "\"zlib not found - try installing zlib-devel\"" "$LINENO" 5
|
---|
6534 | fi
|
---|
6535 |
|
---|
6536 |
|
---|
6537 | pkg_failed=no
|
---|
6538 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
|
---|
6539 | $as_echo_n "checking for X11... " >&6; }
|
---|
6540 |
|
---|
6541 | if 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`
|
---|
6551 | else
|
---|
6552 | pkg_failed=yes
|
---|
6553 | fi
|
---|
6554 | else
|
---|
6555 | pkg_failed=untried
|
---|
6556 | fi
|
---|
6557 | if 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`
|
---|
6567 | else
|
---|
6568 | pkg_failed=yes
|
---|
6569 | fi
|
---|
6570 | else
|
---|
6571 | pkg_failed=untried
|
---|
6572 | fi
|
---|
6573 |
|
---|
6574 |
|
---|
6575 |
|
---|
6576 | if test $pkg_failed = yes; then
|
---|
6577 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
6578 | $as_echo "no" >&6; }
|
---|
6579 |
|
---|
6580 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
|
---|
6581 | _pkg_short_errors_supported=yes
|
---|
6582 | else
|
---|
6583 | _pkg_short_errors_supported=no
|
---|
6584 | fi
|
---|
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
|
---|
6594 | elif 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
|
---|
6598 | else
|
---|
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
|
---|
6604 | fi
|
---|
6605 | if test "x${X11_FOUND}" = xno
|
---|
6606 | then
|
---|
6607 | as_fn_error $? "Could not find x11 - \
|
---|
6608 | Try installing libX11-devel." "$LINENO" 5
|
---|
6609 | fi
|
---|
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.
|
---|
6619 | if test "${with_jre_home+set}" = set; then :
|
---|
6620 | withval=$with_jre_home;
|
---|
6621 | SYSTEM_JRE_DIR=${withval}
|
---|
6622 |
|
---|
6623 | else
|
---|
6624 |
|
---|
6625 | SYSTEM_JRE_DIR=
|
---|
6626 |
|
---|
6627 | fi
|
---|
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.
|
---|
6647 | if test "${with_java+set}" = set; then :
|
---|
6648 | withval=$with_java;
|
---|
6649 | JAVA="${withval}"
|
---|
6650 |
|
---|
6651 | else
|
---|
6652 |
|
---|
6653 | JAVA="${SYSTEM_JRE_DIR}/bin/java"
|
---|
6654 |
|
---|
6655 | fi
|
---|
6656 |
|
---|
6657 | if ! test -f "${JAVA}"; then
|
---|
6658 | # Extract the first word of ""${JAVA}"", so it can be a program name with args.
|
---|
6659 | set 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; }
|
---|
6662 | if ${ac_cv_path_JAVA+:} false; then :
|
---|
6663 | $as_echo_n "(cached) " >&6
|
---|
6664 | else
|
---|
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
|
---|
6671 | for as_dir in $PATH
|
---|
6672 | do
|
---|
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
|
---|
6681 | done
|
---|
6682 | done
|
---|
6683 | IFS=$as_save_IFS
|
---|
6684 |
|
---|
6685 | ;;
|
---|
6686 | esac
|
---|
6687 | fi
|
---|
6688 | JAVA=$ac_cv_path_JAVA
|
---|
6689 | if test -n "$JAVA"; then
|
---|
6690 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
|
---|
6691 | $as_echo "$JAVA" >&6; }
|
---|
6692 | else
|
---|
6693 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
6694 | $as_echo "no" >&6; }
|
---|
6695 | fi
|
---|
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.
|
---|
6701 | set 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; }
|
---|
6704 | if ${ac_cv_path_JAVA+:} false; then :
|
---|
6705 | $as_echo_n "(cached) " >&6
|
---|
6706 | else
|
---|
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
|
---|
6713 | for as_dir in $PATH
|
---|
6714 | do
|
---|
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
|
---|
6723 | done
|
---|
6724 | done
|
---|
6725 | IFS=$as_save_IFS
|
---|
6726 |
|
---|
6727 | ;;
|
---|
6728 | esac
|
---|
6729 | fi
|
---|
6730 | JAVA=$ac_cv_path_JAVA
|
---|
6731 | if test -n "$JAVA"; then
|
---|
6732 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
|
---|
6733 | $as_echo "$JAVA" >&6; }
|
---|
6734 | else
|
---|
6735 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
6736 | $as_echo "no" >&6; }
|
---|
6737 | fi
|
---|
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.
|
---|
6743 | set 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; }
|
---|
6746 | if ${ac_cv_path_JAVA+:} false; then :
|
---|
6747 | $as_echo_n "(cached) " >&6
|
---|
6748 | else
|
---|
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
|
---|
6755 | for as_dir in $PATH
|
---|
6756 | do
|
---|
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
|
---|
6765 | done
|
---|
6766 | done
|
---|
6767 | IFS=$as_save_IFS
|
---|
6768 |
|
---|
6769 | ;;
|
---|
6770 | esac
|
---|
6771 | fi
|
---|
6772 | JAVA=$ac_cv_path_JAVA
|
---|
6773 | if test -n "$JAVA"; then
|
---|
6774 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
|
---|
6775 | $as_echo "$JAVA" >&6; }
|
---|
6776 | else
|
---|
6777 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
6778 | $as_echo "no" >&6; }
|
---|
6779 | fi
|
---|
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; }
|
---|
6795 | if ${it_cv_JAVA_UTIL_JAR_PACK200+:} false; then :
|
---|
6796 | $as_echo_n "(cached) " >&6
|
---|
6797 | else
|
---|
6798 |
|
---|
6799 | CLASS=sun/applet/Test.java
|
---|
6800 | BYTECODE=$(echo $CLASS|sed 's#\.java##')
|
---|
6801 | mkdir -p tmp.$$/$(dirname $CLASS)
|
---|
6802 | cd tmp.$$
|
---|
6803 | cat << \EOF > $CLASS
|
---|
6804 | /* [#]line 6804 "configure" */
|
---|
6805 | package sun.applet;
|
---|
6806 |
|
---|
6807 | import java.util.jar.Pack200;
|
---|
6808 |
|
---|
6809 | public 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 |
|
---|
6818 | EOF
|
---|
6819 | if $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
|
---|
6825 | else
|
---|
6826 | it_cv_JAVA_UTIL_JAR_PACK200=no;
|
---|
6827 | fi
|
---|
6828 |
|
---|
6829 | fi
|
---|
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; }
|
---|
6832 | rm -f $CLASS *.class
|
---|
6833 | cd ..
|
---|
6834 | # should be rmdir but has to be rm -rf due to sun.applet usage
|
---|
6835 | rm -rf tmp.$$
|
---|
6836 | if test x"${it_cv_JAVA_UTIL_JAR_PACK200}" = "xno"; then
|
---|
6837 | as_fn_error $? "java.util.jar.Pack200 not found." "$LINENO" 5
|
---|
6838 | fi
|
---|
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; }
|
---|
6845 | if ${it_cv_JAVA_NET_COOKIEMANAGER+:} false; then :
|
---|
6846 | $as_echo_n "(cached) " >&6
|
---|
6847 | else
|
---|
6848 |
|
---|
6849 | CLASS=sun/applet/Test.java
|
---|
6850 | BYTECODE=$(echo $CLASS|sed 's#\.java##')
|
---|
6851 | mkdir -p tmp.$$/$(dirname $CLASS)
|
---|
6852 | cd tmp.$$
|
---|
6853 | cat << \EOF > $CLASS
|
---|
6854 | /* [#]line 6854 "configure" */
|
---|
6855 | package sun.applet;
|
---|
6856 |
|
---|
6857 | import java.net.CookieManager;
|
---|
6858 |
|
---|
6859 | public 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 |
|
---|
6868 | EOF
|
---|
6869 | if $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
|
---|
6875 | else
|
---|
6876 | it_cv_JAVA_NET_COOKIEMANAGER=no;
|
---|
6877 | fi
|
---|
6878 |
|
---|
6879 | fi
|
---|
6880 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $it_cv_JAVA_NET_COOKIEMANAGER" >&5
|
---|
6881 | $as_echo "$it_cv_JAVA_NET_COOKIEMANAGER" >&6; }
|
---|
6882 | rm -f $CLASS *.class
|
---|
6883 | cd ..
|
---|
6884 | # should be rmdir but has to be rm -rf due to sun.applet usage
|
---|
6885 | rm -rf tmp.$$
|
---|
6886 | if test x"${it_cv_JAVA_NET_COOKIEMANAGER}" = "xno"; then
|
---|
6887 | as_fn_error $? "java.net.CookieManager not found." "$LINENO" 5
|
---|
6888 | fi
|
---|
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; }
|
---|
6895 | if ${it_cv_JAVA_NET_HTTPCOOKIE+:} false; then :
|
---|
6896 | $as_echo_n "(cached) " >&6
|
---|
6897 | else
|
---|
6898 |
|
---|
6899 | CLASS=sun/applet/Test.java
|
---|
6900 | BYTECODE=$(echo $CLASS|sed 's#\.java##')
|
---|
6901 | mkdir -p tmp.$$/$(dirname $CLASS)
|
---|
6902 | cd tmp.$$
|
---|
6903 | cat << \EOF > $CLASS
|
---|
6904 | /* [#]line 6904 "configure" */
|
---|
6905 | package sun.applet;
|
---|
6906 |
|
---|
6907 | import java.net.HttpCookie;
|
---|
6908 |
|
---|
6909 | public 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 |
|
---|
6918 | EOF
|
---|
6919 | if $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
|
---|
6925 | else
|
---|
6926 | it_cv_JAVA_NET_HTTPCOOKIE=no;
|
---|
6927 | fi
|
---|
6928 |
|
---|
6929 | fi
|
---|
6930 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $it_cv_JAVA_NET_HTTPCOOKIE" >&5
|
---|
6931 | $as_echo "$it_cv_JAVA_NET_HTTPCOOKIE" >&6; }
|
---|
6932 | rm -f $CLASS *.class
|
---|
6933 | cd ..
|
---|
6934 | # should be rmdir but has to be rm -rf due to sun.applet usage
|
---|
6935 | rm -rf tmp.$$
|
---|
6936 | if test x"${it_cv_JAVA_NET_HTTPCOOKIE}" = "xno"; then
|
---|
6937 | as_fn_error $? "java.net.HttpCookie not found." "$LINENO" 5
|
---|
6938 | fi
|
---|
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; }
|
---|
6945 | if ${it_cv_JAVA_NET_COOKIEHANDLER+:} false; then :
|
---|
6946 | $as_echo_n "(cached) " >&6
|
---|
6947 | else
|
---|
6948 |
|
---|
6949 | CLASS=sun/applet/Test.java
|
---|
6950 | BYTECODE=$(echo $CLASS|sed 's#\.java##')
|
---|
6951 | mkdir -p tmp.$$/$(dirname $CLASS)
|
---|
6952 | cd tmp.$$
|
---|
6953 | cat << \EOF > $CLASS
|
---|
6954 | /* [#]line 6954 "configure" */
|
---|
6955 | package sun.applet;
|
---|
6956 |
|
---|
6957 | import java.net.CookieHandler;
|
---|
6958 |
|
---|
6959 | public 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 |
|
---|
6968 | EOF
|
---|
6969 | if $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
|
---|
6975 | else
|
---|
6976 | it_cv_JAVA_NET_COOKIEHANDLER=no;
|
---|
6977 | fi
|
---|
6978 |
|
---|
6979 | fi
|
---|
6980 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $it_cv_JAVA_NET_COOKIEHANDLER" >&5
|
---|
6981 | $as_echo "$it_cv_JAVA_NET_COOKIEHANDLER" >&6; }
|
---|
6982 | rm -f $CLASS *.class
|
---|
6983 | cd ..
|
---|
6984 | # should be rmdir but has to be rm -rf due to sun.applet usage
|
---|
6985 | rm -rf tmp.$$
|
---|
6986 | if test x"${it_cv_JAVA_NET_COOKIEHANDLER}" = "xno"; then
|
---|
6987 | as_fn_error $? "java.net.CookieHandler not found." "$LINENO" 5
|
---|
6988 | fi
|
---|
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; }
|
---|
6995 | if ${it_cv_SUN_SECURITY_PROVIDER_X509FACTORY+:} false; then :
|
---|
6996 | $as_echo_n "(cached) " >&6
|
---|
6997 | else
|
---|
6998 |
|
---|
6999 | CLASS=sun/applet/Test.java
|
---|
7000 | BYTECODE=$(echo $CLASS|sed 's#\.java##')
|
---|
7001 | mkdir -p tmp.$$/$(dirname $CLASS)
|
---|
7002 | cd tmp.$$
|
---|
7003 | cat << \EOF > $CLASS
|
---|
7004 | /* [#]line 7004 "configure" */
|
---|
7005 | package sun.applet;
|
---|
7006 |
|
---|
7007 | import sun.security.provider.X509Factory;
|
---|
7008 |
|
---|
7009 | public 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 |
|
---|
7018 | EOF
|
---|
7019 | if $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
|
---|
7025 | else
|
---|
7026 | it_cv_SUN_SECURITY_PROVIDER_X509FACTORY=no;
|
---|
7027 | fi
|
---|
7028 |
|
---|
7029 | fi
|
---|
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; }
|
---|
7032 | rm -f $CLASS *.class
|
---|
7033 | cd ..
|
---|
7034 | # should be rmdir but has to be rm -rf due to sun.applet usage
|
---|
7035 | rm -rf tmp.$$
|
---|
7036 | if test x"${it_cv_SUN_SECURITY_PROVIDER_X509FACTORY}" = "xno"; then
|
---|
7037 | as_fn_error $? "sun.security.provider.X509Factory not found." "$LINENO" 5
|
---|
7038 | fi
|
---|
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; }
|
---|
7045 | if ${it_cv_SUN_SECURITY_UTIL_SECURITYCONSTANTS+:} false; then :
|
---|
7046 | $as_echo_n "(cached) " >&6
|
---|
7047 | else
|
---|
7048 |
|
---|
7049 | CLASS=sun/applet/Test.java
|
---|
7050 | BYTECODE=$(echo $CLASS|sed 's#\.java##')
|
---|
7051 | mkdir -p tmp.$$/$(dirname $CLASS)
|
---|
7052 | cd tmp.$$
|
---|
7053 | cat << \EOF > $CLASS
|
---|
7054 | /* [#]line 7054 "configure" */
|
---|
7055 | package sun.applet;
|
---|
7056 |
|
---|
7057 | import sun.security.util.SecurityConstants;
|
---|
7058 |
|
---|
7059 | public 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 |
|
---|
7068 | EOF
|
---|
7069 | if $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
|
---|
7075 | else
|
---|
7076 | it_cv_SUN_SECURITY_UTIL_SECURITYCONSTANTS=no;
|
---|
7077 | fi
|
---|
7078 |
|
---|
7079 | fi
|
---|
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; }
|
---|
7082 | rm -f $CLASS *.class
|
---|
7083 | cd ..
|
---|
7084 | # should be rmdir but has to be rm -rf due to sun.applet usage
|
---|
7085 | rm -rf tmp.$$
|
---|
7086 | if test x"${it_cv_SUN_SECURITY_UTIL_SECURITYCONSTANTS}" = "xno"; then
|
---|
7087 | as_fn_error $? "sun.security.util.SecurityConstants not found." "$LINENO" 5
|
---|
7088 | fi
|
---|
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; }
|
---|
7095 | if ${it_cv_SUN_SECURITY_UTIL_HOSTNAMECHECKER+:} false; then :
|
---|
7096 | $as_echo_n "(cached) " >&6
|
---|
7097 | else
|
---|
7098 |
|
---|
7099 | CLASS=sun/applet/Test.java
|
---|
7100 | BYTECODE=$(echo $CLASS|sed 's#\.java##')
|
---|
7101 | mkdir -p tmp.$$/$(dirname $CLASS)
|
---|
7102 | cd tmp.$$
|
---|
7103 | cat << \EOF > $CLASS
|
---|
7104 | /* [#]line 7104 "configure" */
|
---|
7105 | package sun.applet;
|
---|
7106 |
|
---|
7107 | import sun.security.util.HostnameChecker;
|
---|
7108 |
|
---|
7109 | public 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 |
|
---|
7118 | EOF
|
---|
7119 | if $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
|
---|
7125 | else
|
---|
7126 | it_cv_SUN_SECURITY_UTIL_HOSTNAMECHECKER=no;
|
---|
7127 | fi
|
---|
7128 |
|
---|
7129 | fi
|
---|
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; }
|
---|
7132 | rm -f $CLASS *.class
|
---|
7133 | cd ..
|
---|
7134 | # should be rmdir but has to be rm -rf due to sun.applet usage
|
---|
7135 | rm -rf tmp.$$
|
---|
7136 | if test x"${it_cv_SUN_SECURITY_UTIL_HOSTNAMECHECKER}" = "xno"; then
|
---|
7137 | as_fn_error $? "sun.security.util.HostnameChecker not found." "$LINENO" 5
|
---|
7138 | fi
|
---|
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; }
|
---|
7145 | if ${it_cv_SUN_SECURITY_X509_X500NAME+:} false; then :
|
---|
7146 | $as_echo_n "(cached) " >&6
|
---|
7147 | else
|
---|
7148 |
|
---|
7149 | CLASS=sun/applet/Test.java
|
---|
7150 | BYTECODE=$(echo $CLASS|sed 's#\.java##')
|
---|
7151 | mkdir -p tmp.$$/$(dirname $CLASS)
|
---|
7152 | cd tmp.$$
|
---|
7153 | cat << \EOF > $CLASS
|
---|
7154 | /* [#]line 7154 "configure" */
|
---|
7155 | package sun.applet;
|
---|
7156 |
|
---|
7157 | import sun.security.x509.X500Name;
|
---|
7158 |
|
---|
7159 | public 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 |
|
---|
7168 | EOF
|
---|
7169 | if $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
|
---|
7175 | else
|
---|
7176 | it_cv_SUN_SECURITY_X509_X500NAME=no;
|
---|
7177 | fi
|
---|
7178 |
|
---|
7179 | fi
|
---|
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; }
|
---|
7182 | rm -f $CLASS *.class
|
---|
7183 | cd ..
|
---|
7184 | # should be rmdir but has to be rm -rf due to sun.applet usage
|
---|
7185 | rm -rf tmp.$$
|
---|
7186 | if test x"${it_cv_SUN_SECURITY_X509_X500NAME}" = "xno"; then
|
---|
7187 | as_fn_error $? "sun.security.x509.X500Name not found." "$LINENO" 5
|
---|
7188 | fi
|
---|
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; }
|
---|
7195 | if ${it_cv_SUN_MISC_BASE64ENCODER+:} false; then :
|
---|
7196 | $as_echo_n "(cached) " >&6
|
---|
7197 | else
|
---|
7198 |
|
---|
7199 | CLASS=sun/applet/Test.java
|
---|
7200 | BYTECODE=$(echo $CLASS|sed 's#\.java##')
|
---|
7201 | mkdir -p tmp.$$/$(dirname $CLASS)
|
---|
7202 | cd tmp.$$
|
---|
7203 | cat << \EOF > $CLASS
|
---|
7204 | /* [#]line 7204 "configure" */
|
---|
7205 | package sun.applet;
|
---|
7206 |
|
---|
7207 | import sun.misc.BASE64Encoder;
|
---|
7208 |
|
---|
7209 | public 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 |
|
---|
7218 | EOF
|
---|
7219 | if $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
|
---|
7225 | else
|
---|
7226 | it_cv_SUN_MISC_BASE64ENCODER=no;
|
---|
7227 | fi
|
---|
7228 |
|
---|
7229 | fi
|
---|
7230 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $it_cv_SUN_MISC_BASE64ENCODER" >&5
|
---|
7231 | $as_echo "$it_cv_SUN_MISC_BASE64ENCODER" >&6; }
|
---|
7232 | rm -f $CLASS *.class
|
---|
7233 | cd ..
|
---|
7234 | # should be rmdir but has to be rm -rf due to sun.applet usage
|
---|
7235 | rm -rf tmp.$$
|
---|
7236 | if test x"${it_cv_SUN_MISC_BASE64ENCODER}" = "xno"; then
|
---|
7237 | as_fn_error $? "sun.misc.BASE64Encoder not found." "$LINENO" 5
|
---|
7238 | fi
|
---|
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; }
|
---|
7245 | if ${it_cv_SUN_MISC_HEXDUMPENCODER+:} false; then :
|
---|
7246 | $as_echo_n "(cached) " >&6
|
---|
7247 | else
|
---|
7248 |
|
---|
7249 | CLASS=sun/applet/Test.java
|
---|
7250 | BYTECODE=$(echo $CLASS|sed 's#\.java##')
|
---|
7251 | mkdir -p tmp.$$/$(dirname $CLASS)
|
---|
7252 | cd tmp.$$
|
---|
7253 | cat << \EOF > $CLASS
|
---|
7254 | /* [#]line 7254 "configure" */
|
---|
7255 | package sun.applet;
|
---|
7256 |
|
---|
7257 | import sun.misc.HexDumpEncoder;
|
---|
7258 |
|
---|
7259 | public 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 |
|
---|
7268 | EOF
|
---|
7269 | if $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
|
---|
7275 | else
|
---|
7276 | it_cv_SUN_MISC_HEXDUMPENCODER=no;
|
---|
7277 | fi
|
---|
7278 |
|
---|
7279 | fi
|
---|
7280 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $it_cv_SUN_MISC_HEXDUMPENCODER" >&5
|
---|
7281 | $as_echo "$it_cv_SUN_MISC_HEXDUMPENCODER" >&6; }
|
---|
7282 | rm -f $CLASS *.class
|
---|
7283 | cd ..
|
---|
7284 | # should be rmdir but has to be rm -rf due to sun.applet usage
|
---|
7285 | rm -rf tmp.$$
|
---|
7286 | if test x"${it_cv_SUN_MISC_HEXDUMPENCODER}" = "xno"; then
|
---|
7287 | as_fn_error $? "sun.misc.HexDumpEncoder not found." "$LINENO" 5
|
---|
7288 | fi
|
---|
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; }
|
---|
7295 | if ${it_cv_SUN_SECURITY_VALIDATOR_VALIDATOREXCEPTION+:} false; then :
|
---|
7296 | $as_echo_n "(cached) " >&6
|
---|
7297 | else
|
---|
7298 |
|
---|
7299 | CLASS=sun/applet/Test.java
|
---|
7300 | BYTECODE=$(echo $CLASS|sed 's#\.java##')
|
---|
7301 | mkdir -p tmp.$$/$(dirname $CLASS)
|
---|
7302 | cd tmp.$$
|
---|
7303 | cat << \EOF > $CLASS
|
---|
7304 | /* [#]line 7304 "configure" */
|
---|
7305 | package sun.applet;
|
---|
7306 |
|
---|
7307 | import sun.security.validator.ValidatorException;
|
---|
7308 |
|
---|
7309 | public 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 |
|
---|
7318 | EOF
|
---|
7319 | if $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
|
---|
7325 | else
|
---|
7326 | it_cv_SUN_SECURITY_VALIDATOR_VALIDATOREXCEPTION=no;
|
---|
7327 | fi
|
---|
7328 |
|
---|
7329 | fi
|
---|
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; }
|
---|
7332 | rm -f $CLASS *.class
|
---|
7333 | cd ..
|
---|
7334 | # should be rmdir but has to be rm -rf due to sun.applet usage
|
---|
7335 | rm -rf tmp.$$
|
---|
7336 | if test x"${it_cv_SUN_SECURITY_VALIDATOR_VALIDATOREXCEPTION}" = "xno"; then
|
---|
7337 | as_fn_error $? "sun.security.validator.ValidatorException not found." "$LINENO" 5
|
---|
7338 | fi
|
---|
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; }
|
---|
7345 | if ${it_cv_COM_SUN_NET_SSL_INTERNAL_SSL_X509EXTENDEDTRUSTMANAGER+:} false; then :
|
---|
7346 | $as_echo_n "(cached) " >&6
|
---|
7347 | else
|
---|
7348 |
|
---|
7349 | CLASS=sun/applet/Test.java
|
---|
7350 | BYTECODE=$(echo $CLASS|sed 's#\.java##')
|
---|
7351 | mkdir -p tmp.$$/$(dirname $CLASS)
|
---|
7352 | cd tmp.$$
|
---|
7353 | cat << \EOF > $CLASS
|
---|
7354 | /* [#]line 7354 "configure" */
|
---|
7355 | package sun.applet;
|
---|
7356 |
|
---|
7357 | import com.sun.net.ssl.internal.ssl.X509ExtendedTrustManager;
|
---|
7358 |
|
---|
7359 | public 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 |
|
---|
7368 | EOF
|
---|
7369 | if $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
|
---|
7375 | else
|
---|
7376 | it_cv_COM_SUN_NET_SSL_INTERNAL_SSL_X509EXTENDEDTRUSTMANAGER=no;
|
---|
7377 | fi
|
---|
7378 |
|
---|
7379 | fi
|
---|
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; }
|
---|
7382 | rm -f $CLASS *.class
|
---|
7383 | cd ..
|
---|
7384 | # should be rmdir but has to be rm -rf due to sun.applet usage
|
---|
7385 | rm -rf tmp.$$
|
---|
7386 | if 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
|
---|
7388 | fi
|
---|
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; }
|
---|
7395 | if ${it_cv_SUN_AWT_X11_XEMBEDDEDFRAME+:} false; then :
|
---|
7396 | $as_echo_n "(cached) " >&6
|
---|
7397 | else
|
---|
7398 |
|
---|
7399 | CLASS=sun/applet/Test.java
|
---|
7400 | BYTECODE=$(echo $CLASS|sed 's#\.java##')
|
---|
7401 | mkdir -p tmp.$$/$(dirname $CLASS)
|
---|
7402 | cd tmp.$$
|
---|
7403 | cat << \EOF > $CLASS
|
---|
7404 | /* [#]line 7404 "configure" */
|
---|
7405 | package sun.applet;
|
---|
7406 |
|
---|
7407 | import sun.awt.X11.XEmbeddedFrame;
|
---|
7408 |
|
---|
7409 | public 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 |
|
---|
7418 | EOF
|
---|
7419 | if $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
|
---|
7425 | else
|
---|
7426 | it_cv_SUN_AWT_X11_XEMBEDDEDFRAME=no;
|
---|
7427 | fi
|
---|
7428 |
|
---|
7429 | fi
|
---|
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; }
|
---|
7432 | rm -f $CLASS *.class
|
---|
7433 | cd ..
|
---|
7434 | # should be rmdir but has to be rm -rf due to sun.applet usage
|
---|
7435 | rm -rf tmp.$$
|
---|
7436 | if test x"${it_cv_SUN_AWT_X11_XEMBEDDEDFRAME}" = "xno"; then
|
---|
7437 | as_fn_error $? "sun.awt.X11.XEmbeddedFrame not found." "$LINENO" 5
|
---|
7438 | fi
|
---|
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; }
|
---|
7445 | if ${it_cv_SUN_MISC_REF+:} false; then :
|
---|
7446 | $as_echo_n "(cached) " >&6
|
---|
7447 | else
|
---|
7448 |
|
---|
7449 | CLASS=sun/applet/Test.java
|
---|
7450 | BYTECODE=$(echo $CLASS|sed 's#\.java##')
|
---|
7451 | mkdir -p tmp.$$/$(dirname $CLASS)
|
---|
7452 | cd tmp.$$
|
---|
7453 | cat << \EOF > $CLASS
|
---|
7454 | /* [#]line 7454 "configure" */
|
---|
7455 | package sun.applet;
|
---|
7456 |
|
---|
7457 | import sun.misc.Ref;
|
---|
7458 |
|
---|
7459 | public 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 |
|
---|
7468 | EOF
|
---|
7469 | if $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
|
---|
7475 | else
|
---|
7476 | it_cv_SUN_MISC_REF=no;
|
---|
7477 | fi
|
---|
7478 |
|
---|
7479 | fi
|
---|
7480 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $it_cv_SUN_MISC_REF" >&5
|
---|
7481 | $as_echo "$it_cv_SUN_MISC_REF" >&6; }
|
---|
7482 | rm -f $CLASS *.class
|
---|
7483 | cd ..
|
---|
7484 | # should be rmdir but has to be rm -rf due to sun.applet usage
|
---|
7485 | rm -rf tmp.$$
|
---|
7486 | if test x"${it_cv_SUN_MISC_REF}" = "xno"; then
|
---|
7487 | as_fn_error $? "sun.misc.Ref not found." "$LINENO" 5
|
---|
7488 | fi
|
---|
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; }
|
---|
7495 | if ${it_cv_COM_SUN_JNDI_TOOLKIT_URL_URLUTIL+:} false; then :
|
---|
7496 | $as_echo_n "(cached) " >&6
|
---|
7497 | else
|
---|
7498 |
|
---|
7499 | CLASS=sun/applet/Test.java
|
---|
7500 | BYTECODE=$(echo $CLASS|sed 's#\.java##')
|
---|
7501 | mkdir -p tmp.$$/$(dirname $CLASS)
|
---|
7502 | cd tmp.$$
|
---|
7503 | cat << \EOF > $CLASS
|
---|
7504 | /* [#]line 7504 "configure" */
|
---|
7505 | package sun.applet;
|
---|
7506 |
|
---|
7507 | import com.sun.jndi.toolkit.url.UrlUtil;
|
---|
7508 |
|
---|
7509 | public 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 |
|
---|
7518 | EOF
|
---|
7519 | if $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
|
---|
7525 | else
|
---|
7526 | it_cv_COM_SUN_JNDI_TOOLKIT_URL_URLUTIL=no;
|
---|
7527 | fi
|
---|
7528 |
|
---|
7529 | fi
|
---|
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; }
|
---|
7532 | rm -f $CLASS *.class
|
---|
7533 | cd ..
|
---|
7534 | # should be rmdir but has to be rm -rf due to sun.applet usage
|
---|
7535 | rm -rf tmp.$$
|
---|
7536 | if 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
|
---|
7538 | fi
|
---|
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; }
|
---|
7545 | if ${it_cv_SUN_APPLET_APPLETIMAGEREF+:} false; then :
|
---|
7546 | $as_echo_n "(cached) " >&6
|
---|
7547 | else
|
---|
7548 |
|
---|
7549 | CLASS=sun/applet/Test.java
|
---|
7550 | BYTECODE=$(echo $CLASS|sed 's#\.java##')
|
---|
7551 | mkdir -p tmp.$$/$(dirname $CLASS)
|
---|
7552 | cd tmp.$$
|
---|
7553 | cat << \EOF > $CLASS
|
---|
7554 | /* [#]line 7554 "configure" */
|
---|
7555 | package sun.applet;
|
---|
7556 |
|
---|
7557 | import sun.applet.AppletImageRef;
|
---|
7558 |
|
---|
7559 | public 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 |
|
---|
7568 | EOF
|
---|
7569 | if $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
|
---|
7575 | else
|
---|
7576 | it_cv_SUN_APPLET_APPLETIMAGEREF=no;
|
---|
7577 | fi
|
---|
7578 |
|
---|
7579 | fi
|
---|
7580 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $it_cv_SUN_APPLET_APPLETIMAGEREF" >&5
|
---|
7581 | $as_echo "$it_cv_SUN_APPLET_APPLETIMAGEREF" >&6; }
|
---|
7582 | rm -f $CLASS *.class
|
---|
7583 | cd ..
|
---|
7584 | # should be rmdir but has to be rm -rf due to sun.applet usage
|
---|
7585 | rm -rf tmp.$$
|
---|
7586 | if test x"${it_cv_SUN_APPLET_APPLETIMAGEREF}" = "xno"; then
|
---|
7587 | as_fn_error $? "sun.applet.AppletImageRef not found." "$LINENO" 5
|
---|
7588 | fi
|
---|
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; }
|
---|
7595 | if ${it_cv_applet_hole+:} false; then :
|
---|
7596 | $as_echo_n "(cached) " >&6
|
---|
7597 | else
|
---|
7598 |
|
---|
7599 | CLASS=TestAppletViewer.java
|
---|
7600 | BYTECODE=$(echo $CLASS|sed 's#\.java##')
|
---|
7601 | mkdir -p tmp.$$
|
---|
7602 | cd tmp.$$
|
---|
7603 | cat << \EOF > $CLASS
|
---|
7604 | /* [#]line 7604 "configure" */
|
---|
7605 | import java.lang.reflect.Modifier;
|
---|
7606 |
|
---|
7607 | public 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 |
|
---|
7630 | EOF
|
---|
7631 | if $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
|
---|
7637 | else
|
---|
7638 | it_cv_applet_hole=3;
|
---|
7639 | fi
|
---|
7640 |
|
---|
7641 | fi
|
---|
7642 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $it_cv_applet_hole" >&5
|
---|
7643 | $as_echo "$it_cv_applet_hole" >&6; }
|
---|
7644 | rm -f $CLASS *.class
|
---|
7645 | cd ..
|
---|
7646 | rmdir tmp.$$
|
---|
7647 | if test x"${it_cv_applet_hole}" = "x1"; then
|
---|
7648 | as_fn_error $? "sun.applet.AppletViewerPanel is not available." "$LINENO" 5
|
---|
7649 | elif test x"${it_cv_applet_hole}" = "x2"; then
|
---|
7650 | as_fn_error $? "sun.applet.AppletViewerPanel is not public." "$LINENO" 5
|
---|
7651 | elif test x"${it_cv_applet_hole}" = "x3"; then
|
---|
7652 | as_fn_error $? "Compilation failed. See config.log." "$LINENO" 5
|
---|
7653 | fi
|
---|
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.
|
---|
7665 | if 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 |
|
---|
7687 | else
|
---|
7688 |
|
---|
7689 | RHINO_JAR=yes
|
---|
7690 |
|
---|
7691 | fi
|
---|
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='#'
|
---|
7715 | else
|
---|
7716 | WITH_RHINO_TRUE='#'
|
---|
7717 | WITH_RHINO_FALSE=
|
---|
7718 | fi
|
---|
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.
|
---|
7737 | if 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 |
|
---|
7759 | else
|
---|
7760 |
|
---|
7761 | JUNIT_JAR=yes
|
---|
7762 |
|
---|
7763 | fi
|
---|
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='#'
|
---|
7787 | else
|
---|
7788 | WITH_JUNIT_TRUE='#'
|
---|
7789 | WITH_JUNIT_FALSE=
|
---|
7790 | fi
|
---|
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 |
|
---|
7805 | ac_config_files="$ac_config_files jrunscript"
|
---|
7806 |
|
---|
7807 | ac_config_files="$ac_config_files build.properties"
|
---|
7808 |
|
---|
7809 |
|
---|
7810 | cat >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
|
---|
7872 | if 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
|
---|
7893 | fi
|
---|
7894 | rm -f confcache
|
---|
7895 |
|
---|
7896 | test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
---|
7897 | # Let make expand exec_prefix.
|
---|
7898 | test "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.
|
---|
7907 | ac_script='
|
---|
7908 | :mline
|
---|
7909 | /\\$/{
|
---|
7910 | N
|
---|
7911 | s,\\\n,,
|
---|
7912 | b mline
|
---|
7913 | }
|
---|
7914 | t clear
|
---|
7915 | :clear
|
---|
7916 | s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
|
---|
7917 | t quote
|
---|
7918 | s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
|
---|
7919 | t quote
|
---|
7920 | b any
|
---|
7921 | :quote
|
---|
7922 | s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
|
---|
7923 | s/\[/\\&/g
|
---|
7924 | s/\]/\\&/g
|
---|
7925 | s/\$/$$/g
|
---|
7926 | H
|
---|
7927 | :any
|
---|
7928 | ${
|
---|
7929 | g
|
---|
7930 | s/^\n//
|
---|
7931 | s/\n/ /g
|
---|
7932 | p
|
---|
7933 | }
|
---|
7934 | '
|
---|
7935 | DEFS=`sed -n "$ac_script" confdefs.h`
|
---|
7936 |
|
---|
7937 |
|
---|
7938 | ac_libobjs=
|
---|
7939 | ac_ltlibobjs=
|
---|
7940 | U=
|
---|
7941 | for 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'
|
---|
7949 | done
|
---|
7950 | LIBOBJS=$ac_libobjs
|
---|
7951 |
|
---|
7952 | LTLIBOBJS=$ac_ltlibobjs
|
---|
7953 |
|
---|
7954 |
|
---|
7955 | if test -n "$EXEEXT"; then
|
---|
7956 | am__EXEEXT_TRUE=
|
---|
7957 | am__EXEEXT_FALSE='#'
|
---|
7958 | else
|
---|
7959 | am__EXEEXT_TRUE='#'
|
---|
7960 | am__EXEEXT_FALSE=
|
---|
7961 | fi
|
---|
7962 |
|
---|
7963 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
|
---|
7964 | as_fn_error $? "conditional \"AMDEP\" was never defined.
|
---|
7965 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
---|
7966 | fi
|
---|
7967 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
|
---|
7968 | as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
|
---|
7969 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
---|
7970 | fi
|
---|
7971 | if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
|
---|
7972 | as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
|
---|
7973 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
---|
7974 | fi
|
---|
7975 | if test -z "${CP_SUPPORTS_REFLINK_TRUE}" && test -z "${CP_SUPPORTS_REFLINK_FALSE}"; then
|
---|
7976 | as_fn_error $? "conditional \"CP_SUPPORTS_REFLINK\" was never defined.
|
---|
7977 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
---|
7978 | fi
|
---|
7979 | if test -z "${SRC_DIR_HARDLINKABLE_TRUE}" && test -z "${SRC_DIR_HARDLINKABLE_FALSE}"; then
|
---|
7980 | as_fn_error $? "conditional \"SRC_DIR_HARDLINKABLE\" was never defined.
|
---|
7981 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
---|
7982 | fi
|
---|
7983 | if test -z "${ENABLE_DOCS_TRUE}" && test -z "${ENABLE_DOCS_FALSE}"; then
|
---|
7984 | as_fn_error $? "conditional \"ENABLE_DOCS\" was never defined.
|
---|
7985 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
---|
7986 | fi
|
---|
7987 | if 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.
|
---|
7989 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
---|
7990 | fi
|
---|
7991 | if test -z "${HAS_ICEDTEA_REVISION_TRUE}" && test -z "${HAS_ICEDTEA_REVISION_FALSE}"; then
|
---|
7992 | as_fn_error $? "conditional \"HAS_ICEDTEA_REVISION\" was never defined.
|
---|
7993 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
---|
7994 | fi
|
---|
7995 | if test -z "${HAS_PKGVERSION_TRUE}" && test -z "${HAS_PKGVERSION_FALSE}"; then
|
---|
7996 | as_fn_error $? "conditional \"HAS_PKGVERSION\" was never defined.
|
---|
7997 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
---|
7998 | fi
|
---|
7999 | if test -z "${ENABLE_PLUGIN_TRUE}" && test -z "${ENABLE_PLUGIN_FALSE}"; then
|
---|
8000 | as_fn_error $? "conditional \"ENABLE_PLUGIN\" was never defined.
|
---|
8001 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
---|
8002 | fi
|
---|
8003 | if test -z "${WITH_RHINO_TRUE}" && test -z "${WITH_RHINO_FALSE}"; then
|
---|
8004 | as_fn_error $? "conditional \"WITH_RHINO\" was never defined.
|
---|
8005 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
---|
8006 | fi
|
---|
8007 | if test -z "${WITH_JUNIT_TRUE}" && test -z "${WITH_JUNIT_FALSE}"; then
|
---|
8008 | as_fn_error $? "conditional \"WITH_JUNIT\" was never defined.
|
---|
8009 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
---|
8010 | fi
|
---|
8011 |
|
---|
8012 | : "${CONFIG_STATUS=./config.status}"
|
---|
8013 | ac_write_fail=0
|
---|
8014 | ac_clean_files_save=$ac_clean_files
|
---|
8015 | ac_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;}
|
---|
8018 | as_write_fail=0
|
---|
8019 | cat >$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 |
|
---|
8026 | debug=false
|
---|
8027 | ac_cs_recheck=false
|
---|
8028 | ac_cs_silent=false
|
---|
8029 |
|
---|
8030 | SHELL=\${CONFIG_SHELL-$SHELL}
|
---|
8031 | export SHELL
|
---|
8032 | _ASEOF
|
---|
8033 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
|
---|
8034 | ## -------------------- ##
|
---|
8035 | ## M4sh Initialization. ##
|
---|
8036 | ## -------------------- ##
|
---|
8037 |
|
---|
8038 | # Be more Bourne compatible
|
---|
8039 | DUALCASE=1; export DUALCASE # for MKS sh
|
---|
8040 | if 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
|
---|
8047 | else
|
---|
8048 | case `(set -o) 2>/dev/null` in #(
|
---|
8049 | *posix*) :
|
---|
8050 | set -o posix ;; #(
|
---|
8051 | *) :
|
---|
8052 | ;;
|
---|
8053 | esac
|
---|
8054 | fi
|
---|
8055 |
|
---|
8056 |
|
---|
8057 | as_nl='
|
---|
8058 | '
|
---|
8059 | export as_nl
|
---|
8060 | # Printing a long string crashes Solaris 7 /usr/bin/printf.
|
---|
8061 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
---|
8062 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
8063 | as_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.
|
---|
8066 | if 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 --'
|
---|
8070 | elif (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'
|
---|
8073 | else
|
---|
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'
|
---|
8093 | fi
|
---|
8094 |
|
---|
8095 | # The user is always right.
|
---|
8096 | if 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 | }
|
---|
8102 | fi
|
---|
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.)
|
---|
8110 | IFS=" "" $as_nl"
|
---|
8111 |
|
---|
8112 | # Find who we are. Look in the path if we contain no directory separator.
|
---|
8113 | as_myself=
|
---|
8114 | case $0 in #((
|
---|
8115 | *[\\/]* ) as_myself=$0 ;;
|
---|
8116 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
8117 | for as_dir in $PATH
|
---|
8118 | do
|
---|
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
|
---|
8123 | IFS=$as_save_IFS
|
---|
8124 |
|
---|
8125 | ;;
|
---|
8126 | esac
|
---|
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.
|
---|
8129 | if test "x$as_myself" = x; then
|
---|
8130 | as_myself=$0
|
---|
8131 | fi
|
---|
8132 | if test ! -f "$as_myself"; then
|
---|
8133 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
---|
8134 | exit 1
|
---|
8135 | fi
|
---|
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.
|
---|
8141 | for as_var in BASH_ENV ENV MAIL MAILPATH
|
---|
8142 | do eval test x\${$as_var+set} = xset \
|
---|
8143 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
---|
8144 | done
|
---|
8145 | PS1='$ '
|
---|
8146 | PS2='> '
|
---|
8147 | PS4='+ '
|
---|
8148 |
|
---|
8149 | # NLS nuisances.
|
---|
8150 | LC_ALL=C
|
---|
8151 | export LC_ALL
|
---|
8152 | LANGUAGE=C
|
---|
8153 | export 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.
|
---|
8164 | as_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.
|
---|
8179 | as_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.
|
---|
8187 | as_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.
|
---|
8197 | as_fn_unset ()
|
---|
8198 | {
|
---|
8199 | { eval $1=; unset $1;}
|
---|
8200 | }
|
---|
8201 | as_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.
|
---|
8208 | if (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 | }'
|
---|
8213 | else
|
---|
8214 | as_fn_append ()
|
---|
8215 | {
|
---|
8216 | eval $1=\$$1\$2
|
---|
8217 | }
|
---|
8218 | fi # 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.
|
---|
8225 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
---|
8226 | eval 'as_fn_arith ()
|
---|
8227 | {
|
---|
8228 | as_val=$(( $* ))
|
---|
8229 | }'
|
---|
8230 | else
|
---|
8231 | as_fn_arith ()
|
---|
8232 | {
|
---|
8233 | as_val=`expr "$@" || test $? -eq 1`
|
---|
8234 | }
|
---|
8235 | fi # as_fn_arith
|
---|
8236 |
|
---|
8237 |
|
---|
8238 | if expr a : '\(a\)' >/dev/null 2>&1 &&
|
---|
8239 | test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
---|
8240 | as_expr=expr
|
---|
8241 | else
|
---|
8242 | as_expr=false
|
---|
8243 | fi
|
---|
8244 |
|
---|
8245 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
---|
8246 | as_basename=basename
|
---|
8247 | else
|
---|
8248 | as_basename=false
|
---|
8249 | fi
|
---|
8250 |
|
---|
8251 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
---|
8252 | as_dirname=dirname
|
---|
8253 | else
|
---|
8254 | as_dirname=false
|
---|
8255 | fi
|
---|
8256 |
|
---|
8257 | as_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.
|
---|
8277 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
---|
8278 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
---|
8279 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
---|
8280 | as_cr_digits='0123456789'
|
---|
8281 | as_cr_alnum=$as_cr_Letters$as_cr_digits
|
---|
8282 |
|
---|
8283 | ECHO_C= ECHO_N= ECHO_T=
|
---|
8284 | case `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';;
|
---|
8294 | esac
|
---|
8295 |
|
---|
8296 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
8297 | if test -d conf$$.dir; then
|
---|
8298 | rm -f conf$$.dir/conf$$.file
|
---|
8299 | else
|
---|
8300 | rm -f conf$$.dir
|
---|
8301 | mkdir conf$$.dir 2>/dev/null
|
---|
8302 | fi
|
---|
8303 | if (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
|
---|
8317 | else
|
---|
8318 | as_ln_s='cp -p'
|
---|
8319 | fi
|
---|
8320 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
---|
8321 | rmdir conf$$.dir 2>/dev/null
|
---|
8322 |
|
---|
8323 |
|
---|
8324 | # as_fn_mkdir_p
|
---|
8325 | # -------------
|
---|
8326 | # Create "$as_dir" as a directory, including parents if necessary.
|
---|
8327 | as_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
|
---|
8371 | if mkdir -p . 2>/dev/null; then
|
---|
8372 | as_mkdir_p='mkdir -p "$as_dir"'
|
---|
8373 | else
|
---|
8374 | test -d ./-p && rmdir ./-p
|
---|
8375 | as_mkdir_p=false
|
---|
8376 | fi
|
---|
8377 |
|
---|
8378 | if test -x / >/dev/null 2>&1; then
|
---|
8379 | as_test_x='test -x'
|
---|
8380 | else
|
---|
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 | '
|
---|
8398 | fi
|
---|
8399 | as_executable_p=$as_test_x
|
---|
8400 |
|
---|
8401 | # Sed expression to map a string onto a valid CPP name.
|
---|
8402 | as_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.
|
---|
8405 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
---|
8406 |
|
---|
8407 |
|
---|
8408 | exec 6>&1
|
---|
8409 | ## ----------------------------------- ##
|
---|
8410 | ## Main body of $CONFIG_STATUS script. ##
|
---|
8411 | ## ----------------------------------- ##
|
---|
8412 | _ASEOF
|
---|
8413 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
|
---|
8414 |
|
---|
8415 | cat >>$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.
|
---|
8419 | ac_log="
|
---|
8420 | This file was extended by icedtea-web $as_me 1.1.2, which was
|
---|
8421 | generated 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 |
|
---|
8429 | on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
8430 | "
|
---|
8431 |
|
---|
8432 | _ACEOF
|
---|
8433 |
|
---|
8434 | case $ac_config_files in *"
|
---|
8435 | "*) set x $ac_config_files; shift; ac_config_files=$*;;
|
---|
8436 | esac
|
---|
8437 |
|
---|
8438 |
|
---|
8439 |
|
---|
8440 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
8441 | # Files that config.status was made for.
|
---|
8442 | config_files="$ac_config_files"
|
---|
8443 | config_commands="$ac_config_commands"
|
---|
8444 |
|
---|
8445 | _ACEOF
|
---|
8446 |
|
---|
8447 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
8448 | ac_cs_usage="\
|
---|
8449 | \`$as_me' instantiates files and other configuration actions
|
---|
8450 | from templates according to the current configuration. Unless the files
|
---|
8451 | and actions are specified as TAGs, all are instantiated by default.
|
---|
8452 |
|
---|
8453 | Usage: $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 |
|
---|
8465 | Configuration files:
|
---|
8466 | $config_files
|
---|
8467 |
|
---|
8468 | Configuration commands:
|
---|
8469 | $config_commands
|
---|
8470 |
|
---|
8471 | Report bugs to <distro-pkg-dev@openjdk.java.net>.
|
---|
8472 | icedtea-web home page: <http://icedtea.classpath.org/wiki/IcedTea-Web>."
|
---|
8473 |
|
---|
8474 | _ACEOF
|
---|
8475 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
8476 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
---|
8477 | ac_cs_version="\\
|
---|
8478 | icedtea-web config.status 1.1.2
|
---|
8479 | configured by $0, generated by GNU Autoconf 2.68,
|
---|
8480 | with options \\"\$ac_cs_config\\"
|
---|
8481 |
|
---|
8482 | Copyright (C) 2010 Free Software Foundation, Inc.
|
---|
8483 | This config.status script is free software; the Free Software Foundation
|
---|
8484 | gives unlimited permission to copy, distribute and modify it."
|
---|
8485 |
|
---|
8486 | ac_pwd='$ac_pwd'
|
---|
8487 | srcdir='$srcdir'
|
---|
8488 | INSTALL='$INSTALL'
|
---|
8489 | MKDIR_P='$MKDIR_P'
|
---|
8490 | AWK='$AWK'
|
---|
8491 | test -n "\$AWK" || AWK=awk
|
---|
8492 | _ACEOF
|
---|
8493 |
|
---|
8494 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
8495 | # The default lists apply if the user does not specify any file.
|
---|
8496 | ac_need_defaults=:
|
---|
8497 | while test $# != 0
|
---|
8498 | do
|
---|
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'
|
---|
8543 | Try \`$0 --help' for more information." ;;
|
---|
8544 |
|
---|
8545 | *) as_fn_append ac_config_targets " $1"
|
---|
8546 | ac_need_defaults=false ;;
|
---|
8547 |
|
---|
8548 | esac
|
---|
8549 | shift
|
---|
8550 | done
|
---|
8551 |
|
---|
8552 | ac_configure_extra_args=
|
---|
8553 |
|
---|
8554 | if $ac_cs_silent; then
|
---|
8555 | exec 6>/dev/null
|
---|
8556 | ac_configure_extra_args="$ac_configure_extra_args --silent"
|
---|
8557 | fi
|
---|
8558 |
|
---|
8559 | _ACEOF
|
---|
8560 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
8561 | if \$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 "\$@"
|
---|
8568 | fi
|
---|
8569 |
|
---|
8570 | _ACEOF
|
---|
8571 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
8572 | exec 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
|
---|
8582 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
8583 | #
|
---|
8584 | # INIT-COMMANDS
|
---|
8585 | #
|
---|
8586 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
|
---|
8587 |
|
---|
8588 | _ACEOF
|
---|
8589 |
|
---|
8590 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
8591 |
|
---|
8592 | # Handling of arguments.
|
---|
8593 | for ac_config_target in $ac_config_targets
|
---|
8594 | do
|
---|
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
|
---|
8605 | done
|
---|
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.
|
---|
8612 | if $ac_need_defaults; then
|
---|
8613 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
---|
8614 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
|
---|
8615 | fi
|
---|
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
|
---|
8642 | ac_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'.
|
---|
8647 | if test -n "$CONFIG_FILES"; then
|
---|
8648 |
|
---|
8649 |
|
---|
8650 | ac_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.
|
---|
8654 | if test "x$ac_cr" = x; then
|
---|
8655 | eval ac_cr=\$\'\\r\'
|
---|
8656 | fi
|
---|
8657 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
---|
8658 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
---|
8659 | ac_cs_awk_cr='\\r'
|
---|
8660 | else
|
---|
8661 | ac_cs_awk_cr=$ac_cr
|
---|
8662 | fi
|
---|
8663 |
|
---|
8664 | echo '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
|
---|
8674 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
|
---|
8675 | ac_delim='%!_!# '
|
---|
8676 | for 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
|
---|
8688 | done
|
---|
8689 | rm -f conf$$subs.sh
|
---|
8690 |
|
---|
8691 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
8692 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
|
---|
8693 | _ACEOF
|
---|
8694 | sed -n '
|
---|
8695 | h
|
---|
8696 | s/^/S["/; s/!.*/"]=/
|
---|
8697 | p
|
---|
8698 | g
|
---|
8699 | s/^[^!]*!//
|
---|
8700 | :repl
|
---|
8701 | t repl
|
---|
8702 | s/'"$ac_delim"'$//
|
---|
8703 | t delim
|
---|
8704 | :nl
|
---|
8705 | h
|
---|
8706 | s/\(.\{148\}\)..*/\1/
|
---|
8707 | t more1
|
---|
8708 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
|
---|
8709 | p
|
---|
8710 | n
|
---|
8711 | b repl
|
---|
8712 | :more1
|
---|
8713 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
---|
8714 | p
|
---|
8715 | g
|
---|
8716 | s/.\{148\}//
|
---|
8717 | t nl
|
---|
8718 | :delim
|
---|
8719 | h
|
---|
8720 | s/\(.\{148\}\)..*/\1/
|
---|
8721 | t more2
|
---|
8722 | s/["\\]/\\&/g; s/^/"/; s/$/"/
|
---|
8723 | p
|
---|
8724 | b
|
---|
8725 | :more2
|
---|
8726 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
---|
8727 | p
|
---|
8728 | g
|
---|
8729 | s/.\{148\}//
|
---|
8730 | t delim
|
---|
8731 | ' <conf$$subs.awk | sed '
|
---|
8732 | /^[^""]/{
|
---|
8733 | N
|
---|
8734 | s/\n//
|
---|
8735 | }
|
---|
8736 | ' >>$CONFIG_STATUS || ac_write_fail=1
|
---|
8737 | rm -f conf$$subs.awk
|
---|
8738 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
8739 | _ACAWK
|
---|
8740 | cat >>"\$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
|
---|
8767 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
8768 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
---|
8769 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
---|
8770 | else
|
---|
8771 | cat
|
---|
8772 | fi < "$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).
|
---|
8780 | if test "x$srcdir" = x.; then
|
---|
8781 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
|
---|
8782 | h
|
---|
8783 | s///
|
---|
8784 | s/^/:/
|
---|
8785 | s/[ ]*$/:/
|
---|
8786 | s/:\$(srcdir):/:/g
|
---|
8787 | s/:\${srcdir}:/:/g
|
---|
8788 | s/:@srcdir@:/:/g
|
---|
8789 | s/^:*//
|
---|
8790 | s/:*$//
|
---|
8791 | x
|
---|
8792 | s/\(=[ ]*\).*/\1/
|
---|
8793 | G
|
---|
8794 | s/\n//
|
---|
8795 | s/^[^=]*=[ ]*$//
|
---|
8796 | }'
|
---|
8797 | fi
|
---|
8798 |
|
---|
8799 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
8800 | fi # test -n "$CONFIG_FILES"
|
---|
8801 |
|
---|
8802 |
|
---|
8803 | eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
|
---|
8804 | shift
|
---|
8805 | for ac_tag
|
---|
8806 | do
|
---|
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 |
|
---|
8898 | case "$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 ;;
|
---|
8908 | esac
|
---|
8909 | ac_abs_top_builddir=$ac_pwd
|
---|
8910 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
---|
8911 | # for backward compatibility:
|
---|
8912 | ac_top_builddir=$ac_top_build_prefix
|
---|
8913 |
|
---|
8914 | case $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 ;;
|
---|
8927 | esac
|
---|
8928 | ac_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 |
|
---|
8948 | cat >>$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.
|
---|
8951 | ac_datarootdir_hack=; ac_datarootdir_seen=
|
---|
8952 | ac_sed_dataroot='
|
---|
8953 | /datarootdir/ {
|
---|
8954 | p
|
---|
8955 | q
|
---|
8956 | }
|
---|
8957 | /@datadir@/p
|
---|
8958 | /@docdir@/p
|
---|
8959 | /@infodir@/p
|
---|
8960 | /@localedir@/p
|
---|
8961 | /@mandir@/p'
|
---|
8962 | case `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
|
---|
8968 | cat >>$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' ;;
|
---|
8976 | esac
|
---|
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?
|
---|
8982 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
8983 | ac_sed_extra="$ac_vpsub
|
---|
8984 | $extrasub
|
---|
8985 | _ACEOF
|
---|
8986 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
8987 | :t
|
---|
8988 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
---|
8989 | s|@configure_input@|$ac_sed_conf_input|;t t
|
---|
8990 | s&@top_builddir@&$ac_top_builddir_sub&;t t
|
---|
8991 | s&@top_build_prefix@&$ac_top_build_prefix&;t t
|
---|
8992 | s&@srcdir@&$ac_srcdir&;t t
|
---|
8993 | s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
---|
8994 | s&@top_srcdir@&$ac_top_srcdir&;t t
|
---|
8995 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
|
---|
8996 | s&@builddir@&$ac_builddir&;t t
|
---|
8997 | s&@abs_builddir@&$ac_abs_builddir&;t t
|
---|
8998 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
---|
8999 | s&@INSTALL@&$ac_INSTALL&;t t
|
---|
9000 | s&@MKDIR_P@&$ac_MKDIR_P&;t t
|
---|
9001 | $ac_datarootdir_hack
|
---|
9002 | "
|
---|
9003 | eval 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 |
|
---|
9006 | test -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'
|
---|
9011 | which 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'
|
---|
9013 | which 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
|
---|
9130 | done # for ac_tag
|
---|
9131 |
|
---|
9132 |
|
---|
9133 | as_fn_exit 0
|
---|
9134 | _ACEOF
|
---|
9135 | ac_clean_files=$ac_clean_files_save
|
---|
9136 |
|
---|
9137 | test $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.
|
---|
9149 | if 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
|
---|
9160 | fi
|
---|
9161 | if 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;}
|
---|
9164 | fi
|
---|
9165 |
|
---|