comparison configure @ 378:168667cdaa95

Proper configuration and installation
author Adam Chlipala <adamc@hcoop.net>
date Sun, 19 Oct 2008 12:47:10 -0400
parents
children 2f2d5c8dd320
comparison
equal deleted inserted replaced
377:78358e5df273 378:168667cdaa95
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
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
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
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 #
562 ac_default_prefix=/usr/local
563 ac_clean_files=
564 ac_config_libobj_dir=.
565 LIBOBJS=
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="THIS_IS_URWEB"
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 BIN
618 LIB
619 INCLUDE
620 SITELISP
621 do_not_edit
622 LIBOBJS
623 LTLIBOBJS'
624 ac_subst_files=''
625 ac_precious_vars='build_alias
626 host_alias
627 target_alias'
628
629
630 # Initialize some variables set by options.
631 ac_init_help=
632 ac_init_version=false
633 # The variables have the same names as the options, with
634 # dashes changed to underlines.
635 cache_file=/dev/null
636 exec_prefix=NONE
637 no_create=
638 no_recursion=
639 prefix=NONE
640 program_prefix=NONE
641 program_suffix=NONE
642 program_transform_name=s,x,x,
643 silent=
644 site=
645 srcdir=
646 verbose=
647 x_includes=NONE
648 x_libraries=NONE
649
650 # Installation directory options.
651 # These are left unexpanded so users can "make install exec_prefix=/foo"
652 # and all the variables that are supposed to be based on exec_prefix
653 # by default will actually change.
654 # Use braces instead of parens because sh, perl, etc. also accept them.
655 # (The list follows the same order as the GNU Coding Standards.)
656 bindir='${exec_prefix}/bin'
657 sbindir='${exec_prefix}/sbin'
658 libexecdir='${exec_prefix}/libexec'
659 datarootdir='${prefix}/share'
660 datadir='${datarootdir}'
661 sysconfdir='${prefix}/etc'
662 sharedstatedir='${prefix}/com'
663 localstatedir='${prefix}/var'
664 includedir='${prefix}/include'
665 oldincludedir='/usr/include'
666 docdir='${datarootdir}/doc/${PACKAGE}'
667 infodir='${datarootdir}/info'
668 htmldir='${docdir}'
669 dvidir='${docdir}'
670 pdfdir='${docdir}'
671 psdir='${docdir}'
672 libdir='${exec_prefix}/lib'
673 localedir='${datarootdir}/locale'
674 mandir='${datarootdir}/man'
675
676 ac_prev=
677 ac_dashdash=
678 for ac_option
679 do
680 # If the previous option needs an argument, assign it.
681 if test -n "$ac_prev"; then
682 eval $ac_prev=\$ac_option
683 ac_prev=
684 continue
685 fi
686
687 case $ac_option in
688 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
689 *) ac_optarg=yes ;;
690 esac
691
692 # Accept the important Cygnus configure options, so we can diagnose typos.
693
694 case $ac_dashdash$ac_option in
695 --)
696 ac_dashdash=yes ;;
697
698 -bindir | --bindir | --bindi | --bind | --bin | --bi)
699 ac_prev=bindir ;;
700 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
701 bindir=$ac_optarg ;;
702
703 -build | --build | --buil | --bui | --bu)
704 ac_prev=build_alias ;;
705 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
706 build_alias=$ac_optarg ;;
707
708 -cache-file | --cache-file | --cache-fil | --cache-fi \
709 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
710 ac_prev=cache_file ;;
711 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
712 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
713 cache_file=$ac_optarg ;;
714
715 --config-cache | -C)
716 cache_file=config.cache ;;
717
718 -datadir | --datadir | --datadi | --datad)
719 ac_prev=datadir ;;
720 -datadir=* | --datadir=* | --datadi=* | --datad=*)
721 datadir=$ac_optarg ;;
722
723 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
724 | --dataroo | --dataro | --datar)
725 ac_prev=datarootdir ;;
726 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
727 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
728 datarootdir=$ac_optarg ;;
729
730 -disable-* | --disable-*)
731 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
732 # Reject names that are not valid shell variable names.
733 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
734 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
735 { (exit 1); exit 1; }; }
736 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
737 eval enable_$ac_feature=no ;;
738
739 -docdir | --docdir | --docdi | --doc | --do)
740 ac_prev=docdir ;;
741 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
742 docdir=$ac_optarg ;;
743
744 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
745 ac_prev=dvidir ;;
746 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
747 dvidir=$ac_optarg ;;
748
749 -enable-* | --enable-*)
750 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
751 # Reject names that are not valid shell variable names.
752 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
753 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
754 { (exit 1); exit 1; }; }
755 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
756 eval enable_$ac_feature=\$ac_optarg ;;
757
758 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
759 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
760 | --exec | --exe | --ex)
761 ac_prev=exec_prefix ;;
762 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
763 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
764 | --exec=* | --exe=* | --ex=*)
765 exec_prefix=$ac_optarg ;;
766
767 -gas | --gas | --ga | --g)
768 # Obsolete; use --with-gas.
769 with_gas=yes ;;
770
771 -help | --help | --hel | --he | -h)
772 ac_init_help=long ;;
773 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
774 ac_init_help=recursive ;;
775 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
776 ac_init_help=short ;;
777
778 -host | --host | --hos | --ho)
779 ac_prev=host_alias ;;
780 -host=* | --host=* | --hos=* | --ho=*)
781 host_alias=$ac_optarg ;;
782
783 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
784 ac_prev=htmldir ;;
785 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
786 | --ht=*)
787 htmldir=$ac_optarg ;;
788
789 -includedir | --includedir | --includedi | --included | --include \
790 | --includ | --inclu | --incl | --inc)
791 ac_prev=includedir ;;
792 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
793 | --includ=* | --inclu=* | --incl=* | --inc=*)
794 includedir=$ac_optarg ;;
795
796 -infodir | --infodir | --infodi | --infod | --info | --inf)
797 ac_prev=infodir ;;
798 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
799 infodir=$ac_optarg ;;
800
801 -libdir | --libdir | --libdi | --libd)
802 ac_prev=libdir ;;
803 -libdir=* | --libdir=* | --libdi=* | --libd=*)
804 libdir=$ac_optarg ;;
805
806 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
807 | --libexe | --libex | --libe)
808 ac_prev=libexecdir ;;
809 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
810 | --libexe=* | --libex=* | --libe=*)
811 libexecdir=$ac_optarg ;;
812
813 -localedir | --localedir | --localedi | --localed | --locale)
814 ac_prev=localedir ;;
815 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
816 localedir=$ac_optarg ;;
817
818 -localstatedir | --localstatedir | --localstatedi | --localstated \
819 | --localstate | --localstat | --localsta | --localst | --locals)
820 ac_prev=localstatedir ;;
821 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
822 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
823 localstatedir=$ac_optarg ;;
824
825 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
826 ac_prev=mandir ;;
827 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
828 mandir=$ac_optarg ;;
829
830 -nfp | --nfp | --nf)
831 # Obsolete; use --without-fp.
832 with_fp=no ;;
833
834 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
835 | --no-cr | --no-c | -n)
836 no_create=yes ;;
837
838 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
839 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
840 no_recursion=yes ;;
841
842 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
843 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
844 | --oldin | --oldi | --old | --ol | --o)
845 ac_prev=oldincludedir ;;
846 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
847 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
848 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
849 oldincludedir=$ac_optarg ;;
850
851 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
852 ac_prev=prefix ;;
853 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
854 prefix=$ac_optarg ;;
855
856 -program-prefix | --program-prefix | --program-prefi | --program-pref \
857 | --program-pre | --program-pr | --program-p)
858 ac_prev=program_prefix ;;
859 -program-prefix=* | --program-prefix=* | --program-prefi=* \
860 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
861 program_prefix=$ac_optarg ;;
862
863 -program-suffix | --program-suffix | --program-suffi | --program-suff \
864 | --program-suf | --program-su | --program-s)
865 ac_prev=program_suffix ;;
866 -program-suffix=* | --program-suffix=* | --program-suffi=* \
867 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
868 program_suffix=$ac_optarg ;;
869
870 -program-transform-name | --program-transform-name \
871 | --program-transform-nam | --program-transform-na \
872 | --program-transform-n | --program-transform- \
873 | --program-transform | --program-transfor \
874 | --program-transfo | --program-transf \
875 | --program-trans | --program-tran \
876 | --progr-tra | --program-tr | --program-t)
877 ac_prev=program_transform_name ;;
878 -program-transform-name=* | --program-transform-name=* \
879 | --program-transform-nam=* | --program-transform-na=* \
880 | --program-transform-n=* | --program-transform-=* \
881 | --program-transform=* | --program-transfor=* \
882 | --program-transfo=* | --program-transf=* \
883 | --program-trans=* | --program-tran=* \
884 | --progr-tra=* | --program-tr=* | --program-t=*)
885 program_transform_name=$ac_optarg ;;
886
887 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
888 ac_prev=pdfdir ;;
889 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
890 pdfdir=$ac_optarg ;;
891
892 -psdir | --psdir | --psdi | --psd | --ps)
893 ac_prev=psdir ;;
894 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
895 psdir=$ac_optarg ;;
896
897 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
898 | -silent | --silent | --silen | --sile | --sil)
899 silent=yes ;;
900
901 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
902 ac_prev=sbindir ;;
903 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
904 | --sbi=* | --sb=*)
905 sbindir=$ac_optarg ;;
906
907 -sharedstatedir | --sharedstatedir | --sharedstatedi \
908 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
909 | --sharedst | --shareds | --shared | --share | --shar \
910 | --sha | --sh)
911 ac_prev=sharedstatedir ;;
912 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
913 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
914 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
915 | --sha=* | --sh=*)
916 sharedstatedir=$ac_optarg ;;
917
918 -site | --site | --sit)
919 ac_prev=site ;;
920 -site=* | --site=* | --sit=*)
921 site=$ac_optarg ;;
922
923 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
924 ac_prev=srcdir ;;
925 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
926 srcdir=$ac_optarg ;;
927
928 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
929 | --syscon | --sysco | --sysc | --sys | --sy)
930 ac_prev=sysconfdir ;;
931 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
932 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
933 sysconfdir=$ac_optarg ;;
934
935 -target | --target | --targe | --targ | --tar | --ta | --t)
936 ac_prev=target_alias ;;
937 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
938 target_alias=$ac_optarg ;;
939
940 -v | -verbose | --verbose | --verbos | --verbo | --verb)
941 verbose=yes ;;
942
943 -version | --version | --versio | --versi | --vers | -V)
944 ac_init_version=: ;;
945
946 -with-* | --with-*)
947 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
948 # Reject names that are not valid shell variable names.
949 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
950 { echo "$as_me: error: invalid package name: $ac_package" >&2
951 { (exit 1); exit 1; }; }
952 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
953 eval with_$ac_package=\$ac_optarg ;;
954
955 -without-* | --without-*)
956 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
957 # Reject names that are not valid shell variable names.
958 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
959 { echo "$as_me: error: invalid package name: $ac_package" >&2
960 { (exit 1); exit 1; }; }
961 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
962 eval with_$ac_package=no ;;
963
964 --x)
965 # Obsolete; use --with-x.
966 with_x=yes ;;
967
968 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
969 | --x-incl | --x-inc | --x-in | --x-i)
970 ac_prev=x_includes ;;
971 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
972 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
973 x_includes=$ac_optarg ;;
974
975 -x-libraries | --x-libraries | --x-librarie | --x-librari \
976 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
977 ac_prev=x_libraries ;;
978 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
979 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
980 x_libraries=$ac_optarg ;;
981
982 -*) { echo "$as_me: error: unrecognized option: $ac_option
983 Try \`$0 --help' for more information." >&2
984 { (exit 1); exit 1; }; }
985 ;;
986
987 *=*)
988 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
989 # Reject names that are not valid shell variable names.
990 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
991 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
992 { (exit 1); exit 1; }; }
993 eval $ac_envvar=\$ac_optarg
994 export $ac_envvar ;;
995
996 *)
997 # FIXME: should be removed in autoconf 3.0.
998 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
999 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1000 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1001 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1002 ;;
1003
1004 esac
1005 done
1006
1007 if test -n "$ac_prev"; then
1008 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1009 { echo "$as_me: error: missing argument to $ac_option" >&2
1010 { (exit 1); exit 1; }; }
1011 fi
1012
1013 # Be sure to have absolute directory names.
1014 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1015 datadir sysconfdir sharedstatedir localstatedir includedir \
1016 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1017 libdir localedir mandir
1018 do
1019 eval ac_val=\$$ac_var
1020 case $ac_val in
1021 [\\/$]* | ?:[\\/]* ) continue;;
1022 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1023 esac
1024 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1025 { (exit 1); exit 1; }; }
1026 done
1027
1028 # There might be people who depend on the old broken behavior: `$host'
1029 # used to hold the argument of --host etc.
1030 # FIXME: To remove some day.
1031 build=$build_alias
1032 host=$host_alias
1033 target=$target_alias
1034
1035 # FIXME: To remove some day.
1036 if test "x$host_alias" != x; then
1037 if test "x$build_alias" = x; then
1038 cross_compiling=maybe
1039 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1040 If a cross compiler is detected then cross compile mode will be used." >&2
1041 elif test "x$build_alias" != "x$host_alias"; then
1042 cross_compiling=yes
1043 fi
1044 fi
1045
1046 ac_tool_prefix=
1047 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1048
1049 test "$silent" = yes && exec 6>/dev/null
1050
1051
1052 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1053 ac_ls_di=`ls -di .` &&
1054 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1055 { echo "$as_me: error: Working directory cannot be determined" >&2
1056 { (exit 1); exit 1; }; }
1057 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1058 { echo "$as_me: error: pwd does not report name of working directory" >&2
1059 { (exit 1); exit 1; }; }
1060
1061
1062 # Find the source files, if location was not specified.
1063 if test -z "$srcdir"; then
1064 ac_srcdir_defaulted=yes
1065 # Try the directory containing this script, then the parent directory.
1066 ac_confdir=`$as_dirname -- "$0" ||
1067 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1068 X"$0" : 'X\(//\)[^/]' \| \
1069 X"$0" : 'X\(//\)$' \| \
1070 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1071 echo X"$0" |
1072 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1073 s//\1/
1074 q
1075 }
1076 /^X\(\/\/\)[^/].*/{
1077 s//\1/
1078 q
1079 }
1080 /^X\(\/\/\)$/{
1081 s//\1/
1082 q
1083 }
1084 /^X\(\/\).*/{
1085 s//\1/
1086 q
1087 }
1088 s/.*/./; q'`
1089 srcdir=$ac_confdir
1090 if test ! -r "$srcdir/$ac_unique_file"; then
1091 srcdir=..
1092 fi
1093 else
1094 ac_srcdir_defaulted=no
1095 fi
1096 if test ! -r "$srcdir/$ac_unique_file"; then
1097 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1098 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1099 { (exit 1); exit 1; }; }
1100 fi
1101 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1102 ac_abs_confdir=`(
1103 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1104 { (exit 1); exit 1; }; }
1105 pwd)`
1106 # When building in place, set srcdir=.
1107 if test "$ac_abs_confdir" = "$ac_pwd"; then
1108 srcdir=.
1109 fi
1110 # Remove unnecessary trailing slashes from srcdir.
1111 # Double slashes in file names in object file debugging info
1112 # mess up M-x gdb in Emacs.
1113 case $srcdir in
1114 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1115 esac
1116 for ac_var in $ac_precious_vars; do
1117 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1118 eval ac_env_${ac_var}_value=\$${ac_var}
1119 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1120 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1121 done
1122
1123 #
1124 # Report the --help message.
1125 #
1126 if test "$ac_init_help" = "long"; then
1127 # Omit some internal or obsolete options to make the list less imposing.
1128 # This message is too long to be a string in the A/UX 3.1 sh.
1129 cat <<_ACEOF
1130 \`configure' configures this package to adapt to many kinds of systems.
1131
1132 Usage: $0 [OPTION]... [VAR=VALUE]...
1133
1134 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1135 VAR=VALUE. See below for descriptions of some of the useful variables.
1136
1137 Defaults for the options are specified in brackets.
1138
1139 Configuration:
1140 -h, --help display this help and exit
1141 --help=short display options specific to this package
1142 --help=recursive display the short help of all the included packages
1143 -V, --version display version information and exit
1144 -q, --quiet, --silent do not print \`checking...' messages
1145 --cache-file=FILE cache test results in FILE [disabled]
1146 -C, --config-cache alias for \`--cache-file=config.cache'
1147 -n, --no-create do not create output files
1148 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1149
1150 Installation directories:
1151 --prefix=PREFIX install architecture-independent files in PREFIX
1152 [$ac_default_prefix]
1153 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1154 [PREFIX]
1155
1156 By default, \`make install' will install all the files in
1157 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1158 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1159 for instance \`--prefix=\$HOME'.
1160
1161 For better control, use the options below.
1162
1163 Fine tuning of the installation directories:
1164 --bindir=DIR user executables [EPREFIX/bin]
1165 --sbindir=DIR system admin executables [EPREFIX/sbin]
1166 --libexecdir=DIR program executables [EPREFIX/libexec]
1167 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1168 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1169 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1170 --libdir=DIR object code libraries [EPREFIX/lib]
1171 --includedir=DIR C header files [PREFIX/include]
1172 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1173 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1174 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1175 --infodir=DIR info documentation [DATAROOTDIR/info]
1176 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1177 --mandir=DIR man documentation [DATAROOTDIR/man]
1178 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1179 --htmldir=DIR html documentation [DOCDIR]
1180 --dvidir=DIR dvi documentation [DOCDIR]
1181 --pdfdir=DIR pdf documentation [DOCDIR]
1182 --psdir=DIR ps documentation [DOCDIR]
1183 _ACEOF
1184
1185 cat <<\_ACEOF
1186 _ACEOF
1187 fi
1188
1189 if test -n "$ac_init_help"; then
1190
1191 cat <<\_ACEOF
1192
1193 _ACEOF
1194 ac_status=$?
1195 fi
1196
1197 if test "$ac_init_help" = "recursive"; then
1198 # If there are subdirs, report their specific --help.
1199 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1200 test -d "$ac_dir" || continue
1201 ac_builddir=.
1202
1203 case "$ac_dir" in
1204 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1205 *)
1206 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1207 # A ".." for each directory in $ac_dir_suffix.
1208 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1209 case $ac_top_builddir_sub in
1210 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1211 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1212 esac ;;
1213 esac
1214 ac_abs_top_builddir=$ac_pwd
1215 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1216 # for backward compatibility:
1217 ac_top_builddir=$ac_top_build_prefix
1218
1219 case $srcdir in
1220 .) # We are building in place.
1221 ac_srcdir=.
1222 ac_top_srcdir=$ac_top_builddir_sub
1223 ac_abs_top_srcdir=$ac_pwd ;;
1224 [\\/]* | ?:[\\/]* ) # Absolute name.
1225 ac_srcdir=$srcdir$ac_dir_suffix;
1226 ac_top_srcdir=$srcdir
1227 ac_abs_top_srcdir=$srcdir ;;
1228 *) # Relative name.
1229 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1230 ac_top_srcdir=$ac_top_build_prefix$srcdir
1231 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1232 esac
1233 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1234
1235 cd "$ac_dir" || { ac_status=$?; continue; }
1236 # Check for guested configure.
1237 if test -f "$ac_srcdir/configure.gnu"; then
1238 echo &&
1239 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1240 elif test -f "$ac_srcdir/configure"; then
1241 echo &&
1242 $SHELL "$ac_srcdir/configure" --help=recursive
1243 else
1244 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1245 fi || ac_status=$?
1246 cd "$ac_pwd" || { ac_status=$?; break; }
1247 done
1248 fi
1249
1250 test -n "$ac_init_help" && exit $ac_status
1251 if $ac_init_version; then
1252 cat <<\_ACEOF
1253 configure
1254 generated by GNU Autoconf 2.61
1255
1256 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1257 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1258 This configure script is free software; the Free Software Foundation
1259 gives unlimited permission to copy, distribute and modify it.
1260 _ACEOF
1261 exit
1262 fi
1263 cat >config.log <<_ACEOF
1264 This file contains any messages produced by compilers while
1265 running configure, to aid debugging if configure makes a mistake.
1266
1267 It was created by $as_me, which was
1268 generated by GNU Autoconf 2.61. Invocation command line was
1269
1270 $ $0 $@
1271
1272 _ACEOF
1273 exec 5>>config.log
1274 {
1275 cat <<_ASUNAME
1276 ## --------- ##
1277 ## Platform. ##
1278 ## --------- ##
1279
1280 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1281 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1282 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1283 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1284 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1285
1286 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1287 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1288
1289 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1290 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1291 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1292 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1293 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1294 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1295 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1296
1297 _ASUNAME
1298
1299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1300 for as_dir in $PATH
1301 do
1302 IFS=$as_save_IFS
1303 test -z "$as_dir" && as_dir=.
1304 echo "PATH: $as_dir"
1305 done
1306 IFS=$as_save_IFS
1307
1308 } >&5
1309
1310 cat >&5 <<_ACEOF
1311
1312
1313 ## ----------- ##
1314 ## Core tests. ##
1315 ## ----------- ##
1316
1317 _ACEOF
1318
1319
1320 # Keep a trace of the command line.
1321 # Strip out --no-create and --no-recursion so they do not pile up.
1322 # Strip out --silent because we don't want to record it for future runs.
1323 # Also quote any args containing shell meta-characters.
1324 # Make two passes to allow for proper duplicate-argument suppression.
1325 ac_configure_args=
1326 ac_configure_args0=
1327 ac_configure_args1=
1328 ac_must_keep_next=false
1329 for ac_pass in 1 2
1330 do
1331 for ac_arg
1332 do
1333 case $ac_arg in
1334 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1335 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1336 | -silent | --silent | --silen | --sile | --sil)
1337 continue ;;
1338 *\'*)
1339 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1340 esac
1341 case $ac_pass in
1342 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1343 2)
1344 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1345 if test $ac_must_keep_next = true; then
1346 ac_must_keep_next=false # Got value, back to normal.
1347 else
1348 case $ac_arg in
1349 *=* | --config-cache | -C | -disable-* | --disable-* \
1350 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1351 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1352 | -with-* | --with-* | -without-* | --without-* | --x)
1353 case "$ac_configure_args0 " in
1354 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1355 esac
1356 ;;
1357 -* ) ac_must_keep_next=true ;;
1358 esac
1359 fi
1360 ac_configure_args="$ac_configure_args '$ac_arg'"
1361 ;;
1362 esac
1363 done
1364 done
1365 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1366 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1367
1368 # When interrupted or exit'd, cleanup temporary files, and complete
1369 # config.log. We remove comments because anyway the quotes in there
1370 # would cause problems or look ugly.
1371 # WARNING: Use '\'' to represent an apostrophe within the trap.
1372 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1373 trap 'exit_status=$?
1374 # Save into config.log some information that might help in debugging.
1375 {
1376 echo
1377
1378 cat <<\_ASBOX
1379 ## ---------------- ##
1380 ## Cache variables. ##
1381 ## ---------------- ##
1382 _ASBOX
1383 echo
1384 # The following way of writing the cache mishandles newlines in values,
1385 (
1386 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1387 eval ac_val=\$$ac_var
1388 case $ac_val in #(
1389 *${as_nl}*)
1390 case $ac_var in #(
1391 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1392 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1393 esac
1394 case $ac_var in #(
1395 _ | IFS | as_nl) ;; #(
1396 *) $as_unset $ac_var ;;
1397 esac ;;
1398 esac
1399 done
1400 (set) 2>&1 |
1401 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1402 *${as_nl}ac_space=\ *)
1403 sed -n \
1404 "s/'\''/'\''\\\\'\'''\''/g;
1405 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1406 ;; #(
1407 *)
1408 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1409 ;;
1410 esac |
1411 sort
1412 )
1413 echo
1414
1415 cat <<\_ASBOX
1416 ## ----------------- ##
1417 ## Output variables. ##
1418 ## ----------------- ##
1419 _ASBOX
1420 echo
1421 for ac_var in $ac_subst_vars
1422 do
1423 eval ac_val=\$$ac_var
1424 case $ac_val in
1425 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1426 esac
1427 echo "$ac_var='\''$ac_val'\''"
1428 done | sort
1429 echo
1430
1431 if test -n "$ac_subst_files"; then
1432 cat <<\_ASBOX
1433 ## ------------------- ##
1434 ## File substitutions. ##
1435 ## ------------------- ##
1436 _ASBOX
1437 echo
1438 for ac_var in $ac_subst_files
1439 do
1440 eval ac_val=\$$ac_var
1441 case $ac_val in
1442 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1443 esac
1444 echo "$ac_var='\''$ac_val'\''"
1445 done | sort
1446 echo
1447 fi
1448
1449 if test -s confdefs.h; then
1450 cat <<\_ASBOX
1451 ## ----------- ##
1452 ## confdefs.h. ##
1453 ## ----------- ##
1454 _ASBOX
1455 echo
1456 cat confdefs.h
1457 echo
1458 fi
1459 test "$ac_signal" != 0 &&
1460 echo "$as_me: caught signal $ac_signal"
1461 echo "$as_me: exit $exit_status"
1462 } >&5
1463 rm -f core *.core core.conftest.* &&
1464 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1465 exit $exit_status
1466 ' 0
1467 for ac_signal in 1 2 13 15; do
1468 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1469 done
1470 ac_signal=0
1471
1472 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1473 rm -f -r conftest* confdefs.h
1474
1475 # Predefined preprocessor variables.
1476
1477 cat >>confdefs.h <<_ACEOF
1478 #define PACKAGE_NAME "$PACKAGE_NAME"
1479 _ACEOF
1480
1481
1482 cat >>confdefs.h <<_ACEOF
1483 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1484 _ACEOF
1485
1486
1487 cat >>confdefs.h <<_ACEOF
1488 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1489 _ACEOF
1490
1491
1492 cat >>confdefs.h <<_ACEOF
1493 #define PACKAGE_STRING "$PACKAGE_STRING"
1494 _ACEOF
1495
1496
1497 cat >>confdefs.h <<_ACEOF
1498 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1499 _ACEOF
1500
1501
1502 # Let the site file select an alternate cache file if it wants to.
1503 # Prefer explicitly selected file to automatically selected ones.
1504 if test -n "$CONFIG_SITE"; then
1505 set x "$CONFIG_SITE"
1506 elif test "x$prefix" != xNONE; then
1507 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1508 else
1509 set x "$ac_default_prefix/share/config.site" \
1510 "$ac_default_prefix/etc/config.site"
1511 fi
1512 shift
1513 for ac_site_file
1514 do
1515 if test -r "$ac_site_file"; then
1516 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1517 echo "$as_me: loading site script $ac_site_file" >&6;}
1518 sed 's/^/| /' "$ac_site_file" >&5
1519 . "$ac_site_file"
1520 fi
1521 done
1522
1523 if test -r "$cache_file"; then
1524 # Some versions of bash will fail to source /dev/null (special
1525 # files actually), so we avoid doing that.
1526 if test -f "$cache_file"; then
1527 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1528 echo "$as_me: loading cache $cache_file" >&6;}
1529 case $cache_file in
1530 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1531 *) . "./$cache_file";;
1532 esac
1533 fi
1534 else
1535 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1536 echo "$as_me: creating cache $cache_file" >&6;}
1537 >$cache_file
1538 fi
1539
1540 # Check that the precious variables saved in the cache have kept the same
1541 # value.
1542 ac_cache_corrupted=false
1543 for ac_var in $ac_precious_vars; do
1544 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1545 eval ac_new_set=\$ac_env_${ac_var}_set
1546 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1547 eval ac_new_val=\$ac_env_${ac_var}_value
1548 case $ac_old_set,$ac_new_set in
1549 set,)
1550 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1551 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1552 ac_cache_corrupted=: ;;
1553 ,set)
1554 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1555 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1556 ac_cache_corrupted=: ;;
1557 ,);;
1558 *)
1559 if test "x$ac_old_val" != "x$ac_new_val"; then
1560 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1561 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1562 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1563 echo "$as_me: former value: $ac_old_val" >&2;}
1564 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1565 echo "$as_me: current value: $ac_new_val" >&2;}
1566 ac_cache_corrupted=:
1567 fi;;
1568 esac
1569 # Pass precious variables to config.status.
1570 if test "$ac_new_set" = set; then
1571 case $ac_new_val in
1572 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1573 *) ac_arg=$ac_var=$ac_new_val ;;
1574 esac
1575 case " $ac_configure_args " in
1576 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1577 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1578 esac
1579 fi
1580 done
1581 if $ac_cache_corrupted; then
1582 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1583 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1584 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1585 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1586 { (exit 1); exit 1; }; }
1587 fi
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605 ac_ext=c
1606 ac_cpp='$CPP $CPPFLAGS'
1607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1610
1611
1612
1613
1614 # sm: require a late-enough autoconf; this is the version number
1615 # that's on manju, so I assume it's ok
1616
1617
1618 { echo "$as_me:$LINENO: Configuring Ur/Web" >&5
1619 echo "$as_me: Configuring Ur/Web" >&6;}
1620
1621 # make sure I haven't forgotten to run autoconf
1622 if test configure -ot configure.ac; then
1623 { { echo "$as_me:$LINENO: error: configure is older than configure.in; you forgot to run autoconf" >&5
1624 echo "$as_me: error: configure is older than configure.in; you forgot to run autoconf" >&2;}
1625 { (exit 1); exit 1; }; }
1626 fi
1627
1628 # ---------------- generic functions -----------------
1629 # debugging diagnostic; set to 'echo' to debug or 'true' for production
1630 diagnostic() {
1631 #echo "$@"
1632 true "$@"
1633 }
1634
1635 if test -z $BIN; then
1636 BIN=/usr/local/bin
1637 fi
1638
1639 if test -z $LIB; then
1640 LIB=/usr/local/lib/urweb
1641 fi
1642
1643 if test -z $INCLUDE; then
1644 INCLUDE=/usr/local/include/urweb
1645 fi
1646
1647 if test -z $SITELISP; then
1648 SITELISP=/usr/local/share/emacs/site-lisp/urweb-mode
1649 fi
1650
1651
1652 do_not_edit="Do not edit this file. It was generated automatically from"
1653
1654
1655 # ----------------- finish up -------------------
1656 # names of the variables that get substituted in files; for example,
1657 # write @ARCHOS@ somewhere in a written file to get it substituted
1658
1659
1660
1661
1662
1663
1664 # finish the configure script and generate various files; ./configure
1665 # will apply variable substitutions to <filename>.in to generate <filename>;
1666 # I find it useful to mark generated files as read-only so I don't
1667 # accidentally edit them (and then lose my changes when ./configure
1668 # runs again); I had originally done the chmod after AC_OUTPUT, but
1669 # the problem is then the chmod doesn't run inside ./config.status
1670
1671 # MY_AC_CONFIG_FILES(filename)
1672 # do AC_CONFIG_FILES(filename, chmod a-w filename)
1673
1674
1675 {
1676 if test -f Makefile.in; then
1677 ac_config_files="$ac_config_files Makefile"
1678
1679 else
1680 true
1681 #echo "skipping [Makefile] because it's not in this distribution"
1682 fi
1683 }
1684 {
1685 if test -f src/config.sml.in; then
1686 ac_config_files="$ac_config_files src/config.sml"
1687
1688 else
1689 true
1690 #echo "skipping [src/config.sml] because it's not in this distribution"
1691 fi
1692 }
1693
1694 cat >confcache <<\_ACEOF
1695 # This file is a shell script that caches the results of configure
1696 # tests run on this system so they can be shared between configure
1697 # scripts and configure runs, see configure's option --config-cache.
1698 # It is not useful on other systems. If it contains results you don't
1699 # want to keep, you may remove or edit it.
1700 #
1701 # config.status only pays attention to the cache file if you give it
1702 # the --recheck option to rerun configure.
1703 #
1704 # `ac_cv_env_foo' variables (set or unset) will be overridden when
1705 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1706 # following values.
1707
1708 _ACEOF
1709
1710 # The following way of writing the cache mishandles newlines in values,
1711 # but we know of no workaround that is simple, portable, and efficient.
1712 # So, we kill variables containing newlines.
1713 # Ultrix sh set writes to stderr and can't be redirected directly,
1714 # and sets the high bit in the cache file unless we assign to the vars.
1715 (
1716 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
1717 eval ac_val=\$$ac_var
1718 case $ac_val in #(
1719 *${as_nl}*)
1720 case $ac_var in #(
1721 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1722 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1723 esac
1724 case $ac_var in #(
1725 _ | IFS | as_nl) ;; #(
1726 *) $as_unset $ac_var ;;
1727 esac ;;
1728 esac
1729 done
1730
1731 (set) 2>&1 |
1732 case $as_nl`(ac_space=' '; set) 2>&1` in #(
1733 *${as_nl}ac_space=\ *)
1734 # `set' does not quote correctly, so add quotes (double-quote
1735 # substitution turns \\\\ into \\, and sed turns \\ into \).
1736 sed -n \
1737 "s/'/'\\\\''/g;
1738 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1739 ;; #(
1740 *)
1741 # `set' quotes correctly as required by POSIX, so do not add quotes.
1742 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1743 ;;
1744 esac |
1745 sort
1746 ) |
1747 sed '
1748 /^ac_cv_env_/b end
1749 t clear
1750 :clear
1751 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1752 t end
1753 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1754 :end' >>confcache
1755 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1756 if test -w "$cache_file"; then
1757 test "x$cache_file" != "x/dev/null" &&
1758 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
1759 echo "$as_me: updating cache $cache_file" >&6;}
1760 cat confcache >$cache_file
1761 else
1762 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
1763 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1764 fi
1765 fi
1766 rm -f confcache
1767
1768 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1769 # Let make expand exec_prefix.
1770 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1771
1772 # Transform confdefs.h into DEFS.
1773 # Protect against shell expansion while executing Makefile rules.
1774 # Protect against Makefile macro expansion.
1775 #
1776 # If the first sed substitution is executed (which looks for macros that
1777 # take arguments), then branch to the quote section. Otherwise,
1778 # look for a macro that doesn't take arguments.
1779 ac_script='
1780 t clear
1781 :clear
1782 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
1783 t quote
1784 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
1785 t quote
1786 b any
1787 :quote
1788 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
1789 s/\[/\\&/g
1790 s/\]/\\&/g
1791 s/\$/$$/g
1792 H
1793 :any
1794 ${
1795 g
1796 s/^\n//
1797 s/\n/ /g
1798 p
1799 }
1800 '
1801 DEFS=`sed -n "$ac_script" confdefs.h`
1802
1803
1804 ac_libobjs=
1805 ac_ltlibobjs=
1806 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1807 # 1. Remove the extension, and $U if already installed.
1808 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1809 ac_i=`echo "$ac_i" | sed "$ac_script"`
1810 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
1811 # will be set to the directory where LIBOBJS objects are built.
1812 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
1813 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
1814 done
1815 LIBOBJS=$ac_libobjs
1816
1817 LTLIBOBJS=$ac_ltlibobjs
1818
1819
1820
1821 : ${CONFIG_STATUS=./config.status}
1822 ac_clean_files_save=$ac_clean_files
1823 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1824 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1825 echo "$as_me: creating $CONFIG_STATUS" >&6;}
1826 cat >$CONFIG_STATUS <<_ACEOF
1827 #! $SHELL
1828 # Generated by $as_me.
1829 # Run this file to recreate the current configuration.
1830 # Compiler output produced by configure, useful for debugging
1831 # configure, is in config.log if it exists.
1832
1833 debug=false
1834 ac_cs_recheck=false
1835 ac_cs_silent=false
1836 SHELL=\${CONFIG_SHELL-$SHELL}
1837 _ACEOF
1838
1839 cat >>$CONFIG_STATUS <<\_ACEOF
1840 ## --------------------- ##
1841 ## M4sh Initialization. ##
1842 ## --------------------- ##
1843
1844 # Be more Bourne compatible
1845 DUALCASE=1; export DUALCASE # for MKS sh
1846 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1847 emulate sh
1848 NULLCMD=:
1849 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1850 # is contrary to our usage. Disable this feature.
1851 alias -g '${1+"$@"}'='"$@"'
1852 setopt NO_GLOB_SUBST
1853 else
1854 case `(set -o) 2>/dev/null` in
1855 *posix*) set -o posix ;;
1856 esac
1857
1858 fi
1859
1860
1861
1862
1863 # PATH needs CR
1864 # Avoid depending upon Character Ranges.
1865 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1866 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1867 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1868 as_cr_digits='0123456789'
1869 as_cr_alnum=$as_cr_Letters$as_cr_digits
1870
1871 # The user is always right.
1872 if test "${PATH_SEPARATOR+set}" != set; then
1873 echo "#! /bin/sh" >conf$$.sh
1874 echo "exit 0" >>conf$$.sh
1875 chmod +x conf$$.sh
1876 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1877 PATH_SEPARATOR=';'
1878 else
1879 PATH_SEPARATOR=:
1880 fi
1881 rm -f conf$$.sh
1882 fi
1883
1884 # Support unset when possible.
1885 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1886 as_unset=unset
1887 else
1888 as_unset=false
1889 fi
1890
1891
1892 # IFS
1893 # We need space, tab and new line, in precisely that order. Quoting is
1894 # there to prevent editors from complaining about space-tab.
1895 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
1896 # splitting by setting IFS to empty value.)
1897 as_nl='
1898 '
1899 IFS=" "" $as_nl"
1900
1901 # Find who we are. Look in the path if we contain no directory separator.
1902 case $0 in
1903 *[\\/]* ) as_myself=$0 ;;
1904 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1905 for as_dir in $PATH
1906 do
1907 IFS=$as_save_IFS
1908 test -z "$as_dir" && as_dir=.
1909 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1910 done
1911 IFS=$as_save_IFS
1912
1913 ;;
1914 esac
1915 # We did not find ourselves, most probably we were run as `sh COMMAND'
1916 # in which case we are not to be found in the path.
1917 if test "x$as_myself" = x; then
1918 as_myself=$0
1919 fi
1920 if test ! -f "$as_myself"; then
1921 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1922 { (exit 1); exit 1; }
1923 fi
1924
1925 # Work around bugs in pre-3.0 UWIN ksh.
1926 for as_var in ENV MAIL MAILPATH
1927 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1928 done
1929 PS1='$ '
1930 PS2='> '
1931 PS4='+ '
1932
1933 # NLS nuisances.
1934 for as_var in \
1935 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1936 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1937 LC_TELEPHONE LC_TIME
1938 do
1939 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1940 eval $as_var=C; export $as_var
1941 else
1942 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1943 fi
1944 done
1945
1946 # Required to use basename.
1947 if expr a : '\(a\)' >/dev/null 2>&1 &&
1948 test "X`expr 00001 : '.*\(...\)'`" = X001; then
1949 as_expr=expr
1950 else
1951 as_expr=false
1952 fi
1953
1954 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1955 as_basename=basename
1956 else
1957 as_basename=false
1958 fi
1959
1960
1961 # Name of the executable.
1962 as_me=`$as_basename -- "$0" ||
1963 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1964 X"$0" : 'X\(//\)$' \| \
1965 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1966 echo X/"$0" |
1967 sed '/^.*\/\([^/][^/]*\)\/*$/{
1968 s//\1/
1969 q
1970 }
1971 /^X\/\(\/\/\)$/{
1972 s//\1/
1973 q
1974 }
1975 /^X\/\(\/\).*/{
1976 s//\1/
1977 q
1978 }
1979 s/.*/./; q'`
1980
1981 # CDPATH.
1982 $as_unset CDPATH
1983
1984
1985
1986 as_lineno_1=$LINENO
1987 as_lineno_2=$LINENO
1988 test "x$as_lineno_1" != "x$as_lineno_2" &&
1989 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
1990
1991 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1992 # uniformly replaced by the line number. The first 'sed' inserts a
1993 # line-number line after each line using $LINENO; the second 'sed'
1994 # does the real work. The second script uses 'N' to pair each
1995 # line-number line with the line containing $LINENO, and appends
1996 # trailing '-' during substitution so that $LINENO is not a special
1997 # case at line end.
1998 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1999 # scripts with optimization help from Paolo Bonzini. Blame Lee
2000 # E. McMahon (1931-1989) for sed's syntax. :-)
2001 sed -n '
2002 p
2003 /[$]LINENO/=
2004 ' <$as_myself |
2005 sed '
2006 s/[$]LINENO.*/&-/
2007 t lineno
2008 b
2009 :lineno
2010 N
2011 :loop
2012 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2013 t loop
2014 s/-\n.*//
2015 ' >$as_me.lineno &&
2016 chmod +x "$as_me.lineno" ||
2017 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2018 { (exit 1); exit 1; }; }
2019
2020 # Don't try to exec as it changes $[0], causing all sort of problems
2021 # (the dirname of $[0] is not the place where we might find the
2022 # original and so on. Autoconf is especially sensitive to this).
2023 . "./$as_me.lineno"
2024 # Exit status is that of the last command.
2025 exit
2026 }
2027
2028
2029 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2030 as_dirname=dirname
2031 else
2032 as_dirname=false
2033 fi
2034
2035 ECHO_C= ECHO_N= ECHO_T=
2036 case `echo -n x` in
2037 -n*)
2038 case `echo 'x\c'` in
2039 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2040 *) ECHO_C='\c';;
2041 esac;;
2042 *)
2043 ECHO_N='-n';;
2044 esac
2045
2046 if expr a : '\(a\)' >/dev/null 2>&1 &&
2047 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2048 as_expr=expr
2049 else
2050 as_expr=false
2051 fi
2052
2053 rm -f conf$$ conf$$.exe conf$$.file
2054 if test -d conf$$.dir; then
2055 rm -f conf$$.dir/conf$$.file
2056 else
2057 rm -f conf$$.dir
2058 mkdir conf$$.dir
2059 fi
2060 echo >conf$$.file
2061 if ln -s conf$$.file conf$$ 2>/dev/null; then
2062 as_ln_s='ln -s'
2063 # ... but there are two gotchas:
2064 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2065 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2066 # In both cases, we have to default to `cp -p'.
2067 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2068 as_ln_s='cp -p'
2069 elif ln conf$$.file conf$$ 2>/dev/null; then
2070 as_ln_s=ln
2071 else
2072 as_ln_s='cp -p'
2073 fi
2074 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2075 rmdir conf$$.dir 2>/dev/null
2076
2077 if mkdir -p . 2>/dev/null; then
2078 as_mkdir_p=:
2079 else
2080 test -d ./-p && rmdir ./-p
2081 as_mkdir_p=false
2082 fi
2083
2084 if test -x / >/dev/null 2>&1; then
2085 as_test_x='test -x'
2086 else
2087 if ls -dL / >/dev/null 2>&1; then
2088 as_ls_L_option=L
2089 else
2090 as_ls_L_option=
2091 fi
2092 as_test_x='
2093 eval sh -c '\''
2094 if test -d "$1"; then
2095 test -d "$1/.";
2096 else
2097 case $1 in
2098 -*)set "./$1";;
2099 esac;
2100 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
2101 ???[sx]*):;;*)false;;esac;fi
2102 '\'' sh
2103 '
2104 fi
2105 as_executable_p=$as_test_x
2106
2107 # Sed expression to map a string onto a valid CPP name.
2108 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2109
2110 # Sed expression to map a string onto a valid variable name.
2111 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2112
2113
2114 exec 6>&1
2115
2116 # Save the log message, to keep $[0] and so on meaningful, and to
2117 # report actual input values of CONFIG_FILES etc. instead of their
2118 # values after options handling.
2119 ac_log="
2120 This file was extended by $as_me, which was
2121 generated by GNU Autoconf 2.61. Invocation command line was
2122
2123 CONFIG_FILES = $CONFIG_FILES
2124 CONFIG_HEADERS = $CONFIG_HEADERS
2125 CONFIG_LINKS = $CONFIG_LINKS
2126 CONFIG_COMMANDS = $CONFIG_COMMANDS
2127 $ $0 $@
2128
2129 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2130 "
2131
2132 _ACEOF
2133
2134 cat >>$CONFIG_STATUS <<_ACEOF
2135 # Files that config.status was made for.
2136 config_files="$ac_config_files"
2137
2138 _ACEOF
2139
2140 cat >>$CONFIG_STATUS <<\_ACEOF
2141 ac_cs_usage="\
2142 \`$as_me' instantiates files from templates according to the
2143 current configuration.
2144
2145 Usage: $0 [OPTIONS] [FILE]...
2146
2147 -h, --help print this help, then exit
2148 -V, --version print version number and configuration settings, then exit
2149 -q, --quiet do not print progress messages
2150 -d, --debug don't remove temporary files
2151 --recheck update $as_me by reconfiguring in the same conditions
2152 --file=FILE[:TEMPLATE]
2153 instantiate the configuration file FILE
2154
2155 Configuration files:
2156 $config_files
2157
2158 Report bugs to <bug-autoconf@gnu.org>."
2159
2160 _ACEOF
2161 cat >>$CONFIG_STATUS <<_ACEOF
2162 ac_cs_version="\\
2163 config.status
2164 configured by $0, generated by GNU Autoconf 2.61,
2165 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2166
2167 Copyright (C) 2006 Free Software Foundation, Inc.
2168 This config.status script is free software; the Free Software Foundation
2169 gives unlimited permission to copy, distribute and modify it."
2170
2171 ac_pwd='$ac_pwd'
2172 srcdir='$srcdir'
2173 _ACEOF
2174
2175 cat >>$CONFIG_STATUS <<\_ACEOF
2176 # If no file are specified by the user, then we need to provide default
2177 # value. By we need to know if files were specified by the user.
2178 ac_need_defaults=:
2179 while test $# != 0
2180 do
2181 case $1 in
2182 --*=*)
2183 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2184 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2185 ac_shift=:
2186 ;;
2187 *)
2188 ac_option=$1
2189 ac_optarg=$2
2190 ac_shift=shift
2191 ;;
2192 esac
2193
2194 case $ac_option in
2195 # Handling of the options.
2196 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2197 ac_cs_recheck=: ;;
2198 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2199 echo "$ac_cs_version"; exit ;;
2200 --debug | --debu | --deb | --de | --d | -d )
2201 debug=: ;;
2202 --file | --fil | --fi | --f )
2203 $ac_shift
2204 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2205 ac_need_defaults=false;;
2206 --he | --h | --help | --hel | -h )
2207 echo "$ac_cs_usage"; exit ;;
2208 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2209 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2210 ac_cs_silent=: ;;
2211
2212 # This is an error.
2213 -*) { echo "$as_me: error: unrecognized option: $1
2214 Try \`$0 --help' for more information." >&2
2215 { (exit 1); exit 1; }; } ;;
2216
2217 *) ac_config_targets="$ac_config_targets $1"
2218 ac_need_defaults=false ;;
2219
2220 esac
2221 shift
2222 done
2223
2224 ac_configure_extra_args=
2225
2226 if $ac_cs_silent; then
2227 exec 6>/dev/null
2228 ac_configure_extra_args="$ac_configure_extra_args --silent"
2229 fi
2230
2231 _ACEOF
2232 cat >>$CONFIG_STATUS <<_ACEOF
2233 if \$ac_cs_recheck; then
2234 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2235 CONFIG_SHELL=$SHELL
2236 export CONFIG_SHELL
2237 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2238 fi
2239
2240 _ACEOF
2241 cat >>$CONFIG_STATUS <<\_ACEOF
2242 exec 5>>config.log
2243 {
2244 echo
2245 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2246 ## Running $as_me. ##
2247 _ASBOX
2248 echo "$ac_log"
2249 } >&5
2250
2251 _ACEOF
2252 cat >>$CONFIG_STATUS <<_ACEOF
2253 _ACEOF
2254
2255 cat >>$CONFIG_STATUS <<\_ACEOF
2256
2257 # Handling of arguments.
2258 for ac_config_target in $ac_config_targets
2259 do
2260 case $ac_config_target in
2261 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2262 "src/config.sml") CONFIG_FILES="$CONFIG_FILES src/config.sml" ;;
2263
2264 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2265 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2266 { (exit 1); exit 1; }; };;
2267 esac
2268 done
2269
2270
2271 # If the user did not use the arguments to specify the items to instantiate,
2272 # then the envvar interface is used. Set only those that are not.
2273 # We use the long form for the default assignment because of an extremely
2274 # bizarre bug on SunOS 4.1.3.
2275 if $ac_need_defaults; then
2276 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2277 fi
2278
2279 # Have a temporary directory for convenience. Make it in the build tree
2280 # simply because there is no reason against having it here, and in addition,
2281 # creating and moving files from /tmp can sometimes cause problems.
2282 # Hook for its removal unless debugging.
2283 # Note that there is a small window in which the directory will not be cleaned:
2284 # after its creation but before its name has been assigned to `$tmp'.
2285 $debug ||
2286 {
2287 tmp=
2288 trap 'exit_status=$?
2289 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2290 ' 0
2291 trap '{ (exit 1); exit 1; }' 1 2 13 15
2292 }
2293 # Create a (secure) tmp directory for tmp files.
2294
2295 {
2296 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2297 test -n "$tmp" && test -d "$tmp"
2298 } ||
2299 {
2300 tmp=./conf$$-$RANDOM
2301 (umask 077 && mkdir "$tmp")
2302 } ||
2303 {
2304 echo "$me: cannot create a temporary directory in ." >&2
2305 { (exit 1); exit 1; }
2306 }
2307
2308 #
2309 # Set up the sed scripts for CONFIG_FILES section.
2310 #
2311
2312 # No need to generate the scripts if there are no CONFIG_FILES.
2313 # This happens for instance when ./config.status config.h
2314 if test -n "$CONFIG_FILES"; then
2315
2316 _ACEOF
2317
2318
2319
2320 ac_delim='%!_!# '
2321 for ac_last_try in false false false false false :; do
2322 cat >conf$$subs.sed <<_ACEOF
2323 SHELL!$SHELL$ac_delim
2324 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
2325 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
2326 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
2327 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
2328 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
2329 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
2330 exec_prefix!$exec_prefix$ac_delim
2331 prefix!$prefix$ac_delim
2332 program_transform_name!$program_transform_name$ac_delim
2333 bindir!$bindir$ac_delim
2334 sbindir!$sbindir$ac_delim
2335 libexecdir!$libexecdir$ac_delim
2336 datarootdir!$datarootdir$ac_delim
2337 datadir!$datadir$ac_delim
2338 sysconfdir!$sysconfdir$ac_delim
2339 sharedstatedir!$sharedstatedir$ac_delim
2340 localstatedir!$localstatedir$ac_delim
2341 includedir!$includedir$ac_delim
2342 oldincludedir!$oldincludedir$ac_delim
2343 docdir!$docdir$ac_delim
2344 infodir!$infodir$ac_delim
2345 htmldir!$htmldir$ac_delim
2346 dvidir!$dvidir$ac_delim
2347 pdfdir!$pdfdir$ac_delim
2348 psdir!$psdir$ac_delim
2349 libdir!$libdir$ac_delim
2350 localedir!$localedir$ac_delim
2351 mandir!$mandir$ac_delim
2352 DEFS!$DEFS$ac_delim
2353 ECHO_C!$ECHO_C$ac_delim
2354 ECHO_N!$ECHO_N$ac_delim
2355 ECHO_T!$ECHO_T$ac_delim
2356 LIBS!$LIBS$ac_delim
2357 build_alias!$build_alias$ac_delim
2358 host_alias!$host_alias$ac_delim
2359 target_alias!$target_alias$ac_delim
2360 BIN!$BIN$ac_delim
2361 LIB!$LIB$ac_delim
2362 INCLUDE!$INCLUDE$ac_delim
2363 SITELISP!$SITELISP$ac_delim
2364 do_not_edit!$do_not_edit$ac_delim
2365 LIBOBJS!$LIBOBJS$ac_delim
2366 LTLIBOBJS!$LTLIBOBJS$ac_delim
2367 _ACEOF
2368
2369 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 44; then
2370 break
2371 elif $ac_last_try; then
2372 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
2373 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
2374 { (exit 1); exit 1; }; }
2375 else
2376 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2377 fi
2378 done
2379
2380 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
2381 if test -n "$ac_eof"; then
2382 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
2383 ac_eof=`expr $ac_eof + 1`
2384 fi
2385
2386 cat >>$CONFIG_STATUS <<_ACEOF
2387 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
2388 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
2389 _ACEOF
2390 sed '
2391 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
2392 s/^/s,@/; s/!/@,|#_!!_#|/
2393 :n
2394 t n
2395 s/'"$ac_delim"'$/,g/; t
2396 s/$/\\/; p
2397 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
2398 ' >>$CONFIG_STATUS <conf$$subs.sed
2399 rm -f conf$$subs.sed
2400 cat >>$CONFIG_STATUS <<_ACEOF
2401 :end
2402 s/|#_!!_#|//g
2403 CEOF$ac_eof
2404 _ACEOF
2405
2406
2407 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2408 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2409 # trailing colons and then remove the whole line if VPATH becomes empty
2410 # (actually we leave an empty line to preserve line numbers).
2411 if test "x$srcdir" = x.; then
2412 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2413 s/:*\$(srcdir):*/:/
2414 s/:*\${srcdir}:*/:/
2415 s/:*@srcdir@:*/:/
2416 s/^\([^=]*=[ ]*\):*/\1/
2417 s/:*$//
2418 s/^[^=]*=[ ]*$//
2419 }'
2420 fi
2421
2422 cat >>$CONFIG_STATUS <<\_ACEOF
2423 fi # test -n "$CONFIG_FILES"
2424
2425
2426 for ac_tag in :F $CONFIG_FILES
2427 do
2428 case $ac_tag in
2429 :[FHLC]) ac_mode=$ac_tag; continue;;
2430 esac
2431 case $ac_mode$ac_tag in
2432 :[FHL]*:*);;
2433 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
2434 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
2435 { (exit 1); exit 1; }; };;
2436 :[FH]-) ac_tag=-:-;;
2437 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2438 esac
2439 ac_save_IFS=$IFS
2440 IFS=:
2441 set x $ac_tag
2442 IFS=$ac_save_IFS
2443 shift
2444 ac_file=$1
2445 shift
2446
2447 case $ac_mode in
2448 :L) ac_source=$1;;
2449 :[FH])
2450 ac_file_inputs=
2451 for ac_f
2452 do
2453 case $ac_f in
2454 -) ac_f="$tmp/stdin";;
2455 *) # Look for the file first in the build tree, then in the source tree
2456 # (if the path is not absolute). The absolute path cannot be DOS-style,
2457 # because $ac_f cannot contain `:'.
2458 test -f "$ac_f" ||
2459 case $ac_f in
2460 [\\/$]*) false;;
2461 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2462 esac ||
2463 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
2464 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
2465 { (exit 1); exit 1; }; };;
2466 esac
2467 ac_file_inputs="$ac_file_inputs $ac_f"
2468 done
2469
2470 # Let's still pretend it is `configure' which instantiates (i.e., don't
2471 # use $as_me), people would be surprised to read:
2472 # /* config.h. Generated by config.status. */
2473 configure_input="Generated from "`IFS=:
2474 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
2475 if test x"$ac_file" != x-; then
2476 configure_input="$ac_file. $configure_input"
2477 { echo "$as_me:$LINENO: creating $ac_file" >&5
2478 echo "$as_me: creating $ac_file" >&6;}
2479 fi
2480
2481 case $ac_tag in
2482 *:-:* | *:-) cat >"$tmp/stdin";;
2483 esac
2484 ;;
2485 esac
2486
2487 ac_dir=`$as_dirname -- "$ac_file" ||
2488 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2489 X"$ac_file" : 'X\(//\)[^/]' \| \
2490 X"$ac_file" : 'X\(//\)$' \| \
2491 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2492 echo X"$ac_file" |
2493 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2494 s//\1/
2495 q
2496 }
2497 /^X\(\/\/\)[^/].*/{
2498 s//\1/
2499 q
2500 }
2501 /^X\(\/\/\)$/{
2502 s//\1/
2503 q
2504 }
2505 /^X\(\/\).*/{
2506 s//\1/
2507 q
2508 }
2509 s/.*/./; q'`
2510 { as_dir="$ac_dir"
2511 case $as_dir in #(
2512 -*) as_dir=./$as_dir;;
2513 esac
2514 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
2515 as_dirs=
2516 while :; do
2517 case $as_dir in #(
2518 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
2519 *) as_qdir=$as_dir;;
2520 esac
2521 as_dirs="'$as_qdir' $as_dirs"
2522 as_dir=`$as_dirname -- "$as_dir" ||
2523 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2524 X"$as_dir" : 'X\(//\)[^/]' \| \
2525 X"$as_dir" : 'X\(//\)$' \| \
2526 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2527 echo X"$as_dir" |
2528 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2529 s//\1/
2530 q
2531 }
2532 /^X\(\/\/\)[^/].*/{
2533 s//\1/
2534 q
2535 }
2536 /^X\(\/\/\)$/{
2537 s//\1/
2538 q
2539 }
2540 /^X\(\/\).*/{
2541 s//\1/
2542 q
2543 }
2544 s/.*/./; q'`
2545 test -d "$as_dir" && break
2546 done
2547 test -z "$as_dirs" || eval "mkdir $as_dirs"
2548 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
2549 echo "$as_me: error: cannot create directory $as_dir" >&2;}
2550 { (exit 1); exit 1; }; }; }
2551 ac_builddir=.
2552
2553 case "$ac_dir" in
2554 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2555 *)
2556 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2557 # A ".." for each directory in $ac_dir_suffix.
2558 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2559 case $ac_top_builddir_sub in
2560 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2561 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2562 esac ;;
2563 esac
2564 ac_abs_top_builddir=$ac_pwd
2565 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2566 # for backward compatibility:
2567 ac_top_builddir=$ac_top_build_prefix
2568
2569 case $srcdir in
2570 .) # We are building in place.
2571 ac_srcdir=.
2572 ac_top_srcdir=$ac_top_builddir_sub
2573 ac_abs_top_srcdir=$ac_pwd ;;
2574 [\\/]* | ?:[\\/]* ) # Absolute name.
2575 ac_srcdir=$srcdir$ac_dir_suffix;
2576 ac_top_srcdir=$srcdir
2577 ac_abs_top_srcdir=$srcdir ;;
2578 *) # Relative name.
2579 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2580 ac_top_srcdir=$ac_top_build_prefix$srcdir
2581 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2582 esac
2583 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2584
2585
2586 case $ac_mode in
2587 :F)
2588 #
2589 # CONFIG_FILE
2590 #
2591
2592 _ACEOF
2593
2594 cat >>$CONFIG_STATUS <<\_ACEOF
2595 # If the template does not know about datarootdir, expand it.
2596 # FIXME: This hack should be removed a few years after 2.60.
2597 ac_datarootdir_hack=; ac_datarootdir_seen=
2598
2599 case `sed -n '/datarootdir/ {
2600 p
2601 q
2602 }
2603 /@datadir@/p
2604 /@docdir@/p
2605 /@infodir@/p
2606 /@localedir@/p
2607 /@mandir@/p
2608 ' $ac_file_inputs` in
2609 *datarootdir*) ac_datarootdir_seen=yes;;
2610 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
2611 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
2612 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
2613 _ACEOF
2614 cat >>$CONFIG_STATUS <<_ACEOF
2615 ac_datarootdir_hack='
2616 s&@datadir@&$datadir&g
2617 s&@docdir@&$docdir&g
2618 s&@infodir@&$infodir&g
2619 s&@localedir@&$localedir&g
2620 s&@mandir@&$mandir&g
2621 s&\\\${datarootdir}&$datarootdir&g' ;;
2622 esac
2623 _ACEOF
2624
2625 # Neutralize VPATH when `$srcdir' = `.'.
2626 # Shell code in configure.ac might set extrasub.
2627 # FIXME: do we really want to maintain this feature?
2628 cat >>$CONFIG_STATUS <<_ACEOF
2629 sed "$ac_vpsub
2630 $extrasub
2631 _ACEOF
2632 cat >>$CONFIG_STATUS <<\_ACEOF
2633 :t
2634 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2635 s&@configure_input@&$configure_input&;t t
2636 s&@top_builddir@&$ac_top_builddir_sub&;t t
2637 s&@srcdir@&$ac_srcdir&;t t
2638 s&@abs_srcdir@&$ac_abs_srcdir&;t t
2639 s&@top_srcdir@&$ac_top_srcdir&;t t
2640 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
2641 s&@builddir@&$ac_builddir&;t t
2642 s&@abs_builddir@&$ac_abs_builddir&;t t
2643 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
2644 $ac_datarootdir_hack
2645 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
2646
2647 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
2648 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
2649 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
2650 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2651 which seems to be undefined. Please make sure it is defined." >&5
2652 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2653 which seems to be undefined. Please make sure it is defined." >&2;}
2654
2655 rm -f "$tmp/stdin"
2656 case $ac_file in
2657 -) cat "$tmp/out"; rm -f "$tmp/out";;
2658 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
2659 esac
2660 ;;
2661
2662
2663
2664 esac
2665
2666
2667 case $ac_file$ac_mode in
2668 "Makefile":F) chmod a-w Makefile ;;
2669 "src/config.sml":F) chmod a-w src/config.sml ;;
2670
2671 esac
2672 done # for ac_tag
2673
2674
2675 { (exit 0); exit 0; }
2676 _ACEOF
2677 chmod +x $CONFIG_STATUS
2678 ac_clean_files=$ac_clean_files_save
2679
2680
2681 # configure is writing to config.log, and then calls config.status.
2682 # config.status does its own redirection, appending to config.log.
2683 # Unfortunately, on DOS this fails, as config.log is still kept open
2684 # by configure, so config.status won't be able to write to it; its
2685 # output is simply discarded. So we exec the FD to /dev/null,
2686 # effectively closing config.log, so it can be properly (re)opened and
2687 # appended to by config.status. When coming back to configure, we
2688 # need to make the FD available again.
2689 if test "$no_create" != yes; then
2690 ac_cs_success=:
2691 ac_config_status_args=
2692 test "$silent" = yes &&
2693 ac_config_status_args="$ac_config_status_args --quiet"
2694 exec 5>/dev/null
2695 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2696 exec 5>>config.log
2697 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2698 # would make configure fail if this is the last instruction.
2699 $ac_cs_success || { (exit 1); exit 1; }
2700 fi
2701
2702
2703 # show the user what the variables have been set to
2704 cat <<EOF
2705
2706 Ur/Web configuration:
2707 bin directory: BIN $BIN
2708 lib directory: LIB $LIB
2709 include directory: INCLUDE $INCLUDE
2710 site-lisp directory: SITELISP $SITELISP
2711 EOF