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