1 | #! /bin/sh
|
---|
2 | # Guess values for system-dependent variables and create Makefiles.
|
---|
3 | # Generated by GNU Autoconf 2.63.
|
---|
4 | #
|
---|
5 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
---|
6 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
---|
7 | # This configure script is free software; the Free Software Foundation
|
---|
8 | # gives unlimited permission to copy, distribute and modify it.
|
---|
9 | ## --------------------- ##
|
---|
10 | ## M4sh Initialization. ##
|
---|
11 | ## --------------------- ##
|
---|
12 |
|
---|
13 | # Be more Bourne compatible
|
---|
14 | DUALCASE=1; export DUALCASE # for MKS sh
|
---|
15 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
---|
16 | emulate sh
|
---|
17 | NULLCMD=:
|
---|
18 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
---|
19 | # is contrary to our usage. Disable this feature.
|
---|
20 | alias -g '${1+"$@"}'='"$@"'
|
---|
21 | setopt NO_GLOB_SUBST
|
---|
22 | else
|
---|
23 | case `(set -o) 2>/dev/null` in
|
---|
24 | *posix*) set -o posix ;;
|
---|
25 | esac
|
---|
26 |
|
---|
27 | fi
|
---|
28 |
|
---|
29 |
|
---|
30 |
|
---|
31 |
|
---|
32 | # PATH needs CR
|
---|
33 | # Avoid depending upon Character Ranges.
|
---|
34 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
---|
35 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
---|
36 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
---|
37 | as_cr_digits='0123456789'
|
---|
38 | as_cr_alnum=$as_cr_Letters$as_cr_digits
|
---|
39 |
|
---|
40 | as_nl='
|
---|
41 | '
|
---|
42 | export as_nl
|
---|
43 | # Printing a long string crashes Solaris 7 /usr/bin/printf.
|
---|
44 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
---|
45 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
46 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
47 | if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
---|
48 | as_echo='printf %s\n'
|
---|
49 | as_echo_n='printf %s'
|
---|
50 | else
|
---|
51 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
---|
52 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
---|
53 | as_echo_n='/usr/ucb/echo -n'
|
---|
54 | else
|
---|
55 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
---|
56 | as_echo_n_body='eval
|
---|
57 | arg=$1;
|
---|
58 | case $arg in
|
---|
59 | *"$as_nl"*)
|
---|
60 | expr "X$arg" : "X\\(.*\\)$as_nl";
|
---|
61 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
---|
62 | esac;
|
---|
63 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
---|
64 | '
|
---|
65 | export as_echo_n_body
|
---|
66 | as_echo_n='sh -c $as_echo_n_body as_echo'
|
---|
67 | fi
|
---|
68 | export as_echo_body
|
---|
69 | as_echo='sh -c $as_echo_body as_echo'
|
---|
70 | fi
|
---|
71 |
|
---|
72 | # The user is always right.
|
---|
73 | if test "${PATH_SEPARATOR+set}" != set; then
|
---|
74 | PATH_SEPARATOR=:
|
---|
75 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
---|
76 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
---|
77 | PATH_SEPARATOR=';'
|
---|
78 | }
|
---|
79 | fi
|
---|
80 |
|
---|
81 | # Support unset when possible.
|
---|
82 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
---|
83 | as_unset=unset
|
---|
84 | else
|
---|
85 | as_unset=false
|
---|
86 | fi
|
---|
87 |
|
---|
88 |
|
---|
89 | # IFS
|
---|
90 | # We need space, tab and new line, in precisely that order. Quoting is
|
---|
91 | # there to prevent editors from complaining about space-tab.
|
---|
92 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
---|
93 | # splitting by setting IFS to empty value.)
|
---|
94 | IFS=" "" $as_nl"
|
---|
95 |
|
---|
96 | # Find who we are. Look in the path if we contain no directory separator.
|
---|
97 | case $0 in
|
---|
98 | *[\\/]* ) as_myself=$0 ;;
|
---|
99 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
100 | for as_dir in $PATH
|
---|
101 | do
|
---|
102 | IFS=$as_save_IFS
|
---|
103 | test -z "$as_dir" && as_dir=.
|
---|
104 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
---|
105 | done
|
---|
106 | IFS=$as_save_IFS
|
---|
107 |
|
---|
108 | ;;
|
---|
109 | esac
|
---|
110 | # We did not find ourselves, most probably we were run as `sh COMMAND'
|
---|
111 | # in which case we are not to be found in the path.
|
---|
112 | if test "x$as_myself" = x; then
|
---|
113 | as_myself=$0
|
---|
114 | fi
|
---|
115 | if test ! -f "$as_myself"; then
|
---|
116 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
---|
117 | { (exit 1); exit 1; }
|
---|
118 | fi
|
---|
119 |
|
---|
120 | # Work around bugs in pre-3.0 UWIN ksh.
|
---|
121 | for as_var in ENV MAIL MAILPATH
|
---|
122 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
---|
123 | done
|
---|
124 | PS1='$ '
|
---|
125 | PS2='> '
|
---|
126 | PS4='+ '
|
---|
127 |
|
---|
128 | # NLS nuisances.
|
---|
129 | LC_ALL=C
|
---|
130 | export LC_ALL
|
---|
131 | LANGUAGE=C
|
---|
132 | export LANGUAGE
|
---|
133 |
|
---|
134 | # Required to use basename.
|
---|
135 | if expr a : '\(a\)' >/dev/null 2>&1 &&
|
---|
136 | test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
---|
137 | as_expr=expr
|
---|
138 | else
|
---|
139 | as_expr=false
|
---|
140 | fi
|
---|
141 |
|
---|
142 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
---|
143 | as_basename=basename
|
---|
144 | else
|
---|
145 | as_basename=false
|
---|
146 | fi
|
---|
147 |
|
---|
148 |
|
---|
149 | # Name of the executable.
|
---|
150 | as_me=`$as_basename -- "$0" ||
|
---|
151 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
---|
152 | X"$0" : 'X\(//\)$' \| \
|
---|
153 | X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
154 | $as_echo X/"$0" |
|
---|
155 | sed '/^.*\/\([^/][^/]*\)\/*$/{
|
---|
156 | s//\1/
|
---|
157 | q
|
---|
158 | }
|
---|
159 | /^X\/\(\/\/\)$/{
|
---|
160 | s//\1/
|
---|
161 | q
|
---|
162 | }
|
---|
163 | /^X\/\(\/\).*/{
|
---|
164 | s//\1/
|
---|
165 | q
|
---|
166 | }
|
---|
167 | s/.*/./; q'`
|
---|
168 |
|
---|
169 | # CDPATH.
|
---|
170 | $as_unset CDPATH
|
---|
171 |
|
---|
172 |
|
---|
173 | if test "x$CONFIG_SHELL" = x; then
|
---|
174 | if (eval ":") 2>/dev/null; then
|
---|
175 | as_have_required=yes
|
---|
176 | else
|
---|
177 | as_have_required=no
|
---|
178 | fi
|
---|
179 |
|
---|
180 | if test $as_have_required = yes && (eval ":
|
---|
181 | (as_func_return () {
|
---|
182 | (exit \$1)
|
---|
183 | }
|
---|
184 | as_func_success () {
|
---|
185 | as_func_return 0
|
---|
186 | }
|
---|
187 | as_func_failure () {
|
---|
188 | as_func_return 1
|
---|
189 | }
|
---|
190 | as_func_ret_success () {
|
---|
191 | return 0
|
---|
192 | }
|
---|
193 | as_func_ret_failure () {
|
---|
194 | return 1
|
---|
195 | }
|
---|
196 |
|
---|
197 | exitcode=0
|
---|
198 | if as_func_success; then
|
---|
199 | :
|
---|
200 | else
|
---|
201 | exitcode=1
|
---|
202 | echo as_func_success failed.
|
---|
203 | fi
|
---|
204 |
|
---|
205 | if as_func_failure; then
|
---|
206 | exitcode=1
|
---|
207 | echo as_func_failure succeeded.
|
---|
208 | fi
|
---|
209 |
|
---|
210 | if as_func_ret_success; then
|
---|
211 | :
|
---|
212 | else
|
---|
213 | exitcode=1
|
---|
214 | echo as_func_ret_success failed.
|
---|
215 | fi
|
---|
216 |
|
---|
217 | if as_func_ret_failure; then
|
---|
218 | exitcode=1
|
---|
219 | echo as_func_ret_failure succeeded.
|
---|
220 | fi
|
---|
221 |
|
---|
222 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
|
---|
223 | :
|
---|
224 | else
|
---|
225 | exitcode=1
|
---|
226 | echo positional parameters were not saved.
|
---|
227 | fi
|
---|
228 |
|
---|
229 | test \$exitcode = 0) || { (exit 1); exit 1; }
|
---|
230 |
|
---|
231 | (
|
---|
232 | as_lineno_1=\$LINENO
|
---|
233 | as_lineno_2=\$LINENO
|
---|
234 | test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
|
---|
235 | test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
|
---|
236 | ") 2> /dev/null; then
|
---|
237 | :
|
---|
238 | else
|
---|
239 | as_candidate_shells=
|
---|
240 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
241 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
---|
242 | do
|
---|
243 | IFS=$as_save_IFS
|
---|
244 | test -z "$as_dir" && as_dir=.
|
---|
245 | case $as_dir in
|
---|
246 | /*)
|
---|
247 | for as_base in sh bash ksh sh5; do
|
---|
248 | as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
|
---|
249 | done;;
|
---|
250 | esac
|
---|
251 | done
|
---|
252 | IFS=$as_save_IFS
|
---|
253 |
|
---|
254 |
|
---|
255 | for as_shell in $as_candidate_shells $SHELL; do
|
---|
256 | # Try only shells that exist, to save several forks.
|
---|
257 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
---|
258 | { ("$as_shell") 2> /dev/null <<\_ASEOF
|
---|
259 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
---|
260 | emulate sh
|
---|
261 | NULLCMD=:
|
---|
262 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
---|
263 | # is contrary to our usage. Disable this feature.
|
---|
264 | alias -g '${1+"$@"}'='"$@"'
|
---|
265 | setopt NO_GLOB_SUBST
|
---|
266 | else
|
---|
267 | case `(set -o) 2>/dev/null` in
|
---|
268 | *posix*) set -o posix ;;
|
---|
269 | esac
|
---|
270 |
|
---|
271 | fi
|
---|
272 |
|
---|
273 |
|
---|
274 | :
|
---|
275 | _ASEOF
|
---|
276 | }; then
|
---|
277 | CONFIG_SHELL=$as_shell
|
---|
278 | as_have_required=yes
|
---|
279 | if { "$as_shell" 2> /dev/null <<\_ASEOF
|
---|
280 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
---|
281 | emulate sh
|
---|
282 | NULLCMD=:
|
---|
283 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
---|
284 | # is contrary to our usage. Disable this feature.
|
---|
285 | alias -g '${1+"$@"}'='"$@"'
|
---|
286 | setopt NO_GLOB_SUBST
|
---|
287 | else
|
---|
288 | case `(set -o) 2>/dev/null` in
|
---|
289 | *posix*) set -o posix ;;
|
---|
290 | esac
|
---|
291 |
|
---|
292 | fi
|
---|
293 |
|
---|
294 |
|
---|
295 | :
|
---|
296 | (as_func_return () {
|
---|
297 | (exit $1)
|
---|
298 | }
|
---|
299 | as_func_success () {
|
---|
300 | as_func_return 0
|
---|
301 | }
|
---|
302 | as_func_failure () {
|
---|
303 | as_func_return 1
|
---|
304 | }
|
---|
305 | as_func_ret_success () {
|
---|
306 | return 0
|
---|
307 | }
|
---|
308 | as_func_ret_failure () {
|
---|
309 | return 1
|
---|
310 | }
|
---|
311 |
|
---|
312 | exitcode=0
|
---|
313 | if as_func_success; then
|
---|
314 | :
|
---|
315 | else
|
---|
316 | exitcode=1
|
---|
317 | echo as_func_success failed.
|
---|
318 | fi
|
---|
319 |
|
---|
320 | if as_func_failure; then
|
---|
321 | exitcode=1
|
---|
322 | echo as_func_failure succeeded.
|
---|
323 | fi
|
---|
324 |
|
---|
325 | if as_func_ret_success; then
|
---|
326 | :
|
---|
327 | else
|
---|
328 | exitcode=1
|
---|
329 | echo as_func_ret_success failed.
|
---|
330 | fi
|
---|
331 |
|
---|
332 | if as_func_ret_failure; then
|
---|
333 | exitcode=1
|
---|
334 | echo as_func_ret_failure succeeded.
|
---|
335 | fi
|
---|
336 |
|
---|
337 | if ( set x; as_func_ret_success y && test x = "$1" ); then
|
---|
338 | :
|
---|
339 | else
|
---|
340 | exitcode=1
|
---|
341 | echo positional parameters were not saved.
|
---|
342 | fi
|
---|
343 |
|
---|
344 | test $exitcode = 0) || { (exit 1); exit 1; }
|
---|
345 |
|
---|
346 | (
|
---|
347 | as_lineno_1=$LINENO
|
---|
348 | as_lineno_2=$LINENO
|
---|
349 | test "x$as_lineno_1" != "x$as_lineno_2" &&
|
---|
350 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
|
---|
351 |
|
---|
352 | _ASEOF
|
---|
353 | }; then
|
---|
354 | break
|
---|
355 | fi
|
---|
356 |
|
---|
357 | fi
|
---|
358 |
|
---|
359 | done
|
---|
360 |
|
---|
361 | if test "x$CONFIG_SHELL" != x; then
|
---|
362 | for as_var in BASH_ENV ENV
|
---|
363 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
---|
364 | done
|
---|
365 | export CONFIG_SHELL
|
---|
366 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
|
---|
367 | fi
|
---|
368 |
|
---|
369 |
|
---|
370 | if test $as_have_required = no; then
|
---|
371 | echo This script requires a shell more modern than all the
|
---|
372 | echo shells that I found on your system. Please install a
|
---|
373 | echo modern shell, or manually run the script under such a
|
---|
374 | echo shell if you do have one.
|
---|
375 | { (exit 1); exit 1; }
|
---|
376 | fi
|
---|
377 |
|
---|
378 |
|
---|
379 | fi
|
---|
380 |
|
---|
381 | fi
|
---|
382 |
|
---|
383 |
|
---|
384 |
|
---|
385 | (eval "as_func_return () {
|
---|
386 | (exit \$1)
|
---|
387 | }
|
---|
388 | as_func_success () {
|
---|
389 | as_func_return 0
|
---|
390 | }
|
---|
391 | as_func_failure () {
|
---|
392 | as_func_return 1
|
---|
393 | }
|
---|
394 | as_func_ret_success () {
|
---|
395 | return 0
|
---|
396 | }
|
---|
397 | as_func_ret_failure () {
|
---|
398 | return 1
|
---|
399 | }
|
---|
400 |
|
---|
401 | exitcode=0
|
---|
402 | if as_func_success; then
|
---|
403 | :
|
---|
404 | else
|
---|
405 | exitcode=1
|
---|
406 | echo as_func_success failed.
|
---|
407 | fi
|
---|
408 |
|
---|
409 | if as_func_failure; then
|
---|
410 | exitcode=1
|
---|
411 | echo as_func_failure succeeded.
|
---|
412 | fi
|
---|
413 |
|
---|
414 | if as_func_ret_success; then
|
---|
415 | :
|
---|
416 | else
|
---|
417 | exitcode=1
|
---|
418 | echo as_func_ret_success failed.
|
---|
419 | fi
|
---|
420 |
|
---|
421 | if as_func_ret_failure; then
|
---|
422 | exitcode=1
|
---|
423 | echo as_func_ret_failure succeeded.
|
---|
424 | fi
|
---|
425 |
|
---|
426 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
|
---|
427 | :
|
---|
428 | else
|
---|
429 | exitcode=1
|
---|
430 | echo positional parameters were not saved.
|
---|
431 | fi
|
---|
432 |
|
---|
433 | test \$exitcode = 0") || {
|
---|
434 | echo No shell found that supports shell functions.
|
---|
435 | echo Please tell [email protected] about your system,
|
---|
436 | echo including any error possibly output before this message.
|
---|
437 | echo This can help us improve future autoconf versions.
|
---|
438 | echo Configuration will now proceed without shell functions.
|
---|
439 | }
|
---|
440 |
|
---|
441 |
|
---|
442 |
|
---|
443 | as_lineno_1=$LINENO
|
---|
444 | as_lineno_2=$LINENO
|
---|
445 | test "x$as_lineno_1" != "x$as_lineno_2" &&
|
---|
446 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
---|
447 |
|
---|
448 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
---|
449 | # uniformly replaced by the line number. The first 'sed' inserts a
|
---|
450 | # line-number line after each line using $LINENO; the second 'sed'
|
---|
451 | # does the real work. The second script uses 'N' to pair each
|
---|
452 | # line-number line with the line containing $LINENO, and appends
|
---|
453 | # trailing '-' during substitution so that $LINENO is not a special
|
---|
454 | # case at line end.
|
---|
455 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
---|
456 | # scripts with optimization help from Paolo Bonzini. Blame Lee
|
---|
457 | # E. McMahon (1931-1989) for sed's syntax. :-)
|
---|
458 | sed -n '
|
---|
459 | p
|
---|
460 | /[$]LINENO/=
|
---|
461 | ' <$as_myself |
|
---|
462 | sed '
|
---|
463 | s/[$]LINENO.*/&-/
|
---|
464 | t lineno
|
---|
465 | b
|
---|
466 | :lineno
|
---|
467 | N
|
---|
468 | :loop
|
---|
469 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
---|
470 | t loop
|
---|
471 | s/-\n.*//
|
---|
472 | ' >$as_me.lineno &&
|
---|
473 | chmod +x "$as_me.lineno" ||
|
---|
474 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
---|
475 | { (exit 1); exit 1; }; }
|
---|
476 |
|
---|
477 | # Don't try to exec as it changes $[0], causing all sort of problems
|
---|
478 | # (the dirname of $[0] is not the place where we might find the
|
---|
479 | # original and so on. Autoconf is especially sensitive to this).
|
---|
480 | . "./$as_me.lineno"
|
---|
481 | # Exit status is that of the last command.
|
---|
482 | exit
|
---|
483 | }
|
---|
484 |
|
---|
485 |
|
---|
486 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
---|
487 | as_dirname=dirname
|
---|
488 | else
|
---|
489 | as_dirname=false
|
---|
490 | fi
|
---|
491 |
|
---|
492 | ECHO_C= ECHO_N= ECHO_T=
|
---|
493 | case `echo -n x` in
|
---|
494 | -n*)
|
---|
495 | case `echo 'x\c'` in
|
---|
496 | *c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
---|
497 | *) ECHO_C='\c';;
|
---|
498 | esac;;
|
---|
499 | *)
|
---|
500 | ECHO_N='-n';;
|
---|
501 | esac
|
---|
502 | if expr a : '\(a\)' >/dev/null 2>&1 &&
|
---|
503 | test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
---|
504 | as_expr=expr
|
---|
505 | else
|
---|
506 | as_expr=false
|
---|
507 | fi
|
---|
508 |
|
---|
509 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
510 | if test -d conf$$.dir; then
|
---|
511 | rm -f conf$$.dir/conf$$.file
|
---|
512 | else
|
---|
513 | rm -f conf$$.dir
|
---|
514 | mkdir conf$$.dir 2>/dev/null
|
---|
515 | fi
|
---|
516 | if (echo >conf$$.file) 2>/dev/null; then
|
---|
517 | if ln -s conf$$.file conf$$ 2>/dev/null; then
|
---|
518 | as_ln_s='ln -s'
|
---|
519 | # ... but there are two gotchas:
|
---|
520 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
---|
521 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
---|
522 | # In both cases, we have to default to `cp -p'.
|
---|
523 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
---|
524 | as_ln_s='cp -p'
|
---|
525 | elif ln conf$$.file conf$$ 2>/dev/null; then
|
---|
526 | as_ln_s=ln
|
---|
527 | else
|
---|
528 | as_ln_s='cp -p'
|
---|
529 | fi
|
---|
530 | else
|
---|
531 | as_ln_s='cp -p'
|
---|
532 | fi
|
---|
533 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
---|
534 | rmdir conf$$.dir 2>/dev/null
|
---|
535 |
|
---|
536 | if mkdir -p . 2>/dev/null; then
|
---|
537 | as_mkdir_p=:
|
---|
538 | else
|
---|
539 | test -d ./-p && rmdir ./-p
|
---|
540 | as_mkdir_p=false
|
---|
541 | fi
|
---|
542 |
|
---|
543 | if test -x / >/dev/null 2>&1; then
|
---|
544 | as_test_x='test -x'
|
---|
545 | else
|
---|
546 | if ls -dL / >/dev/null 2>&1; then
|
---|
547 | as_ls_L_option=L
|
---|
548 | else
|
---|
549 | as_ls_L_option=
|
---|
550 | fi
|
---|
551 | as_test_x='
|
---|
552 | eval sh -c '\''
|
---|
553 | if test -d "$1"; then
|
---|
554 | test -d "$1/.";
|
---|
555 | else
|
---|
556 | case $1 in
|
---|
557 | -*)set "./$1";;
|
---|
558 | esac;
|
---|
559 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
---|
560 | ???[sx]*):;;*)false;;esac;fi
|
---|
561 | '\'' sh
|
---|
562 | '
|
---|
563 | fi
|
---|
564 | as_executable_p=$as_test_x
|
---|
565 |
|
---|
566 | # Sed expression to map a string onto a valid CPP name.
|
---|
567 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
---|
568 |
|
---|
569 | # Sed expression to map a string onto a valid variable name.
|
---|
570 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
---|
571 |
|
---|
572 |
|
---|
573 |
|
---|
574 | exec 7<&0 </dev/null 6>&1
|
---|
575 |
|
---|
576 | # Name of the host.
|
---|
577 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
---|
578 | # so uname gets run too.
|
---|
579 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
580 |
|
---|
581 | #
|
---|
582 | # Initializations.
|
---|
583 | #
|
---|
584 | ac_default_prefix=/usr/local
|
---|
585 | ac_clean_files=
|
---|
586 | ac_config_libobj_dir=.
|
---|
587 | LIBOBJS=
|
---|
588 | cross_compiling=no
|
---|
589 | subdirs=
|
---|
590 | MFLAGS=
|
---|
591 | MAKEFLAGS=
|
---|
592 | SHELL=${CONFIG_SHELL-/bin/sh}
|
---|
593 |
|
---|
594 | # Identity of this package.
|
---|
595 | PACKAGE_NAME=
|
---|
596 | PACKAGE_TARNAME=
|
---|
597 | PACKAGE_VERSION=
|
---|
598 | PACKAGE_STRING=
|
---|
599 | PACKAGE_BUGREPORT=
|
---|
600 |
|
---|
601 | enable_option_checking=no
|
---|
602 | ac_subst_vars='LTLIBOBJS
|
---|
603 | LIBOBJS
|
---|
604 | subdirs
|
---|
605 | uudecode
|
---|
606 | JAVA
|
---|
607 | JAVACFLAGS
|
---|
608 | JAVAC
|
---|
609 | ENABLE_LUCENE
|
---|
610 | ENABLE_MGPP
|
---|
611 | ENABLE_MG
|
---|
612 | ENABLE_JNI
|
---|
613 | ENABLE_ACCENTFOLD
|
---|
614 | ENABLE_JAVA
|
---|
615 | target_alias
|
---|
616 | host_alias
|
---|
617 | build_alias
|
---|
618 | LIBS
|
---|
619 | ECHO_T
|
---|
620 | ECHO_N
|
---|
621 | ECHO_C
|
---|
622 | DEFS
|
---|
623 | mandir
|
---|
624 | localedir
|
---|
625 | libdir
|
---|
626 | psdir
|
---|
627 | pdfdir
|
---|
628 | dvidir
|
---|
629 | htmldir
|
---|
630 | infodir
|
---|
631 | docdir
|
---|
632 | oldincludedir
|
---|
633 | includedir
|
---|
634 | localstatedir
|
---|
635 | sharedstatedir
|
---|
636 | sysconfdir
|
---|
637 | datadir
|
---|
638 | datarootdir
|
---|
639 | libexecdir
|
---|
640 | sbindir
|
---|
641 | bindir
|
---|
642 | program_transform_name
|
---|
643 | prefix
|
---|
644 | exec_prefix
|
---|
645 | PACKAGE_BUGREPORT
|
---|
646 | PACKAGE_STRING
|
---|
647 | PACKAGE_VERSION
|
---|
648 | PACKAGE_TARNAME
|
---|
649 | PACKAGE_NAME
|
---|
650 | PATH_SEPARATOR
|
---|
651 | SHELL'
|
---|
652 | ac_subst_files=''
|
---|
653 | ac_user_opts='
|
---|
654 | enable_option_checking
|
---|
655 | enable_java
|
---|
656 | enable_accentfold
|
---|
657 | enable_jni
|
---|
658 | enable_mg
|
---|
659 | enable_mgpp
|
---|
660 | enable_lucene
|
---|
661 | with_unac
|
---|
662 | with_libiconv
|
---|
663 | '
|
---|
664 | ac_precious_vars='build_alias
|
---|
665 | host_alias
|
---|
666 | target_alias'
|
---|
667 | ac_subdirs_all='packages/unac
|
---|
668 | mg
|
---|
669 | mgpp'
|
---|
670 |
|
---|
671 | # Initialize some variables set by options.
|
---|
672 | ac_init_help=
|
---|
673 | ac_init_version=false
|
---|
674 | ac_unrecognized_opts=
|
---|
675 | ac_unrecognized_sep=
|
---|
676 | # The variables have the same names as the options, with
|
---|
677 | # dashes changed to underlines.
|
---|
678 | cache_file=/dev/null
|
---|
679 | exec_prefix=NONE
|
---|
680 | no_create=
|
---|
681 | no_recursion=
|
---|
682 | prefix=NONE
|
---|
683 | program_prefix=NONE
|
---|
684 | program_suffix=NONE
|
---|
685 | program_transform_name=s,x,x,
|
---|
686 | silent=
|
---|
687 | site=
|
---|
688 | srcdir=
|
---|
689 | verbose=
|
---|
690 | x_includes=NONE
|
---|
691 | x_libraries=NONE
|
---|
692 |
|
---|
693 | # Installation directory options.
|
---|
694 | # These are left unexpanded so users can "make install exec_prefix=/foo"
|
---|
695 | # and all the variables that are supposed to be based on exec_prefix
|
---|
696 | # by default will actually change.
|
---|
697 | # Use braces instead of parens because sh, perl, etc. also accept them.
|
---|
698 | # (The list follows the same order as the GNU Coding Standards.)
|
---|
699 | bindir='${exec_prefix}/bin'
|
---|
700 | sbindir='${exec_prefix}/sbin'
|
---|
701 | libexecdir='${exec_prefix}/libexec'
|
---|
702 | datarootdir='${prefix}/share'
|
---|
703 | datadir='${datarootdir}'
|
---|
704 | sysconfdir='${prefix}/etc'
|
---|
705 | sharedstatedir='${prefix}/com'
|
---|
706 | localstatedir='${prefix}/var'
|
---|
707 | includedir='${prefix}/include'
|
---|
708 | oldincludedir='/usr/include'
|
---|
709 | docdir='${datarootdir}/doc/${PACKAGE}'
|
---|
710 | infodir='${datarootdir}/info'
|
---|
711 | htmldir='${docdir}'
|
---|
712 | dvidir='${docdir}'
|
---|
713 | pdfdir='${docdir}'
|
---|
714 | psdir='${docdir}'
|
---|
715 | libdir='${exec_prefix}/lib'
|
---|
716 | localedir='${datarootdir}/locale'
|
---|
717 | mandir='${datarootdir}/man'
|
---|
718 |
|
---|
719 | ac_prev=
|
---|
720 | ac_dashdash=
|
---|
721 | for ac_option
|
---|
722 | do
|
---|
723 | # If the previous option needs an argument, assign it.
|
---|
724 | if test -n "$ac_prev"; then
|
---|
725 | eval $ac_prev=\$ac_option
|
---|
726 | ac_prev=
|
---|
727 | continue
|
---|
728 | fi
|
---|
729 |
|
---|
730 | case $ac_option in
|
---|
731 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
|
---|
732 | *) ac_optarg=yes ;;
|
---|
733 | esac
|
---|
734 |
|
---|
735 | # Accept the important Cygnus configure options, so we can diagnose typos.
|
---|
736 |
|
---|
737 | case $ac_dashdash$ac_option in
|
---|
738 | --)
|
---|
739 | ac_dashdash=yes ;;
|
---|
740 |
|
---|
741 | -bindir | --bindir | --bindi | --bind | --bin | --bi)
|
---|
742 | ac_prev=bindir ;;
|
---|
743 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
|
---|
744 | bindir=$ac_optarg ;;
|
---|
745 |
|
---|
746 | -build | --build | --buil | --bui | --bu)
|
---|
747 | ac_prev=build_alias ;;
|
---|
748 | -build=* | --build=* | --buil=* | --bui=* | --bu=*)
|
---|
749 | build_alias=$ac_optarg ;;
|
---|
750 |
|
---|
751 | -cache-file | --cache-file | --cache-fil | --cache-fi \
|
---|
752 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
---|
753 | ac_prev=cache_file ;;
|
---|
754 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
---|
755 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
---|
756 | cache_file=$ac_optarg ;;
|
---|
757 |
|
---|
758 | --config-cache | -C)
|
---|
759 | cache_file=config.cache ;;
|
---|
760 |
|
---|
761 | -datadir | --datadir | --datadi | --datad)
|
---|
762 | ac_prev=datadir ;;
|
---|
763 | -datadir=* | --datadir=* | --datadi=* | --datad=*)
|
---|
764 | datadir=$ac_optarg ;;
|
---|
765 |
|
---|
766 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
|
---|
767 | | --dataroo | --dataro | --datar)
|
---|
768 | ac_prev=datarootdir ;;
|
---|
769 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
|
---|
770 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
|
---|
771 | datarootdir=$ac_optarg ;;
|
---|
772 |
|
---|
773 | -disable-* | --disable-*)
|
---|
774 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
---|
775 | # Reject names that are not valid shell variable names.
|
---|
776 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
777 | { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
|
---|
778 | { (exit 1); exit 1; }; }
|
---|
779 | ac_useropt_orig=$ac_useropt
|
---|
780 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
781 | case $ac_user_opts in
|
---|
782 | *"
|
---|
783 | "enable_$ac_useropt"
|
---|
784 | "*) ;;
|
---|
785 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
|
---|
786 | ac_unrecognized_sep=', ';;
|
---|
787 | esac
|
---|
788 | eval enable_$ac_useropt=no ;;
|
---|
789 |
|
---|
790 | -docdir | --docdir | --docdi | --doc | --do)
|
---|
791 | ac_prev=docdir ;;
|
---|
792 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
|
---|
793 | docdir=$ac_optarg ;;
|
---|
794 |
|
---|
795 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
|
---|
796 | ac_prev=dvidir ;;
|
---|
797 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
|
---|
798 | dvidir=$ac_optarg ;;
|
---|
799 |
|
---|
800 | -enable-* | --enable-*)
|
---|
801 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
---|
802 | # Reject names that are not valid shell variable names.
|
---|
803 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
804 | { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
|
---|
805 | { (exit 1); exit 1; }; }
|
---|
806 | ac_useropt_orig=$ac_useropt
|
---|
807 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
808 | case $ac_user_opts in
|
---|
809 | *"
|
---|
810 | "enable_$ac_useropt"
|
---|
811 | "*) ;;
|
---|
812 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
|
---|
813 | ac_unrecognized_sep=', ';;
|
---|
814 | esac
|
---|
815 | eval enable_$ac_useropt=\$ac_optarg ;;
|
---|
816 |
|
---|
817 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
---|
818 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
---|
819 | | --exec | --exe | --ex)
|
---|
820 | ac_prev=exec_prefix ;;
|
---|
821 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
|
---|
822 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
|
---|
823 | | --exec=* | --exe=* | --ex=*)
|
---|
824 | exec_prefix=$ac_optarg ;;
|
---|
825 |
|
---|
826 | -gas | --gas | --ga | --g)
|
---|
827 | # Obsolete; use --with-gas.
|
---|
828 | with_gas=yes ;;
|
---|
829 |
|
---|
830 | -help | --help | --hel | --he | -h)
|
---|
831 | ac_init_help=long ;;
|
---|
832 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
|
---|
833 | ac_init_help=recursive ;;
|
---|
834 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
|
---|
835 | ac_init_help=short ;;
|
---|
836 |
|
---|
837 | -host | --host | --hos | --ho)
|
---|
838 | ac_prev=host_alias ;;
|
---|
839 | -host=* | --host=* | --hos=* | --ho=*)
|
---|
840 | host_alias=$ac_optarg ;;
|
---|
841 |
|
---|
842 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
|
---|
843 | ac_prev=htmldir ;;
|
---|
844 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
|
---|
845 | | --ht=*)
|
---|
846 | htmldir=$ac_optarg ;;
|
---|
847 |
|
---|
848 | -includedir | --includedir | --includedi | --included | --include \
|
---|
849 | | --includ | --inclu | --incl | --inc)
|
---|
850 | ac_prev=includedir ;;
|
---|
851 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
|
---|
852 | | --includ=* | --inclu=* | --incl=* | --inc=*)
|
---|
853 | includedir=$ac_optarg ;;
|
---|
854 |
|
---|
855 | -infodir | --infodir | --infodi | --infod | --info | --inf)
|
---|
856 | ac_prev=infodir ;;
|
---|
857 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
|
---|
858 | infodir=$ac_optarg ;;
|
---|
859 |
|
---|
860 | -libdir | --libdir | --libdi | --libd)
|
---|
861 | ac_prev=libdir ;;
|
---|
862 | -libdir=* | --libdir=* | --libdi=* | --libd=*)
|
---|
863 | libdir=$ac_optarg ;;
|
---|
864 |
|
---|
865 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
|
---|
866 | | --libexe | --libex | --libe)
|
---|
867 | ac_prev=libexecdir ;;
|
---|
868 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
|
---|
869 | | --libexe=* | --libex=* | --libe=*)
|
---|
870 | libexecdir=$ac_optarg ;;
|
---|
871 |
|
---|
872 | -localedir | --localedir | --localedi | --localed | --locale)
|
---|
873 | ac_prev=localedir ;;
|
---|
874 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
|
---|
875 | localedir=$ac_optarg ;;
|
---|
876 |
|
---|
877 | -localstatedir | --localstatedir | --localstatedi | --localstated \
|
---|
878 | | --localstate | --localstat | --localsta | --localst | --locals)
|
---|
879 | ac_prev=localstatedir ;;
|
---|
880 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
---|
881 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
|
---|
882 | localstatedir=$ac_optarg ;;
|
---|
883 |
|
---|
884 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
---|
885 | ac_prev=mandir ;;
|
---|
886 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
|
---|
887 | mandir=$ac_optarg ;;
|
---|
888 |
|
---|
889 | -nfp | --nfp | --nf)
|
---|
890 | # Obsolete; use --without-fp.
|
---|
891 | with_fp=no ;;
|
---|
892 |
|
---|
893 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
---|
894 | | --no-cr | --no-c | -n)
|
---|
895 | no_create=yes ;;
|
---|
896 |
|
---|
897 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
---|
898 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
---|
899 | no_recursion=yes ;;
|
---|
900 |
|
---|
901 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
|
---|
902 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
|
---|
903 | | --oldin | --oldi | --old | --ol | --o)
|
---|
904 | ac_prev=oldincludedir ;;
|
---|
905 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
|
---|
906 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
|
---|
907 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
|
---|
908 | oldincludedir=$ac_optarg ;;
|
---|
909 |
|
---|
910 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
---|
911 | ac_prev=prefix ;;
|
---|
912 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
---|
913 | prefix=$ac_optarg ;;
|
---|
914 |
|
---|
915 | -program-prefix | --program-prefix | --program-prefi | --program-pref \
|
---|
916 | | --program-pre | --program-pr | --program-p)
|
---|
917 | ac_prev=program_prefix ;;
|
---|
918 | -program-prefix=* | --program-prefix=* | --program-prefi=* \
|
---|
919 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
|
---|
920 | program_prefix=$ac_optarg ;;
|
---|
921 |
|
---|
922 | -program-suffix | --program-suffix | --program-suffi | --program-suff \
|
---|
923 | | --program-suf | --program-su | --program-s)
|
---|
924 | ac_prev=program_suffix ;;
|
---|
925 | -program-suffix=* | --program-suffix=* | --program-suffi=* \
|
---|
926 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
|
---|
927 | program_suffix=$ac_optarg ;;
|
---|
928 |
|
---|
929 | -program-transform-name | --program-transform-name \
|
---|
930 | | --program-transform-nam | --program-transform-na \
|
---|
931 | | --program-transform-n | --program-transform- \
|
---|
932 | | --program-transform | --program-transfor \
|
---|
933 | | --program-transfo | --program-transf \
|
---|
934 | | --program-trans | --program-tran \
|
---|
935 | | --progr-tra | --program-tr | --program-t)
|
---|
936 | ac_prev=program_transform_name ;;
|
---|
937 | -program-transform-name=* | --program-transform-name=* \
|
---|
938 | | --program-transform-nam=* | --program-transform-na=* \
|
---|
939 | | --program-transform-n=* | --program-transform-=* \
|
---|
940 | | --program-transform=* | --program-transfor=* \
|
---|
941 | | --program-transfo=* | --program-transf=* \
|
---|
942 | | --program-trans=* | --program-tran=* \
|
---|
943 | | --progr-tra=* | --program-tr=* | --program-t=*)
|
---|
944 | program_transform_name=$ac_optarg ;;
|
---|
945 |
|
---|
946 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
|
---|
947 | ac_prev=pdfdir ;;
|
---|
948 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
|
---|
949 | pdfdir=$ac_optarg ;;
|
---|
950 |
|
---|
951 | -psdir | --psdir | --psdi | --psd | --ps)
|
---|
952 | ac_prev=psdir ;;
|
---|
953 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
|
---|
954 | psdir=$ac_optarg ;;
|
---|
955 |
|
---|
956 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
957 | | -silent | --silent | --silen | --sile | --sil)
|
---|
958 | silent=yes ;;
|
---|
959 |
|
---|
960 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
---|
961 | ac_prev=sbindir ;;
|
---|
962 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
---|
963 | | --sbi=* | --sb=*)
|
---|
964 | sbindir=$ac_optarg ;;
|
---|
965 |
|
---|
966 | -sharedstatedir | --sharedstatedir | --sharedstatedi \
|
---|
967 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
|
---|
968 | | --sharedst | --shareds | --shared | --share | --shar \
|
---|
969 | | --sha | --sh)
|
---|
970 | ac_prev=sharedstatedir ;;
|
---|
971 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
|
---|
972 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
|
---|
973 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
|
---|
974 | | --sha=* | --sh=*)
|
---|
975 | sharedstatedir=$ac_optarg ;;
|
---|
976 |
|
---|
977 | -site | --site | --sit)
|
---|
978 | ac_prev=site ;;
|
---|
979 | -site=* | --site=* | --sit=*)
|
---|
980 | site=$ac_optarg ;;
|
---|
981 |
|
---|
982 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
---|
983 | ac_prev=srcdir ;;
|
---|
984 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
---|
985 | srcdir=$ac_optarg ;;
|
---|
986 |
|
---|
987 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
|
---|
988 | | --syscon | --sysco | --sysc | --sys | --sy)
|
---|
989 | ac_prev=sysconfdir ;;
|
---|
990 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
|
---|
991 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
|
---|
992 | sysconfdir=$ac_optarg ;;
|
---|
993 |
|
---|
994 | -target | --target | --targe | --targ | --tar | --ta | --t)
|
---|
995 | ac_prev=target_alias ;;
|
---|
996 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
|
---|
997 | target_alias=$ac_optarg ;;
|
---|
998 |
|
---|
999 | -v | -verbose | --verbose | --verbos | --verbo | --verb)
|
---|
1000 | verbose=yes ;;
|
---|
1001 |
|
---|
1002 | -version | --version | --versio | --versi | --vers | -V)
|
---|
1003 | ac_init_version=: ;;
|
---|
1004 |
|
---|
1005 | -with-* | --with-*)
|
---|
1006 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
---|
1007 | # Reject names that are not valid shell variable names.
|
---|
1008 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
1009 | { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
|
---|
1010 | { (exit 1); exit 1; }; }
|
---|
1011 | ac_useropt_orig=$ac_useropt
|
---|
1012 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
1013 | case $ac_user_opts in
|
---|
1014 | *"
|
---|
1015 | "with_$ac_useropt"
|
---|
1016 | "*) ;;
|
---|
1017 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
|
---|
1018 | ac_unrecognized_sep=', ';;
|
---|
1019 | esac
|
---|
1020 | eval with_$ac_useropt=\$ac_optarg ;;
|
---|
1021 |
|
---|
1022 | -without-* | --without-*)
|
---|
1023 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
---|
1024 | # Reject names that are not valid shell variable names.
|
---|
1025 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
1026 | { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
|
---|
1027 | { (exit 1); exit 1; }; }
|
---|
1028 | ac_useropt_orig=$ac_useropt
|
---|
1029 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
1030 | case $ac_user_opts in
|
---|
1031 | *"
|
---|
1032 | "with_$ac_useropt"
|
---|
1033 | "*) ;;
|
---|
1034 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
|
---|
1035 | ac_unrecognized_sep=', ';;
|
---|
1036 | esac
|
---|
1037 | eval with_$ac_useropt=no ;;
|
---|
1038 |
|
---|
1039 | --x)
|
---|
1040 | # Obsolete; use --with-x.
|
---|
1041 | with_x=yes ;;
|
---|
1042 |
|
---|
1043 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
|
---|
1044 | | --x-incl | --x-inc | --x-in | --x-i)
|
---|
1045 | ac_prev=x_includes ;;
|
---|
1046 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
|
---|
1047 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
|
---|
1048 | x_includes=$ac_optarg ;;
|
---|
1049 |
|
---|
1050 | -x-libraries | --x-libraries | --x-librarie | --x-librari \
|
---|
1051 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
|
---|
1052 | ac_prev=x_libraries ;;
|
---|
1053 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
---|
1054 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
---|
1055 | x_libraries=$ac_optarg ;;
|
---|
1056 |
|
---|
1057 | -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
|
---|
1058 | Try \`$0 --help' for more information." >&2
|
---|
1059 | { (exit 1); exit 1; }; }
|
---|
1060 | ;;
|
---|
1061 |
|
---|
1062 | *=*)
|
---|
1063 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
---|
1064 | # Reject names that are not valid shell variable names.
|
---|
1065 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
|
---|
1066 | { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
|
---|
1067 | { (exit 1); exit 1; }; }
|
---|
1068 | eval $ac_envvar=\$ac_optarg
|
---|
1069 | export $ac_envvar ;;
|
---|
1070 |
|
---|
1071 | *)
|
---|
1072 | # FIXME: should be removed in autoconf 3.0.
|
---|
1073 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
---|
1074 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
---|
1075 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
---|
1076 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
|
---|
1077 | ;;
|
---|
1078 |
|
---|
1079 | esac
|
---|
1080 | done
|
---|
1081 |
|
---|
1082 | if test -n "$ac_prev"; then
|
---|
1083 | ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
---|
1084 | { $as_echo "$as_me: error: missing argument to $ac_option" >&2
|
---|
1085 | { (exit 1); exit 1; }; }
|
---|
1086 | fi
|
---|
1087 |
|
---|
1088 | if test -n "$ac_unrecognized_opts"; then
|
---|
1089 | case $enable_option_checking in
|
---|
1090 | no) ;;
|
---|
1091 | fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
|
---|
1092 | { (exit 1); exit 1; }; } ;;
|
---|
1093 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
---|
1094 | esac
|
---|
1095 | fi
|
---|
1096 |
|
---|
1097 | # Check all directory arguments for consistency.
|
---|
1098 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
---|
1099 | datadir sysconfdir sharedstatedir localstatedir includedir \
|
---|
1100 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
---|
1101 | libdir localedir mandir
|
---|
1102 | do
|
---|
1103 | eval ac_val=\$$ac_var
|
---|
1104 | # Remove trailing slashes.
|
---|
1105 | case $ac_val in
|
---|
1106 | */ )
|
---|
1107 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
|
---|
1108 | eval $ac_var=\$ac_val;;
|
---|
1109 | esac
|
---|
1110 | # Be sure to have absolute directory names.
|
---|
1111 | case $ac_val in
|
---|
1112 | [\\/$]* | ?:[\\/]* ) continue;;
|
---|
1113 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
---|
1114 | esac
|
---|
1115 | { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
---|
1116 | { (exit 1); exit 1; }; }
|
---|
1117 | done
|
---|
1118 |
|
---|
1119 | # There might be people who depend on the old broken behavior: `$host'
|
---|
1120 | # used to hold the argument of --host etc.
|
---|
1121 | # FIXME: To remove some day.
|
---|
1122 | build=$build_alias
|
---|
1123 | host=$host_alias
|
---|
1124 | target=$target_alias
|
---|
1125 |
|
---|
1126 | # FIXME: To remove some day.
|
---|
1127 | if test "x$host_alias" != x; then
|
---|
1128 | if test "x$build_alias" = x; then
|
---|
1129 | cross_compiling=maybe
|
---|
1130 | $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
---|
1131 | If a cross compiler is detected then cross compile mode will be used." >&2
|
---|
1132 | elif test "x$build_alias" != "x$host_alias"; then
|
---|
1133 | cross_compiling=yes
|
---|
1134 | fi
|
---|
1135 | fi
|
---|
1136 |
|
---|
1137 | ac_tool_prefix=
|
---|
1138 | test -n "$host_alias" && ac_tool_prefix=$host_alias-
|
---|
1139 |
|
---|
1140 | test "$silent" = yes && exec 6>/dev/null
|
---|
1141 |
|
---|
1142 |
|
---|
1143 | ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
---|
1144 | ac_ls_di=`ls -di .` &&
|
---|
1145 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
---|
1146 | { $as_echo "$as_me: error: working directory cannot be determined" >&2
|
---|
1147 | { (exit 1); exit 1; }; }
|
---|
1148 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
---|
1149 | { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
|
---|
1150 | { (exit 1); exit 1; }; }
|
---|
1151 |
|
---|
1152 |
|
---|
1153 | # Find the source files, if location was not specified.
|
---|
1154 | if test -z "$srcdir"; then
|
---|
1155 | ac_srcdir_defaulted=yes
|
---|
1156 | # Try the directory containing this script, then the parent directory.
|
---|
1157 | ac_confdir=`$as_dirname -- "$as_myself" ||
|
---|
1158 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
1159 | X"$as_myself" : 'X\(//\)[^/]' \| \
|
---|
1160 | X"$as_myself" : 'X\(//\)$' \| \
|
---|
1161 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
1162 | $as_echo X"$as_myself" |
|
---|
1163 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
1164 | s//\1/
|
---|
1165 | q
|
---|
1166 | }
|
---|
1167 | /^X\(\/\/\)[^/].*/{
|
---|
1168 | s//\1/
|
---|
1169 | q
|
---|
1170 | }
|
---|
1171 | /^X\(\/\/\)$/{
|
---|
1172 | s//\1/
|
---|
1173 | q
|
---|
1174 | }
|
---|
1175 | /^X\(\/\).*/{
|
---|
1176 | s//\1/
|
---|
1177 | q
|
---|
1178 | }
|
---|
1179 | s/.*/./; q'`
|
---|
1180 | srcdir=$ac_confdir
|
---|
1181 | if test ! -r "$srcdir/$ac_unique_file"; then
|
---|
1182 | srcdir=..
|
---|
1183 | fi
|
---|
1184 | else
|
---|
1185 | ac_srcdir_defaulted=no
|
---|
1186 | fi
|
---|
1187 | if test ! -r "$srcdir/$ac_unique_file"; then
|
---|
1188 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
---|
1189 | { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
|
---|
1190 | { (exit 1); exit 1; }; }
|
---|
1191 | fi
|
---|
1192 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
---|
1193 | ac_abs_confdir=`(
|
---|
1194 | cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
|
---|
1195 | { (exit 1); exit 1; }; }
|
---|
1196 | pwd)`
|
---|
1197 | # When building in place, set srcdir=.
|
---|
1198 | if test "$ac_abs_confdir" = "$ac_pwd"; then
|
---|
1199 | srcdir=.
|
---|
1200 | fi
|
---|
1201 | # Remove unnecessary trailing slashes from srcdir.
|
---|
1202 | # Double slashes in file names in object file debugging info
|
---|
1203 | # mess up M-x gdb in Emacs.
|
---|
1204 | case $srcdir in
|
---|
1205 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
|
---|
1206 | esac
|
---|
1207 | for ac_var in $ac_precious_vars; do
|
---|
1208 | eval ac_env_${ac_var}_set=\${${ac_var}+set}
|
---|
1209 | eval ac_env_${ac_var}_value=\$${ac_var}
|
---|
1210 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
|
---|
1211 | eval ac_cv_env_${ac_var}_value=\$${ac_var}
|
---|
1212 | done
|
---|
1213 |
|
---|
1214 | #
|
---|
1215 | # Report the --help message.
|
---|
1216 | #
|
---|
1217 | if test "$ac_init_help" = "long"; then
|
---|
1218 | # Omit some internal or obsolete options to make the list less imposing.
|
---|
1219 | # This message is too long to be a string in the A/UX 3.1 sh.
|
---|
1220 | cat <<_ACEOF
|
---|
1221 | \`configure' configures this package to adapt to many kinds of systems.
|
---|
1222 |
|
---|
1223 | Usage: $0 [OPTION]... [VAR=VALUE]...
|
---|
1224 |
|
---|
1225 | To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
---|
1226 | VAR=VALUE. See below for descriptions of some of the useful variables.
|
---|
1227 |
|
---|
1228 | Defaults for the options are specified in brackets.
|
---|
1229 |
|
---|
1230 | Configuration:
|
---|
1231 | -h, --help display this help and exit
|
---|
1232 | --help=short display options specific to this package
|
---|
1233 | --help=recursive display the short help of all the included packages
|
---|
1234 | -V, --version display version information and exit
|
---|
1235 | -q, --quiet, --silent do not print \`checking...' messages
|
---|
1236 | --cache-file=FILE cache test results in FILE [disabled]
|
---|
1237 | -C, --config-cache alias for \`--cache-file=config.cache'
|
---|
1238 | -n, --no-create do not create output files
|
---|
1239 | --srcdir=DIR find the sources in DIR [configure dir or \`..']
|
---|
1240 |
|
---|
1241 | Installation directories:
|
---|
1242 | --prefix=PREFIX install architecture-independent files in PREFIX
|
---|
1243 | [$ac_default_prefix]
|
---|
1244 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
---|
1245 | [PREFIX]
|
---|
1246 |
|
---|
1247 | By default, \`make install' will install all the files in
|
---|
1248 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
---|
1249 | an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
---|
1250 | for instance \`--prefix=\$HOME'.
|
---|
1251 |
|
---|
1252 | For better control, use the options below.
|
---|
1253 |
|
---|
1254 | Fine tuning of the installation directories:
|
---|
1255 | --bindir=DIR user executables [EPREFIX/bin]
|
---|
1256 | --sbindir=DIR system admin executables [EPREFIX/sbin]
|
---|
1257 | --libexecdir=DIR program executables [EPREFIX/libexec]
|
---|
1258 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
---|
1259 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
---|
1260 | --localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
---|
1261 | --libdir=DIR object code libraries [EPREFIX/lib]
|
---|
1262 | --includedir=DIR C header files [PREFIX/include]
|
---|
1263 | --oldincludedir=DIR C header files for non-gcc [/usr/include]
|
---|
1264 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
---|
1265 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
---|
1266 | --infodir=DIR info documentation [DATAROOTDIR/info]
|
---|
1267 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
---|
1268 | --mandir=DIR man documentation [DATAROOTDIR/man]
|
---|
1269 | --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
|
---|
1270 | --htmldir=DIR html documentation [DOCDIR]
|
---|
1271 | --dvidir=DIR dvi documentation [DOCDIR]
|
---|
1272 | --pdfdir=DIR pdf documentation [DOCDIR]
|
---|
1273 | --psdir=DIR ps documentation [DOCDIR]
|
---|
1274 | _ACEOF
|
---|
1275 |
|
---|
1276 | cat <<\_ACEOF
|
---|
1277 | _ACEOF
|
---|
1278 | fi
|
---|
1279 |
|
---|
1280 | if test -n "$ac_init_help"; then
|
---|
1281 |
|
---|
1282 | cat <<\_ACEOF
|
---|
1283 |
|
---|
1284 | Optional Features:
|
---|
1285 | --disable-option-checking ignore unrecognized --enable/--with options
|
---|
1286 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
---|
1287 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
---|
1288 | --disable-java Disable Java compilation
|
---|
1289 | --disable-accentfold Disable Accent Folding for MGPP
|
---|
1290 | --enable-jni Enable JNI compilation
|
---|
1291 | --disable-mg Disable MG compilation
|
---|
1292 | --disable-mgpp Disable MGPP compilation
|
---|
1293 | --disable-lucene Disable Lucene compilation
|
---|
1294 |
|
---|
1295 | Optional Packages:
|
---|
1296 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
---|
1297 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
---|
1298 | --with-unac=dir Use specified unac directory
|
---|
1299 | --with-libiconv-prefix=dir Use specified libiconv directory
|
---|
1300 |
|
---|
1301 | _ACEOF
|
---|
1302 | ac_status=$?
|
---|
1303 | fi
|
---|
1304 |
|
---|
1305 | if test "$ac_init_help" = "recursive"; then
|
---|
1306 | # If there are subdirs, report their specific --help.
|
---|
1307 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
---|
1308 | test -d "$ac_dir" ||
|
---|
1309 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
|
---|
1310 | continue
|
---|
1311 | ac_builddir=.
|
---|
1312 |
|
---|
1313 | case "$ac_dir" in
|
---|
1314 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
1315 | *)
|
---|
1316 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
---|
1317 | # A ".." for each directory in $ac_dir_suffix.
|
---|
1318 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
---|
1319 | case $ac_top_builddir_sub in
|
---|
1320 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
1321 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
---|
1322 | esac ;;
|
---|
1323 | esac
|
---|
1324 | ac_abs_top_builddir=$ac_pwd
|
---|
1325 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
---|
1326 | # for backward compatibility:
|
---|
1327 | ac_top_builddir=$ac_top_build_prefix
|
---|
1328 |
|
---|
1329 | case $srcdir in
|
---|
1330 | .) # We are building in place.
|
---|
1331 | ac_srcdir=.
|
---|
1332 | ac_top_srcdir=$ac_top_builddir_sub
|
---|
1333 | ac_abs_top_srcdir=$ac_pwd ;;
|
---|
1334 | [\\/]* | ?:[\\/]* ) # Absolute name.
|
---|
1335 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
1336 | ac_top_srcdir=$srcdir
|
---|
1337 | ac_abs_top_srcdir=$srcdir ;;
|
---|
1338 | *) # Relative name.
|
---|
1339 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
---|
1340 | ac_top_srcdir=$ac_top_build_prefix$srcdir
|
---|
1341 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
---|
1342 | esac
|
---|
1343 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
---|
1344 |
|
---|
1345 | cd "$ac_dir" || { ac_status=$?; continue; }
|
---|
1346 | # Check for guested configure.
|
---|
1347 | if test -f "$ac_srcdir/configure.gnu"; then
|
---|
1348 | echo &&
|
---|
1349 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive
|
---|
1350 | elif test -f "$ac_srcdir/configure"; then
|
---|
1351 | echo &&
|
---|
1352 | $SHELL "$ac_srcdir/configure" --help=recursive
|
---|
1353 | else
|
---|
1354 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
---|
1355 | fi || ac_status=$?
|
---|
1356 | cd "$ac_pwd" || { ac_status=$?; break; }
|
---|
1357 | done
|
---|
1358 | fi
|
---|
1359 |
|
---|
1360 | test -n "$ac_init_help" && exit $ac_status
|
---|
1361 | if $ac_init_version; then
|
---|
1362 | cat <<\_ACEOF
|
---|
1363 | configure
|
---|
1364 | generated by GNU Autoconf 2.63
|
---|
1365 |
|
---|
1366 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
---|
1367 | 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
---|
1368 | This configure script is free software; the Free Software Foundation
|
---|
1369 | gives unlimited permission to copy, distribute and modify it.
|
---|
1370 | _ACEOF
|
---|
1371 | exit
|
---|
1372 | fi
|
---|
1373 | cat >config.log <<_ACEOF
|
---|
1374 | This file contains any messages produced by compilers while
|
---|
1375 | running configure, to aid debugging if configure makes a mistake.
|
---|
1376 |
|
---|
1377 | It was created by $as_me, which was
|
---|
1378 | generated by GNU Autoconf 2.63. Invocation command line was
|
---|
1379 |
|
---|
1380 | $ $0 $@
|
---|
1381 |
|
---|
1382 | _ACEOF
|
---|
1383 | exec 5>>config.log
|
---|
1384 | {
|
---|
1385 | cat <<_ASUNAME
|
---|
1386 | ## --------- ##
|
---|
1387 | ## Platform. ##
|
---|
1388 | ## --------- ##
|
---|
1389 |
|
---|
1390 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
1391 | uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
---|
1392 | uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
---|
1393 | uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
---|
1394 | uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
---|
1395 |
|
---|
1396 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
---|
1397 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
---|
1398 |
|
---|
1399 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
---|
1400 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
---|
1401 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
---|
1402 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
|
---|
1403 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
---|
1404 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
---|
1405 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
---|
1406 |
|
---|
1407 | _ASUNAME
|
---|
1408 |
|
---|
1409 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
1410 | for as_dir in $PATH
|
---|
1411 | do
|
---|
1412 | IFS=$as_save_IFS
|
---|
1413 | test -z "$as_dir" && as_dir=.
|
---|
1414 | $as_echo "PATH: $as_dir"
|
---|
1415 | done
|
---|
1416 | IFS=$as_save_IFS
|
---|
1417 |
|
---|
1418 | } >&5
|
---|
1419 |
|
---|
1420 | cat >&5 <<_ACEOF
|
---|
1421 |
|
---|
1422 |
|
---|
1423 | ## ----------- ##
|
---|
1424 | ## Core tests. ##
|
---|
1425 | ## ----------- ##
|
---|
1426 |
|
---|
1427 | _ACEOF
|
---|
1428 |
|
---|
1429 |
|
---|
1430 | # Keep a trace of the command line.
|
---|
1431 | # Strip out --no-create and --no-recursion so they do not pile up.
|
---|
1432 | # Strip out --silent because we don't want to record it for future runs.
|
---|
1433 | # Also quote any args containing shell meta-characters.
|
---|
1434 | # Make two passes to allow for proper duplicate-argument suppression.
|
---|
1435 | ac_configure_args=
|
---|
1436 | ac_configure_args0=
|
---|
1437 | ac_configure_args1=
|
---|
1438 | ac_must_keep_next=false
|
---|
1439 | for ac_pass in 1 2
|
---|
1440 | do
|
---|
1441 | for ac_arg
|
---|
1442 | do
|
---|
1443 | case $ac_arg in
|
---|
1444 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
|
---|
1445 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
1446 | | -silent | --silent | --silen | --sile | --sil)
|
---|
1447 | continue ;;
|
---|
1448 | *\'*)
|
---|
1449 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
1450 | esac
|
---|
1451 | case $ac_pass in
|
---|
1452 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
|
---|
1453 | 2)
|
---|
1454 | ac_configure_args1="$ac_configure_args1 '$ac_arg'"
|
---|
1455 | if test $ac_must_keep_next = true; then
|
---|
1456 | ac_must_keep_next=false # Got value, back to normal.
|
---|
1457 | else
|
---|
1458 | case $ac_arg in
|
---|
1459 | *=* | --config-cache | -C | -disable-* | --disable-* \
|
---|
1460 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
|
---|
1461 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
|
---|
1462 | | -with-* | --with-* | -without-* | --without-* | --x)
|
---|
1463 | case "$ac_configure_args0 " in
|
---|
1464 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
|
---|
1465 | esac
|
---|
1466 | ;;
|
---|
1467 | -* ) ac_must_keep_next=true ;;
|
---|
1468 | esac
|
---|
1469 | fi
|
---|
1470 | ac_configure_args="$ac_configure_args '$ac_arg'"
|
---|
1471 | ;;
|
---|
1472 | esac
|
---|
1473 | done
|
---|
1474 | done
|
---|
1475 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
|
---|
1476 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
|
---|
1477 |
|
---|
1478 | # When interrupted or exit'd, cleanup temporary files, and complete
|
---|
1479 | # config.log. We remove comments because anyway the quotes in there
|
---|
1480 | # would cause problems or look ugly.
|
---|
1481 | # WARNING: Use '\'' to represent an apostrophe within the trap.
|
---|
1482 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
|
---|
1483 | trap 'exit_status=$?
|
---|
1484 | # Save into config.log some information that might help in debugging.
|
---|
1485 | {
|
---|
1486 | echo
|
---|
1487 |
|
---|
1488 | cat <<\_ASBOX
|
---|
1489 | ## ---------------- ##
|
---|
1490 | ## Cache variables. ##
|
---|
1491 | ## ---------------- ##
|
---|
1492 | _ASBOX
|
---|
1493 | echo
|
---|
1494 | # The following way of writing the cache mishandles newlines in values,
|
---|
1495 | (
|
---|
1496 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
|
---|
1497 | eval ac_val=\$$ac_var
|
---|
1498 | case $ac_val in #(
|
---|
1499 | *${as_nl}*)
|
---|
1500 | case $ac_var in #(
|
---|
1501 | *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
|
---|
1502 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
---|
1503 | esac
|
---|
1504 | case $ac_var in #(
|
---|
1505 | _ | IFS | as_nl) ;; #(
|
---|
1506 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
---|
1507 | *) $as_unset $ac_var ;;
|
---|
1508 | esac ;;
|
---|
1509 | esac
|
---|
1510 | done
|
---|
1511 | (set) 2>&1 |
|
---|
1512 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
|
---|
1513 | *${as_nl}ac_space=\ *)
|
---|
1514 | sed -n \
|
---|
1515 | "s/'\''/'\''\\\\'\'''\''/g;
|
---|
1516 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
|
---|
1517 | ;; #(
|
---|
1518 | *)
|
---|
1519 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
---|
1520 | ;;
|
---|
1521 | esac |
|
---|
1522 | sort
|
---|
1523 | )
|
---|
1524 | echo
|
---|
1525 |
|
---|
1526 | cat <<\_ASBOX
|
---|
1527 | ## ----------------- ##
|
---|
1528 | ## Output variables. ##
|
---|
1529 | ## ----------------- ##
|
---|
1530 | _ASBOX
|
---|
1531 | echo
|
---|
1532 | for ac_var in $ac_subst_vars
|
---|
1533 | do
|
---|
1534 | eval ac_val=\$$ac_var
|
---|
1535 | case $ac_val in
|
---|
1536 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
---|
1537 | esac
|
---|
1538 | $as_echo "$ac_var='\''$ac_val'\''"
|
---|
1539 | done | sort
|
---|
1540 | echo
|
---|
1541 |
|
---|
1542 | if test -n "$ac_subst_files"; then
|
---|
1543 | cat <<\_ASBOX
|
---|
1544 | ## ------------------- ##
|
---|
1545 | ## File substitutions. ##
|
---|
1546 | ## ------------------- ##
|
---|
1547 | _ASBOX
|
---|
1548 | echo
|
---|
1549 | for ac_var in $ac_subst_files
|
---|
1550 | do
|
---|
1551 | eval ac_val=\$$ac_var
|
---|
1552 | case $ac_val in
|
---|
1553 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
---|
1554 | esac
|
---|
1555 | $as_echo "$ac_var='\''$ac_val'\''"
|
---|
1556 | done | sort
|
---|
1557 | echo
|
---|
1558 | fi
|
---|
1559 |
|
---|
1560 | if test -s confdefs.h; then
|
---|
1561 | cat <<\_ASBOX
|
---|
1562 | ## ----------- ##
|
---|
1563 | ## confdefs.h. ##
|
---|
1564 | ## ----------- ##
|
---|
1565 | _ASBOX
|
---|
1566 | echo
|
---|
1567 | cat confdefs.h
|
---|
1568 | echo
|
---|
1569 | fi
|
---|
1570 | test "$ac_signal" != 0 &&
|
---|
1571 | $as_echo "$as_me: caught signal $ac_signal"
|
---|
1572 | $as_echo "$as_me: exit $exit_status"
|
---|
1573 | } >&5
|
---|
1574 | rm -f core *.core core.conftest.* &&
|
---|
1575 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
---|
1576 | exit $exit_status
|
---|
1577 | ' 0
|
---|
1578 | for ac_signal in 1 2 13 15; do
|
---|
1579 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
|
---|
1580 | done
|
---|
1581 | ac_signal=0
|
---|
1582 |
|
---|
1583 | # confdefs.h avoids OS command line length limits that DEFS can exceed.
|
---|
1584 | rm -f -r conftest* confdefs.h
|
---|
1585 |
|
---|
1586 | # Predefined preprocessor variables.
|
---|
1587 |
|
---|
1588 | cat >>confdefs.h <<_ACEOF
|
---|
1589 | #define PACKAGE_NAME "$PACKAGE_NAME"
|
---|
1590 | _ACEOF
|
---|
1591 |
|
---|
1592 |
|
---|
1593 | cat >>confdefs.h <<_ACEOF
|
---|
1594 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
---|
1595 | _ACEOF
|
---|
1596 |
|
---|
1597 |
|
---|
1598 | cat >>confdefs.h <<_ACEOF
|
---|
1599 | #define PACKAGE_VERSION "$PACKAGE_VERSION"
|
---|
1600 | _ACEOF
|
---|
1601 |
|
---|
1602 |
|
---|
1603 | cat >>confdefs.h <<_ACEOF
|
---|
1604 | #define PACKAGE_STRING "$PACKAGE_STRING"
|
---|
1605 | _ACEOF
|
---|
1606 |
|
---|
1607 |
|
---|
1608 | cat >>confdefs.h <<_ACEOF
|
---|
1609 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
---|
1610 | _ACEOF
|
---|
1611 |
|
---|
1612 |
|
---|
1613 | # Let the site file select an alternate cache file if it wants to.
|
---|
1614 | # Prefer an explicitly selected file to automatically selected ones.
|
---|
1615 | ac_site_file1=NONE
|
---|
1616 | ac_site_file2=NONE
|
---|
1617 | if test -n "$CONFIG_SITE"; then
|
---|
1618 | ac_site_file1=$CONFIG_SITE
|
---|
1619 | elif test "x$prefix" != xNONE; then
|
---|
1620 | ac_site_file1=$prefix/share/config.site
|
---|
1621 | ac_site_file2=$prefix/etc/config.site
|
---|
1622 | else
|
---|
1623 | ac_site_file1=$ac_default_prefix/share/config.site
|
---|
1624 | ac_site_file2=$ac_default_prefix/etc/config.site
|
---|
1625 | fi
|
---|
1626 | for ac_site_file in "$ac_site_file1" "$ac_site_file2"
|
---|
1627 | do
|
---|
1628 | test "x$ac_site_file" = xNONE && continue
|
---|
1629 | if test -r "$ac_site_file"; then
|
---|
1630 | { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
|
---|
1631 | $as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
---|
1632 | sed 's/^/| /' "$ac_site_file" >&5
|
---|
1633 | . "$ac_site_file"
|
---|
1634 | fi
|
---|
1635 | done
|
---|
1636 |
|
---|
1637 | if test -r "$cache_file"; then
|
---|
1638 | # Some versions of bash will fail to source /dev/null (special
|
---|
1639 | # files actually), so we avoid doing that.
|
---|
1640 | if test -f "$cache_file"; then
|
---|
1641 | { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
|
---|
1642 | $as_echo "$as_me: loading cache $cache_file" >&6;}
|
---|
1643 | case $cache_file in
|
---|
1644 | [\\/]* | ?:[\\/]* ) . "$cache_file";;
|
---|
1645 | *) . "./$cache_file";;
|
---|
1646 | esac
|
---|
1647 | fi
|
---|
1648 | else
|
---|
1649 | { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
|
---|
1650 | $as_echo "$as_me: creating cache $cache_file" >&6;}
|
---|
1651 | >$cache_file
|
---|
1652 | fi
|
---|
1653 |
|
---|
1654 | # Check that the precious variables saved in the cache have kept the same
|
---|
1655 | # value.
|
---|
1656 | ac_cache_corrupted=false
|
---|
1657 | for ac_var in $ac_precious_vars; do
|
---|
1658 | eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
---|
1659 | eval ac_new_set=\$ac_env_${ac_var}_set
|
---|
1660 | eval ac_old_val=\$ac_cv_env_${ac_var}_value
|
---|
1661 | eval ac_new_val=\$ac_env_${ac_var}_value
|
---|
1662 | case $ac_old_set,$ac_new_set in
|
---|
1663 | set,)
|
---|
1664 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
---|
1665 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
---|
1666 | ac_cache_corrupted=: ;;
|
---|
1667 | ,set)
|
---|
1668 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
|
---|
1669 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
---|
1670 | ac_cache_corrupted=: ;;
|
---|
1671 | ,);;
|
---|
1672 | *)
|
---|
1673 | if test "x$ac_old_val" != "x$ac_new_val"; then
|
---|
1674 | # differences in whitespace do not lead to failure.
|
---|
1675 | ac_old_val_w=`echo x $ac_old_val`
|
---|
1676 | ac_new_val_w=`echo x $ac_new_val`
|
---|
1677 | if test "$ac_old_val_w" != "$ac_new_val_w"; then
|
---|
1678 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
---|
1679 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
---|
1680 | ac_cache_corrupted=:
|
---|
1681 | else
|
---|
1682 | { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
---|
1683 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
---|
1684 | eval $ac_var=\$ac_old_val
|
---|
1685 | fi
|
---|
1686 | { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
|
---|
1687 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
|
---|
1688 | { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
|
---|
1689 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
|
---|
1690 | fi;;
|
---|
1691 | esac
|
---|
1692 | # Pass precious variables to config.status.
|
---|
1693 | if test "$ac_new_set" = set; then
|
---|
1694 | case $ac_new_val in
|
---|
1695 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
1696 | *) ac_arg=$ac_var=$ac_new_val ;;
|
---|
1697 | esac
|
---|
1698 | case " $ac_configure_args " in
|
---|
1699 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
---|
1700 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
---|
1701 | esac
|
---|
1702 | fi
|
---|
1703 | done
|
---|
1704 | if $ac_cache_corrupted; then
|
---|
1705 | { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
---|
1706 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
1707 | { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
|
---|
1708 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
---|
1709 | { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
|
---|
1710 | $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
|
---|
1711 | { (exit 1); exit 1; }; }
|
---|
1712 | fi
|
---|
1713 |
|
---|
1714 |
|
---|
1715 |
|
---|
1716 |
|
---|
1717 |
|
---|
1718 |
|
---|
1719 |
|
---|
1720 |
|
---|
1721 |
|
---|
1722 |
|
---|
1723 |
|
---|
1724 |
|
---|
1725 |
|
---|
1726 |
|
---|
1727 |
|
---|
1728 |
|
---|
1729 |
|
---|
1730 | ac_ext=c
|
---|
1731 | ac_cpp='$CPP $CPPFLAGS'
|
---|
1732 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
1733 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
1734 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
1735 |
|
---|
1736 |
|
---|
1737 |
|
---|
1738 | # Check whether --enable-java was given.
|
---|
1739 | if test "${enable_java+set}" = set; then
|
---|
1740 | enableval=$enable_java; ENABLE_JAVA=$enableval
|
---|
1741 | else
|
---|
1742 | ENABLE_JAVA=yes
|
---|
1743 | fi
|
---|
1744 |
|
---|
1745 | if test $ENABLE_JAVA = "yes" -o $ENABLE_JAVA = "1" ; then
|
---|
1746 | ENABLE_JAVA=1
|
---|
1747 | if test "x$JAVA_HOME" != "x" ; then
|
---|
1748 | echo "Detected JAVA_HOME is set, however this will not be used during compilation"
|
---|
1749 | echo "To control the version of 'javac' and 'java' set environment variables JAVAC"
|
---|
1750 | echo "and JAVA respectively"
|
---|
1751 | export JAVA_HOME=
|
---|
1752 | fi
|
---|
1753 | else
|
---|
1754 | ENABLE_JAVA=0
|
---|
1755 | fi
|
---|
1756 |
|
---|
1757 |
|
---|
1758 | # Check whether --enable-accentfold was given.
|
---|
1759 | if test "${enable_accentfold+set}" = set; then
|
---|
1760 | enableval=$enable_accentfold; ENABLE_ACCENTFOLD=$enableval
|
---|
1761 | else
|
---|
1762 | ENABLE_ACCENTFOLD=yes
|
---|
1763 | fi
|
---|
1764 |
|
---|
1765 | if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then
|
---|
1766 | ENABLE_ACCENTFOLD=1
|
---|
1767 | cat >>confdefs.h <<\_ACEOF
|
---|
1768 | #define ENABLE_ACCENTFOLD /**/
|
---|
1769 | _ACEOF
|
---|
1770 |
|
---|
1771 | else
|
---|
1772 | ENABLE_ACCENTFOLD=0
|
---|
1773 | fi
|
---|
1774 |
|
---|
1775 |
|
---|
1776 |
|
---|
1777 | # Check whether --enable-jni was given.
|
---|
1778 | if test "${enable_jni+set}" = set; then
|
---|
1779 | enableval=$enable_jni; ENABLE_JNI=$enableval
|
---|
1780 | else
|
---|
1781 | ENABLE_JNI=no
|
---|
1782 | fi
|
---|
1783 |
|
---|
1784 | if test $ENABLE_JAVA -a \( $ENABLE_JNI = "yes" -o $ENABLE_JNI = "1" \) ; then
|
---|
1785 | ENABLE_JNI=1
|
---|
1786 | cat >>confdefs.h <<\_ACEOF
|
---|
1787 | #define ENABLE_JNI /**/
|
---|
1788 | _ACEOF
|
---|
1789 |
|
---|
1790 | else
|
---|
1791 | ENABLE_JNI=0
|
---|
1792 | fi
|
---|
1793 |
|
---|
1794 |
|
---|
1795 |
|
---|
1796 | # Check whether --enable-mg was given.
|
---|
1797 | if test "${enable_mg+set}" = set; then
|
---|
1798 | enableval=$enable_mg; ENABLE_MG=$enableval
|
---|
1799 | else
|
---|
1800 | ENABLE_MG=yes
|
---|
1801 | fi
|
---|
1802 |
|
---|
1803 | if test $ENABLE_MG = "yes" -o $ENABLE_MG = "1" ; then
|
---|
1804 | ENABLE_MG=1
|
---|
1805 | cat >>confdefs.h <<\_ACEOF
|
---|
1806 | #define ENABLE_MG /**/
|
---|
1807 | _ACEOF
|
---|
1808 |
|
---|
1809 | else
|
---|
1810 | ENABLE_MG=0
|
---|
1811 | fi
|
---|
1812 |
|
---|
1813 |
|
---|
1814 |
|
---|
1815 | # Check whether --enable-mgpp was given.
|
---|
1816 | if test "${enable_mgpp+set}" = set; then
|
---|
1817 | enableval=$enable_mgpp; ENABLE_MGPP=$enableval
|
---|
1818 | else
|
---|
1819 | ENABLE_MGPP=yes
|
---|
1820 | fi
|
---|
1821 |
|
---|
1822 | if test $ENABLE_MGPP = "yes" -o $ENABLE_MGPP = "1" ; then
|
---|
1823 | ENABLE_MGPP=1
|
---|
1824 | cat >>confdefs.h <<\_ACEOF
|
---|
1825 | #define ENABLE_MGPP /**/
|
---|
1826 | _ACEOF
|
---|
1827 |
|
---|
1828 | else
|
---|
1829 | ENABLE_MGPP=0
|
---|
1830 | fi
|
---|
1831 |
|
---|
1832 |
|
---|
1833 | # Check whether --enable-lucene was given.
|
---|
1834 | if test "${enable_lucene+set}" = set; then
|
---|
1835 | enableval=$enable_lucene; ENABLE_LUCENE=$enableval
|
---|
1836 | else
|
---|
1837 | ENABLE_LUCENE=yes
|
---|
1838 | fi
|
---|
1839 |
|
---|
1840 | if test $ENABLE_JAVA -a \( $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" \) ; then
|
---|
1841 | ENABLE_LUCENE=1
|
---|
1842 | cat >>confdefs.h <<\_ACEOF
|
---|
1843 | #define ENABLE_LUCENE /**/
|
---|
1844 | _ACEOF
|
---|
1845 |
|
---|
1846 | else
|
---|
1847 | ENABLE_LUCENE=0
|
---|
1848 | fi
|
---|
1849 |
|
---|
1850 |
|
---|
1851 | if test "$ENABLE_LUCENE" = "1" ; then
|
---|
1852 |
|
---|
1853 |
|
---|
1854 | if test "x$JAVAC" = x ; then
|
---|
1855 | if test "x$JAVAPREFIX" = x; then
|
---|
1856 | test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
|
---|
1857 | do
|
---|
1858 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
1859 | set dummy $ac_prog; ac_word=$2
|
---|
1860 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
1861 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
1862 | if test "${ac_cv_prog_JAVAC+set}" = set; then
|
---|
1863 | $as_echo_n "(cached) " >&6
|
---|
1864 | else
|
---|
1865 | if test -n "$JAVAC"; then
|
---|
1866 | ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
|
---|
1867 | else
|
---|
1868 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
1869 | for as_dir in $PATH
|
---|
1870 | do
|
---|
1871 | IFS=$as_save_IFS
|
---|
1872 | test -z "$as_dir" && as_dir=.
|
---|
1873 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
1874 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
1875 | ac_cv_prog_JAVAC="$ac_prog"
|
---|
1876 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
1877 | break 2
|
---|
1878 | fi
|
---|
1879 | done
|
---|
1880 | done
|
---|
1881 | IFS=$as_save_IFS
|
---|
1882 |
|
---|
1883 | fi
|
---|
1884 | fi
|
---|
1885 | JAVAC=$ac_cv_prog_JAVAC
|
---|
1886 | if test -n "$JAVAC"; then
|
---|
1887 | { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5
|
---|
1888 | $as_echo "$JAVAC" >&6; }
|
---|
1889 | else
|
---|
1890 | { $as_echo "$as_me:$LINENO: result: no" >&5
|
---|
1891 | $as_echo "no" >&6; }
|
---|
1892 | fi
|
---|
1893 |
|
---|
1894 |
|
---|
1895 | test -n "$JAVAC" && break
|
---|
1896 | done
|
---|
1897 |
|
---|
1898 | else
|
---|
1899 | test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
|
---|
1900 | do
|
---|
1901 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
1902 | set dummy $ac_prog; ac_word=$2
|
---|
1903 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
1904 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
1905 | if test "${ac_cv_prog_JAVAC+set}" = set; then
|
---|
1906 | $as_echo_n "(cached) " >&6
|
---|
1907 | else
|
---|
1908 | if test -n "$JAVAC"; then
|
---|
1909 | ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
|
---|
1910 | else
|
---|
1911 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
1912 | for as_dir in $PATH
|
---|
1913 | do
|
---|
1914 | IFS=$as_save_IFS
|
---|
1915 | test -z "$as_dir" && as_dir=.
|
---|
1916 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
1917 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
1918 | ac_cv_prog_JAVAC="$ac_prog"
|
---|
1919 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
1920 | break 2
|
---|
1921 | fi
|
---|
1922 | done
|
---|
1923 | done
|
---|
1924 | IFS=$as_save_IFS
|
---|
1925 |
|
---|
1926 | fi
|
---|
1927 | fi
|
---|
1928 | JAVAC=$ac_cv_prog_JAVAC
|
---|
1929 | if test -n "$JAVAC"; then
|
---|
1930 | { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5
|
---|
1931 | $as_echo "$JAVAC" >&6; }
|
---|
1932 | else
|
---|
1933 | { $as_echo "$as_me:$LINENO: result: no" >&5
|
---|
1934 | $as_echo "no" >&6; }
|
---|
1935 | fi
|
---|
1936 |
|
---|
1937 |
|
---|
1938 | test -n "$JAVAC" && break
|
---|
1939 | done
|
---|
1940 | test -n "$JAVAC" || JAVAC="$JAVAPREFIX"
|
---|
1941 |
|
---|
1942 | fi
|
---|
1943 | test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5
|
---|
1944 | $as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}
|
---|
1945 | { (exit 1); exit 1; }; }
|
---|
1946 | else
|
---|
1947 | echo "Checking for javac... $JAVAC"
|
---|
1948 | fi
|
---|
1949 |
|
---|
1950 |
|
---|
1951 | { $as_echo "$as_me:$LINENO: checking if $JAVAC works" >&5
|
---|
1952 | $as_echo_n "checking if $JAVAC works... " >&6; }
|
---|
1953 | if test "${ac_cv_prog_javac_works+set}" = set; then
|
---|
1954 | $as_echo_n "(cached) " >&6
|
---|
1955 | else
|
---|
1956 |
|
---|
1957 | JAVA_TEST=Test.java
|
---|
1958 | CLASS_TEST=Test.class
|
---|
1959 | cat << \EOF > $JAVA_TEST
|
---|
1960 | /* #line 1960 "configure" */
|
---|
1961 | public class Test {
|
---|
1962 | }
|
---|
1963 | EOF
|
---|
1964 | if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
|
---|
1965 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
1966 | (eval $ac_try) 2>&5
|
---|
1967 | ac_status=$?
|
---|
1968 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
1969 | (exit $ac_status); }; } >/dev/null 2>&1; then
|
---|
1970 | ac_cv_prog_javac_works=yes
|
---|
1971 | else
|
---|
1972 | { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
|
---|
1973 | $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
|
---|
1974 | { (exit 1); exit 1; }; }
|
---|
1975 | echo "configure: failed program was:" >&5
|
---|
1976 | cat $JAVA_TEST >&5
|
---|
1977 | fi
|
---|
1978 | rm -f $JAVA_TEST $CLASS_TEST
|
---|
1979 |
|
---|
1980 | fi
|
---|
1981 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5
|
---|
1982 | $as_echo "$ac_cv_prog_javac_works" >&6; }
|
---|
1983 | if test "x$JAVACFLAGS" = x ; then
|
---|
1984 | JAVACFLAGS="-source 1.4 -target 1.4"
|
---|
1985 | fi
|
---|
1986 |
|
---|
1987 |
|
---|
1988 |
|
---|
1989 |
|
---|
1990 | if test "x$JAVA" = x ; then
|
---|
1991 | if test x$JAVAPREFIX = x; then
|
---|
1992 | test x$JAVA = x && for ac_prog in java$EXEEXT
|
---|
1993 | do
|
---|
1994 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
1995 | set dummy $ac_prog; ac_word=$2
|
---|
1996 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
1997 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
1998 | if test "${ac_cv_prog_JAVA+set}" = set; then
|
---|
1999 | $as_echo_n "(cached) " >&6
|
---|
2000 | else
|
---|
2001 | if test -n "$JAVA"; then
|
---|
2002 | ac_cv_prog_JAVA="$JAVA" # Let the user override the test.
|
---|
2003 | else
|
---|
2004 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
2005 | for as_dir in $PATH
|
---|
2006 | do
|
---|
2007 | IFS=$as_save_IFS
|
---|
2008 | test -z "$as_dir" && as_dir=.
|
---|
2009 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
2010 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
2011 | ac_cv_prog_JAVA="$ac_prog"
|
---|
2012 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
2013 | break 2
|
---|
2014 | fi
|
---|
2015 | done
|
---|
2016 | done
|
---|
2017 | IFS=$as_save_IFS
|
---|
2018 |
|
---|
2019 | fi
|
---|
2020 | fi
|
---|
2021 | JAVA=$ac_cv_prog_JAVA
|
---|
2022 | if test -n "$JAVA"; then
|
---|
2023 | { $as_echo "$as_me:$LINENO: result: $JAVA" >&5
|
---|
2024 | $as_echo "$JAVA" >&6; }
|
---|
2025 | else
|
---|
2026 | { $as_echo "$as_me:$LINENO: result: no" >&5
|
---|
2027 | $as_echo "no" >&6; }
|
---|
2028 | fi
|
---|
2029 |
|
---|
2030 |
|
---|
2031 | test -n "$JAVA" && break
|
---|
2032 | done
|
---|
2033 |
|
---|
2034 | else
|
---|
2035 | test x$JAVA = x && for ac_prog in java$EXEEXT
|
---|
2036 | do
|
---|
2037 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
2038 | set dummy $ac_prog; ac_word=$2
|
---|
2039 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
2040 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
2041 | if test "${ac_cv_prog_JAVA+set}" = set; then
|
---|
2042 | $as_echo_n "(cached) " >&6
|
---|
2043 | else
|
---|
2044 | if test -n "$JAVA"; then
|
---|
2045 | ac_cv_prog_JAVA="$JAVA" # Let the user override the test.
|
---|
2046 | else
|
---|
2047 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
2048 | for as_dir in $PATH
|
---|
2049 | do
|
---|
2050 | IFS=$as_save_IFS
|
---|
2051 | test -z "$as_dir" && as_dir=.
|
---|
2052 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
2053 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
2054 | ac_cv_prog_JAVA="$ac_prog"
|
---|
2055 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
2056 | break 2
|
---|
2057 | fi
|
---|
2058 | done
|
---|
2059 | done
|
---|
2060 | IFS=$as_save_IFS
|
---|
2061 |
|
---|
2062 | fi
|
---|
2063 | fi
|
---|
2064 | JAVA=$ac_cv_prog_JAVA
|
---|
2065 | if test -n "$JAVA"; then
|
---|
2066 | { $as_echo "$as_me:$LINENO: result: $JAVA" >&5
|
---|
2067 | $as_echo "$JAVA" >&6; }
|
---|
2068 | else
|
---|
2069 | { $as_echo "$as_me:$LINENO: result: no" >&5
|
---|
2070 | $as_echo "no" >&6; }
|
---|
2071 | fi
|
---|
2072 |
|
---|
2073 |
|
---|
2074 | test -n "$JAVA" && break
|
---|
2075 | done
|
---|
2076 | test -n "$JAVA" || JAVA="$JAVAPREFIX"
|
---|
2077 |
|
---|
2078 | fi
|
---|
2079 | test x$JAVA = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java virtual machine found in \$PATH" >&5
|
---|
2080 | $as_echo "$as_me: error: no acceptable Java virtual machine found in \$PATH" >&2;}
|
---|
2081 | { (exit 1); exit 1; }; }
|
---|
2082 | fi
|
---|
2083 |
|
---|
2084 |
|
---|
2085 | # Extract the first word of "uudecode$EXEEXT", so it can be a program name with args.
|
---|
2086 | set dummy uudecode$EXEEXT; ac_word=$2
|
---|
2087 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
2088 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
2089 | if test "${ac_cv_prog_uudecode+set}" = set; then
|
---|
2090 | $as_echo_n "(cached) " >&6
|
---|
2091 | else
|
---|
2092 | if test -n "$uudecode"; then
|
---|
2093 | ac_cv_prog_uudecode="$uudecode" # Let the user override the test.
|
---|
2094 | else
|
---|
2095 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
2096 | for as_dir in $PATH
|
---|
2097 | do
|
---|
2098 | IFS=$as_save_IFS
|
---|
2099 | test -z "$as_dir" && as_dir=.
|
---|
2100 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
2101 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
2102 | ac_cv_prog_uudecode="yes"
|
---|
2103 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
2104 | break 2
|
---|
2105 | fi
|
---|
2106 | done
|
---|
2107 | done
|
---|
2108 | IFS=$as_save_IFS
|
---|
2109 |
|
---|
2110 | fi
|
---|
2111 | fi
|
---|
2112 | uudecode=$ac_cv_prog_uudecode
|
---|
2113 | if test -n "$uudecode"; then
|
---|
2114 | { $as_echo "$as_me:$LINENO: result: $uudecode" >&5
|
---|
2115 | $as_echo "$uudecode" >&6; }
|
---|
2116 | else
|
---|
2117 | { $as_echo "$as_me:$LINENO: result: no" >&5
|
---|
2118 | $as_echo "no" >&6; }
|
---|
2119 | fi
|
---|
2120 |
|
---|
2121 |
|
---|
2122 | if test x$uudecode = xyes; then
|
---|
2123 | { $as_echo "$as_me:$LINENO: checking if uudecode can decode base 64 file" >&5
|
---|
2124 | $as_echo_n "checking if uudecode can decode base 64 file... " >&6; }
|
---|
2125 | if test "${ac_cv_prog_uudecode_base64+set}" = set; then
|
---|
2126 | $as_echo_n "(cached) " >&6
|
---|
2127 | else
|
---|
2128 |
|
---|
2129 | cat << \EOF > Test.uue
|
---|
2130 | begin-base64 644 Test.class
|
---|
2131 | yv66vgADAC0AFQcAAgEABFRlc3QHAAQBABBqYXZhL2xhbmcvT2JqZWN0AQAE
|
---|
2132 | bWFpbgEAFihbTGphdmEvbGFuZy9TdHJpbmc7KVYBAARDb2RlAQAPTGluZU51
|
---|
2133 | bWJlclRhYmxlDAAKAAsBAARleGl0AQAEKEkpVgoADQAJBwAOAQAQamF2YS9s
|
---|
2134 | YW5nL1N5c3RlbQEABjxpbml0PgEAAygpVgwADwAQCgADABEBAApTb3VyY2VG
|
---|
2135 | aWxlAQAJVGVzdC5qYXZhACEAAQADAAAAAAACAAkABQAGAAEABwAAACEAAQAB
|
---|
2136 | AAAABQO4AAyxAAAAAQAIAAAACgACAAAACgAEAAsAAQAPABAAAQAHAAAAIQAB
|
---|
2137 | AAEAAAAFKrcAErEAAAABAAgAAAAKAAIAAAAEAAQABAABABMAAAACABQ=
|
---|
2138 | ====
|
---|
2139 | EOF
|
---|
2140 | if uudecode$EXEEXT Test.uue; then
|
---|
2141 | ac_cv_prog_uudecode_base64=yes
|
---|
2142 | else
|
---|
2143 | echo "configure: 2143: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
|
---|
2144 | echo "configure: failed file was:" >&5
|
---|
2145 | cat Test.uue >&5
|
---|
2146 | ac_cv_prog_uudecode_base64=no
|
---|
2147 | fi
|
---|
2148 | rm -f Test.uue
|
---|
2149 | fi
|
---|
2150 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_uudecode_base64" >&5
|
---|
2151 | $as_echo "$ac_cv_prog_uudecode_base64" >&6; }
|
---|
2152 | fi
|
---|
2153 | if test x$ac_cv_prog_uudecode_base64 != xyes; then
|
---|
2154 | rm -f Test.class
|
---|
2155 | { $as_echo "$as_me:$LINENO: WARNING: I have to compile Test.class from scratch" >&5
|
---|
2156 | $as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}
|
---|
2157 | if test x$ac_cv_prog_javac_works = xno; then
|
---|
2158 | { { $as_echo "$as_me:$LINENO: error: Cannot compile java source. $JAVAC does not work properly" >&5
|
---|
2159 | $as_echo "$as_me: error: Cannot compile java source. $JAVAC does not work properly" >&2;}
|
---|
2160 | { (exit 1); exit 1; }; }
|
---|
2161 | fi
|
---|
2162 | if test x$ac_cv_prog_javac_works = x; then
|
---|
2163 |
|
---|
2164 | if test "x$JAVAC" = x ; then
|
---|
2165 | if test "x$JAVAPREFIX" = x; then
|
---|
2166 | test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
|
---|
2167 | do
|
---|
2168 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
2169 | set dummy $ac_prog; ac_word=$2
|
---|
2170 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
2171 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
2172 | if test "${ac_cv_prog_JAVAC+set}" = set; then
|
---|
2173 | $as_echo_n "(cached) " >&6
|
---|
2174 | else
|
---|
2175 | if test -n "$JAVAC"; then
|
---|
2176 | ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
|
---|
2177 | else
|
---|
2178 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
2179 | for as_dir in $PATH
|
---|
2180 | do
|
---|
2181 | IFS=$as_save_IFS
|
---|
2182 | test -z "$as_dir" && as_dir=.
|
---|
2183 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
2184 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
2185 | ac_cv_prog_JAVAC="$ac_prog"
|
---|
2186 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
2187 | break 2
|
---|
2188 | fi
|
---|
2189 | done
|
---|
2190 | done
|
---|
2191 | IFS=$as_save_IFS
|
---|
2192 |
|
---|
2193 | fi
|
---|
2194 | fi
|
---|
2195 | JAVAC=$ac_cv_prog_JAVAC
|
---|
2196 | if test -n "$JAVAC"; then
|
---|
2197 | { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5
|
---|
2198 | $as_echo "$JAVAC" >&6; }
|
---|
2199 | else
|
---|
2200 | { $as_echo "$as_me:$LINENO: result: no" >&5
|
---|
2201 | $as_echo "no" >&6; }
|
---|
2202 | fi
|
---|
2203 |
|
---|
2204 |
|
---|
2205 | test -n "$JAVAC" && break
|
---|
2206 | done
|
---|
2207 |
|
---|
2208 | else
|
---|
2209 | test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
|
---|
2210 | do
|
---|
2211 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
2212 | set dummy $ac_prog; ac_word=$2
|
---|
2213 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
2214 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
2215 | if test "${ac_cv_prog_JAVAC+set}" = set; then
|
---|
2216 | $as_echo_n "(cached) " >&6
|
---|
2217 | else
|
---|
2218 | if test -n "$JAVAC"; then
|
---|
2219 | ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
|
---|
2220 | else
|
---|
2221 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
2222 | for as_dir in $PATH
|
---|
2223 | do
|
---|
2224 | IFS=$as_save_IFS
|
---|
2225 | test -z "$as_dir" && as_dir=.
|
---|
2226 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
2227 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
2228 | ac_cv_prog_JAVAC="$ac_prog"
|
---|
2229 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
2230 | break 2
|
---|
2231 | fi
|
---|
2232 | done
|
---|
2233 | done
|
---|
2234 | IFS=$as_save_IFS
|
---|
2235 |
|
---|
2236 | fi
|
---|
2237 | fi
|
---|
2238 | JAVAC=$ac_cv_prog_JAVAC
|
---|
2239 | if test -n "$JAVAC"; then
|
---|
2240 | { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5
|
---|
2241 | $as_echo "$JAVAC" >&6; }
|
---|
2242 | else
|
---|
2243 | { $as_echo "$as_me:$LINENO: result: no" >&5
|
---|
2244 | $as_echo "no" >&6; }
|
---|
2245 | fi
|
---|
2246 |
|
---|
2247 |
|
---|
2248 | test -n "$JAVAC" && break
|
---|
2249 | done
|
---|
2250 | test -n "$JAVAC" || JAVAC="$JAVAPREFIX"
|
---|
2251 |
|
---|
2252 | fi
|
---|
2253 | test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5
|
---|
2254 | $as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}
|
---|
2255 | { (exit 1); exit 1; }; }
|
---|
2256 | else
|
---|
2257 | echo "Checking for javac... $JAVAC"
|
---|
2258 | fi
|
---|
2259 |
|
---|
2260 |
|
---|
2261 | { $as_echo "$as_me:$LINENO: checking if $JAVAC works" >&5
|
---|
2262 | $as_echo_n "checking if $JAVAC works... " >&6; }
|
---|
2263 | if test "${ac_cv_prog_javac_works+set}" = set; then
|
---|
2264 | $as_echo_n "(cached) " >&6
|
---|
2265 | else
|
---|
2266 |
|
---|
2267 | JAVA_TEST=Test.java
|
---|
2268 | CLASS_TEST=Test.class
|
---|
2269 | cat << \EOF > $JAVA_TEST
|
---|
2270 | /* #line 2270 "configure" */
|
---|
2271 | public class Test {
|
---|
2272 | }
|
---|
2273 | EOF
|
---|
2274 | if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
|
---|
2275 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
2276 | (eval $ac_try) 2>&5
|
---|
2277 | ac_status=$?
|
---|
2278 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
2279 | (exit $ac_status); }; } >/dev/null 2>&1; then
|
---|
2280 | ac_cv_prog_javac_works=yes
|
---|
2281 | else
|
---|
2282 | { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
|
---|
2283 | $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
|
---|
2284 | { (exit 1); exit 1; }; }
|
---|
2285 | echo "configure: failed program was:" >&5
|
---|
2286 | cat $JAVA_TEST >&5
|
---|
2287 | fi
|
---|
2288 | rm -f $JAVA_TEST $CLASS_TEST
|
---|
2289 |
|
---|
2290 | fi
|
---|
2291 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5
|
---|
2292 | $as_echo "$ac_cv_prog_javac_works" >&6; }
|
---|
2293 | if test "x$JAVACFLAGS" = x ; then
|
---|
2294 | JAVACFLAGS="-source 1.4 -target 1.4"
|
---|
2295 | fi
|
---|
2296 |
|
---|
2297 |
|
---|
2298 |
|
---|
2299 | fi
|
---|
2300 | fi
|
---|
2301 | { $as_echo "$as_me:$LINENO: checking if $JAVA works" >&5
|
---|
2302 | $as_echo_n "checking if $JAVA works... " >&6; }
|
---|
2303 | if test "${ac_cv_prog_java_works+set}" = set; then
|
---|
2304 | $as_echo_n "(cached) " >&6
|
---|
2305 | else
|
---|
2306 |
|
---|
2307 | JAVA_TEST=Test.java
|
---|
2308 | CLASS_TEST=Test.class
|
---|
2309 | TEST=Test
|
---|
2310 | cat << \EOF > $JAVA_TEST
|
---|
2311 | /* [#]line 2311 "configure" */
|
---|
2312 | public class Test {
|
---|
2313 | public static void main (String args[]) {
|
---|
2314 | System.exit (0);
|
---|
2315 | } }
|
---|
2316 | EOF
|
---|
2317 | if test x$ac_cv_prog_uudecode_base64 != xyes; then
|
---|
2318 | if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
|
---|
2319 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
2320 | (eval $ac_try) 2>&5
|
---|
2321 | ac_status=$?
|
---|
2322 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
2323 | (exit $ac_status); }; } && test -s $CLASS_TEST; then
|
---|
2324 | :
|
---|
2325 | else
|
---|
2326 | echo "configure: failed program was:" >&5
|
---|
2327 | cat $JAVA_TEST >&5
|
---|
2328 | { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
|
---|
2329 | $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
|
---|
2330 | { (exit 1); exit 1; }; }
|
---|
2331 | fi
|
---|
2332 | fi
|
---|
2333 | if { ac_try='$JAVA $JAVAFLAGS $TEST'
|
---|
2334 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
2335 | (eval $ac_try) 2>&5
|
---|
2336 | ac_status=$?
|
---|
2337 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
2338 | (exit $ac_status); }; } >/dev/null 2>&1; then
|
---|
2339 | ac_cv_prog_java_works=yes
|
---|
2340 | else
|
---|
2341 | echo "configure: failed program was:" >&5
|
---|
2342 | cat $JAVA_TEST >&5
|
---|
2343 | { { $as_echo "$as_me:$LINENO: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&5
|
---|
2344 | $as_echo "$as_me: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&2;}
|
---|
2345 | { (exit 1); exit 1; }; }
|
---|
2346 | fi
|
---|
2347 | rm -fr $JAVA_TEST $CLASS_TEST Test.uue
|
---|
2348 |
|
---|
2349 | fi
|
---|
2350 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_java_works" >&5
|
---|
2351 | $as_echo "$ac_cv_prog_java_works" >&6; }
|
---|
2352 |
|
---|
2353 |
|
---|
2354 |
|
---|
2355 | fi
|
---|
2356 |
|
---|
2357 |
|
---|
2358 | # Check whether --with-unac was given.
|
---|
2359 | if test "${with_unac+set}" = set; then
|
---|
2360 | withval=$with_unac; UNAC_DIR=$withval
|
---|
2361 | fi
|
---|
2362 |
|
---|
2363 |
|
---|
2364 |
|
---|
2365 | # Check whether --with-libiconv was given.
|
---|
2366 | if test "${with_libiconv+set}" = set; then
|
---|
2367 | withval=$with_libiconv; LIBICONV_DIR=$withval
|
---|
2368 | fi
|
---|
2369 |
|
---|
2370 |
|
---|
2371 | if test $ENABLE_ACCENTFOLD = 1; then
|
---|
2372 | ac_aux_dir=
|
---|
2373 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
---|
2374 | if test -f "$ac_dir/install-sh"; then
|
---|
2375 | ac_aux_dir=$ac_dir
|
---|
2376 | ac_install_sh="$ac_aux_dir/install-sh -c"
|
---|
2377 | break
|
---|
2378 | elif test -f "$ac_dir/install.sh"; then
|
---|
2379 | ac_aux_dir=$ac_dir
|
---|
2380 | ac_install_sh="$ac_aux_dir/install.sh -c"
|
---|
2381 | break
|
---|
2382 | elif test -f "$ac_dir/shtool"; then
|
---|
2383 | ac_aux_dir=$ac_dir
|
---|
2384 | ac_install_sh="$ac_aux_dir/shtool install -c"
|
---|
2385 | break
|
---|
2386 | fi
|
---|
2387 | done
|
---|
2388 | if test -z "$ac_aux_dir"; then
|
---|
2389 | { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
|
---|
2390 | $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
|
---|
2391 | { (exit 1); exit 1; }; }
|
---|
2392 | fi
|
---|
2393 |
|
---|
2394 | # These three variables are undocumented and unsupported,
|
---|
2395 | # and are intended to be withdrawn in a future Autoconf release.
|
---|
2396 | # They can cause serious problems if a builder's source tree is in a directory
|
---|
2397 | # whose full name contains unusual characters.
|
---|
2398 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
|
---|
2399 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
|
---|
2400 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
|
---|
2401 |
|
---|
2402 |
|
---|
2403 |
|
---|
2404 |
|
---|
2405 | subdirs="$subdirs packages/unac"
|
---|
2406 |
|
---|
2407 | fi
|
---|
2408 |
|
---|
2409 |
|
---|
2410 | if test $ENABLE_MG = 1; then
|
---|
2411 | if test ! -d mg; then
|
---|
2412 | echo "***** Folder mg does not exist, cannot ENABLE_MG.";
|
---|
2413 | exit 1;
|
---|
2414 | fi
|
---|
2415 | subdirs="$subdirs mg"
|
---|
2416 |
|
---|
2417 | fi
|
---|
2418 |
|
---|
2419 | if test $ENABLE_MGPP = 1; then
|
---|
2420 | if test ! -d mgpp; then
|
---|
2421 | echo "***** Folder mgpp does not exist, cannot ENABLE_MGPP.";
|
---|
2422 | exit 1;
|
---|
2423 | fi
|
---|
2424 | subdirs="$subdirs mgpp"
|
---|
2425 |
|
---|
2426 | fi
|
---|
2427 |
|
---|
2428 | if test $ENABLE_LUCENE = 1; then
|
---|
2429 | if test ! -d lucene-gs; then
|
---|
2430 | echo "***** Folder lucene-gs does not exist, cannot ENABLE_LUCENE.";
|
---|
2431 | exit 1;
|
---|
2432 | fi
|
---|
2433 | fi
|
---|
2434 |
|
---|
2435 | srclist="lucene-gs/Makefile"
|
---|
2436 |
|
---|
2437 | ac_config_files="$ac_config_files Makefile $srclist"
|
---|
2438 |
|
---|
2439 | cat >confcache <<\_ACEOF
|
---|
2440 | # This file is a shell script that caches the results of configure
|
---|
2441 | # tests run on this system so they can be shared between configure
|
---|
2442 | # scripts and configure runs, see configure's option --config-cache.
|
---|
2443 | # It is not useful on other systems. If it contains results you don't
|
---|
2444 | # want to keep, you may remove or edit it.
|
---|
2445 | #
|
---|
2446 | # config.status only pays attention to the cache file if you give it
|
---|
2447 | # the --recheck option to rerun configure.
|
---|
2448 | #
|
---|
2449 | # `ac_cv_env_foo' variables (set or unset) will be overridden when
|
---|
2450 | # loading this file, other *unset* `ac_cv_foo' will be assigned the
|
---|
2451 | # following values.
|
---|
2452 |
|
---|
2453 | _ACEOF
|
---|
2454 |
|
---|
2455 | # The following way of writing the cache mishandles newlines in values,
|
---|
2456 | # but we know of no workaround that is simple, portable, and efficient.
|
---|
2457 | # So, we kill variables containing newlines.
|
---|
2458 | # Ultrix sh set writes to stderr and can't be redirected directly,
|
---|
2459 | # and sets the high bit in the cache file unless we assign to the vars.
|
---|
2460 | (
|
---|
2461 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
|
---|
2462 | eval ac_val=\$$ac_var
|
---|
2463 | case $ac_val in #(
|
---|
2464 | *${as_nl}*)
|
---|
2465 | case $ac_var in #(
|
---|
2466 | *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
|
---|
2467 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
---|
2468 | esac
|
---|
2469 | case $ac_var in #(
|
---|
2470 | _ | IFS | as_nl) ;; #(
|
---|
2471 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
---|
2472 | *) $as_unset $ac_var ;;
|
---|
2473 | esac ;;
|
---|
2474 | esac
|
---|
2475 | done
|
---|
2476 |
|
---|
2477 | (set) 2>&1 |
|
---|
2478 | case $as_nl`(ac_space=' '; set) 2>&1` in #(
|
---|
2479 | *${as_nl}ac_space=\ *)
|
---|
2480 | # `set' does not quote correctly, so add quotes (double-quote
|
---|
2481 | # substitution turns \\\\ into \\, and sed turns \\ into \).
|
---|
2482 | sed -n \
|
---|
2483 | "s/'/'\\\\''/g;
|
---|
2484 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
---|
2485 | ;; #(
|
---|
2486 | *)
|
---|
2487 | # `set' quotes correctly as required by POSIX, so do not add quotes.
|
---|
2488 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
---|
2489 | ;;
|
---|
2490 | esac |
|
---|
2491 | sort
|
---|
2492 | ) |
|
---|
2493 | sed '
|
---|
2494 | /^ac_cv_env_/b end
|
---|
2495 | t clear
|
---|
2496 | :clear
|
---|
2497 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
---|
2498 | t end
|
---|
2499 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
---|
2500 | :end' >>confcache
|
---|
2501 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
---|
2502 | if test -w "$cache_file"; then
|
---|
2503 | test "x$cache_file" != "x/dev/null" &&
|
---|
2504 | { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
|
---|
2505 | $as_echo "$as_me: updating cache $cache_file" >&6;}
|
---|
2506 | cat confcache >$cache_file
|
---|
2507 | else
|
---|
2508 | { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
|
---|
2509 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
---|
2510 | fi
|
---|
2511 | fi
|
---|
2512 | rm -f confcache
|
---|
2513 |
|
---|
2514 | test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
---|
2515 | # Let make expand exec_prefix.
|
---|
2516 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
---|
2517 |
|
---|
2518 | # Transform confdefs.h into DEFS.
|
---|
2519 | # Protect against shell expansion while executing Makefile rules.
|
---|
2520 | # Protect against Makefile macro expansion.
|
---|
2521 | #
|
---|
2522 | # If the first sed substitution is executed (which looks for macros that
|
---|
2523 | # take arguments), then branch to the quote section. Otherwise,
|
---|
2524 | # look for a macro that doesn't take arguments.
|
---|
2525 | ac_script='
|
---|
2526 | :mline
|
---|
2527 | /\\$/{
|
---|
2528 | N
|
---|
2529 | s,\\\n,,
|
---|
2530 | b mline
|
---|
2531 | }
|
---|
2532 | t clear
|
---|
2533 | :clear
|
---|
2534 | s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
|
---|
2535 | t quote
|
---|
2536 | s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
|
---|
2537 | t quote
|
---|
2538 | b any
|
---|
2539 | :quote
|
---|
2540 | s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
|
---|
2541 | s/\[/\\&/g
|
---|
2542 | s/\]/\\&/g
|
---|
2543 | s/\$/$$/g
|
---|
2544 | H
|
---|
2545 | :any
|
---|
2546 | ${
|
---|
2547 | g
|
---|
2548 | s/^\n//
|
---|
2549 | s/\n/ /g
|
---|
2550 | p
|
---|
2551 | }
|
---|
2552 | '
|
---|
2553 | DEFS=`sed -n "$ac_script" confdefs.h`
|
---|
2554 |
|
---|
2555 |
|
---|
2556 | ac_libobjs=
|
---|
2557 | ac_ltlibobjs=
|
---|
2558 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
---|
2559 | # 1. Remove the extension, and $U if already installed.
|
---|
2560 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
|
---|
2561 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
|
---|
2562 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
---|
2563 | # will be set to the directory where LIBOBJS objects are built.
|
---|
2564 | ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
---|
2565 | ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
|
---|
2566 | done
|
---|
2567 | LIBOBJS=$ac_libobjs
|
---|
2568 |
|
---|
2569 | LTLIBOBJS=$ac_ltlibobjs
|
---|
2570 |
|
---|
2571 |
|
---|
2572 |
|
---|
2573 | : ${CONFIG_STATUS=./config.status}
|
---|
2574 | ac_write_fail=0
|
---|
2575 | ac_clean_files_save=$ac_clean_files
|
---|
2576 | ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
---|
2577 | { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
|
---|
2578 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
---|
2579 | cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
2580 | #! $SHELL
|
---|
2581 | # Generated by $as_me.
|
---|
2582 | # Run this file to recreate the current configuration.
|
---|
2583 | # Compiler output produced by configure, useful for debugging
|
---|
2584 | # configure, is in config.log if it exists.
|
---|
2585 |
|
---|
2586 | debug=false
|
---|
2587 | ac_cs_recheck=false
|
---|
2588 | ac_cs_silent=false
|
---|
2589 | SHELL=\${CONFIG_SHELL-$SHELL}
|
---|
2590 | _ACEOF
|
---|
2591 |
|
---|
2592 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
2593 | ## --------------------- ##
|
---|
2594 | ## M4sh Initialization. ##
|
---|
2595 | ## --------------------- ##
|
---|
2596 |
|
---|
2597 | # Be more Bourne compatible
|
---|
2598 | DUALCASE=1; export DUALCASE # for MKS sh
|
---|
2599 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
---|
2600 | emulate sh
|
---|
2601 | NULLCMD=:
|
---|
2602 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
---|
2603 | # is contrary to our usage. Disable this feature.
|
---|
2604 | alias -g '${1+"$@"}'='"$@"'
|
---|
2605 | setopt NO_GLOB_SUBST
|
---|
2606 | else
|
---|
2607 | case `(set -o) 2>/dev/null` in
|
---|
2608 | *posix*) set -o posix ;;
|
---|
2609 | esac
|
---|
2610 |
|
---|
2611 | fi
|
---|
2612 |
|
---|
2613 |
|
---|
2614 |
|
---|
2615 |
|
---|
2616 | # PATH needs CR
|
---|
2617 | # Avoid depending upon Character Ranges.
|
---|
2618 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
---|
2619 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
---|
2620 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
---|
2621 | as_cr_digits='0123456789'
|
---|
2622 | as_cr_alnum=$as_cr_Letters$as_cr_digits
|
---|
2623 |
|
---|
2624 | as_nl='
|
---|
2625 | '
|
---|
2626 | export as_nl
|
---|
2627 | # Printing a long string crashes Solaris 7 /usr/bin/printf.
|
---|
2628 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
---|
2629 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
2630 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
2631 | if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
---|
2632 | as_echo='printf %s\n'
|
---|
2633 | as_echo_n='printf %s'
|
---|
2634 | else
|
---|
2635 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
---|
2636 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
---|
2637 | as_echo_n='/usr/ucb/echo -n'
|
---|
2638 | else
|
---|
2639 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
---|
2640 | as_echo_n_body='eval
|
---|
2641 | arg=$1;
|
---|
2642 | case $arg in
|
---|
2643 | *"$as_nl"*)
|
---|
2644 | expr "X$arg" : "X\\(.*\\)$as_nl";
|
---|
2645 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
---|
2646 | esac;
|
---|
2647 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
---|
2648 | '
|
---|
2649 | export as_echo_n_body
|
---|
2650 | as_echo_n='sh -c $as_echo_n_body as_echo'
|
---|
2651 | fi
|
---|
2652 | export as_echo_body
|
---|
2653 | as_echo='sh -c $as_echo_body as_echo'
|
---|
2654 | fi
|
---|
2655 |
|
---|
2656 | # The user is always right.
|
---|
2657 | if test "${PATH_SEPARATOR+set}" != set; then
|
---|
2658 | PATH_SEPARATOR=:
|
---|
2659 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
---|
2660 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
---|
2661 | PATH_SEPARATOR=';'
|
---|
2662 | }
|
---|
2663 | fi
|
---|
2664 |
|
---|
2665 | # Support unset when possible.
|
---|
2666 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
---|
2667 | as_unset=unset
|
---|
2668 | else
|
---|
2669 | as_unset=false
|
---|
2670 | fi
|
---|
2671 |
|
---|
2672 |
|
---|
2673 | # IFS
|
---|
2674 | # We need space, tab and new line, in precisely that order. Quoting is
|
---|
2675 | # there to prevent editors from complaining about space-tab.
|
---|
2676 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
---|
2677 | # splitting by setting IFS to empty value.)
|
---|
2678 | IFS=" "" $as_nl"
|
---|
2679 |
|
---|
2680 | # Find who we are. Look in the path if we contain no directory separator.
|
---|
2681 | case $0 in
|
---|
2682 | *[\\/]* ) as_myself=$0 ;;
|
---|
2683 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
2684 | for as_dir in $PATH
|
---|
2685 | do
|
---|
2686 | IFS=$as_save_IFS
|
---|
2687 | test -z "$as_dir" && as_dir=.
|
---|
2688 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
---|
2689 | done
|
---|
2690 | IFS=$as_save_IFS
|
---|
2691 |
|
---|
2692 | ;;
|
---|
2693 | esac
|
---|
2694 | # We did not find ourselves, most probably we were run as `sh COMMAND'
|
---|
2695 | # in which case we are not to be found in the path.
|
---|
2696 | if test "x$as_myself" = x; then
|
---|
2697 | as_myself=$0
|
---|
2698 | fi
|
---|
2699 | if test ! -f "$as_myself"; then
|
---|
2700 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
---|
2701 | { (exit 1); exit 1; }
|
---|
2702 | fi
|
---|
2703 |
|
---|
2704 | # Work around bugs in pre-3.0 UWIN ksh.
|
---|
2705 | for as_var in ENV MAIL MAILPATH
|
---|
2706 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
---|
2707 | done
|
---|
2708 | PS1='$ '
|
---|
2709 | PS2='> '
|
---|
2710 | PS4='+ '
|
---|
2711 |
|
---|
2712 | # NLS nuisances.
|
---|
2713 | LC_ALL=C
|
---|
2714 | export LC_ALL
|
---|
2715 | LANGUAGE=C
|
---|
2716 | export LANGUAGE
|
---|
2717 |
|
---|
2718 | # Required to use basename.
|
---|
2719 | if expr a : '\(a\)' >/dev/null 2>&1 &&
|
---|
2720 | test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
---|
2721 | as_expr=expr
|
---|
2722 | else
|
---|
2723 | as_expr=false
|
---|
2724 | fi
|
---|
2725 |
|
---|
2726 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
---|
2727 | as_basename=basename
|
---|
2728 | else
|
---|
2729 | as_basename=false
|
---|
2730 | fi
|
---|
2731 |
|
---|
2732 |
|
---|
2733 | # Name of the executable.
|
---|
2734 | as_me=`$as_basename -- "$0" ||
|
---|
2735 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
---|
2736 | X"$0" : 'X\(//\)$' \| \
|
---|
2737 | X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
2738 | $as_echo X/"$0" |
|
---|
2739 | sed '/^.*\/\([^/][^/]*\)\/*$/{
|
---|
2740 | s//\1/
|
---|
2741 | q
|
---|
2742 | }
|
---|
2743 | /^X\/\(\/\/\)$/{
|
---|
2744 | s//\1/
|
---|
2745 | q
|
---|
2746 | }
|
---|
2747 | /^X\/\(\/\).*/{
|
---|
2748 | s//\1/
|
---|
2749 | q
|
---|
2750 | }
|
---|
2751 | s/.*/./; q'`
|
---|
2752 |
|
---|
2753 | # CDPATH.
|
---|
2754 | $as_unset CDPATH
|
---|
2755 |
|
---|
2756 |
|
---|
2757 |
|
---|
2758 | as_lineno_1=$LINENO
|
---|
2759 | as_lineno_2=$LINENO
|
---|
2760 | test "x$as_lineno_1" != "x$as_lineno_2" &&
|
---|
2761 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
---|
2762 |
|
---|
2763 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
---|
2764 | # uniformly replaced by the line number. The first 'sed' inserts a
|
---|
2765 | # line-number line after each line using $LINENO; the second 'sed'
|
---|
2766 | # does the real work. The second script uses 'N' to pair each
|
---|
2767 | # line-number line with the line containing $LINENO, and appends
|
---|
2768 | # trailing '-' during substitution so that $LINENO is not a special
|
---|
2769 | # case at line end.
|
---|
2770 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
---|
2771 | # scripts with optimization help from Paolo Bonzini. Blame Lee
|
---|
2772 | # E. McMahon (1931-1989) for sed's syntax. :-)
|
---|
2773 | sed -n '
|
---|
2774 | p
|
---|
2775 | /[$]LINENO/=
|
---|
2776 | ' <$as_myself |
|
---|
2777 | sed '
|
---|
2778 | s/[$]LINENO.*/&-/
|
---|
2779 | t lineno
|
---|
2780 | b
|
---|
2781 | :lineno
|
---|
2782 | N
|
---|
2783 | :loop
|
---|
2784 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
---|
2785 | t loop
|
---|
2786 | s/-\n.*//
|
---|
2787 | ' >$as_me.lineno &&
|
---|
2788 | chmod +x "$as_me.lineno" ||
|
---|
2789 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
---|
2790 | { (exit 1); exit 1; }; }
|
---|
2791 |
|
---|
2792 | # Don't try to exec as it changes $[0], causing all sort of problems
|
---|
2793 | # (the dirname of $[0] is not the place where we might find the
|
---|
2794 | # original and so on. Autoconf is especially sensitive to this).
|
---|
2795 | . "./$as_me.lineno"
|
---|
2796 | # Exit status is that of the last command.
|
---|
2797 | exit
|
---|
2798 | }
|
---|
2799 |
|
---|
2800 |
|
---|
2801 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
---|
2802 | as_dirname=dirname
|
---|
2803 | else
|
---|
2804 | as_dirname=false
|
---|
2805 | fi
|
---|
2806 |
|
---|
2807 | ECHO_C= ECHO_N= ECHO_T=
|
---|
2808 | case `echo -n x` in
|
---|
2809 | -n*)
|
---|
2810 | case `echo 'x\c'` in
|
---|
2811 | *c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
---|
2812 | *) ECHO_C='\c';;
|
---|
2813 | esac;;
|
---|
2814 | *)
|
---|
2815 | ECHO_N='-n';;
|
---|
2816 | esac
|
---|
2817 | if expr a : '\(a\)' >/dev/null 2>&1 &&
|
---|
2818 | test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
---|
2819 | as_expr=expr
|
---|
2820 | else
|
---|
2821 | as_expr=false
|
---|
2822 | fi
|
---|
2823 |
|
---|
2824 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
2825 | if test -d conf$$.dir; then
|
---|
2826 | rm -f conf$$.dir/conf$$.file
|
---|
2827 | else
|
---|
2828 | rm -f conf$$.dir
|
---|
2829 | mkdir conf$$.dir 2>/dev/null
|
---|
2830 | fi
|
---|
2831 | if (echo >conf$$.file) 2>/dev/null; then
|
---|
2832 | if ln -s conf$$.file conf$$ 2>/dev/null; then
|
---|
2833 | as_ln_s='ln -s'
|
---|
2834 | # ... but there are two gotchas:
|
---|
2835 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
---|
2836 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
---|
2837 | # In both cases, we have to default to `cp -p'.
|
---|
2838 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
---|
2839 | as_ln_s='cp -p'
|
---|
2840 | elif ln conf$$.file conf$$ 2>/dev/null; then
|
---|
2841 | as_ln_s=ln
|
---|
2842 | else
|
---|
2843 | as_ln_s='cp -p'
|
---|
2844 | fi
|
---|
2845 | else
|
---|
2846 | as_ln_s='cp -p'
|
---|
2847 | fi
|
---|
2848 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
---|
2849 | rmdir conf$$.dir 2>/dev/null
|
---|
2850 |
|
---|
2851 | if mkdir -p . 2>/dev/null; then
|
---|
2852 | as_mkdir_p=:
|
---|
2853 | else
|
---|
2854 | test -d ./-p && rmdir ./-p
|
---|
2855 | as_mkdir_p=false
|
---|
2856 | fi
|
---|
2857 |
|
---|
2858 | if test -x / >/dev/null 2>&1; then
|
---|
2859 | as_test_x='test -x'
|
---|
2860 | else
|
---|
2861 | if ls -dL / >/dev/null 2>&1; then
|
---|
2862 | as_ls_L_option=L
|
---|
2863 | else
|
---|
2864 | as_ls_L_option=
|
---|
2865 | fi
|
---|
2866 | as_test_x='
|
---|
2867 | eval sh -c '\''
|
---|
2868 | if test -d "$1"; then
|
---|
2869 | test -d "$1/.";
|
---|
2870 | else
|
---|
2871 | case $1 in
|
---|
2872 | -*)set "./$1";;
|
---|
2873 | esac;
|
---|
2874 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
---|
2875 | ???[sx]*):;;*)false;;esac;fi
|
---|
2876 | '\'' sh
|
---|
2877 | '
|
---|
2878 | fi
|
---|
2879 | as_executable_p=$as_test_x
|
---|
2880 |
|
---|
2881 | # Sed expression to map a string onto a valid CPP name.
|
---|
2882 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
---|
2883 |
|
---|
2884 | # Sed expression to map a string onto a valid variable name.
|
---|
2885 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
---|
2886 |
|
---|
2887 |
|
---|
2888 | exec 6>&1
|
---|
2889 |
|
---|
2890 | # Save the log message, to keep $[0] and so on meaningful, and to
|
---|
2891 | # report actual input values of CONFIG_FILES etc. instead of their
|
---|
2892 | # values after options handling.
|
---|
2893 | ac_log="
|
---|
2894 | This file was extended by $as_me, which was
|
---|
2895 | generated by GNU Autoconf 2.63. Invocation command line was
|
---|
2896 |
|
---|
2897 | CONFIG_FILES = $CONFIG_FILES
|
---|
2898 | CONFIG_HEADERS = $CONFIG_HEADERS
|
---|
2899 | CONFIG_LINKS = $CONFIG_LINKS
|
---|
2900 | CONFIG_COMMANDS = $CONFIG_COMMANDS
|
---|
2901 | $ $0 $@
|
---|
2902 |
|
---|
2903 | on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
2904 | "
|
---|
2905 |
|
---|
2906 | _ACEOF
|
---|
2907 |
|
---|
2908 | case $ac_config_files in *"
|
---|
2909 | "*) set x $ac_config_files; shift; ac_config_files=$*;;
|
---|
2910 | esac
|
---|
2911 |
|
---|
2912 |
|
---|
2913 |
|
---|
2914 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
2915 | # Files that config.status was made for.
|
---|
2916 | config_files="$ac_config_files"
|
---|
2917 |
|
---|
2918 | _ACEOF
|
---|
2919 |
|
---|
2920 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
2921 | ac_cs_usage="\
|
---|
2922 | \`$as_me' instantiates files from templates according to the
|
---|
2923 | current configuration.
|
---|
2924 |
|
---|
2925 | Usage: $0 [OPTION]... [FILE]...
|
---|
2926 |
|
---|
2927 | -h, --help print this help, then exit
|
---|
2928 | -V, --version print version number and configuration settings, then exit
|
---|
2929 | -q, --quiet, --silent
|
---|
2930 | do not print progress messages
|
---|
2931 | -d, --debug don't remove temporary files
|
---|
2932 | --recheck update $as_me by reconfiguring in the same conditions
|
---|
2933 | --file=FILE[:TEMPLATE]
|
---|
2934 | instantiate the configuration file FILE
|
---|
2935 |
|
---|
2936 | Configuration files:
|
---|
2937 | $config_files
|
---|
2938 |
|
---|
2939 | Report bugs to <[email protected]>."
|
---|
2940 |
|
---|
2941 | _ACEOF
|
---|
2942 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
2943 | ac_cs_version="\\
|
---|
2944 | config.status
|
---|
2945 | configured by $0, generated by GNU Autoconf 2.63,
|
---|
2946 | with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
|
---|
2947 |
|
---|
2948 | Copyright (C) 2008 Free Software Foundation, Inc.
|
---|
2949 | This config.status script is free software; the Free Software Foundation
|
---|
2950 | gives unlimited permission to copy, distribute and modify it."
|
---|
2951 |
|
---|
2952 | ac_pwd='$ac_pwd'
|
---|
2953 | srcdir='$srcdir'
|
---|
2954 | test -n "\$AWK" || AWK=awk
|
---|
2955 | _ACEOF
|
---|
2956 |
|
---|
2957 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
2958 | # The default lists apply if the user does not specify any file.
|
---|
2959 | ac_need_defaults=:
|
---|
2960 | while test $# != 0
|
---|
2961 | do
|
---|
2962 | case $1 in
|
---|
2963 | --*=*)
|
---|
2964 | ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
---|
2965 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
---|
2966 | ac_shift=:
|
---|
2967 | ;;
|
---|
2968 | *)
|
---|
2969 | ac_option=$1
|
---|
2970 | ac_optarg=$2
|
---|
2971 | ac_shift=shift
|
---|
2972 | ;;
|
---|
2973 | esac
|
---|
2974 |
|
---|
2975 | case $ac_option in
|
---|
2976 | # Handling of the options.
|
---|
2977 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
---|
2978 | ac_cs_recheck=: ;;
|
---|
2979 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
---|
2980 | $as_echo "$ac_cs_version"; exit ;;
|
---|
2981 | --debug | --debu | --deb | --de | --d | -d )
|
---|
2982 | debug=: ;;
|
---|
2983 | --file | --fil | --fi | --f )
|
---|
2984 | $ac_shift
|
---|
2985 | case $ac_optarg in
|
---|
2986 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
2987 | esac
|
---|
2988 | CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
|
---|
2989 | ac_need_defaults=false;;
|
---|
2990 | --he | --h | --help | --hel | -h )
|
---|
2991 | $as_echo "$ac_cs_usage"; exit ;;
|
---|
2992 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
2993 | | -silent | --silent | --silen | --sile | --sil | --si | --s)
|
---|
2994 | ac_cs_silent=: ;;
|
---|
2995 |
|
---|
2996 | # This is an error.
|
---|
2997 | -*) { $as_echo "$as_me: error: unrecognized option: $1
|
---|
2998 | Try \`$0 --help' for more information." >&2
|
---|
2999 | { (exit 1); exit 1; }; } ;;
|
---|
3000 |
|
---|
3001 | *) ac_config_targets="$ac_config_targets $1"
|
---|
3002 | ac_need_defaults=false ;;
|
---|
3003 |
|
---|
3004 | esac
|
---|
3005 | shift
|
---|
3006 | done
|
---|
3007 |
|
---|
3008 | ac_configure_extra_args=
|
---|
3009 |
|
---|
3010 | if $ac_cs_silent; then
|
---|
3011 | exec 6>/dev/null
|
---|
3012 | ac_configure_extra_args="$ac_configure_extra_args --silent"
|
---|
3013 | fi
|
---|
3014 |
|
---|
3015 | _ACEOF
|
---|
3016 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
3017 | if \$ac_cs_recheck; then
|
---|
3018 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
---|
3019 | shift
|
---|
3020 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
|
---|
3021 | CONFIG_SHELL='$SHELL'
|
---|
3022 | export CONFIG_SHELL
|
---|
3023 | exec "\$@"
|
---|
3024 | fi
|
---|
3025 |
|
---|
3026 | _ACEOF
|
---|
3027 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
3028 | exec 5>>config.log
|
---|
3029 | {
|
---|
3030 | echo
|
---|
3031 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
---|
3032 | ## Running $as_me. ##
|
---|
3033 | _ASBOX
|
---|
3034 | $as_echo "$ac_log"
|
---|
3035 | } >&5
|
---|
3036 |
|
---|
3037 | _ACEOF
|
---|
3038 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
3039 | _ACEOF
|
---|
3040 |
|
---|
3041 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
3042 |
|
---|
3043 | # Handling of arguments.
|
---|
3044 | for ac_config_target in $ac_config_targets
|
---|
3045 | do
|
---|
3046 | case $ac_config_target in
|
---|
3047 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
---|
3048 | "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;;
|
---|
3049 |
|
---|
3050 | *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
---|
3051 | $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
---|
3052 | { (exit 1); exit 1; }; };;
|
---|
3053 | esac
|
---|
3054 | done
|
---|
3055 |
|
---|
3056 |
|
---|
3057 | # If the user did not use the arguments to specify the items to instantiate,
|
---|
3058 | # then the envvar interface is used. Set only those that are not.
|
---|
3059 | # We use the long form for the default assignment because of an extremely
|
---|
3060 | # bizarre bug on SunOS 4.1.3.
|
---|
3061 | if $ac_need_defaults; then
|
---|
3062 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
---|
3063 | fi
|
---|
3064 |
|
---|
3065 | # Have a temporary directory for convenience. Make it in the build tree
|
---|
3066 | # simply because there is no reason against having it here, and in addition,
|
---|
3067 | # creating and moving files from /tmp can sometimes cause problems.
|
---|
3068 | # Hook for its removal unless debugging.
|
---|
3069 | # Note that there is a small window in which the directory will not be cleaned:
|
---|
3070 | # after its creation but before its name has been assigned to `$tmp'.
|
---|
3071 | $debug ||
|
---|
3072 | {
|
---|
3073 | tmp=
|
---|
3074 | trap 'exit_status=$?
|
---|
3075 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
|
---|
3076 | ' 0
|
---|
3077 | trap '{ (exit 1); exit 1; }' 1 2 13 15
|
---|
3078 | }
|
---|
3079 | # Create a (secure) tmp directory for tmp files.
|
---|
3080 |
|
---|
3081 | {
|
---|
3082 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
---|
3083 | test -n "$tmp" && test -d "$tmp"
|
---|
3084 | } ||
|
---|
3085 | {
|
---|
3086 | tmp=./conf$$-$RANDOM
|
---|
3087 | (umask 077 && mkdir "$tmp")
|
---|
3088 | } ||
|
---|
3089 | {
|
---|
3090 | $as_echo "$as_me: cannot create a temporary directory in ." >&2
|
---|
3091 | { (exit 1); exit 1; }
|
---|
3092 | }
|
---|
3093 |
|
---|
3094 | # Set up the scripts for CONFIG_FILES section.
|
---|
3095 | # No need to generate them if there are no CONFIG_FILES.
|
---|
3096 | # This happens for instance with `./config.status config.h'.
|
---|
3097 | if test -n "$CONFIG_FILES"; then
|
---|
3098 |
|
---|
3099 |
|
---|
3100 | ac_cr='
|
---|
3101 | '
|
---|
3102 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
---|
3103 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
---|
3104 | ac_cs_awk_cr='\\r'
|
---|
3105 | else
|
---|
3106 | ac_cs_awk_cr=$ac_cr
|
---|
3107 | fi
|
---|
3108 |
|
---|
3109 | echo 'BEGIN {' >"$tmp/subs1.awk" &&
|
---|
3110 | _ACEOF
|
---|
3111 |
|
---|
3112 |
|
---|
3113 | {
|
---|
3114 | echo "cat >conf$$subs.awk <<_ACEOF" &&
|
---|
3115 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
|
---|
3116 | echo "_ACEOF"
|
---|
3117 | } >conf$$subs.sh ||
|
---|
3118 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
---|
3119 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
---|
3120 | { (exit 1); exit 1; }; }
|
---|
3121 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
|
---|
3122 | ac_delim='%!_!# '
|
---|
3123 | for ac_last_try in false false false false false :; do
|
---|
3124 | . ./conf$$subs.sh ||
|
---|
3125 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
---|
3126 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
---|
3127 | { (exit 1); exit 1; }; }
|
---|
3128 |
|
---|
3129 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
|
---|
3130 | if test $ac_delim_n = $ac_delim_num; then
|
---|
3131 | break
|
---|
3132 | elif $ac_last_try; then
|
---|
3133 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
---|
3134 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
---|
3135 | { (exit 1); exit 1; }; }
|
---|
3136 | else
|
---|
3137 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
---|
3138 | fi
|
---|
3139 | done
|
---|
3140 | rm -f conf$$subs.sh
|
---|
3141 |
|
---|
3142 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
3143 | cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
|
---|
3144 | _ACEOF
|
---|
3145 | sed -n '
|
---|
3146 | h
|
---|
3147 | s/^/S["/; s/!.*/"]=/
|
---|
3148 | p
|
---|
3149 | g
|
---|
3150 | s/^[^!]*!//
|
---|
3151 | :repl
|
---|
3152 | t repl
|
---|
3153 | s/'"$ac_delim"'$//
|
---|
3154 | t delim
|
---|
3155 | :nl
|
---|
3156 | h
|
---|
3157 | s/\(.\{148\}\).*/\1/
|
---|
3158 | t more1
|
---|
3159 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
|
---|
3160 | p
|
---|
3161 | n
|
---|
3162 | b repl
|
---|
3163 | :more1
|
---|
3164 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
---|
3165 | p
|
---|
3166 | g
|
---|
3167 | s/.\{148\}//
|
---|
3168 | t nl
|
---|
3169 | :delim
|
---|
3170 | h
|
---|
3171 | s/\(.\{148\}\).*/\1/
|
---|
3172 | t more2
|
---|
3173 | s/["\\]/\\&/g; s/^/"/; s/$/"/
|
---|
3174 | p
|
---|
3175 | b
|
---|
3176 | :more2
|
---|
3177 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
---|
3178 | p
|
---|
3179 | g
|
---|
3180 | s/.\{148\}//
|
---|
3181 | t delim
|
---|
3182 | ' <conf$$subs.awk | sed '
|
---|
3183 | /^[^""]/{
|
---|
3184 | N
|
---|
3185 | s/\n//
|
---|
3186 | }
|
---|
3187 | ' >>$CONFIG_STATUS || ac_write_fail=1
|
---|
3188 | rm -f conf$$subs.awk
|
---|
3189 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
3190 | _ACAWK
|
---|
3191 | cat >>"\$tmp/subs1.awk" <<_ACAWK &&
|
---|
3192 | for (key in S) S_is_set[key] = 1
|
---|
3193 | FS = ""
|
---|
3194 |
|
---|
3195 | }
|
---|
3196 | {
|
---|
3197 | line = $ 0
|
---|
3198 | nfields = split(line, field, "@")
|
---|
3199 | substed = 0
|
---|
3200 | len = length(field[1])
|
---|
3201 | for (i = 2; i < nfields; i++) {
|
---|
3202 | key = field[i]
|
---|
3203 | keylen = length(key)
|
---|
3204 | if (S_is_set[key]) {
|
---|
3205 | value = S[key]
|
---|
3206 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
|
---|
3207 | len += length(value) + length(field[++i])
|
---|
3208 | substed = 1
|
---|
3209 | } else
|
---|
3210 | len += 1 + keylen
|
---|
3211 | }
|
---|
3212 |
|
---|
3213 | print line
|
---|
3214 | }
|
---|
3215 |
|
---|
3216 | _ACAWK
|
---|
3217 | _ACEOF
|
---|
3218 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
3219 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
---|
3220 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
---|
3221 | else
|
---|
3222 | cat
|
---|
3223 | fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
|
---|
3224 | || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
|
---|
3225 | $as_echo "$as_me: error: could not setup config files machinery" >&2;}
|
---|
3226 | { (exit 1); exit 1; }; }
|
---|
3227 | _ACEOF
|
---|
3228 |
|
---|
3229 | # VPATH may cause trouble with some makes, so we remove $(srcdir),
|
---|
3230 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
---|
3231 | # trailing colons and then remove the whole line if VPATH becomes empty
|
---|
3232 | # (actually we leave an empty line to preserve line numbers).
|
---|
3233 | if test "x$srcdir" = x.; then
|
---|
3234 | ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
---|
3235 | s/:*\$(srcdir):*/:/
|
---|
3236 | s/:*\${srcdir}:*/:/
|
---|
3237 | s/:*@srcdir@:*/:/
|
---|
3238 | s/^\([^=]*=[ ]*\):*/\1/
|
---|
3239 | s/:*$//
|
---|
3240 | s/^[^=]*=[ ]*$//
|
---|
3241 | }'
|
---|
3242 | fi
|
---|
3243 |
|
---|
3244 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
3245 | fi # test -n "$CONFIG_FILES"
|
---|
3246 |
|
---|
3247 |
|
---|
3248 | eval set X " :F $CONFIG_FILES "
|
---|
3249 | shift
|
---|
3250 | for ac_tag
|
---|
3251 | do
|
---|
3252 | case $ac_tag in
|
---|
3253 | :[FHLC]) ac_mode=$ac_tag; continue;;
|
---|
3254 | esac
|
---|
3255 | case $ac_mode$ac_tag in
|
---|
3256 | :[FHL]*:*);;
|
---|
3257 | :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
|
---|
3258 | $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
|
---|
3259 | { (exit 1); exit 1; }; };;
|
---|
3260 | :[FH]-) ac_tag=-:-;;
|
---|
3261 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
---|
3262 | esac
|
---|
3263 | ac_save_IFS=$IFS
|
---|
3264 | IFS=:
|
---|
3265 | set x $ac_tag
|
---|
3266 | IFS=$ac_save_IFS
|
---|
3267 | shift
|
---|
3268 | ac_file=$1
|
---|
3269 | shift
|
---|
3270 |
|
---|
3271 | case $ac_mode in
|
---|
3272 | :L) ac_source=$1;;
|
---|
3273 | :[FH])
|
---|
3274 | ac_file_inputs=
|
---|
3275 | for ac_f
|
---|
3276 | do
|
---|
3277 | case $ac_f in
|
---|
3278 | -) ac_f="$tmp/stdin";;
|
---|
3279 | *) # Look for the file first in the build tree, then in the source tree
|
---|
3280 | # (if the path is not absolute). The absolute path cannot be DOS-style,
|
---|
3281 | # because $ac_f cannot contain `:'.
|
---|
3282 | test -f "$ac_f" ||
|
---|
3283 | case $ac_f in
|
---|
3284 | [\\/$]*) false;;
|
---|
3285 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
---|
3286 | esac ||
|
---|
3287 | { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
|
---|
3288 | $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
|
---|
3289 | { (exit 1); exit 1; }; };;
|
---|
3290 | esac
|
---|
3291 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
---|
3292 | ac_file_inputs="$ac_file_inputs '$ac_f'"
|
---|
3293 | done
|
---|
3294 |
|
---|
3295 | # Let's still pretend it is `configure' which instantiates (i.e., don't
|
---|
3296 | # use $as_me), people would be surprised to read:
|
---|
3297 | # /* config.h. Generated by config.status. */
|
---|
3298 | configure_input='Generated from '`
|
---|
3299 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
---|
3300 | `' by configure.'
|
---|
3301 | if test x"$ac_file" != x-; then
|
---|
3302 | configure_input="$ac_file. $configure_input"
|
---|
3303 | { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
|
---|
3304 | $as_echo "$as_me: creating $ac_file" >&6;}
|
---|
3305 | fi
|
---|
3306 | # Neutralize special characters interpreted by sed in replacement strings.
|
---|
3307 | case $configure_input in #(
|
---|
3308 | *\&* | *\|* | *\\* )
|
---|
3309 | ac_sed_conf_input=`$as_echo "$configure_input" |
|
---|
3310 | sed 's/[\\\\&|]/\\\\&/g'`;; #(
|
---|
3311 | *) ac_sed_conf_input=$configure_input;;
|
---|
3312 | esac
|
---|
3313 |
|
---|
3314 | case $ac_tag in
|
---|
3315 | *:-:* | *:-) cat >"$tmp/stdin" \
|
---|
3316 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
---|
3317 | $as_echo "$as_me: error: could not create $ac_file" >&2;}
|
---|
3318 | { (exit 1); exit 1; }; } ;;
|
---|
3319 | esac
|
---|
3320 | ;;
|
---|
3321 | esac
|
---|
3322 |
|
---|
3323 | ac_dir=`$as_dirname -- "$ac_file" ||
|
---|
3324 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
3325 | X"$ac_file" : 'X\(//\)[^/]' \| \
|
---|
3326 | X"$ac_file" : 'X\(//\)$' \| \
|
---|
3327 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
3328 | $as_echo X"$ac_file" |
|
---|
3329 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
3330 | s//\1/
|
---|
3331 | q
|
---|
3332 | }
|
---|
3333 | /^X\(\/\/\)[^/].*/{
|
---|
3334 | s//\1/
|
---|
3335 | q
|
---|
3336 | }
|
---|
3337 | /^X\(\/\/\)$/{
|
---|
3338 | s//\1/
|
---|
3339 | q
|
---|
3340 | }
|
---|
3341 | /^X\(\/\).*/{
|
---|
3342 | s//\1/
|
---|
3343 | q
|
---|
3344 | }
|
---|
3345 | s/.*/./; q'`
|
---|
3346 | { as_dir="$ac_dir"
|
---|
3347 | case $as_dir in #(
|
---|
3348 | -*) as_dir=./$as_dir;;
|
---|
3349 | esac
|
---|
3350 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
---|
3351 | as_dirs=
|
---|
3352 | while :; do
|
---|
3353 | case $as_dir in #(
|
---|
3354 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
---|
3355 | *) as_qdir=$as_dir;;
|
---|
3356 | esac
|
---|
3357 | as_dirs="'$as_qdir' $as_dirs"
|
---|
3358 | as_dir=`$as_dirname -- "$as_dir" ||
|
---|
3359 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
3360 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
3361 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
3362 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
3363 | $as_echo X"$as_dir" |
|
---|
3364 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
3365 | s//\1/
|
---|
3366 | q
|
---|
3367 | }
|
---|
3368 | /^X\(\/\/\)[^/].*/{
|
---|
3369 | s//\1/
|
---|
3370 | q
|
---|
3371 | }
|
---|
3372 | /^X\(\/\/\)$/{
|
---|
3373 | s//\1/
|
---|
3374 | q
|
---|
3375 | }
|
---|
3376 | /^X\(\/\).*/{
|
---|
3377 | s//\1/
|
---|
3378 | q
|
---|
3379 | }
|
---|
3380 | s/.*/./; q'`
|
---|
3381 | test -d "$as_dir" && break
|
---|
3382 | done
|
---|
3383 | test -z "$as_dirs" || eval "mkdir $as_dirs"
|
---|
3384 | } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
---|
3385 | $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
---|
3386 | { (exit 1); exit 1; }; }; }
|
---|
3387 | ac_builddir=.
|
---|
3388 |
|
---|
3389 | case "$ac_dir" in
|
---|
3390 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
3391 | *)
|
---|
3392 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
---|
3393 | # A ".." for each directory in $ac_dir_suffix.
|
---|
3394 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
---|
3395 | case $ac_top_builddir_sub in
|
---|
3396 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
3397 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
---|
3398 | esac ;;
|
---|
3399 | esac
|
---|
3400 | ac_abs_top_builddir=$ac_pwd
|
---|
3401 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
---|
3402 | # for backward compatibility:
|
---|
3403 | ac_top_builddir=$ac_top_build_prefix
|
---|
3404 |
|
---|
3405 | case $srcdir in
|
---|
3406 | .) # We are building in place.
|
---|
3407 | ac_srcdir=.
|
---|
3408 | ac_top_srcdir=$ac_top_builddir_sub
|
---|
3409 | ac_abs_top_srcdir=$ac_pwd ;;
|
---|
3410 | [\\/]* | ?:[\\/]* ) # Absolute name.
|
---|
3411 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
3412 | ac_top_srcdir=$srcdir
|
---|
3413 | ac_abs_top_srcdir=$srcdir ;;
|
---|
3414 | *) # Relative name.
|
---|
3415 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
---|
3416 | ac_top_srcdir=$ac_top_build_prefix$srcdir
|
---|
3417 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
---|
3418 | esac
|
---|
3419 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
---|
3420 |
|
---|
3421 |
|
---|
3422 | case $ac_mode in
|
---|
3423 | :F)
|
---|
3424 | #
|
---|
3425 | # CONFIG_FILE
|
---|
3426 | #
|
---|
3427 |
|
---|
3428 | _ACEOF
|
---|
3429 |
|
---|
3430 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
3431 | # If the template does not know about datarootdir, expand it.
|
---|
3432 | # FIXME: This hack should be removed a few years after 2.60.
|
---|
3433 | ac_datarootdir_hack=; ac_datarootdir_seen=
|
---|
3434 |
|
---|
3435 | ac_sed_dataroot='
|
---|
3436 | /datarootdir/ {
|
---|
3437 | p
|
---|
3438 | q
|
---|
3439 | }
|
---|
3440 | /@datadir@/p
|
---|
3441 | /@docdir@/p
|
---|
3442 | /@infodir@/p
|
---|
3443 | /@localedir@/p
|
---|
3444 | /@mandir@/p
|
---|
3445 | '
|
---|
3446 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
---|
3447 | *datarootdir*) ac_datarootdir_seen=yes;;
|
---|
3448 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
---|
3449 | { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
---|
3450 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
---|
3451 | _ACEOF
|
---|
3452 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
3453 | ac_datarootdir_hack='
|
---|
3454 | s&@datadir@&$datadir&g
|
---|
3455 | s&@docdir@&$docdir&g
|
---|
3456 | s&@infodir@&$infodir&g
|
---|
3457 | s&@localedir@&$localedir&g
|
---|
3458 | s&@mandir@&$mandir&g
|
---|
3459 | s&\\\${datarootdir}&$datarootdir&g' ;;
|
---|
3460 | esac
|
---|
3461 | _ACEOF
|
---|
3462 |
|
---|
3463 | # Neutralize VPATH when `$srcdir' = `.'.
|
---|
3464 | # Shell code in configure.ac might set extrasub.
|
---|
3465 | # FIXME: do we really want to maintain this feature?
|
---|
3466 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
3467 | ac_sed_extra="$ac_vpsub
|
---|
3468 | $extrasub
|
---|
3469 | _ACEOF
|
---|
3470 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
3471 | :t
|
---|
3472 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
---|
3473 | s|@configure_input@|$ac_sed_conf_input|;t t
|
---|
3474 | s&@top_builddir@&$ac_top_builddir_sub&;t t
|
---|
3475 | s&@top_build_prefix@&$ac_top_build_prefix&;t t
|
---|
3476 | s&@srcdir@&$ac_srcdir&;t t
|
---|
3477 | s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
---|
3478 | s&@top_srcdir@&$ac_top_srcdir&;t t
|
---|
3479 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
|
---|
3480 | s&@builddir@&$ac_builddir&;t t
|
---|
3481 | s&@abs_builddir@&$ac_abs_builddir&;t t
|
---|
3482 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
---|
3483 | $ac_datarootdir_hack
|
---|
3484 | "
|
---|
3485 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
|
---|
3486 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
---|
3487 | $as_echo "$as_me: error: could not create $ac_file" >&2;}
|
---|
3488 | { (exit 1); exit 1; }; }
|
---|
3489 |
|
---|
3490 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
---|
3491 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
|
---|
3492 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
|
---|
3493 | { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
---|
3494 | which seems to be undefined. Please make sure it is defined." >&5
|
---|
3495 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
---|
3496 | which seems to be undefined. Please make sure it is defined." >&2;}
|
---|
3497 |
|
---|
3498 | rm -f "$tmp/stdin"
|
---|
3499 | case $ac_file in
|
---|
3500 | -) cat "$tmp/out" && rm -f "$tmp/out";;
|
---|
3501 | *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
|
---|
3502 | esac \
|
---|
3503 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
---|
3504 | $as_echo "$as_me: error: could not create $ac_file" >&2;}
|
---|
3505 | { (exit 1); exit 1; }; }
|
---|
3506 | ;;
|
---|
3507 |
|
---|
3508 |
|
---|
3509 |
|
---|
3510 | esac
|
---|
3511 |
|
---|
3512 | done # for ac_tag
|
---|
3513 |
|
---|
3514 |
|
---|
3515 | { (exit 0); exit 0; }
|
---|
3516 | _ACEOF
|
---|
3517 | chmod +x $CONFIG_STATUS
|
---|
3518 | ac_clean_files=$ac_clean_files_save
|
---|
3519 |
|
---|
3520 | test $ac_write_fail = 0 ||
|
---|
3521 | { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
|
---|
3522 | $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
|
---|
3523 | { (exit 1); exit 1; }; }
|
---|
3524 |
|
---|
3525 |
|
---|
3526 | # configure is writing to config.log, and then calls config.status.
|
---|
3527 | # config.status does its own redirection, appending to config.log.
|
---|
3528 | # Unfortunately, on DOS this fails, as config.log is still kept open
|
---|
3529 | # by configure, so config.status won't be able to write to it; its
|
---|
3530 | # output is simply discarded. So we exec the FD to /dev/null,
|
---|
3531 | # effectively closing config.log, so it can be properly (re)opened and
|
---|
3532 | # appended to by config.status. When coming back to configure, we
|
---|
3533 | # need to make the FD available again.
|
---|
3534 | if test "$no_create" != yes; then
|
---|
3535 | ac_cs_success=:
|
---|
3536 | ac_config_status_args=
|
---|
3537 | test "$silent" = yes &&
|
---|
3538 | ac_config_status_args="$ac_config_status_args --quiet"
|
---|
3539 | exec 5>/dev/null
|
---|
3540 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
|
---|
3541 | exec 5>>config.log
|
---|
3542 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
---|
3543 | # would make configure fail if this is the last instruction.
|
---|
3544 | $ac_cs_success || { (exit 1); exit 1; }
|
---|
3545 | fi
|
---|
3546 |
|
---|
3547 | #
|
---|
3548 | # CONFIG_SUBDIRS section.
|
---|
3549 | #
|
---|
3550 | if test "$no_recursion" != yes; then
|
---|
3551 |
|
---|
3552 | # Remove --cache-file, --srcdir, and --disable-option-checking arguments
|
---|
3553 | # so they do not pile up.
|
---|
3554 | ac_sub_configure_args=
|
---|
3555 | ac_prev=
|
---|
3556 | eval "set x $ac_configure_args"
|
---|
3557 | shift
|
---|
3558 | for ac_arg
|
---|
3559 | do
|
---|
3560 | if test -n "$ac_prev"; then
|
---|
3561 | ac_prev=
|
---|
3562 | continue
|
---|
3563 | fi
|
---|
3564 | case $ac_arg in
|
---|
3565 | -cache-file | --cache-file | --cache-fil | --cache-fi \
|
---|
3566 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
---|
3567 | ac_prev=cache_file ;;
|
---|
3568 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
---|
3569 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
|
---|
3570 | | --c=*)
|
---|
3571 | ;;
|
---|
3572 | --config-cache | -C)
|
---|
3573 | ;;
|
---|
3574 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
---|
3575 | ac_prev=srcdir ;;
|
---|
3576 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
---|
3577 | ;;
|
---|
3578 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
---|
3579 | ac_prev=prefix ;;
|
---|
3580 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
---|
3581 | ;;
|
---|
3582 | --disable-option-checking)
|
---|
3583 | ;;
|
---|
3584 | *)
|
---|
3585 | case $ac_arg in
|
---|
3586 | *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
3587 | esac
|
---|
3588 | ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
|
---|
3589 | esac
|
---|
3590 | done
|
---|
3591 |
|
---|
3592 | # Always prepend --prefix to ensure using the same prefix
|
---|
3593 | # in subdir configurations.
|
---|
3594 | ac_arg="--prefix=$prefix"
|
---|
3595 | case $ac_arg in
|
---|
3596 | *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
3597 | esac
|
---|
3598 | ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
|
---|
3599 |
|
---|
3600 | # Pass --silent
|
---|
3601 | if test "$silent" = yes; then
|
---|
3602 | ac_sub_configure_args="--silent $ac_sub_configure_args"
|
---|
3603 | fi
|
---|
3604 |
|
---|
3605 | # Always prepend --disable-option-checking to silence warnings, since
|
---|
3606 | # different subdirs can have different --enable and --with options.
|
---|
3607 | ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
|
---|
3608 |
|
---|
3609 | ac_popdir=`pwd`
|
---|
3610 | for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
|
---|
3611 |
|
---|
3612 | # Do not complain, so a configure script can configure whichever
|
---|
3613 | # parts of a large source tree are present.
|
---|
3614 | test -d "$srcdir/$ac_dir" || continue
|
---|
3615 |
|
---|
3616 | ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
|
---|
3617 | $as_echo "$as_me:$LINENO: $ac_msg" >&5
|
---|
3618 | $as_echo "$ac_msg" >&6
|
---|
3619 | { as_dir="$ac_dir"
|
---|
3620 | case $as_dir in #(
|
---|
3621 | -*) as_dir=./$as_dir;;
|
---|
3622 | esac
|
---|
3623 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
---|
3624 | as_dirs=
|
---|
3625 | while :; do
|
---|
3626 | case $as_dir in #(
|
---|
3627 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
---|
3628 | *) as_qdir=$as_dir;;
|
---|
3629 | esac
|
---|
3630 | as_dirs="'$as_qdir' $as_dirs"
|
---|
3631 | as_dir=`$as_dirname -- "$as_dir" ||
|
---|
3632 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
3633 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
3634 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
3635 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
3636 | $as_echo X"$as_dir" |
|
---|
3637 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
3638 | s//\1/
|
---|
3639 | q
|
---|
3640 | }
|
---|
3641 | /^X\(\/\/\)[^/].*/{
|
---|
3642 | s//\1/
|
---|
3643 | q
|
---|
3644 | }
|
---|
3645 | /^X\(\/\/\)$/{
|
---|
3646 | s//\1/
|
---|
3647 | q
|
---|
3648 | }
|
---|
3649 | /^X\(\/\).*/{
|
---|
3650 | s//\1/
|
---|
3651 | q
|
---|
3652 | }
|
---|
3653 | s/.*/./; q'`
|
---|
3654 | test -d "$as_dir" && break
|
---|
3655 | done
|
---|
3656 | test -z "$as_dirs" || eval "mkdir $as_dirs"
|
---|
3657 | } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
---|
3658 | $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
---|
3659 | { (exit 1); exit 1; }; }; }
|
---|
3660 | ac_builddir=.
|
---|
3661 |
|
---|
3662 | case "$ac_dir" in
|
---|
3663 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
3664 | *)
|
---|
3665 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
---|
3666 | # A ".." for each directory in $ac_dir_suffix.
|
---|
3667 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
---|
3668 | case $ac_top_builddir_sub in
|
---|
3669 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
3670 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
---|
3671 | esac ;;
|
---|
3672 | esac
|
---|
3673 | ac_abs_top_builddir=$ac_pwd
|
---|
3674 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
---|
3675 | # for backward compatibility:
|
---|
3676 | ac_top_builddir=$ac_top_build_prefix
|
---|
3677 |
|
---|
3678 | case $srcdir in
|
---|
3679 | .) # We are building in place.
|
---|
3680 | ac_srcdir=.
|
---|
3681 | ac_top_srcdir=$ac_top_builddir_sub
|
---|
3682 | ac_abs_top_srcdir=$ac_pwd ;;
|
---|
3683 | [\\/]* | ?:[\\/]* ) # Absolute name.
|
---|
3684 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
3685 | ac_top_srcdir=$srcdir
|
---|
3686 | ac_abs_top_srcdir=$srcdir ;;
|
---|
3687 | *) # Relative name.
|
---|
3688 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
---|
3689 | ac_top_srcdir=$ac_top_build_prefix$srcdir
|
---|
3690 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
---|
3691 | esac
|
---|
3692 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
---|
3693 |
|
---|
3694 |
|
---|
3695 | cd "$ac_dir"
|
---|
3696 |
|
---|
3697 | # Check for guested configure; otherwise get Cygnus style configure.
|
---|
3698 | if test -f "$ac_srcdir/configure.gnu"; then
|
---|
3699 | ac_sub_configure=$ac_srcdir/configure.gnu
|
---|
3700 | elif test -f "$ac_srcdir/configure"; then
|
---|
3701 | ac_sub_configure=$ac_srcdir/configure
|
---|
3702 | elif test -f "$ac_srcdir/configure.in"; then
|
---|
3703 | # This should be Cygnus configure.
|
---|
3704 | ac_sub_configure=$ac_aux_dir/configure
|
---|
3705 | else
|
---|
3706 | { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
|
---|
3707 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
|
---|
3708 | ac_sub_configure=
|
---|
3709 | fi
|
---|
3710 |
|
---|
3711 | # The recursion is here.
|
---|
3712 | if test -n "$ac_sub_configure"; then
|
---|
3713 | # Make the cache file name correct relative to the subdirectory.
|
---|
3714 | case $cache_file in
|
---|
3715 | [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
|
---|
3716 | *) # Relative name.
|
---|
3717 | ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
|
---|
3718 | esac
|
---|
3719 |
|
---|
3720 | { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
|
---|
3721 | $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
|
---|
3722 | # The eval makes quoting arguments work.
|
---|
3723 | eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
|
---|
3724 | --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
|
---|
3725 | { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
|
---|
3726 | $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
|
---|
3727 | { (exit 1); exit 1; }; }
|
---|
3728 | fi
|
---|
3729 |
|
---|
3730 | cd "$ac_popdir"
|
---|
3731 | done
|
---|
3732 | fi
|
---|
3733 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
---|
3734 | { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
---|
3735 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
---|
3736 | fi
|
---|
3737 |
|
---|