comparison configure @ 2528:a2fb80f5315f

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