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