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