]>
Commit | Line | Data |
---|---|---|
03261851 | 1 | #! /bin/sh |
03261851 | 2 | # Guess values for system-dependent variables and create Makefiles. |
6f810581 | 3 | # Generated by GNU Autoconf 2.61 for libgloss LIBGLOSS_VERSION. |
03261851 | 4 | # |
6f810581 DD |
5 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
6 | # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | |
03261851 RK |
7 | # This configure script is free software; the Free Software Foundation |
8 | # gives unlimited permission to copy, distribute and modify it. | |
4e71dc1e JJ |
9 | ## --------------------- ## |
10 | ## M4sh Initialization. ## | |
11 | ## --------------------- ## | |
12 | ||
6f810581 DD |
13 | # Be more Bourne compatible |
14 | DUALCASE=1; export DUALCASE # for MKS sh | |
4e71dc1e JJ |
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+"$@"}'='"$@"' | |
6f810581 DD |
21 | setopt NO_GLOB_SUBST |
22 | else | |
23 | case `(set -o) 2>/dev/null` in | |
24 | *posix*) set -o posix ;; | |
25 | esac | |
26 | ||
27 | fi | |
28 | ||
29 | ||
30 | ||
31 | ||
32 | # PATH needs CR | |
33 | # Avoid depending upon Character Ranges. | |
34 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
35 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
36 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
37 | as_cr_digits='0123456789' | |
38 | as_cr_alnum=$as_cr_Letters$as_cr_digits | |
39 | ||
40 | # The user is always right. | |
41 | if test "${PATH_SEPARATOR+set}" != set; then | |
42 | echo "#! /bin/sh" >conf$$.sh | |
43 | echo "exit 0" >>conf$$.sh | |
44 | chmod +x conf$$.sh | |
45 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | |
46 | PATH_SEPARATOR=';' | |
47 | else | |
48 | PATH_SEPARATOR=: | |
49 | fi | |
50 | rm -f conf$$.sh | |
4e71dc1e | 51 | fi |
4e71dc1e JJ |
52 | |
53 | # Support unset when possible. | |
54 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | |
55 | as_unset=unset | |
56 | else | |
57 | as_unset=false | |
58 | fi | |
59 | ||
60 | ||
6f810581 DD |
61 | # IFS |
62 | # We need space, tab and new line, in precisely that order. Quoting is | |
63 | # there to prevent editors from complaining about space-tab. | |
64 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
65 | # splitting by setting IFS to empty value.) | |
66 | as_nl=' | |
67 | ' | |
68 | IFS=" "" $as_nl" | |
69 | ||
70 | # Find who we are. Look in the path if we contain no directory separator. | |
71 | case $0 in | |
72 | *[\\/]* ) as_myself=$0 ;; | |
73 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
74 | for as_dir in $PATH | |
75 | do | |
76 | IFS=$as_save_IFS | |
77 | test -z "$as_dir" && as_dir=. | |
78 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
79 | done | |
80 | IFS=$as_save_IFS | |
81 | ||
82 | ;; | |
83 | esac | |
84 | # We did not find ourselves, most probably we were run as `sh COMMAND' | |
85 | # in which case we are not to be found in the path. | |
86 | if test "x$as_myself" = x; then | |
87 | as_myself=$0 | |
88 | fi | |
89 | if test ! -f "$as_myself"; then | |
90 | echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | |
91 | { (exit 1); exit 1; } | |
92 | fi | |
93 | ||
4e71dc1e | 94 | # Work around bugs in pre-3.0 UWIN ksh. |
6f810581 DD |
95 | for as_var in ENV MAIL MAILPATH |
96 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
97 | done | |
4e71dc1e JJ |
98 | PS1='$ ' |
99 | PS2='> ' | |
100 | PS4='+ ' | |
101 | ||
102 | # NLS nuisances. | |
103 | for as_var in \ | |
104 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | |
105 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | |
106 | LC_TELEPHONE LC_TIME | |
107 | do | |
108 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | |
109 | eval $as_var=C; export $as_var | |
110 | else | |
6f810581 | 111 | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
4e71dc1e JJ |
112 | fi |
113 | done | |
114 | ||
115 | # Required to use basename. | |
6f810581 DD |
116 | if expr a : '\(a\)' >/dev/null 2>&1 && |
117 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
4e71dc1e JJ |
118 | as_expr=expr |
119 | else | |
120 | as_expr=false | |
121 | fi | |
122 | ||
6f810581 | 123 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
4e71dc1e JJ |
124 | as_basename=basename |
125 | else | |
126 | as_basename=false | |
127 | fi | |
128 | ||
129 | ||
130 | # Name of the executable. | |
6f810581 | 131 | as_me=`$as_basename -- "$0" || |
4e71dc1e JJ |
132 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
133 | X"$0" : 'X\(//\)$' \| \ | |
6f810581 | 134 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
4e71dc1e | 135 | echo X/"$0" | |
6f810581 DD |
136 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
137 | s//\1/ | |
138 | q | |
139 | } | |
140 | /^X\/\(\/\/\)$/{ | |
141 | s//\1/ | |
142 | q | |
143 | } | |
144 | /^X\/\(\/\).*/{ | |
145 | s//\1/ | |
146 | q | |
147 | } | |
148 | s/.*/./; q'` | |
4e71dc1e | 149 | |
6f810581 DD |
150 | # CDPATH. |
151 | $as_unset CDPATH | |
4e71dc1e | 152 | |
4e71dc1e | 153 | |
6f810581 DD |
154 | if test "x$CONFIG_SHELL" = x; then |
155 | if (eval ":") 2>/dev/null; then | |
156 | as_have_required=yes | |
157 | else | |
158 | as_have_required=no | |
4e71dc1e JJ |
159 | fi |
160 | ||
6f810581 DD |
161 | if test $as_have_required = yes && (eval ": |
162 | (as_func_return () { | |
163 | (exit \$1) | |
164 | } | |
165 | as_func_success () { | |
166 | as_func_return 0 | |
167 | } | |
168 | as_func_failure () { | |
169 | as_func_return 1 | |
170 | } | |
171 | as_func_ret_success () { | |
172 | return 0 | |
173 | } | |
174 | as_func_ret_failure () { | |
175 | return 1 | |
176 | } | |
4e71dc1e | 177 | |
6f810581 DD |
178 | exitcode=0 |
179 | if as_func_success; then | |
180 | : | |
181 | else | |
182 | exitcode=1 | |
183 | echo as_func_success failed. | |
184 | fi | |
4e71dc1e | 185 | |
6f810581 DD |
186 | if as_func_failure; then |
187 | exitcode=1 | |
188 | echo as_func_failure succeeded. | |
189 | fi | |
190 | ||
191 | if as_func_ret_success; then | |
192 | : | |
193 | else | |
194 | exitcode=1 | |
195 | echo as_func_ret_success failed. | |
196 | fi | |
197 | ||
198 | if as_func_ret_failure; then | |
199 | exitcode=1 | |
200 | echo as_func_ret_failure succeeded. | |
201 | fi | |
202 | ||
203 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | |
204 | : | |
205 | else | |
206 | exitcode=1 | |
207 | echo positional parameters were not saved. | |
208 | fi | |
209 | ||
210 | test \$exitcode = 0) || { (exit 1); exit 1; } | |
211 | ||
212 | ( | |
213 | as_lineno_1=\$LINENO | |
214 | as_lineno_2=\$LINENO | |
215 | test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && | |
216 | test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } | |
217 | ") 2> /dev/null; then | |
218 | : | |
219 | else | |
220 | as_candidate_shells= | |
4e71dc1e JJ |
221 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
222 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | |
223 | do | |
224 | IFS=$as_save_IFS | |
225 | test -z "$as_dir" && as_dir=. | |
6f810581 | 226 | case $as_dir in |
4e71dc1e | 227 | /*) |
6f810581 DD |
228 | for as_base in sh bash ksh sh5; do |
229 | as_candidate_shells="$as_candidate_shells $as_dir/$as_base" | |
230 | done;; | |
231 | esac | |
232 | done | |
233 | IFS=$as_save_IFS | |
234 | ||
235 | ||
236 | for as_shell in $as_candidate_shells $SHELL; do | |
237 | # Try only shells that exist, to save several forks. | |
238 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | |
239 | { ("$as_shell") 2> /dev/null <<\_ASEOF | |
240 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
241 | emulate sh | |
242 | NULLCMD=: | |
243 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | |
244 | # is contrary to our usage. Disable this feature. | |
245 | alias -g '${1+"$@"}'='"$@"' | |
246 | setopt NO_GLOB_SUBST | |
247 | else | |
248 | case `(set -o) 2>/dev/null` in | |
249 | *posix*) set -o posix ;; | |
250 | esac | |
251 | ||
252 | fi | |
253 | ||
254 | ||
255 | : | |
256 | _ASEOF | |
257 | }; then | |
258 | CONFIG_SHELL=$as_shell | |
259 | as_have_required=yes | |
260 | if { "$as_shell" 2> /dev/null <<\_ASEOF | |
261 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
262 | emulate sh | |
263 | NULLCMD=: | |
264 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | |
265 | # is contrary to our usage. Disable this feature. | |
266 | alias -g '${1+"$@"}'='"$@"' | |
267 | setopt NO_GLOB_SUBST | |
268 | else | |
269 | case `(set -o) 2>/dev/null` in | |
270 | *posix*) set -o posix ;; | |
271 | esac | |
272 | ||
273 | fi | |
274 | ||
275 | ||
276 | : | |
277 | (as_func_return () { | |
278 | (exit $1) | |
279 | } | |
280 | as_func_success () { | |
281 | as_func_return 0 | |
282 | } | |
283 | as_func_failure () { | |
284 | as_func_return 1 | |
285 | } | |
286 | as_func_ret_success () { | |
287 | return 0 | |
288 | } | |
289 | as_func_ret_failure () { | |
290 | return 1 | |
291 | } | |
292 | ||
293 | exitcode=0 | |
294 | if as_func_success; then | |
295 | : | |
296 | else | |
297 | exitcode=1 | |
298 | echo as_func_success failed. | |
299 | fi | |
300 | ||
301 | if as_func_failure; then | |
302 | exitcode=1 | |
303 | echo as_func_failure succeeded. | |
304 | fi | |
305 | ||
306 | if as_func_ret_success; then | |
307 | : | |
308 | else | |
309 | exitcode=1 | |
310 | echo as_func_ret_success failed. | |
311 | fi | |
312 | ||
313 | if as_func_ret_failure; then | |
314 | exitcode=1 | |
315 | echo as_func_ret_failure succeeded. | |
316 | fi | |
317 | ||
318 | if ( set x; as_func_ret_success y && test x = "$1" ); then | |
319 | : | |
320 | else | |
321 | exitcode=1 | |
322 | echo positional parameters were not saved. | |
323 | fi | |
324 | ||
325 | test $exitcode = 0) || { (exit 1); exit 1; } | |
326 | ||
327 | ( | |
4e71dc1e JJ |
328 | as_lineno_1=$LINENO |
329 | as_lineno_2=$LINENO | |
4e71dc1e | 330 | test "x$as_lineno_1" != "x$as_lineno_2" && |
6f810581 DD |
331 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } |
332 | ||
333 | _ASEOF | |
334 | }; then | |
335 | break | |
336 | fi | |
337 | ||
338 | fi | |
339 | ||
340 | done | |
341 | ||
342 | if test "x$CONFIG_SHELL" != x; then | |
343 | for as_var in BASH_ENV ENV | |
344 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
345 | done | |
346 | export CONFIG_SHELL | |
347 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | |
348 | fi | |
349 | ||
350 | ||
351 | if test $as_have_required = no; then | |
352 | echo This script requires a shell more modern than all the | |
353 | echo shells that I found on your system. Please install a | |
354 | echo modern shell, or manually run the script under such a | |
355 | echo shell if you do have one. | |
356 | { (exit 1); exit 1; } | |
357 | fi | |
358 | ||
359 | ||
360 | fi | |
361 | ||
362 | fi | |
363 | ||
364 | ||
365 | ||
366 | (eval "as_func_return () { | |
367 | (exit \$1) | |
368 | } | |
369 | as_func_success () { | |
370 | as_func_return 0 | |
371 | } | |
372 | as_func_failure () { | |
373 | as_func_return 1 | |
374 | } | |
375 | as_func_ret_success () { | |
376 | return 0 | |
377 | } | |
378 | as_func_ret_failure () { | |
379 | return 1 | |
380 | } | |
381 | ||
382 | exitcode=0 | |
383 | if as_func_success; then | |
384 | : | |
385 | else | |
386 | exitcode=1 | |
387 | echo as_func_success failed. | |
388 | fi | |
389 | ||
390 | if as_func_failure; then | |
391 | exitcode=1 | |
392 | echo as_func_failure succeeded. | |
393 | fi | |
394 | ||
395 | if as_func_ret_success; then | |
396 | : | |
397 | else | |
398 | exitcode=1 | |
399 | echo as_func_ret_success failed. | |
400 | fi | |
401 | ||
402 | if as_func_ret_failure; then | |
403 | exitcode=1 | |
404 | echo as_func_ret_failure succeeded. | |
405 | fi | |
406 | ||
407 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | |
408 | : | |
409 | else | |
410 | exitcode=1 | |
411 | echo positional parameters were not saved. | |
412 | fi | |
413 | ||
414 | test \$exitcode = 0") || { | |
415 | echo No shell found that supports shell functions. | |
416 | echo Please tell autoconf@gnu.org about your system, | |
417 | echo including any error possibly output before this | |
418 | echo message | |
419 | } | |
420 | ||
421 | ||
422 | ||
423 | as_lineno_1=$LINENO | |
424 | as_lineno_2=$LINENO | |
425 | test "x$as_lineno_1" != "x$as_lineno_2" && | |
426 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | |
4e71dc1e JJ |
427 | |
428 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | |
429 | # uniformly replaced by the line number. The first 'sed' inserts a | |
6f810581 DD |
430 | # line-number line after each line using $LINENO; the second 'sed' |
431 | # does the real work. The second script uses 'N' to pair each | |
432 | # line-number line with the line containing $LINENO, and appends | |
433 | # trailing '-' during substitution so that $LINENO is not a special | |
434 | # case at line end. | |
4e71dc1e | 435 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
6f810581 DD |
436 | # scripts with optimization help from Paolo Bonzini. Blame Lee |
437 | # E. McMahon (1931-1989) for sed's syntax. :-) | |
438 | sed -n ' | |
439 | p | |
440 | /[$]LINENO/= | |
441 | ' <$as_myself | | |
4e71dc1e | 442 | sed ' |
6f810581 DD |
443 | s/[$]LINENO.*/&-/ |
444 | t lineno | |
445 | b | |
446 | :lineno | |
4e71dc1e | 447 | N |
6f810581 DD |
448 | :loop |
449 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | |
4e71dc1e | 450 | t loop |
6f810581 | 451 | s/-\n.*// |
4e71dc1e | 452 | ' >$as_me.lineno && |
6f810581 | 453 | chmod +x "$as_me.lineno" || |
4e71dc1e JJ |
454 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
455 | { (exit 1); exit 1; }; } | |
456 | ||
457 | # Don't try to exec as it changes $[0], causing all sort of problems | |
458 | # (the dirname of $[0] is not the place where we might find the | |
6f810581 DD |
459 | # original and so on. Autoconf is especially sensitive to this). |
460 | . "./$as_me.lineno" | |
4e71dc1e JJ |
461 | # Exit status is that of the last command. |
462 | exit | |
463 | } | |
464 | ||
465 | ||
6f810581 DD |
466 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
467 | as_dirname=dirname | |
468 | else | |
469 | as_dirname=false | |
470 | fi | |
471 | ||
472 | ECHO_C= ECHO_N= ECHO_T= | |
473 | case `echo -n x` in | |
474 | -n*) | |
475 | case `echo 'x\c'` in | |
476 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | |
477 | *) ECHO_C='\c';; | |
478 | esac;; | |
479 | *) | |
480 | ECHO_N='-n';; | |
4e71dc1e JJ |
481 | esac |
482 | ||
6f810581 DD |
483 | if expr a : '\(a\)' >/dev/null 2>&1 && |
484 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
4e71dc1e JJ |
485 | as_expr=expr |
486 | else | |
487 | as_expr=false | |
488 | fi | |
489 | ||
490 | rm -f conf$$ conf$$.exe conf$$.file | |
6f810581 DD |
491 | if test -d conf$$.dir; then |
492 | rm -f conf$$.dir/conf$$.file | |
493 | else | |
494 | rm -f conf$$.dir | |
495 | mkdir conf$$.dir | |
496 | fi | |
4e71dc1e JJ |
497 | echo >conf$$.file |
498 | if ln -s conf$$.file conf$$ 2>/dev/null; then | |
6f810581 DD |
499 | as_ln_s='ln -s' |
500 | # ... but there are two gotchas: | |
501 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | |
502 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |
503 | # In both cases, we have to default to `cp -p'. | |
504 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
4e71dc1e | 505 | as_ln_s='cp -p' |
4e71dc1e JJ |
506 | elif ln conf$$.file conf$$ 2>/dev/null; then |
507 | as_ln_s=ln | |
508 | else | |
509 | as_ln_s='cp -p' | |
510 | fi | |
6f810581 DD |
511 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
512 | rmdir conf$$.dir 2>/dev/null | |
4e71dc1e JJ |
513 | |
514 | if mkdir -p . 2>/dev/null; then | |
515 | as_mkdir_p=: | |
516 | else | |
517 | test -d ./-p && rmdir ./-p | |
518 | as_mkdir_p=false | |
519 | fi | |
03261851 | 520 | |
6f810581 DD |
521 | if test -x / >/dev/null 2>&1; then |
522 | as_test_x='test -x' | |
523 | else | |
524 | if ls -dL / >/dev/null 2>&1; then | |
525 | as_ls_L_option=L | |
526 | else | |
527 | as_ls_L_option= | |
528 | fi | |
529 | as_test_x=' | |
530 | eval sh -c '\'' | |
531 | if test -d "$1"; then | |
532 | test -d "$1/."; | |
533 | else | |
534 | case $1 in | |
535 | -*)set "./$1";; | |
536 | esac; | |
537 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | |
538 | ???[sx]*):;;*)false;;esac;fi | |
539 | '\'' sh | |
540 | ' | |
541 | fi | |
542 | as_executable_p=$as_test_x | |
4e71dc1e JJ |
543 | |
544 | # Sed expression to map a string onto a valid CPP name. | |
545 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
546 | ||
547 | # Sed expression to map a string onto a valid variable name. | |
548 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
549 | ||
550 | ||
4e71dc1e | 551 | |
6f810581 | 552 | exec 7<&0 </dev/null 6>&1 |
4e71dc1e JJ |
553 | |
554 | # Name of the host. | |
555 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | |
556 | # so uname gets run too. | |
557 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | |
558 | ||
4e71dc1e JJ |
559 | # |
560 | # Initializations. | |
561 | # | |
03261851 | 562 | ac_default_prefix=/usr/local |
6f810581 | 563 | ac_clean_files= |
4e71dc1e | 564 | ac_config_libobj_dir=. |
6f810581 | 565 | LIBOBJS= |
4e71dc1e JJ |
566 | cross_compiling=no |
567 | subdirs= | |
568 | MFLAGS= | |
569 | MAKEFLAGS= | |
570 | SHELL=${CONFIG_SHELL-/bin/sh} | |
571 | ||
4e71dc1e JJ |
572 | # Identity of this package. |
573 | PACKAGE_NAME='libgloss' | |
574 | PACKAGE_TARNAME='libgloss' | |
575 | PACKAGE_VERSION='LIBGLOSS_VERSION' | |
576 | PACKAGE_STRING='libgloss LIBGLOSS_VERSION' | |
577 | PACKAGE_BUGREPORT='' | |
578 | ||
579 | ac_unique_file="libnosys" | |
6f810581 DD |
580 | ac_subst_vars='SHELL |
581 | PATH_SEPARATOR | |
582 | PACKAGE_NAME | |
583 | PACKAGE_TARNAME | |
584 | PACKAGE_VERSION | |
585 | PACKAGE_STRING | |
586 | PACKAGE_BUGREPORT | |
587 | exec_prefix | |
588 | prefix | |
589 | program_transform_name | |
590 | bindir | |
591 | sbindir | |
592 | libexecdir | |
593 | datarootdir | |
594 | datadir | |
595 | sysconfdir | |
596 | sharedstatedir | |
597 | localstatedir | |
598 | includedir | |
599 | oldincludedir | |
600 | docdir | |
601 | infodir | |
602 | htmldir | |
603 | dvidir | |
604 | pdfdir | |
605 | psdir | |
606 | libdir | |
607 | localedir | |
608 | mandir | |
609 | DEFS | |
610 | ECHO_C | |
611 | ECHO_N | |
612 | ECHO_T | |
613 | LIBS | |
614 | build_alias | |
615 | host_alias | |
616 | target_alias | |
617 | INSTALL_PROGRAM | |
618 | INSTALL_SCRIPT | |
619 | INSTALL_DATA | |
620 | build | |
621 | build_cpu | |
622 | build_vendor | |
623 | build_os | |
624 | host | |
625 | host_cpu | |
626 | host_vendor | |
627 | host_os | |
628 | target | |
629 | target_cpu | |
630 | target_vendor | |
631 | target_os | |
632 | CYGPATH_W | |
633 | PACKAGE | |
634 | VERSION | |
635 | ACLOCAL | |
636 | AUTOCONF | |
637 | AUTOMAKE | |
638 | AUTOHEADER | |
639 | MAKEINFO | |
640 | install_sh | |
641 | STRIP | |
642 | INSTALL_STRIP_PROGRAM | |
643 | mkdir_p | |
644 | AWK | |
645 | SET_MAKE | |
646 | am__leading_dot | |
647 | AMTAR | |
648 | am__tar | |
649 | am__untar | |
650 | subdirs | |
651 | CC | |
652 | DEPDIR | |
653 | am__include | |
654 | am__quote | |
655 | AMDEP_TRUE | |
656 | AMDEP_FALSE | |
657 | AMDEPBACKSLASH | |
658 | CCDEPMODE | |
659 | am__fastdepCC_TRUE | |
660 | am__fastdepCC_FALSE | |
661 | AS | |
662 | AR | |
663 | LD | |
664 | RANLIB | |
665 | CCAS | |
666 | CCASFLAGS | |
667 | host_makefile_frag_path | |
668 | LIBOBJS | |
669 | LTLIBOBJS' | |
4e71dc1e | 670 | ac_subst_files='host_makefile_frag' |
6f810581 DD |
671 | ac_precious_vars='build_alias |
672 | host_alias | |
673 | target_alias | |
674 | CCAS | |
675 | CCASFLAGS' | |
676 | ac_subdirs_all='doc | |
677 | libnosys | |
678 | i386 | |
679 | m32r | |
680 | m68hc11 | |
681 | m68k | |
682 | pa | |
683 | i960 | |
684 | sparc | |
685 | wince | |
686 | mips | |
687 | rs6000 | |
688 | mn10200 | |
689 | mn10300 | |
690 | bfin | |
691 | cris | |
692 | crx | |
693 | d30v | |
694 | fr30 | |
695 | frv | |
696 | mcore | |
697 | mep | |
698 | mt | |
699 | xstormy16 | |
700 | m32c | |
701 | arm | |
702 | spu | |
703 | iq2000' | |
03261851 RK |
704 | |
705 | # Initialize some variables set by options. | |
4e71dc1e JJ |
706 | ac_init_help= |
707 | ac_init_version=false | |
03261851 RK |
708 | # The variables have the same names as the options, with |
709 | # dashes changed to underlines. | |
4e71dc1e | 710 | cache_file=/dev/null |
03261851 | 711 | exec_prefix=NONE |
03261851 | 712 | no_create= |
03261851 RK |
713 | no_recursion= |
714 | prefix=NONE | |
715 | program_prefix=NONE | |
716 | program_suffix=NONE | |
717 | program_transform_name=s,x,x, | |
718 | silent= | |
719 | site= | |
03261851 | 720 | srcdir= |
03261851 RK |
721 | verbose= |
722 | x_includes=NONE | |
723 | x_libraries=NONE | |
4e71dc1e JJ |
724 | |
725 | # Installation directory options. | |
726 | # These are left unexpanded so users can "make install exec_prefix=/foo" | |
727 | # and all the variables that are supposed to be based on exec_prefix | |
728 | # by default will actually change. | |
729 | # Use braces instead of parens because sh, perl, etc. also accept them. | |
6f810581 | 730 | # (The list follows the same order as the GNU Coding Standards.) |
03261851 RK |
731 | bindir='${exec_prefix}/bin' |
732 | sbindir='${exec_prefix}/sbin' | |
733 | libexecdir='${exec_prefix}/libexec' | |
6f810581 DD |
734 | datarootdir='${prefix}/share' |
735 | datadir='${datarootdir}' | |
03261851 RK |
736 | sysconfdir='${prefix}/etc' |
737 | sharedstatedir='${prefix}/com' | |
738 | localstatedir='${prefix}/var' | |
03261851 RK |
739 | includedir='${prefix}/include' |
740 | oldincludedir='/usr/include' | |
6f810581 DD |
741 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
742 | infodir='${datarootdir}/info' | |
743 | htmldir='${docdir}' | |
744 | dvidir='${docdir}' | |
745 | pdfdir='${docdir}' | |
746 | psdir='${docdir}' | |
747 | libdir='${exec_prefix}/lib' | |
748 | localedir='${datarootdir}/locale' | |
749 | mandir='${datarootdir}/man' | |
03261851 | 750 | |
03261851 | 751 | ac_prev= |
6f810581 | 752 | ac_dashdash= |
03261851 RK |
753 | for ac_option |
754 | do | |
03261851 RK |
755 | # If the previous option needs an argument, assign it. |
756 | if test -n "$ac_prev"; then | |
6f810581 | 757 | eval $ac_prev=\$ac_option |
03261851 RK |
758 | ac_prev= |
759 | continue | |
760 | fi | |
761 | ||
6f810581 DD |
762 | case $ac_option in |
763 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | |
764 | *) ac_optarg=yes ;; | |
765 | esac | |
03261851 RK |
766 | |
767 | # Accept the important Cygnus configure options, so we can diagnose typos. | |
768 | ||
6f810581 DD |
769 | case $ac_dashdash$ac_option in |
770 | --) | |
771 | ac_dashdash=yes ;; | |
03261851 RK |
772 | |
773 | -bindir | --bindir | --bindi | --bind | --bin | --bi) | |
774 | ac_prev=bindir ;; | |
775 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | |
4e71dc1e | 776 | bindir=$ac_optarg ;; |
03261851 RK |
777 | |
778 | -build | --build | --buil | --bui | --bu) | |
4e71dc1e | 779 | ac_prev=build_alias ;; |
03261851 | 780 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
4e71dc1e | 781 | build_alias=$ac_optarg ;; |
03261851 RK |
782 | |
783 | -cache-file | --cache-file | --cache-fil | --cache-fi \ | |
784 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | |
785 | ac_prev=cache_file ;; | |
786 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | |
787 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | |
4e71dc1e JJ |
788 | cache_file=$ac_optarg ;; |
789 | ||
790 | --config-cache | -C) | |
791 | cache_file=config.cache ;; | |
03261851 | 792 | |
6f810581 | 793 | -datadir | --datadir | --datadi | --datad) |
03261851 | 794 | ac_prev=datadir ;; |
6f810581 | 795 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
4e71dc1e | 796 | datadir=$ac_optarg ;; |
03261851 | 797 | |
6f810581 DD |
798 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
799 | | --dataroo | --dataro | --datar) | |
800 | ac_prev=datarootdir ;; | |
801 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | |
802 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | |
803 | datarootdir=$ac_optarg ;; | |
804 | ||
03261851 | 805 | -disable-* | --disable-*) |
4e71dc1e | 806 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
03261851 | 807 | # Reject names that are not valid shell variable names. |
6f810581 | 808 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
4e71dc1e JJ |
809 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
810 | { (exit 1); exit 1; }; } | |
6f810581 DD |
811 | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
812 | eval enable_$ac_feature=no ;; | |
813 | ||
814 | -docdir | --docdir | --docdi | --doc | --do) | |
815 | ac_prev=docdir ;; | |
816 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | |
817 | docdir=$ac_optarg ;; | |
818 | ||
819 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) | |
820 | ac_prev=dvidir ;; | |
821 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | |
822 | dvidir=$ac_optarg ;; | |
03261851 RK |
823 | |
824 | -enable-* | --enable-*) | |
4e71dc1e | 825 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
03261851 | 826 | # Reject names that are not valid shell variable names. |
6f810581 | 827 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
4e71dc1e JJ |
828 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
829 | { (exit 1); exit 1; }; } | |
6f810581 DD |
830 | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
831 | eval enable_$ac_feature=\$ac_optarg ;; | |
03261851 RK |
832 | |
833 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | |
834 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | |
835 | | --exec | --exe | --ex) | |
836 | ac_prev=exec_prefix ;; | |
837 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | |
838 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | |
839 | | --exec=* | --exe=* | --ex=*) | |
4e71dc1e | 840 | exec_prefix=$ac_optarg ;; |
03261851 RK |
841 | |
842 | -gas | --gas | --ga | --g) | |
843 | # Obsolete; use --with-gas. | |
844 | with_gas=yes ;; | |
845 | ||
4e71dc1e JJ |
846 | -help | --help | --hel | --he | -h) |
847 | ac_init_help=long ;; | |
848 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | |
849 | ac_init_help=recursive ;; | |
850 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | |
851 | ac_init_help=short ;; | |
03261851 RK |
852 | |
853 | -host | --host | --hos | --ho) | |
4e71dc1e | 854 | ac_prev=host_alias ;; |
03261851 | 855 | -host=* | --host=* | --hos=* | --ho=*) |
4e71dc1e | 856 | host_alias=$ac_optarg ;; |
03261851 | 857 | |
6f810581 DD |
858 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
859 | ac_prev=htmldir ;; | |
860 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | |
861 | | --ht=*) | |
862 | htmldir=$ac_optarg ;; | |
863 | ||
03261851 RK |
864 | -includedir | --includedir | --includedi | --included | --include \ |
865 | | --includ | --inclu | --incl | --inc) | |
866 | ac_prev=includedir ;; | |
867 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | |
868 | | --includ=* | --inclu=* | --incl=* | --inc=*) | |
4e71dc1e | 869 | includedir=$ac_optarg ;; |
03261851 RK |
870 | |
871 | -infodir | --infodir | --infodi | --infod | --info | --inf) | |
872 | ac_prev=infodir ;; | |
873 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | |
4e71dc1e | 874 | infodir=$ac_optarg ;; |
03261851 RK |
875 | |
876 | -libdir | --libdir | --libdi | --libd) | |
877 | ac_prev=libdir ;; | |
878 | -libdir=* | --libdir=* | --libdi=* | --libd=*) | |
4e71dc1e | 879 | libdir=$ac_optarg ;; |
03261851 RK |
880 | |
881 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | |
882 | | --libexe | --libex | --libe) | |
883 | ac_prev=libexecdir ;; | |
884 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | |
885 | | --libexe=* | --libex=* | --libe=*) | |
4e71dc1e | 886 | libexecdir=$ac_optarg ;; |
03261851 | 887 | |
6f810581 DD |
888 | -localedir | --localedir | --localedi | --localed | --locale) |
889 | ac_prev=localedir ;; | |
890 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) | |
891 | localedir=$ac_optarg ;; | |
892 | ||
03261851 | 893 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
6f810581 | 894 | | --localstate | --localstat | --localsta | --localst | --locals) |
03261851 RK |
895 | ac_prev=localstatedir ;; |
896 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | |
6f810581 | 897 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
4e71dc1e | 898 | localstatedir=$ac_optarg ;; |
03261851 RK |
899 | |
900 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | |
901 | ac_prev=mandir ;; | |
902 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | |
4e71dc1e | 903 | mandir=$ac_optarg ;; |
03261851 RK |
904 | |
905 | -nfp | --nfp | --nf) | |
906 | # Obsolete; use --without-fp. | |
907 | with_fp=no ;; | |
908 | ||
909 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | |
4e71dc1e | 910 | | --no-cr | --no-c | -n) |
03261851 RK |
911 | no_create=yes ;; |
912 | ||
913 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | |
914 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | |
915 | no_recursion=yes ;; | |
916 | ||
917 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | |
918 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | |
919 | | --oldin | --oldi | --old | --ol | --o) | |
920 | ac_prev=oldincludedir ;; | |
921 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | |
922 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | |
923 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | |
4e71dc1e | 924 | oldincludedir=$ac_optarg ;; |
03261851 RK |
925 | |
926 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | |
927 | ac_prev=prefix ;; | |
928 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | |
4e71dc1e | 929 | prefix=$ac_optarg ;; |
03261851 RK |
930 | |
931 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ | |
932 | | --program-pre | --program-pr | --program-p) | |
933 | ac_prev=program_prefix ;; | |
934 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ | |
935 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | |
4e71dc1e | 936 | program_prefix=$ac_optarg ;; |
03261851 RK |
937 | |
938 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ | |
939 | | --program-suf | --program-su | --program-s) | |
940 | ac_prev=program_suffix ;; | |
941 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ | |
942 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | |
4e71dc1e | 943 | program_suffix=$ac_optarg ;; |
03261851 RK |
944 | |
945 | -program-transform-name | --program-transform-name \ | |
946 | | --program-transform-nam | --program-transform-na \ | |
947 | | --program-transform-n | --program-transform- \ | |
948 | | --program-transform | --program-transfor \ | |
949 | | --program-transfo | --program-transf \ | |
950 | | --program-trans | --program-tran \ | |
951 | | --progr-tra | --program-tr | --program-t) | |
952 | ac_prev=program_transform_name ;; | |
953 | -program-transform-name=* | --program-transform-name=* \ | |
954 | | --program-transform-nam=* | --program-transform-na=* \ | |
955 | | --program-transform-n=* | --program-transform-=* \ | |
956 | | --program-transform=* | --program-transfor=* \ | |
957 | | --program-transfo=* | --program-transf=* \ | |
958 | | --program-trans=* | --program-tran=* \ | |
959 | | --progr-tra=* | --program-tr=* | --program-t=*) | |
4e71dc1e | 960 | program_transform_name=$ac_optarg ;; |
03261851 | 961 | |
6f810581 DD |
962 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
963 | ac_prev=pdfdir ;; | |
964 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) | |
965 | pdfdir=$ac_optarg ;; | |
966 | ||
967 | -psdir | --psdir | --psdi | --psd | --ps) | |
968 | ac_prev=psdir ;; | |
969 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | |
970 | psdir=$ac_optarg ;; | |
971 | ||
03261851 RK |
972 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
973 | | -silent | --silent | --silen | --sile | --sil) | |
974 | silent=yes ;; | |
975 | ||
976 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | |
977 | ac_prev=sbindir ;; | |
978 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | |
979 | | --sbi=* | --sb=*) | |
4e71dc1e | 980 | sbindir=$ac_optarg ;; |
03261851 RK |
981 | |
982 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ | |
983 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | |
984 | | --sharedst | --shareds | --shared | --share | --shar \ | |
985 | | --sha | --sh) | |
986 | ac_prev=sharedstatedir ;; | |
987 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | |
988 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | |
989 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | |
990 | | --sha=* | --sh=*) | |
4e71dc1e | 991 | sharedstatedir=$ac_optarg ;; |
03261851 RK |
992 | |
993 | -site | --site | --sit) | |
994 | ac_prev=site ;; | |
995 | -site=* | --site=* | --sit=*) | |
4e71dc1e | 996 | site=$ac_optarg ;; |
03261851 | 997 | |
03261851 RK |
998 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
999 | ac_prev=srcdir ;; | |
1000 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | |
4e71dc1e | 1001 | srcdir=$ac_optarg ;; |
03261851 RK |
1002 | |
1003 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | |
1004 | | --syscon | --sysco | --sysc | --sys | --sy) | |
1005 | ac_prev=sysconfdir ;; | |
1006 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | |
1007 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | |
4e71dc1e | 1008 | sysconfdir=$ac_optarg ;; |
03261851 RK |
1009 | |
1010 | -target | --target | --targe | --targ | --tar | --ta | --t) | |
4e71dc1e | 1011 | ac_prev=target_alias ;; |
03261851 | 1012 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
4e71dc1e | 1013 | target_alias=$ac_optarg ;; |
03261851 RK |
1014 | |
1015 | -v | -verbose | --verbose | --verbos | --verbo | --verb) | |
1016 | verbose=yes ;; | |
1017 | ||
4e71dc1e JJ |
1018 | -version | --version | --versio | --versi | --vers | -V) |
1019 | ac_init_version=: ;; | |
03261851 RK |
1020 | |
1021 | -with-* | --with-*) | |
4e71dc1e | 1022 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
03261851 | 1023 | # Reject names that are not valid shell variable names. |
6f810581 | 1024 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
4e71dc1e JJ |
1025 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
1026 | { (exit 1); exit 1; }; } | |
6f810581 DD |
1027 | ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
1028 | eval with_$ac_package=\$ac_optarg ;; | |
03261851 RK |
1029 | |
1030 | -without-* | --without-*) | |
4e71dc1e | 1031 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
03261851 | 1032 | # Reject names that are not valid shell variable names. |
6f810581 | 1033 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
4e71dc1e JJ |
1034 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
1035 | { (exit 1); exit 1; }; } | |
6f810581 DD |
1036 | ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
1037 | eval with_$ac_package=no ;; | |
03261851 RK |
1038 | |
1039 | --x) | |
1040 | # Obsolete; use --with-x. | |
1041 | with_x=yes ;; | |
1042 | ||
1043 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | |
1044 | | --x-incl | --x-inc | --x-in | --x-i) | |
1045 | ac_prev=x_includes ;; | |
1046 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | |
1047 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | |
4e71dc1e | 1048 | x_includes=$ac_optarg ;; |
03261851 RK |
1049 | |
1050 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ | |
1051 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | |
1052 | ac_prev=x_libraries ;; | |
1053 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | |
1054 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | |
4e71dc1e | 1055 | x_libraries=$ac_optarg ;; |
03261851 | 1056 | |
4e71dc1e JJ |
1057 | -*) { echo "$as_me: error: unrecognized option: $ac_option |
1058 | Try \`$0 --help' for more information." >&2 | |
1059 | { (exit 1); exit 1; }; } | |
03261851 RK |
1060 | ;; |
1061 | ||
4e71dc1e JJ |
1062 | *=*) |
1063 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | |
1064 | # Reject names that are not valid shell variable names. | |
1065 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | |
1066 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | |
1067 | { (exit 1); exit 1; }; } | |
6f810581 | 1068 | eval $ac_envvar=\$ac_optarg |
4e71dc1e JJ |
1069 | export $ac_envvar ;; |
1070 | ||
03261851 | 1071 | *) |
4e71dc1e JJ |
1072 | # FIXME: should be removed in autoconf 3.0. |
1073 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | |
1074 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | |
1075 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | |
1076 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | |
03261851 RK |
1077 | ;; |
1078 | ||
1079 | esac | |
1080 | done | |
1081 | ||
1082 | if test -n "$ac_prev"; then | |
4e71dc1e JJ |
1083 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1084 | { echo "$as_me: error: missing argument to $ac_option" >&2 | |
1085 | { (exit 1); exit 1; }; } | |
03261851 RK |
1086 | fi |
1087 | ||
6f810581 DD |
1088 | # Be sure to have absolute directory names. |
1089 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | |
1090 | datadir sysconfdir sharedstatedir localstatedir includedir \ | |
1091 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | |
1092 | libdir localedir mandir | |
03261851 | 1093 | do |
6f810581 | 1094 | eval ac_val=\$$ac_var |
4e71dc1e | 1095 | case $ac_val in |
6f810581 DD |
1096 | [\\/$]* | ?:[\\/]* ) continue;; |
1097 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | |
03261851 | 1098 | esac |
6f810581 DD |
1099 | { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
1100 | { (exit 1); exit 1; }; } | |
03261851 RK |
1101 | done |
1102 | ||
4e71dc1e JJ |
1103 | # There might be people who depend on the old broken behavior: `$host' |
1104 | # used to hold the argument of --host etc. | |
1105 | # FIXME: To remove some day. | |
1106 | build=$build_alias | |
1107 | host=$host_alias | |
1108 | target=$target_alias | |
1109 | ||
1110 | # FIXME: To remove some day. | |
1111 | if test "x$host_alias" != x; then | |
1112 | if test "x$build_alias" = x; then | |
1113 | cross_compiling=maybe | |
1114 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | |
1115 | If a cross compiler is detected then cross compile mode will be used." >&2 | |
1116 | elif test "x$build_alias" != "x$host_alias"; then | |
1117 | cross_compiling=yes | |
1118 | fi | |
1119 | fi | |
03261851 | 1120 | |
4e71dc1e JJ |
1121 | ac_tool_prefix= |
1122 | test -n "$host_alias" && ac_tool_prefix=$host_alias- | |
1123 | ||
1124 | test "$silent" = yes && exec 6>/dev/null | |
03261851 | 1125 | |
03261851 | 1126 | |
6f810581 DD |
1127 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
1128 | ac_ls_di=`ls -di .` && | |
1129 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | |
1130 | { echo "$as_me: error: Working directory cannot be determined" >&2 | |
1131 | { (exit 1); exit 1; }; } | |
1132 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | |
1133 | { echo "$as_me: error: pwd does not report name of working directory" >&2 | |
1134 | { (exit 1); exit 1; }; } | |
1135 | ||
1136 | ||
03261851 RK |
1137 | # Find the source files, if location was not specified. |
1138 | if test -z "$srcdir"; then | |
1139 | ac_srcdir_defaulted=yes | |
6f810581 DD |
1140 | # Try the directory containing this script, then the parent directory. |
1141 | ac_confdir=`$as_dirname -- "$0" || | |
4e71dc1e JJ |
1142 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1143 | X"$0" : 'X\(//\)[^/]' \| \ | |
1144 | X"$0" : 'X\(//\)$' \| \ | |
6f810581 | 1145 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
4e71dc1e | 1146 | echo X"$0" | |
6f810581 DD |
1147 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
1148 | s//\1/ | |
1149 | q | |
1150 | } | |
1151 | /^X\(\/\/\)[^/].*/{ | |
1152 | s//\1/ | |
1153 | q | |
1154 | } | |
1155 | /^X\(\/\/\)$/{ | |
1156 | s//\1/ | |
1157 | q | |
1158 | } | |
1159 | /^X\(\/\).*/{ | |
1160 | s//\1/ | |
1161 | q | |
1162 | } | |
1163 | s/.*/./; q'` | |
03261851 | 1164 | srcdir=$ac_confdir |
6f810581 | 1165 | if test ! -r "$srcdir/$ac_unique_file"; then |
03261851 RK |
1166 | srcdir=.. |
1167 | fi | |
1168 | else | |
1169 | ac_srcdir_defaulted=no | |
1170 | fi | |
6f810581 DD |
1171 | if test ! -r "$srcdir/$ac_unique_file"; then |
1172 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | |
1173 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | |
4e71dc1e | 1174 | { (exit 1); exit 1; }; } |
03261851 | 1175 | fi |
6f810581 DD |
1176 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1177 | ac_abs_confdir=`( | |
1178 | cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 | |
4e71dc1e | 1179 | { (exit 1); exit 1; }; } |
6f810581 DD |
1180 | pwd)` |
1181 | # When building in place, set srcdir=. | |
1182 | if test "$ac_abs_confdir" = "$ac_pwd"; then | |
1183 | srcdir=. | |
1184 | fi | |
1185 | # Remove unnecessary trailing slashes from srcdir. | |
1186 | # Double slashes in file names in object file debugging info | |
1187 | # mess up M-x gdb in Emacs. | |
1188 | case $srcdir in | |
1189 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; | |
1190 | esac | |
1191 | for ac_var in $ac_precious_vars; do | |
1192 | eval ac_env_${ac_var}_set=\${${ac_var}+set} | |
1193 | eval ac_env_${ac_var}_value=\$${ac_var} | |
1194 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} | |
1195 | eval ac_cv_env_${ac_var}_value=\$${ac_var} | |
1196 | done | |
4e71dc1e JJ |
1197 | |
1198 | # | |
1199 | # Report the --help message. | |
1200 | # | |
1201 | if test "$ac_init_help" = "long"; then | |
1202 | # Omit some internal or obsolete options to make the list less imposing. | |
1203 | # This message is too long to be a string in the A/UX 3.1 sh. | |
1204 | cat <<_ACEOF | |
1205 | \`configure' configures libgloss LIBGLOSS_VERSION to adapt to many kinds of systems. | |
1206 | ||
1207 | Usage: $0 [OPTION]... [VAR=VALUE]... | |
1208 | ||
1209 | To assign environment variables (e.g., CC, CFLAGS...), specify them as | |
1210 | VAR=VALUE. See below for descriptions of some of the useful variables. | |
1211 | ||
1212 | Defaults for the options are specified in brackets. | |
1213 | ||
1214 | Configuration: | |
1215 | -h, --help display this help and exit | |
1216 | --help=short display options specific to this package | |
1217 | --help=recursive display the short help of all the included packages | |
1218 | -V, --version display version information and exit | |
1219 | -q, --quiet, --silent do not print \`checking...' messages | |
1220 | --cache-file=FILE cache test results in FILE [disabled] | |
1221 | -C, --config-cache alias for \`--cache-file=config.cache' | |
1222 | -n, --no-create do not create output files | |
1223 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] | |
1224 | ||
4e71dc1e JJ |
1225 | Installation directories: |
1226 | --prefix=PREFIX install architecture-independent files in PREFIX | |
1227 | [$ac_default_prefix] | |
1228 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | |
1229 | [PREFIX] | |
1230 | ||
1231 | By default, \`make install' will install all the files in | |
1232 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | |
1233 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', | |
1234 | for instance \`--prefix=\$HOME'. | |
1235 | ||
1236 | For better control, use the options below. | |
1237 | ||
1238 | Fine tuning of the installation directories: | |
1239 | --bindir=DIR user executables [EPREFIX/bin] | |
1240 | --sbindir=DIR system admin executables [EPREFIX/sbin] | |
1241 | --libexecdir=DIR program executables [EPREFIX/libexec] | |
4e71dc1e JJ |
1242 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1243 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | |
1244 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] | |
1245 | --libdir=DIR object code libraries [EPREFIX/lib] | |
1246 | --includedir=DIR C header files [PREFIX/include] | |
1247 | --oldincludedir=DIR C header files for non-gcc [/usr/include] | |
6f810581 DD |
1248 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1249 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] | |
1250 | --infodir=DIR info documentation [DATAROOTDIR/info] | |
1251 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | |
1252 | --mandir=DIR man documentation [DATAROOTDIR/man] | |
1253 | --docdir=DIR documentation root [DATAROOTDIR/doc/libgloss] | |
1254 | --htmldir=DIR html documentation [DOCDIR] | |
1255 | --dvidir=DIR dvi documentation [DOCDIR] | |
1256 | --pdfdir=DIR pdf documentation [DOCDIR] | |
1257 | --psdir=DIR ps documentation [DOCDIR] | |
4e71dc1e JJ |
1258 | _ACEOF |
1259 | ||
1260 | cat <<\_ACEOF | |
1261 | ||
1262 | Program names: | |
1263 | --program-prefix=PREFIX prepend PREFIX to installed program names | |
1264 | --program-suffix=SUFFIX append SUFFIX to installed program names | |
1265 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names | |
1266 | ||
1267 | System types: | |
1268 | --build=BUILD configure for building on BUILD [guessed] | |
1269 | --host=HOST cross-compile to build programs to run on HOST [BUILD] | |
1270 | --target=TARGET configure for building compilers for TARGET [HOST] | |
1271 | _ACEOF | |
1272 | fi | |
1273 | ||
1274 | if test -n "$ac_init_help"; then | |
1275 | case $ac_init_help in | |
1276 | short | recursive ) echo "Configuration of libgloss LIBGLOSS_VERSION:";; | |
1277 | esac | |
1278 | cat <<\_ACEOF | |
1279 | ||
1280 | Optional Features: | |
1281 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | |
1282 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | |
1283 | --disable-dependency-tracking speeds up one-time build | |
1284 | --enable-dependency-tracking do not reject slow dependency extractors | |
1285 | ||
1286 | Some influential environment variables: | |
1287 | CCAS assembler compiler command (defaults to CC) | |
1288 | CCASFLAGS assembler compiler flags (defaults to CFLAGS) | |
1289 | ||
1290 | Use these variables to override the choices made by `configure' or to help | |
1291 | it to find libraries and programs with nonstandard names/locations. | |
1292 | ||
1293 | _ACEOF | |
6f810581 | 1294 | ac_status=$? |
4e71dc1e | 1295 | fi |
03261851 | 1296 | |
4e71dc1e JJ |
1297 | if test "$ac_init_help" = "recursive"; then |
1298 | # If there are subdirs, report their specific --help. | |
4e71dc1e | 1299 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
6f810581 | 1300 | test -d "$ac_dir" || continue |
4e71dc1e JJ |
1301 | ac_builddir=. |
1302 | ||
6f810581 DD |
1303 | case "$ac_dir" in |
1304 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
1305 | *) | |
4e71dc1e | 1306 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
6f810581 DD |
1307 | # A ".." for each directory in $ac_dir_suffix. |
1308 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` | |
1309 | case $ac_top_builddir_sub in | |
1310 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
1311 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
1312 | esac ;; | |
1313 | esac | |
1314 | ac_abs_top_builddir=$ac_pwd | |
1315 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
1316 | # for backward compatibility: | |
1317 | ac_top_builddir=$ac_top_build_prefix | |
4e71dc1e JJ |
1318 | |
1319 | case $srcdir in | |
6f810581 | 1320 | .) # We are building in place. |
4e71dc1e | 1321 | ac_srcdir=. |
6f810581 DD |
1322 | ac_top_srcdir=$ac_top_builddir_sub |
1323 | ac_abs_top_srcdir=$ac_pwd ;; | |
1324 | [\\/]* | ?:[\\/]* ) # Absolute name. | |
4e71dc1e | 1325 | ac_srcdir=$srcdir$ac_dir_suffix; |
6f810581 DD |
1326 | ac_top_srcdir=$srcdir |
1327 | ac_abs_top_srcdir=$srcdir ;; | |
1328 | *) # Relative name. | |
1329 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | |
1330 | ac_top_srcdir=$ac_top_build_prefix$srcdir | |
1331 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
4e71dc1e | 1332 | esac |
6f810581 DD |
1333 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
1334 | ||
1335 | cd "$ac_dir" || { ac_status=$?; continue; } | |
1336 | # Check for guested configure. | |
1337 | if test -f "$ac_srcdir/configure.gnu"; then | |
1338 | echo && | |
1339 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive | |
1340 | elif test -f "$ac_srcdir/configure"; then | |
1341 | echo && | |
1342 | $SHELL "$ac_srcdir/configure" --help=recursive | |
4e71dc1e JJ |
1343 | else |
1344 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | |
6f810581 DD |
1345 | fi || ac_status=$? |
1346 | cd "$ac_pwd" || { ac_status=$?; break; } | |
4e71dc1e JJ |
1347 | done |
1348 | fi | |
1349 | ||
6f810581 | 1350 | test -n "$ac_init_help" && exit $ac_status |
4e71dc1e JJ |
1351 | if $ac_init_version; then |
1352 | cat <<\_ACEOF | |
1353 | libgloss configure LIBGLOSS_VERSION | |
6f810581 | 1354 | generated by GNU Autoconf 2.61 |
4e71dc1e | 1355 | |
6f810581 DD |
1356 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
1357 | 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | |
4e71dc1e JJ |
1358 | This configure script is free software; the Free Software Foundation |
1359 | gives unlimited permission to copy, distribute and modify it. | |
1360 | _ACEOF | |
6f810581 | 1361 | exit |
4e71dc1e | 1362 | fi |
6f810581 | 1363 | cat >config.log <<_ACEOF |
4e71dc1e JJ |
1364 | This file contains any messages produced by compilers while |
1365 | running configure, to aid debugging if configure makes a mistake. | |
1366 | ||
1367 | It was created by libgloss $as_me LIBGLOSS_VERSION, which was | |
6f810581 | 1368 | generated by GNU Autoconf 2.61. Invocation command line was |
4e71dc1e JJ |
1369 | |
1370 | $ $0 $@ | |
1371 | ||
1372 | _ACEOF | |
6f810581 | 1373 | exec 5>>config.log |
4e71dc1e JJ |
1374 | { |
1375 | cat <<_ASUNAME | |
1376 | ## --------- ## | |
1377 | ## Platform. ## | |
1378 | ## --------- ## | |
1379 | ||
1380 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | |
1381 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | |
1382 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | |
1383 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | |
1384 | uname -v = `(uname -v) 2>/dev/null || echo unknown` | |
1385 | ||
1386 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | |
1387 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | |
1388 | ||
1389 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | |
1390 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | |
1391 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | |
6f810581 | 1392 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
4e71dc1e JJ |
1393 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
1394 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | |
1395 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | |
1396 | ||
1397 | _ASUNAME | |
1398 | ||
1399 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
1400 | for as_dir in $PATH | |
1401 | do | |
1402 | IFS=$as_save_IFS | |
1403 | test -z "$as_dir" && as_dir=. | |
1404 | echo "PATH: $as_dir" | |
1405 | done | |
6f810581 | 1406 | IFS=$as_save_IFS |
4e71dc1e JJ |
1407 | |
1408 | } >&5 | |
1409 | ||
1410 | cat >&5 <<_ACEOF | |
1411 | ||
1412 | ||
1413 | ## ----------- ## | |
1414 | ## Core tests. ## | |
1415 | ## ----------- ## | |
1416 | ||
1417 | _ACEOF | |
1418 | ||
1419 | ||
1420 | # Keep a trace of the command line. | |
1421 | # Strip out --no-create and --no-recursion so they do not pile up. | |
1422 | # Strip out --silent because we don't want to record it for future runs. | |
1423 | # Also quote any args containing shell meta-characters. | |
1424 | # Make two passes to allow for proper duplicate-argument suppression. | |
1425 | ac_configure_args= | |
1426 | ac_configure_args0= | |
1427 | ac_configure_args1= | |
4e71dc1e JJ |
1428 | ac_must_keep_next=false |
1429 | for ac_pass in 1 2 | |
1430 | do | |
1431 | for ac_arg | |
1432 | do | |
1433 | case $ac_arg in | |
1434 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | |
1435 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
1436 | | -silent | --silent | --silen | --sile | --sil) | |
1437 | continue ;; | |
6f810581 | 1438 | *\'*) |
4e71dc1e JJ |
1439 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1440 | esac | |
1441 | case $ac_pass in | |
1442 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | |
1443 | 2) | |
1444 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" | |
1445 | if test $ac_must_keep_next = true; then | |
1446 | ac_must_keep_next=false # Got value, back to normal. | |
1447 | else | |
1448 | case $ac_arg in | |
1449 | *=* | --config-cache | -C | -disable-* | --disable-* \ | |
1450 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | |
1451 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | |
1452 | | -with-* | --with-* | -without-* | --without-* | --x) | |
1453 | case "$ac_configure_args0 " in | |
1454 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | |
1455 | esac | |
1456 | ;; | |
1457 | -* ) ac_must_keep_next=true ;; | |
1458 | esac | |
1459 | fi | |
6f810581 | 1460 | ac_configure_args="$ac_configure_args '$ac_arg'" |
4e71dc1e JJ |
1461 | ;; |
1462 | esac | |
1463 | done | |
1464 | done | |
1465 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | |
1466 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | |
1467 | ||
1468 | # When interrupted or exit'd, cleanup temporary files, and complete | |
1469 | # config.log. We remove comments because anyway the quotes in there | |
1470 | # would cause problems or look ugly. | |
6f810581 DD |
1471 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
1472 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. | |
4e71dc1e JJ |
1473 | trap 'exit_status=$? |
1474 | # Save into config.log some information that might help in debugging. | |
1475 | { | |
1476 | echo | |
1477 | ||
1478 | cat <<\_ASBOX | |
1479 | ## ---------------- ## | |
1480 | ## Cache variables. ## | |
1481 | ## ---------------- ## | |
1482 | _ASBOX | |
1483 | echo | |
1484 | # The following way of writing the cache mishandles newlines in values, | |
6f810581 DD |
1485 | ( |
1486 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | |
1487 | eval ac_val=\$$ac_var | |
1488 | case $ac_val in #( | |
1489 | *${as_nl}*) | |
1490 | case $ac_var in #( | |
1491 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 | |
1492 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; | |
1493 | esac | |
1494 | case $ac_var in #( | |
1495 | _ | IFS | as_nl) ;; #( | |
1496 | *) $as_unset $ac_var ;; | |
1497 | esac ;; | |
1498 | esac | |
1499 | done | |
4e71dc1e | 1500 | (set) 2>&1 | |
6f810581 DD |
1501 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
1502 | *${as_nl}ac_space=\ *) | |
4e71dc1e | 1503 | sed -n \ |
6f810581 DD |
1504 | "s/'\''/'\''\\\\'\'''\''/g; |
1505 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" | |
1506 | ;; #( | |
4e71dc1e | 1507 | *) |
6f810581 | 1508 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
4e71dc1e | 1509 | ;; |
6f810581 DD |
1510 | esac | |
1511 | sort | |
1512 | ) | |
4e71dc1e JJ |
1513 | echo |
1514 | ||
1515 | cat <<\_ASBOX | |
1516 | ## ----------------- ## | |
1517 | ## Output variables. ## | |
1518 | ## ----------------- ## | |
1519 | _ASBOX | |
1520 | echo | |
1521 | for ac_var in $ac_subst_vars | |
1522 | do | |
6f810581 DD |
1523 | eval ac_val=\$$ac_var |
1524 | case $ac_val in | |
1525 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
1526 | esac | |
1527 | echo "$ac_var='\''$ac_val'\''" | |
4e71dc1e JJ |
1528 | done | sort |
1529 | echo | |
1530 | ||
1531 | if test -n "$ac_subst_files"; then | |
1532 | cat <<\_ASBOX | |
6f810581 DD |
1533 | ## ------------------- ## |
1534 | ## File substitutions. ## | |
1535 | ## ------------------- ## | |
4e71dc1e JJ |
1536 | _ASBOX |
1537 | echo | |
1538 | for ac_var in $ac_subst_files | |
1539 | do | |
6f810581 DD |
1540 | eval ac_val=\$$ac_var |
1541 | case $ac_val in | |
1542 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
1543 | esac | |
1544 | echo "$ac_var='\''$ac_val'\''" | |
4e71dc1e JJ |
1545 | done | sort |
1546 | echo | |
1547 | fi | |
1548 | ||
1549 | if test -s confdefs.h; then | |
1550 | cat <<\_ASBOX | |
1551 | ## ----------- ## | |
1552 | ## confdefs.h. ## | |
1553 | ## ----------- ## | |
1554 | _ASBOX | |
1555 | echo | |
6f810581 | 1556 | cat confdefs.h |
4e71dc1e JJ |
1557 | echo |
1558 | fi | |
1559 | test "$ac_signal" != 0 && | |
1560 | echo "$as_me: caught signal $ac_signal" | |
1561 | echo "$as_me: exit $exit_status" | |
1562 | } >&5 | |
6f810581 DD |
1563 | rm -f core *.core core.conftest.* && |
1564 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | |
4e71dc1e | 1565 | exit $exit_status |
6f810581 | 1566 | ' 0 |
4e71dc1e JJ |
1567 | for ac_signal in 1 2 13 15; do |
1568 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | |
1569 | done | |
1570 | ac_signal=0 | |
1571 | ||
1572 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | |
6f810581 | 1573 | rm -f -r conftest* confdefs.h |
4e71dc1e JJ |
1574 | |
1575 | # Predefined preprocessor variables. | |
1576 | ||
1577 | cat >>confdefs.h <<_ACEOF | |
1578 | #define PACKAGE_NAME "$PACKAGE_NAME" | |
1579 | _ACEOF | |
1580 | ||
1581 | ||
1582 | cat >>confdefs.h <<_ACEOF | |
1583 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | |
1584 | _ACEOF | |
1585 | ||
1586 | ||
1587 | cat >>confdefs.h <<_ACEOF | |
1588 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | |
1589 | _ACEOF | |
1590 | ||
1591 | ||
1592 | cat >>confdefs.h <<_ACEOF | |
1593 | #define PACKAGE_STRING "$PACKAGE_STRING" | |
1594 | _ACEOF | |
1595 | ||
1596 | ||
1597 | cat >>confdefs.h <<_ACEOF | |
1598 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | |
1599 | _ACEOF | |
1600 | ||
1601 | ||
1602 | # Let the site file select an alternate cache file if it wants to. | |
03261851 | 1603 | # Prefer explicitly selected file to automatically selected ones. |
6f810581 DD |
1604 | if test -n "$CONFIG_SITE"; then |
1605 | set x "$CONFIG_SITE" | |
1606 | elif test "x$prefix" != xNONE; then | |
1607 | set x "$prefix/share/config.site" "$prefix/etc/config.site" | |
1608 | else | |
1609 | set x "$ac_default_prefix/share/config.site" \ | |
1610 | "$ac_default_prefix/etc/config.site" | |
03261851 | 1611 | fi |
6f810581 DD |
1612 | shift |
1613 | for ac_site_file | |
1614 | do | |
03261851 | 1615 | if test -r "$ac_site_file"; then |
4e71dc1e JJ |
1616 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
1617 | echo "$as_me: loading site script $ac_site_file" >&6;} | |
1618 | sed 's/^/| /' "$ac_site_file" >&5 | |
03261851 RK |
1619 | . "$ac_site_file" |
1620 | fi | |
1621 | done | |
1622 | ||
1623 | if test -r "$cache_file"; then | |
4e71dc1e JJ |
1624 | # Some versions of bash will fail to source /dev/null (special |
1625 | # files actually), so we avoid doing that. | |
1626 | if test -f "$cache_file"; then | |
1627 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | |
1628 | echo "$as_me: loading cache $cache_file" >&6;} | |
1629 | case $cache_file in | |
6f810581 DD |
1630 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
1631 | *) . "./$cache_file";; | |
4e71dc1e JJ |
1632 | esac |
1633 | fi | |
03261851 | 1634 | else |
4e71dc1e JJ |
1635 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
1636 | echo "$as_me: creating cache $cache_file" >&6;} | |
1637 | >$cache_file | |
03261851 RK |
1638 | fi |
1639 | ||
4e71dc1e JJ |
1640 | # Check that the precious variables saved in the cache have kept the same |
1641 | # value. | |
1642 | ac_cache_corrupted=false | |
6f810581 | 1643 | for ac_var in $ac_precious_vars; do |
4e71dc1e JJ |
1644 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1645 | eval ac_new_set=\$ac_env_${ac_var}_set | |
6f810581 DD |
1646 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
1647 | eval ac_new_val=\$ac_env_${ac_var}_value | |
4e71dc1e JJ |
1648 | case $ac_old_set,$ac_new_set in |
1649 | set,) | |
1650 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | |
1651 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | |
1652 | ac_cache_corrupted=: ;; | |
1653 | ,set) | |
1654 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | |
1655 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | |
1656 | ac_cache_corrupted=: ;; | |
1657 | ,);; | |
1658 | *) | |
1659 | if test "x$ac_old_val" != "x$ac_new_val"; then | |
1660 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | |
1661 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | |
1662 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 | |
1663 | echo "$as_me: former value: $ac_old_val" >&2;} | |
1664 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 | |
1665 | echo "$as_me: current value: $ac_new_val" >&2;} | |
1666 | ac_cache_corrupted=: | |
1667 | fi;; | |
1668 | esac | |
1669 | # Pass precious variables to config.status. | |
1670 | if test "$ac_new_set" = set; then | |
1671 | case $ac_new_val in | |
6f810581 | 1672 | *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
4e71dc1e JJ |
1673 | *) ac_arg=$ac_var=$ac_new_val ;; |
1674 | esac | |
1675 | case " $ac_configure_args " in | |
1676 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | |
1677 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | |
1678 | esac | |
03261851 | 1679 | fi |
4e71dc1e JJ |
1680 | done |
1681 | if $ac_cache_corrupted; then | |
1682 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | |
1683 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} | |
1684 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | |
1685 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | |
1686 | { (exit 1); exit 1; }; } | |
03261851 | 1687 | fi |
4e71dc1e | 1688 | |
4e71dc1e JJ |
1689 | |
1690 | ||
1691 | ||
1692 | ||
1693 | ||
1694 | ||
1695 | ||
1696 | ||
1697 | ||
1698 | ||
1699 | ||
1700 | ||
1701 | ||
1702 | ||
1703 | ||
1704 | ||
1705 | ||
1706 | ||
1707 | ||
1708 | ||
1709 | ||
1710 | ||
1711 | ||
1712 | ||
6f810581 DD |
1713 | ac_ext=c |
1714 | ac_cpp='$CPP $CPPFLAGS' | |
1715 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
1716 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
1717 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
4e71dc1e | 1718 | |
03261851 RK |
1719 | |
1720 | ||
1721 | ||
1722 | if test "${enable_shared}" = "yes" ; then | |
1723 | echo "Shared libraries not supported for cross compiling, ignored" | |
1724 | fi | |
1725 | ||
1726 | if test "${srcdir}" = "." ; then | |
1727 | if test "${with_target_subdir}" != "." ; then | |
1728 | libgloss_topdir="${srcdir}/${with_multisrctop}../.." | |
1729 | else | |
1730 | libgloss_topdir="${srcdir}/${with_multisrctop}.." | |
1731 | fi | |
1732 | else | |
1733 | libgloss_topdir="${srcdir}/.." | |
1734 | fi | |
1735 | ac_aux_dir= | |
6f810581 DD |
1736 | for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do |
1737 | if test -f "$ac_dir/install-sh"; then | |
03261851 RK |
1738 | ac_aux_dir=$ac_dir |
1739 | ac_install_sh="$ac_aux_dir/install-sh -c" | |
1740 | break | |
6f810581 | 1741 | elif test -f "$ac_dir/install.sh"; then |
03261851 RK |
1742 | ac_aux_dir=$ac_dir |
1743 | ac_install_sh="$ac_aux_dir/install.sh -c" | |
1744 | break | |
6f810581 | 1745 | elif test -f "$ac_dir/shtool"; then |
4e71dc1e JJ |
1746 | ac_aux_dir=$ac_dir |
1747 | ac_install_sh="$ac_aux_dir/shtool install -c" | |
1748 | break | |
03261851 RK |
1749 | fi |
1750 | done | |
1751 | if test -z "$ac_aux_dir"; then | |
6f810581 DD |
1752 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&5 |
1753 | echo "$as_me: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&2;} | |
4e71dc1e | 1754 | { (exit 1); exit 1; }; } |
03261851 | 1755 | fi |
6f810581 DD |
1756 | |
1757 | # These three variables are undocumented and unsupported, | |
1758 | # and are intended to be withdrawn in a future Autoconf release. | |
1759 | # They can cause serious problems if a builder's source tree is in a directory | |
1760 | # whose full name contains unusual characters. | |
1761 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. | |
1762 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. | |
1763 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | |
1764 | ||
03261851 RK |
1765 | |
1766 | ||
1767 | # Find a good install program. We prefer a C program (faster), | |
1768 | # so one script is as good as another. But avoid the broken or | |
1769 | # incompatible versions: | |
1770 | # SysV /etc/install, /usr/sbin/install | |
1771 | # SunOS /usr/etc/install | |
1772 | # IRIX /sbin/install | |
1773 | # AIX /bin/install | |
4e71dc1e | 1774 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
03261851 RK |
1775 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
1776 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | |
1777 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | |
4e71dc1e | 1778 | # OS/2's system install, which has a completely different semantic |
03261851 | 1779 | # ./install, which can be erroneously created by make from ./install.sh. |
6f810581 DD |
1780 | { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
1781 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } | |
03261851 | 1782 | if test -z "$INSTALL"; then |
4e71dc1e JJ |
1783 | if test "${ac_cv_path_install+set}" = set; then |
1784 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1785 | else | |
1786 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
1787 | for as_dir in $PATH | |
1788 | do | |
1789 | IFS=$as_save_IFS | |
1790 | test -z "$as_dir" && as_dir=. | |
1791 | # Account for people who put trailing slashes in PATH elements. | |
1792 | case $as_dir/ in | |
1793 | ./ | .// | /cC/* | \ | |
1794 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | |
1795 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ | |
1796 | /usr/ucb/* ) ;; | |
1797 | *) | |
1798 | # OSF1 and SCO ODT 3.0 have their own names for install. | |
1799 | # Don't use installbsd from OSF since it installs stuff as root | |
1800 | # by default. | |
1801 | for ac_prog in ginstall scoinst install; do | |
1802 | for ac_exec_ext in '' $ac_executable_extensions; do | |
6f810581 | 1803 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
03261851 | 1804 | if test $ac_prog = install && |
4e71dc1e | 1805 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
03261851 RK |
1806 | # AIX install. It has an incompatible calling convention. |
1807 | : | |
4e71dc1e JJ |
1808 | elif test $ac_prog = install && |
1809 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
1810 | # program-specific install script used by HP pwplus--don't use. | |
1811 | : | |
03261851 | 1812 | else |
4e71dc1e JJ |
1813 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
1814 | break 3 | |
03261851 RK |
1815 | fi |
1816 | fi | |
1817 | done | |
4e71dc1e JJ |
1818 | done |
1819 | ;; | |
1820 | esac | |
1821 | done | |
6f810581 | 1822 | IFS=$as_save_IFS |
4e71dc1e | 1823 | |
03261851 RK |
1824 | |
1825 | fi | |
1826 | if test "${ac_cv_path_install+set}" = set; then | |
4e71dc1e | 1827 | INSTALL=$ac_cv_path_install |
03261851 | 1828 | else |
6f810581 DD |
1829 | # As a last resort, use the slow shell script. Don't cache a |
1830 | # value for INSTALL within a source directory, because that will | |
03261851 | 1831 | # break other packages using the cache if that directory is |
6f810581 | 1832 | # removed, or if the value is a relative name. |
4e71dc1e | 1833 | INSTALL=$ac_install_sh |
03261851 RK |
1834 | fi |
1835 | fi | |
6f810581 DD |
1836 | { echo "$as_me:$LINENO: result: $INSTALL" >&5 |
1837 | echo "${ECHO_T}$INSTALL" >&6; } | |
03261851 RK |
1838 | |
1839 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | |
1840 | # It thinks the first close brace ends the variable substitution. | |
1841 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | |
1842 | ||
4e71dc1e | 1843 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
03261851 RK |
1844 | |
1845 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | |
1846 | ||
1847 | ||
4e71dc1e | 1848 | # Make sure we can run config.sub. |
6f810581 DD |
1849 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
1850 | { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 | |
1851 | echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} | |
4e71dc1e JJ |
1852 | { (exit 1); exit 1; }; } |
1853 | ||
6f810581 DD |
1854 | { echo "$as_me:$LINENO: checking build system type" >&5 |
1855 | echo $ECHO_N "checking build system type... $ECHO_C" >&6; } | |
4e71dc1e JJ |
1856 | if test "${ac_cv_build+set}" = set; then |
1857 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1858 | else | |
6f810581 DD |
1859 | ac_build_alias=$build_alias |
1860 | test "x$ac_build_alias" = x && | |
1861 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` | |
1862 | test "x$ac_build_alias" = x && | |
4e71dc1e JJ |
1863 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
1864 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | |
1865 | { (exit 1); exit 1; }; } | |
6f810581 DD |
1866 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
1867 | { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 | |
1868 | echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} | |
4e71dc1e JJ |
1869 | { (exit 1); exit 1; }; } |
1870 | ||
1871 | fi | |
6f810581 DD |
1872 | { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
1873 | echo "${ECHO_T}$ac_cv_build" >&6; } | |
1874 | case $ac_cv_build in | |
1875 | *-*-*) ;; | |
1876 | *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 | |
1877 | echo "$as_me: error: invalid value of canonical build" >&2;} | |
1878 | { (exit 1); exit 1; }; };; | |
1879 | esac | |
4e71dc1e | 1880 | build=$ac_cv_build |
6f810581 DD |
1881 | ac_save_IFS=$IFS; IFS='-' |
1882 | set x $ac_cv_build | |
1883 | shift | |
1884 | build_cpu=$1 | |
1885 | build_vendor=$2 | |
1886 | shift; shift | |
1887 | # Remember, the first character of IFS is used to create $*, | |
1888 | # except with old shells: | |
1889 | build_os=$* | |
1890 | IFS=$ac_save_IFS | |
1891 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac | |
1892 | ||
1893 | ||
1894 | { echo "$as_me:$LINENO: checking host system type" >&5 | |
1895 | echo $ECHO_N "checking host system type... $ECHO_C" >&6; } | |
4e71dc1e JJ |
1896 | if test "${ac_cv_host+set}" = set; then |
1897 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1898 | else | |
6f810581 DD |
1899 | if test "x$host_alias" = x; then |
1900 | ac_cv_host=$ac_cv_build | |
1901 | else | |
1902 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || | |
1903 | { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 | |
1904 | echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} | |
4e71dc1e | 1905 | { (exit 1); exit 1; }; } |
6f810581 | 1906 | fi |
4e71dc1e JJ |
1907 | |
1908 | fi | |
6f810581 DD |
1909 | { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
1910 | echo "${ECHO_T}$ac_cv_host" >&6; } | |
1911 | case $ac_cv_host in | |
1912 | *-*-*) ;; | |
1913 | *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 | |
1914 | echo "$as_me: error: invalid value of canonical host" >&2;} | |
1915 | { (exit 1); exit 1; }; };; | |
1916 | esac | |
4e71dc1e | 1917 | host=$ac_cv_host |
6f810581 DD |
1918 | ac_save_IFS=$IFS; IFS='-' |
1919 | set x $ac_cv_host | |
1920 | shift | |
1921 | host_cpu=$1 | |
1922 | host_vendor=$2 | |
1923 | shift; shift | |
1924 | # Remember, the first character of IFS is used to create $*, | |
1925 | # except with old shells: | |
1926 | host_os=$* | |
1927 | IFS=$ac_save_IFS | |
1928 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac | |
1929 | ||
1930 | ||
1931 | { echo "$as_me:$LINENO: checking target system type" >&5 | |
1932 | echo $ECHO_N "checking target system type... $ECHO_C" >&6; } | |
4e71dc1e JJ |
1933 | if test "${ac_cv_target+set}" = set; then |
1934 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1935 | else | |
6f810581 DD |
1936 | if test "x$target_alias" = x; then |
1937 | ac_cv_target=$ac_cv_host | |
1938 | else | |
1939 | ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || | |
1940 | { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 | |
1941 | echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} | |
4e71dc1e | 1942 | { (exit 1); exit 1; }; } |
6f810581 | 1943 | fi |
4e71dc1e JJ |
1944 | |
1945 | fi | |
6f810581 DD |
1946 | { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 |
1947 | echo "${ECHO_T}$ac_cv_target" >&6; } | |
1948 | case $ac_cv_target in | |
1949 | *-*-*) ;; | |
1950 | *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 | |
1951 | echo "$as_me: error: invalid value of canonical target" >&2;} | |
1952 | { (exit 1); exit 1; }; };; | |
1953 | esac | |
4e71dc1e | 1954 | target=$ac_cv_target |
6f810581 DD |
1955 | ac_save_IFS=$IFS; IFS='-' |
1956 | set x $ac_cv_target | |
1957 | shift | |
1958 | target_cpu=$1 | |
1959 | target_vendor=$2 | |
1960 | shift; shift | |
1961 | # Remember, the first character of IFS is used to create $*, | |
1962 | # except with old shells: | |
1963 | target_os=$* | |
1964 | IFS=$ac_save_IFS | |
1965 | case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac | |
4e71dc1e | 1966 | |
03261851 RK |
1967 | |
1968 | # The aliases save the names the user supplied, while $host etc. | |
1969 | # will get canonicalized. | |
4e71dc1e JJ |
1970 | test -n "$target_alias" && |
1971 | test "$program_prefix$program_suffix$program_transform_name" = \ | |
1972 | NONENONEs,x,x, && | |
1973 | program_prefix=${target_alias}- | |
1974 | am__api_version="1.9" | |
6f810581 DD |
1975 | { echo "$as_me:$LINENO: checking whether build environment is sane" >&5 |
1976 | echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } | |
4e71dc1e JJ |
1977 | # Just in case |
1978 | sleep 1 | |
1979 | echo timestamp > conftest.file | |
1980 | # Do `set' in a subshell so we don't clobber the current shell's | |
1981 | # arguments. Must try -L first in case configure is actually a | |
1982 | # symlink; some systems play weird games with the mod time of symlinks | |
1983 | # (eg FreeBSD returns the mod time of the symlink's containing | |
1984 | # directory). | |
1985 | if ( | |
1986 | set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` | |
1987 | if test "$*" = "X"; then | |
1988 | # -L didn't work. | |
1989 | set X `ls -t $srcdir/configure conftest.file` | |
1990 | fi | |
1991 | rm -f conftest.file | |
1992 | if test "$*" != "X $srcdir/configure conftest.file" \ | |
1993 | && test "$*" != "X conftest.file $srcdir/configure"; then | |
1994 | ||
1995 | # If neither matched, then we have a broken ls. This can happen | |
1996 | # if, for instance, CONFIG_SHELL is bash and it inherits a | |
1997 | # broken ls alias from the environment. This has actually | |
1998 | # happened. Such a system could not be considered "sane". | |
1999 | { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken | |
2000 | alias in your environment" >&5 | |
2001 | echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken | |
2002 | alias in your environment" >&2;} | |
2003 | { (exit 1); exit 1; }; } | |
2004 | fi | |
2005 | ||
2006 | test "$2" = conftest.file | |
2007 | ) | |
2008 | then | |
2009 | # Ok. | |
2010 | : | |
2011 | else | |
2012 | { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! | |
2013 | Check your system clock" >&5 | |
2014 | echo "$as_me: error: newly created file is older than distributed files! | |
2015 | Check your system clock" >&2;} | |
2016 | { (exit 1); exit 1; }; } | |
2017 | fi | |
6f810581 DD |
2018 | { echo "$as_me:$LINENO: result: yes" >&5 |
2019 | echo "${ECHO_T}yes" >&6; } | |
4e71dc1e | 2020 | test "$program_prefix" != NONE && |
6f810581 | 2021 | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
4e71dc1e JJ |
2022 | # Use a double $ so make ignores it. |
2023 | test "$program_suffix" != NONE && | |
6f810581 | 2024 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
4e71dc1e JJ |
2025 | # Double any \ or $. echo might interpret backslashes. |
2026 | # By default was `s,x,x', remove it if useless. | |
2027 | cat <<\_ACEOF >conftest.sed | |
2028 | s/[\\$]/&&/g;s/;s,x,x,$// | |
2029 | _ACEOF | |
2030 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` | |
6f810581 | 2031 | rm -f conftest.sed |
4e71dc1e JJ |
2032 | |
2033 | # expand $ac_aux_dir to an absolute path | |
2034 | am_aux_dir=`cd $ac_aux_dir && pwd` | |
2035 | ||
2036 | test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" | |
2037 | # Use eval to expand $SHELL | |
2038 | if eval "$MISSING --run true"; then | |
2039 | am_missing_run="$MISSING --run " | |
2040 | else | |
2041 | am_missing_run= | |
2042 | { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 | |
2043 | echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} | |
2044 | fi | |
03261851 | 2045 | |
4e71dc1e JJ |
2046 | if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then |
2047 | # We used to keeping the `.' as first argument, in order to | |
2048 | # allow $(mkdir_p) to be used without argument. As in | |
2049 | # $(mkdir_p) $(somedir) | |
2050 | # where $(somedir) is conditionally defined. However this is wrong | |
2051 | # for two reasons: | |
2052 | # 1. if the package is installed by a user who cannot write `.' | |
2053 | # make install will fail, | |
2054 | # 2. the above comment should most certainly read | |
2055 | # $(mkdir_p) $(DESTDIR)$(somedir) | |
2056 | # so it does not work when $(somedir) is undefined and | |
2057 | # $(DESTDIR) is not. | |
2058 | # To support the latter case, we have to write | |
2059 | # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), | |
2060 | # so the `.' trick is pointless. | |
2061 | mkdir_p='mkdir -p --' | |
2062 | else | |
2063 | # On NextStep and OpenStep, the `mkdir' command does not | |
2064 | # recognize any option. It will interpret all options as | |
2065 | # directories to create, and then abort because `.' already | |
2066 | # exists. | |
2067 | for d in ./-p ./--version; | |
2068 | do | |
2069 | test -d $d && rmdir $d | |
2070 | done | |
2071 | # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. | |
2072 | if test -f "$ac_aux_dir/mkinstalldirs"; then | |
2073 | mkdir_p='$(mkinstalldirs)' | |
2074 | else | |
2075 | mkdir_p='$(install_sh) -d' | |
2076 | fi | |
2077 | fi | |
03261851 | 2078 | |
4e71dc1e JJ |
2079 | for ac_prog in gawk mawk nawk awk |
2080 | do | |
2081 | # Extract the first word of "$ac_prog", so it can be a program name with args. | |
2082 | set dummy $ac_prog; ac_word=$2 | |
6f810581 DD |
2083 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2084 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | |
4e71dc1e JJ |
2085 | if test "${ac_cv_prog_AWK+set}" = set; then |
2086 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2087 | else | |
2088 | if test -n "$AWK"; then | |
2089 | ac_cv_prog_AWK="$AWK" # Let the user override the test. | |
2090 | else | |
2091 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2092 | for as_dir in $PATH | |
2093 | do | |
2094 | IFS=$as_save_IFS | |
2095 | test -z "$as_dir" && as_dir=. | |
2096 | for ac_exec_ext in '' $ac_executable_extensions; do | |
6f810581 | 2097 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4e71dc1e JJ |
2098 | ac_cv_prog_AWK="$ac_prog" |
2099 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2100 | break 2 | |
2101 | fi | |
2102 | done | |
2103 | done | |
6f810581 | 2104 | IFS=$as_save_IFS |
4e71dc1e JJ |
2105 | |
2106 | fi | |
2107 | fi | |
2108 | AWK=$ac_cv_prog_AWK | |
2109 | if test -n "$AWK"; then | |
6f810581 DD |
2110 | { echo "$as_me:$LINENO: result: $AWK" >&5 |
2111 | echo "${ECHO_T}$AWK" >&6; } | |
4e71dc1e | 2112 | else |
6f810581 DD |
2113 | { echo "$as_me:$LINENO: result: no" >&5 |
2114 | echo "${ECHO_T}no" >&6; } | |
03261851 RK |
2115 | fi |
2116 | ||
6f810581 | 2117 | |
4e71dc1e JJ |
2118 | test -n "$AWK" && break |
2119 | done | |
03261851 | 2120 | |
6f810581 DD |
2121 | { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
2122 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } | |
2123 | set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | |
2124 | if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then | |
4e71dc1e JJ |
2125 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2126 | else | |
2127 | cat >conftest.make <<\_ACEOF | |
6f810581 | 2128 | SHELL = /bin/sh |
4e71dc1e | 2129 | all: |
6f810581 | 2130 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
4e71dc1e JJ |
2131 | _ACEOF |
2132 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | |
6f810581 DD |
2133 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
2134 | *@@@%%%=?*=@@@%%%*) | |
2135 | eval ac_cv_prog_make_${ac_make}_set=yes;; | |
2136 | *) | |
2137 | eval ac_cv_prog_make_${ac_make}_set=no;; | |
2138 | esac | |
4e71dc1e JJ |
2139 | rm -f conftest.make |
2140 | fi | |
6f810581 DD |
2141 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
2142 | { echo "$as_me:$LINENO: result: yes" >&5 | |
2143 | echo "${ECHO_T}yes" >&6; } | |
4e71dc1e JJ |
2144 | SET_MAKE= |
2145 | else | |
6f810581 DD |
2146 | { echo "$as_me:$LINENO: result: no" >&5 |
2147 | echo "${ECHO_T}no" >&6; } | |
4e71dc1e JJ |
2148 | SET_MAKE="MAKE=${MAKE-make}" |
2149 | fi | |
03261851 | 2150 | |
4e71dc1e JJ |
2151 | rm -rf .tst 2>/dev/null |
2152 | mkdir .tst 2>/dev/null | |
2153 | if test -d .tst; then | |
2154 | am__leading_dot=. | |
2155 | else | |
2156 | am__leading_dot=_ | |
2157 | fi | |
2158 | rmdir .tst 2>/dev/null | |
2159 | ||
2160 | # test to see if srcdir already configured | |
2161 | if test "`cd $srcdir && pwd`" != "`pwd`" && | |
2162 | test -f $srcdir/config.status; then | |
2163 | { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 | |
2164 | echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} | |
2165 | { (exit 1); exit 1; }; } | |
2166 | fi | |
03261851 | 2167 | |
4e71dc1e JJ |
2168 | # test whether we have cygpath |
2169 | if test -z "$CYGPATH_W"; then | |
2170 | if (cygpath --version) >/dev/null 2>/dev/null; then | |
2171 | CYGPATH_W='cygpath -w' | |
2172 | else | |
2173 | CYGPATH_W=echo | |
2174 | fi | |
2175 | fi | |
03261851 | 2176 | |
03261851 | 2177 | |
4e71dc1e JJ |
2178 | # Define the identity of the package. |
2179 | PACKAGE='libgloss' | |
2180 | VERSION='LIBGLOSS_VERSION' | |
03261851 RK |
2181 | |
2182 | ||
4e71dc1e JJ |
2183 | # Some tools Automake needs. |
2184 | ||
2185 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} | |
2186 | ||
2187 | ||
2188 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} | |
2189 | ||
2190 | ||
2191 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} | |
2192 | ||
2193 | ||
2194 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} | |
2195 | ||
2196 | ||
2197 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} | |
2198 | ||
2199 | install_sh=${install_sh-"$am_aux_dir/install-sh"} | |
2200 | ||
2201 | # Installed binaries are usually stripped using `strip' when the user | |
2202 | # run `make install-strip'. However `strip' might not be the right | |
2203 | # tool to use in cross-compilation environments, therefore Automake | |
2204 | # will honor the `STRIP' environment variable to overrule this program. | |
2205 | if test "$cross_compiling" != no; then | |
2206 | if test -n "$ac_tool_prefix"; then | |
2207 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | |
2208 | set dummy ${ac_tool_prefix}strip; ac_word=$2 | |
6f810581 DD |
2209 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2210 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | |
4e71dc1e JJ |
2211 | if test "${ac_cv_prog_STRIP+set}" = set; then |
2212 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2213 | else | |
2214 | if test -n "$STRIP"; then | |
2215 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | |
2216 | else | |
2217 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2218 | for as_dir in $PATH | |
2219 | do | |
2220 | IFS=$as_save_IFS | |
2221 | test -z "$as_dir" && as_dir=. | |
2222 | for ac_exec_ext in '' $ac_executable_extensions; do | |
6f810581 | 2223 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4e71dc1e JJ |
2224 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
2225 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2226 | break 2 | |
2227 | fi | |
2228 | done | |
2229 | done | |
6f810581 | 2230 | IFS=$as_save_IFS |
4e71dc1e JJ |
2231 | |
2232 | fi | |
2233 | fi | |
2234 | STRIP=$ac_cv_prog_STRIP | |
2235 | if test -n "$STRIP"; then | |
6f810581 DD |
2236 | { echo "$as_me:$LINENO: result: $STRIP" >&5 |
2237 | echo "${ECHO_T}$STRIP" >&6; } | |
4e71dc1e | 2238 | else |
6f810581 DD |
2239 | { echo "$as_me:$LINENO: result: no" >&5 |
2240 | echo "${ECHO_T}no" >&6; } | |
4e71dc1e JJ |
2241 | fi |
2242 | ||
6f810581 | 2243 | |
4e71dc1e JJ |
2244 | fi |
2245 | if test -z "$ac_cv_prog_STRIP"; then | |
2246 | ac_ct_STRIP=$STRIP | |
2247 | # Extract the first word of "strip", so it can be a program name with args. | |
2248 | set dummy strip; ac_word=$2 | |
6f810581 DD |
2249 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2250 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | |
4e71dc1e JJ |
2251 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
2252 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2253 | else | |
2254 | if test -n "$ac_ct_STRIP"; then | |
2255 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | |
2256 | else | |
2257 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2258 | for as_dir in $PATH | |
2259 | do | |
2260 | IFS=$as_save_IFS | |
2261 | test -z "$as_dir" && as_dir=. | |
2262 | for ac_exec_ext in '' $ac_executable_extensions; do | |
6f810581 | 2263 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4e71dc1e JJ |
2264 | ac_cv_prog_ac_ct_STRIP="strip" |
2265 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2266 | break 2 | |
2267 | fi | |
2268 | done | |
2269 | done | |
6f810581 | 2270 | IFS=$as_save_IFS |
4e71dc1e | 2271 | |
4e71dc1e JJ |
2272 | fi |
2273 | fi | |
2274 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | |
2275 | if test -n "$ac_ct_STRIP"; then | |
6f810581 DD |
2276 | { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
2277 | echo "${ECHO_T}$ac_ct_STRIP" >&6; } | |
4e71dc1e | 2278 | else |
6f810581 DD |
2279 | { echo "$as_me:$LINENO: result: no" >&5 |
2280 | echo "${ECHO_T}no" >&6; } | |
4e71dc1e JJ |
2281 | fi |
2282 | ||
6f810581 DD |
2283 | if test "x$ac_ct_STRIP" = x; then |
2284 | STRIP=":" | |
2285 | else | |
2286 | case $cross_compiling:$ac_tool_warned in | |
2287 | yes:) | |
2288 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | |
2289 | whose name does not start with the host triplet. If you think this | |
2290 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
2291 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
2292 | whose name does not start with the host triplet. If you think this | |
2293 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
2294 | ac_tool_warned=yes ;; | |
2295 | esac | |
2296 | STRIP=$ac_ct_STRIP | |
2297 | fi | |
03261851 | 2298 | else |
4e71dc1e JJ |
2299 | STRIP="$ac_cv_prog_STRIP" |
2300 | fi | |
2301 | ||
03261851 | 2302 | fi |
4e71dc1e JJ |
2303 | INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" |
2304 | ||
2305 | # We need awk for the "check" target. The system "awk" is bad on | |
2306 | # some platforms. | |
2307 | # Always define AMTAR for backward compatibility. | |
2308 | ||
2309 | AMTAR=${AMTAR-"${am_missing_run}tar"} | |
2310 | ||
2311 | am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' | |
2312 | ||
2313 | ||
2314 | ||
2315 | ||
2316 | ||
2317 | ||
2318 | if test -z "${with_multisubdir}" ; then | |
6f810581 | 2319 | subdirs="$subdirs doc" |
4e71dc1e JJ |
2320 | |
2321 | fi | |
2322 | ||
4e71dc1e JJ |
2323 | subdirs="$subdirs libnosys" |
2324 | ||
03261851 RK |
2325 | |
2326 | case "${target}" in | |
4e71dc1e | 2327 | i[3456]86-*-elf* | i[3456]86-*-coff*) |
6f810581 | 2328 | subdirs="$subdirs i386" |
4e71dc1e | 2329 | |
c19f8a6a | 2330 | config_testsuite=true |
03261851 RK |
2331 | ;; |
2332 | m32r-*-*) | |
6f810581 | 2333 | subdirs="$subdirs m32r" |
4e71dc1e | 2334 | |
c19f8a6a | 2335 | config_testsuite=true |
03261851 | 2336 | ;; |
4e71dc1e | 2337 | m68hc11-*-* | m6811-*-* | m68hc12-*-* | m6812-*-*) |
6f810581 | 2338 | subdirs="$subdirs m68hc11" |
4e71dc1e | 2339 | |
c19f8a6a | 2340 | config_testsuite=true |
63a93e9d | 2341 | ;; |
1b69cb3a | 2342 | fido-*-* | m68*-*-*) |
6f810581 | 2343 | subdirs="$subdirs m68k" |
4e71dc1e | 2344 | |
c19f8a6a | 2345 | config_testsuite=true |
03261851 RK |
2346 | ;; |
2347 | hppa*-*-pro*) | |
6f810581 | 2348 | subdirs="$subdirs pa" |
4e71dc1e | 2349 | |
c19f8a6a | 2350 | config_testsuite=true |
03261851 RK |
2351 | ;; |
2352 | i960-*-coff) | |
6f810581 | 2353 | subdirs="$subdirs i960" |
4e71dc1e | 2354 | |
c19f8a6a | 2355 | config_testsuite=true |
9e60b9a9 | 2356 | ;; |
4e71dc1e | 2357 | sparclet-*-aout* | sparc-*-elf* | sparc64-*-elf* | sparc86x-*-* | sparclite-*-*) |
6f810581 | 2358 | subdirs="$subdirs sparc" |
4e71dc1e | 2359 | |
c19f8a6a | 2360 | config_testsuite=true |
03261851 | 2361 | ;; |
4e71dc1e | 2362 | sh*-*-pe | mips*-*-pe | *arm-wince-pe) |
6f810581 | 2363 | subdirs="$subdirs wince" |
4e71dc1e | 2364 | |
03261851 RK |
2365 | ;; |
2366 | mips*-*-*) | |
6f810581 | 2367 | subdirs="$subdirs mips" |
4e71dc1e | 2368 | |
c19f8a6a | 2369 | config_testsuite=true |
03261851 RK |
2370 | ;; |
2371 | powerpc-*-*|powerpcle-*-*) | |
6f810581 | 2372 | subdirs="$subdirs rs6000" |
4e71dc1e | 2373 | |
c19f8a6a | 2374 | config_testsuite=true |
03261851 RK |
2375 | ;; |
2376 | mn10200-*-*) | |
6f810581 | 2377 | subdirs="$subdirs mn10200" |
4e71dc1e | 2378 | |
c19f8a6a | 2379 | config_testsuite=true |
03261851 RK |
2380 | ;; |
2381 | mn10300-*-*) | |
6f810581 | 2382 | subdirs="$subdirs mn10300" |
4e71dc1e | 2383 | |
c19f8a6a | 2384 | config_testsuite=true |
c0977673 JJ |
2385 | ;; |
2386 | bfin-*-*) | |
6f810581 | 2387 | subdirs="$subdirs bfin" |
c0977673 | 2388 | |
c19f8a6a | 2389 | config_testsuite=true |
03261851 | 2390 | ;; |
3a267038 | 2391 | cris-*-* | crisv32-*-*) |
6f810581 | 2392 | subdirs="$subdirs cris" |
4e71dc1e | 2393 | |
c19f8a6a | 2394 | config_testsuite=true |
3a267038 | 2395 | ;; |
49a8b8f0 | 2396 | crx-*-*) |
6f810581 | 2397 | subdirs="$subdirs crx" |
4e71dc1e | 2398 | |
49a8b8f0 | 2399 | ;; |
03261851 | 2400 | d30v-*-*) |
6f810581 | 2401 | subdirs="$subdirs d30v" |
4e71dc1e | 2402 | |
c19f8a6a | 2403 | config_testsuite=true |
03261851 RK |
2404 | ;; |
2405 | fr30-*-*) | |
6f810581 | 2406 | subdirs="$subdirs fr30" |
4e71dc1e | 2407 | |
c19f8a6a | 2408 | config_testsuite=true |
03261851 | 2409 | ;; |
c2b0dec2 | 2410 | frv*-*-*) |
6f810581 | 2411 | subdirs="$subdirs frv" |
4e71dc1e | 2412 | |
c19f8a6a | 2413 | config_testsuite=true |
fb921031 | 2414 | ;; |
03261851 | 2415 | mcore-*-*) |
6f810581 | 2416 | subdirs="$subdirs mcore" |
4e71dc1e | 2417 | |
c19f8a6a | 2418 | config_testsuite=true |
03261851 | 2419 | ;; |
1d94f731 | 2420 | mep-*-*) |
6f810581 | 2421 | subdirs="$subdirs mep" |
1d94f731 JJ |
2422 | |
2423 | config_testsuite = true; | |
2424 | ;; | |
74ecef0d | 2425 | mt-*-*) |
6f810581 | 2426 | subdirs="$subdirs mt" |
4e71dc1e | 2427 | |
c19f8a6a | 2428 | config_testsuite=true |
4e71dc1e | 2429 | ;; |
f6eff1c0 | 2430 | xstormy16-*-*) |
6f810581 | 2431 | subdirs="$subdirs xstormy16" |
4e71dc1e | 2432 | |
c19f8a6a | 2433 | config_testsuite=true |
f6eff1c0 | 2434 | ;; |
a663cd89 | 2435 | m32c-*-*) |
6f810581 | 2436 | subdirs="$subdirs m32c" |
4e71dc1e | 2437 | |
c19f8a6a | 2438 | config_testsuite=true |
a7364ade | 2439 | ;; |
4e71dc1e | 2440 | strongarm-*-elf | strongarm-*-coff | arm*-*-elf | arm*-*-coff | ep9312-*-elf | ep9312-*-coff | xscale-*-elf | xscale-*-coff | *arm-*-*) |
6f810581 | 2441 | subdirs="$subdirs arm" |
4e71dc1e | 2442 | |
c19f8a6a | 2443 | config_testsuite=true |
62a25ce1 | 2444 | ;; |
0486bb7f | 2445 | spu-*-elf) |
6f810581 | 2446 | subdirs="$subdirs spu" |
0486bb7f | 2447 | |
c19f8a6a | 2448 | config_testsuite=false |
0486bb7f | 2449 | ;; |
7be5e72f | 2450 | iq2000-*-*) |
6f810581 | 2451 | subdirs="$subdirs iq2000" |
4e71dc1e | 2452 | |
c19f8a6a | 2453 | config_testsuite=true |
4e71dc1e | 2454 | ;; |
03261851 RK |
2455 | esac |
2456 | ||
4e71dc1e JJ |
2457 | # For now, don't bother configuring testsuite |
2458 | # | |
2459 | # if test ${config_testsuite); then AC_CONFIG_SUBDIRS(testsuite); fi | |
2460 | # | |
2461 | ||
2462 | DEPDIR="${am__leading_dot}deps" | |
2463 | ||
6f810581 | 2464 | ac_config_commands="$ac_config_commands depfiles" |
4e71dc1e JJ |
2465 | |
2466 | ||
2467 | am_make=${MAKE-make} | |
2468 | cat > confinc << 'END' | |
2469 | am__doit: | |
2470 | @echo done | |
2471 | .PHONY: am__doit | |
2472 | END | |
2473 | # If we don't find an include directive, just comment out the code. | |
6f810581 DD |
2474 | { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 |
2475 | echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } | |
4e71dc1e JJ |
2476 | am__include="#" |
2477 | am__quote= | |
2478 | _am_result=none | |
2479 | # First try GNU make style include. | |
2480 | echo "include confinc" > confmf | |
2481 | # We grep out `Entering directory' and `Leaving directory' | |
2482 | # messages which can occur if `w' ends up in MAKEFLAGS. | |
2483 | # In particular we don't look at `^make:' because GNU make might | |
2484 | # be invoked under some other name (usually "gmake"), in which | |
2485 | # case it prints its new name instead of `make'. | |
2486 | if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then | |
2487 | am__include=include | |
2488 | am__quote= | |
2489 | _am_result=GNU | |
2490 | fi | |
2491 | # Now try BSD make style include. | |
2492 | if test "$am__include" = "#"; then | |
2493 | echo '.include "confinc"' > confmf | |
2494 | if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then | |
2495 | am__include=.include | |
2496 | am__quote="\"" | |
2497 | _am_result=BSD | |
2498 | fi | |
2499 | fi | |
2500 | ||
03261851 | 2501 | |
6f810581 DD |
2502 | { echo "$as_me:$LINENO: result: $_am_result" >&5 |
2503 | echo "${ECHO_T}$_am_result" >&6; } | |
4e71dc1e | 2504 | rm -f confinc confmf |
03261851 | 2505 | |
6f810581 | 2506 | # Check whether --enable-dependency-tracking was given. |
4e71dc1e | 2507 | if test "${enable_dependency_tracking+set}" = set; then |
6f810581 DD |
2508 | enableval=$enable_dependency_tracking; |
2509 | fi | |
03261851 | 2510 | |
4e71dc1e JJ |
2511 | if test "x$enable_dependency_tracking" != xno; then |
2512 | am_depcomp="$ac_aux_dir/depcomp" | |
2513 | AMDEPBACKSLASH='\' | |
2514 | fi | |
2515 | ||
2516 | ||
2517 | if test "x$enable_dependency_tracking" != xno; then | |
2518 | AMDEP_TRUE= | |
2519 | AMDEP_FALSE='#' | |
2520 | else | |
2521 | AMDEP_TRUE='#' | |
2522 | AMDEP_FALSE= | |
2523 | fi | |
03261851 RK |
2524 | |
2525 | ||
2526 | ||
2527 | # Extract the first word of "gcc", so it can be a program name with args. | |
2528 | set dummy gcc; ac_word=$2 | |
6f810581 DD |
2529 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2530 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | |
4e71dc1e JJ |
2531 | if test "${ac_cv_prog_CC+set}" = set; then |
2532 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
03261851 RK |
2533 | else |
2534 | if test -n "$CC"; then | |
2535 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
2536 | else | |
4e71dc1e JJ |
2537 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2538 | for as_dir in $PATH | |
2539 | do | |
2540 | IFS=$as_save_IFS | |
2541 | test -z "$as_dir" && as_dir=. | |
2542 | for ac_exec_ext in '' $ac_executable_extensions; do | |
6f810581 | 2543 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4e71dc1e JJ |
2544 | ac_cv_prog_CC="gcc" |
2545 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2546 | break 2 | |
2547 | fi | |
2548 | done | |
2549 | done | |
6f810581 | 2550 | IFS=$as_save_IFS |
4e71dc1e JJ |
2551 | |
2552 | fi | |
2553 | fi | |
2554 | CC=$ac_cv_prog_CC | |
2555 | if test -n "$CC"; then | |
6f810581 DD |
2556 | { echo "$as_me:$LINENO: result: $CC" >&5 |
2557 | echo "${ECHO_T}$CC" >&6; } | |
4e71dc1e | 2558 | else |
6f810581 DD |
2559 | { echo "$as_me:$LINENO: result: no" >&5 |
2560 | echo "${ECHO_T}no" >&6; } | |
4e71dc1e JJ |
2561 | fi |
2562 | ||
2563 | ||
6f810581 | 2564 | |
4e71dc1e JJ |
2565 | depcc="$CC" am_compiler_list= |
2566 | ||
6f810581 DD |
2567 | { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
2568 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } | |
4e71dc1e JJ |
2569 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
2570 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2571 | else | |
2572 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | |
2573 | # We make a subdir and do the tests there. Otherwise we can end up | |
2574 | # making bogus files that we don't know about and never remove. For | |
2575 | # instance it was reported that on HP-UX the gcc test will end up | |
2576 | # making a dummy file named `D' -- because `-MD' means `put the output | |
2577 | # in D'. | |
2578 | mkdir conftest.dir | |
2579 | # Copy depcomp to subdir because otherwise we won't find it if we're | |
2580 | # using a relative directory. | |
2581 | cp "$am_depcomp" conftest.dir | |
2582 | cd conftest.dir | |
2583 | # We will build objects and dependencies in a subdirectory because | |
2584 | # it helps to detect inapplicable dependency modes. For instance | |
2585 | # both Tru64's cc and ICC support -MD to output dependencies as a | |
2586 | # side effect of compilation, but ICC will put the dependencies in | |
2587 | # the current directory while Tru64 will put them in the object | |
2588 | # directory. | |
2589 | mkdir sub | |
2590 | ||
2591 | am_cv_CC_dependencies_compiler_type=none | |
2592 | if test "$am_compiler_list" = ""; then | |
2593 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | |
2594 | fi | |
2595 | for depmode in $am_compiler_list; do | |
2596 | # Setup a source with many dependencies, because some compilers | |
2597 | # like to wrap large dependency lists on column 80 (with \), and | |
2598 | # we should not choose a depcomp mode which is confused by this. | |
2599 | # | |
2600 | # We need to recreate these files for each test, as the compiler may | |
2601 | # overwrite some of them when testing with obscure command lines. | |
2602 | # This happens at least with the AIX C compiler. | |
2603 | : > sub/conftest.c | |
2604 | for i in 1 2 3 4 5 6; do | |
2605 | echo '#include "conftst'$i'.h"' >> sub/conftest.c | |
2606 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | |
2607 | # Solaris 8's {/usr,}/bin/sh. | |
2608 | touch sub/conftst$i.h | |
2609 | done | |
2610 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | |
2611 | ||
2612 | case $depmode in | |
2613 | nosideeffect) | |
2614 | # after this tag, mechanisms are not by side-effect, so they'll | |
2615 | # only be used when explicitly requested | |
2616 | if test "x$enable_dependency_tracking" = xyes; then | |
2617 | continue | |
2618 | else | |
2619 | break | |
2620 | fi | |
2621 | ;; | |
2622 | none) break ;; | |
2623 | esac | |
2624 | # We check with `-c' and `-o' for the sake of the "dashmstdout" | |
2625 | # mode. It turns out that the SunPro C++ compiler does not properly | |
2626 | # handle `-M -o', and we need to detect this. | |
2627 | if depmode=$depmode \ | |
2628 | source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ | |
2629 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | |
2630 | $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ | |
2631 | >/dev/null 2>conftest.err && | |
2632 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | |
2633 | grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && | |
2634 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | |
2635 | # icc doesn't choke on unknown options, it will just issue warnings | |
2636 | # or remarks (even with -Werror). So we grep stderr for any message | |
2637 | # that says an option was ignored or not supported. | |
2638 | # When given -MP, icc 7.0 and 7.1 complain thusly: | |
2639 | # icc: Command line warning: ignoring option '-M'; no argument required | |
2640 | # The diagnosis changed in icc 8.0: | |
2641 | # icc: Command line remark: option '-MP' not supported | |
2642 | if (grep 'ignoring option' conftest.err || | |
2643 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | |
2644 | am_cv_CC_dependencies_compiler_type=$depmode | |
2645 | break | |
2646 | fi | |
03261851 RK |
2647 | fi |
2648 | done | |
4e71dc1e JJ |
2649 | |
2650 | cd .. | |
2651 | rm -rf conftest.dir | |
2652 | else | |
2653 | am_cv_CC_dependencies_compiler_type=none | |
03261851 | 2654 | fi |
4e71dc1e | 2655 | |
03261851 | 2656 | fi |
6f810581 DD |
2657 | { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
2658 | echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } | |
4e71dc1e JJ |
2659 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
2660 | ||
2661 | ||
2662 | ||
2663 | if | |
2664 | test "x$enable_dependency_tracking" != xno \ | |
2665 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then | |
2666 | am__fastdepCC_TRUE= | |
2667 | am__fastdepCC_FALSE='#' | |
03261851 | 2668 | else |
4e71dc1e JJ |
2669 | am__fastdepCC_TRUE='#' |
2670 | am__fastdepCC_FALSE= | |
03261851 RK |
2671 | fi |
2672 | ||
4e71dc1e | 2673 | |
03261851 RK |
2674 | if test -z "$CC"; then |
2675 | # Extract the first word of "cc", so it can be a program name with args. | |
2676 | set dummy cc; ac_word=$2 | |
6f810581 DD |
2677 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2678 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | |
4e71dc1e JJ |
2679 | if test "${ac_cv_prog_CC+set}" = set; then |
2680 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
03261851 RK |
2681 | else |
2682 | if test -n "$CC"; then | |
2683 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
2684 | else | |
03261851 | 2685 | ac_prog_rejected=no |
4e71dc1e JJ |
2686 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2687 | for as_dir in $PATH | |
2688 | do | |
2689 | IFS=$as_save_IFS | |
2690 | test -z "$as_dir" && as_dir=. | |
2691 | for ac_exec_ext in '' $ac_executable_extensions; do | |
6f810581 | 2692 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4e71dc1e JJ |
2693 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
2694 | ac_prog_rejected=yes | |
2695 | continue | |
2696 | fi | |
2697 | ac_cv_prog_CC="cc" | |
2698 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2699 | break 2 | |
2700 | fi | |
2701 | done | |
2702 | done | |
6f810581 | 2703 | IFS=$as_save_IFS |
4e71dc1e | 2704 | |
03261851 RK |
2705 | if test $ac_prog_rejected = yes; then |
2706 | # We found a bogon in the path, so make sure we never use it. | |
2707 | set dummy $ac_cv_prog_CC | |
2708 | shift | |
4e71dc1e | 2709 | if test $# != 0; then |
03261851 RK |
2710 | # We chose a different compiler from the bogus one. |
2711 | # However, it has the same basename, so the bogon will be chosen | |
2712 | # first if we set CC to just the basename; use the full file name. | |
2713 | shift | |
4e71dc1e | 2714 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
03261851 RK |
2715 | fi |
2716 | fi | |
2717 | fi | |
2718 | fi | |
4e71dc1e | 2719 | CC=$ac_cv_prog_CC |
03261851 | 2720 | if test -n "$CC"; then |
6f810581 DD |
2721 | { echo "$as_me:$LINENO: result: $CC" >&5 |
2722 | echo "${ECHO_T}$CC" >&6; } | |
03261851 | 2723 | else |
6f810581 DD |
2724 | { echo "$as_me:$LINENO: result: no" >&5 |
2725 | echo "${ECHO_T}no" >&6; } | |
03261851 RK |
2726 | fi |
2727 | ||
6f810581 | 2728 | |
4e71dc1e JJ |
2729 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5 |
2730 | echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} | |
2731 | { (exit 1); exit 1; }; } | |
03261851 RK |
2732 | fi |
2733 | ||
6f810581 DD |
2734 | { echo "$as_me:$LINENO: checking whether we are using GNU C" >&5 |
2735 | echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6; } | |
4e71dc1e JJ |
2736 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
2737 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
03261851 RK |
2738 | else |
2739 | cat > conftest.c <<EOF | |
2740 | #ifdef __GNUC__ | |
2741 | yes; | |
2742 | #endif | |
2743 | EOF | |
4e71dc1e JJ |
2744 | if { ac_try='${CC-cc} -E conftest.c' |
2745 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2746 | (eval $ac_try) 2>&5 | |
2747 | ac_status=$? | |
2748 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2749 | (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then | |
2750 | ac_cv_c_compiler_gnu=yes | |
03261851 | 2751 | else |
4e71dc1e | 2752 | ac_cv_c_compiler_gnu=no |
03261851 RK |
2753 | fi |
2754 | fi | |
6f810581 DD |
2755 | { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
2756 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } | |
03261851 | 2757 | |
4e71dc1e | 2758 | if test $ac_cv_c_compiler_gnu = yes; then |
03261851 RK |
2759 | GCC=yes |
2760 | ac_test_CFLAGS="${CFLAGS+set}" | |
2761 | ac_save_CFLAGS="$CFLAGS" | |
2762 | CFLAGS= | |
4e71dc1e JJ |
2763 | ac_test_CFLAGS=${CFLAGS+set} |
2764 | ac_save_CFLAGS=$CFLAGS | |
6f810581 DD |
2765 | { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
2766 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } | |
4e71dc1e JJ |
2767 | if test "${ac_cv_prog_cc_g+set}" = set; then |
2768 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
03261851 | 2769 | else |
6f810581 DD |
2770 | ac_save_c_werror_flag=$ac_c_werror_flag |
2771 | ac_c_werror_flag=yes | |
2772 | ac_cv_prog_cc_g=no | |
2773 | CFLAGS="-g" | |
2774 | cat >conftest.$ac_ext <<_ACEOF | |
4e71dc1e JJ |
2775 | /* confdefs.h. */ |
2776 | _ACEOF | |
2777 | cat confdefs.h >>conftest.$ac_ext | |
2778 | cat >>conftest.$ac_ext <<_ACEOF | |
2779 | /* end confdefs.h. */ | |
2780 | ||
2781 | int | |
2782 | main () | |
2783 | { | |
2784 | ||
2785 | ; | |
2786 | return 0; | |
2787 | } | |
2788 | _ACEOF | |
2789 | rm -f conftest.$ac_objext | |
6f810581 DD |
2790 | if { (ac_try="$ac_compile" |
2791 | case "(($ac_try" in | |
2792 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2793 | *) ac_try_echo=$ac_try;; | |
2794 | esac | |
2795 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2796 | (eval "$ac_compile") 2>conftest.er1 | |
4e71dc1e JJ |
2797 | ac_status=$? |
2798 | grep -v '^ *+' conftest.er1 >conftest.err | |
2799 | rm -f conftest.er1 | |
2800 | cat conftest.err >&5 | |
2801 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6f810581 DD |
2802 | (exit $ac_status); } && { |
2803 | test -z "$ac_c_werror_flag" || | |
2804 | test ! -s conftest.err | |
2805 | } && test -s conftest.$ac_objext; then | |
2806 | ac_cv_prog_cc_g=yes | |
2807 | else | |
2808 | echo "$as_me: failed program was:" >&5 | |
2809 | sed 's/^/| /' conftest.$ac_ext >&5 | |
2810 | ||
2811 | CFLAGS="" | |
2812 | cat >conftest.$ac_ext <<_ACEOF | |
2813 | /* confdefs.h. */ | |
2814 | _ACEOF | |
2815 | cat confdefs.h >>conftest.$ac_ext | |
2816 | cat >>conftest.$ac_ext <<_ACEOF | |
2817 | /* end confdefs.h. */ | |
2818 | ||
2819 | int | |
2820 | main () | |
2821 | { | |
2822 | ||
2823 | ; | |
2824 | return 0; | |
2825 | } | |
2826 | _ACEOF | |
2827 | rm -f conftest.$ac_objext | |
2828 | if { (ac_try="$ac_compile" | |
2829 | case "(($ac_try" in | |
2830 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2831 | *) ac_try_echo=$ac_try;; | |
2832 | esac | |
2833 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2834 | (eval "$ac_compile") 2>conftest.er1 | |
4e71dc1e | 2835 | ac_status=$? |
6f810581 DD |
2836 | grep -v '^ *+' conftest.er1 >conftest.err |
2837 | rm -f conftest.er1 | |
2838 | cat conftest.err >&5 | |
4e71dc1e | 2839 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6f810581 DD |
2840 | (exit $ac_status); } && { |
2841 | test -z "$ac_c_werror_flag" || | |
2842 | test ! -s conftest.err | |
2843 | } && test -s conftest.$ac_objext; then | |
2844 | : | |
2845 | else | |
2846 | echo "$as_me: failed program was:" >&5 | |
2847 | sed 's/^/| /' conftest.$ac_ext >&5 | |
2848 | ||
2849 | ac_c_werror_flag=$ac_save_c_werror_flag | |
2850 | CFLAGS="-g" | |
2851 | cat >conftest.$ac_ext <<_ACEOF | |
2852 | /* confdefs.h. */ | |
2853 | _ACEOF | |
2854 | cat confdefs.h >>conftest.$ac_ext | |
2855 | cat >>conftest.$ac_ext <<_ACEOF | |
2856 | /* end confdefs.h. */ | |
2857 | ||
2858 | int | |
2859 | main () | |
2860 | { | |
2861 | ||
2862 | ; | |
2863 | return 0; | |
2864 | } | |
2865 | _ACEOF | |
2866 | rm -f conftest.$ac_objext | |
2867 | if { (ac_try="$ac_compile" | |
2868 | case "(($ac_try" in | |
2869 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2870 | *) ac_try_echo=$ac_try;; | |
2871 | esac | |
2872 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2873 | (eval "$ac_compile") 2>conftest.er1 | |
4e71dc1e | 2874 | ac_status=$? |
6f810581 DD |
2875 | grep -v '^ *+' conftest.er1 >conftest.err |
2876 | rm -f conftest.er1 | |
2877 | cat conftest.err >&5 | |
4e71dc1e | 2878 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6f810581 DD |
2879 | (exit $ac_status); } && { |
2880 | test -z "$ac_c_werror_flag" || | |
2881 | test ! -s conftest.err | |
2882 | } && test -s conftest.$ac_objext; then | |
03261851 RK |
2883 | ac_cv_prog_cc_g=yes |
2884 | else | |
4e71dc1e JJ |
2885 | echo "$as_me: failed program was:" >&5 |
2886 | sed 's/^/| /' conftest.$ac_ext >&5 | |
03261851 | 2887 | |
6f810581 DD |
2888 | |
2889 | fi | |
2890 | ||
2891 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
2892 | fi | |
2893 | ||
2894 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4e71dc1e | 2895 | fi |
6f810581 DD |
2896 | |
2897 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
2898 | ac_c_werror_flag=$ac_save_c_werror_flag | |
4e71dc1e | 2899 | fi |
6f810581 DD |
2900 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
2901 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } | |
4e71dc1e JJ |
2902 | if test "$ac_test_CFLAGS" = set; then |
2903 | CFLAGS=$ac_save_CFLAGS | |
2904 | elif test $ac_cv_prog_cc_g = yes; then | |
2905 | if test "$GCC" = yes; then | |
2906 | CFLAGS="-g -O2" | |
2907 | else | |
2908 | CFLAGS="-g" | |
2909 | fi | |
2910 | else | |
2911 | if test "$GCC" = yes; then | |
2912 | CFLAGS="-O2" | |
2913 | else | |
2914 | CFLAGS= | |
2915 | fi | |
03261851 | 2916 | fi |
03261851 RK |
2917 | if test "$ac_test_CFLAGS" = set; then |
2918 | CFLAGS="$ac_save_CFLAGS" | |
2919 | elif test $ac_cv_prog_cc_g = yes; then | |
2920 | CFLAGS="-g -O2" | |
2921 | else | |
2922 | CFLAGS="-O2" | |
2923 | fi | |
2924 | else | |
2925 | GCC= | |
2926 | test "${CFLAGS+set}" = set || CFLAGS="-g" | |
2927 | fi | |
2928 | ||
2929 | AS=${AS-as} | |
2930 | ||
2931 | # Extract the first word of "ar", so it can be a program name with args. | |
2932 | set dummy ar; ac_word=$2 | |
6f810581 DD |
2933 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2934 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | |
4e71dc1e JJ |
2935 | if test "${ac_cv_prog_AR+set}" = set; then |
2936 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
03261851 RK |
2937 | else |
2938 | if test -n "$AR"; then | |
2939 | ac_cv_prog_AR="$AR" # Let the user override the test. | |
2940 | else | |
4e71dc1e JJ |
2941 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2942 | for as_dir in $PATH | |
2943 | do | |
2944 | IFS=$as_save_IFS | |
2945 | test -z "$as_dir" && as_dir=. | |
2946 | for ac_exec_ext in '' $ac_executable_extensions; do | |
6f810581 | 2947 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4e71dc1e JJ |
2948 | ac_cv_prog_AR="ar" |
2949 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2950 | break 2 | |
2951 | fi | |
2952 | done | |
2953 | done | |
6f810581 | 2954 | IFS=$as_save_IFS |
4e71dc1e | 2955 | |
03261851 RK |
2956 | test -z "$ac_cv_prog_AR" && ac_cv_prog_AR=":" |
2957 | fi | |
2958 | fi | |
4e71dc1e | 2959 | AR=$ac_cv_prog_AR |
03261851 | 2960 | if test -n "$AR"; then |
6f810581 DD |
2961 | { echo "$as_me:$LINENO: result: $AR" >&5 |
2962 | echo "${ECHO_T}$AR" >&6; } | |
03261851 | 2963 | else |
6f810581 DD |
2964 | { echo "$as_me:$LINENO: result: no" >&5 |
2965 | echo "${ECHO_T}no" >&6; } | |
03261851 RK |
2966 | fi |
2967 | ||
6f810581 | 2968 | |
03261851 RK |
2969 | AR=${AR-ar} |
2970 | ||
2971 | LD=${LD-ld} | |
2972 | ||
4e71dc1e JJ |
2973 | if test -n "$ac_tool_prefix"; then |
2974 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | |
2975 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | |
6f810581 DD |
2976 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2977 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | |
4e71dc1e JJ |
2978 | if test "${ac_cv_prog_RANLIB+set}" = set; then |
2979 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
03261851 RK |
2980 | else |
2981 | if test -n "$RANLIB"; then | |
2982 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | |
2983 | else | |
4e71dc1e JJ |
2984 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2985 | for as_dir in $PATH | |
2986 | do | |
2987 | IFS=$as_save_IFS | |
2988 | test -z "$as_dir" && as_dir=. | |
2989 | for ac_exec_ext in '' $ac_executable_extensions; do | |
6f810581 | 2990 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4e71dc1e JJ |
2991 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
2992 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2993 | break 2 | |
2994 | fi | |
2995 | done | |
2996 | done | |
6f810581 | 2997 | IFS=$as_save_IFS |
4e71dc1e | 2998 | |
03261851 RK |
2999 | fi |
3000 | fi | |
4e71dc1e | 3001 | RANLIB=$ac_cv_prog_RANLIB |
03261851 | 3002 | if test -n "$RANLIB"; then |
6f810581 DD |
3003 | { echo "$as_me:$LINENO: result: $RANLIB" >&5 |
3004 | echo "${ECHO_T}$RANLIB" >&6; } | |
03261851 | 3005 | else |
6f810581 DD |
3006 | { echo "$as_me:$LINENO: result: no" >&5 |
3007 | echo "${ECHO_T}no" >&6; } | |
4e71dc1e JJ |
3008 | fi |
3009 | ||
6f810581 | 3010 | |
03261851 | 3011 | fi |
4e71dc1e JJ |
3012 | if test -z "$ac_cv_prog_RANLIB"; then |
3013 | ac_ct_RANLIB=$RANLIB | |
3014 | # Extract the first word of "ranlib", so it can be a program name with args. | |
3015 | set dummy ranlib; ac_word=$2 | |
6f810581 DD |
3016 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3017 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | |
4e71dc1e JJ |
3018 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
3019 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3020 | else | |
3021 | if test -n "$ac_ct_RANLIB"; then | |
3022 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | |
3023 | else | |
3024 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3025 | for as_dir in $PATH | |
3026 | do | |
3027 | IFS=$as_save_IFS | |
3028 | test -z "$as_dir" && as_dir=. | |
3029 | for ac_exec_ext in '' $ac_executable_extensions; do | |
6f810581 | 3030 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4e71dc1e JJ |
3031 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
3032 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
3033 | break 2 | |
3034 | fi | |
3035 | done | |
3036 | done | |
6f810581 | 3037 | IFS=$as_save_IFS |
4e71dc1e | 3038 | |
4e71dc1e JJ |
3039 | fi |
3040 | fi | |
3041 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | |
3042 | if test -n "$ac_ct_RANLIB"; then | |
6f810581 DD |
3043 | { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
3044 | echo "${ECHO_T}$ac_ct_RANLIB" >&6; } | |
4e71dc1e | 3045 | else |
6f810581 DD |
3046 | { echo "$as_me:$LINENO: result: no" >&5 |
3047 | echo "${ECHO_T}no" >&6; } | |
4e71dc1e JJ |
3048 | fi |
3049 | ||
6f810581 DD |
3050 | if test "x$ac_ct_RANLIB" = x; then |
3051 | RANLIB=":" | |
3052 | else | |
3053 | case $cross_compiling:$ac_tool_warned in | |
3054 | yes:) | |
3055 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | |
3056 | whose name does not start with the host triplet. If you think this | |
3057 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
3058 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
3059 | whose name does not start with the host triplet. If you think this | |
3060 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
3061 | ac_tool_warned=yes ;; | |
3062 | esac | |
3063 | RANLIB=$ac_ct_RANLIB | |
3064 | fi | |
4e71dc1e JJ |
3065 | else |
3066 | RANLIB="$ac_cv_prog_RANLIB" | |
3067 | fi | |
3068 | ||
3069 | # By default we simply use the C compiler to build assembly code. | |
3070 | ||
3071 | test "${CCAS+set}" = set || CCAS=$CC | |
3072 | test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS | |
3073 | ||
3074 | ||
03261851 RK |
3075 | |
3076 | ||
3077 | host_makefile_frag=${srcdir}/config/default.mh | |
3078 | ||
3079 | host_makefile_frag_path=$host_makefile_frag | |
3080 | ||
3081 | ||
3082 | ||
00a4b31a JJ |
3083 | if test "${multilib}" = "yes"; then |
3084 | multilib_arg="--enable-multilib" | |
3085 | else | |
3086 | multilib_arg= | |
3087 | fi | |
3088 | ||
03261851 | 3089 | # for now, only add multilibs for specific targets |
6f810581 | 3090 | ac_config_files="$ac_config_files Makefile" |
4e71dc1e JJ |
3091 | |
3092 | cat >confcache <<\_ACEOF | |
03261851 RK |
3093 | # This file is a shell script that caches the results of configure |
3094 | # tests run on this system so they can be shared between configure | |
4e71dc1e JJ |
3095 | # scripts and configure runs, see configure's option --config-cache. |
3096 | # It is not useful on other systems. If it contains results you don't | |
3097 | # want to keep, you may remove or edit it. | |
03261851 | 3098 | # |
4e71dc1e JJ |
3099 | # config.status only pays attention to the cache file if you give it |
3100 | # the --recheck option to rerun configure. | |
03261851 | 3101 | # |
4e71dc1e JJ |
3102 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
3103 | # loading this file, other *unset* `ac_cv_foo' will be assigned the | |
3104 | # following values. | |
3105 | ||
3106 | _ACEOF | |
3107 | ||
03261851 RK |
3108 | # The following way of writing the cache mishandles newlines in values, |
3109 | # but we know of no workaround that is simple, portable, and efficient. | |
6f810581 | 3110 | # So, we kill variables containing newlines. |
03261851 RK |
3111 | # Ultrix sh set writes to stderr and can't be redirected directly, |
3112 | # and sets the high bit in the cache file unless we assign to the vars. | |
6f810581 DD |
3113 | ( |
3114 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do | |
3115 | eval ac_val=\$$ac_var | |
3116 | case $ac_val in #( | |
3117 | *${as_nl}*) | |
3118 | case $ac_var in #( | |
3119 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 | |
3120 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; | |
3121 | esac | |
3122 | case $ac_var in #( | |
3123 | _ | IFS | as_nl) ;; #( | |
3124 | *) $as_unset $ac_var ;; | |
3125 | esac ;; | |
3126 | esac | |
3127 | done | |
3128 | ||
4e71dc1e | 3129 | (set) 2>&1 | |
6f810581 DD |
3130 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
3131 | *${as_nl}ac_space=\ *) | |
4e71dc1e JJ |
3132 | # `set' does not quote correctly, so add quotes (double-quote |
3133 | # substitution turns \\\\ into \\, and sed turns \\ into \). | |
3134 | sed -n \ | |
3135 | "s/'/'\\\\''/g; | |
3136 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | |
6f810581 | 3137 | ;; #( |
4e71dc1e JJ |
3138 | *) |
3139 | # `set' quotes correctly as required by POSIX, so do not add quotes. | |
6f810581 | 3140 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
4e71dc1e | 3141 | ;; |
6f810581 DD |
3142 | esac | |
3143 | sort | |
3144 | ) | | |
4e71dc1e | 3145 | sed ' |
6f810581 | 3146 | /^ac_cv_env_/b end |
4e71dc1e | 3147 | t clear |
6f810581 | 3148 | :clear |
4e71dc1e JJ |
3149 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
3150 | t end | |
6f810581 DD |
3151 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
3152 | :end' >>confcache | |
3153 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | |
3154 | if test -w "$cache_file"; then | |
3155 | test "x$cache_file" != "x/dev/null" && | |
3156 | { echo "$as_me:$LINENO: updating cache $cache_file" >&5 | |
3157 | echo "$as_me: updating cache $cache_file" >&6;} | |
4e71dc1e | 3158 | cat confcache >$cache_file |
03261851 | 3159 | else |
6f810581 DD |
3160 | { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
3161 | echo "$as_me: not updating unwritable cache $cache_file" >&6;} | |
03261851 RK |
3162 | fi |
3163 | fi | |
3164 | rm -f confcache | |
3165 | ||
03261851 RK |
3166 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
3167 | # Let make expand exec_prefix. | |
3168 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | |
3169 | ||
03261851 RK |
3170 | # Transform confdefs.h into DEFS. |
3171 | # Protect against shell expansion while executing Makefile rules. | |
3172 | # Protect against Makefile macro expansion. | |
4e71dc1e JJ |
3173 | # |
3174 | # If the first sed substitution is executed (which looks for macros that | |
6f810581 | 3175 | # take arguments), then branch to the quote section. Otherwise, |
4e71dc1e | 3176 | # look for a macro that doesn't take arguments. |
6f810581 | 3177 | ac_script=' |
4e71dc1e | 3178 | t clear |
6f810581 DD |
3179 | :clear |
3180 | s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g | |
4e71dc1e | 3181 | t quote |
6f810581 | 3182 | s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g |
4e71dc1e | 3183 | t quote |
6f810581 DD |
3184 | b any |
3185 | :quote | |
3186 | s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g | |
3187 | s/\[/\\&/g | |
3188 | s/\]/\\&/g | |
3189 | s/\$/$$/g | |
3190 | H | |
3191 | :any | |
3192 | ${ | |
3193 | g | |
3194 | s/^\n// | |
3195 | s/\n/ /g | |
3196 | p | |
3197 | } | |
3198 | ' | |
3199 | DEFS=`sed -n "$ac_script" confdefs.h` | |
4e71dc1e JJ |
3200 | |
3201 | ||
3202 | ac_libobjs= | |
3203 | ac_ltlibobjs= | |
3204 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | |
3205 | # 1. Remove the extension, and $U if already installed. | |
6f810581 DD |
3206 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
3207 | ac_i=`echo "$ac_i" | sed "$ac_script"` | |
3208 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | |
3209 | # will be set to the directory where LIBOBJS objects are built. | |
3210 | ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" | |
3211 | ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' | |
4e71dc1e JJ |
3212 | done |
3213 | LIBOBJS=$ac_libobjs | |
03261851 | 3214 | |
4e71dc1e | 3215 | LTLIBOBJS=$ac_ltlibobjs |
03261851 | 3216 | |
03261851 | 3217 | |
4e71dc1e JJ |
3218 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
3219 | { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. | |
3220 | Usually this means the macro was only invoked conditionally." >&5 | |
3221 | echo "$as_me: error: conditional \"AMDEP\" was never defined. | |
3222 | Usually this means the macro was only invoked conditionally." >&2;} | |
3223 | { (exit 1); exit 1; }; } | |
3224 | fi | |
3225 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then | |
3226 | { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. | |
3227 | Usually this means the macro was only invoked conditionally." >&5 | |
3228 | echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. | |
3229 | Usually this means the macro was only invoked conditionally." >&2;} | |
3230 | { (exit 1); exit 1; }; } | |
3231 | fi | |
3232 | ||
3233 | : ${CONFIG_STATUS=./config.status} | |
3234 | ac_clean_files_save=$ac_clean_files | |
3235 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | |
3236 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 | |
3237 | echo "$as_me: creating $CONFIG_STATUS" >&6;} | |
3238 | cat >$CONFIG_STATUS <<_ACEOF | |
3239 | #! $SHELL | |
3240 | # Generated by $as_me. | |
03261851 | 3241 | # Run this file to recreate the current configuration. |
03261851 | 3242 | # Compiler output produced by configure, useful for debugging |
4e71dc1e JJ |
3243 | # configure, is in config.log if it exists. |
3244 | ||
3245 | debug=false | |
3246 | ac_cs_recheck=false | |
3247 | ac_cs_silent=false | |
3248 | SHELL=\${CONFIG_SHELL-$SHELL} | |
3249 | _ACEOF | |
3250 | ||
3251 | cat >>$CONFIG_STATUS <<\_ACEOF | |
3252 | ## --------------------- ## | |
3253 | ## M4sh Initialization. ## | |
3254 | ## --------------------- ## | |
3255 | ||
6f810581 DD |
3256 | # Be more Bourne compatible |
3257 | DUALCASE=1; export DUALCASE # for MKS sh | |
4e71dc1e JJ |
3258 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
3259 | emulate sh | |
3260 | NULLCMD=: | |
3261 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | |
3262 | # is contrary to our usage. Disable this feature. | |
3263 | alias -g '${1+"$@"}'='"$@"' | |
6f810581 | 3264 | setopt NO_GLOB_SUBST |
4e71dc1e | 3265 | else |
6f810581 DD |
3266 | case `(set -o) 2>/dev/null` in |
3267 | *posix*) set -o posix ;; | |
3268 | esac | |
03261851 | 3269 | |
4e71dc1e | 3270 | fi |
03261851 | 3271 | |
03261851 | 3272 | |
4e71dc1e JJ |
3273 | |
3274 | ||
6f810581 | 3275 | # PATH needs CR |
4e71dc1e JJ |
3276 | # Avoid depending upon Character Ranges. |
3277 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
3278 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
3279 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
3280 | as_cr_digits='0123456789' | |
3281 | as_cr_alnum=$as_cr_Letters$as_cr_digits | |
3282 | ||
3283 | # The user is always right. | |
3284 | if test "${PATH_SEPARATOR+set}" != set; then | |
3285 | echo "#! /bin/sh" >conf$$.sh | |
3286 | echo "exit 0" >>conf$$.sh | |
3287 | chmod +x conf$$.sh | |
3288 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | |
3289 | PATH_SEPARATOR=';' | |
03261851 | 3290 | else |
4e71dc1e | 3291 | PATH_SEPARATOR=: |
03261851 | 3292 | fi |
4e71dc1e | 3293 | rm -f conf$$.sh |
03261851 | 3294 | fi |
03261851 | 3295 | |
6f810581 DD |
3296 | # Support unset when possible. |
3297 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | |
3298 | as_unset=unset | |
3299 | else | |
3300 | as_unset=false | |
3301 | fi | |
3302 | ||
3303 | ||
3304 | # IFS | |
3305 | # We need space, tab and new line, in precisely that order. Quoting is | |
3306 | # there to prevent editors from complaining about space-tab. | |
3307 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
3308 | # splitting by setting IFS to empty value.) | |
3309 | as_nl=' | |
3310 | ' | |
3311 | IFS=" "" $as_nl" | |
3312 | ||
3313 | # Find who we are. Look in the path if we contain no directory separator. | |
3314 | case $0 in | |
3315 | *[\\/]* ) as_myself=$0 ;; | |
3316 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
4e71dc1e JJ |
3317 | for as_dir in $PATH |
3318 | do | |
3319 | IFS=$as_save_IFS | |
3320 | test -z "$as_dir" && as_dir=. | |
3321 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
3322 | done | |
6f810581 | 3323 | IFS=$as_save_IFS |
4e71dc1e | 3324 | |
6f810581 DD |
3325 | ;; |
3326 | esac | |
3327 | # We did not find ourselves, most probably we were run as `sh COMMAND' | |
3328 | # in which case we are not to be found in the path. | |
3329 | if test "x$as_myself" = x; then | |
3330 | as_myself=$0 | |
3331 | fi | |
3332 | if test ! -f "$as_myself"; then | |
3333 | echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | |
3334 | { (exit 1); exit 1; } | |
3335 | fi | |
3336 | ||
3337 | # Work around bugs in pre-3.0 UWIN ksh. | |
3338 | for as_var in ENV MAIL MAILPATH | |
3339 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
3340 | done | |
3341 | PS1='$ ' | |
3342 | PS2='> ' | |
3343 | PS4='+ ' | |
3344 | ||
3345 | # NLS nuisances. | |
3346 | for as_var in \ | |
3347 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | |
3348 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | |
3349 | LC_TELEPHONE LC_TIME | |
4e71dc1e | 3350 | do |
6f810581 DD |
3351 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
3352 | eval $as_var=C; export $as_var | |
3353 | else | |
3354 | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
3355 | fi | |
3356 | done | |
3357 | ||
3358 | # Required to use basename. | |
3359 | if expr a : '\(a\)' >/dev/null 2>&1 && | |
3360 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
3361 | as_expr=expr | |
3362 | else | |
3363 | as_expr=false | |
3364 | fi | |
3365 | ||
3366 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | |
3367 | as_basename=basename | |
3368 | else | |
3369 | as_basename=false | |
3370 | fi | |
3371 | ||
3372 | ||
3373 | # Name of the executable. | |
3374 | as_me=`$as_basename -- "$0" || | |
3375 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
3376 | X"$0" : 'X\(//\)$' \| \ | |
3377 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
3378 | echo X/"$0" | | |
3379 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
3380 | s//\1/ | |
3381 | q | |
3382 | } | |
3383 | /^X\/\(\/\/\)$/{ | |
3384 | s//\1/ | |
3385 | q | |
3386 | } | |
3387 | /^X\/\(\/\).*/{ | |
3388 | s//\1/ | |
3389 | q | |
3390 | } | |
3391 | s/.*/./; q'` | |
3392 | ||
3393 | # CDPATH. | |
3394 | $as_unset CDPATH | |
3395 | ||
3396 | ||
3397 | ||
4e71dc1e JJ |
3398 | as_lineno_1=$LINENO |
3399 | as_lineno_2=$LINENO | |
4e71dc1e | 3400 | test "x$as_lineno_1" != "x$as_lineno_2" && |
6f810581 | 3401 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
03261851 | 3402 | |
4e71dc1e JJ |
3403 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
3404 | # uniformly replaced by the line number. The first 'sed' inserts a | |
6f810581 DD |
3405 | # line-number line after each line using $LINENO; the second 'sed' |
3406 | # does the real work. The second script uses 'N' to pair each | |
3407 | # line-number line with the line containing $LINENO, and appends | |
3408 | # trailing '-' during substitution so that $LINENO is not a special | |
3409 | # case at line end. | |
4e71dc1e | 3410 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
6f810581 DD |
3411 | # scripts with optimization help from Paolo Bonzini. Blame Lee |
3412 | # E. McMahon (1931-1989) for sed's syntax. :-) | |
3413 | sed -n ' | |
3414 | p | |
3415 | /[$]LINENO/= | |
3416 | ' <$as_myself | | |
4e71dc1e | 3417 | sed ' |
6f810581 DD |
3418 | s/[$]LINENO.*/&-/ |
3419 | t lineno | |
3420 | b | |
3421 | :lineno | |
4e71dc1e | 3422 | N |
6f810581 DD |
3423 | :loop |
3424 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | |
4e71dc1e | 3425 | t loop |
6f810581 | 3426 | s/-\n.*// |
4e71dc1e | 3427 | ' >$as_me.lineno && |
6f810581 DD |
3428 | chmod +x "$as_me.lineno" || |
3429 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | |
4e71dc1e JJ |
3430 | { (exit 1); exit 1; }; } |
3431 | ||
3432 | # Don't try to exec as it changes $[0], causing all sort of problems | |
3433 | # (the dirname of $[0] is not the place where we might find the | |
6f810581 DD |
3434 | # original and so on. Autoconf is especially sensitive to this). |
3435 | . "./$as_me.lineno" | |
4e71dc1e JJ |
3436 | # Exit status is that of the last command. |
3437 | exit | |
3438 | } | |
3439 | ||
3440 | ||
6f810581 DD |
3441 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
3442 | as_dirname=dirname | |
3443 | else | |
3444 | as_dirname=false | |
3445 | fi | |
3446 | ||
3447 | ECHO_C= ECHO_N= ECHO_T= | |
3448 | case `echo -n x` in | |
3449 | -n*) | |
3450 | case `echo 'x\c'` in | |
3451 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | |
3452 | *) ECHO_C='\c';; | |
3453 | esac;; | |
3454 | *) | |
3455 | ECHO_N='-n';; | |
4e71dc1e | 3456 | esac |
03261851 | 3457 | |
6f810581 DD |
3458 | if expr a : '\(a\)' >/dev/null 2>&1 && |
3459 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
4e71dc1e JJ |
3460 | as_expr=expr |
3461 | else | |
3462 | as_expr=false | |
3463 | fi | |
3464 | ||
3465 | rm -f conf$$ conf$$.exe conf$$.file | |
6f810581 DD |
3466 | if test -d conf$$.dir; then |
3467 | rm -f conf$$.dir/conf$$.file | |
3468 | else | |
3469 | rm -f conf$$.dir | |
3470 | mkdir conf$$.dir | |
3471 | fi | |
4e71dc1e JJ |
3472 | echo >conf$$.file |
3473 | if ln -s conf$$.file conf$$ 2>/dev/null; then | |
6f810581 DD |
3474 | as_ln_s='ln -s' |
3475 | # ... but there are two gotchas: | |
3476 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | |
3477 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |
3478 | # In both cases, we have to default to `cp -p'. | |
3479 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
4e71dc1e | 3480 | as_ln_s='cp -p' |
4e71dc1e JJ |
3481 | elif ln conf$$.file conf$$ 2>/dev/null; then |
3482 | as_ln_s=ln | |
3483 | else | |
3484 | as_ln_s='cp -p' | |
3485 | fi | |
6f810581 DD |
3486 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
3487 | rmdir conf$$.dir 2>/dev/null | |
03261851 | 3488 | |
4e71dc1e JJ |
3489 | if mkdir -p . 2>/dev/null; then |
3490 | as_mkdir_p=: | |
3491 | else | |
3492 | test -d ./-p && rmdir ./-p | |
3493 | as_mkdir_p=false | |
3494 | fi | |
3495 | ||
6f810581 DD |
3496 | if test -x / >/dev/null 2>&1; then |
3497 | as_test_x='test -x' | |
3498 | else | |
3499 | if ls -dL / >/dev/null 2>&1; then | |
3500 | as_ls_L_option=L | |
3501 | else | |
3502 | as_ls_L_option= | |
3503 | fi | |
3504 | as_test_x=' | |
3505 | eval sh -c '\'' | |
3506 | if test -d "$1"; then | |
3507 | test -d "$1/."; | |
3508 | else | |
3509 | case $1 in | |
3510 | -*)set "./$1";; | |
3511 | esac; | |
3512 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | |
3513 | ???[sx]*):;;*)false;;esac;fi | |
3514 | '\'' sh | |
3515 | ' | |
3516 | fi | |
3517 | as_executable_p=$as_test_x | |
4e71dc1e JJ |
3518 | |
3519 | # Sed expression to map a string onto a valid CPP name. | |
3520 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
3521 | ||
3522 | # Sed expression to map a string onto a valid variable name. | |
3523 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
3524 | ||
3525 | ||
4e71dc1e | 3526 | exec 6>&1 |
03261851 | 3527 | |
6f810581 | 3528 | # Save the log message, to keep $[0] and so on meaningful, and to |
4e71dc1e | 3529 | # report actual input values of CONFIG_FILES etc. instead of their |
6f810581 DD |
3530 | # values after options handling. |
3531 | ac_log=" | |
4e71dc1e | 3532 | This file was extended by libgloss $as_me LIBGLOSS_VERSION, which was |
6f810581 | 3533 | generated by GNU Autoconf 2.61. Invocation command line was |
4e71dc1e JJ |
3534 | |
3535 | CONFIG_FILES = $CONFIG_FILES | |
3536 | CONFIG_HEADERS = $CONFIG_HEADERS | |
3537 | CONFIG_LINKS = $CONFIG_LINKS | |
3538 | CONFIG_COMMANDS = $CONFIG_COMMANDS | |
3539 | $ $0 $@ | |
3540 | ||
6f810581 DD |
3541 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
3542 | " | |
3543 | ||
4e71dc1e JJ |
3544 | _ACEOF |
3545 | ||
6f810581 | 3546 | cat >>$CONFIG_STATUS <<_ACEOF |
4e71dc1e | 3547 | # Files that config.status was made for. |
6f810581 DD |
3548 | config_files="$ac_config_files" |
3549 | config_commands="$ac_config_commands" | |
4e71dc1e | 3550 | |
6f810581 | 3551 | _ACEOF |
4e71dc1e JJ |
3552 | |
3553 | cat >>$CONFIG_STATUS <<\_ACEOF | |
4e71dc1e JJ |
3554 | ac_cs_usage="\ |
3555 | \`$as_me' instantiates files from templates according to the | |
3556 | current configuration. | |
3557 | ||
3558 | Usage: $0 [OPTIONS] [FILE]... | |
3559 | ||
3560 | -h, --help print this help, then exit | |
6f810581 | 3561 | -V, --version print version number and configuration settings, then exit |
4e71dc1e JJ |
3562 | -q, --quiet do not print progress messages |
3563 | -d, --debug don't remove temporary files | |
3564 | --recheck update $as_me by reconfiguring in the same conditions | |
3565 | --file=FILE[:TEMPLATE] | |
3566 | instantiate the configuration file FILE | |
3567 | ||
3568 | Configuration files: | |
3569 | $config_files | |
3570 | ||
3571 | Configuration commands: | |
3572 | $config_commands | |
3573 | ||
3574 | Report bugs to <bug-autoconf@gnu.org>." | |
4e71dc1e | 3575 | |
6f810581 | 3576 | _ACEOF |
4e71dc1e JJ |
3577 | cat >>$CONFIG_STATUS <<_ACEOF |
3578 | ac_cs_version="\\ | |
3579 | libgloss config.status LIBGLOSS_VERSION | |
6f810581 DD |
3580 | configured by $0, generated by GNU Autoconf 2.61, |
3581 | with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" | |
4e71dc1e | 3582 | |
6f810581 | 3583 | Copyright (C) 2006 Free Software Foundation, Inc. |
4e71dc1e JJ |
3584 | This config.status script is free software; the Free Software Foundation |
3585 | gives unlimited permission to copy, distribute and modify it." | |
6f810581 DD |
3586 | |
3587 | ac_pwd='$ac_pwd' | |
3588 | srcdir='$srcdir' | |
3589 | INSTALL='$INSTALL' | |
4e71dc1e JJ |
3590 | _ACEOF |
3591 | ||
3592 | cat >>$CONFIG_STATUS <<\_ACEOF | |
3593 | # If no file are specified by the user, then we need to provide default | |
3594 | # value. By we need to know if files were specified by the user. | |
3595 | ac_need_defaults=: | |
3596 | while test $# != 0 | |
3597 | do | |
3598 | case $1 in | |
3599 | --*=*) | |
6f810581 DD |
3600 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
3601 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | |
4e71dc1e JJ |
3602 | ac_shift=: |
3603 | ;; | |
6f810581 | 3604 | *) |
4e71dc1e JJ |
3605 | ac_option=$1 |
3606 | ac_optarg=$2 | |
3607 | ac_shift=shift | |
3608 | ;; | |
03261851 RK |
3609 | esac |
3610 | ||
4e71dc1e JJ |
3611 | case $ac_option in |
3612 | # Handling of the options. | |
4e71dc1e JJ |
3613 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
3614 | ac_cs_recheck=: ;; | |
6f810581 DD |
3615 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
3616 | echo "$ac_cs_version"; exit ;; | |
3617 | --debug | --debu | --deb | --de | --d | -d ) | |
4e71dc1e JJ |
3618 | debug=: ;; |
3619 | --file | --fil | --fi | --f ) | |
3620 | $ac_shift | |
3621 | CONFIG_FILES="$CONFIG_FILES $ac_optarg" | |
3622 | ac_need_defaults=false;; | |
6f810581 DD |
3623 | --he | --h | --help | --hel | -h ) |
3624 | echo "$ac_cs_usage"; exit ;; | |
4e71dc1e JJ |
3625 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
3626 | | -silent | --silent | --silen | --sile | --sil | --si | --s) | |
3627 | ac_cs_silent=: ;; | |
3628 | ||
3629 | # This is an error. | |
6f810581 DD |
3630 | -*) { echo "$as_me: error: unrecognized option: $1 |
3631 | Try \`$0 --help' for more information." >&2 | |
4e71dc1e JJ |
3632 | { (exit 1); exit 1; }; } ;; |
3633 | ||
6f810581 DD |
3634 | *) ac_config_targets="$ac_config_targets $1" |
3635 | ac_need_defaults=false ;; | |
4e71dc1e | 3636 | |
03261851 | 3637 | esac |
4e71dc1e JJ |
3638 | shift |
3639 | done | |
03261851 | 3640 | |
4e71dc1e | 3641 | ac_configure_extra_args= |
03261851 | 3642 | |
4e71dc1e JJ |
3643 | if $ac_cs_silent; then |
3644 | exec 6>/dev/null | |
3645 | ac_configure_extra_args="$ac_configure_extra_args --silent" | |
3646 | fi | |
3647 | ||
3648 | _ACEOF | |
3649 | cat >>$CONFIG_STATUS <<_ACEOF | |
3650 | if \$ac_cs_recheck; then | |
6f810581 DD |
3651 | echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
3652 | CONFIG_SHELL=$SHELL | |
3653 | export CONFIG_SHELL | |
3654 | exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | |
4e71dc1e JJ |
3655 | fi |
3656 | ||
3657 | _ACEOF | |
6f810581 DD |
3658 | cat >>$CONFIG_STATUS <<\_ACEOF |
3659 | exec 5>>config.log | |
3660 | { | |
3661 | echo | |
3662 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | |
3663 | ## Running $as_me. ## | |
3664 | _ASBOX | |
3665 | echo "$ac_log" | |
3666 | } >&5 | |
4e71dc1e | 3667 | |
6f810581 | 3668 | _ACEOF |
4e71dc1e JJ |
3669 | cat >>$CONFIG_STATUS <<_ACEOF |
3670 | # | |
6f810581 | 3671 | # INIT-COMMANDS |
4e71dc1e | 3672 | # |
4e71dc1e | 3673 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
03261851 RK |
3674 | srcdir=${srcdir} |
3675 | target=${target} | |
3676 | with_multisubdir=${with_multisubdir} | |
3677 | ac_configure_args="--enable-multilib ${ac_configure_args}" | |
3678 | CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} | |
3679 | libgloss_topdir=${libgloss_topdir} | |
00a4b31a JJ |
3680 | CC="${CC}" |
3681 | LDFLAGS=${LDFLAGS} | |
03261851 | 3682 | |
4e71dc1e JJ |
3683 | |
3684 | _ACEOF | |
3685 | ||
4e71dc1e | 3686 | cat >>$CONFIG_STATUS <<\_ACEOF |
6f810581 DD |
3687 | |
3688 | # Handling of arguments. | |
4e71dc1e JJ |
3689 | for ac_config_target in $ac_config_targets |
3690 | do | |
6f810581 DD |
3691 | case $ac_config_target in |
3692 | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; | |
3693 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | |
3694 | ||
4e71dc1e JJ |
3695 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
3696 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | |
3697 | { (exit 1); exit 1; }; };; | |
3698 | esac | |
3699 | done | |
3700 | ||
6f810581 | 3701 | |
4e71dc1e JJ |
3702 | # If the user did not use the arguments to specify the items to instantiate, |
3703 | # then the envvar interface is used. Set only those that are not. | |
3704 | # We use the long form for the default assignment because of an extremely | |
3705 | # bizarre bug on SunOS 4.1.3. | |
3706 | if $ac_need_defaults; then | |
3707 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | |
3708 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands | |
3709 | fi | |
3710 | ||
3711 | # Have a temporary directory for convenience. Make it in the build tree | |
6f810581 | 3712 | # simply because there is no reason against having it here, and in addition, |
4e71dc1e | 3713 | # creating and moving files from /tmp can sometimes cause problems. |
6f810581 DD |
3714 | # Hook for its removal unless debugging. |
3715 | # Note that there is a small window in which the directory will not be cleaned: | |
3716 | # after its creation but before its name has been assigned to `$tmp'. | |
4e71dc1e JJ |
3717 | $debug || |
3718 | { | |
6f810581 DD |
3719 | tmp= |
3720 | trap 'exit_status=$? | |
3721 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status | |
3722 | ' 0 | |
4e71dc1e JJ |
3723 | trap '{ (exit 1); exit 1; }' 1 2 13 15 |
3724 | } | |
4e71dc1e JJ |
3725 | # Create a (secure) tmp directory for tmp files. |
3726 | ||
3727 | { | |
6f810581 | 3728 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
4e71dc1e JJ |
3729 | test -n "$tmp" && test -d "$tmp" |
3730 | } || | |
3731 | { | |
6f810581 DD |
3732 | tmp=./conf$$-$RANDOM |
3733 | (umask 077 && mkdir "$tmp") | |
4e71dc1e JJ |
3734 | } || |
3735 | { | |
3736 | echo "$me: cannot create a temporary directory in ." >&2 | |
3737 | { (exit 1); exit 1; } | |
3738 | } | |
3739 | ||
4e71dc1e | 3740 | # |
6f810581 | 3741 | # Set up the sed scripts for CONFIG_FILES section. |
4e71dc1e JJ |
3742 | # |
3743 | ||
3744 | # No need to generate the scripts if there are no CONFIG_FILES. | |
3745 | # This happens for instance when ./config.status config.h | |
6f810581 | 3746 | if test -n "$CONFIG_FILES"; then |
4e71dc1e JJ |
3747 | |
3748 | _ACEOF | |
3749 | ||
6f810581 DD |
3750 | # Create sed commands to just substitute file output variables. |
3751 | ||
3752 | # Remaining file output variables are in a fragment that also has non-file | |
3753 | # output varibles. | |
3754 | ||
3755 | ||
3756 | ||
3757 | ac_delim='%!_!# ' | |
3758 | for ac_last_try in false false false false false :; do | |
3759 | cat >conf$$subs.sed <<_ACEOF | |
3760 | SHELL!$SHELL$ac_delim | |
3761 | PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim | |
3762 | PACKAGE_NAME!$PACKAGE_NAME$ac_delim | |
3763 | PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim | |
3764 | PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim | |
3765 | PACKAGE_STRING!$PACKAGE_STRING$ac_delim | |
3766 | PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim | |
3767 | exec_prefix!$exec_prefix$ac_delim | |
3768 | prefix!$prefix$ac_delim | |
3769 | program_transform_name!$program_transform_name$ac_delim | |
3770 | bindir!$bindir$ac_delim | |
3771 | sbindir!$sbindir$ac_delim | |
3772 | libexecdir!$libexecdir$ac_delim | |
3773 | datarootdir!$datarootdir$ac_delim | |
3774 | datadir!$datadir$ac_delim | |
3775 | sysconfdir!$sysconfdir$ac_delim | |
3776 | sharedstatedir!$sharedstatedir$ac_delim | |
3777 | localstatedir!$localstatedir$ac_delim | |
3778 | includedir!$includedir$ac_delim | |
3779 | oldincludedir!$oldincludedir$ac_delim | |
3780 | docdir!$docdir$ac_delim | |
3781 | infodir!$infodir$ac_delim | |
3782 | htmldir!$htmldir$ac_delim | |
3783 | dvidir!$dvidir$ac_delim | |
3784 | pdfdir!$pdfdir$ac_delim | |
3785 | psdir!$psdir$ac_delim | |
3786 | libdir!$libdir$ac_delim | |
3787 | localedir!$localedir$ac_delim | |
3788 | mandir!$mandir$ac_delim | |
3789 | DEFS!$DEFS$ac_delim | |
3790 | ECHO_C!$ECHO_C$ac_delim | |
3791 | ECHO_N!$ECHO_N$ac_delim | |
3792 | ECHO_T!$ECHO_T$ac_delim | |
3793 | LIBS!$LIBS$ac_delim | |
3794 | build_alias!$build_alias$ac_delim | |
3795 | host_alias!$host_alias$ac_delim | |
3796 | target_alias!$target_alias$ac_delim | |
3797 | INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim | |
3798 | INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim | |
3799 | INSTALL_DATA!$INSTALL_DATA$ac_delim | |
3800 | build!$build$ac_delim | |
3801 | build_cpu!$build_cpu$ac_delim | |
3802 | build_vendor!$build_vendor$ac_delim | |
3803 | build_os!$build_os$ac_delim | |
3804 | host!$host$ac_delim | |
3805 | host_cpu!$host_cpu$ac_delim | |
3806 | host_vendor!$host_vendor$ac_delim | |
3807 | host_os!$host_os$ac_delim | |
3808 | target!$target$ac_delim | |
3809 | target_cpu!$target_cpu$ac_delim | |
3810 | target_vendor!$target_vendor$ac_delim | |
3811 | target_os!$target_os$ac_delim | |
3812 | CYGPATH_W!$CYGPATH_W$ac_delim | |
3813 | PACKAGE!$PACKAGE$ac_delim | |
3814 | VERSION!$VERSION$ac_delim | |
3815 | ACLOCAL!$ACLOCAL$ac_delim | |
3816 | AUTOCONF!$AUTOCONF$ac_delim | |
3817 | AUTOMAKE!$AUTOMAKE$ac_delim | |
3818 | AUTOHEADER!$AUTOHEADER$ac_delim | |
3819 | MAKEINFO!$MAKEINFO$ac_delim | |
3820 | install_sh!$install_sh$ac_delim | |
3821 | STRIP!$STRIP$ac_delim | |
3822 | INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim | |
3823 | mkdir_p!$mkdir_p$ac_delim | |
3824 | AWK!$AWK$ac_delim | |
3825 | SET_MAKE!$SET_MAKE$ac_delim | |
3826 | am__leading_dot!$am__leading_dot$ac_delim | |
3827 | AMTAR!$AMTAR$ac_delim | |
3828 | am__tar!$am__tar$ac_delim | |
3829 | am__untar!$am__untar$ac_delim | |
3830 | subdirs!$subdirs$ac_delim | |
3831 | CC!$CC$ac_delim | |
3832 | DEPDIR!$DEPDIR$ac_delim | |
3833 | am__include!$am__include$ac_delim | |
3834 | am__quote!$am__quote$ac_delim | |
3835 | AMDEP_TRUE!$AMDEP_TRUE$ac_delim | |
3836 | AMDEP_FALSE!$AMDEP_FALSE$ac_delim | |
3837 | AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim | |
3838 | CCDEPMODE!$CCDEPMODE$ac_delim | |
3839 | am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim | |
3840 | am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim | |
3841 | AS!$AS$ac_delim | |
3842 | AR!$AR$ac_delim | |
3843 | LD!$LD$ac_delim | |
3844 | RANLIB!$RANLIB$ac_delim | |
3845 | CCAS!$CCAS$ac_delim | |
3846 | CCASFLAGS!$CCASFLAGS$ac_delim | |
3847 | host_makefile_frag_path!$host_makefile_frag_path$ac_delim | |
3848 | LIBOBJS!$LIBOBJS$ac_delim | |
3849 | LTLIBOBJS!$LTLIBOBJS$ac_delim | |
3850 | _ACEOF | |
3851 | ||
3852 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 90; then | |
3853 | break | |
3854 | elif $ac_last_try; then | |
3855 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | |
3856 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | |
3857 | { (exit 1); exit 1; }; } | |
3858 | else | |
3859 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
4e71dc1e | 3860 | fi |
6f810581 | 3861 | done |
4e71dc1e | 3862 | |
6f810581 DD |
3863 | ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` |
3864 | if test -n "$ac_eof"; then | |
3865 | ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` | |
3866 | ac_eof=`expr $ac_eof + 1` | |
3867 | fi | |
3868 | ||
3869 | cat >>$CONFIG_STATUS <<_ACEOF | |
3870 | cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof | |
3871 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end | |
3872 | /^[ ]*@host_makefile_frag@[ ]*$/{ | |
3873 | r $host_makefile_frag | |
3874 | d | |
3875 | } | |
4e71dc1e | 3876 | _ACEOF |
6f810581 DD |
3877 | sed ' |
3878 | s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g | |
3879 | s/^/s,@/; s/!/@,|#_!!_#|/ | |
3880 | :n | |
3881 | t n | |
3882 | s/'"$ac_delim"'$/,g/; t | |
3883 | s/$/\\/; p | |
3884 | N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n | |
3885 | ' >>$CONFIG_STATUS <conf$$subs.sed | |
3886 | rm -f conf$$subs.sed | |
3887 | cat >>$CONFIG_STATUS <<_ACEOF | |
3888 | :end | |
3889 | s/|#_!!_#|//g | |
3890 | CEOF$ac_eof | |
3891 | _ACEOF | |
3892 | ||
3893 | ||
3894 | # VPATH may cause trouble with some makes, so we remove $(srcdir), | |
3895 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | |
3896 | # trailing colons and then remove the whole line if VPATH becomes empty | |
3897 | # (actually we leave an empty line to preserve line numbers). | |
3898 | if test "x$srcdir" = x.; then | |
3899 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ | |
3900 | s/:*\$(srcdir):*/:/ | |
3901 | s/:*\${srcdir}:*/:/ | |
3902 | s/:*@srcdir@:*/:/ | |
3903 | s/^\([^=]*=[ ]*\):*/\1/ | |
3904 | s/:*$// | |
3905 | s/^[^=]*=[ ]*$// | |
3906 | }' | |
3907 | fi | |
3908 | ||
4e71dc1e | 3909 | cat >>$CONFIG_STATUS <<\_ACEOF |
6f810581 DD |
3910 | fi # test -n "$CONFIG_FILES" |
3911 | ||
3912 | ||
3913 | for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS | |
3914 | do | |
3915 | case $ac_tag in | |
3916 | :[FHLC]) ac_mode=$ac_tag; continue;; | |
3917 | esac | |
3918 | case $ac_mode$ac_tag in | |
3919 | :[FHL]*:*);; | |
3920 | :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 | |
3921 | echo "$as_me: error: Invalid tag $ac_tag." >&2;} | |
3922 | { (exit 1); exit 1; }; };; | |
3923 | :[FH]-) ac_tag=-:-;; | |
3924 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | |
4e71dc1e | 3925 | esac |
6f810581 DD |
3926 | ac_save_IFS=$IFS |
3927 | IFS=: | |
3928 | set x $ac_tag | |
3929 | IFS=$ac_save_IFS | |
3930 | shift | |
3931 | ac_file=$1 | |
3932 | shift | |
3933 | ||
3934 | case $ac_mode in | |
3935 | :L) ac_source=$1;; | |
3936 | :[FH]) | |
3937 | ac_file_inputs= | |
3938 | for ac_f | |
3939 | do | |
3940 | case $ac_f in | |
3941 | -) ac_f="$tmp/stdin";; | |
3942 | *) # Look for the file first in the build tree, then in the source tree | |
3943 | # (if the path is not absolute). The absolute path cannot be DOS-style, | |
3944 | # because $ac_f cannot contain `:'. | |
3945 | test -f "$ac_f" || | |
3946 | case $ac_f in | |
3947 | [\\/$]*) false;; | |
3948 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | |
3949 | esac || | |
3950 | { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 | |
3951 | echo "$as_me: error: cannot find input file: $ac_f" >&2;} | |
3952 | { (exit 1); exit 1; }; };; | |
3953 | esac | |
3954 | ac_file_inputs="$ac_file_inputs $ac_f" | |
3955 | done | |
3956 | ||
3957 | # Let's still pretend it is `configure' which instantiates (i.e., don't | |
3958 | # use $as_me), people would be surprised to read: | |
3959 | # /* config.h. Generated by config.status. */ | |
3960 | configure_input="Generated from "`IFS=: | |
3961 | echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." | |
3962 | if test x"$ac_file" != x-; then | |
3963 | configure_input="$ac_file. $configure_input" | |
3964 | { echo "$as_me:$LINENO: creating $ac_file" >&5 | |
3965 | echo "$as_me: creating $ac_file" >&6;} | |
3966 | fi | |
4e71dc1e | 3967 | |
6f810581 DD |
3968 | case $ac_tag in |
3969 | *:-:* | *:-) cat >"$tmp/stdin";; | |
3970 | esac | |
3971 | ;; | |
3972 | esac | |
3973 | ||
3974 | ac_dir=`$as_dirname -- "$ac_file" || | |
4e71dc1e JJ |
3975 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
3976 | X"$ac_file" : 'X\(//\)[^/]' \| \ | |
3977 | X"$ac_file" : 'X\(//\)$' \| \ | |
6f810581 | 3978 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
4e71dc1e | 3979 | echo X"$ac_file" | |
6f810581 DD |
3980 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
3981 | s//\1/ | |
3982 | q | |
3983 | } | |
3984 | /^X\(\/\/\)[^/].*/{ | |
3985 | s//\1/ | |
3986 | q | |
3987 | } | |
3988 | /^X\(\/\/\)$/{ | |
3989 | s//\1/ | |
3990 | q | |
3991 | } | |
3992 | /^X\(\/\).*/{ | |
3993 | s//\1/ | |
3994 | q | |
3995 | } | |
3996 | s/.*/./; q'` | |
3997 | { as_dir="$ac_dir" | |
3998 | case $as_dir in #( | |
3999 | -*) as_dir=./$as_dir;; | |
4000 | esac | |
4001 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { | |
4e71dc1e | 4002 | as_dirs= |
6f810581 DD |
4003 | while :; do |
4004 | case $as_dir in #( | |
4005 | *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( | |
4006 | *) as_qdir=$as_dir;; | |
4007 | esac | |
4008 | as_dirs="'$as_qdir' $as_dirs" | |
4009 | as_dir=`$as_dirname -- "$as_dir" || | |
4e71dc1e JJ |
4010 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
4011 | X"$as_dir" : 'X\(//\)[^/]' \| \ | |
4012 | X"$as_dir" : 'X\(//\)$' \| \ | |
6f810581 | 4013 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
4e71dc1e | 4014 | echo X"$as_dir" | |
6f810581 DD |
4015 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
4016 | s//\1/ | |
4017 | q | |
4018 | } | |
4019 | /^X\(\/\/\)[^/].*/{ | |
4020 | s//\1/ | |
4021 | q | |
4022 | } | |
4023 | /^X\(\/\/\)$/{ | |
4024 | s//\1/ | |
4025 | q | |
4026 | } | |
4027 | /^X\(\/\).*/{ | |
4028 | s//\1/ | |
4029 | q | |
4030 | } | |
4031 | s/.*/./; q'` | |
4032 | test -d "$as_dir" && break | |
4e71dc1e | 4033 | done |
6f810581 DD |
4034 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
4035 | } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 | |
4036 | echo "$as_me: error: cannot create directory $as_dir" >&2;} | |
4e71dc1e | 4037 | { (exit 1); exit 1; }; }; } |
4e71dc1e JJ |
4038 | ac_builddir=. |
4039 | ||
6f810581 DD |
4040 | case "$ac_dir" in |
4041 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
4042 | *) | |
4e71dc1e | 4043 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
6f810581 DD |
4044 | # A ".." for each directory in $ac_dir_suffix. |
4045 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` | |
4046 | case $ac_top_builddir_sub in | |
4047 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
4048 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
4049 | esac ;; | |
4050 | esac | |
4051 | ac_abs_top_builddir=$ac_pwd | |
4052 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
4053 | # for backward compatibility: | |
4054 | ac_top_builddir=$ac_top_build_prefix | |
4e71dc1e JJ |
4055 | |
4056 | case $srcdir in | |
6f810581 | 4057 | .) # We are building in place. |
4e71dc1e | 4058 | ac_srcdir=. |
6f810581 DD |
4059 | ac_top_srcdir=$ac_top_builddir_sub |
4060 | ac_abs_top_srcdir=$ac_pwd ;; | |
4061 | [\\/]* | ?:[\\/]* ) # Absolute name. | |
4e71dc1e | 4062 | ac_srcdir=$srcdir$ac_dir_suffix; |
6f810581 DD |
4063 | ac_top_srcdir=$srcdir |
4064 | ac_abs_top_srcdir=$srcdir ;; | |
4065 | *) # Relative name. | |
4066 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | |
4067 | ac_top_srcdir=$ac_top_build_prefix$srcdir | |
4068 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
4e71dc1e | 4069 | esac |
6f810581 | 4070 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
4e71dc1e | 4071 | |
4e71dc1e | 4072 | |
6f810581 DD |
4073 | case $ac_mode in |
4074 | :F) | |
4075 | # | |
4076 | # CONFIG_FILE | |
4077 | # | |
4e71dc1e JJ |
4078 | |
4079 | case $INSTALL in | |
4080 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | |
6f810581 | 4081 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
4e71dc1e | 4082 | esac |
6f810581 | 4083 | _ACEOF |
4e71dc1e | 4084 | |
6f810581 DD |
4085 | cat >>$CONFIG_STATUS <<\_ACEOF |
4086 | # If the template does not know about datarootdir, expand it. | |
4087 | # FIXME: This hack should be removed a few years after 2.60. | |
4088 | ac_datarootdir_hack=; ac_datarootdir_seen= | |
4089 | ||
4090 | case `sed -n '/datarootdir/ { | |
4091 | p | |
4092 | q | |
4093 | } | |
4094 | /@datadir@/p | |
4095 | /@docdir@/p | |
4096 | /@infodir@/p | |
4097 | /@localedir@/p | |
4098 | /@mandir@/p | |
4099 | ' $ac_file_inputs` in | |
4100 | *datarootdir*) ac_datarootdir_seen=yes;; | |
4101 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | |
4102 | { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 | |
4103 | echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | |
4e71dc1e | 4104 | _ACEOF |
6f810581 DD |
4105 | cat >>$CONFIG_STATUS <<_ACEOF |
4106 | ac_datarootdir_hack=' | |
4107 | s&@datadir@&$datadir&g | |
4108 | s&@docdir@&$docdir&g | |
4109 | s&@infodir@&$infodir&g | |
4110 | s&@localedir@&$localedir&g | |
4111 | s&@mandir@&$mandir&g | |
4112 | s&\\\${datarootdir}&$datarootdir&g' ;; | |
4113 | esac | |
4114 | _ACEOF | |
4115 | ||
4116 | # Neutralize VPATH when `$srcdir' = `.'. | |
4117 | # Shell code in configure.ac might set extrasub. | |
4118 | # FIXME: do we really want to maintain this feature? | |
4e71dc1e JJ |
4119 | cat >>$CONFIG_STATUS <<_ACEOF |
4120 | sed "$ac_vpsub | |
4121 | $extrasub | |
4122 | _ACEOF | |
4123 | cat >>$CONFIG_STATUS <<\_ACEOF | |
4124 | :t | |
4125 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | |
6f810581 DD |
4126 | s&@configure_input@&$configure_input&;t t |
4127 | s&@top_builddir@&$ac_top_builddir_sub&;t t | |
4128 | s&@srcdir@&$ac_srcdir&;t t | |
4129 | s&@abs_srcdir@&$ac_abs_srcdir&;t t | |
4130 | s&@top_srcdir@&$ac_top_srcdir&;t t | |
4131 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | |
4132 | s&@builddir@&$ac_builddir&;t t | |
4133 | s&@abs_builddir@&$ac_abs_builddir&;t t | |
4134 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | |
4135 | s&@INSTALL@&$ac_INSTALL&;t t | |
4136 | $ac_datarootdir_hack | |
4137 | " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out | |
4138 | ||
4139 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | |
4140 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && | |
4141 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && | |
4142 | { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' | |
4143 | which seems to be undefined. Please make sure it is defined." >&5 | |
4144 | echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | |
4145 | which seems to be undefined. Please make sure it is defined." >&2;} | |
4146 | ||
4147 | rm -f "$tmp/stdin" | |
4e71dc1e | 4148 | case $ac_file in |
6f810581 DD |
4149 | -) cat "$tmp/out"; rm -f "$tmp/out";; |
4150 | *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; | |
4e71dc1e | 4151 | esac |
6f810581 | 4152 | ;; |
4e71dc1e | 4153 | |
4e71dc1e | 4154 | |
6f810581 DD |
4155 | :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 |
4156 | echo "$as_me: executing $ac_file commands" >&6;} | |
4157 | ;; | |
4158 | esac | |
4e71dc1e JJ |
4159 | |
4160 | ||
6f810581 DD |
4161 | case $ac_file$ac_mode in |
4162 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do | |
4e71dc1e JJ |
4163 | # Strip MF so we end up with the name of the file. |
4164 | mf=`echo "$mf" | sed -e 's/:.*$//'` | |
4165 | # Check whether this is an Automake generated Makefile or not. | |
4166 | # We used to match only the files named `Makefile.in', but | |
4167 | # some people rename them; so instead we look at the file content. | |
4168 | # Grep'ing the first line is not enough: some people post-process | |
4169 | # each Makefile.in and add a new line on top of each file to say so. | |
4170 | # So let's grep whole file. | |
4171 | if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then | |
6f810581 | 4172 | dirpart=`$as_dirname -- "$mf" || |
4e71dc1e JJ |
4173 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
4174 | X"$mf" : 'X\(//\)[^/]' \| \ | |
4175 | X"$mf" : 'X\(//\)$' \| \ | |
6f810581 | 4176 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
4e71dc1e | 4177 | echo X"$mf" | |
6f810581 DD |
4178 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
4179 | s//\1/ | |
4180 | q | |
4181 | } | |
4182 | /^X\(\/\/\)[^/].*/{ | |
4183 | s//\1/ | |
4184 | q | |
4185 | } | |
4186 | /^X\(\/\/\)$/{ | |
4187 | s//\1/ | |
4188 | q | |
4189 | } | |
4190 | /^X\(\/\).*/{ | |
4191 | s//\1/ | |
4192 | q | |
4193 | } | |
4194 | s/.*/./; q'` | |
4e71dc1e JJ |
4195 | else |
4196 | continue | |
4197 | fi | |
4198 | # Extract the definition of DEPDIR, am__include, and am__quote | |
4199 | # from the Makefile without running `make'. | |
4200 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | |
4201 | test -z "$DEPDIR" && continue | |
4202 | am__include=`sed -n 's/^am__include = //p' < "$mf"` | |
4203 | test -z "am__include" && continue | |
4204 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | |
4205 | # When using ansi2knr, U may be empty or an underscore; expand it | |
4206 | U=`sed -n 's/^U = //p' < "$mf"` | |
4207 | # Find all dependency output files, they are included files with | |
4208 | # $(DEPDIR) in their names. We invoke sed twice because it is the | |
4209 | # simplest approach to changing $(DEPDIR) to its actual value in the | |
4210 | # expansion. | |
4211 | for file in `sed -n " | |
4212 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | |
4213 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | |
4214 | # Make sure the directory exists. | |
4215 | test -f "$dirpart/$file" && continue | |
6f810581 | 4216 | fdir=`$as_dirname -- "$file" || |
4e71dc1e JJ |
4217 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
4218 | X"$file" : 'X\(//\)[^/]' \| \ | |
4219 | X"$file" : 'X\(//\)$' \| \ | |
6f810581 | 4220 | X"$file" : 'X\(/\)' \| . 2>/dev/null || |
4e71dc1e | 4221 | echo X"$file" | |
6f810581 DD |
4222 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
4223 | s//\1/ | |
4224 | q | |
4225 | } | |
4226 | /^X\(\/\/\)[^/].*/{ | |
4227 | s//\1/ | |
4228 | q | |
4229 | } | |
4230 | /^X\(\/\/\)$/{ | |
4231 | s//\1/ | |
4232 | q | |
4233 | } | |
4234 | /^X\(\/\).*/{ | |
4235 | s//\1/ | |
4236 | q | |
4237 | } | |
4238 | s/.*/./; q'` | |
4239 | { as_dir=$dirpart/$fdir | |
4240 | case $as_dir in #( | |
4241 | -*) as_dir=./$as_dir;; | |
4242 | esac | |
4243 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { | |
4e71dc1e | 4244 | as_dirs= |
6f810581 DD |
4245 | while :; do |
4246 | case $as_dir in #( | |
4247 | *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( | |
4248 | *) as_qdir=$as_dir;; | |
4249 | esac | |
4250 | as_dirs="'$as_qdir' $as_dirs" | |
4251 | as_dir=`$as_dirname -- "$as_dir" || | |
4e71dc1e JJ |
4252 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
4253 | X"$as_dir" : 'X\(//\)[^/]' \| \ | |
4254 | X"$as_dir" : 'X\(//\)$' \| \ | |
6f810581 | 4255 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
4e71dc1e | 4256 | echo X"$as_dir" | |
6f810581 DD |
4257 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
4258 | s//\1/ | |
4259 | q | |
4260 | } | |
4261 | /^X\(\/\/\)[^/].*/{ | |
4262 | s//\1/ | |
4263 | q | |
4264 | } | |
4265 | /^X\(\/\/\)$/{ | |
4266 | s//\1/ | |
4267 | q | |
4268 | } | |
4269 | /^X\(\/\).*/{ | |
4270 | s//\1/ | |
4271 | q | |
4272 | } | |
4273 | s/.*/./; q'` | |
4274 | test -d "$as_dir" && break | |
4e71dc1e | 4275 | done |
6f810581 DD |
4276 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
4277 | } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 | |
4278 | echo "$as_me: error: cannot create directory $as_dir" >&2;} | |
4e71dc1e | 4279 | { (exit 1); exit 1; }; }; } |
4e71dc1e JJ |
4280 | # echo "creating $dirpart/$file" |
4281 | echo '# dummy' > "$dirpart/$file" | |
4282 | done | |
4283 | done | |
4284 | ;; | |
6f810581 DD |
4285 | "Makefile":F) if test -n "$CONFIG_FILES"; then |
4286 | unset ac_file | |
4287 | . ${libgloss_topdir}/config-ml.in | |
4288 | fi ;; | |
4289 | ||
4e71dc1e | 4290 | esac |
6f810581 | 4291 | done # for ac_tag |
4e71dc1e | 4292 | |
4e71dc1e JJ |
4293 | |
4294 | { (exit 0); exit 0; } | |
4295 | _ACEOF | |
03261851 | 4296 | chmod +x $CONFIG_STATUS |
4e71dc1e JJ |
4297 | ac_clean_files=$ac_clean_files_save |
4298 | ||
4299 | ||
4300 | # configure is writing to config.log, and then calls config.status. | |
4301 | # config.status does its own redirection, appending to config.log. | |
4302 | # Unfortunately, on DOS this fails, as config.log is still kept open | |
4303 | # by configure, so config.status won't be able to write to it; its | |
4304 | # output is simply discarded. So we exec the FD to /dev/null, | |
4305 | # effectively closing config.log, so it can be properly (re)opened and | |
4306 | # appended to by config.status. When coming back to configure, we | |
4307 | # need to make the FD available again. | |
4308 | if test "$no_create" != yes; then | |
4309 | ac_cs_success=: | |
4310 | ac_config_status_args= | |
4311 | test "$silent" = yes && | |
4312 | ac_config_status_args="$ac_config_status_args --quiet" | |
4313 | exec 5>/dev/null | |
4314 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | |
4315 | exec 5>>config.log | |
4316 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which | |
4317 | # would make configure fail if this is the last instruction. | |
4318 | $ac_cs_success || { (exit 1); exit 1; } | |
4319 | fi | |
03261851 | 4320 | |
4e71dc1e JJ |
4321 | # |
4322 | # CONFIG_SUBDIRS section. | |
4323 | # | |
03261851 RK |
4324 | if test "$no_recursion" != yes; then |
4325 | ||
4326 | # Remove --cache-file and --srcdir arguments so they do not pile up. | |
4327 | ac_sub_configure_args= | |
4328 | ac_prev= | |
6f810581 DD |
4329 | eval "set x $ac_configure_args" |
4330 | shift | |
4331 | for ac_arg | |
4332 | do | |
03261851 RK |
4333 | if test -n "$ac_prev"; then |
4334 | ac_prev= | |
4335 | continue | |
4336 | fi | |
4e71dc1e | 4337 | case $ac_arg in |
03261851 RK |
4338 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
4339 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | |
4340 | ac_prev=cache_file ;; | |
4341 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | |
4e71dc1e JJ |
4342 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ |
4343 | | --c=*) | |
4344 | ;; | |
4345 | --config-cache | -C) | |
03261851 RK |
4346 | ;; |
4347 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | |
4348 | ac_prev=srcdir ;; | |
4349 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | |
4350 | ;; | |
4e71dc1e JJ |
4351 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
4352 | ac_prev=prefix ;; | |
4353 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | |
4354 | ;; | |
6f810581 DD |
4355 | *) |
4356 | case $ac_arg in | |
4357 | *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
4358 | esac | |
4359 | ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;; | |
03261851 RK |
4360 | esac |
4361 | done | |
4362 | ||
4e71dc1e JJ |
4363 | # Always prepend --prefix to ensure using the same prefix |
4364 | # in subdir configurations. | |
6f810581 DD |
4365 | ac_arg="--prefix=$prefix" |
4366 | case $ac_arg in | |
4367 | *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
4368 | esac | |
4369 | ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" | |
4370 | ||
4371 | # Pass --silent | |
4372 | if test "$silent" = yes; then | |
4373 | ac_sub_configure_args="--silent $ac_sub_configure_args" | |
4374 | fi | |
4e71dc1e JJ |
4375 | |
4376 | ac_popdir=`pwd` | |
4377 | for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue | |
03261851 RK |
4378 | |
4379 | # Do not complain, so a configure script can configure whichever | |
4380 | # parts of a large source tree are present. | |
6f810581 DD |
4381 | test -d "$srcdir/$ac_dir" || continue |
4382 | ||
4383 | ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" | |
4384 | echo "$as_me:$LINENO: $ac_msg" >&5 | |
4385 | echo "$ac_msg" >&6 | |
4386 | { as_dir="$ac_dir" | |
4387 | case $as_dir in #( | |
4388 | -*) as_dir=./$as_dir;; | |
4389 | esac | |
4390 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { | |
4e71dc1e | 4391 | as_dirs= |
6f810581 DD |
4392 | while :; do |
4393 | case $as_dir in #( | |
4394 | *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( | |
4395 | *) as_qdir=$as_dir;; | |
4396 | esac | |
4397 | as_dirs="'$as_qdir' $as_dirs" | |
4398 | as_dir=`$as_dirname -- "$as_dir" || | |
4e71dc1e JJ |
4399 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
4400 | X"$as_dir" : 'X\(//\)[^/]' \| \ | |
4401 | X"$as_dir" : 'X\(//\)$' \| \ | |
6f810581 | 4402 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
4e71dc1e | 4403 | echo X"$as_dir" | |
6f810581 DD |
4404 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
4405 | s//\1/ | |
4406 | q | |
4407 | } | |
4408 | /^X\(\/\/\)[^/].*/{ | |
4409 | s//\1/ | |
4410 | q | |
4411 | } | |
4412 | /^X\(\/\/\)$/{ | |
4413 | s//\1/ | |
4414 | q | |
4415 | } | |
4416 | /^X\(\/\).*/{ | |
4417 | s//\1/ | |
4418 | q | |
4419 | } | |
4420 | s/.*/./; q'` | |
4421 | test -d "$as_dir" && break | |
4e71dc1e | 4422 | done |
6f810581 DD |
4423 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
4424 | } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 | |
4425 | echo "$as_me: error: cannot create directory $as_dir" >&2;} | |
4e71dc1e | 4426 | { (exit 1); exit 1; }; }; } |
4e71dc1e JJ |
4427 | ac_builddir=. |
4428 | ||
6f810581 DD |
4429 | case "$ac_dir" in |
4430 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
4431 | *) | |
4e71dc1e | 4432 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
6f810581 DD |
4433 | # A ".." for each directory in $ac_dir_suffix. |
4434 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` | |
4435 | case $ac_top_builddir_sub in | |
4436 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
4437 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
4438 | esac ;; | |
4439 | esac | |
4440 | ac_abs_top_builddir=$ac_pwd | |
4441 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
4442 | # for backward compatibility: | |
4443 | ac_top_builddir=$ac_top_build_prefix | |
03261851 | 4444 | |
4e71dc1e | 4445 | case $srcdir in |
6f810581 | 4446 | .) # We are building in place. |
4e71dc1e | 4447 | ac_srcdir=. |
6f810581 DD |
4448 | ac_top_srcdir=$ac_top_builddir_sub |
4449 | ac_abs_top_srcdir=$ac_pwd ;; | |
4450 | [\\/]* | ?:[\\/]* ) # Absolute name. | |
4e71dc1e | 4451 | ac_srcdir=$srcdir$ac_dir_suffix; |
6f810581 DD |
4452 | ac_top_srcdir=$srcdir |
4453 | ac_abs_top_srcdir=$srcdir ;; | |
4454 | *) # Relative name. | |
4455 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | |
4456 | ac_top_srcdir=$ac_top_build_prefix$srcdir | |
4457 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
4e71dc1e | 4458 | esac |
6f810581 | 4459 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
03261851 | 4460 | |
03261851 | 4461 | |
6f810581 | 4462 | cd "$ac_dir" |
03261851 RK |
4463 | |
4464 | # Check for guested configure; otherwise get Cygnus style configure. | |
6f810581 DD |
4465 | if test -f "$ac_srcdir/configure.gnu"; then |
4466 | ac_sub_configure=$ac_srcdir/configure.gnu | |
4467 | elif test -f "$ac_srcdir/configure"; then | |
4468 | ac_sub_configure=$ac_srcdir/configure | |
4469 | elif test -f "$ac_srcdir/configure.in"; then | |
4470 | # This should be Cygnus configure. | |
4471 | ac_sub_configure=$ac_aux_dir/configure | |
03261851 | 4472 | else |
4e71dc1e JJ |
4473 | { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 |
4474 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} | |
03261851 RK |
4475 | ac_sub_configure= |
4476 | fi | |
4477 | ||
4478 | # The recursion is here. | |
4479 | if test -n "$ac_sub_configure"; then | |
03261851 | 4480 | # Make the cache file name correct relative to the subdirectory. |
4e71dc1e JJ |
4481 | case $cache_file in |
4482 | [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; | |
6f810581 DD |
4483 | *) # Relative name. |
4484 | ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; | |
03261851 | 4485 | esac |
03261851 | 4486 | |
6f810581 DD |
4487 | { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 |
4488 | echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} | |
03261851 | 4489 | # The eval makes quoting arguments work. |
6f810581 DD |
4490 | eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ |
4491 | --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || | |
4e71dc1e JJ |
4492 | { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 |
4493 | echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} | |
4494 | { (exit 1); exit 1; }; } | |
03261851 RK |
4495 | fi |
4496 | ||
6f810581 | 4497 | cd "$ac_popdir" |
03261851 RK |
4498 | done |
4499 | fi | |
4500 | ||
4501 | ||
4502 |