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