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