]>
Commit | Line | Data |
---|---|---|
b0b70d84 AC |
1 | #! /bin/sh |
2 | # Guess values for system-dependent variables and create Makefiles. | |
3 | # Generated by GNU Autoconf 2.57 for GCC libada experimental pre-3.5. | |
4 | # | |
5 | # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 | |
6 | # Free Software Foundation, Inc. | |
7 | # This configure script is free software; the Free Software Foundation | |
8 | # gives unlimited permission to copy, distribute and modify it. | |
9 | ## --------------------- ## | |
10 | ## M4sh Initialization. ## | |
11 | ## --------------------- ## | |
12 | ||
13 | # Be Bourne compatible | |
14 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
15 | emulate sh | |
16 | NULLCMD=: | |
17 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | |
18 | # is contrary to our usage. Disable this feature. | |
19 | alias -g '${1+"$@"}'='"$@"' | |
20 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | |
21 | set -o posix | |
22 | fi | |
23 | ||
24 | # Support unset when possible. | |
25 | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | |
26 | as_unset=unset | |
27 | else | |
28 | as_unset=false | |
29 | fi | |
30 | ||
31 | ||
32 | # Work around bugs in pre-3.0 UWIN ksh. | |
33 | $as_unset ENV MAIL MAILPATH | |
34 | PS1='$ ' | |
35 | PS2='> ' | |
36 | PS4='+ ' | |
37 | ||
38 | # NLS nuisances. | |
39 | for as_var in \ | |
40 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | |
41 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | |
42 | LC_TELEPHONE LC_TIME | |
43 | do | |
44 | if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then | |
45 | eval $as_var=C; export $as_var | |
46 | else | |
47 | $as_unset $as_var | |
48 | fi | |
49 | done | |
50 | ||
51 | # Required to use basename. | |
52 | if expr a : '\(a\)' >/dev/null 2>&1; then | |
53 | as_expr=expr | |
54 | else | |
55 | as_expr=false | |
56 | fi | |
57 | ||
58 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | |
59 | as_basename=basename | |
60 | else | |
61 | as_basename=false | |
62 | fi | |
63 | ||
64 | ||
65 | # Name of the executable. | |
66 | as_me=`$as_basename "$0" || | |
67 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
68 | X"$0" : 'X\(//\)$' \| \ | |
69 | X"$0" : 'X\(/\)$' \| \ | |
70 | . : '\(.\)' 2>/dev/null || | |
71 | echo X/"$0" | | |
72 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | |
73 | /^X\/\(\/\/\)$/{ s//\1/; q; } | |
74 | /^X\/\(\/\).*/{ s//\1/; q; } | |
75 | s/.*/./; q'` | |
76 | ||
77 | ||
78 | # PATH needs CR, and LINENO needs CR and PATH. | |
79 | # Avoid depending upon Character Ranges. | |
80 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
81 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
82 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
83 | as_cr_digits='0123456789' | |
84 | as_cr_alnum=$as_cr_Letters$as_cr_digits | |
85 | ||
86 | # The user is always right. | |
87 | if test "${PATH_SEPARATOR+set}" != set; then | |
88 | echo "#! /bin/sh" >conf$$.sh | |
89 | echo "exit 0" >>conf$$.sh | |
90 | chmod +x conf$$.sh | |
91 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | |
92 | PATH_SEPARATOR=';' | |
93 | else | |
94 | PATH_SEPARATOR=: | |
95 | fi | |
96 | rm -f conf$$.sh | |
97 | fi | |
98 | ||
99 | ||
100 | as_lineno_1=$LINENO | |
101 | as_lineno_2=$LINENO | |
102 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | |
103 | test "x$as_lineno_1" != "x$as_lineno_2" && | |
104 | test "x$as_lineno_3" = "x$as_lineno_2" || { | |
105 | # Find who we are. Look in the path if we contain no path at all | |
106 | # relative or not. | |
107 | case $0 in | |
108 | *[\\/]* ) as_myself=$0 ;; | |
109 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
110 | for as_dir in $PATH | |
111 | do | |
112 | IFS=$as_save_IFS | |
113 | test -z "$as_dir" && as_dir=. | |
114 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
115 | done | |
116 | ||
117 | ;; | |
118 | esac | |
119 | # We did not find ourselves, most probably we were run as `sh COMMAND' | |
120 | # in which case we are not to be found in the path. | |
121 | if test "x$as_myself" = x; then | |
122 | as_myself=$0 | |
123 | fi | |
124 | if test ! -f "$as_myself"; then | |
125 | { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 | |
126 | { (exit 1); exit 1; }; } | |
127 | fi | |
128 | case $CONFIG_SHELL in | |
129 | '') | |
130 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
131 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | |
132 | do | |
133 | IFS=$as_save_IFS | |
134 | test -z "$as_dir" && as_dir=. | |
135 | for as_base in sh bash ksh sh5; do | |
136 | case $as_dir in | |
137 | /*) | |
138 | if ("$as_dir/$as_base" -c ' | |
139 | as_lineno_1=$LINENO | |
140 | as_lineno_2=$LINENO | |
141 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | |
142 | test "x$as_lineno_1" != "x$as_lineno_2" && | |
143 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then | |
144 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | |
145 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | |
146 | CONFIG_SHELL=$as_dir/$as_base | |
147 | export CONFIG_SHELL | |
148 | exec "$CONFIG_SHELL" "$0" ${1+"$@"} | |
149 | fi;; | |
150 | esac | |
151 | done | |
152 | done | |
153 | ;; | |
154 | esac | |
155 | ||
156 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | |
157 | # uniformly replaced by the line number. The first 'sed' inserts a | |
158 | # line-number line before each line; the second 'sed' does the real | |
159 | # work. The second script uses 'N' to pair each line-number line | |
160 | # with the numbered line, and appends trailing '-' during | |
161 | # substitution so that $LINENO is not a special case at line end. | |
162 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | |
163 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) | |
164 | sed '=' <$as_myself | | |
165 | sed ' | |
166 | N | |
167 | s,$,-, | |
168 | : loop | |
169 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | |
170 | t loop | |
171 | s,-$,, | |
172 | s,^['$as_cr_digits']*\n,, | |
173 | ' >$as_me.lineno && | |
174 | chmod +x $as_me.lineno || | |
175 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | |
176 | { (exit 1); exit 1; }; } | |
177 | ||
178 | # Don't try to exec as it changes $[0], causing all sort of problems | |
179 | # (the dirname of $[0] is not the place where we might find the | |
180 | # original and so on. Autoconf is especially sensible to this). | |
181 | . ./$as_me.lineno | |
182 | # Exit status is that of the last command. | |
183 | exit | |
184 | } | |
185 | ||
186 | ||
187 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | |
188 | *c*,-n*) ECHO_N= ECHO_C=' | |
189 | ' ECHO_T=' ' ;; | |
190 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; | |
191 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;; | |
192 | esac | |
193 | ||
194 | if expr a : '\(a\)' >/dev/null 2>&1; then | |
195 | as_expr=expr | |
196 | else | |
197 | as_expr=false | |
198 | fi | |
199 | ||
200 | rm -f conf$$ conf$$.exe conf$$.file | |
201 | echo >conf$$.file | |
202 | if ln -s conf$$.file conf$$ 2>/dev/null; then | |
203 | # We could just check for DJGPP; but this test a) works b) is more generic | |
204 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | |
205 | if test -f conf$$.exe; then | |
206 | # Don't use ln at all; we don't have any links | |
207 | as_ln_s='cp -p' | |
208 | else | |
209 | as_ln_s='ln -s' | |
210 | fi | |
211 | elif ln conf$$.file conf$$ 2>/dev/null; then | |
212 | as_ln_s=ln | |
213 | else | |
214 | as_ln_s='cp -p' | |
215 | fi | |
216 | rm -f conf$$ conf$$.exe conf$$.file | |
217 | ||
218 | if mkdir -p . 2>/dev/null; then | |
219 | as_mkdir_p=: | |
220 | else | |
221 | as_mkdir_p=false | |
222 | fi | |
223 | ||
224 | as_executable_p="test -f" | |
225 | ||
226 | # Sed expression to map a string onto a valid CPP name. | |
227 | as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" | |
228 | ||
229 | # Sed expression to map a string onto a valid variable name. | |
230 | as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" | |
231 | ||
232 | ||
233 | # IFS | |
234 | # We need space, tab and new line, in precisely that order. | |
235 | as_nl=' | |
236 | ' | |
237 | IFS=" $as_nl" | |
238 | ||
239 | # CDPATH. | |
240 | $as_unset CDPATH | |
241 | ||
242 | ||
243 | # Name of the host. | |
244 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | |
245 | # so uname gets run too. | |
246 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | |
247 | ||
248 | exec 6>&1 | |
249 | ||
250 | # | |
251 | # Initializations. | |
252 | # | |
253 | ac_default_prefix=/usr/local | |
254 | ac_config_libobj_dir=. | |
255 | cross_compiling=no | |
256 | subdirs= | |
257 | MFLAGS= | |
258 | MAKEFLAGS= | |
259 | SHELL=${CONFIG_SHELL-/bin/sh} | |
260 | ||
261 | # Maximum number of lines to put in a shell here document. | |
262 | # This variable seems obsolete. It should probably be removed, and | |
263 | # only ac_max_sed_lines should be used. | |
264 | : ${ac_max_here_lines=38} | |
265 | ||
266 | # Identity of this package. | |
267 | PACKAGE_NAME='GCC libada' | |
268 | PACKAGE_TARNAME='gcc-libada' | |
269 | PACKAGE_VERSION='experimental pre-3.5' | |
270 | PACKAGE_STRING='GCC libada experimental pre-3.5' | |
271 | PACKAGE_BUGREPORT='' | |
272 | ||
273 | 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 MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os enable_shared LIBOBJS LTLIBOBJS' | |
274 | ac_subst_files='' | |
275 | ||
276 | # Initialize some variables set by options. | |
277 | ac_init_help= | |
278 | ac_init_version=false | |
279 | # The variables have the same names as the options, with | |
280 | # dashes changed to underlines. | |
281 | cache_file=/dev/null | |
282 | exec_prefix=NONE | |
283 | no_create= | |
284 | no_recursion= | |
285 | prefix=NONE | |
286 | program_prefix=NONE | |
287 | program_suffix=NONE | |
288 | program_transform_name=s,x,x, | |
289 | silent= | |
290 | site= | |
291 | srcdir= | |
292 | verbose= | |
293 | x_includes=NONE | |
294 | x_libraries=NONE | |
295 | ||
296 | # Installation directory options. | |
297 | # These are left unexpanded so users can "make install exec_prefix=/foo" | |
298 | # and all the variables that are supposed to be based on exec_prefix | |
299 | # by default will actually change. | |
300 | # Use braces instead of parens because sh, perl, etc. also accept them. | |
301 | bindir='${exec_prefix}/bin' | |
302 | sbindir='${exec_prefix}/sbin' | |
303 | libexecdir='${exec_prefix}/libexec' | |
304 | datadir='${prefix}/share' | |
305 | sysconfdir='${prefix}/etc' | |
306 | sharedstatedir='${prefix}/com' | |
307 | localstatedir='${prefix}/var' | |
308 | libdir='${exec_prefix}/lib' | |
309 | includedir='${prefix}/include' | |
310 | oldincludedir='/usr/include' | |
311 | infodir='${prefix}/info' | |
312 | mandir='${prefix}/man' | |
313 | ||
314 | ac_prev= | |
315 | for ac_option | |
316 | do | |
317 | # If the previous option needs an argument, assign it. | |
318 | if test -n "$ac_prev"; then | |
319 | eval "$ac_prev=\$ac_option" | |
320 | ac_prev= | |
321 | continue | |
322 | fi | |
323 | ||
324 | ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` | |
325 | ||
326 | # Accept the important Cygnus configure options, so we can diagnose typos. | |
327 | ||
328 | case $ac_option in | |
329 | ||
330 | -bindir | --bindir | --bindi | --bind | --bin | --bi) | |
331 | ac_prev=bindir ;; | |
332 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | |
333 | bindir=$ac_optarg ;; | |
334 | ||
335 | -build | --build | --buil | --bui | --bu) | |
336 | ac_prev=build_alias ;; | |
337 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) | |
338 | build_alias=$ac_optarg ;; | |
339 | ||
340 | -cache-file | --cache-file | --cache-fil | --cache-fi \ | |
341 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | |
342 | ac_prev=cache_file ;; | |
343 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | |
344 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | |
345 | cache_file=$ac_optarg ;; | |
346 | ||
347 | --config-cache | -C) | |
348 | cache_file=config.cache ;; | |
349 | ||
350 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da) | |
351 | ac_prev=datadir ;; | |
352 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | |
353 | | --da=*) | |
354 | datadir=$ac_optarg ;; | |
355 | ||
356 | -disable-* | --disable-*) | |
357 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | |
358 | # Reject names that are not valid shell variable names. | |
359 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | |
360 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | |
361 | { (exit 1); exit 1; }; } | |
362 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` | |
363 | eval "enable_$ac_feature=no" ;; | |
364 | ||
365 | -enable-* | --enable-*) | |
366 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | |
367 | # Reject names that are not valid shell variable names. | |
368 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | |
369 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | |
370 | { (exit 1); exit 1; }; } | |
371 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` | |
372 | case $ac_option in | |
373 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | |
374 | *) ac_optarg=yes ;; | |
375 | esac | |
376 | eval "enable_$ac_feature='$ac_optarg'" ;; | |
377 | ||
378 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | |
379 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | |
380 | | --exec | --exe | --ex) | |
381 | ac_prev=exec_prefix ;; | |
382 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | |
383 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | |
384 | | --exec=* | --exe=* | --ex=*) | |
385 | exec_prefix=$ac_optarg ;; | |
386 | ||
387 | -gas | --gas | --ga | --g) | |
388 | # Obsolete; use --with-gas. | |
389 | with_gas=yes ;; | |
390 | ||
391 | -help | --help | --hel | --he | -h) | |
392 | ac_init_help=long ;; | |
393 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | |
394 | ac_init_help=recursive ;; | |
395 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | |
396 | ac_init_help=short ;; | |
397 | ||
398 | -host | --host | --hos | --ho) | |
399 | ac_prev=host_alias ;; | |
400 | -host=* | --host=* | --hos=* | --ho=*) | |
401 | host_alias=$ac_optarg ;; | |
402 | ||
403 | -includedir | --includedir | --includedi | --included | --include \ | |
404 | | --includ | --inclu | --incl | --inc) | |
405 | ac_prev=includedir ;; | |
406 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | |
407 | | --includ=* | --inclu=* | --incl=* | --inc=*) | |
408 | includedir=$ac_optarg ;; | |
409 | ||
410 | -infodir | --infodir | --infodi | --infod | --info | --inf) | |
411 | ac_prev=infodir ;; | |
412 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | |
413 | infodir=$ac_optarg ;; | |
414 | ||
415 | -libdir | --libdir | --libdi | --libd) | |
416 | ac_prev=libdir ;; | |
417 | -libdir=* | --libdir=* | --libdi=* | --libd=*) | |
418 | libdir=$ac_optarg ;; | |
419 | ||
420 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | |
421 | | --libexe | --libex | --libe) | |
422 | ac_prev=libexecdir ;; | |
423 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | |
424 | | --libexe=* | --libex=* | --libe=*) | |
425 | libexecdir=$ac_optarg ;; | |
426 | ||
427 | -localstatedir | --localstatedir | --localstatedi | --localstated \ | |
428 | | --localstate | --localstat | --localsta | --localst \ | |
429 | | --locals | --local | --loca | --loc | --lo) | |
430 | ac_prev=localstatedir ;; | |
431 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | |
432 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | |
433 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) | |
434 | localstatedir=$ac_optarg ;; | |
435 | ||
436 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | |
437 | ac_prev=mandir ;; | |
438 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | |
439 | mandir=$ac_optarg ;; | |
440 | ||
441 | -nfp | --nfp | --nf) | |
442 | # Obsolete; use --without-fp. | |
443 | with_fp=no ;; | |
444 | ||
445 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | |
446 | | --no-cr | --no-c | -n) | |
447 | no_create=yes ;; | |
448 | ||
449 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | |
450 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | |
451 | no_recursion=yes ;; | |
452 | ||
453 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | |
454 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | |
455 | | --oldin | --oldi | --old | --ol | --o) | |
456 | ac_prev=oldincludedir ;; | |
457 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | |
458 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | |
459 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | |
460 | oldincludedir=$ac_optarg ;; | |
461 | ||
462 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | |
463 | ac_prev=prefix ;; | |
464 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | |
465 | prefix=$ac_optarg ;; | |
466 | ||
467 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ | |
468 | | --program-pre | --program-pr | --program-p) | |
469 | ac_prev=program_prefix ;; | |
470 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ | |
471 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | |
472 | program_prefix=$ac_optarg ;; | |
473 | ||
474 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ | |
475 | | --program-suf | --program-su | --program-s) | |
476 | ac_prev=program_suffix ;; | |
477 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ | |
478 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | |
479 | program_suffix=$ac_optarg ;; | |
480 | ||
481 | -program-transform-name | --program-transform-name \ | |
482 | | --program-transform-nam | --program-transform-na \ | |
483 | | --program-transform-n | --program-transform- \ | |
484 | | --program-transform | --program-transfor \ | |
485 | | --program-transfo | --program-transf \ | |
486 | | --program-trans | --program-tran \ | |
487 | | --progr-tra | --program-tr | --program-t) | |
488 | ac_prev=program_transform_name ;; | |
489 | -program-transform-name=* | --program-transform-name=* \ | |
490 | | --program-transform-nam=* | --program-transform-na=* \ | |
491 | | --program-transform-n=* | --program-transform-=* \ | |
492 | | --program-transform=* | --program-transfor=* \ | |
493 | | --program-transfo=* | --program-transf=* \ | |
494 | | --program-trans=* | --program-tran=* \ | |
495 | | --progr-tra=* | --program-tr=* | --program-t=*) | |
496 | program_transform_name=$ac_optarg ;; | |
497 | ||
498 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
499 | | -silent | --silent | --silen | --sile | --sil) | |
500 | silent=yes ;; | |
501 | ||
502 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | |
503 | ac_prev=sbindir ;; | |
504 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | |
505 | | --sbi=* | --sb=*) | |
506 | sbindir=$ac_optarg ;; | |
507 | ||
508 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ | |
509 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | |
510 | | --sharedst | --shareds | --shared | --share | --shar \ | |
511 | | --sha | --sh) | |
512 | ac_prev=sharedstatedir ;; | |
513 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | |
514 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | |
515 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | |
516 | | --sha=* | --sh=*) | |
517 | sharedstatedir=$ac_optarg ;; | |
518 | ||
519 | -site | --site | --sit) | |
520 | ac_prev=site ;; | |
521 | -site=* | --site=* | --sit=*) | |
522 | site=$ac_optarg ;; | |
523 | ||
524 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | |
525 | ac_prev=srcdir ;; | |
526 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | |
527 | srcdir=$ac_optarg ;; | |
528 | ||
529 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | |
530 | | --syscon | --sysco | --sysc | --sys | --sy) | |
531 | ac_prev=sysconfdir ;; | |
532 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | |
533 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | |
534 | sysconfdir=$ac_optarg ;; | |
535 | ||
536 | -target | --target | --targe | --targ | --tar | --ta | --t) | |
537 | ac_prev=target_alias ;; | |
538 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | |
539 | target_alias=$ac_optarg ;; | |
540 | ||
541 | -v | -verbose | --verbose | --verbos | --verbo | --verb) | |
542 | verbose=yes ;; | |
543 | ||
544 | -version | --version | --versio | --versi | --vers | -V) | |
545 | ac_init_version=: ;; | |
546 | ||
547 | -with-* | --with-*) | |
548 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | |
549 | # Reject names that are not valid shell variable names. | |
550 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | |
551 | { echo "$as_me: error: invalid package name: $ac_package" >&2 | |
552 | { (exit 1); exit 1; }; } | |
553 | ac_package=`echo $ac_package| sed 's/-/_/g'` | |
554 | case $ac_option in | |
555 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | |
556 | *) ac_optarg=yes ;; | |
557 | esac | |
558 | eval "with_$ac_package='$ac_optarg'" ;; | |
559 | ||
560 | -without-* | --without-*) | |
561 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` | |
562 | # Reject names that are not valid shell variable names. | |
563 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | |
564 | { echo "$as_me: error: invalid package name: $ac_package" >&2 | |
565 | { (exit 1); exit 1; }; } | |
566 | ac_package=`echo $ac_package | sed 's/-/_/g'` | |
567 | eval "with_$ac_package=no" ;; | |
568 | ||
569 | --x) | |
570 | # Obsolete; use --with-x. | |
571 | with_x=yes ;; | |
572 | ||
573 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | |
574 | | --x-incl | --x-inc | --x-in | --x-i) | |
575 | ac_prev=x_includes ;; | |
576 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | |
577 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | |
578 | x_includes=$ac_optarg ;; | |
579 | ||
580 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ | |
581 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | |
582 | ac_prev=x_libraries ;; | |
583 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | |
584 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | |
585 | x_libraries=$ac_optarg ;; | |
586 | ||
587 | -*) { echo "$as_me: error: unrecognized option: $ac_option | |
588 | Try \`$0 --help' for more information." >&2 | |
589 | { (exit 1); exit 1; }; } | |
590 | ;; | |
591 | ||
592 | *=*) | |
593 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | |
594 | # Reject names that are not valid shell variable names. | |
595 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | |
596 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | |
597 | { (exit 1); exit 1; }; } | |
598 | ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` | |
599 | eval "$ac_envvar='$ac_optarg'" | |
600 | export $ac_envvar ;; | |
601 | ||
602 | *) | |
603 | # FIXME: should be removed in autoconf 3.0. | |
604 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | |
605 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | |
606 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | |
607 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | |
608 | ;; | |
609 | ||
610 | esac | |
611 | done | |
612 | ||
613 | if test -n "$ac_prev"; then | |
614 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` | |
615 | { echo "$as_me: error: missing argument to $ac_option" >&2 | |
616 | { (exit 1); exit 1; }; } | |
617 | fi | |
618 | ||
619 | # Be sure to have absolute paths. | |
620 | for ac_var in exec_prefix prefix | |
621 | do | |
622 | eval ac_val=$`echo $ac_var` | |
623 | case $ac_val in | |
624 | [\\/$]* | ?:[\\/]* | NONE | '' ) ;; | |
625 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | |
626 | { (exit 1); exit 1; }; };; | |
627 | esac | |
628 | done | |
629 | ||
630 | # Be sure to have absolute paths. | |
631 | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ | |
632 | localstatedir libdir includedir oldincludedir infodir mandir | |
633 | do | |
634 | eval ac_val=$`echo $ac_var` | |
635 | case $ac_val in | |
636 | [\\/$]* | ?:[\\/]* ) ;; | |
637 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | |
638 | { (exit 1); exit 1; }; };; | |
639 | esac | |
640 | done | |
641 | ||
642 | # There might be people who depend on the old broken behavior: `$host' | |
643 | # used to hold the argument of --host etc. | |
644 | # FIXME: To remove some day. | |
645 | build=$build_alias | |
646 | host=$host_alias | |
647 | target=$target_alias | |
648 | ||
649 | # FIXME: To remove some day. | |
650 | if test "x$host_alias" != x; then | |
651 | if test "x$build_alias" = x; then | |
652 | cross_compiling=maybe | |
653 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | |
654 | If a cross compiler is detected then cross compile mode will be used." >&2 | |
655 | elif test "x$build_alias" != "x$host_alias"; then | |
656 | cross_compiling=yes | |
657 | fi | |
658 | fi | |
659 | ||
660 | ac_tool_prefix= | |
661 | test -n "$host_alias" && ac_tool_prefix=$host_alias- | |
662 | ||
663 | test "$silent" = yes && exec 6>/dev/null | |
664 | ||
665 | ||
666 | # Find the source files, if location was not specified. | |
667 | if test -z "$srcdir"; then | |
668 | ac_srcdir_defaulted=yes | |
669 | # Try the directory containing this script, then its parent. | |
670 | ac_confdir=`(dirname "$0") 2>/dev/null || | |
671 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
672 | X"$0" : 'X\(//\)[^/]' \| \ | |
673 | X"$0" : 'X\(//\)$' \| \ | |
674 | X"$0" : 'X\(/\)' \| \ | |
675 | . : '\(.\)' 2>/dev/null || | |
676 | echo X"$0" | | |
677 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | |
678 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | |
679 | /^X\(\/\/\)$/{ s//\1/; q; } | |
680 | /^X\(\/\).*/{ s//\1/; q; } | |
681 | s/.*/./; q'` | |
682 | srcdir=$ac_confdir | |
683 | if test ! -r $srcdir/$ac_unique_file; then | |
684 | srcdir=.. | |
685 | fi | |
686 | else | |
687 | ac_srcdir_defaulted=no | |
688 | fi | |
689 | if test ! -r $srcdir/$ac_unique_file; then | |
690 | if test "$ac_srcdir_defaulted" = yes; then | |
691 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 | |
692 | { (exit 1); exit 1; }; } | |
693 | else | |
694 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | |
695 | { (exit 1); exit 1; }; } | |
696 | fi | |
697 | fi | |
698 | (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || | |
699 | { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 | |
700 | { (exit 1); exit 1; }; } | |
701 | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` | |
702 | ac_env_build_alias_set=${build_alias+set} | |
703 | ac_env_build_alias_value=$build_alias | |
704 | ac_cv_env_build_alias_set=${build_alias+set} | |
705 | ac_cv_env_build_alias_value=$build_alias | |
706 | ac_env_host_alias_set=${host_alias+set} | |
707 | ac_env_host_alias_value=$host_alias | |
708 | ac_cv_env_host_alias_set=${host_alias+set} | |
709 | ac_cv_env_host_alias_value=$host_alias | |
710 | ac_env_target_alias_set=${target_alias+set} | |
711 | ac_env_target_alias_value=$target_alias | |
712 | ac_cv_env_target_alias_set=${target_alias+set} | |
713 | ac_cv_env_target_alias_value=$target_alias | |
714 | ||
715 | # | |
716 | # Report the --help message. | |
717 | # | |
718 | if test "$ac_init_help" = "long"; then | |
719 | # Omit some internal or obsolete options to make the list less imposing. | |
720 | # This message is too long to be a string in the A/UX 3.1 sh. | |
721 | cat <<_ACEOF | |
722 | \`configure' configures GCC libada experimental pre-3.5 to adapt to many kinds of systems. | |
723 | ||
724 | Usage: $0 [OPTION]... [VAR=VALUE]... | |
725 | ||
726 | To assign environment variables (e.g., CC, CFLAGS...), specify them as | |
727 | VAR=VALUE. See below for descriptions of some of the useful variables. | |
728 | ||
729 | Defaults for the options are specified in brackets. | |
730 | ||
731 | Configuration: | |
732 | -h, --help display this help and exit | |
733 | --help=short display options specific to this package | |
734 | --help=recursive display the short help of all the included packages | |
735 | -V, --version display version information and exit | |
736 | -q, --quiet, --silent do not print \`checking...' messages | |
737 | --cache-file=FILE cache test results in FILE [disabled] | |
738 | -C, --config-cache alias for \`--cache-file=config.cache' | |
739 | -n, --no-create do not create output files | |
740 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] | |
741 | ||
742 | _ACEOF | |
743 | ||
744 | cat <<_ACEOF | |
745 | Installation directories: | |
746 | --prefix=PREFIX install architecture-independent files in PREFIX | |
747 | [$ac_default_prefix] | |
748 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | |
749 | [PREFIX] | |
750 | ||
751 | By default, \`make install' will install all the files in | |
752 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | |
753 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', | |
754 | for instance \`--prefix=\$HOME'. | |
755 | ||
756 | For better control, use the options below. | |
757 | ||
758 | Fine tuning of the installation directories: | |
759 | --bindir=DIR user executables [EPREFIX/bin] | |
760 | --sbindir=DIR system admin executables [EPREFIX/sbin] | |
761 | --libexecdir=DIR program executables [EPREFIX/libexec] | |
762 | --datadir=DIR read-only architecture-independent data [PREFIX/share] | |
763 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | |
764 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | |
765 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] | |
766 | --libdir=DIR object code libraries [EPREFIX/lib] | |
767 | --includedir=DIR C header files [PREFIX/include] | |
768 | --oldincludedir=DIR C header files for non-gcc [/usr/include] | |
769 | --infodir=DIR info documentation [PREFIX/info] | |
770 | --mandir=DIR man documentation [PREFIX/man] | |
771 | _ACEOF | |
772 | ||
773 | cat <<\_ACEOF | |
774 | ||
775 | System types: | |
776 | --build=BUILD configure for building on BUILD [guessed] | |
777 | --host=HOST cross-compile to build programs to run on HOST [BUILD] | |
778 | --target=TARGET configure for building compilers for TARGET [HOST] | |
779 | _ACEOF | |
780 | fi | |
781 | ||
782 | if test -n "$ac_init_help"; then | |
783 | case $ac_init_help in | |
784 | short | recursive ) echo "Configuration of GCC libada experimental pre-3.5:";; | |
785 | esac | |
786 | cat <<\_ACEOF | |
787 | ||
788 | Optional Features: | |
789 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | |
790 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | |
791 | --enable-maintainer-mode | |
792 | enable make rules and dependencies not useful (and | |
793 | sometimes confusing) to the casual installer | |
794 | --disable-shared don't provide a shared libgnat | |
795 | ||
796 | _ACEOF | |
797 | fi | |
798 | ||
799 | if test "$ac_init_help" = "recursive"; then | |
800 | # If there are subdirs, report their specific --help. | |
801 | ac_popdir=`pwd` | |
802 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | |
803 | test -d $ac_dir || continue | |
804 | ac_builddir=. | |
805 | ||
806 | if test "$ac_dir" != .; then | |
807 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | |
808 | # A "../" for each directory in $ac_dir_suffix. | |
809 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | |
810 | else | |
811 | ac_dir_suffix= ac_top_builddir= | |
812 | fi | |
813 | ||
814 | case $srcdir in | |
815 | .) # No --srcdir option. We are building in place. | |
816 | ac_srcdir=. | |
817 | if test -z "$ac_top_builddir"; then | |
818 | ac_top_srcdir=. | |
819 | else | |
820 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | |
821 | fi ;; | |
822 | [\\/]* | ?:[\\/]* ) # Absolute path. | |
823 | ac_srcdir=$srcdir$ac_dir_suffix; | |
824 | ac_top_srcdir=$srcdir ;; | |
825 | *) # Relative path. | |
826 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | |
827 | ac_top_srcdir=$ac_top_builddir$srcdir ;; | |
828 | esac | |
829 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | |
830 | # absolute. | |
831 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | |
832 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` | |
833 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | |
834 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | |
835 | ||
836 | cd $ac_dir | |
837 | # Check for guested configure; otherwise get Cygnus style configure. | |
838 | if test -f $ac_srcdir/configure.gnu; then | |
839 | echo | |
840 | $SHELL $ac_srcdir/configure.gnu --help=recursive | |
841 | elif test -f $ac_srcdir/configure; then | |
842 | echo | |
843 | $SHELL $ac_srcdir/configure --help=recursive | |
844 | elif test -f $ac_srcdir/configure.ac || | |
845 | test -f $ac_srcdir/configure.in; then | |
846 | echo | |
847 | $ac_configure --help | |
848 | else | |
849 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | |
850 | fi | |
851 | cd $ac_popdir | |
852 | done | |
853 | fi | |
854 | ||
855 | test -n "$ac_init_help" && exit 0 | |
856 | if $ac_init_version; then | |
857 | cat <<\_ACEOF | |
858 | GCC libada configure experimental pre-3.5 | |
859 | generated by GNU Autoconf 2.57 | |
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 GCC libada $as_me experimental pre-3.5, 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.* *.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 | ||
1203 | ||
1204 | ||
1205 | ||
1206 | ||
1207 | ||
1208 | ||
1209 | ||
1210 | # This is an autoconf 2.5x script. | |
1211 | ||
1212 | ||
1213 | # Very limited version of AC_MAINTAINER_MODE. | |
1214 | # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. | |
1215 | if test "${enable_maintainer_mode+set}" = set; then | |
1216 | enableval="$enable_maintainer_mode" | |
1217 | case ${enable_maintainer_mode} in | |
1218 | yes) MAINT='' ;; | |
1219 | no) MAINT='#' ;; | |
1220 | *) { { echo "$as_me:$LINENO: error: --enable-maintainer-mode must be yes or no" >&5 | |
1221 | echo "$as_me: error: --enable-maintainer-mode must be yes or no" >&2;} | |
1222 | { (exit 1); exit 1; }; } ;; | |
1223 | esac | |
1224 | maintainer_mode=${enableval} | |
1225 | else | |
1226 | MAINT='#' | |
1227 | fi; | |
1228 | ||
1229 | # Start of actual configure tests | |
1230 | ||
1231 | # Output: create a Makefile. | |
1232 | ac_config_files="$ac_config_files Makefile" | |
1233 | ||
1234 | ||
1235 | ac_aux_dir= | |
1236 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do | |
1237 | if test -f $ac_dir/install-sh; then | |
1238 | ac_aux_dir=$ac_dir | |
1239 | ac_install_sh="$ac_aux_dir/install-sh -c" | |
1240 | break | |
1241 | elif test -f $ac_dir/install.sh; then | |
1242 | ac_aux_dir=$ac_dir | |
1243 | ac_install_sh="$ac_aux_dir/install.sh -c" | |
1244 | break | |
1245 | elif test -f $ac_dir/shtool; then | |
1246 | ac_aux_dir=$ac_dir | |
1247 | ac_install_sh="$ac_aux_dir/shtool install -c" | |
1248 | break | |
1249 | fi | |
1250 | done | |
1251 | if test -z "$ac_aux_dir"; then | |
1252 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 | |
1253 | echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} | |
1254 | { (exit 1); exit 1; }; } | |
1255 | fi | |
1256 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" | |
1257 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" | |
1258 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | |
1259 | ||
1260 | # Make sure we can run config.sub. | |
1261 | $ac_config_sub sun4 >/dev/null 2>&1 || | |
1262 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 | |
1263 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} | |
1264 | { (exit 1); exit 1; }; } | |
1265 | ||
1266 | echo "$as_me:$LINENO: checking build system type" >&5 | |
1267 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 | |
1268 | if test "${ac_cv_build+set}" = set; then | |
1269 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1270 | else | |
1271 | ac_cv_build_alias=$build_alias | |
1272 | test -z "$ac_cv_build_alias" && | |
1273 | ac_cv_build_alias=`$ac_config_guess` | |
1274 | test -z "$ac_cv_build_alias" && | |
1275 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | |
1276 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | |
1277 | { (exit 1); exit 1; }; } | |
1278 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || | |
1279 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 | |
1280 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} | |
1281 | { (exit 1); exit 1; }; } | |
1282 | ||
1283 | fi | |
1284 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | |
1285 | echo "${ECHO_T}$ac_cv_build" >&6 | |
1286 | build=$ac_cv_build | |
1287 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | |
1288 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | |
1289 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | |
1290 | ||
1291 | ||
1292 | echo "$as_me:$LINENO: checking host system type" >&5 | |
1293 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 | |
1294 | if test "${ac_cv_host+set}" = set; then | |
1295 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1296 | else | |
1297 | ac_cv_host_alias=$host_alias | |
1298 | test -z "$ac_cv_host_alias" && | |
1299 | ac_cv_host_alias=$ac_cv_build_alias | |
1300 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || | |
1301 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 | |
1302 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} | |
1303 | { (exit 1); exit 1; }; } | |
1304 | ||
1305 | fi | |
1306 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | |
1307 | echo "${ECHO_T}$ac_cv_host" >&6 | |
1308 | host=$ac_cv_host | |
1309 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | |
1310 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | |
1311 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | |
1312 | ||
1313 | ||
1314 | echo "$as_me:$LINENO: checking target system type" >&5 | |
1315 | echo $ECHO_N "checking target system type... $ECHO_C" >&6 | |
1316 | if test "${ac_cv_target+set}" = set; then | |
1317 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1318 | else | |
1319 | ac_cv_target_alias=$target_alias | |
1320 | test "x$ac_cv_target_alias" = "x" && | |
1321 | ac_cv_target_alias=$ac_cv_host_alias | |
1322 | ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || | |
1323 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 | |
1324 | echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} | |
1325 | { (exit 1); exit 1; }; } | |
1326 | ||
1327 | fi | |
1328 | echo "$as_me:$LINENO: result: $ac_cv_target" >&5 | |
1329 | echo "${ECHO_T}$ac_cv_target" >&6 | |
1330 | target=$ac_cv_target | |
1331 | target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | |
1332 | target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | |
1333 | target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | |
1334 | ||
1335 | ||
1336 | # The aliases save the names the user supplied, while $host etc. | |
1337 | # will get canonicalized. | |
1338 | test -n "$target_alias" && | |
1339 | test "$program_prefix$program_suffix$program_transform_name" = \ | |
1340 | NONENONEs,x,x, && | |
1341 | program_prefix=${target_alias}- | |
1342 | ||
1343 | # Check whether --enable-shared or --disable-shared was given. | |
1344 | if test "${enable_shared+set}" = set; then | |
1345 | enableval="$enable_shared" | |
1346 | ||
1347 | case $enable_shared in | |
1348 | yes | no) ;; | |
1349 | *) | |
1350 | enable_shared=no | |
1351 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," | |
1352 | for pkg in $enableval; do | |
1353 | if test "$pkg" = "ada" || test "$pkg" = "libada"; then | |
1354 | enable_shared=yes | |
1355 | fi | |
1356 | done | |
1357 | IFS="$ac_save_ifs" | |
1358 | ;; | |
1359 | esac | |
1360 | ||
1361 | else | |
1362 | enable_shared=yes | |
1363 | fi; | |
1364 | ||
1365 | ||
1366 | cat >confcache <<\_ACEOF | |
1367 | # This file is a shell script that caches the results of configure | |
1368 | # tests run on this system so they can be shared between configure | |
1369 | # scripts and configure runs, see configure's option --config-cache. | |
1370 | # It is not useful on other systems. If it contains results you don't | |
1371 | # want to keep, you may remove or edit it. | |
1372 | # | |
1373 | # config.status only pays attention to the cache file if you give it | |
1374 | # the --recheck option to rerun configure. | |
1375 | # | |
1376 | # `ac_cv_env_foo' variables (set or unset) will be overridden when | |
1377 | # loading this file, other *unset* `ac_cv_foo' will be assigned the | |
1378 | # following values. | |
1379 | ||
1380 | _ACEOF | |
1381 | ||
1382 | # The following way of writing the cache mishandles newlines in values, | |
1383 | # but we know of no workaround that is simple, portable, and efficient. | |
1384 | # So, don't put newlines in cache variables' values. | |
1385 | # Ultrix sh set writes to stderr and can't be redirected directly, | |
1386 | # and sets the high bit in the cache file unless we assign to the vars. | |
1387 | { | |
1388 | (set) 2>&1 | | |
1389 | case `(ac_space=' '; set | grep ac_space) 2>&1` in | |
1390 | *ac_space=\ *) | |
1391 | # `set' does not quote correctly, so add quotes (double-quote | |
1392 | # substitution turns \\\\ into \\, and sed turns \\ into \). | |
1393 | sed -n \ | |
1394 | "s/'/'\\\\''/g; | |
1395 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | |
1396 | ;; | |
1397 | *) | |
1398 | # `set' quotes correctly as required by POSIX, so do not add quotes. | |
1399 | sed -n \ | |
1400 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | |
1401 | ;; | |
1402 | esac; | |
1403 | } | | |
1404 | sed ' | |
1405 | t clear | |
1406 | : clear | |
1407 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | |
1408 | t end | |
1409 | /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | |
1410 | : end' >>confcache | |
1411 | if diff $cache_file confcache >/dev/null 2>&1; then :; else | |
1412 | if test -w $cache_file; then | |
1413 | test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" | |
1414 | cat confcache >$cache_file | |
1415 | else | |
1416 | echo "not updating unwritable cache $cache_file" | |
1417 | fi | |
1418 | fi | |
1419 | rm -f confcache | |
1420 | ||
1421 | test "x$prefix" = xNONE && prefix=$ac_default_prefix | |
1422 | # Let make expand exec_prefix. | |
1423 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | |
1424 | ||
1425 | # VPATH may cause trouble with some makes, so we remove $(srcdir), | |
1426 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | |
1427 | # trailing colons and then remove the whole line if VPATH becomes empty | |
1428 | # (actually we leave an empty line to preserve line numbers). | |
1429 | if test "x$srcdir" = x.; then | |
1430 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ | |
1431 | s/:*\$(srcdir):*/:/; | |
1432 | s/:*\${srcdir}:*/:/; | |
1433 | s/:*@srcdir@:*/:/; | |
1434 | s/^\([^=]*=[ ]*\):*/\1/; | |
1435 | s/:*$//; | |
1436 | s/^[^=]*=[ ]*$//; | |
1437 | }' | |
1438 | fi | |
1439 | ||
1440 | # Transform confdefs.h into DEFS. | |
1441 | # Protect against shell expansion while executing Makefile rules. | |
1442 | # Protect against Makefile macro expansion. | |
1443 | # | |
1444 | # If the first sed substitution is executed (which looks for macros that | |
1445 | # take arguments), then we branch to the quote section. Otherwise, | |
1446 | # look for a macro that doesn't take arguments. | |
1447 | cat >confdef2opt.sed <<\_ACEOF | |
1448 | t clear | |
1449 | : clear | |
1450 | s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g | |
1451 | t quote | |
1452 | s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g | |
1453 | t quote | |
1454 | d | |
1455 | : quote | |
1456 | s,[ `~#$^&*(){}\\|;'"<>?],\\&,g | |
1457 | s,\[,\\&,g | |
1458 | s,\],\\&,g | |
1459 | s,\$,$$,g | |
1460 | p | |
1461 | _ACEOF | |
1462 | # We use echo to avoid assuming a particular line-breaking character. | |
1463 | # The extra dot is to prevent the shell from consuming trailing | |
1464 | # line-breaks from the sub-command output. A line-break within | |
1465 | # single-quotes doesn't work because, if this script is created in a | |
1466 | # platform that uses two characters for line-breaks (e.g., DOS), tr | |
1467 | # would break. | |
1468 | ac_LF_and_DOT=`echo; echo .` | |
1469 | DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` | |
1470 | rm -f confdef2opt.sed | |
1471 | ||
1472 | ||
1473 | ac_libobjs= | |
1474 | ac_ltlibobjs= | |
1475 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | |
1476 | # 1. Remove the extension, and $U if already installed. | |
1477 | ac_i=`echo "$ac_i" | | |
1478 | sed 's/\$U\././;s/\.o$//;s/\.obj$//'` | |
1479 | # 2. Add them. | |
1480 | ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" | |
1481 | ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' | |
1482 | done | |
1483 | LIBOBJS=$ac_libobjs | |
1484 | ||
1485 | LTLIBOBJS=$ac_ltlibobjs | |
1486 | ||
1487 | ||
1488 | ||
1489 | : ${CONFIG_STATUS=./config.status} | |
1490 | ac_clean_files_save=$ac_clean_files | |
1491 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | |
1492 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 | |
1493 | echo "$as_me: creating $CONFIG_STATUS" >&6;} | |
1494 | cat >$CONFIG_STATUS <<_ACEOF | |
1495 | #! $SHELL | |
1496 | # Generated by $as_me. | |
1497 | # Run this file to recreate the current configuration. | |
1498 | # Compiler output produced by configure, useful for debugging | |
1499 | # configure, is in config.log if it exists. | |
1500 | ||
1501 | debug=false | |
1502 | ac_cs_recheck=false | |
1503 | ac_cs_silent=false | |
1504 | SHELL=\${CONFIG_SHELL-$SHELL} | |
1505 | _ACEOF | |
1506 | ||
1507 | cat >>$CONFIG_STATUS <<\_ACEOF | |
1508 | ## --------------------- ## | |
1509 | ## M4sh Initialization. ## | |
1510 | ## --------------------- ## | |
1511 | ||
1512 | # Be Bourne compatible | |
1513 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
1514 | emulate sh | |
1515 | NULLCMD=: | |
1516 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | |
1517 | # is contrary to our usage. Disable this feature. | |
1518 | alias -g '${1+"$@"}'='"$@"' | |
1519 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | |
1520 | set -o posix | |
1521 | fi | |
1522 | ||
1523 | # Support unset when possible. | |
1524 | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | |
1525 | as_unset=unset | |
1526 | else | |
1527 | as_unset=false | |
1528 | fi | |
1529 | ||
1530 | ||
1531 | # Work around bugs in pre-3.0 UWIN ksh. | |
1532 | $as_unset ENV MAIL MAILPATH | |
1533 | PS1='$ ' | |
1534 | PS2='> ' | |
1535 | PS4='+ ' | |
1536 | ||
1537 | # NLS nuisances. | |
1538 | for as_var in \ | |
1539 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | |
1540 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | |
1541 | LC_TELEPHONE LC_TIME | |
1542 | do | |
1543 | if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then | |
1544 | eval $as_var=C; export $as_var | |
1545 | else | |
1546 | $as_unset $as_var | |
1547 | fi | |
1548 | done | |
1549 | ||
1550 | # Required to use basename. | |
1551 | if expr a : '\(a\)' >/dev/null 2>&1; then | |
1552 | as_expr=expr | |
1553 | else | |
1554 | as_expr=false | |
1555 | fi | |
1556 | ||
1557 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | |
1558 | as_basename=basename | |
1559 | else | |
1560 | as_basename=false | |
1561 | fi | |
1562 | ||
1563 | ||
1564 | # Name of the executable. | |
1565 | as_me=`$as_basename "$0" || | |
1566 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
1567 | X"$0" : 'X\(//\)$' \| \ | |
1568 | X"$0" : 'X\(/\)$' \| \ | |
1569 | . : '\(.\)' 2>/dev/null || | |
1570 | echo X/"$0" | | |
1571 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | |
1572 | /^X\/\(\/\/\)$/{ s//\1/; q; } | |
1573 | /^X\/\(\/\).*/{ s//\1/; q; } | |
1574 | s/.*/./; q'` | |
1575 | ||
1576 | ||
1577 | # PATH needs CR, and LINENO needs CR and PATH. | |
1578 | # Avoid depending upon Character Ranges. | |
1579 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
1580 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
1581 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
1582 | as_cr_digits='0123456789' | |
1583 | as_cr_alnum=$as_cr_Letters$as_cr_digits | |
1584 | ||
1585 | # The user is always right. | |
1586 | if test "${PATH_SEPARATOR+set}" != set; then | |
1587 | echo "#! /bin/sh" >conf$$.sh | |
1588 | echo "exit 0" >>conf$$.sh | |
1589 | chmod +x conf$$.sh | |
1590 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | |
1591 | PATH_SEPARATOR=';' | |
1592 | else | |
1593 | PATH_SEPARATOR=: | |
1594 | fi | |
1595 | rm -f conf$$.sh | |
1596 | fi | |
1597 | ||
1598 | ||
1599 | as_lineno_1=$LINENO | |
1600 | as_lineno_2=$LINENO | |
1601 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | |
1602 | test "x$as_lineno_1" != "x$as_lineno_2" && | |
1603 | test "x$as_lineno_3" = "x$as_lineno_2" || { | |
1604 | # Find who we are. Look in the path if we contain no path at all | |
1605 | # relative or not. | |
1606 | case $0 in | |
1607 | *[\\/]* ) as_myself=$0 ;; | |
1608 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
1609 | for as_dir in $PATH | |
1610 | do | |
1611 | IFS=$as_save_IFS | |
1612 | test -z "$as_dir" && as_dir=. | |
1613 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
1614 | done | |
1615 | ||
1616 | ;; | |
1617 | esac | |
1618 | # We did not find ourselves, most probably we were run as `sh COMMAND' | |
1619 | # in which case we are not to be found in the path. | |
1620 | if test "x$as_myself" = x; then | |
1621 | as_myself=$0 | |
1622 | fi | |
1623 | if test ! -f "$as_myself"; then | |
1624 | { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 | |
1625 | echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} | |
1626 | { (exit 1); exit 1; }; } | |
1627 | fi | |
1628 | case $CONFIG_SHELL in | |
1629 | '') | |
1630 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
1631 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | |
1632 | do | |
1633 | IFS=$as_save_IFS | |
1634 | test -z "$as_dir" && as_dir=. | |
1635 | for as_base in sh bash ksh sh5; do | |
1636 | case $as_dir in | |
1637 | /*) | |
1638 | if ("$as_dir/$as_base" -c ' | |
1639 | as_lineno_1=$LINENO | |
1640 | as_lineno_2=$LINENO | |
1641 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | |
1642 | test "x$as_lineno_1" != "x$as_lineno_2" && | |
1643 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then | |
1644 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | |
1645 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | |
1646 | CONFIG_SHELL=$as_dir/$as_base | |
1647 | export CONFIG_SHELL | |
1648 | exec "$CONFIG_SHELL" "$0" ${1+"$@"} | |
1649 | fi;; | |
1650 | esac | |
1651 | done | |
1652 | done | |
1653 | ;; | |
1654 | esac | |
1655 | ||
1656 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | |
1657 | # uniformly replaced by the line number. The first 'sed' inserts a | |
1658 | # line-number line before each line; the second 'sed' does the real | |
1659 | # work. The second script uses 'N' to pair each line-number line | |
1660 | # with the numbered line, and appends trailing '-' during | |
1661 | # substitution so that $LINENO is not a special case at line end. | |
1662 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | |
1663 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) | |
1664 | sed '=' <$as_myself | | |
1665 | sed ' | |
1666 | N | |
1667 | s,$,-, | |
1668 | : loop | |
1669 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | |
1670 | t loop | |
1671 | s,-$,, | |
1672 | s,^['$as_cr_digits']*\n,, | |
1673 | ' >$as_me.lineno && | |
1674 | chmod +x $as_me.lineno || | |
1675 | { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 | |
1676 | echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} | |
1677 | { (exit 1); exit 1; }; } | |
1678 | ||
1679 | # Don't try to exec as it changes $[0], causing all sort of problems | |
1680 | # (the dirname of $[0] is not the place where we might find the | |
1681 | # original and so on. Autoconf is especially sensible to this). | |
1682 | . ./$as_me.lineno | |
1683 | # Exit status is that of the last command. | |
1684 | exit | |
1685 | } | |
1686 | ||
1687 | ||
1688 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | |
1689 | *c*,-n*) ECHO_N= ECHO_C=' | |
1690 | ' ECHO_T=' ' ;; | |
1691 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; | |
1692 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;; | |
1693 | esac | |
1694 | ||
1695 | if expr a : '\(a\)' >/dev/null 2>&1; then | |
1696 | as_expr=expr | |
1697 | else | |
1698 | as_expr=false | |
1699 | fi | |
1700 | ||
1701 | rm -f conf$$ conf$$.exe conf$$.file | |
1702 | echo >conf$$.file | |
1703 | if ln -s conf$$.file conf$$ 2>/dev/null; then | |
1704 | # We could just check for DJGPP; but this test a) works b) is more generic | |
1705 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | |
1706 | if test -f conf$$.exe; then | |
1707 | # Don't use ln at all; we don't have any links | |
1708 | as_ln_s='cp -p' | |
1709 | else | |
1710 | as_ln_s='ln -s' | |
1711 | fi | |
1712 | elif ln conf$$.file conf$$ 2>/dev/null; then | |
1713 | as_ln_s=ln | |
1714 | else | |
1715 | as_ln_s='cp -p' | |
1716 | fi | |
1717 | rm -f conf$$ conf$$.exe conf$$.file | |
1718 | ||
1719 | if mkdir -p . 2>/dev/null; then | |
1720 | as_mkdir_p=: | |
1721 | else | |
1722 | as_mkdir_p=false | |
1723 | fi | |
1724 | ||
1725 | as_executable_p="test -f" | |
1726 | ||
1727 | # Sed expression to map a string onto a valid CPP name. | |
1728 | as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" | |
1729 | ||
1730 | # Sed expression to map a string onto a valid variable name. | |
1731 | as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" | |
1732 | ||
1733 | ||
1734 | # IFS | |
1735 | # We need space, tab and new line, in precisely that order. | |
1736 | as_nl=' | |
1737 | ' | |
1738 | IFS=" $as_nl" | |
1739 | ||
1740 | # CDPATH. | |
1741 | $as_unset CDPATH | |
1742 | ||
1743 | exec 6>&1 | |
1744 | ||
1745 | # Open the log real soon, to keep \$[0] and so on meaningful, and to | |
1746 | # report actual input values of CONFIG_FILES etc. instead of their | |
1747 | # values after options handling. Logging --version etc. is OK. | |
1748 | exec 5>>config.log | |
1749 | { | |
1750 | echo | |
1751 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | |
1752 | ## Running $as_me. ## | |
1753 | _ASBOX | |
1754 | } >&5 | |
1755 | cat >&5 <<_CSEOF | |
1756 | ||
1757 | This file was extended by GCC libada $as_me experimental pre-3.5, which was | |
1758 | generated by GNU Autoconf 2.57. Invocation command line was | |
1759 | ||
1760 | CONFIG_FILES = $CONFIG_FILES | |
1761 | CONFIG_HEADERS = $CONFIG_HEADERS | |
1762 | CONFIG_LINKS = $CONFIG_LINKS | |
1763 | CONFIG_COMMANDS = $CONFIG_COMMANDS | |
1764 | $ $0 $@ | |
1765 | ||
1766 | _CSEOF | |
1767 | echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 | |
1768 | echo >&5 | |
1769 | _ACEOF | |
1770 | ||
1771 | # Files that config.status was made for. | |
1772 | if test -n "$ac_config_files"; then | |
1773 | echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS | |
1774 | fi | |
1775 | ||
1776 | if test -n "$ac_config_headers"; then | |
1777 | echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS | |
1778 | fi | |
1779 | ||
1780 | if test -n "$ac_config_links"; then | |
1781 | echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS | |
1782 | fi | |
1783 | ||
1784 | if test -n "$ac_config_commands"; then | |
1785 | echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS | |
1786 | fi | |
1787 | ||
1788 | cat >>$CONFIG_STATUS <<\_ACEOF | |
1789 | ||
1790 | ac_cs_usage="\ | |
1791 | \`$as_me' instantiates files from templates according to the | |
1792 | current configuration. | |
1793 | ||
1794 | Usage: $0 [OPTIONS] [FILE]... | |
1795 | ||
1796 | -h, --help print this help, then exit | |
1797 | -V, --version print version number, then exit | |
1798 | -q, --quiet do not print progress messages | |
1799 | -d, --debug don't remove temporary files | |
1800 | --recheck update $as_me by reconfiguring in the same conditions | |
1801 | --file=FILE[:TEMPLATE] | |
1802 | instantiate the configuration file FILE | |
1803 | ||
1804 | Configuration files: | |
1805 | $config_files | |
1806 | ||
1807 | Report bugs to <bug-autoconf@gnu.org>." | |
1808 | _ACEOF | |
1809 | ||
1810 | cat >>$CONFIG_STATUS <<_ACEOF | |
1811 | ac_cs_version="\\ | |
1812 | GCC libada config.status experimental pre-3.5 | |
1813 | configured by $0, generated by GNU Autoconf 2.57, | |
1814 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" | |
1815 | ||
1816 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 | |
1817 | Free Software Foundation, Inc. | |
1818 | This config.status script is free software; the Free Software Foundation | |
1819 | gives unlimited permission to copy, distribute and modify it." | |
1820 | srcdir=$srcdir | |
1821 | _ACEOF | |
1822 | ||
1823 | cat >>$CONFIG_STATUS <<\_ACEOF | |
1824 | # If no file are specified by the user, then we need to provide default | |
1825 | # value. By we need to know if files were specified by the user. | |
1826 | ac_need_defaults=: | |
1827 | while test $# != 0 | |
1828 | do | |
1829 | case $1 in | |
1830 | --*=*) | |
1831 | ac_option=`expr "x$1" : 'x\([^=]*\)='` | |
1832 | ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` | |
1833 | ac_shift=: | |
1834 | ;; | |
1835 | -*) | |
1836 | ac_option=$1 | |
1837 | ac_optarg=$2 | |
1838 | ac_shift=shift | |
1839 | ;; | |
1840 | *) # This is not an option, so the user has probably given explicit | |
1841 | # arguments. | |
1842 | ac_option=$1 | |
1843 | ac_need_defaults=false;; | |
1844 | esac | |
1845 | ||
1846 | case $ac_option in | |
1847 | # Handling of the options. | |
1848 | _ACEOF | |
1849 | cat >>$CONFIG_STATUS <<\_ACEOF | |
1850 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | |
1851 | ac_cs_recheck=: ;; | |
1852 | --version | --vers* | -V ) | |
1853 | echo "$ac_cs_version"; exit 0 ;; | |
1854 | --he | --h) | |
1855 | # Conflict between --help and --header | |
1856 | { { echo "$as_me:$LINENO: error: ambiguous option: $1 | |
1857 | Try \`$0 --help' for more information." >&5 | |
1858 | echo "$as_me: error: ambiguous option: $1 | |
1859 | Try \`$0 --help' for more information." >&2;} | |
1860 | { (exit 1); exit 1; }; };; | |
1861 | --help | --hel | -h ) | |
1862 | echo "$ac_cs_usage"; exit 0 ;; | |
1863 | --debug | --d* | -d ) | |
1864 | debug=: ;; | |
1865 | --file | --fil | --fi | --f ) | |
1866 | $ac_shift | |
1867 | CONFIG_FILES="$CONFIG_FILES $ac_optarg" | |
1868 | ac_need_defaults=false;; | |
1869 | --header | --heade | --head | --hea ) | |
1870 | $ac_shift | |
1871 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" | |
1872 | ac_need_defaults=false;; | |
1873 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
1874 | | -silent | --silent | --silen | --sile | --sil | --si | --s) | |
1875 | ac_cs_silent=: ;; | |
1876 | ||
1877 | # This is an error. | |
1878 | -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 | |
1879 | Try \`$0 --help' for more information." >&5 | |
1880 | echo "$as_me: error: unrecognized option: $1 | |
1881 | Try \`$0 --help' for more information." >&2;} | |
1882 | { (exit 1); exit 1; }; } ;; | |
1883 | ||
1884 | *) ac_config_targets="$ac_config_targets $1" ;; | |
1885 | ||
1886 | esac | |
1887 | shift | |
1888 | done | |
1889 | ||
1890 | ac_configure_extra_args= | |
1891 | ||
1892 | if $ac_cs_silent; then | |
1893 | exec 6>/dev/null | |
1894 | ac_configure_extra_args="$ac_configure_extra_args --silent" | |
1895 | fi | |
1896 | ||
1897 | _ACEOF | |
1898 | cat >>$CONFIG_STATUS <<_ACEOF | |
1899 | if \$ac_cs_recheck; then | |
1900 | echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 | |
1901 | exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | |
1902 | fi | |
1903 | ||
1904 | _ACEOF | |
1905 | ||
1906 | ||
1907 | ||
1908 | ||
1909 | ||
1910 | cat >>$CONFIG_STATUS <<\_ACEOF | |
1911 | for ac_config_target in $ac_config_targets | |
1912 | do | |
1913 | case "$ac_config_target" in | |
1914 | # Handling of arguments. | |
1915 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; | |
1916 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | |
1917 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | |
1918 | { (exit 1); exit 1; }; };; | |
1919 | esac | |
1920 | done | |
1921 | ||
1922 | # If the user did not use the arguments to specify the items to instantiate, | |
1923 | # then the envvar interface is used. Set only those that are not. | |
1924 | # We use the long form for the default assignment because of an extremely | |
1925 | # bizarre bug on SunOS 4.1.3. | |
1926 | if $ac_need_defaults; then | |
1927 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | |
1928 | fi | |
1929 | ||
1930 | # Have a temporary directory for convenience. Make it in the build tree | |
1931 | # simply because there is no reason to put it here, and in addition, | |
1932 | # creating and moving files from /tmp can sometimes cause problems. | |
1933 | # Create a temporary directory, and hook for its removal unless debugging. | |
1934 | $debug || | |
1935 | { | |
1936 | trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 | |
1937 | trap '{ (exit 1); exit 1; }' 1 2 13 15 | |
1938 | } | |
1939 | ||
1940 | # Create a (secure) tmp directory for tmp files. | |
1941 | ||
1942 | { | |
1943 | tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && | |
1944 | test -n "$tmp" && test -d "$tmp" | |
1945 | } || | |
1946 | { | |
1947 | tmp=./confstat$$-$RANDOM | |
1948 | (umask 077 && mkdir $tmp) | |
1949 | } || | |
1950 | { | |
1951 | echo "$me: cannot create a temporary directory in ." >&2 | |
1952 | { (exit 1); exit 1; } | |
1953 | } | |
1954 | ||
1955 | _ACEOF | |
1956 | ||
1957 | cat >>$CONFIG_STATUS <<_ACEOF | |
1958 | ||
1959 | # | |
1960 | # CONFIG_FILES section. | |
1961 | # | |
1962 | ||
1963 | # No need to generate the scripts if there are no CONFIG_FILES. | |
1964 | # This happens for instance when ./config.status config.h | |
1965 | if test -n "\$CONFIG_FILES"; then | |
1966 | # Protect against being on the right side of a sed subst in config.status. | |
1967 | sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; | |
1968 | s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF | |
1969 | s,@SHELL@,$SHELL,;t t | |
1970 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t | |
1971 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t | |
1972 | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t | |
1973 | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t | |
1974 | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t | |
1975 | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t | |
1976 | s,@exec_prefix@,$exec_prefix,;t t | |
1977 | s,@prefix@,$prefix,;t t | |
1978 | s,@program_transform_name@,$program_transform_name,;t t | |
1979 | s,@bindir@,$bindir,;t t | |
1980 | s,@sbindir@,$sbindir,;t t | |
1981 | s,@libexecdir@,$libexecdir,;t t | |
1982 | s,@datadir@,$datadir,;t t | |
1983 | s,@sysconfdir@,$sysconfdir,;t t | |
1984 | s,@sharedstatedir@,$sharedstatedir,;t t | |
1985 | s,@localstatedir@,$localstatedir,;t t | |
1986 | s,@libdir@,$libdir,;t t | |
1987 | s,@includedir@,$includedir,;t t | |
1988 | s,@oldincludedir@,$oldincludedir,;t t | |
1989 | s,@infodir@,$infodir,;t t | |
1990 | s,@mandir@,$mandir,;t t | |
1991 | s,@build_alias@,$build_alias,;t t | |
1992 | s,@host_alias@,$host_alias,;t t | |
1993 | s,@target_alias@,$target_alias,;t t | |
1994 | s,@DEFS@,$DEFS,;t t | |
1995 | s,@ECHO_C@,$ECHO_C,;t t | |
1996 | s,@ECHO_N@,$ECHO_N,;t t | |
1997 | s,@ECHO_T@,$ECHO_T,;t t | |
1998 | s,@LIBS@,$LIBS,;t t | |
1999 | s,@MAINT@,$MAINT,;t t | |
2000 | s,@build@,$build,;t t | |
2001 | s,@build_cpu@,$build_cpu,;t t | |
2002 | s,@build_vendor@,$build_vendor,;t t | |
2003 | s,@build_os@,$build_os,;t t | |
2004 | s,@host@,$host,;t t | |
2005 | s,@host_cpu@,$host_cpu,;t t | |
2006 | s,@host_vendor@,$host_vendor,;t t | |
2007 | s,@host_os@,$host_os,;t t | |
2008 | s,@target@,$target,;t t | |
2009 | s,@target_cpu@,$target_cpu,;t t | |
2010 | s,@target_vendor@,$target_vendor,;t t | |
2011 | s,@target_os@,$target_os,;t t | |
2012 | s,@enable_shared@,$enable_shared,;t t | |
2013 | s,@LIBOBJS@,$LIBOBJS,;t t | |
2014 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t | |
2015 | CEOF | |
2016 | ||
2017 | _ACEOF | |
2018 | ||
2019 | cat >>$CONFIG_STATUS <<\_ACEOF | |
2020 | # Split the substitutions into bite-sized pieces for seds with | |
2021 | # small command number limits, like on Digital OSF/1 and HP-UX. | |
2022 | ac_max_sed_lines=48 | |
2023 | ac_sed_frag=1 # Number of current file. | |
2024 | ac_beg=1 # First line for current file. | |
2025 | ac_end=$ac_max_sed_lines # Line after last line for current file. | |
2026 | ac_more_lines=: | |
2027 | ac_sed_cmds= | |
2028 | while $ac_more_lines; do | |
2029 | if test $ac_beg -gt 1; then | |
2030 | sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | |
2031 | else | |
2032 | sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | |
2033 | fi | |
2034 | if test ! -s $tmp/subs.frag; then | |
2035 | ac_more_lines=false | |
2036 | else | |
2037 | # The purpose of the label and of the branching condition is to | |
2038 | # speed up the sed processing (if there are no `@' at all, there | |
2039 | # is no need to browse any of the substitutions). | |
2040 | # These are the two extra sed commands mentioned above. | |
2041 | (echo ':t | |
2042 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed | |
2043 | if test -z "$ac_sed_cmds"; then | |
2044 | ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" | |
2045 | else | |
2046 | ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" | |
2047 | fi | |
2048 | ac_sed_frag=`expr $ac_sed_frag + 1` | |
2049 | ac_beg=$ac_end | |
2050 | ac_end=`expr $ac_end + $ac_max_sed_lines` | |
2051 | fi | |
2052 | done | |
2053 | if test -z "$ac_sed_cmds"; then | |
2054 | ac_sed_cmds=cat | |
2055 | fi | |
2056 | fi # test -n "$CONFIG_FILES" | |
2057 | ||
2058 | _ACEOF | |
2059 | cat >>$CONFIG_STATUS <<\_ACEOF | |
2060 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue | |
2061 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | |
2062 | case $ac_file in | |
2063 | - | *:- | *:-:* ) # input from stdin | |
2064 | cat >$tmp/stdin | |
2065 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | |
2066 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | |
2067 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | |
2068 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | |
2069 | * ) ac_file_in=$ac_file.in ;; | |
2070 | esac | |
2071 | ||
2072 | # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. | |
2073 | ac_dir=`(dirname "$ac_file") 2>/dev/null || | |
2074 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
2075 | X"$ac_file" : 'X\(//\)[^/]' \| \ | |
2076 | X"$ac_file" : 'X\(//\)$' \| \ | |
2077 | X"$ac_file" : 'X\(/\)' \| \ | |
2078 | . : '\(.\)' 2>/dev/null || | |
2079 | echo X"$ac_file" | | |
2080 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | |
2081 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | |
2082 | /^X\(\/\/\)$/{ s//\1/; q; } | |
2083 | /^X\(\/\).*/{ s//\1/; q; } | |
2084 | s/.*/./; q'` | |
2085 | { if $as_mkdir_p; then | |
2086 | mkdir -p "$ac_dir" | |
2087 | else | |
2088 | as_dir="$ac_dir" | |
2089 | as_dirs= | |
2090 | while test ! -d "$as_dir"; do | |
2091 | as_dirs="$as_dir $as_dirs" | |
2092 | as_dir=`(dirname "$as_dir") 2>/dev/null || | |
2093 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
2094 | X"$as_dir" : 'X\(//\)[^/]' \| \ | |
2095 | X"$as_dir" : 'X\(//\)$' \| \ | |
2096 | X"$as_dir" : 'X\(/\)' \| \ | |
2097 | . : '\(.\)' 2>/dev/null || | |
2098 | echo X"$as_dir" | | |
2099 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | |
2100 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | |
2101 | /^X\(\/\/\)$/{ s//\1/; q; } | |
2102 | /^X\(\/\).*/{ s//\1/; q; } | |
2103 | s/.*/./; q'` | |
2104 | done | |
2105 | test ! -n "$as_dirs" || mkdir $as_dirs | |
2106 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | |
2107 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | |
2108 | { (exit 1); exit 1; }; }; } | |
2109 | ||
2110 | ac_builddir=. | |
2111 | ||
2112 | if test "$ac_dir" != .; then | |
2113 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | |
2114 | # A "../" for each directory in $ac_dir_suffix. | |
2115 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | |
2116 | else | |
2117 | ac_dir_suffix= ac_top_builddir= | |
2118 | fi | |
2119 | ||
2120 | case $srcdir in | |
2121 | .) # No --srcdir option. We are building in place. | |
2122 | ac_srcdir=. | |
2123 | if test -z "$ac_top_builddir"; then | |
2124 | ac_top_srcdir=. | |
2125 | else | |
2126 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | |
2127 | fi ;; | |
2128 | [\\/]* | ?:[\\/]* ) # Absolute path. | |
2129 | ac_srcdir=$srcdir$ac_dir_suffix; | |
2130 | ac_top_srcdir=$srcdir ;; | |
2131 | *) # Relative path. | |
2132 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | |
2133 | ac_top_srcdir=$ac_top_builddir$srcdir ;; | |
2134 | esac | |
2135 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | |
2136 | # absolute. | |
2137 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | |
2138 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` | |
2139 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | |
2140 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | |
2141 | ||
2142 | ||
2143 | ||
2144 | if test x"$ac_file" != x-; then | |
2145 | { echo "$as_me:$LINENO: creating $ac_file" >&5 | |
2146 | echo "$as_me: creating $ac_file" >&6;} | |
2147 | rm -f "$ac_file" | |
2148 | fi | |
2149 | # Let's still pretend it is `configure' which instantiates (i.e., don't | |
2150 | # use $as_me), people would be surprised to read: | |
2151 | # /* config.h. Generated by config.status. */ | |
2152 | if test x"$ac_file" = x-; then | |
2153 | configure_input= | |
2154 | else | |
2155 | configure_input="$ac_file. " | |
2156 | fi | |
2157 | configure_input=$configure_input"Generated from `echo $ac_file_in | | |
2158 | sed 's,.*/,,'` by configure." | |
2159 | ||
2160 | # First look for the input files in the build tree, otherwise in the | |
2161 | # src tree. | |
2162 | ac_file_inputs=`IFS=: | |
2163 | for f in $ac_file_in; do | |
2164 | case $f in | |
2165 | -) echo $tmp/stdin ;; | |
2166 | [\\/$]*) | |
2167 | # Absolute (can't be DOS-style, as IFS=:) | |
2168 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | |
2169 | echo "$as_me: error: cannot find input file: $f" >&2;} | |
2170 | { (exit 1); exit 1; }; } | |
2171 | echo $f;; | |
2172 | *) # Relative | |
2173 | if test -f "$f"; then | |
2174 | # Build tree | |
2175 | echo $f | |
2176 | elif test -f "$srcdir/$f"; then | |
2177 | # Source tree | |
2178 | echo $srcdir/$f | |
2179 | else | |
2180 | # /dev/null tree | |
2181 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | |
2182 | echo "$as_me: error: cannot find input file: $f" >&2;} | |
2183 | { (exit 1); exit 1; }; } | |
2184 | fi;; | |
2185 | esac | |
2186 | done` || { (exit 1); exit 1; } | |
2187 | _ACEOF | |
2188 | cat >>$CONFIG_STATUS <<_ACEOF | |
2189 | sed "$ac_vpsub | |
2190 | $extrasub | |
2191 | _ACEOF | |
2192 | cat >>$CONFIG_STATUS <<\_ACEOF | |
2193 | :t | |
2194 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | |
2195 | s,@configure_input@,$configure_input,;t t | |
2196 | s,@srcdir@,$ac_srcdir,;t t | |
2197 | s,@abs_srcdir@,$ac_abs_srcdir,;t t | |
2198 | s,@top_srcdir@,$ac_top_srcdir,;t t | |
2199 | s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t | |
2200 | s,@builddir@,$ac_builddir,;t t | |
2201 | s,@abs_builddir@,$ac_abs_builddir,;t t | |
2202 | s,@top_builddir@,$ac_top_builddir,;t t | |
2203 | s,@abs_top_builddir@,$ac_abs_top_builddir,;t t | |
2204 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out | |
2205 | rm -f $tmp/stdin | |
2206 | if test x"$ac_file" != x-; then | |
2207 | mv $tmp/out $ac_file | |
2208 | else | |
2209 | cat $tmp/out | |
2210 | rm -f $tmp/out | |
2211 | fi | |
2212 | ||
2213 | done | |
2214 | _ACEOF | |
2215 | ||
2216 | cat >>$CONFIG_STATUS <<\_ACEOF | |
2217 | ||
2218 | { (exit 0); exit 0; } | |
2219 | _ACEOF | |
2220 | chmod +x $CONFIG_STATUS | |
2221 | ac_clean_files=$ac_clean_files_save | |
2222 | ||
2223 | ||
2224 | # configure is writing to config.log, and then calls config.status. | |
2225 | # config.status does its own redirection, appending to config.log. | |
2226 | # Unfortunately, on DOS this fails, as config.log is still kept open | |
2227 | # by configure, so config.status won't be able to write to it; its | |
2228 | # output is simply discarded. So we exec the FD to /dev/null, | |
2229 | # effectively closing config.log, so it can be properly (re)opened and | |
2230 | # appended to by config.status. When coming back to configure, we | |
2231 | # need to make the FD available again. | |
2232 | if test "$no_create" != yes; then | |
2233 | ac_cs_success=: | |
2234 | ac_config_status_args= | |
2235 | test "$silent" = yes && | |
2236 | ac_config_status_args="$ac_config_status_args --quiet" | |
2237 | exec 5>/dev/null | |
2238 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | |
2239 | exec 5>>config.log | |
2240 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which | |
2241 | # would make configure fail if this is the last instruction. | |
2242 | $ac_cs_success || { (exit 1); exit 1; } | |
2243 | fi | |
2244 |