Default to not propagating marks to all backends except nnimap.
[gnus.git] / configure
blobc24dba8ffae6dee505462816a989fb7d435b19e8
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
8 # Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 case $0 in #((
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95 for as_dir in $PATH
97 IFS=$as_save_IFS
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100 done
101 IFS=$as_save_IFS
104 esac
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
108 as_myself=$0
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112 exit 1
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122 done
123 PS1='$ '
124 PS2='> '
125 PS4='+ '
127 # NLS nuisances.
128 LC_ALL=C
129 export LC_ALL
130 LANGUAGE=C
131 export LANGUAGE
133 # CDPATH.
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 emulate sh
139 NULLCMD=:
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 setopt NO_GLOB_SUBST
144 else
145 case \`(set -o) 2>/dev/null\` in #(
146 *posix*) :
147 set -o posix ;; #(
148 *) :
150 esac
153 as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
159 exitcode=0
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
166 else
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
174 if (eval "$as_required") 2>/dev/null; then :
175 as_have_required=yes
176 else
177 as_have_required=no
179 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181 else
182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
183 as_found=false
184 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186 IFS=$as_save_IFS
187 test -z "$as_dir" && as_dir=.
188 as_found=:
189 case $as_dir in #(
191 for as_base in sh bash ksh sh5; do
192 # Try only shells that exist, to save several forks.
193 as_shell=$as_dir/$as_base
194 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
195 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
196 CONFIG_SHELL=$as_shell as_have_required=yes
197 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
198 break 2
201 done;;
202 esac
203 as_found=false
204 done
205 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
206 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
207 CONFIG_SHELL=$SHELL as_have_required=yes
208 fi; }
209 IFS=$as_save_IFS
212 if test "x$CONFIG_SHELL" != x; then :
213 # We cannot yet assume a decent shell, so we have to provide a
214 # neutralization value for shells without unset; and this also
215 # works around shells that cannot unset nonexistent variables.
216 BASH_ENV=/dev/null
217 ENV=/dev/null
218 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
219 export CONFIG_SHELL
220 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
223 if test x$as_have_required = xno; then :
224 $as_echo "$0: This script requires a shell more modern than all"
225 $as_echo "$0: the shells that I found on your system."
226 if test x${ZSH_VERSION+set} = xset ; then
227 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
228 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 else
230 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
231 $0: including any error possibly output before this
232 $0: message. Then install a modern shell, or manually run
233 $0: the script under such a shell if you do have one."
235 exit 1
239 SHELL=${CONFIG_SHELL-/bin/sh}
240 export SHELL
241 # Unset more variables known to interfere with behavior of common tools.
242 CLICOLOR_FORCE= GREP_OPTIONS=
243 unset CLICOLOR_FORCE GREP_OPTIONS
245 ## --------------------- ##
246 ## M4sh Shell Functions. ##
247 ## --------------------- ##
248 # as_fn_unset VAR
249 # ---------------
250 # Portably unset VAR.
251 as_fn_unset ()
253 { eval $1=; unset $1;}
255 as_unset=as_fn_unset
257 # as_fn_set_status STATUS
258 # -----------------------
259 # Set $? to STATUS, without forking.
260 as_fn_set_status ()
262 return $1
263 } # as_fn_set_status
265 # as_fn_exit STATUS
266 # -----------------
267 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
268 as_fn_exit ()
270 set +e
271 as_fn_set_status $1
272 exit $1
273 } # as_fn_exit
275 # as_fn_mkdir_p
276 # -------------
277 # Create "$as_dir" as a directory, including parents if necessary.
278 as_fn_mkdir_p ()
281 case $as_dir in #(
282 -*) as_dir=./$as_dir;;
283 esac
284 test -d "$as_dir" || eval $as_mkdir_p || {
285 as_dirs=
286 while :; do
287 case $as_dir in #(
288 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
289 *) as_qdir=$as_dir;;
290 esac
291 as_dirs="'$as_qdir' $as_dirs"
292 as_dir=`$as_dirname -- "$as_dir" ||
293 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
294 X"$as_dir" : 'X\(//\)[^/]' \| \
295 X"$as_dir" : 'X\(//\)$' \| \
296 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
297 $as_echo X"$as_dir" |
298 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
299 s//\1/
302 /^X\(\/\/\)[^/].*/{
303 s//\1/
306 /^X\(\/\/\)$/{
307 s//\1/
310 /^X\(\/\).*/{
311 s//\1/
314 s/.*/./; q'`
315 test -d "$as_dir" && break
316 done
317 test -z "$as_dirs" || eval "mkdir $as_dirs"
318 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
321 } # as_fn_mkdir_p
322 # as_fn_append VAR VALUE
323 # ----------------------
324 # Append the text in VALUE to the end of the definition contained in VAR. Take
325 # advantage of any shell optimizations that allow amortized linear growth over
326 # repeated appends, instead of the typical quadratic growth present in naive
327 # implementations.
328 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
329 eval 'as_fn_append ()
331 eval $1+=\$2
333 else
334 as_fn_append ()
336 eval $1=\$$1\$2
338 fi # as_fn_append
340 # as_fn_arith ARG...
341 # ------------------
342 # Perform arithmetic evaluation on the ARGs, and store the result in the
343 # global $as_val. Take advantage of shells that can avoid forks. The arguments
344 # must be portable across $(()) and expr.
345 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
346 eval 'as_fn_arith ()
348 as_val=$(( $* ))
350 else
351 as_fn_arith ()
353 as_val=`expr "$@" || test $? -eq 1`
355 fi # as_fn_arith
358 # as_fn_error ERROR [LINENO LOG_FD]
359 # ---------------------------------
360 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
361 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
362 # script with status $?, using 1 if that was 0.
363 as_fn_error ()
365 as_status=$?; test $as_status -eq 0 && as_status=1
366 if test "$3"; then
367 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
368 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
370 $as_echo "$as_me: error: $1" >&2
371 as_fn_exit $as_status
372 } # as_fn_error
374 if expr a : '\(a\)' >/dev/null 2>&1 &&
375 test "X`expr 00001 : '.*\(...\)'`" = X001; then
376 as_expr=expr
377 else
378 as_expr=false
381 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
382 as_basename=basename
383 else
384 as_basename=false
387 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
388 as_dirname=dirname
389 else
390 as_dirname=false
393 as_me=`$as_basename -- "$0" ||
394 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
395 X"$0" : 'X\(//\)$' \| \
396 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 $as_echo X/"$0" |
398 sed '/^.*\/\([^/][^/]*\)\/*$/{
399 s//\1/
402 /^X\/\(\/\/\)$/{
403 s//\1/
406 /^X\/\(\/\).*/{
407 s//\1/
410 s/.*/./; q'`
412 # Avoid depending upon Character Ranges.
413 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
414 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
415 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
416 as_cr_digits='0123456789'
417 as_cr_alnum=$as_cr_Letters$as_cr_digits
420 as_lineno_1=$LINENO as_lineno_1a=$LINENO
421 as_lineno_2=$LINENO as_lineno_2a=$LINENO
422 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
423 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
424 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
425 sed -n '
427 /[$]LINENO/=
428 ' <$as_myself |
429 sed '
430 s/[$]LINENO.*/&-/
431 t lineno
433 :lineno
435 :loop
436 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
437 t loop
438 s/-\n.*//
439 ' >$as_me.lineno &&
440 chmod +x "$as_me.lineno" ||
441 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
443 # Don't try to exec as it changes $[0], causing all sort of problems
444 # (the dirname of $[0] is not the place where we might find the
445 # original and so on. Autoconf is especially sensitive to this).
446 . "./$as_me.lineno"
447 # Exit status is that of the last command.
448 exit
451 ECHO_C= ECHO_N= ECHO_T=
452 case `echo -n x` in #(((((
453 -n*)
454 case `echo 'xy\c'` in
455 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
456 xy) ECHO_C='\c';;
457 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
458 ECHO_T=' ';;
459 esac;;
461 ECHO_N='-n';;
462 esac
464 rm -f conf$$ conf$$.exe conf$$.file
465 if test -d conf$$.dir; then
466 rm -f conf$$.dir/conf$$.file
467 else
468 rm -f conf$$.dir
469 mkdir conf$$.dir 2>/dev/null
471 if (echo >conf$$.file) 2>/dev/null; then
472 if ln -s conf$$.file conf$$ 2>/dev/null; then
473 as_ln_s='ln -s'
474 # ... but there are two gotchas:
475 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
476 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
477 # In both cases, we have to default to `cp -p'.
478 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
479 as_ln_s='cp -p'
480 elif ln conf$$.file conf$$ 2>/dev/null; then
481 as_ln_s=ln
482 else
483 as_ln_s='cp -p'
485 else
486 as_ln_s='cp -p'
488 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
489 rmdir conf$$.dir 2>/dev/null
491 if mkdir -p . 2>/dev/null; then
492 as_mkdir_p='mkdir -p "$as_dir"'
493 else
494 test -d ./-p && rmdir ./-p
495 as_mkdir_p=false
498 if test -x / >/dev/null 2>&1; then
499 as_test_x='test -x'
500 else
501 if ls -dL / >/dev/null 2>&1; then
502 as_ls_L_option=L
503 else
504 as_ls_L_option=
506 as_test_x='
507 eval sh -c '\''
508 if test -d "$1"; then
509 test -d "$1/.";
510 else
511 case $1 in #(
512 -*)set "./$1";;
513 esac;
514 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
515 ???[sx]*):;;*)false;;esac;fi
516 '\'' sh
519 as_executable_p=$as_test_x
521 # Sed expression to map a string onto a valid CPP name.
522 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524 # Sed expression to map a string onto a valid variable name.
525 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
528 test -n "$DJDIR" || exec 7<&0 </dev/null
529 exec 6>&1
531 # Name of the host.
532 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
533 # so uname gets run too.
534 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 # Initializations.
539 ac_default_prefix=/usr/local
540 ac_clean_files=
541 ac_config_libobj_dir=.
542 LIBOBJS=
543 cross_compiling=no
544 subdirs=
545 MFLAGS=
546 MAKEFLAGS=
548 # Identity of this package.
549 PACKAGE_NAME=
550 PACKAGE_TARNAME=
551 PACKAGE_VERSION=
552 PACKAGE_STRING=
553 PACKAGE_BUGREPORT=
554 PACKAGE_URL=
556 ac_unique_file="lisp/gnus.el"
557 ac_subst_vars='LTLIBOBJS
558 LIBOBJS
559 USE_FONTS
560 WITHOUT_FONTS_bcr
561 WITH_FONTS_bcr
562 WITHOUT_FONTS_pfu
563 WITH_FONTS_pfu
564 WITHOUT_FONTS_bembo
565 WITH_FONTS_bembo
566 LATEX
567 FLAGS
569 HAVE_w3_forms
571 HAVE_url
572 info_dir
573 etcdir
574 lispdir
575 EMACS_FLAVOR
576 XEMACS
577 EMACS
578 MAKEINFO
579 INSTALL_DATA
580 INSTALL_SCRIPT
581 INSTALL_PROGRAM
582 SET_MAKE
583 target_alias
584 host_alias
585 build_alias
586 LIBS
587 ECHO_T
588 ECHO_N
589 ECHO_C
590 DEFS
591 mandir
592 localedir
593 libdir
594 psdir
595 pdfdir
596 dvidir
597 htmldir
598 infodir
599 docdir
600 oldincludedir
601 includedir
602 localstatedir
603 sharedstatedir
604 sysconfdir
605 datadir
606 datarootdir
607 libexecdir
608 sbindir
609 bindir
610 program_transform_name
611 prefix
612 exec_prefix
613 PACKAGE_URL
614 PACKAGE_BUGREPORT
615 PACKAGE_STRING
616 PACKAGE_VERSION
617 PACKAGE_TARNAME
618 PACKAGE_NAME
619 PATH_SEPARATOR
620 SHELL'
621 ac_subst_files=''
622 ac_user_opts='
623 enable_option_checking
624 with_xemacs
625 with_emacs
626 with_lispdir
627 with_etcdir
628 with_url
629 with_w3
630 with_fonts
632 ac_precious_vars='build_alias
633 host_alias
634 target_alias'
637 # Initialize some variables set by options.
638 ac_init_help=
639 ac_init_version=false
640 ac_unrecognized_opts=
641 ac_unrecognized_sep=
642 # The variables have the same names as the options, with
643 # dashes changed to underlines.
644 cache_file=/dev/null
645 exec_prefix=NONE
646 no_create=
647 no_recursion=
648 prefix=NONE
649 program_prefix=NONE
650 program_suffix=NONE
651 program_transform_name=s,x,x,
652 silent=
653 site=
654 srcdir=
655 verbose=
656 x_includes=NONE
657 x_libraries=NONE
659 # Installation directory options.
660 # These are left unexpanded so users can "make install exec_prefix=/foo"
661 # and all the variables that are supposed to be based on exec_prefix
662 # by default will actually change.
663 # Use braces instead of parens because sh, perl, etc. also accept them.
664 # (The list follows the same order as the GNU Coding Standards.)
665 bindir='${exec_prefix}/bin'
666 sbindir='${exec_prefix}/sbin'
667 libexecdir='${exec_prefix}/libexec'
668 datarootdir='${prefix}/share'
669 datadir='${datarootdir}'
670 sysconfdir='${prefix}/etc'
671 sharedstatedir='${prefix}/com'
672 localstatedir='${prefix}/var'
673 includedir='${prefix}/include'
674 oldincludedir='/usr/include'
675 docdir='${datarootdir}/doc/${PACKAGE}'
676 infodir='${datarootdir}/info'
677 htmldir='${docdir}'
678 dvidir='${docdir}'
679 pdfdir='${docdir}'
680 psdir='${docdir}'
681 libdir='${exec_prefix}/lib'
682 localedir='${datarootdir}/locale'
683 mandir='${datarootdir}/man'
685 ac_prev=
686 ac_dashdash=
687 for ac_option
689 # If the previous option needs an argument, assign it.
690 if test -n "$ac_prev"; then
691 eval $ac_prev=\$ac_option
692 ac_prev=
693 continue
696 case $ac_option in
697 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
698 *) ac_optarg=yes ;;
699 esac
701 # Accept the important Cygnus configure options, so we can diagnose typos.
703 case $ac_dashdash$ac_option in
705 ac_dashdash=yes ;;
707 -bindir | --bindir | --bindi | --bind | --bin | --bi)
708 ac_prev=bindir ;;
709 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
710 bindir=$ac_optarg ;;
712 -build | --build | --buil | --bui | --bu)
713 ac_prev=build_alias ;;
714 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
715 build_alias=$ac_optarg ;;
717 -cache-file | --cache-file | --cache-fil | --cache-fi \
718 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
719 ac_prev=cache_file ;;
720 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
721 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
722 cache_file=$ac_optarg ;;
724 --config-cache | -C)
725 cache_file=config.cache ;;
727 -datadir | --datadir | --datadi | --datad)
728 ac_prev=datadir ;;
729 -datadir=* | --datadir=* | --datadi=* | --datad=*)
730 datadir=$ac_optarg ;;
732 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
733 | --dataroo | --dataro | --datar)
734 ac_prev=datarootdir ;;
735 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
736 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
737 datarootdir=$ac_optarg ;;
739 -disable-* | --disable-*)
740 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
741 # Reject names that are not valid shell variable names.
742 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
743 as_fn_error "invalid feature name: $ac_useropt"
744 ac_useropt_orig=$ac_useropt
745 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
746 case $ac_user_opts in
748 "enable_$ac_useropt"
749 "*) ;;
750 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
751 ac_unrecognized_sep=', ';;
752 esac
753 eval enable_$ac_useropt=no ;;
755 -docdir | --docdir | --docdi | --doc | --do)
756 ac_prev=docdir ;;
757 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
758 docdir=$ac_optarg ;;
760 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
761 ac_prev=dvidir ;;
762 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
763 dvidir=$ac_optarg ;;
765 -enable-* | --enable-*)
766 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
767 # Reject names that are not valid shell variable names.
768 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
769 as_fn_error "invalid feature name: $ac_useropt"
770 ac_useropt_orig=$ac_useropt
771 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
772 case $ac_user_opts in
774 "enable_$ac_useropt"
775 "*) ;;
776 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
777 ac_unrecognized_sep=', ';;
778 esac
779 eval enable_$ac_useropt=\$ac_optarg ;;
781 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
782 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
783 | --exec | --exe | --ex)
784 ac_prev=exec_prefix ;;
785 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
786 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
787 | --exec=* | --exe=* | --ex=*)
788 exec_prefix=$ac_optarg ;;
790 -gas | --gas | --ga | --g)
791 # Obsolete; use --with-gas.
792 with_gas=yes ;;
794 -help | --help | --hel | --he | -h)
795 ac_init_help=long ;;
796 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
797 ac_init_help=recursive ;;
798 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
799 ac_init_help=short ;;
801 -host | --host | --hos | --ho)
802 ac_prev=host_alias ;;
803 -host=* | --host=* | --hos=* | --ho=*)
804 host_alias=$ac_optarg ;;
806 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
807 ac_prev=htmldir ;;
808 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
809 | --ht=*)
810 htmldir=$ac_optarg ;;
812 -includedir | --includedir | --includedi | --included | --include \
813 | --includ | --inclu | --incl | --inc)
814 ac_prev=includedir ;;
815 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
816 | --includ=* | --inclu=* | --incl=* | --inc=*)
817 includedir=$ac_optarg ;;
819 -infodir | --infodir | --infodi | --infod | --info | --inf)
820 ac_prev=infodir ;;
821 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
822 infodir=$ac_optarg ;;
824 -libdir | --libdir | --libdi | --libd)
825 ac_prev=libdir ;;
826 -libdir=* | --libdir=* | --libdi=* | --libd=*)
827 libdir=$ac_optarg ;;
829 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
830 | --libexe | --libex | --libe)
831 ac_prev=libexecdir ;;
832 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
833 | --libexe=* | --libex=* | --libe=*)
834 libexecdir=$ac_optarg ;;
836 -localedir | --localedir | --localedi | --localed | --locale)
837 ac_prev=localedir ;;
838 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
839 localedir=$ac_optarg ;;
841 -localstatedir | --localstatedir | --localstatedi | --localstated \
842 | --localstate | --localstat | --localsta | --localst | --locals)
843 ac_prev=localstatedir ;;
844 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
845 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
846 localstatedir=$ac_optarg ;;
848 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
849 ac_prev=mandir ;;
850 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
851 mandir=$ac_optarg ;;
853 -nfp | --nfp | --nf)
854 # Obsolete; use --without-fp.
855 with_fp=no ;;
857 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
858 | --no-cr | --no-c | -n)
859 no_create=yes ;;
861 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
862 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
863 no_recursion=yes ;;
865 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
866 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
867 | --oldin | --oldi | --old | --ol | --o)
868 ac_prev=oldincludedir ;;
869 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
870 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
871 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
872 oldincludedir=$ac_optarg ;;
874 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
875 ac_prev=prefix ;;
876 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
877 prefix=$ac_optarg ;;
879 -program-prefix | --program-prefix | --program-prefi | --program-pref \
880 | --program-pre | --program-pr | --program-p)
881 ac_prev=program_prefix ;;
882 -program-prefix=* | --program-prefix=* | --program-prefi=* \
883 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
884 program_prefix=$ac_optarg ;;
886 -program-suffix | --program-suffix | --program-suffi | --program-suff \
887 | --program-suf | --program-su | --program-s)
888 ac_prev=program_suffix ;;
889 -program-suffix=* | --program-suffix=* | --program-suffi=* \
890 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
891 program_suffix=$ac_optarg ;;
893 -program-transform-name | --program-transform-name \
894 | --program-transform-nam | --program-transform-na \
895 | --program-transform-n | --program-transform- \
896 | --program-transform | --program-transfor \
897 | --program-transfo | --program-transf \
898 | --program-trans | --program-tran \
899 | --progr-tra | --program-tr | --program-t)
900 ac_prev=program_transform_name ;;
901 -program-transform-name=* | --program-transform-name=* \
902 | --program-transform-nam=* | --program-transform-na=* \
903 | --program-transform-n=* | --program-transform-=* \
904 | --program-transform=* | --program-transfor=* \
905 | --program-transfo=* | --program-transf=* \
906 | --program-trans=* | --program-tran=* \
907 | --progr-tra=* | --program-tr=* | --program-t=*)
908 program_transform_name=$ac_optarg ;;
910 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
911 ac_prev=pdfdir ;;
912 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
913 pdfdir=$ac_optarg ;;
915 -psdir | --psdir | --psdi | --psd | --ps)
916 ac_prev=psdir ;;
917 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
918 psdir=$ac_optarg ;;
920 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
921 | -silent | --silent | --silen | --sile | --sil)
922 silent=yes ;;
924 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
925 ac_prev=sbindir ;;
926 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
927 | --sbi=* | --sb=*)
928 sbindir=$ac_optarg ;;
930 -sharedstatedir | --sharedstatedir | --sharedstatedi \
931 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
932 | --sharedst | --shareds | --shared | --share | --shar \
933 | --sha | --sh)
934 ac_prev=sharedstatedir ;;
935 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
936 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
937 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
938 | --sha=* | --sh=*)
939 sharedstatedir=$ac_optarg ;;
941 -site | --site | --sit)
942 ac_prev=site ;;
943 -site=* | --site=* | --sit=*)
944 site=$ac_optarg ;;
946 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
947 ac_prev=srcdir ;;
948 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
949 srcdir=$ac_optarg ;;
951 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
952 | --syscon | --sysco | --sysc | --sys | --sy)
953 ac_prev=sysconfdir ;;
954 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
955 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
956 sysconfdir=$ac_optarg ;;
958 -target | --target | --targe | --targ | --tar | --ta | --t)
959 ac_prev=target_alias ;;
960 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
961 target_alias=$ac_optarg ;;
963 -v | -verbose | --verbose | --verbos | --verbo | --verb)
964 verbose=yes ;;
966 -version | --version | --versio | --versi | --vers | -V)
967 ac_init_version=: ;;
969 -with-* | --with-*)
970 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
971 # Reject names that are not valid shell variable names.
972 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
973 as_fn_error "invalid package name: $ac_useropt"
974 ac_useropt_orig=$ac_useropt
975 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
976 case $ac_user_opts in
978 "with_$ac_useropt"
979 "*) ;;
980 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
981 ac_unrecognized_sep=', ';;
982 esac
983 eval with_$ac_useropt=\$ac_optarg ;;
985 -without-* | --without-*)
986 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
987 # Reject names that are not valid shell variable names.
988 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
989 as_fn_error "invalid package name: $ac_useropt"
990 ac_useropt_orig=$ac_useropt
991 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
992 case $ac_user_opts in
994 "with_$ac_useropt"
995 "*) ;;
996 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
997 ac_unrecognized_sep=', ';;
998 esac
999 eval with_$ac_useropt=no ;;
1001 --x)
1002 # Obsolete; use --with-x.
1003 with_x=yes ;;
1005 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1006 | --x-incl | --x-inc | --x-in | --x-i)
1007 ac_prev=x_includes ;;
1008 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1009 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1010 x_includes=$ac_optarg ;;
1012 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1013 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1014 ac_prev=x_libraries ;;
1015 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1016 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1017 x_libraries=$ac_optarg ;;
1019 -*) as_fn_error "unrecognized option: \`$ac_option'
1020 Try \`$0 --help' for more information."
1023 *=*)
1024 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1025 # Reject names that are not valid shell variable names.
1026 case $ac_envvar in #(
1027 '' | [0-9]* | *[!_$as_cr_alnum]* )
1028 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1029 esac
1030 eval $ac_envvar=\$ac_optarg
1031 export $ac_envvar ;;
1034 # FIXME: should be removed in autoconf 3.0.
1035 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1036 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1037 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1038 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1041 esac
1042 done
1044 if test -n "$ac_prev"; then
1045 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1046 as_fn_error "missing argument to $ac_option"
1049 if test -n "$ac_unrecognized_opts"; then
1050 case $enable_option_checking in
1051 no) ;;
1052 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1053 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1054 esac
1057 # Check all directory arguments for consistency.
1058 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1059 datadir sysconfdir sharedstatedir localstatedir includedir \
1060 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1061 libdir localedir mandir
1063 eval ac_val=\$$ac_var
1064 # Remove trailing slashes.
1065 case $ac_val in
1066 */ )
1067 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1068 eval $ac_var=\$ac_val;;
1069 esac
1070 # Be sure to have absolute directory names.
1071 case $ac_val in
1072 [\\/$]* | ?:[\\/]* ) continue;;
1073 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1074 esac
1075 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1076 done
1078 # There might be people who depend on the old broken behavior: `$host'
1079 # used to hold the argument of --host etc.
1080 # FIXME: To remove some day.
1081 build=$build_alias
1082 host=$host_alias
1083 target=$target_alias
1085 # FIXME: To remove some day.
1086 if test "x$host_alias" != x; then
1087 if test "x$build_alias" = x; then
1088 cross_compiling=maybe
1089 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1090 If a cross compiler is detected then cross compile mode will be used." >&2
1091 elif test "x$build_alias" != "x$host_alias"; then
1092 cross_compiling=yes
1096 ac_tool_prefix=
1097 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1099 test "$silent" = yes && exec 6>/dev/null
1102 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1103 ac_ls_di=`ls -di .` &&
1104 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1105 as_fn_error "working directory cannot be determined"
1106 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1107 as_fn_error "pwd does not report name of working directory"
1110 # Find the source files, if location was not specified.
1111 if test -z "$srcdir"; then
1112 ac_srcdir_defaulted=yes
1113 # Try the directory containing this script, then the parent directory.
1114 ac_confdir=`$as_dirname -- "$as_myself" ||
1115 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1116 X"$as_myself" : 'X\(//\)[^/]' \| \
1117 X"$as_myself" : 'X\(//\)$' \| \
1118 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1119 $as_echo X"$as_myself" |
1120 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1121 s//\1/
1124 /^X\(\/\/\)[^/].*/{
1125 s//\1/
1128 /^X\(\/\/\)$/{
1129 s//\1/
1132 /^X\(\/\).*/{
1133 s//\1/
1136 s/.*/./; q'`
1137 srcdir=$ac_confdir
1138 if test ! -r "$srcdir/$ac_unique_file"; then
1139 srcdir=..
1141 else
1142 ac_srcdir_defaulted=no
1144 if test ! -r "$srcdir/$ac_unique_file"; then
1145 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1146 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1148 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1149 ac_abs_confdir=`(
1150 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1151 pwd)`
1152 # When building in place, set srcdir=.
1153 if test "$ac_abs_confdir" = "$ac_pwd"; then
1154 srcdir=.
1156 # Remove unnecessary trailing slashes from srcdir.
1157 # Double slashes in file names in object file debugging info
1158 # mess up M-x gdb in Emacs.
1159 case $srcdir in
1160 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1161 esac
1162 for ac_var in $ac_precious_vars; do
1163 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1164 eval ac_env_${ac_var}_value=\$${ac_var}
1165 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1166 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1167 done
1170 # Report the --help message.
1172 if test "$ac_init_help" = "long"; then
1173 # Omit some internal or obsolete options to make the list less imposing.
1174 # This message is too long to be a string in the A/UX 3.1 sh.
1175 cat <<_ACEOF
1176 \`configure' configures this package to adapt to many kinds of systems.
1178 Usage: $0 [OPTION]... [VAR=VALUE]...
1180 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1181 VAR=VALUE. See below for descriptions of some of the useful variables.
1183 Defaults for the options are specified in brackets.
1185 Configuration:
1186 -h, --help display this help and exit
1187 --help=short display options specific to this package
1188 --help=recursive display the short help of all the included packages
1189 -V, --version display version information and exit
1190 -q, --quiet, --silent do not print \`checking...' messages
1191 --cache-file=FILE cache test results in FILE [disabled]
1192 -C, --config-cache alias for \`--cache-file=config.cache'
1193 -n, --no-create do not create output files
1194 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1196 Installation directories:
1197 --prefix=PREFIX install architecture-independent files in PREFIX
1198 [$ac_default_prefix]
1199 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1200 [PREFIX]
1202 By default, \`make install' will install all the files in
1203 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1204 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1205 for instance \`--prefix=\$HOME'.
1207 For better control, use the options below.
1209 Fine tuning of the installation directories:
1210 --bindir=DIR user executables [EPREFIX/bin]
1211 --sbindir=DIR system admin executables [EPREFIX/sbin]
1212 --libexecdir=DIR program executables [EPREFIX/libexec]
1213 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1214 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1215 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1216 --libdir=DIR object code libraries [EPREFIX/lib]
1217 --includedir=DIR C header files [PREFIX/include]
1218 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1219 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1220 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1221 --infodir=DIR info documentation [DATAROOTDIR/info]
1222 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1223 --mandir=DIR man documentation [DATAROOTDIR/man]
1224 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1225 --htmldir=DIR html documentation [DOCDIR]
1226 --dvidir=DIR dvi documentation [DOCDIR]
1227 --pdfdir=DIR pdf documentation [DOCDIR]
1228 --psdir=DIR ps documentation [DOCDIR]
1229 _ACEOF
1231 cat <<\_ACEOF
1232 _ACEOF
1235 if test -n "$ac_init_help"; then
1237 cat <<\_ACEOF
1239 Optional Packages:
1240 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1241 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1242 --with-xemacs[=PROG] use XEmacs to build (default: PROG=xemacs)
1243 --with-emacs[=PROG] use Emacs to build (default: PROG=emacs)
1244 --with-lispdir=DIR Where to install lisp files
1245 --with-etcdir=DIR Where to install etc files
1246 --with-url=DIR Specify where to find the url package
1247 --with-w3=DIR Specify where to find the w3 package
1248 --with-fonts Assume all fonts required are available
1250 Report bugs to the package provider.
1251 _ACEOF
1252 ac_status=$?
1255 if test "$ac_init_help" = "recursive"; then
1256 # If there are subdirs, report their specific --help.
1257 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1258 test -d "$ac_dir" ||
1259 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1260 continue
1261 ac_builddir=.
1263 case "$ac_dir" in
1264 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1266 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1267 # A ".." for each directory in $ac_dir_suffix.
1268 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1269 case $ac_top_builddir_sub in
1270 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1271 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1272 esac ;;
1273 esac
1274 ac_abs_top_builddir=$ac_pwd
1275 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1276 # for backward compatibility:
1277 ac_top_builddir=$ac_top_build_prefix
1279 case $srcdir in
1280 .) # We are building in place.
1281 ac_srcdir=.
1282 ac_top_srcdir=$ac_top_builddir_sub
1283 ac_abs_top_srcdir=$ac_pwd ;;
1284 [\\/]* | ?:[\\/]* ) # Absolute name.
1285 ac_srcdir=$srcdir$ac_dir_suffix;
1286 ac_top_srcdir=$srcdir
1287 ac_abs_top_srcdir=$srcdir ;;
1288 *) # Relative name.
1289 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1290 ac_top_srcdir=$ac_top_build_prefix$srcdir
1291 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1292 esac
1293 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1295 cd "$ac_dir" || { ac_status=$?; continue; }
1296 # Check for guested configure.
1297 if test -f "$ac_srcdir/configure.gnu"; then
1298 echo &&
1299 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1300 elif test -f "$ac_srcdir/configure"; then
1301 echo &&
1302 $SHELL "$ac_srcdir/configure" --help=recursive
1303 else
1304 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1305 fi || ac_status=$?
1306 cd "$ac_pwd" || { ac_status=$?; break; }
1307 done
1310 test -n "$ac_init_help" && exit $ac_status
1311 if $ac_init_version; then
1312 cat <<\_ACEOF
1313 configure
1314 generated by GNU Autoconf 2.65
1316 Copyright (C) 2009 Free Software Foundation, Inc.
1317 This configure script is free software; the Free Software Foundation
1318 gives unlimited permission to copy, distribute and modify it.
1319 _ACEOF
1320 exit
1323 ## ------------------------ ##
1324 ## Autoconf initialization. ##
1325 ## ------------------------ ##
1326 cat >config.log <<_ACEOF
1327 This file contains any messages produced by compilers while
1328 running configure, to aid debugging if configure makes a mistake.
1330 It was created by $as_me, which was
1331 generated by GNU Autoconf 2.65. Invocation command line was
1333 $ $0 $@
1335 _ACEOF
1336 exec 5>>config.log
1338 cat <<_ASUNAME
1339 ## --------- ##
1340 ## Platform. ##
1341 ## --------- ##
1343 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1344 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1345 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1346 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1347 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1349 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1350 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1352 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1353 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1354 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1355 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1356 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1357 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1358 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1360 _ASUNAME
1362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1363 for as_dir in $PATH
1365 IFS=$as_save_IFS
1366 test -z "$as_dir" && as_dir=.
1367 $as_echo "PATH: $as_dir"
1368 done
1369 IFS=$as_save_IFS
1371 } >&5
1373 cat >&5 <<_ACEOF
1376 ## ----------- ##
1377 ## Core tests. ##
1378 ## ----------- ##
1380 _ACEOF
1383 # Keep a trace of the command line.
1384 # Strip out --no-create and --no-recursion so they do not pile up.
1385 # Strip out --silent because we don't want to record it for future runs.
1386 # Also quote any args containing shell meta-characters.
1387 # Make two passes to allow for proper duplicate-argument suppression.
1388 ac_configure_args=
1389 ac_configure_args0=
1390 ac_configure_args1=
1391 ac_must_keep_next=false
1392 for ac_pass in 1 2
1394 for ac_arg
1396 case $ac_arg in
1397 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1398 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1399 | -silent | --silent | --silen | --sile | --sil)
1400 continue ;;
1401 *\'*)
1402 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1403 esac
1404 case $ac_pass in
1405 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1407 as_fn_append ac_configure_args1 " '$ac_arg'"
1408 if test $ac_must_keep_next = true; then
1409 ac_must_keep_next=false # Got value, back to normal.
1410 else
1411 case $ac_arg in
1412 *=* | --config-cache | -C | -disable-* | --disable-* \
1413 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1414 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1415 | -with-* | --with-* | -without-* | --without-* | --x)
1416 case "$ac_configure_args0 " in
1417 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1418 esac
1420 -* ) ac_must_keep_next=true ;;
1421 esac
1423 as_fn_append ac_configure_args " '$ac_arg'"
1425 esac
1426 done
1427 done
1428 { ac_configure_args0=; unset ac_configure_args0;}
1429 { ac_configure_args1=; unset ac_configure_args1;}
1431 # When interrupted or exit'd, cleanup temporary files, and complete
1432 # config.log. We remove comments because anyway the quotes in there
1433 # would cause problems or look ugly.
1434 # WARNING: Use '\'' to represent an apostrophe within the trap.
1435 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1436 trap 'exit_status=$?
1437 # Save into config.log some information that might help in debugging.
1439 echo
1441 cat <<\_ASBOX
1442 ## ---------------- ##
1443 ## Cache variables. ##
1444 ## ---------------- ##
1445 _ASBOX
1446 echo
1447 # The following way of writing the cache mishandles newlines in values,
1449 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1450 eval ac_val=\$$ac_var
1451 case $ac_val in #(
1452 *${as_nl}*)
1453 case $ac_var in #(
1454 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1455 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1456 esac
1457 case $ac_var in #(
1458 _ | IFS | as_nl) ;; #(
1459 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1460 *) { eval $ac_var=; unset $ac_var;} ;;
1461 esac ;;
1462 esac
1463 done
1464 (set) 2>&1 |
1465 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1466 *${as_nl}ac_space=\ *)
1467 sed -n \
1468 "s/'\''/'\''\\\\'\'''\''/g;
1469 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1470 ;; #(
1472 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1474 esac |
1475 sort
1477 echo
1479 cat <<\_ASBOX
1480 ## ----------------- ##
1481 ## Output variables. ##
1482 ## ----------------- ##
1483 _ASBOX
1484 echo
1485 for ac_var in $ac_subst_vars
1487 eval ac_val=\$$ac_var
1488 case $ac_val in
1489 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1490 esac
1491 $as_echo "$ac_var='\''$ac_val'\''"
1492 done | sort
1493 echo
1495 if test -n "$ac_subst_files"; then
1496 cat <<\_ASBOX
1497 ## ------------------- ##
1498 ## File substitutions. ##
1499 ## ------------------- ##
1500 _ASBOX
1501 echo
1502 for ac_var in $ac_subst_files
1504 eval ac_val=\$$ac_var
1505 case $ac_val in
1506 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1507 esac
1508 $as_echo "$ac_var='\''$ac_val'\''"
1509 done | sort
1510 echo
1513 if test -s confdefs.h; then
1514 cat <<\_ASBOX
1515 ## ----------- ##
1516 ## confdefs.h. ##
1517 ## ----------- ##
1518 _ASBOX
1519 echo
1520 cat confdefs.h
1521 echo
1523 test "$ac_signal" != 0 &&
1524 $as_echo "$as_me: caught signal $ac_signal"
1525 $as_echo "$as_me: exit $exit_status"
1526 } >&5
1527 rm -f core *.core core.conftest.* &&
1528 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1529 exit $exit_status
1531 for ac_signal in 1 2 13 15; do
1532 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1533 done
1534 ac_signal=0
1536 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1537 rm -f -r conftest* confdefs.h
1539 $as_echo "/* confdefs.h */" > confdefs.h
1541 # Predefined preprocessor variables.
1543 cat >>confdefs.h <<_ACEOF
1544 #define PACKAGE_NAME "$PACKAGE_NAME"
1545 _ACEOF
1547 cat >>confdefs.h <<_ACEOF
1548 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1549 _ACEOF
1551 cat >>confdefs.h <<_ACEOF
1552 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1553 _ACEOF
1555 cat >>confdefs.h <<_ACEOF
1556 #define PACKAGE_STRING "$PACKAGE_STRING"
1557 _ACEOF
1559 cat >>confdefs.h <<_ACEOF
1560 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1561 _ACEOF
1563 cat >>confdefs.h <<_ACEOF
1564 #define PACKAGE_URL "$PACKAGE_URL"
1565 _ACEOF
1568 # Let the site file select an alternate cache file if it wants to.
1569 # Prefer an explicitly selected file to automatically selected ones.
1570 ac_site_file1=NONE
1571 ac_site_file2=NONE
1572 if test -n "$CONFIG_SITE"; then
1573 ac_site_file1=$CONFIG_SITE
1574 elif test "x$prefix" != xNONE; then
1575 ac_site_file1=$prefix/share/config.site
1576 ac_site_file2=$prefix/etc/config.site
1577 else
1578 ac_site_file1=$ac_default_prefix/share/config.site
1579 ac_site_file2=$ac_default_prefix/etc/config.site
1581 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1583 test "x$ac_site_file" = xNONE && continue
1584 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1585 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1586 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1587 sed 's/^/| /' "$ac_site_file" >&5
1588 . "$ac_site_file"
1590 done
1592 if test -r "$cache_file"; then
1593 # Some versions of bash will fail to source /dev/null (special files
1594 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1595 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1596 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1597 $as_echo "$as_me: loading cache $cache_file" >&6;}
1598 case $cache_file in
1599 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1600 *) . "./$cache_file";;
1601 esac
1603 else
1604 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1605 $as_echo "$as_me: creating cache $cache_file" >&6;}
1606 >$cache_file
1609 # Check that the precious variables saved in the cache have kept the same
1610 # value.
1611 ac_cache_corrupted=false
1612 for ac_var in $ac_precious_vars; do
1613 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1614 eval ac_new_set=\$ac_env_${ac_var}_set
1615 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1616 eval ac_new_val=\$ac_env_${ac_var}_value
1617 case $ac_old_set,$ac_new_set in
1618 set,)
1619 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1620 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1621 ac_cache_corrupted=: ;;
1622 ,set)
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1624 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1625 ac_cache_corrupted=: ;;
1626 ,);;
1628 if test "x$ac_old_val" != "x$ac_new_val"; then
1629 # differences in whitespace do not lead to failure.
1630 ac_old_val_w=`echo x $ac_old_val`
1631 ac_new_val_w=`echo x $ac_new_val`
1632 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1634 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1635 ac_cache_corrupted=:
1636 else
1637 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1638 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1639 eval $ac_var=\$ac_old_val
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1642 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1644 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1645 fi;;
1646 esac
1647 # Pass precious variables to config.status.
1648 if test "$ac_new_set" = set; then
1649 case $ac_new_val in
1650 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1651 *) ac_arg=$ac_var=$ac_new_val ;;
1652 esac
1653 case " $ac_configure_args " in
1654 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1655 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1656 esac
1658 done
1659 if $ac_cache_corrupted; then
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1661 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1663 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1664 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1666 ## -------------------- ##
1667 ## Main body of script. ##
1668 ## -------------------- ##
1670 ac_ext=c
1671 ac_cpp='$CPP $CPPFLAGS'
1672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1678 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
1679 set x ${MAKE-make}
1680 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1681 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
1682 $as_echo_n "(cached) " >&6
1683 else
1684 cat >conftest.make <<\_ACEOF
1685 SHELL = /bin/sh
1686 all:
1687 @echo '@@@%%%=$(MAKE)=@@@%%%'
1688 _ACEOF
1689 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1690 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1691 *@@@%%%=?*=@@@%%%*)
1692 eval ac_cv_prog_make_${ac_make}_set=yes;;
1694 eval ac_cv_prog_make_${ac_make}_set=no;;
1695 esac
1696 rm -f conftest.make
1698 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1700 $as_echo "yes" >&6; }
1701 SET_MAKE=
1702 else
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1704 $as_echo "no" >&6; }
1705 SET_MAKE="MAKE=${MAKE-make}"
1708 ac_aux_dir=
1709 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1710 for ac_t in install-sh install.sh shtool; do
1711 if test -f "$ac_dir/$ac_t"; then
1712 ac_aux_dir=$ac_dir
1713 ac_install_sh="$ac_aux_dir/$ac_t -c"
1714 break 2
1716 done
1717 done
1718 if test -z "$ac_aux_dir"; then
1719 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1722 # These three variables are undocumented and unsupported,
1723 # and are intended to be withdrawn in a future Autoconf release.
1724 # They can cause serious problems if a builder's source tree is in a directory
1725 # whose full name contains unusual characters.
1726 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1727 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1728 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1731 # Find a good install program. We prefer a C program (faster),
1732 # so one script is as good as another. But avoid the broken or
1733 # incompatible versions:
1734 # SysV /etc/install, /usr/sbin/install
1735 # SunOS /usr/etc/install
1736 # IRIX /sbin/install
1737 # AIX /bin/install
1738 # AmigaOS /C/install, which installs bootblocks on floppy discs
1739 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1740 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1741 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1742 # OS/2's system install, which has a completely different semantic
1743 # ./install, which can be erroneously created by make from ./install.sh.
1744 # Reject install programs that cannot install multiple files.
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1746 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1747 if test -z "$INSTALL"; then
1748 if test "${ac_cv_path_install+set}" = set; then :
1749 $as_echo_n "(cached) " >&6
1750 else
1751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1752 for as_dir in $PATH
1754 IFS=$as_save_IFS
1755 test -z "$as_dir" && as_dir=.
1756 # Account for people who put trailing slashes in PATH elements.
1757 case $as_dir/ in #((
1758 ./ | .// | /[cC]/* | \
1759 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1760 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1761 /usr/ucb/* ) ;;
1763 # OSF1 and SCO ODT 3.0 have their own names for install.
1764 # Don't use installbsd from OSF since it installs stuff as root
1765 # by default.
1766 for ac_prog in ginstall scoinst install; do
1767 for ac_exec_ext in '' $ac_executable_extensions; do
1768 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1769 if test $ac_prog = install &&
1770 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1771 # AIX install. It has an incompatible calling convention.
1773 elif test $ac_prog = install &&
1774 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1775 # program-specific install script used by HP pwplus--don't use.
1777 else
1778 rm -rf conftest.one conftest.two conftest.dir
1779 echo one > conftest.one
1780 echo two > conftest.two
1781 mkdir conftest.dir
1782 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1783 test -s conftest.one && test -s conftest.two &&
1784 test -s conftest.dir/conftest.one &&
1785 test -s conftest.dir/conftest.two
1786 then
1787 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1788 break 3
1792 done
1793 done
1795 esac
1797 done
1798 IFS=$as_save_IFS
1800 rm -rf conftest.one conftest.two conftest.dir
1803 if test "${ac_cv_path_install+set}" = set; then
1804 INSTALL=$ac_cv_path_install
1805 else
1806 # As a last resort, use the slow shell script. Don't cache a
1807 # value for INSTALL within a source directory, because that will
1808 # break other packages using the cache if that directory is
1809 # removed, or if the value is a relative name.
1810 INSTALL=$ac_install_sh
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1814 $as_echo "$INSTALL" >&6; }
1816 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1817 # It thinks the first close brace ends the variable substitution.
1818 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1820 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1822 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1825 if test "${EMACS}" = "t"; then
1826 EMACS=""
1830 # Check whether --with-xemacs was given.
1831 if test "${with_xemacs+set}" = set; then :
1832 withval=$with_xemacs; if test "${withval}" = "yes"; then EMACS=xemacs; else EMACS=${withval}; fi
1836 # Check whether --with-emacs was given.
1837 if test "${with_emacs+set}" = set; then :
1838 withval=$with_emacs; if test "${withval}" = "yes"; then EMACS=emacs; else EMACS=${withval}; fi
1841 # Extract the first word of "makeinfo", so it can be a program name with args.
1842 set dummy makeinfo; ac_word=$2
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1844 $as_echo_n "checking for $ac_word... " >&6; }
1845 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
1846 $as_echo_n "(cached) " >&6
1847 else
1848 if test -n "$MAKEINFO"; then
1849 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
1850 else
1851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1852 for as_dir in $PATH
1854 IFS=$as_save_IFS
1855 test -z "$as_dir" && as_dir=.
1856 for ac_exec_ext in '' $ac_executable_extensions; do
1857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1858 ac_cv_prog_MAKEINFO="makeinfo"
1859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1860 break 2
1862 done
1863 done
1864 IFS=$as_save_IFS
1866 test -z "$ac_cv_prog_MAKEINFO" && ac_cv_prog_MAKEINFO="no"
1869 MAKEINFO=$ac_cv_prog_MAKEINFO
1870 if test -n "$MAKEINFO"; then
1871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
1872 $as_echo "$MAKEINFO" >&6; }
1873 else
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1875 $as_echo "no" >&6; }
1880 # Extract the first word of "emacs", so it can be a program name with args.
1881 set dummy emacs; ac_word=$2
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1883 $as_echo_n "checking for $ac_word... " >&6; }
1884 if test "${ac_cv_prog_EMACS+set}" = set; then :
1885 $as_echo_n "(cached) " >&6
1886 else
1887 if test -n "$EMACS"; then
1888 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
1889 else
1890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1891 for as_dir in $PATH
1893 IFS=$as_save_IFS
1894 test -z "$as_dir" && as_dir=.
1895 for ac_exec_ext in '' $ac_executable_extensions; do
1896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1897 ac_cv_prog_EMACS="emacs"
1898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1899 break 2
1901 done
1902 done
1903 IFS=$as_save_IFS
1905 test -z "$ac_cv_prog_EMACS" && ac_cv_prog_EMACS="xemacs"
1908 EMACS=$ac_cv_prog_EMACS
1909 if test -n "$EMACS"; then
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EMACS" >&5
1911 $as_echo "$EMACS" >&6; }
1912 else
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1914 $as_echo "no" >&6; }
1921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $EMACS is really XEmacs" >&5
1922 $as_echo_n "checking if $EMACS is really XEmacs... " >&6; }
1924 elisp="(if (string-match \"XEmacs\" emacs-version) \"yes\" \"no\") "
1925 if test -z ""noecho""; then
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xemacsp" >&5
1927 $as_echo_n "checking for xemacsp... " >&6; }
1929 if test "${EMACS_cv_SYS_xemacsp+set}" = set; then :
1930 $as_echo_n "(cached) " >&6
1931 else
1933 OUTPUT=./conftest-$$
1934 echo ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1
1935 ${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
1936 retval=`cat ${OUTPUT}`
1937 echo "=> ${retval}" >& 5 2>&1
1938 rm -f ${OUTPUT}
1939 EMACS_cv_SYS_xemacsp=$retval
1943 xemacsp=${EMACS_cv_SYS_xemacsp}
1944 if test -z ""noecho""; then
1945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xemacsp" >&5
1946 $as_echo "$xemacsp" >&6; }
1949 XEMACS=${EMACS_cv_SYS_xemacsp}
1950 EMACS_FLAVOR=emacs
1951 if test "$XEMACS" = "yes"; then
1952 EMACS_FLAVOR=xemacs
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XEMACS" >&5
1955 $as_echo "$XEMACS" >&6; }
1959 if test "$prefix" = "NONE"; then
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking prefix for your Emacs" >&5
1961 $as_echo_n "checking prefix for your Emacs... " >&6; }
1963 elisp="(expand-file-name \"..\" invocation-directory)"
1964 if test -z ""noecho""; then
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prefix" >&5
1966 $as_echo_n "checking for prefix... " >&6; }
1968 if test "${EMACS_cv_SYS_prefix+set}" = set; then :
1969 $as_echo_n "(cached) " >&6
1970 else
1972 OUTPUT=./conftest-$$
1973 echo ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1
1974 ${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
1975 retval=`cat ${OUTPUT}`
1976 echo "=> ${retval}" >& 5 2>&1
1977 rm -f ${OUTPUT}
1978 EMACS_cv_SYS_prefix=$retval
1982 prefix=${EMACS_cv_SYS_prefix}
1983 if test -z ""noecho""; then
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $prefix" >&5
1985 $as_echo "$prefix" >&6; }
1988 prefix=${EMACS_cv_SYS_prefix}
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $prefix" >&5
1990 $as_echo "$prefix" >&6; }
1993 # Check whether --with-lispdir was given.
1994 if test "${with_lispdir+set}" = set; then :
1995 withval=$with_lispdir; lispdir=${withval}
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where .elc files should go" >&5
1999 $as_echo_n "checking where .elc files should go... " >&6; }
2000 if test -z "$lispdir"; then
2001 theprefix=$prefix
2002 if test "x$theprefix" = "xNONE"; then
2003 theprefix=$ac_default_prefix
2005 if test "$EMACS_FLAVOR" = "xemacs"; then
2006 datadir="\$(prefix)/lib"
2007 lispdir="\$(datadir)/${EMACS_FLAVOR}/site-packages/lisp/gnus"
2008 else
2009 lispdir="\$(datadir)/${EMACS_FLAVOR}/site-lisp/gnus"
2011 for thedir in share lib; do
2012 potential=
2013 if test -d "${theprefix}/${thedir}/${EMACS_FLAVOR}/site-lisp"; then
2014 if test "$EMACS_FLAVOR" = "xemacs"; then
2015 lispdir="\$(prefix)/${thedir}/${EMACS_FLAVOR}/site-packages/lisp/gnus"
2016 else
2017 lispdir="\$(datadir)/${EMACS_FLAVOR}/site-lisp/gnus"
2019 break
2021 done
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lispdir" >&5
2024 $as_echo "$lispdir" >&6; }
2029 # Check whether --with-etcdir was given.
2030 if test "${with_etcdir+set}" = set; then :
2031 withval=$with_etcdir; etcdir=${withval}
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where etc files should go" >&5
2035 $as_echo_n "checking where etc files should go... " >&6; }
2036 if test -z "$etcdir"; then
2037 if test "$EMACS_FLAVOR" = "xemacs"; then
2038 etcdir="\$(lispdir)/../../etc"
2039 else
2040 etcdir="\$(lispdir)/../../etc"
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $etcdir" >&5
2044 $as_echo "$etcdir" >&6; }
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the TeXinfo docs should go" >&5
2049 $as_echo_n "checking where the TeXinfo docs should go... " >&6; }
2050 if test "$infodir" = "\${prefix}/info"; then
2051 if test "$EMACS_FLAVOR" = "xemacs"; then
2052 info_dir="\$(prefix)/${thedir}/${EMACS_FLAVOR}/site-packages/info"
2053 else
2054 info_dir="\$(prefix)/info"
2056 else
2057 info_dir=$infodir
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $info_dir" >&5
2060 $as_echo "$info_dir" >&6; }
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acceptable URL version" >&5
2065 $as_echo_n "checking for acceptable URL version... " >&6; }
2066 if test "${EMACS_cv_ACCEPTABLE_URL+set}" = set; then :
2067 $as_echo_n "(cached) " >&6
2068 else
2071 if test -z ""noecho""; then
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for url-retrieve in url" >&5
2073 $as_echo_n "checking for url-retrieve in url... " >&6; }
2075 library=`echo url | tr _ -`
2077 elisp="(progn (fmakunbound 'url-retrieve) (condition-case nil (progn (require '$library) (fboundp 'url-retrieve)) (error (prog1 nil (message \"$library not found\")))))"
2078 if test -z ""noecho""; then
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for url" >&5
2080 $as_echo_n "checking for url... " >&6; }
2082 if test "${EMACS_cv_SYS_url+set}" = set; then :
2083 $as_echo_n "(cached) " >&6
2084 else
2086 OUTPUT=./conftest-$$
2087 echo ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1
2088 ${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
2089 retval=`cat ${OUTPUT}`
2090 echo "=> ${retval}" >& 5 2>&1
2091 rm -f ${OUTPUT}
2092 EMACS_cv_SYS_url=$retval
2096 url=${EMACS_cv_SYS_url}
2097 if test -z ""noecho""; then
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $url" >&5
2099 $as_echo "$url" >&6; }
2102 if test "${EMACS_cv_SYS_url}" = "nil"; then
2103 EMACS_cv_SYS_url=no
2105 if test "${EMACS_cv_SYS_url}" = "t"; then
2106 EMACS_cv_SYS_url=yes
2108 HAVE_url=${EMACS_cv_SYS_url}
2110 if test -z ""noecho""; then
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_url" >&5
2112 $as_echo "$HAVE_url" >&6; }
2115 if test "${HAVE_url}" = "yes"; then
2116 EMACS_cv_ACCEPTABLE_URL=yes
2117 else
2118 EMACS_cv_ACCEPTABLE_URL=no
2121 if test "${EMACS_cv_ACCEPTABLE_URL}" = "yes"; then
2123 elisp="(file-name-directory (locate-library \"url\"))"
2124 if test -z ""noecho""; then
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for url_dir" >&5
2126 $as_echo_n "checking for url_dir... " >&6; }
2128 if test "${EMACS_cv_SYS_url_dir+set}" = set; then :
2129 $as_echo_n "(cached) " >&6
2130 else
2132 OUTPUT=./conftest-$$
2133 echo ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1
2134 ${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
2135 retval=`cat ${OUTPUT}`
2136 echo "=> ${retval}" >& 5 2>&1
2137 rm -f ${OUTPUT}
2138 EMACS_cv_SYS_url_dir=$retval
2142 url_dir=${EMACS_cv_SYS_url_dir}
2143 if test -z ""noecho""; then
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $url_dir" >&5
2145 $as_echo "$url_dir" >&6; }
2148 EMACS_cv_ACCEPTABLE_URL=$EMACS_cv_SYS_url_dir
2154 # Check whether --with-url was given.
2155 if test "${with_url+set}" = set; then :
2156 withval=$with_url; EMACS_cv_ACCEPTABLE_URL=`( cd $withval && pwd || echo "$withval" ) 2> /dev/null`
2159 URL=${EMACS_cv_ACCEPTABLE_URL}
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"${URL}\"" >&5
2162 $as_echo "\"${URL}\"" >&6; }
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acceptable W3 version" >&5
2166 $as_echo_n "checking for acceptable W3 version... " >&6; }
2167 if test "${EMACS_cv_ACCEPTABLE_W3+set}" = set; then :
2168 $as_echo_n "(cached) " >&6
2169 else
2172 if test -z ""noecho""; then
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for w3-form-encode-xwfu in w3_forms" >&5
2174 $as_echo_n "checking for w3-form-encode-xwfu in w3_forms... " >&6; }
2176 library=`echo w3_forms | tr _ -`
2178 elisp="(progn (fmakunbound 'w3-form-encode-xwfu) (condition-case nil (progn (require '$library) (fboundp 'w3-form-encode-xwfu)) (error (prog1 nil (message \"$library not found\")))))"
2179 if test -z ""noecho""; then
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for w3_forms" >&5
2181 $as_echo_n "checking for w3_forms... " >&6; }
2183 if test "${EMACS_cv_SYS_w3_forms+set}" = set; then :
2184 $as_echo_n "(cached) " >&6
2185 else
2187 OUTPUT=./conftest-$$
2188 echo ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1
2189 ${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
2190 retval=`cat ${OUTPUT}`
2191 echo "=> ${retval}" >& 5 2>&1
2192 rm -f ${OUTPUT}
2193 EMACS_cv_SYS_w3_forms=$retval
2197 w3_forms=${EMACS_cv_SYS_w3_forms}
2198 if test -z ""noecho""; then
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $w3_forms" >&5
2200 $as_echo "$w3_forms" >&6; }
2203 if test "${EMACS_cv_SYS_w3_forms}" = "nil"; then
2204 EMACS_cv_SYS_w3_forms=no
2206 if test "${EMACS_cv_SYS_w3_forms}" = "t"; then
2207 EMACS_cv_SYS_w3_forms=yes
2209 HAVE_w3_forms=${EMACS_cv_SYS_w3_forms}
2211 if test -z ""noecho""; then
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_w3_forms" >&5
2213 $as_echo "$HAVE_w3_forms" >&6; }
2216 if test "${HAVE_w3_forms}" = "yes"; then
2217 EMACS_cv_ACCEPTABLE_W3=yes
2218 else
2219 EMACS_cv_ACCEPTABLE_W3=no
2222 if test "${EMACS_cv_ACCEPTABLE_W3}" = "yes"; then
2224 elisp="(file-name-directory (locate-library \"w3-forms\"))"
2225 if test -z ""noecho""; then
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for w3_dir" >&5
2227 $as_echo_n "checking for w3_dir... " >&6; }
2229 if test "${EMACS_cv_SYS_w3_dir+set}" = set; then :
2230 $as_echo_n "(cached) " >&6
2231 else
2233 OUTPUT=./conftest-$$
2234 echo ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1
2235 ${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
2236 retval=`cat ${OUTPUT}`
2237 echo "=> ${retval}" >& 5 2>&1
2238 rm -f ${OUTPUT}
2239 EMACS_cv_SYS_w3_dir=$retval
2243 w3_dir=${EMACS_cv_SYS_w3_dir}
2244 if test -z ""noecho""; then
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $w3_dir" >&5
2246 $as_echo "$w3_dir" >&6; }
2249 EMACS_cv_ACCEPTABLE_W3=$EMACS_cv_SYS_w3_dir
2255 # Check whether --with-w3 was given.
2256 if test "${with_w3+set}" = set; then :
2257 withval=$with_w3; EMACS_cv_ACCEPTABLE_W3=`( cd $withval && pwd || echo "$withval" ) 2> /dev/null`
2260 W3=${EMACS_cv_ACCEPTABLE_W3}
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"${W3}\"" >&5
2263 $as_echo "\"${W3}\"" >&6; }
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which options to pass on to (X)Emacs" >&5
2267 $as_echo_n "checking which options to pass on to (X)Emacs... " >&6; }
2268 if test "x$FLAGS" = "x"; then
2269 if test "$EMACS_FLAVOR" = "xemacs"; then
2270 FLAGS="-batch -no-autoloads -l \$(srcdir)/dgnushack.el"
2271 else
2272 FLAGS="-batch -q -no-site-file -l \$(srcdir)/dgnushack.el"
2274 else
2275 FLAGS=$FLAGS
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLAGS" >&5
2278 $as_echo "$FLAGS" >&6; }
2282 test "$LATEX" = t && LATEX=
2283 test "$LATEX" || for ac_prog in latex
2285 # Extract the first word of "$ac_prog", so it can be a program name with args.
2286 set dummy $ac_prog; ac_word=$2
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2288 $as_echo_n "checking for $ac_word... " >&6; }
2289 if test "${ac_cv_path_LATEX+set}" = set; then :
2290 $as_echo_n "(cached) " >&6
2291 else
2292 case $LATEX in
2293 [\\/]* | ?:[\\/]*)
2294 ac_cv_path_LATEX="$LATEX" # Let the user override the test with a path.
2297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2298 for as_dir in $PATH
2300 IFS=$as_save_IFS
2301 test -z "$as_dir" && as_dir=.
2302 for ac_exec_ext in '' $ac_executable_extensions; do
2303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2304 ac_cv_path_LATEX="$as_dir/$ac_word$ac_exec_ext"
2305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2306 break 2
2308 done
2309 done
2310 IFS=$as_save_IFS
2313 esac
2315 LATEX=$ac_cv_path_LATEX
2316 if test -n "$LATEX"; then
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LATEX" >&5
2318 $as_echo "$LATEX" >&6; }
2319 else
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2321 $as_echo "no" >&6; }
2325 test -n "$LATEX" && break
2326 done
2327 test -n "$LATEX" || LATEX="no"
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for available fonts" >&5
2330 $as_echo_n "checking for available fonts... " >&6; }
2332 # Check whether --with-fonts was given.
2333 if test "${with_fonts+set}" = set; then :
2334 withval=$with_fonts; USE_FONTS="$withval"
2337 WITH_FONTS_bembo='%'
2338 WITHOUT_FONTS_bembo=
2339 WITH_FONTS_pfu='%'
2340 WITHOUT_FONTS_pfu=
2341 WITH_FONTS_bcr='%'
2342 WITHOUT_FONTS_bcr=
2343 if test -z "${USE_FONTS}"; then
2344 if test "${LATEX}" = no; then
2346 else
2347 OUTPUT=./conftest-$$
2348 echo '\nonstopmode\documentclass{article}\usepackage{bembo}\begin{document}\end{document}' > ${OUTPUT}
2349 if ${LATEX} ${OUTPUT} </dev/null >& 5 2>&1 ; then
2350 if test -z "${USE_FONTS}"; then
2351 USE_FONTS="Adobe Bembo"
2352 else
2353 USE_FONTS="${USE_FONTS}, Adobe Bembo"
2355 WITH_FONTS_bembo=
2356 WITHOUT_FONTS_bembo='%'
2358 echo '\nonstopmode\documentclass{article}\begin{document}{\fontfamily{pfu}\fontsize{10pt}{10}\selectfont test}\end{document}' > ${OUTPUT}
2359 if retval=`${LATEX} ${OUTPUT} </dev/null 2>& 5`; then
2360 if echo "$retval" | grep 'Some font shapes were not available' >& 5 2>&1 ; then
2362 else
2363 if test -z "${USE_FONTS}"; then
2364 USE_FONTS="Adobe Futura"
2365 else
2366 USE_FONTS="${USE_FONTS}, Adobe Futura"
2368 WITH_FONTS_pfu=
2369 WITHOUT_FONTS_pfu='%'
2372 echo '\nonstopmode\documentclass{article}\begin{document}{\fontfamily{bcr}\fontsize{10pt}{10}\selectfont test}\end{document}' > ${OUTPUT}
2373 if retval=`${LATEX} ${OUTPUT} </dev/null 2>& 5`; then
2374 if echo "$retval" | grep 'Some font shapes were not available' >& 5 2>&1 ; then
2376 else
2377 if test -z "${USE_FONTS}"; then
2378 USE_FONTS="Bitstream Courier"
2379 else
2380 USE_FONTS="${USE_FONTS}, Bitstream Courier"
2382 WITH_FONTS_bcr=
2383 WITHOUT_FONTS_bcr='%'
2386 rm -f ${OUTPUT} ${OUTPUT}.aux ${OUTPUT}.log ${OUTPUT}.dvi
2388 elif test "${USE_FONTS}" = yes ; then
2389 WITH_FONTS_bembo=
2390 WITHOUT_FONTS_bembo='%'
2391 WITH_FONTS_pfu=
2392 WITHOUT_FONTS_pfu='%'
2393 WITH_FONTS_bcr=
2394 WITHOUT_FONTS_bcr='%'
2402 if test -z "${USE_FONTS}" ; then
2403 USE_FONTS=no
2405 USE_FONTS=`echo "${USE_FONTS}" | sed 's/,\([^,]*\)$/ and\1/'`
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"${USE_FONTS}\"" >&5
2407 $as_echo "\"${USE_FONTS}\"" >&6; }
2408 if test "${USE_FONTS}" = yes ; then
2409 USE_FONTS='Set in Adobe Bembo, Adobe Futura and Bitstream Courier.'
2410 elif test "${USE_FONTS}" = no ; then
2411 USE_FONTS=''
2412 else
2413 USE_FONTS="Set in ${USE_FONTS}."
2418 ac_config_files="$ac_config_files Makefile etc/Makefile lisp/Makefile texi/Makefile texi/gnusconfig.tex texi/ps/Makefile"
2420 cat >confcache <<\_ACEOF
2421 # This file is a shell script that caches the results of configure
2422 # tests run on this system so they can be shared between configure
2423 # scripts and configure runs, see configure's option --config-cache.
2424 # It is not useful on other systems. If it contains results you don't
2425 # want to keep, you may remove or edit it.
2427 # config.status only pays attention to the cache file if you give it
2428 # the --recheck option to rerun configure.
2430 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2431 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2432 # following values.
2434 _ACEOF
2436 # The following way of writing the cache mishandles newlines in values,
2437 # but we know of no workaround that is simple, portable, and efficient.
2438 # So, we kill variables containing newlines.
2439 # Ultrix sh set writes to stderr and can't be redirected directly,
2440 # and sets the high bit in the cache file unless we assign to the vars.
2442 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2443 eval ac_val=\$$ac_var
2444 case $ac_val in #(
2445 *${as_nl}*)
2446 case $ac_var in #(
2447 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2448 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2449 esac
2450 case $ac_var in #(
2451 _ | IFS | as_nl) ;; #(
2452 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2453 *) { eval $ac_var=; unset $ac_var;} ;;
2454 esac ;;
2455 esac
2456 done
2458 (set) 2>&1 |
2459 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2460 *${as_nl}ac_space=\ *)
2461 # `set' does not quote correctly, so add quotes: double-quote
2462 # substitution turns \\\\ into \\, and sed turns \\ into \.
2463 sed -n \
2464 "s/'/'\\\\''/g;
2465 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2466 ;; #(
2468 # `set' quotes correctly as required by POSIX, so do not add quotes.
2469 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2471 esac |
2472 sort
2474 sed '
2475 /^ac_cv_env_/b end
2476 t clear
2477 :clear
2478 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2479 t end
2480 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2481 :end' >>confcache
2482 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2483 if test -w "$cache_file"; then
2484 test "x$cache_file" != "x/dev/null" &&
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2486 $as_echo "$as_me: updating cache $cache_file" >&6;}
2487 cat confcache >$cache_file
2488 else
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2490 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2493 rm -f confcache
2495 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2496 # Let make expand exec_prefix.
2497 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2499 # Transform confdefs.h into DEFS.
2500 # Protect against shell expansion while executing Makefile rules.
2501 # Protect against Makefile macro expansion.
2503 # If the first sed substitution is executed (which looks for macros that
2504 # take arguments), then branch to the quote section. Otherwise,
2505 # look for a macro that doesn't take arguments.
2506 ac_script='
2507 :mline
2508 /\\$/{
2510 s,\\\n,,
2511 b mline
2513 t clear
2514 :clear
2515 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2516 t quote
2517 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2518 t quote
2519 b any
2520 :quote
2521 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2522 s/\[/\\&/g
2523 s/\]/\\&/g
2524 s/\$/$$/g
2526 :any
2529 s/^\n//
2530 s/\n/ /g
2534 DEFS=`sed -n "$ac_script" confdefs.h`
2537 ac_libobjs=
2538 ac_ltlibobjs=
2539 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2540 # 1. Remove the extension, and $U if already installed.
2541 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2542 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2543 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2544 # will be set to the directory where LIBOBJS objects are built.
2545 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2546 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2547 done
2548 LIBOBJS=$ac_libobjs
2550 LTLIBOBJS=$ac_ltlibobjs
2554 : ${CONFIG_STATUS=./config.status}
2555 ac_write_fail=0
2556 ac_clean_files_save=$ac_clean_files
2557 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2559 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2560 as_write_fail=0
2561 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2562 #! $SHELL
2563 # Generated by $as_me.
2564 # Run this file to recreate the current configuration.
2565 # Compiler output produced by configure, useful for debugging
2566 # configure, is in config.log if it exists.
2568 debug=false
2569 ac_cs_recheck=false
2570 ac_cs_silent=false
2572 SHELL=\${CONFIG_SHELL-$SHELL}
2573 export SHELL
2574 _ASEOF
2575 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2576 ## -------------------- ##
2577 ## M4sh Initialization. ##
2578 ## -------------------- ##
2580 # Be more Bourne compatible
2581 DUALCASE=1; export DUALCASE # for MKS sh
2582 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2583 emulate sh
2584 NULLCMD=:
2585 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2586 # is contrary to our usage. Disable this feature.
2587 alias -g '${1+"$@"}'='"$@"'
2588 setopt NO_GLOB_SUBST
2589 else
2590 case `(set -o) 2>/dev/null` in #(
2591 *posix*) :
2592 set -o posix ;; #(
2593 *) :
2595 esac
2599 as_nl='
2601 export as_nl
2602 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2603 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2604 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2605 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2606 # Prefer a ksh shell builtin over an external printf program on Solaris,
2607 # but without wasting forks for bash or zsh.
2608 if test -z "$BASH_VERSION$ZSH_VERSION" \
2609 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2610 as_echo='print -r --'
2611 as_echo_n='print -rn --'
2612 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2613 as_echo='printf %s\n'
2614 as_echo_n='printf %s'
2615 else
2616 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2617 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2618 as_echo_n='/usr/ucb/echo -n'
2619 else
2620 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2621 as_echo_n_body='eval
2622 arg=$1;
2623 case $arg in #(
2624 *"$as_nl"*)
2625 expr "X$arg" : "X\\(.*\\)$as_nl";
2626 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2627 esac;
2628 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2630 export as_echo_n_body
2631 as_echo_n='sh -c $as_echo_n_body as_echo'
2633 export as_echo_body
2634 as_echo='sh -c $as_echo_body as_echo'
2637 # The user is always right.
2638 if test "${PATH_SEPARATOR+set}" != set; then
2639 PATH_SEPARATOR=:
2640 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2641 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2642 PATH_SEPARATOR=';'
2647 # IFS
2648 # We need space, tab and new line, in precisely that order. Quoting is
2649 # there to prevent editors from complaining about space-tab.
2650 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2651 # splitting by setting IFS to empty value.)
2652 IFS=" "" $as_nl"
2654 # Find who we are. Look in the path if we contain no directory separator.
2655 case $0 in #((
2656 *[\\/]* ) as_myself=$0 ;;
2657 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2658 for as_dir in $PATH
2660 IFS=$as_save_IFS
2661 test -z "$as_dir" && as_dir=.
2662 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2663 done
2664 IFS=$as_save_IFS
2667 esac
2668 # We did not find ourselves, most probably we were run as `sh COMMAND'
2669 # in which case we are not to be found in the path.
2670 if test "x$as_myself" = x; then
2671 as_myself=$0
2673 if test ! -f "$as_myself"; then
2674 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2675 exit 1
2678 # Unset variables that we do not need and which cause bugs (e.g. in
2679 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2680 # suppresses any "Segmentation fault" message there. '((' could
2681 # trigger a bug in pdksh 5.2.14.
2682 for as_var in BASH_ENV ENV MAIL MAILPATH
2683 do eval test x\${$as_var+set} = xset \
2684 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2685 done
2686 PS1='$ '
2687 PS2='> '
2688 PS4='+ '
2690 # NLS nuisances.
2691 LC_ALL=C
2692 export LC_ALL
2693 LANGUAGE=C
2694 export LANGUAGE
2696 # CDPATH.
2697 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2700 # as_fn_error ERROR [LINENO LOG_FD]
2701 # ---------------------------------
2702 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2703 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2704 # script with status $?, using 1 if that was 0.
2705 as_fn_error ()
2707 as_status=$?; test $as_status -eq 0 && as_status=1
2708 if test "$3"; then
2709 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2710 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
2712 $as_echo "$as_me: error: $1" >&2
2713 as_fn_exit $as_status
2714 } # as_fn_error
2717 # as_fn_set_status STATUS
2718 # -----------------------
2719 # Set $? to STATUS, without forking.
2720 as_fn_set_status ()
2722 return $1
2723 } # as_fn_set_status
2725 # as_fn_exit STATUS
2726 # -----------------
2727 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2728 as_fn_exit ()
2730 set +e
2731 as_fn_set_status $1
2732 exit $1
2733 } # as_fn_exit
2735 # as_fn_unset VAR
2736 # ---------------
2737 # Portably unset VAR.
2738 as_fn_unset ()
2740 { eval $1=; unset $1;}
2742 as_unset=as_fn_unset
2743 # as_fn_append VAR VALUE
2744 # ----------------------
2745 # Append the text in VALUE to the end of the definition contained in VAR. Take
2746 # advantage of any shell optimizations that allow amortized linear growth over
2747 # repeated appends, instead of the typical quadratic growth present in naive
2748 # implementations.
2749 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2750 eval 'as_fn_append ()
2752 eval $1+=\$2
2754 else
2755 as_fn_append ()
2757 eval $1=\$$1\$2
2759 fi # as_fn_append
2761 # as_fn_arith ARG...
2762 # ------------------
2763 # Perform arithmetic evaluation on the ARGs, and store the result in the
2764 # global $as_val. Take advantage of shells that can avoid forks. The arguments
2765 # must be portable across $(()) and expr.
2766 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2767 eval 'as_fn_arith ()
2769 as_val=$(( $* ))
2771 else
2772 as_fn_arith ()
2774 as_val=`expr "$@" || test $? -eq 1`
2776 fi # as_fn_arith
2779 if expr a : '\(a\)' >/dev/null 2>&1 &&
2780 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2781 as_expr=expr
2782 else
2783 as_expr=false
2786 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2787 as_basename=basename
2788 else
2789 as_basename=false
2792 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2793 as_dirname=dirname
2794 else
2795 as_dirname=false
2798 as_me=`$as_basename -- "$0" ||
2799 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2800 X"$0" : 'X\(//\)$' \| \
2801 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2802 $as_echo X/"$0" |
2803 sed '/^.*\/\([^/][^/]*\)\/*$/{
2804 s//\1/
2807 /^X\/\(\/\/\)$/{
2808 s//\1/
2811 /^X\/\(\/\).*/{
2812 s//\1/
2815 s/.*/./; q'`
2817 # Avoid depending upon Character Ranges.
2818 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2819 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2820 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2821 as_cr_digits='0123456789'
2822 as_cr_alnum=$as_cr_Letters$as_cr_digits
2824 ECHO_C= ECHO_N= ECHO_T=
2825 case `echo -n x` in #(((((
2826 -n*)
2827 case `echo 'xy\c'` in
2828 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2829 xy) ECHO_C='\c';;
2830 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
2831 ECHO_T=' ';;
2832 esac;;
2834 ECHO_N='-n';;
2835 esac
2837 rm -f conf$$ conf$$.exe conf$$.file
2838 if test -d conf$$.dir; then
2839 rm -f conf$$.dir/conf$$.file
2840 else
2841 rm -f conf$$.dir
2842 mkdir conf$$.dir 2>/dev/null
2844 if (echo >conf$$.file) 2>/dev/null; then
2845 if ln -s conf$$.file conf$$ 2>/dev/null; then
2846 as_ln_s='ln -s'
2847 # ... but there are two gotchas:
2848 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2849 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2850 # In both cases, we have to default to `cp -p'.
2851 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2852 as_ln_s='cp -p'
2853 elif ln conf$$.file conf$$ 2>/dev/null; then
2854 as_ln_s=ln
2855 else
2856 as_ln_s='cp -p'
2858 else
2859 as_ln_s='cp -p'
2861 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2862 rmdir conf$$.dir 2>/dev/null
2865 # as_fn_mkdir_p
2866 # -------------
2867 # Create "$as_dir" as a directory, including parents if necessary.
2868 as_fn_mkdir_p ()
2871 case $as_dir in #(
2872 -*) as_dir=./$as_dir;;
2873 esac
2874 test -d "$as_dir" || eval $as_mkdir_p || {
2875 as_dirs=
2876 while :; do
2877 case $as_dir in #(
2878 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2879 *) as_qdir=$as_dir;;
2880 esac
2881 as_dirs="'$as_qdir' $as_dirs"
2882 as_dir=`$as_dirname -- "$as_dir" ||
2883 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2884 X"$as_dir" : 'X\(//\)[^/]' \| \
2885 X"$as_dir" : 'X\(//\)$' \| \
2886 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2887 $as_echo X"$as_dir" |
2888 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2889 s//\1/
2892 /^X\(\/\/\)[^/].*/{
2893 s//\1/
2896 /^X\(\/\/\)$/{
2897 s//\1/
2900 /^X\(\/\).*/{
2901 s//\1/
2904 s/.*/./; q'`
2905 test -d "$as_dir" && break
2906 done
2907 test -z "$as_dirs" || eval "mkdir $as_dirs"
2908 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
2911 } # as_fn_mkdir_p
2912 if mkdir -p . 2>/dev/null; then
2913 as_mkdir_p='mkdir -p "$as_dir"'
2914 else
2915 test -d ./-p && rmdir ./-p
2916 as_mkdir_p=false
2919 if test -x / >/dev/null 2>&1; then
2920 as_test_x='test -x'
2921 else
2922 if ls -dL / >/dev/null 2>&1; then
2923 as_ls_L_option=L
2924 else
2925 as_ls_L_option=
2927 as_test_x='
2928 eval sh -c '\''
2929 if test -d "$1"; then
2930 test -d "$1/.";
2931 else
2932 case $1 in #(
2933 -*)set "./$1";;
2934 esac;
2935 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
2936 ???[sx]*):;;*)false;;esac;fi
2937 '\'' sh
2940 as_executable_p=$as_test_x
2942 # Sed expression to map a string onto a valid CPP name.
2943 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2945 # Sed expression to map a string onto a valid variable name.
2946 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2949 exec 6>&1
2950 ## ----------------------------------- ##
2951 ## Main body of $CONFIG_STATUS script. ##
2952 ## ----------------------------------- ##
2953 _ASEOF
2954 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2956 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2957 # Save the log message, to keep $0 and so on meaningful, and to
2958 # report actual input values of CONFIG_FILES etc. instead of their
2959 # values after options handling.
2960 ac_log="
2961 This file was extended by $as_me, which was
2962 generated by GNU Autoconf 2.65. Invocation command line was
2964 CONFIG_FILES = $CONFIG_FILES
2965 CONFIG_HEADERS = $CONFIG_HEADERS
2966 CONFIG_LINKS = $CONFIG_LINKS
2967 CONFIG_COMMANDS = $CONFIG_COMMANDS
2968 $ $0 $@
2970 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2973 _ACEOF
2975 case $ac_config_files in *"
2976 "*) set x $ac_config_files; shift; ac_config_files=$*;;
2977 esac
2981 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2982 # Files that config.status was made for.
2983 config_files="$ac_config_files"
2985 _ACEOF
2987 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2988 ac_cs_usage="\
2989 \`$as_me' instantiates files and other configuration actions
2990 from templates according to the current configuration. Unless the files
2991 and actions are specified as TAGs, all are instantiated by default.
2993 Usage: $0 [OPTION]... [TAG]...
2995 -h, --help print this help, then exit
2996 -V, --version print version number and configuration settings, then exit
2997 --config print configuration, then exit
2998 -q, --quiet, --silent
2999 do not print progress messages
3000 -d, --debug don't remove temporary files
3001 --recheck update $as_me by reconfiguring in the same conditions
3002 --file=FILE[:TEMPLATE]
3003 instantiate the configuration file FILE
3005 Configuration files:
3006 $config_files
3008 Report bugs to the package provider."
3010 _ACEOF
3011 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3012 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3013 ac_cs_version="\\
3014 config.status
3015 configured by $0, generated by GNU Autoconf 2.65,
3016 with options \\"\$ac_cs_config\\"
3018 Copyright (C) 2009 Free Software Foundation, Inc.
3019 This config.status script is free software; the Free Software Foundation
3020 gives unlimited permission to copy, distribute and modify it."
3022 ac_pwd='$ac_pwd'
3023 srcdir='$srcdir'
3024 INSTALL='$INSTALL'
3025 test -n "\$AWK" || AWK=awk
3026 _ACEOF
3028 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3029 # The default lists apply if the user does not specify any file.
3030 ac_need_defaults=:
3031 while test $# != 0
3033 case $1 in
3034 --*=*)
3035 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3036 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3037 ac_shift=:
3040 ac_option=$1
3041 ac_optarg=$2
3042 ac_shift=shift
3044 esac
3046 case $ac_option in
3047 # Handling of the options.
3048 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3049 ac_cs_recheck=: ;;
3050 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3051 $as_echo "$ac_cs_version"; exit ;;
3052 --config | --confi | --conf | --con | --co | --c )
3053 $as_echo "$ac_cs_config"; exit ;;
3054 --debug | --debu | --deb | --de | --d | -d )
3055 debug=: ;;
3056 --file | --fil | --fi | --f )
3057 $ac_shift
3058 case $ac_optarg in
3059 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3060 esac
3061 as_fn_append CONFIG_FILES " '$ac_optarg'"
3062 ac_need_defaults=false;;
3063 --he | --h | --help | --hel | -h )
3064 $as_echo "$ac_cs_usage"; exit ;;
3065 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3066 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3067 ac_cs_silent=: ;;
3069 # This is an error.
3070 -*) as_fn_error "unrecognized option: \`$1'
3071 Try \`$0 --help' for more information." ;;
3073 *) as_fn_append ac_config_targets " $1"
3074 ac_need_defaults=false ;;
3076 esac
3077 shift
3078 done
3080 ac_configure_extra_args=
3082 if $ac_cs_silent; then
3083 exec 6>/dev/null
3084 ac_configure_extra_args="$ac_configure_extra_args --silent"
3087 _ACEOF
3088 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3089 if \$ac_cs_recheck; then
3090 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3091 shift
3092 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3093 CONFIG_SHELL='$SHELL'
3094 export CONFIG_SHELL
3095 exec "\$@"
3098 _ACEOF
3099 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3100 exec 5>>config.log
3102 echo
3103 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3104 ## Running $as_me. ##
3105 _ASBOX
3106 $as_echo "$ac_log"
3107 } >&5
3109 _ACEOF
3110 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3111 _ACEOF
3113 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3115 # Handling of arguments.
3116 for ac_config_target in $ac_config_targets
3118 case $ac_config_target in
3119 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3120 "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
3121 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;;
3122 "texi/Makefile") CONFIG_FILES="$CONFIG_FILES texi/Makefile" ;;
3123 "texi/gnusconfig.tex") CONFIG_FILES="$CONFIG_FILES texi/gnusconfig.tex" ;;
3124 "texi/ps/Makefile") CONFIG_FILES="$CONFIG_FILES texi/ps/Makefile" ;;
3126 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3127 esac
3128 done
3131 # If the user did not use the arguments to specify the items to instantiate,
3132 # then the envvar interface is used. Set only those that are not.
3133 # We use the long form for the default assignment because of an extremely
3134 # bizarre bug on SunOS 4.1.3.
3135 if $ac_need_defaults; then
3136 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3139 # Have a temporary directory for convenience. Make it in the build tree
3140 # simply because there is no reason against having it here, and in addition,
3141 # creating and moving files from /tmp can sometimes cause problems.
3142 # Hook for its removal unless debugging.
3143 # Note that there is a small window in which the directory will not be cleaned:
3144 # after its creation but before its name has been assigned to `$tmp'.
3145 $debug ||
3147 tmp=
3148 trap 'exit_status=$?
3149 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3151 trap 'as_fn_exit 1' 1 2 13 15
3153 # Create a (secure) tmp directory for tmp files.
3156 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3157 test -n "$tmp" && test -d "$tmp"
3158 } ||
3160 tmp=./conf$$-$RANDOM
3161 (umask 077 && mkdir "$tmp")
3162 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
3164 # Set up the scripts for CONFIG_FILES section.
3165 # No need to generate them if there are no CONFIG_FILES.
3166 # This happens for instance with `./config.status config.h'.
3167 if test -n "$CONFIG_FILES"; then
3170 ac_cr=`echo X | tr X '\015'`
3171 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3172 # But we know of no other shell where ac_cr would be empty at this
3173 # point, so we can use a bashism as a fallback.
3174 if test "x$ac_cr" = x; then
3175 eval ac_cr=\$\'\\r\'
3177 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3178 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3179 ac_cs_awk_cr='\r'
3180 else
3181 ac_cs_awk_cr=$ac_cr
3184 echo 'BEGIN {' >"$tmp/subs1.awk" &&
3185 _ACEOF
3189 echo "cat >conf$$subs.awk <<_ACEOF" &&
3190 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3191 echo "_ACEOF"
3192 } >conf$$subs.sh ||
3193 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3194 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3195 ac_delim='%!_!# '
3196 for ac_last_try in false false false false false :; do
3197 . ./conf$$subs.sh ||
3198 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3200 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3201 if test $ac_delim_n = $ac_delim_num; then
3202 break
3203 elif $ac_last_try; then
3204 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3205 else
3206 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3208 done
3209 rm -f conf$$subs.sh
3211 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3212 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
3213 _ACEOF
3214 sed -n '
3216 s/^/S["/; s/!.*/"]=/
3219 s/^[^!]*!//
3220 :repl
3221 t repl
3222 s/'"$ac_delim"'$//
3223 t delim
3226 s/\(.\{148\}\)..*/\1/
3227 t more1
3228 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3231 b repl
3232 :more1
3233 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3236 s/.\{148\}//
3237 t nl
3238 :delim
3240 s/\(.\{148\}\)..*/\1/
3241 t more2
3242 s/["\\]/\\&/g; s/^/"/; s/$/"/
3245 :more2
3246 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3249 s/.\{148\}//
3250 t delim
3251 ' <conf$$subs.awk | sed '
3252 /^[^""]/{
3254 s/\n//
3256 ' >>$CONFIG_STATUS || ac_write_fail=1
3257 rm -f conf$$subs.awk
3258 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3259 _ACAWK
3260 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
3261 for (key in S) S_is_set[key] = 1
3262 FS = "\a"
3266 line = $ 0
3267 nfields = split(line, field, "@")
3268 substed = 0
3269 len = length(field[1])
3270 for (i = 2; i < nfields; i++) {
3271 key = field[i]
3272 keylen = length(key)
3273 if (S_is_set[key]) {
3274 value = S[key]
3275 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3276 len += length(value) + length(field[++i])
3277 substed = 1
3278 } else
3279 len += 1 + keylen
3282 print line
3285 _ACAWK
3286 _ACEOF
3287 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3288 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3289 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3290 else
3292 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
3293 || as_fn_error "could not setup config files machinery" "$LINENO" 5
3294 _ACEOF
3296 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3297 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3298 # trailing colons and then remove the whole line if VPATH becomes empty
3299 # (actually we leave an empty line to preserve line numbers).
3300 if test "x$srcdir" = x.; then
3301 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3302 s/:*\$(srcdir):*/:/
3303 s/:*\${srcdir}:*/:/
3304 s/:*@srcdir@:*/:/
3305 s/^\([^=]*=[ ]*\):*/\1/
3306 s/:*$//
3307 s/^[^=]*=[ ]*$//
3311 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3312 fi # test -n "$CONFIG_FILES"
3315 eval set X " :F $CONFIG_FILES "
3316 shift
3317 for ac_tag
3319 case $ac_tag in
3320 :[FHLC]) ac_mode=$ac_tag; continue;;
3321 esac
3322 case $ac_mode$ac_tag in
3323 :[FHL]*:*);;
3324 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
3325 :[FH]-) ac_tag=-:-;;
3326 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3327 esac
3328 ac_save_IFS=$IFS
3329 IFS=:
3330 set x $ac_tag
3331 IFS=$ac_save_IFS
3332 shift
3333 ac_file=$1
3334 shift
3336 case $ac_mode in
3337 :L) ac_source=$1;;
3338 :[FH])
3339 ac_file_inputs=
3340 for ac_f
3342 case $ac_f in
3343 -) ac_f="$tmp/stdin";;
3344 *) # Look for the file first in the build tree, then in the source tree
3345 # (if the path is not absolute). The absolute path cannot be DOS-style,
3346 # because $ac_f cannot contain `:'.
3347 test -f "$ac_f" ||
3348 case $ac_f in
3349 [\\/$]*) false;;
3350 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3351 esac ||
3352 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3353 esac
3354 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3355 as_fn_append ac_file_inputs " '$ac_f'"
3356 done
3358 # Let's still pretend it is `configure' which instantiates (i.e., don't
3359 # use $as_me), people would be surprised to read:
3360 # /* config.h. Generated by config.status. */
3361 configure_input='Generated from '`
3362 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3363 `' by configure.'
3364 if test x"$ac_file" != x-; then
3365 configure_input="$ac_file. $configure_input"
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3367 $as_echo "$as_me: creating $ac_file" >&6;}
3369 # Neutralize special characters interpreted by sed in replacement strings.
3370 case $configure_input in #(
3371 *\&* | *\|* | *\\* )
3372 ac_sed_conf_input=`$as_echo "$configure_input" |
3373 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3374 *) ac_sed_conf_input=$configure_input;;
3375 esac
3377 case $ac_tag in
3378 *:-:* | *:-) cat >"$tmp/stdin" \
3379 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
3380 esac
3382 esac
3384 ac_dir=`$as_dirname -- "$ac_file" ||
3385 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3386 X"$ac_file" : 'X\(//\)[^/]' \| \
3387 X"$ac_file" : 'X\(//\)$' \| \
3388 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3389 $as_echo X"$ac_file" |
3390 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3391 s//\1/
3394 /^X\(\/\/\)[^/].*/{
3395 s//\1/
3398 /^X\(\/\/\)$/{
3399 s//\1/
3402 /^X\(\/\).*/{
3403 s//\1/
3406 s/.*/./; q'`
3407 as_dir="$ac_dir"; as_fn_mkdir_p
3408 ac_builddir=.
3410 case "$ac_dir" in
3411 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3413 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3414 # A ".." for each directory in $ac_dir_suffix.
3415 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3416 case $ac_top_builddir_sub in
3417 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3418 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3419 esac ;;
3420 esac
3421 ac_abs_top_builddir=$ac_pwd
3422 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3423 # for backward compatibility:
3424 ac_top_builddir=$ac_top_build_prefix
3426 case $srcdir in
3427 .) # We are building in place.
3428 ac_srcdir=.
3429 ac_top_srcdir=$ac_top_builddir_sub
3430 ac_abs_top_srcdir=$ac_pwd ;;
3431 [\\/]* | ?:[\\/]* ) # Absolute name.
3432 ac_srcdir=$srcdir$ac_dir_suffix;
3433 ac_top_srcdir=$srcdir
3434 ac_abs_top_srcdir=$srcdir ;;
3435 *) # Relative name.
3436 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3437 ac_top_srcdir=$ac_top_build_prefix$srcdir
3438 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3439 esac
3440 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3443 case $ac_mode in
3446 # CONFIG_FILE
3449 case $INSTALL in
3450 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3451 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3452 esac
3453 _ACEOF
3455 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3456 # If the template does not know about datarootdir, expand it.
3457 # FIXME: This hack should be removed a few years after 2.60.
3458 ac_datarootdir_hack=; ac_datarootdir_seen=
3459 ac_sed_dataroot='
3460 /datarootdir/ {
3464 /@datadir@/p
3465 /@docdir@/p
3466 /@infodir@/p
3467 /@localedir@/p
3468 /@mandir@/p'
3469 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3470 *datarootdir*) ac_datarootdir_seen=yes;;
3471 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3473 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3474 _ACEOF
3475 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3476 ac_datarootdir_hack='
3477 s&@datadir@&$datadir&g
3478 s&@docdir@&$docdir&g
3479 s&@infodir@&$infodir&g
3480 s&@localedir@&$localedir&g
3481 s&@mandir@&$mandir&g
3482 s&\\\${datarootdir}&$datarootdir&g' ;;
3483 esac
3484 _ACEOF
3486 # Neutralize VPATH when `$srcdir' = `.'.
3487 # Shell code in configure.ac might set extrasub.
3488 # FIXME: do we really want to maintain this feature?
3489 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3490 ac_sed_extra="$ac_vpsub
3491 $extrasub
3492 _ACEOF
3493 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3495 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3496 s|@configure_input@|$ac_sed_conf_input|;t t
3497 s&@top_builddir@&$ac_top_builddir_sub&;t t
3498 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3499 s&@srcdir@&$ac_srcdir&;t t
3500 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3501 s&@top_srcdir@&$ac_top_srcdir&;t t
3502 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3503 s&@builddir@&$ac_builddir&;t t
3504 s&@abs_builddir@&$ac_abs_builddir&;t t
3505 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3506 s&@INSTALL@&$ac_INSTALL&;t t
3507 $ac_datarootdir_hack
3509 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
3510 || as_fn_error "could not create $ac_file" "$LINENO" 5
3512 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3513 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3514 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3516 which seems to be undefined. Please make sure it is defined." >&5
3517 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3518 which seems to be undefined. Please make sure it is defined." >&2;}
3520 rm -f "$tmp/stdin"
3521 case $ac_file in
3522 -) cat "$tmp/out" && rm -f "$tmp/out";;
3523 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
3524 esac \
3525 || as_fn_error "could not create $ac_file" "$LINENO" 5
3530 esac
3532 done # for ac_tag
3535 as_fn_exit 0
3536 _ACEOF
3537 ac_clean_files=$ac_clean_files_save
3539 test $ac_write_fail = 0 ||
3540 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
3543 # configure is writing to config.log, and then calls config.status.
3544 # config.status does its own redirection, appending to config.log.
3545 # Unfortunately, on DOS this fails, as config.log is still kept open
3546 # by configure, so config.status won't be able to write to it; its
3547 # output is simply discarded. So we exec the FD to /dev/null,
3548 # effectively closing config.log, so it can be properly (re)opened and
3549 # appended to by config.status. When coming back to configure, we
3550 # need to make the FD available again.
3551 if test "$no_create" != yes; then
3552 ac_cs_success=:
3553 ac_config_status_args=
3554 test "$silent" = yes &&
3555 ac_config_status_args="$ac_config_status_args --quiet"
3556 exec 5>/dev/null
3557 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3558 exec 5>>config.log
3559 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3560 # would make configure fail if this is the last instruction.
3561 $ac_cs_success || as_fn_exit $?
3563 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3565 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}