"SfR Fresh" - the SfR Freeware/Shareware Archive 
Member "gnus-5.10.10/configure" of archive gnus-5.10.10.tar.gz:
As a special service "SfR Fresh" has tried to format the requested source page into HTML format using source code syntax highlighting with prefixed line numbers.
Alternatively you can here view or download the uninterpreted source code file.
That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
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="lisp/gnus.el"
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 SET_MAKE
618 INSTALL_PROGRAM
619 INSTALL_SCRIPT
620 INSTALL_DATA
621 MAKEINFO
622 EMACS
623 XEMACS
624 EMACS_FLAVOR
625 lispdir
626 etcdir
627 info_dir
628 HAVE_url
629 URL
630 HAVE_w3_forms
631 W3
632 FLAGS
633 LATEX
634 WITH_FONTS_bembo
635 WITHOUT_FONTS_bembo
636 WITH_FONTS_pfu
637 WITHOUT_FONTS_pfu
638 WITH_FONTS_bcr
639 WITHOUT_FONTS_bcr
640 USE_FONTS
641 LIBOBJS
642 LTLIBOBJS'
643 ac_subst_files=''
644 ac_precious_vars='build_alias
645 host_alias
646 target_alias'
647
648
649 # Initialize some variables set by options.
650 ac_init_help=
651 ac_init_version=false
652 # The variables have the same names as the options, with
653 # dashes changed to underlines.
654 cache_file=/dev/null
655 exec_prefix=NONE
656 no_create=
657 no_recursion=
658 prefix=NONE
659 program_prefix=NONE
660 program_suffix=NONE
661 program_transform_name=s,x,x,
662 silent=
663 site=
664 srcdir=
665 verbose=
666 x_includes=NONE
667 x_libraries=NONE
668
669 # Installation directory options.
670 # These are left unexpanded so users can "make install exec_prefix=/foo"
671 # and all the variables that are supposed to be based on exec_prefix
672 # by default will actually change.
673 # Use braces instead of parens because sh, perl, etc. also accept them.
674 # (The list follows the same order as the GNU Coding Standards.)
675 bindir='${exec_prefix}/bin'
676 sbindir='${exec_prefix}/sbin'
677 libexecdir='${exec_prefix}/libexec'
678 datarootdir='${prefix}/share'
679 datadir='${datarootdir}'
680 sysconfdir='${prefix}/etc'
681 sharedstatedir='${prefix}/com'
682 localstatedir='${prefix}/var'
683 includedir='${prefix}/include'
684 oldincludedir='/usr/include'
685 docdir='${datarootdir}/doc/${PACKAGE}'
686 infodir='${datarootdir}/info'
687 htmldir='${docdir}'
688 dvidir='${docdir}'
689 pdfdir='${docdir}'
690 psdir='${docdir}'
691 libdir='${exec_prefix}/lib'
692 localedir='${datarootdir}/locale'
693 mandir='${datarootdir}/man'
694
695 ac_prev=
696 ac_dashdash=
697 for ac_option
698 do
699 # If the previous option needs an argument, assign it.
700 if test -n "$ac_prev"; then
701 eval $ac_prev=\$ac_option
702 ac_prev=
703 continue
704 fi
705
706 case $ac_option in
707 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
708 *) ac_optarg=yes ;;
709 esac
710
711 # Accept the important Cygnus configure options, so we can diagnose typos.
712
713 case $ac_dashdash$ac_option in
714 --)
715 ac_dashdash=yes ;;
716
717 -bindir | --bindir | --bindi | --bind | --bin | --bi)
718 ac_prev=bindir ;;
719 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
720 bindir=$ac_optarg ;;
721
722 -build | --build | --buil | --bui | --bu)
723 ac_prev=build_alias ;;
724 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
725 build_alias=$ac_optarg ;;
726
727 -cache-file | --cache-file | --cache-fil | --cache-fi \
728 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
729 ac_prev=cache_file ;;
730 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
731 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
732 cache_file=$ac_optarg ;;
733
734 --config-cache | -C)
735 cache_file=config.cache ;;
736
737 -datadir | --datadir | --datadi | --datad)
738 ac_prev=datadir ;;
739 -datadir=* | --datadir=* | --datadi=* | --datad=*)
740 datadir=$ac_optarg ;;
741
742 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
743 | --dataroo | --dataro | --datar)
744 ac_prev=datarootdir ;;
745 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
746 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
747 datarootdir=$ac_optarg ;;
748
749 -disable-* | --disable-*)
750 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
751 # Reject names that are not valid shell variable names.
752 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
753 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
754 { (exit 1); exit 1; }; }
755 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
756 eval enable_$ac_feature=no ;;
757
758 -docdir | --docdir | --docdi | --doc | --do)
759 ac_prev=docdir ;;
760 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
761 docdir=$ac_optarg ;;
762
763 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
764 ac_prev=dvidir ;;
765 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
766 dvidir=$ac_optarg ;;
767
768 -enable-* | --enable-*)
769 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
770 # Reject names that are not valid shell variable names.
771 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
772 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
773 { (exit 1); exit 1; }; }
774 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
775 eval enable_$ac_feature=\$ac_optarg ;;
776
777 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
778 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
779 | --exec | --exe | --ex)
780 ac_prev=exec_prefix ;;
781 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
782 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
783 | --exec=* | --exe=* | --ex=*)
784 exec_prefix=$ac_optarg ;;
785
786 -gas | --gas | --ga | --g)
787 # Obsolete; use --with-gas.
788 with_gas=yes ;;
789
790 -help | --help | --hel | --he | -h)
791 ac_init_help=long ;;
792 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
793 ac_init_help=recursive ;;
794 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
795 ac_init_help=short ;;
796
797 -host | --host | --hos | --ho)
798 ac_prev=host_alias ;;
799 -host=* | --host=* | --hos=* | --ho=*)
800 host_alias=$ac_optarg ;;
801
802 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
803 ac_prev=htmldir ;;
804 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
805 | --ht=*)
806 htmldir=$ac_optarg ;;
807
808 -includedir | --includedir | --includedi | --included | --include \
809 | --includ | --inclu | --incl | --inc)
810 ac_prev=includedir ;;
811 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
812 | --includ=* | --inclu=* | --incl=* | --inc=*)
813 includedir=$ac_optarg ;;
814
815 -infodir | --infodir | --infodi | --infod | --info | --inf)
816 ac_prev=infodir ;;
817 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
818 infodir=$ac_optarg ;;
819
820 -libdir | --libdir | --libdi | --libd)
821 ac_prev=libdir ;;
822 -libdir=* | --libdir=* | --libdi=* | --libd=*)
823 libdir=$ac_optarg ;;
824
825 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
826 | --libexe | --libex | --libe)
827 ac_prev=libexecdir ;;
828 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
829 | --libexe=* | --libex=* | --libe=*)
830 libexecdir=$ac_optarg ;;
831
832 -localedir | --localedir | --localedi | --localed | --locale)
833 ac_prev=localedir ;;
834 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
835 localedir=$ac_optarg ;;
836
837 -localstatedir | --localstatedir | --localstatedi | --localstated \
838 | --localstate | --localstat | --localsta | --localst | --locals)
839 ac_prev=localstatedir ;;
840 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
841 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
842 localstatedir=$ac_optarg ;;
843
844 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
845 ac_prev=mandir ;;
846 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
847 mandir=$ac_optarg ;;
848
849 -nfp | --nfp | --nf)
850 # Obsolete; use --without-fp.
851 with_fp=no ;;
852
853 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
854 | --no-cr | --no-c | -n)
855 no_create=yes ;;
856
857 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
858 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
859 no_recursion=yes ;;
860
861 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
862 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
863 | --oldin | --oldi | --old | --ol | --o)
864 ac_prev=oldincludedir ;;
865 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
866 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
867 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
868 oldincludedir=$ac_optarg ;;
869
870 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
871 ac_prev=prefix ;;
872 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
873 prefix=$ac_optarg ;;
874
875 -program-prefix | --program-prefix | --program-prefi | --program-pref \
876 | --program-pre | --program-pr | --program-p)
877 ac_prev=program_prefix ;;
878 -program-prefix=* | --program-prefix=* | --program-prefi=* \
879 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
880 program_prefix=$ac_optarg ;;
881
882 -program-suffix | --program-suffix | --program-suffi | --program-suff \
883 | --program-suf | --program-su | --program-s)
884 ac_prev=program_suffix ;;
885 -program-suffix=* | --program-suffix=* | --program-suffi=* \
886 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
887 program_suffix=$ac_optarg ;;
888
889 -program-transform-name | --program-transform-name \
890 | --program-transform-nam | --program-transform-na \
891 | --program-transform-n | --program-transform- \
892 | --program-transform | --program-transfor \
893 | --program-transfo | --program-transf \
894 | --program-trans | --program-tran \
895 | --progr-tra | --program-tr | --program-t)
896 ac_prev=program_transform_name ;;
897 -program-transform-name=* | --program-transform-name=* \
898 | --program-transform-nam=* | --program-transform-na=* \
899 | --program-transform-n=* | --program-transform-=* \
900 | --program-transform=* | --program-transfor=* \
901 | --program-transfo=* | --program-transf=* \
902 | --program-trans=* | --program-tran=* \
903 | --progr-tra=* | --program-tr=* | --program-t=*)
904 program_transform_name=$ac_optarg ;;
905
906 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
907 ac_prev=pdfdir ;;
908 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
909 pdfdir=$ac_optarg ;;
910
911 -psdir | --psdir | --psdi | --psd | --ps)
912 ac_prev=psdir ;;
913 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
914 psdir=$ac_optarg ;;
915
916 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
917 | -silent | --silent | --silen | --sile | --sil)
918 silent=yes ;;
919
920 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
921 ac_prev=sbindir ;;
922 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
923 | --sbi=* | --sb=*)
924 sbindir=$ac_optarg ;;
925
926 -sharedstatedir | --sharedstatedir | --sharedstatedi \
927 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
928 | --sharedst | --shareds | --shared | --share | --shar \
929 | --sha | --sh)
930 ac_prev=sharedstatedir ;;
931 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
932 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
933 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
934 | --sha=* | --sh=*)
935 sharedstatedir=$ac_optarg ;;
936
937 -site | --site | --sit)
938 ac_prev=site ;;
939 -site=* | --site=* | --sit=*)
940 site=$ac_optarg ;;
941
942 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
943 ac_prev=srcdir ;;
944 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
945 srcdir=$ac_optarg ;;
946
947 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
948 | --syscon | --sysco | --sysc | --sys | --sy)
949 ac_prev=sysconfdir ;;
950 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
951 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
952 sysconfdir=$ac_optarg ;;
953
954 -target | --target | --targe | --targ | --tar | --ta | --t)
955 ac_prev=target_alias ;;
956 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
957 target_alias=$ac_optarg ;;
958
959 -v | -verbose | --verbose | --verbos | --verbo | --verb)
960 verbose=yes ;;
961
962 -version | --version | --versio | --versi | --vers | -V)
963 ac_init_version=: ;;
964
965 -with-* | --with-*)
966 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
967 # Reject names that are not valid shell variable names.
968 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
969 { echo "$as_me: error: invalid package name: $ac_package" >&2
970 { (exit 1); exit 1; }; }
971 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
972 eval with_$ac_package=\$ac_optarg ;;
973
974 -without-* | --without-*)
975 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
976 # Reject names that are not valid shell variable names.
977 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
978 { echo "$as_me: error: invalid package name: $ac_package" >&2
979 { (exit 1); exit 1; }; }
980 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
981 eval with_$ac_package=no ;;
982
983 --x)
984 # Obsolete; use --with-x.
985 with_x=yes ;;
986
987 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
988 | --x-incl | --x-inc | --x-in | --x-i)
989 ac_prev=x_includes ;;
990 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
991 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
992 x_includes=$ac_optarg ;;
993
994 -x-libraries | --x-libraries | --x-librarie | --x-librari \
995 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
996 ac_prev=x_libraries ;;
997 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
998 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
999 x_libraries=$ac_optarg ;;
1000
1001 -*) { echo "$as_me: error: unrecognized option: $ac_option
1002 Try \`$0 --help' for more information." >&2
1003 { (exit 1); exit 1; }; }
1004 ;;
1005
1006 *=*)
1007 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1008 # Reject names that are not valid shell variable names.
1009 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1010 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1011 { (exit 1); exit 1; }; }
1012 eval $ac_envvar=\$ac_optarg
1013 export $ac_envvar ;;
1014
1015 *)
1016 # FIXME: should be removed in autoconf 3.0.
1017 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1018 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1019 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1020 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1021 ;;
1022
1023 esac
1024 done
1025
1026 if test -n "$ac_prev"; then
1027 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1028 { echo "$as_me: error: missing argument to $ac_option" >&2
1029 { (exit 1); exit 1; }; }
1030 fi
1031
1032 # Be sure to have absolute directory names.
1033 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1034 datadir sysconfdir sharedstatedir localstatedir includedir \
1035 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1036 libdir localedir mandir
1037 do
1038 eval ac_val=\$$ac_var
1039 case $ac_val in
1040 [\\/$]* | ?:[\\/]* ) continue;;
1041 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1042 esac
1043 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1044 { (exit 1); exit 1; }; }
1045 done
1046
1047 # There might be people who depend on the old broken behavior: `$host'
1048 # used to hold the argument of --host etc.
1049 # FIXME: To remove some day.
1050 build=$build_alias
1051 host=$host_alias
1052 target=$target_alias
1053
1054 # FIXME: To remove some day.
1055 if test "x$host_alias" != x; then
1056 if test "x$build_alias" = x; then
1057 cross_compiling=maybe
1058 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1059 If a cross compiler is detected then cross compile mode will be used." >&2
1060 elif test "x$build_alias" != "x$host_alias"; then
1061 cross_compiling=yes
1062 fi
1063 fi
1064
1065 ac_tool_prefix=
1066 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1067
1068 test "$silent" = yes && exec 6>/dev/null
1069
1070
1071 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1072 ac_ls_di=`ls -di .` &&
1073 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1074 { echo "$as_me: error: Working directory cannot be determined" >&2
1075 { (exit 1); exit 1; }; }
1076 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1077 { echo "$as_me: error: pwd does not report name of working directory" >&2
1078 { (exit 1); exit 1; }; }
1079
1080
1081 # Find the source files, if location was not specified.
1082 if test -z "$srcdir"; then
1083 ac_srcdir_defaulted=yes
1084 # Try the directory containing this script, then the parent directory.
1085 ac_confdir=`$as_dirname -- "$0" ||
1086 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1087 X"$0" : 'X\(//\)[^/]' \| \
1088 X"$0" : 'X\(//\)$' \| \
1089 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1090 echo X"$0" |
1091 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1092 s//\1/
1093 q
1094 }
1095 /^X\(\/\/\)[^/].*/{
1096 s//\1/
1097 q
1098 }
1099 /^X\(\/\/\)$/{
1100 s//\1/
1101 q
1102 }
1103 /^X\(\/\).*/{
1104 s//\1/
1105 q
1106 }
1107 s/.*/./; q'`
1108 srcdir=$ac_confdir
1109 if test ! -r "$srcdir/$ac_unique_file"; then
1110 srcdir=..
1111 fi
1112 else
1113 ac_srcdir_defaulted=no
1114 fi
1115 if test ! -r "$srcdir/$ac_unique_file"; then
1116 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1117 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1118 { (exit 1); exit 1; }; }
1119 fi
1120 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1121 ac_abs_confdir=`(
1122 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1123 { (exit 1); exit 1; }; }
1124 pwd)`
1125 # When building in place, set srcdir=.
1126 if test "$ac_abs_confdir" = "$ac_pwd"; then
1127 srcdir=.
1128 fi
1129 # Remove unnecessary trailing slashes from srcdir.
1130 # Double slashes in file names in object file debugging info
1131 # mess up M-x gdb in Emacs.
1132 case $srcdir in
1133 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1134 esac
1135 for ac_var in $ac_precious_vars; do
1136 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1137 eval ac_env_${ac_var}_value=\$${ac_var}
1138 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1139 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1140 done
1141
1142 #
1143 # Report the --help message.
1144 #
1145 if test "$ac_init_help" = "long"; then
1146 # Omit some internal or obsolete options to make the list less imposing.
1147 # This message is too long to be a string in the A/UX 3.1 sh.
1148 cat <<_ACEOF
1149 \`configure' configures this package to adapt to many kinds of systems.
1150
1151 Usage: $0 [OPTION]... [VAR=VALUE]...
1152
1153 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1154 VAR=VALUE. See below for descriptions of some of the useful variables.
1155
1156 Defaults for the options are specified in brackets.
1157
1158 Configuration:
1159 -h, --help display this help and exit
1160 --help=short display options specific to this package
1161 --help=recursive display the short help of all the included packages
1162 -V, --version display version information and exit
1163 -q, --quiet, --silent do not print \`checking...' messages
1164 --cache-file=FILE cache test results in FILE [disabled]
1165 -C, --config-cache alias for \`--cache-file=config.cache'
1166 -n, --no-create do not create output files
1167 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1168
1169 Installation directories:
1170 --prefix=PREFIX install architecture-independent files in PREFIX
1171 [$ac_default_prefix]
1172 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1173 [PREFIX]
1174
1175 By default, \`make install' will install all the files in
1176 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1177 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1178 for instance \`--prefix=\$HOME'.
1179
1180 For better control, use the options below.
1181
1182 Fine tuning of the installation directories:
1183 --bindir=DIR user executables [EPREFIX/bin]
1184 --sbindir=DIR system admin executables [EPREFIX/sbin]
1185 --libexecdir=DIR program executables [EPREFIX/libexec]
1186 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1187 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1188 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1189 --libdir=DIR object code libraries [EPREFIX/lib]
1190 --includedir=DIR C header files [PREFIX/include]
1191 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1192 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1193 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1194 --infodir=DIR info documentation [DATAROOTDIR/info]
1195 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1196 --mandir=DIR man documentation [DATAROOTDIR/man]
1197 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1198 --htmldir=DIR html documentation [DOCDIR]
1199 --dvidir=DIR dvi documentation [DOCDIR]
1200 --pdfdir=DIR pdf documentation [DOCDIR]
1201 --psdir=DIR ps documentation [DOCDIR]
1202 _ACEOF
1203
1204 cat <<\_ACEOF
1205 _ACEOF
1206 fi
1207
1208 if test -n "$ac_init_help"; then
1209
1210 cat <<\_ACEOF
1211
1212 Optional Packages:
1213 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1214 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1215 --with-xemacs Use XEmacs to build
1216 --with-emacs Use Emacs to build
1217 --with-lispdir=DIR Where to install lisp files
1218 --with-etcdir=DIR Where to install etc files
1219 --with-url=DIR Specify where to find the url package
1220 --with-w3=DIR Specify where to find the w3 package
1221 --with-fonts Assume all fonts required are available
1222
1223 _ACEOF
1224 ac_status=$?
1225 fi
1226
1227 if test "$ac_init_help" = "recursive"; then
1228 # If there are subdirs, report their specific --help.
1229 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1230 test -d "$ac_dir" || continue
1231 ac_builddir=.
1232
1233 case "$ac_dir" in
1234 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1235 *)
1236 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1237 # A ".." for each directory in $ac_dir_suffix.
1238 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1239 case $ac_top_builddir_sub in
1240 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1241 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1242 esac ;;
1243 esac
1244 ac_abs_top_builddir=$ac_pwd
1245 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1246 # for backward compatibility:
1247 ac_top_builddir=$ac_top_build_prefix
1248
1249 case $srcdir in
1250 .) # We are building in place.
1251 ac_srcdir=.
1252 ac_top_srcdir=$ac_top_builddir_sub
1253 ac_abs_top_srcdir=$ac_pwd ;;
1254 [\\/]* | ?:[\\/]* ) # Absolute name.
1255 ac_srcdir=$srcdir$ac_dir_suffix;
1256 ac_top_srcdir=$srcdir
1257 ac_abs_top_srcdir=$srcdir ;;
1258 *) # Relative name.
1259 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1260 ac_top_srcdir=$ac_top_build_prefix$srcdir
1261 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1262 esac
1263 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1264
1265 cd "$ac_dir" || { ac_status=$?; continue; }
1266 # Check for guested configure.
1267 if test -f "$ac_srcdir/configure.gnu"; then
1268 echo &&
1269 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1270 elif test -f "$ac_srcdir/configure"; then
1271 echo &&
1272 $SHELL "$ac_srcdir/configure" --help=recursive
1273 else
1274 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1275 fi || ac_status=$?
1276 cd "$ac_pwd" || { ac_status=$?; break; }
1277 done
1278 fi
1279
1280 test -n "$ac_init_help" && exit $ac_status
1281 if $ac_init_version; then
1282 cat <<\_ACEOF
1283 configure
1284 generated by GNU Autoconf 2.61
1285
1286 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1287 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1288 This configure script is free software; the Free Software Foundation
1289 gives unlimited permission to copy, distribute and modify it.
1290 _ACEOF
1291 exit
1292 fi
1293 cat >config.log <<_ACEOF
1294 This file contains any messages produced by compilers while
1295 running configure, to aid debugging if configure makes a mistake.
1296
1297 It was created by $as_me, which was
1298 generated by GNU Autoconf 2.61. Invocation command line was
1299
1300 $ $0 $@
1301
1302 _ACEOF
1303 exec 5>>config.log
1304 {
1305 cat <<_ASUNAME
1306 ## --------- ##
1307 ## Platform. ##
1308 ## --------- ##
1309
1310 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1311 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1312 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1313 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1314 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1315
1316 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1317 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1318
1319 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1320 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1321 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1322 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1323 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1324 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1325 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1326
1327 _ASUNAME
1328
1329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1330 for as_dir in $PATH
1331 do
1332 IFS=$as_save_IFS
1333 test -z "$as_dir" && as_dir=.
1334 echo "PATH: $as_dir"
1335 done
1336 IFS=$as_save_IFS
1337
1338 } >&5
1339
1340 cat >&5 <<_ACEOF
1341
1342
1343 ## ----------- ##
1344 ## Core tests. ##
1345 ## ----------- ##
1346
1347 _ACEOF
1348
1349
1350 # Keep a trace of the command line.
1351 # Strip out --no-create and --no-recursion so they do not pile up.
1352 # Strip out --silent because we don't want to record it for future runs.
1353 # Also quote any args containing shell meta-characters.
1354 # Make two passes to allow for proper duplicate-argument suppression.
1355 ac_configure_args=
1356 ac_configure_args0=
1357 ac_configure_args1=
1358 ac_must_keep_next=false
1359 for ac_pass in 1 2
1360 do
1361 for ac_arg
1362 do
1363 case $ac_arg in
1364 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1365 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1366 | -silent | --silent | --silen | --sile | --sil)
1367 continue ;;
1368 *\'*)
1369 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1370 esac
1371 case $ac_pass in
1372 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1373 2)
1374 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1375 if test $ac_must_keep_next = true; then
1376 ac_must_keep_next=false # Got value, back to normal.
1377 else
1378 case $ac_arg in
1379 *=* | --config-cache | -C | -disable-* | --disable-* \
1380 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1381 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1382 | -with-* | --with-* | -without-* | --without-* | --x)
1383 case "$ac_configure_args0 " in
1384 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1385 esac
1386 ;;
1387 -* ) ac_must_keep_next=true ;;
1388 esac
1389 fi
1390 ac_configure_args="$ac_configure_args '$ac_arg'"
1391 ;;
1392 esac
1393 done
1394 done
1395 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1396 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1397
1398 # When interrupted or exit'd, cleanup temporary files, and complete
1399 # config.log. We remove comments because anyway the quotes in there
1400 # would cause problems or look ugly.
1401 # WARNING: Use '\'' to represent an apostrophe within the trap.
1402 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1403 trap 'exit_status=$?
1404 # Save into config.log some information that might help in debugging.
1405 {
1406 echo
1407
1408 cat <<\_ASBOX
1409 ## ---------------- ##
1410 ## Cache variables. ##
1411 ## ---------------- ##
1412 _ASBOX
1413 echo
1414 # The following way of writing the cache mishandles newlines in values,
1415 (
1416 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1417 eval ac_val=\$$ac_var
1418 case $ac_val in #(
1419 *${as_nl}*)
1420 case $ac_var in #(
1421 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1422 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1423 esac
1424 case $ac_var in #(
1425 _ | IFS | as_nl) ;; #(
1426 *) $as_unset $ac_var ;;
1427 esac ;;
1428 esac
1429 done
1430 (set) 2>&1 |
1431 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1432 *${as_nl}ac_space=\ *)
1433 sed -n \
1434 "s/'\''/'\''\\\\'\'''\''/g;
1435 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1436 ;; #(
1437 *)
1438 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1439 ;;
1440 esac |
1441 sort
1442 )
1443 echo
1444
1445 cat <<\_ASBOX
1446 ## ----------------- ##
1447 ## Output variables. ##
1448 ## ----------------- ##
1449 _ASBOX
1450 echo
1451 for ac_var in $ac_subst_vars
1452 do
1453 eval ac_val=\$$ac_var
1454 case $ac_val in
1455 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1456 esac
1457 echo "$ac_var='\''$ac_val'\''"
1458 done | sort
1459 echo
1460
1461 if test -n "$ac_subst_files"; then
1462 cat <<\_ASBOX
1463 ## ------------------- ##
1464 ## File substitutions. ##
1465 ## ------------------- ##
1466 _ASBOX
1467 echo
1468 for ac_var in $ac_subst_files
1469 do
1470 eval ac_val=\$$ac_var
1471 case $ac_val in
1472 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1473 esac
1474 echo "$ac_var='\''$ac_val'\''"
1475 done | sort
1476 echo
1477 fi
1478
1479 if test -s confdefs.h; then
1480 cat <<\_ASBOX
1481 ## ----------- ##
1482 ## confdefs.h. ##
1483 ## ----------- ##
1484 _ASBOX
1485 echo
1486 cat confdefs.h
1487 echo
1488 fi
1489 test "$ac_signal" != 0 &&
1490 echo "$as_me: caught signal $ac_signal"
1491 echo "$as_me: exit $exit_status"
1492 } >&5
1493 rm -f core *.core core.conftest.* &&
1494 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1495 exit $exit_status
1496 ' 0
1497 for ac_signal in 1 2 13 15; do
1498 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1499 done
1500 ac_signal=0
1501
1502 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1503 rm -f -r conftest* confdefs.h
1504
1505 # Predefined preprocessor variables.
1506
1507 cat >>confdefs.h <<_ACEOF
1508 #define PACKAGE_NAME "$PACKAGE_NAME"
1509 _ACEOF
1510
1511
1512 cat >>confdefs.h <<_ACEOF
1513 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1514 _ACEOF
1515
1516
1517 cat >>confdefs.h <<_ACEOF
1518 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1519 _ACEOF
1520
1521
1522 cat >>confdefs.h <<_ACEOF
1523 #define PACKAGE_STRING "$PACKAGE_STRING"
1524 _ACEOF
1525
1526
1527 cat >>confdefs.h <<_ACEOF
1528 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1529 _ACEOF
1530
1531
1532 # Let the site file select an alternate cache file if it wants to.
1533 # Prefer explicitly selected file to automatically selected ones.
1534 if test -n "$CONFIG_SITE"; then
1535 set x "$CONFIG_SITE"
1536 elif test "x$prefix" != xNONE; then
1537 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1538 else
1539 set x "$ac_default_prefix/share/config.site" \
1540 "$ac_default_prefix/etc/config.site"
1541 fi
1542 shift
1543 for ac_site_file
1544 do
1545 if test -r "$ac_site_file"; then
1546 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1547 echo "$as_me: loading site script $ac_site_file" >&6;}
1548 sed 's/^/| /' "$ac_site_file" >&5
1549 . "$ac_site_file"
1550 fi
1551 done
1552
1553 if test -r "$cache_file"; then
1554 # Some versions of bash will fail to source /dev/null (special
1555 # files actually), so we avoid doing that.
1556 if test -f "$cache_file"; then
1557 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1558 echo "$as_me: loading cache $cache_file" >&6;}
1559 case $cache_file in
1560 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1561 *) . "./$cache_file";;
1562 esac
1563 fi
1564 else
1565 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1566 echo "$as_me: creating cache $cache_file" >&6;}
1567 >$cache_file
1568 fi
1569
1570 # Check that the precious variables saved in the cache have kept the same
1571 # value.
1572 ac_cache_corrupted=false
1573 for ac_var in $ac_precious_vars; do
1574 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1575 eval ac_new_set=\$ac_env_${ac_var}_set
1576 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1577 eval ac_new_val=\$ac_env_${ac_var}_value
1578 case $ac_old_set,$ac_new_set in
1579 set,)
1580 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1581 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1582 ac_cache_corrupted=: ;;
1583 ,set)
1584 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1585 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1586 ac_cache_corrupted=: ;;
1587 ,);;
1588 *)
1589 if test "x$ac_old_val" != "x$ac_new_val"; then
1590 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1591 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1592 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1593 echo "$as_me: former value: $ac_old_val" >&2;}
1594 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1595 echo "$as_me: current value: $ac_new_val" >&2;}
1596 ac_cache_corrupted=:
1597 fi;;
1598 esac
1599 # Pass precious variables to config.status.
1600 if test "$ac_new_set" = set; then
1601 case $ac_new_val in
1602 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1603 *) ac_arg=$ac_var=$ac_new_val ;;
1604 esac
1605 case " $ac_configure_args " in
1606 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1607 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1608 esac
1609 fi
1610 done
1611 if $ac_cache_corrupted; then
1612 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1613 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1614 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1615 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1616 { (exit 1); exit 1; }; }
1617 fi
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635 ac_ext=c
1636 ac_cpp='$CPP $CPPFLAGS'
1637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1640
1641
1642 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1643 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1644 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1645 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1646 echo $ECHO_N "(cached) $ECHO_C" >&6
1647 else
1648 cat >conftest.make <<\_ACEOF
1649 SHELL = /bin/sh
1650 all:
1651 @echo '@@@%%%=$(MAKE)=@@@%%%'
1652 _ACEOF
1653 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1654 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1655 *@@@%%%=?*=@@@%%%*)
1656 eval ac_cv_prog_make_${ac_make}_set=yes;;
1657 *)
1658 eval ac_cv_prog_make_${ac_make}_set=no;;
1659 esac
1660 rm -f conftest.make
1661 fi
1662 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1663 { echo "$as_me:$LINENO: result: yes" >&5
1664 echo "${ECHO_T}yes" >&6; }
1665 SET_MAKE=
1666 else
1667 { echo "$as_me:$LINENO: result: no" >&5
1668 echo "${ECHO_T}no" >&6; }
1669 SET_MAKE="MAKE=${MAKE-make}"
1670 fi
1671
1672 ac_aux_dir=
1673 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1674 if test -f "$ac_dir/install-sh"; then
1675 ac_aux_dir=$ac_dir
1676 ac_install_sh="$ac_aux_dir/install-sh -c"
1677 break
1678 elif test -f "$ac_dir/install.sh"; then
1679 ac_aux_dir=$ac_dir
1680 ac_install_sh="$ac_aux_dir/install.sh -c"
1681 break
1682 elif test -f "$ac_dir/shtool"; then
1683 ac_aux_dir=$ac_dir
1684 ac_install_sh="$ac_aux_dir/shtool install -c"
1685 break
1686 fi
1687 done
1688 if test -z "$ac_aux_dir"; then
1689 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1690 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1691 { (exit 1); exit 1; }; }
1692 fi
1693
1694 # These three variables are undocumented and unsupported,
1695 # and are intended to be withdrawn in a future Autoconf release.
1696 # They can cause serious problems if a builder's source tree is in a directory
1697 # whose full name contains unusual characters.
1698 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1699 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1700 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1701
1702
1703 # Find a good install program. We prefer a C program (faster),
1704 # so one script is as good as another. But avoid the broken or
1705 # incompatible versions:
1706 # SysV /etc/install, /usr/sbin/install
1707 # SunOS /usr/etc/install
1708 # IRIX /sbin/install
1709 # AIX /bin/install
1710 # AmigaOS /C/install, which installs bootblocks on floppy discs
1711 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1712 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1713 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1714 # OS/2's system install, which has a completely different semantic
1715 # ./install, which can be erroneously created by make from ./install.sh.
1716 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1717 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1718 if test -z "$INSTALL"; then
1719 if test "${ac_cv_path_install+set}" = set; then
1720 echo $ECHO_N "(cached) $ECHO_C" >&6
1721 else
1722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1723 for as_dir in $PATH
1724 do
1725 IFS=$as_save_IFS
1726 test -z "$as_dir" && as_dir=.
1727 # Account for people who put trailing slashes in PATH elements.
1728 case $as_dir/ in
1729 ./ | .// | /cC/* | \
1730 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1731 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1732 /usr/ucb/* ) ;;
1733 *)
1734 # OSF1 and SCO ODT 3.0 have their own names for install.
1735 # Don't use installbsd from OSF since it installs stuff as root
1736 # by default.
1737 for ac_prog in ginstall scoinst install; do
1738 for ac_exec_ext in '' $ac_executable_extensions; do
1739 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1740 if test $ac_prog = install &&
1741 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1742 # AIX install. It has an incompatible calling convention.
1743 :
1744 elif test $ac_prog = install &&
1745 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1746 # program-specific install script used by HP pwplus--don't use.
1747 :
1748 else
1749 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1750 break 3
1751 fi
1752 fi
1753 done
1754 done
1755 ;;
1756 esac
1757 done
1758 IFS=$as_save_IFS
1759
1760
1761 fi
1762 if test "${ac_cv_path_install+set}" = set; then
1763 INSTALL=$ac_cv_path_install
1764 else
1765 # As a last resort, use the slow shell script. Don't cache a
1766 # value for INSTALL within a source directory, because that will
1767 # break other packages using the cache if that directory is
1768 # removed, or if the value is a relative name.
1769 INSTALL=$ac_install_sh
1770 fi
1771 fi
1772 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1773 echo "${ECHO_T}$INSTALL" >&6; }
1774
1775 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1776 # It thinks the first close brace ends the variable substitution.
1777 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1778
1779 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1780
1781 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1782
1783
1784 if test "${EMACS}" = "t"; then
1785 EMACS=""
1786 fi
1787
1788
1789 # Check whether --with-xemacs was given.
1790 if test "${with_xemacs+set}" = set; then
1791 withval=$with_xemacs; if test "${withval}" = "yes"; then EMACS=xemacs; else EMACS=${withval}; fi
1792 fi
1793
1794
1795 # Check whether --with-emacs was given.
1796 if test "${with_emacs+set}" = set; then
1797 withval=$with_emacs; if test "${withval}" = "yes"; then EMACS=emacs; else EMACS=${withval}; fi
1798 fi
1799
1800 # Extract the first word of "makeinfo", so it can be a program name with args.
1801 set dummy makeinfo; ac_word=$2
1802 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1804 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
1805 echo $ECHO_N "(cached) $ECHO_C" >&6
1806 else
1807 if test -n "$MAKEINFO"; then
1808 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
1809 else
1810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1811 for as_dir in $PATH
1812 do
1813 IFS=$as_save_IFS
1814 test -z "$as_dir" && as_dir=.
1815 for ac_exec_ext in '' $ac_executable_extensions; do
1816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1817 ac_cv_prog_MAKEINFO="makeinfo"
1818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1819 break 2
1820 fi
1821 done
1822 done
1823 IFS=$as_save_IFS
1824
1825 test -z "$ac_cv_prog_MAKEINFO" && ac_cv_prog_MAKEINFO="no"
1826 fi
1827 fi
1828 MAKEINFO=$ac_cv_prog_MAKEINFO
1829 if test -n "$MAKEINFO"; then
1830 { echo "$as_me:$LINENO: result: $MAKEINFO" >&5
1831 echo "${ECHO_T}$MAKEINFO" >&6; }
1832 else
1833 { echo "$as_me:$LINENO: result: no" >&5
1834 echo "${ECHO_T}no" >&6; }
1835 fi
1836
1837
1838
1839 # Extract the first word of "emacs", so it can be a program name with args.
1840 set dummy emacs; ac_word=$2
1841 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1843 if test "${ac_cv_prog_EMACS+set}" = set; then
1844 echo $ECHO_N "(cached) $ECHO_C" >&6
1845 else
1846 if test -n "$EMACS"; then
1847 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
1848 else
1849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1850 for as_dir in $PATH
1851 do
1852 IFS=$as_save_IFS
1853 test -z "$as_dir" && as_dir=.
1854 for ac_exec_ext in '' $ac_executable_extensions; do
1855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1856 ac_cv_prog_EMACS="emacs"
1857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1858 break 2
1859 fi
1860 done
1861 done
1862 IFS=$as_save_IFS
1863
1864 test -z "$ac_cv_prog_EMACS" && ac_cv_prog_EMACS="xemacs"
1865 fi
1866 fi
1867 EMACS=$ac_cv_prog_EMACS
1868 if test -n "$EMACS"; then
1869 { echo "$as_me:$LINENO: result: $EMACS" >&5
1870 echo "${ECHO_T}$EMACS" >&6; }
1871 else
1872 { echo "$as_me:$LINENO: result: no" >&5
1873 echo "${ECHO_T}no" >&6; }
1874 fi
1875
1876
1877
1878
1879
1880 { echo "$as_me:$LINENO: checking if $EMACS is really XEmacs" >&5
1881 echo $ECHO_N "checking if $EMACS is really XEmacs... $ECHO_C" >&6; }
1882
1883 elisp="(if (string-match \"XEmacs\" emacs-version) \"yes\" \"no\") "
1884 if test -z ""noecho""; then
1885 { echo "$as_me:$LINENO: checking for xemacsp" >&5
1886 echo $ECHO_N "checking for xemacsp... $ECHO_C" >&6; }
1887 fi
1888 if test "${EMACS_cv_SYS_xemacsp+set}" = set; then
1889 echo $ECHO_N "(cached) $ECHO_C" >&6
1890 else
1891
1892 OUTPUT=./conftest-$$
1893 echo ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1
1894 ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x 'ignore) (prin1-to-string x)) nil \"${OUTPUT}\"nil 5))" >& 5 2>&1
1895 retval=`cat ${OUTPUT}`
1896 echo "=> ${retval}" >& 5 2>&1
1897 rm -f ${OUTPUT}
1898 EMACS_cv_SYS_xemacsp=$retval
1899
1900 fi
1901
1902 xemacsp=${EMACS_cv_SYS_xemacsp}
1903 if test -z ""noecho""; then
1904 { echo "$as_me:$LINENO: result: $xemacsp" >&5
1905 echo "${ECHO_T}$xemacsp" >&6; }
1906 fi
1907
1908 XEMACS=${EMACS_cv_SYS_xemacsp}
1909 EMACS_FLAVOR=emacs
1910 if test "$XEMACS" = "yes"; then
1911 EMACS_FLAVOR=xemacs
1912 fi
1913 { echo "$as_me:$LINENO: result: $XEMACS" >&5
1914 echo "${ECHO_T}$XEMACS" >&6; }
1915
1916
1917
1918 if test "$prefix" = "NONE"; then
1919 { echo "$as_me:$LINENO: checking prefix for your Emacs" >&5
1920 echo $ECHO_N "checking prefix for your Emacs... $ECHO_C" >&6; }
1921
1922 elisp="(expand-file-name \"..\" invocation-directory)"
1923 if test -z ""noecho""; then
1924 { echo "$as_me:$LINENO: checking for prefix" >&5
1925 echo $ECHO_N "checking for prefix... $ECHO_C" >&6; }
1926 fi
1927 if test "${EMACS_cv_SYS_prefix+set}" = set; then
1928 echo $ECHO_N "(cached) $ECHO_C" >&6
1929 else
1930
1931 OUTPUT=./conftest-$$
1932 echo ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1
1933 ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x 'ignore) (prin1-to-string x)) nil \"${OUTPUT}\"nil 5))" >& 5 2>&1
1934 retval=`cat ${OUTPUT}`
1935 echo "=> ${retval}" >& 5 2>&1
1936 rm -f ${OUTPUT}
1937 EMACS_cv_SYS_prefix=$retval
1938
1939 fi
1940
1941 prefix=${EMACS_cv_SYS_prefix}
1942 if test -z ""noecho""; then
1943 { echo "$as_me:$LINENO: result: $prefix" >&5
1944 echo "${ECHO_T}$prefix" >&6; }
1945 fi
1946
1947 prefix=${EMACS_cv_SYS_prefix}
1948 { echo "$as_me:$LINENO: result: $prefix" >&5
1949 echo "${ECHO_T}$prefix" >&6; }
1950 fi
1951