pop3.el (pop3-leave-mail-on-server): Spelling fix in docstring
[gnus.git] / configure
blobbaa40614bdd39ced6fe817f13ed7dad916baf023
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
174 esac
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190 else
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
199 if (eval "$as_required") 2>/dev/null; then :
200 as_have_required=yes
201 else
202 as_have_required=no
204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
206 else
207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208 as_found=false
209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
211 IFS=$as_save_IFS
212 test -z "$as_dir" && as_dir=.
213 as_found=:
214 case $as_dir in #(
216 for as_base in sh bash ksh sh5; do
217 # Try only shells that exist, to save several forks.
218 as_shell=$as_dir/$as_base
219 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
220 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
221 CONFIG_SHELL=$as_shell as_have_required=yes
222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 break 2
226 done;;
227 esac
228 as_found=false
229 done
230 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
232 CONFIG_SHELL=$SHELL as_have_required=yes
233 fi; }
234 IFS=$as_save_IFS
237 if test "x$CONFIG_SHELL" != x; then :
238 export CONFIG_SHELL
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
243 BASH_ENV=/dev/null
244 ENV=/dev/null
245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246 case $- in # ((((
247 *v*x* | *x*v* ) as_opts=-vx ;;
248 *v* ) as_opts=-v ;;
249 *x* ) as_opts=-x ;;
250 * ) as_opts= ;;
251 esac
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
256 exit 255
259 if test x$as_have_required = xno; then :
260 $as_echo "$0: This script requires a shell more modern than all"
261 $as_echo "$0: the shells that I found on your system."
262 if test x${ZSH_VERSION+set} = xset ; then
263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
265 else
266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267 $0: including any error possibly output before this
268 $0: message. Then install a modern shell, or manually run
269 $0: the script under such a shell if you do have one."
271 exit 1
275 SHELL=${CONFIG_SHELL-/bin/sh}
276 export SHELL
277 # Unset more variables known to interfere with behavior of common tools.
278 CLICOLOR_FORCE= GREP_OPTIONS=
279 unset CLICOLOR_FORCE GREP_OPTIONS
281 ## --------------------- ##
282 ## M4sh Shell Functions. ##
283 ## --------------------- ##
284 # as_fn_unset VAR
285 # ---------------
286 # Portably unset VAR.
287 as_fn_unset ()
289 { eval $1=; unset $1;}
291 as_unset=as_fn_unset
293 # as_fn_set_status STATUS
294 # -----------------------
295 # Set $? to STATUS, without forking.
296 as_fn_set_status ()
298 return $1
299 } # as_fn_set_status
301 # as_fn_exit STATUS
302 # -----------------
303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
304 as_fn_exit ()
306 set +e
307 as_fn_set_status $1
308 exit $1
309 } # as_fn_exit
311 # as_fn_mkdir_p
312 # -------------
313 # Create "$as_dir" as a directory, including parents if necessary.
314 as_fn_mkdir_p ()
317 case $as_dir in #(
318 -*) as_dir=./$as_dir;;
319 esac
320 test -d "$as_dir" || eval $as_mkdir_p || {
321 as_dirs=
322 while :; do
323 case $as_dir in #(
324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
325 *) as_qdir=$as_dir;;
326 esac
327 as_dirs="'$as_qdir' $as_dirs"
328 as_dir=`$as_dirname -- "$as_dir" ||
329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330 X"$as_dir" : 'X\(//\)[^/]' \| \
331 X"$as_dir" : 'X\(//\)$' \| \
332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333 $as_echo X"$as_dir" |
334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 s//\1/
338 /^X\(\/\/\)[^/].*/{
339 s//\1/
342 /^X\(\/\/\)$/{
343 s//\1/
346 /^X\(\/\).*/{
347 s//\1/
350 s/.*/./; q'`
351 test -d "$as_dir" && break
352 done
353 test -z "$as_dirs" || eval "mkdir $as_dirs"
354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
357 } # as_fn_mkdir_p
359 # as_fn_executable_p FILE
360 # -----------------------
361 # Test if FILE is an executable regular file.
362 as_fn_executable_p ()
364 test -f "$1" && test -x "$1"
365 } # as_fn_executable_p
366 # as_fn_append VAR VALUE
367 # ----------------------
368 # Append the text in VALUE to the end of the definition contained in VAR. Take
369 # advantage of any shell optimizations that allow amortized linear growth over
370 # repeated appends, instead of the typical quadratic growth present in naive
371 # implementations.
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
373 eval 'as_fn_append ()
375 eval $1+=\$2
377 else
378 as_fn_append ()
380 eval $1=\$$1\$2
382 fi # as_fn_append
384 # as_fn_arith ARG...
385 # ------------------
386 # Perform arithmetic evaluation on the ARGs, and store the result in the
387 # global $as_val. Take advantage of shells that can avoid forks. The arguments
388 # must be portable across $(()) and expr.
389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
390 eval 'as_fn_arith ()
392 as_val=$(( $* ))
394 else
395 as_fn_arith ()
397 as_val=`expr "$@" || test $? -eq 1`
399 fi # as_fn_arith
402 # as_fn_error STATUS ERROR [LINENO LOG_FD]
403 # ----------------------------------------
404 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406 # script with STATUS, using 1 if that was 0.
407 as_fn_error ()
409 as_status=$1; test $as_status -eq 0 && as_status=1
410 if test "$4"; then
411 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414 $as_echo "$as_me: error: $2" >&2
415 as_fn_exit $as_status
416 } # as_fn_error
418 if expr a : '\(a\)' >/dev/null 2>&1 &&
419 test "X`expr 00001 : '.*\(...\)'`" = X001; then
420 as_expr=expr
421 else
422 as_expr=false
425 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
426 as_basename=basename
427 else
428 as_basename=false
431 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
432 as_dirname=dirname
433 else
434 as_dirname=false
437 as_me=`$as_basename -- "$0" ||
438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439 X"$0" : 'X\(//\)$' \| \
440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
441 $as_echo X/"$0" |
442 sed '/^.*\/\([^/][^/]*\)\/*$/{
443 s//\1/
446 /^X\/\(\/\/\)$/{
447 s//\1/
450 /^X\/\(\/\).*/{
451 s//\1/
454 s/.*/./; q'`
456 # Avoid depending upon Character Ranges.
457 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
458 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
460 as_cr_digits='0123456789'
461 as_cr_alnum=$as_cr_Letters$as_cr_digits
464 as_lineno_1=$LINENO as_lineno_1a=$LINENO
465 as_lineno_2=$LINENO as_lineno_2a=$LINENO
466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
469 sed -n '
471 /[$]LINENO/=
472 ' <$as_myself |
473 sed '
474 s/[$]LINENO.*/&-/
475 t lineno
477 :lineno
479 :loop
480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
481 t loop
482 s/-\n.*//
483 ' >$as_me.lineno &&
484 chmod +x "$as_me.lineno" ||
485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488 # already done that, so ensure we don't try to do so again and fall
489 # in an infinite loop. This has already happened in practice.
490 _as_can_reexec=no; export _as_can_reexec
491 # Don't try to exec as it changes $[0], causing all sort of problems
492 # (the dirname of $[0] is not the place where we might find the
493 # original and so on. Autoconf is especially sensitive to this).
494 . "./$as_me.lineno"
495 # Exit status is that of the last command.
496 exit
499 ECHO_C= ECHO_N= ECHO_T=
500 case `echo -n x` in #(((((
501 -n*)
502 case `echo 'xy\c'` in
503 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
504 xy) ECHO_C='\c';;
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
506 ECHO_T=' ';;
507 esac;;
509 ECHO_N='-n';;
510 esac
512 rm -f conf$$ conf$$.exe conf$$.file
513 if test -d conf$$.dir; then
514 rm -f conf$$.dir/conf$$.file
515 else
516 rm -f conf$$.dir
517 mkdir conf$$.dir 2>/dev/null
519 if (echo >conf$$.file) 2>/dev/null; then
520 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 as_ln_s='ln -s'
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -pR'.
526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 as_ln_s='cp -pR'
528 elif ln conf$$.file conf$$ 2>/dev/null; then
529 as_ln_s=ln
530 else
531 as_ln_s='cp -pR'
533 else
534 as_ln_s='cp -pR'
536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537 rmdir conf$$.dir 2>/dev/null
539 if mkdir -p . 2>/dev/null; then
540 as_mkdir_p='mkdir -p "$as_dir"'
541 else
542 test -d ./-p && rmdir ./-p
543 as_mkdir_p=false
546 as_test_x='test -x'
547 as_executable_p=as_fn_executable_p
549 # Sed expression to map a string onto a valid CPP name.
550 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552 # Sed expression to map a string onto a valid variable name.
553 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
556 test -n "$DJDIR" || exec 7<&0 </dev/null
557 exec 6>&1
559 # Name of the host.
560 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
561 # so uname gets run too.
562 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 # Initializations.
567 ac_default_prefix=/usr/local
568 ac_clean_files=
569 ac_config_libobj_dir=.
570 LIBOBJS=
571 cross_compiling=no
572 subdirs=
573 MFLAGS=
574 MAKEFLAGS=
576 # Identity of this package.
577 PACKAGE_NAME=
578 PACKAGE_TARNAME=
579 PACKAGE_VERSION=
580 PACKAGE_STRING=
581 PACKAGE_BUGREPORT=
582 PACKAGE_URL=
584 ac_unique_file="lisp/gnus.el"
585 ac_subst_vars='LTLIBOBJS
586 LIBOBJS
587 USE_FONTS
588 WITHOUT_FONTS_bcr
589 WITH_FONTS_bcr
590 WITHOUT_FONTS_pfu
591 WITH_FONTS_pfu
592 WITHOUT_FONTS_bembo
593 WITH_FONTS_bembo
594 LATEX
595 FLAGS
597 HAVE_w3_forms
599 HAVE_url
600 info_dir
601 etcdir
602 lispdir
603 EMACS_FLAVOR
604 XEMACS
605 EMACS
606 MAKEINFO
607 INSTALL_DATA
608 INSTALL_SCRIPT
609 INSTALL_PROGRAM
610 SET_MAKE
611 target_alias
612 host_alias
613 build_alias
614 LIBS
615 ECHO_T
616 ECHO_N
617 ECHO_C
618 DEFS
619 mandir
620 localedir
621 libdir
622 psdir
623 pdfdir
624 dvidir
625 htmldir
626 infodir
627 docdir
628 oldincludedir
629 includedir
630 localstatedir
631 sharedstatedir
632 sysconfdir
633 datadir
634 datarootdir
635 libexecdir
636 sbindir
637 bindir
638 program_transform_name
639 prefix
640 exec_prefix
641 PACKAGE_URL
642 PACKAGE_BUGREPORT
643 PACKAGE_STRING
644 PACKAGE_VERSION
645 PACKAGE_TARNAME
646 PACKAGE_NAME
647 PATH_SEPARATOR
648 SHELL'
649 ac_subst_files=''
650 ac_user_opts='
651 enable_option_checking
652 with_xemacs
653 with_emacs
654 with_lispdir
655 with_etcdir
656 with_url
657 with_w3
658 with_fonts
660 ac_precious_vars='build_alias
661 host_alias
662 target_alias'
665 # Initialize some variables set by options.
666 ac_init_help=
667 ac_init_version=false
668 ac_unrecognized_opts=
669 ac_unrecognized_sep=
670 # The variables have the same names as the options, with
671 # dashes changed to underlines.
672 cache_file=/dev/null
673 exec_prefix=NONE
674 no_create=
675 no_recursion=
676 prefix=NONE
677 program_prefix=NONE
678 program_suffix=NONE
679 program_transform_name=s,x,x,
680 silent=
681 site=
682 srcdir=
683 verbose=
684 x_includes=NONE
685 x_libraries=NONE
687 # Installation directory options.
688 # These are left unexpanded so users can "make install exec_prefix=/foo"
689 # and all the variables that are supposed to be based on exec_prefix
690 # by default will actually change.
691 # Use braces instead of parens because sh, perl, etc. also accept them.
692 # (The list follows the same order as the GNU Coding Standards.)
693 bindir='${exec_prefix}/bin'
694 sbindir='${exec_prefix}/sbin'
695 libexecdir='${exec_prefix}/libexec'
696 datarootdir='${prefix}/share'
697 datadir='${datarootdir}'
698 sysconfdir='${prefix}/etc'
699 sharedstatedir='${prefix}/com'
700 localstatedir='${prefix}/var'
701 includedir='${prefix}/include'
702 oldincludedir='/usr/include'
703 docdir='${datarootdir}/doc/${PACKAGE}'
704 infodir='${datarootdir}/info'
705 htmldir='${docdir}'
706 dvidir='${docdir}'
707 pdfdir='${docdir}'
708 psdir='${docdir}'
709 libdir='${exec_prefix}/lib'
710 localedir='${datarootdir}/locale'
711 mandir='${datarootdir}/man'
713 ac_prev=
714 ac_dashdash=
715 for ac_option
717 # If the previous option needs an argument, assign it.
718 if test -n "$ac_prev"; then
719 eval $ac_prev=\$ac_option
720 ac_prev=
721 continue
724 case $ac_option in
725 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
726 *=) ac_optarg= ;;
727 *) ac_optarg=yes ;;
728 esac
730 # Accept the important Cygnus configure options, so we can diagnose typos.
732 case $ac_dashdash$ac_option in
734 ac_dashdash=yes ;;
736 -bindir | --bindir | --bindi | --bind | --bin | --bi)
737 ac_prev=bindir ;;
738 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
739 bindir=$ac_optarg ;;
741 -build | --build | --buil | --bui | --bu)
742 ac_prev=build_alias ;;
743 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
744 build_alias=$ac_optarg ;;
746 -cache-file | --cache-file | --cache-fil | --cache-fi \
747 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
748 ac_prev=cache_file ;;
749 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
750 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
751 cache_file=$ac_optarg ;;
753 --config-cache | -C)
754 cache_file=config.cache ;;
756 -datadir | --datadir | --datadi | --datad)
757 ac_prev=datadir ;;
758 -datadir=* | --datadir=* | --datadi=* | --datad=*)
759 datadir=$ac_optarg ;;
761 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
762 | --dataroo | --dataro | --datar)
763 ac_prev=datarootdir ;;
764 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
765 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
766 datarootdir=$ac_optarg ;;
768 -disable-* | --disable-*)
769 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
770 # Reject names that are not valid shell variable names.
771 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
772 as_fn_error $? "invalid feature name: $ac_useropt"
773 ac_useropt_orig=$ac_useropt
774 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
775 case $ac_user_opts in
777 "enable_$ac_useropt"
778 "*) ;;
779 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
780 ac_unrecognized_sep=', ';;
781 esac
782 eval enable_$ac_useropt=no ;;
784 -docdir | --docdir | --docdi | --doc | --do)
785 ac_prev=docdir ;;
786 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
787 docdir=$ac_optarg ;;
789 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
790 ac_prev=dvidir ;;
791 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
792 dvidir=$ac_optarg ;;
794 -enable-* | --enable-*)
795 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
796 # Reject names that are not valid shell variable names.
797 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
798 as_fn_error $? "invalid feature name: $ac_useropt"
799 ac_useropt_orig=$ac_useropt
800 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
801 case $ac_user_opts in
803 "enable_$ac_useropt"
804 "*) ;;
805 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
806 ac_unrecognized_sep=', ';;
807 esac
808 eval enable_$ac_useropt=\$ac_optarg ;;
810 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
811 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
812 | --exec | --exe | --ex)
813 ac_prev=exec_prefix ;;
814 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
815 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
816 | --exec=* | --exe=* | --ex=*)
817 exec_prefix=$ac_optarg ;;
819 -gas | --gas | --ga | --g)
820 # Obsolete; use --with-gas.
821 with_gas=yes ;;
823 -help | --help | --hel | --he | -h)
824 ac_init_help=long ;;
825 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
826 ac_init_help=recursive ;;
827 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
828 ac_init_help=short ;;
830 -host | --host | --hos | --ho)
831 ac_prev=host_alias ;;
832 -host=* | --host=* | --hos=* | --ho=*)
833 host_alias=$ac_optarg ;;
835 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
836 ac_prev=htmldir ;;
837 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
838 | --ht=*)
839 htmldir=$ac_optarg ;;
841 -includedir | --includedir | --includedi | --included | --include \
842 | --includ | --inclu | --incl | --inc)
843 ac_prev=includedir ;;
844 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
845 | --includ=* | --inclu=* | --incl=* | --inc=*)
846 includedir=$ac_optarg ;;
848 -infodir | --infodir | --infodi | --infod | --info | --inf)
849 ac_prev=infodir ;;
850 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
851 infodir=$ac_optarg ;;
853 -libdir | --libdir | --libdi | --libd)
854 ac_prev=libdir ;;
855 -libdir=* | --libdir=* | --libdi=* | --libd=*)
856 libdir=$ac_optarg ;;
858 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
859 | --libexe | --libex | --libe)
860 ac_prev=libexecdir ;;
861 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
862 | --libexe=* | --libex=* | --libe=*)
863 libexecdir=$ac_optarg ;;
865 -localedir | --localedir | --localedi | --localed | --locale)
866 ac_prev=localedir ;;
867 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
868 localedir=$ac_optarg ;;
870 -localstatedir | --localstatedir | --localstatedi | --localstated \
871 | --localstate | --localstat | --localsta | --localst | --locals)
872 ac_prev=localstatedir ;;
873 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
874 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
875 localstatedir=$ac_optarg ;;
877 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
878 ac_prev=mandir ;;
879 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
880 mandir=$ac_optarg ;;
882 -nfp | --nfp | --nf)
883 # Obsolete; use --without-fp.
884 with_fp=no ;;
886 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
887 | --no-cr | --no-c | -n)
888 no_create=yes ;;
890 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
891 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
892 no_recursion=yes ;;
894 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
895 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
896 | --oldin | --oldi | --old | --ol | --o)
897 ac_prev=oldincludedir ;;
898 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
899 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
900 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
901 oldincludedir=$ac_optarg ;;
903 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
904 ac_prev=prefix ;;
905 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
906 prefix=$ac_optarg ;;
908 -program-prefix | --program-prefix | --program-prefi | --program-pref \
909 | --program-pre | --program-pr | --program-p)
910 ac_prev=program_prefix ;;
911 -program-prefix=* | --program-prefix=* | --program-prefi=* \
912 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
913 program_prefix=$ac_optarg ;;
915 -program-suffix | --program-suffix | --program-suffi | --program-suff \
916 | --program-suf | --program-su | --program-s)
917 ac_prev=program_suffix ;;
918 -program-suffix=* | --program-suffix=* | --program-suffi=* \
919 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
920 program_suffix=$ac_optarg ;;
922 -program-transform-name | --program-transform-name \
923 | --program-transform-nam | --program-transform-na \
924 | --program-transform-n | --program-transform- \
925 | --program-transform | --program-transfor \
926 | --program-transfo | --program-transf \
927 | --program-trans | --program-tran \
928 | --progr-tra | --program-tr | --program-t)
929 ac_prev=program_transform_name ;;
930 -program-transform-name=* | --program-transform-name=* \
931 | --program-transform-nam=* | --program-transform-na=* \
932 | --program-transform-n=* | --program-transform-=* \
933 | --program-transform=* | --program-transfor=* \
934 | --program-transfo=* | --program-transf=* \
935 | --program-trans=* | --program-tran=* \
936 | --progr-tra=* | --program-tr=* | --program-t=*)
937 program_transform_name=$ac_optarg ;;
939 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
940 ac_prev=pdfdir ;;
941 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
942 pdfdir=$ac_optarg ;;
944 -psdir | --psdir | --psdi | --psd | --ps)
945 ac_prev=psdir ;;
946 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
947 psdir=$ac_optarg ;;
949 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
950 | -silent | --silent | --silen | --sile | --sil)
951 silent=yes ;;
953 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
954 ac_prev=sbindir ;;
955 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
956 | --sbi=* | --sb=*)
957 sbindir=$ac_optarg ;;
959 -sharedstatedir | --sharedstatedir | --sharedstatedi \
960 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
961 | --sharedst | --shareds | --shared | --share | --shar \
962 | --sha | --sh)
963 ac_prev=sharedstatedir ;;
964 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
965 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
966 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
967 | --sha=* | --sh=*)
968 sharedstatedir=$ac_optarg ;;
970 -site | --site | --sit)
971 ac_prev=site ;;
972 -site=* | --site=* | --sit=*)
973 site=$ac_optarg ;;
975 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
976 ac_prev=srcdir ;;
977 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
978 srcdir=$ac_optarg ;;
980 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
981 | --syscon | --sysco | --sysc | --sys | --sy)
982 ac_prev=sysconfdir ;;
983 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
984 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
985 sysconfdir=$ac_optarg ;;
987 -target | --target | --targe | --targ | --tar | --ta | --t)
988 ac_prev=target_alias ;;
989 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
990 target_alias=$ac_optarg ;;
992 -v | -verbose | --verbose | --verbos | --verbo | --verb)
993 verbose=yes ;;
995 -version | --version | --versio | --versi | --vers | -V)
996 ac_init_version=: ;;
998 -with-* | --with-*)
999 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1000 # Reject names that are not valid shell variable names.
1001 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1002 as_fn_error $? "invalid package name: $ac_useropt"
1003 ac_useropt_orig=$ac_useropt
1004 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1005 case $ac_user_opts in
1007 "with_$ac_useropt"
1008 "*) ;;
1009 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1010 ac_unrecognized_sep=', ';;
1011 esac
1012 eval with_$ac_useropt=\$ac_optarg ;;
1014 -without-* | --without-*)
1015 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1016 # Reject names that are not valid shell variable names.
1017 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1018 as_fn_error $? "invalid package name: $ac_useropt"
1019 ac_useropt_orig=$ac_useropt
1020 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1021 case $ac_user_opts in
1023 "with_$ac_useropt"
1024 "*) ;;
1025 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1026 ac_unrecognized_sep=', ';;
1027 esac
1028 eval with_$ac_useropt=no ;;
1030 --x)
1031 # Obsolete; use --with-x.
1032 with_x=yes ;;
1034 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1035 | --x-incl | --x-inc | --x-in | --x-i)
1036 ac_prev=x_includes ;;
1037 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1038 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1039 x_includes=$ac_optarg ;;
1041 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1042 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1043 ac_prev=x_libraries ;;
1044 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1045 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1046 x_libraries=$ac_optarg ;;
1048 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1049 Try \`$0 --help' for more information"
1052 *=*)
1053 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1054 # Reject names that are not valid shell variable names.
1055 case $ac_envvar in #(
1056 '' | [0-9]* | *[!_$as_cr_alnum]* )
1057 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1058 esac
1059 eval $ac_envvar=\$ac_optarg
1060 export $ac_envvar ;;
1063 # FIXME: should be removed in autoconf 3.0.
1064 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1065 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1066 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1067 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1070 esac
1071 done
1073 if test -n "$ac_prev"; then
1074 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1075 as_fn_error $? "missing argument to $ac_option"
1078 if test -n "$ac_unrecognized_opts"; then
1079 case $enable_option_checking in
1080 no) ;;
1081 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1082 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1083 esac
1086 # Check all directory arguments for consistency.
1087 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1088 datadir sysconfdir sharedstatedir localstatedir includedir \
1089 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1090 libdir localedir mandir
1092 eval ac_val=\$$ac_var
1093 # Remove trailing slashes.
1094 case $ac_val in
1095 */ )
1096 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1097 eval $ac_var=\$ac_val;;
1098 esac
1099 # Be sure to have absolute directory names.
1100 case $ac_val in
1101 [\\/$]* | ?:[\\/]* ) continue;;
1102 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1103 esac
1104 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1105 done
1107 # There might be people who depend on the old broken behavior: `$host'
1108 # used to hold the argument of --host etc.
1109 # FIXME: To remove some day.
1110 build=$build_alias
1111 host=$host_alias
1112 target=$target_alias
1114 # FIXME: To remove some day.
1115 if test "x$host_alias" != x; then
1116 if test "x$build_alias" = x; then
1117 cross_compiling=maybe
1118 elif test "x$build_alias" != "x$host_alias"; then
1119 cross_compiling=yes
1123 ac_tool_prefix=
1124 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1126 test "$silent" = yes && exec 6>/dev/null
1129 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1130 ac_ls_di=`ls -di .` &&
1131 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1132 as_fn_error $? "working directory cannot be determined"
1133 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1134 as_fn_error $? "pwd does not report name of working directory"
1137 # Find the source files, if location was not specified.
1138 if test -z "$srcdir"; then
1139 ac_srcdir_defaulted=yes
1140 # Try the directory containing this script, then the parent directory.
1141 ac_confdir=`$as_dirname -- "$as_myself" ||
1142 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1143 X"$as_myself" : 'X\(//\)[^/]' \| \
1144 X"$as_myself" : 'X\(//\)$' \| \
1145 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1146 $as_echo X"$as_myself" |
1147 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1148 s//\1/
1151 /^X\(\/\/\)[^/].*/{
1152 s//\1/
1155 /^X\(\/\/\)$/{
1156 s//\1/
1159 /^X\(\/\).*/{
1160 s//\1/
1163 s/.*/./; q'`
1164 srcdir=$ac_confdir
1165 if test ! -r "$srcdir/$ac_unique_file"; then
1166 srcdir=..
1168 else
1169 ac_srcdir_defaulted=no
1171 if test ! -r "$srcdir/$ac_unique_file"; then
1172 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1173 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1175 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1176 ac_abs_confdir=`(
1177 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1178 pwd)`
1179 # When building in place, set srcdir=.
1180 if test "$ac_abs_confdir" = "$ac_pwd"; then
1181 srcdir=.
1183 # Remove unnecessary trailing slashes from srcdir.
1184 # Double slashes in file names in object file debugging info
1185 # mess up M-x gdb in Emacs.
1186 case $srcdir in
1187 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1188 esac
1189 for ac_var in $ac_precious_vars; do
1190 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1191 eval ac_env_${ac_var}_value=\$${ac_var}
1192 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1193 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1194 done
1197 # Report the --help message.
1199 if test "$ac_init_help" = "long"; then
1200 # Omit some internal or obsolete options to make the list less imposing.
1201 # This message is too long to be a string in the A/UX 3.1 sh.
1202 cat <<_ACEOF
1203 \`configure' configures this package to adapt to many kinds of systems.
1205 Usage: $0 [OPTION]... [VAR=VALUE]...
1207 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1208 VAR=VALUE. See below for descriptions of some of the useful variables.
1210 Defaults for the options are specified in brackets.
1212 Configuration:
1213 -h, --help display this help and exit
1214 --help=short display options specific to this package
1215 --help=recursive display the short help of all the included packages
1216 -V, --version display version information and exit
1217 -q, --quiet, --silent do not print \`checking ...' messages
1218 --cache-file=FILE cache test results in FILE [disabled]
1219 -C, --config-cache alias for \`--cache-file=config.cache'
1220 -n, --no-create do not create output files
1221 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1223 Installation directories:
1224 --prefix=PREFIX install architecture-independent files in PREFIX
1225 [$ac_default_prefix]
1226 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1227 [PREFIX]
1229 By default, \`make install' will install all the files in
1230 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1231 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1232 for instance \`--prefix=\$HOME'.
1234 For better control, use the options below.
1236 Fine tuning of the installation directories:
1237 --bindir=DIR user executables [EPREFIX/bin]
1238 --sbindir=DIR system admin executables [EPREFIX/sbin]
1239 --libexecdir=DIR program executables [EPREFIX/libexec]
1240 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1241 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1242 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1243 --libdir=DIR object code libraries [EPREFIX/lib]
1244 --includedir=DIR C header files [PREFIX/include]
1245 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1246 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1247 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1248 --infodir=DIR info documentation [DATAROOTDIR/info]
1249 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1250 --mandir=DIR man documentation [DATAROOTDIR/man]
1251 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1252 --htmldir=DIR html documentation [DOCDIR]
1253 --dvidir=DIR dvi documentation [DOCDIR]
1254 --pdfdir=DIR pdf documentation [DOCDIR]
1255 --psdir=DIR ps documentation [DOCDIR]
1256 _ACEOF
1258 cat <<\_ACEOF
1259 _ACEOF
1262 if test -n "$ac_init_help"; then
1264 cat <<\_ACEOF
1266 Optional Packages:
1267 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1268 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1269 --with-xemacs[=PROG] use XEmacs to build (default: PROG=xemacs)
1270 --with-emacs[=PROG] use Emacs to build (default: PROG=emacs)
1271 --with-lispdir=DIR Where to install lisp files
1272 --with-etcdir=DIR Where to install etc files
1273 --with-url=DIR Specify where to find the url package
1274 --with-w3=DIR Specify where to find the w3 package
1275 --with-fonts Assume all fonts required are available
1277 Report bugs to the package provider.
1278 _ACEOF
1279 ac_status=$?
1282 if test "$ac_init_help" = "recursive"; then
1283 # If there are subdirs, report their specific --help.
1284 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1285 test -d "$ac_dir" ||
1286 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1287 continue
1288 ac_builddir=.
1290 case "$ac_dir" in
1291 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1293 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1294 # A ".." for each directory in $ac_dir_suffix.
1295 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1296 case $ac_top_builddir_sub in
1297 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1298 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1299 esac ;;
1300 esac
1301 ac_abs_top_builddir=$ac_pwd
1302 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1303 # for backward compatibility:
1304 ac_top_builddir=$ac_top_build_prefix
1306 case $srcdir in
1307 .) # We are building in place.
1308 ac_srcdir=.
1309 ac_top_srcdir=$ac_top_builddir_sub
1310 ac_abs_top_srcdir=$ac_pwd ;;
1311 [\\/]* | ?:[\\/]* ) # Absolute name.
1312 ac_srcdir=$srcdir$ac_dir_suffix;
1313 ac_top_srcdir=$srcdir
1314 ac_abs_top_srcdir=$srcdir ;;
1315 *) # Relative name.
1316 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1317 ac_top_srcdir=$ac_top_build_prefix$srcdir
1318 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1319 esac
1320 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1322 cd "$ac_dir" || { ac_status=$?; continue; }
1323 # Check for guested configure.
1324 if test -f "$ac_srcdir/configure.gnu"; then
1325 echo &&
1326 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1327 elif test -f "$ac_srcdir/configure"; then
1328 echo &&
1329 $SHELL "$ac_srcdir/configure" --help=recursive
1330 else
1331 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1332 fi || ac_status=$?
1333 cd "$ac_pwd" || { ac_status=$?; break; }
1334 done
1337 test -n "$ac_init_help" && exit $ac_status
1338 if $ac_init_version; then
1339 cat <<\_ACEOF
1340 configure
1341 generated by GNU Autoconf 2.69
1343 Copyright (C) 2012 Free Software Foundation, Inc.
1344 This configure script is free software; the Free Software Foundation
1345 gives unlimited permission to copy, distribute and modify it.
1346 _ACEOF
1347 exit
1350 ## ------------------------ ##
1351 ## Autoconf initialization. ##
1352 ## ------------------------ ##
1353 cat >config.log <<_ACEOF
1354 This file contains any messages produced by compilers while
1355 running configure, to aid debugging if configure makes a mistake.
1357 It was created by $as_me, which was
1358 generated by GNU Autoconf 2.69. Invocation command line was
1360 $ $0 $@
1362 _ACEOF
1363 exec 5>>config.log
1365 cat <<_ASUNAME
1366 ## --------- ##
1367 ## Platform. ##
1368 ## --------- ##
1370 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1371 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1372 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1373 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1374 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1376 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1377 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1379 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1380 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1381 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1382 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1383 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1384 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1385 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1387 _ASUNAME
1389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1390 for as_dir in $PATH
1392 IFS=$as_save_IFS
1393 test -z "$as_dir" && as_dir=.
1394 $as_echo "PATH: $as_dir"
1395 done
1396 IFS=$as_save_IFS
1398 } >&5
1400 cat >&5 <<_ACEOF
1403 ## ----------- ##
1404 ## Core tests. ##
1405 ## ----------- ##
1407 _ACEOF
1410 # Keep a trace of the command line.
1411 # Strip out --no-create and --no-recursion so they do not pile up.
1412 # Strip out --silent because we don't want to record it for future runs.
1413 # Also quote any args containing shell meta-characters.
1414 # Make two passes to allow for proper duplicate-argument suppression.
1415 ac_configure_args=
1416 ac_configure_args0=
1417 ac_configure_args1=
1418 ac_must_keep_next=false
1419 for ac_pass in 1 2
1421 for ac_arg
1423 case $ac_arg in
1424 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1425 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1426 | -silent | --silent | --silen | --sile | --sil)
1427 continue ;;
1428 *\'*)
1429 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1430 esac
1431 case $ac_pass in
1432 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1434 as_fn_append ac_configure_args1 " '$ac_arg'"
1435 if test $ac_must_keep_next = true; then
1436 ac_must_keep_next=false # Got value, back to normal.
1437 else
1438 case $ac_arg in
1439 *=* | --config-cache | -C | -disable-* | --disable-* \
1440 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1441 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1442 | -with-* | --with-* | -without-* | --without-* | --x)
1443 case "$ac_configure_args0 " in
1444 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1445 esac
1447 -* ) ac_must_keep_next=true ;;
1448 esac
1450 as_fn_append ac_configure_args " '$ac_arg'"
1452 esac
1453 done
1454 done
1455 { ac_configure_args0=; unset ac_configure_args0;}
1456 { ac_configure_args1=; unset ac_configure_args1;}
1458 # When interrupted or exit'd, cleanup temporary files, and complete
1459 # config.log. We remove comments because anyway the quotes in there
1460 # would cause problems or look ugly.
1461 # WARNING: Use '\'' to represent an apostrophe within the trap.
1462 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1463 trap 'exit_status=$?
1464 # Save into config.log some information that might help in debugging.
1466 echo
1468 $as_echo "## ---------------- ##
1469 ## Cache variables. ##
1470 ## ---------------- ##"
1471 echo
1472 # The following way of writing the cache mishandles newlines in values,
1474 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1475 eval ac_val=\$$ac_var
1476 case $ac_val in #(
1477 *${as_nl}*)
1478 case $ac_var in #(
1479 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1480 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1481 esac
1482 case $ac_var in #(
1483 _ | IFS | as_nl) ;; #(
1484 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1485 *) { eval $ac_var=; unset $ac_var;} ;;
1486 esac ;;
1487 esac
1488 done
1489 (set) 2>&1 |
1490 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1491 *${as_nl}ac_space=\ *)
1492 sed -n \
1493 "s/'\''/'\''\\\\'\'''\''/g;
1494 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1495 ;; #(
1497 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1499 esac |
1500 sort
1502 echo
1504 $as_echo "## ----------------- ##
1505 ## Output variables. ##
1506 ## ----------------- ##"
1507 echo
1508 for ac_var in $ac_subst_vars
1510 eval ac_val=\$$ac_var
1511 case $ac_val in
1512 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1513 esac
1514 $as_echo "$ac_var='\''$ac_val'\''"
1515 done | sort
1516 echo
1518 if test -n "$ac_subst_files"; then
1519 $as_echo "## ------------------- ##
1520 ## File substitutions. ##
1521 ## ------------------- ##"
1522 echo
1523 for ac_var in $ac_subst_files
1525 eval ac_val=\$$ac_var
1526 case $ac_val in
1527 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1528 esac
1529 $as_echo "$ac_var='\''$ac_val'\''"
1530 done | sort
1531 echo
1534 if test -s confdefs.h; then
1535 $as_echo "## ----------- ##
1536 ## confdefs.h. ##
1537 ## ----------- ##"
1538 echo
1539 cat confdefs.h
1540 echo
1542 test "$ac_signal" != 0 &&
1543 $as_echo "$as_me: caught signal $ac_signal"
1544 $as_echo "$as_me: exit $exit_status"
1545 } >&5
1546 rm -f core *.core core.conftest.* &&
1547 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1548 exit $exit_status
1550 for ac_signal in 1 2 13 15; do
1551 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1552 done
1553 ac_signal=0
1555 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1556 rm -f -r conftest* confdefs.h
1558 $as_echo "/* confdefs.h */" > confdefs.h
1560 # Predefined preprocessor variables.
1562 cat >>confdefs.h <<_ACEOF
1563 #define PACKAGE_NAME "$PACKAGE_NAME"
1564 _ACEOF
1566 cat >>confdefs.h <<_ACEOF
1567 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1568 _ACEOF
1570 cat >>confdefs.h <<_ACEOF
1571 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1572 _ACEOF
1574 cat >>confdefs.h <<_ACEOF
1575 #define PACKAGE_STRING "$PACKAGE_STRING"
1576 _ACEOF
1578 cat >>confdefs.h <<_ACEOF
1579 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1580 _ACEOF
1582 cat >>confdefs.h <<_ACEOF
1583 #define PACKAGE_URL "$PACKAGE_URL"
1584 _ACEOF
1587 # Let the site file select an alternate cache file if it wants to.
1588 # Prefer an explicitly selected file to automatically selected ones.
1589 ac_site_file1=NONE
1590 ac_site_file2=NONE
1591 if test -n "$CONFIG_SITE"; then
1592 # We do not want a PATH search for config.site.
1593 case $CONFIG_SITE in #((
1594 -*) ac_site_file1=./$CONFIG_SITE;;
1595 */*) ac_site_file1=$CONFIG_SITE;;
1596 *) ac_site_file1=./$CONFIG_SITE;;
1597 esac
1598 elif test "x$prefix" != xNONE; then
1599 ac_site_file1=$prefix/share/config.site
1600 ac_site_file2=$prefix/etc/config.site
1601 else
1602 ac_site_file1=$ac_default_prefix/share/config.site
1603 ac_site_file2=$ac_default_prefix/etc/config.site
1605 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1607 test "x$ac_site_file" = xNONE && continue
1608 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1609 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1610 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1611 sed 's/^/| /' "$ac_site_file" >&5
1612 . "$ac_site_file" \
1613 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1614 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1615 as_fn_error $? "failed to load site script $ac_site_file
1616 See \`config.log' for more details" "$LINENO" 5; }
1618 done
1620 if test -r "$cache_file"; then
1621 # Some versions of bash will fail to source /dev/null (special files
1622 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1623 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1624 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1625 $as_echo "$as_me: loading cache $cache_file" >&6;}
1626 case $cache_file in
1627 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1628 *) . "./$cache_file";;
1629 esac
1631 else
1632 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1633 $as_echo "$as_me: creating cache $cache_file" >&6;}
1634 >$cache_file
1637 # Check that the precious variables saved in the cache have kept the same
1638 # value.
1639 ac_cache_corrupted=false
1640 for ac_var in $ac_precious_vars; do
1641 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1642 eval ac_new_set=\$ac_env_${ac_var}_set
1643 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1644 eval ac_new_val=\$ac_env_${ac_var}_value
1645 case $ac_old_set,$ac_new_set in
1646 set,)
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1648 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1649 ac_cache_corrupted=: ;;
1650 ,set)
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1652 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1653 ac_cache_corrupted=: ;;
1654 ,);;
1656 if test "x$ac_old_val" != "x$ac_new_val"; then
1657 # differences in whitespace do not lead to failure.
1658 ac_old_val_w=`echo x $ac_old_val`
1659 ac_new_val_w=`echo x $ac_new_val`
1660 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1662 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1663 ac_cache_corrupted=:
1664 else
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1666 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1667 eval $ac_var=\$ac_old_val
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1670 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1672 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1673 fi;;
1674 esac
1675 # Pass precious variables to config.status.
1676 if test "$ac_new_set" = set; then
1677 case $ac_new_val in
1678 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1679 *) ac_arg=$ac_var=$ac_new_val ;;
1680 esac
1681 case " $ac_configure_args " in
1682 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1683 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1684 esac
1686 done
1687 if $ac_cache_corrupted; then
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1689 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1690 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1691 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1692 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1694 ## -------------------- ##
1695 ## Main body of script. ##
1696 ## -------------------- ##
1698 ac_ext=c
1699 ac_cpp='$CPP $CPPFLAGS'
1700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1706 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
1707 set x ${MAKE-make}
1708 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1709 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
1710 $as_echo_n "(cached) " >&6
1711 else
1712 cat >conftest.make <<\_ACEOF
1713 SHELL = /bin/sh
1714 all:
1715 @echo '@@@%%%=$(MAKE)=@@@%%%'
1716 _ACEOF
1717 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
1718 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1719 *@@@%%%=?*=@@@%%%*)
1720 eval ac_cv_prog_make_${ac_make}_set=yes;;
1722 eval ac_cv_prog_make_${ac_make}_set=no;;
1723 esac
1724 rm -f conftest.make
1726 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1728 $as_echo "yes" >&6; }
1729 SET_MAKE=
1730 else
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1732 $as_echo "no" >&6; }
1733 SET_MAKE="MAKE=${MAKE-make}"
1736 ac_aux_dir=
1737 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1738 if test -f "$ac_dir/install-sh"; then
1739 ac_aux_dir=$ac_dir
1740 ac_install_sh="$ac_aux_dir/install-sh -c"
1741 break
1742 elif test -f "$ac_dir/install.sh"; then
1743 ac_aux_dir=$ac_dir
1744 ac_install_sh="$ac_aux_dir/install.sh -c"
1745 break
1746 elif test -f "$ac_dir/shtool"; then
1747 ac_aux_dir=$ac_dir
1748 ac_install_sh="$ac_aux_dir/shtool install -c"
1749 break
1751 done
1752 if test -z "$ac_aux_dir"; then
1753 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1756 # These three variables are undocumented and unsupported,
1757 # and are intended to be withdrawn in a future Autoconf release.
1758 # They can cause serious problems if a builder's source tree is in a directory
1759 # whose full name contains unusual characters.
1760 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1761 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1762 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1765 # Find a good install program. We prefer a C program (faster),
1766 # so one script is as good as another. But avoid the broken or
1767 # incompatible versions:
1768 # SysV /etc/install, /usr/sbin/install
1769 # SunOS /usr/etc/install
1770 # IRIX /sbin/install
1771 # AIX /bin/install
1772 # AmigaOS /C/install, which installs bootblocks on floppy discs
1773 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1774 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1775 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1776 # OS/2's system install, which has a completely different semantic
1777 # ./install, which can be erroneously created by make from ./install.sh.
1778 # Reject install programs that cannot install multiple files.
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1780 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1781 if test -z "$INSTALL"; then
1782 if ${ac_cv_path_install+:} false; then :
1783 $as_echo_n "(cached) " >&6
1784 else
1785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1786 for as_dir in $PATH
1788 IFS=$as_save_IFS
1789 test -z "$as_dir" && as_dir=.
1790 # Account for people who put trailing slashes in PATH elements.
1791 case $as_dir/ in #((
1792 ./ | .// | /[cC]/* | \
1793 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1794 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1795 /usr/ucb/* ) ;;
1797 # OSF1 and SCO ODT 3.0 have their own names for install.
1798 # Don't use installbsd from OSF since it installs stuff as root
1799 # by default.
1800 for ac_prog in ginstall scoinst install; do
1801 for ac_exec_ext in '' $ac_executable_extensions; do
1802 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1803 if test $ac_prog = install &&
1804 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1805 # AIX install. It has an incompatible calling convention.
1807 elif test $ac_prog = install &&
1808 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1809 # program-specific install script used by HP pwplus--don't use.
1811 else
1812 rm -rf conftest.one conftest.two conftest.dir
1813 echo one > conftest.one
1814 echo two > conftest.two
1815 mkdir conftest.dir
1816 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1817 test -s conftest.one && test -s conftest.two &&
1818 test -s conftest.dir/conftest.one &&
1819 test -s conftest.dir/conftest.two
1820 then
1821 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1822 break 3
1826 done
1827 done
1829 esac
1831 done
1832 IFS=$as_save_IFS
1834 rm -rf conftest.one conftest.two conftest.dir
1837 if test "${ac_cv_path_install+set}" = set; then
1838 INSTALL=$ac_cv_path_install
1839 else
1840 # As a last resort, use the slow shell script. Don't cache a
1841 # value for INSTALL within a source directory, because that will
1842 # break other packages using the cache if that directory is
1843 # removed, or if the value is a relative name.
1844 INSTALL=$ac_install_sh
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1848 $as_echo "$INSTALL" >&6; }
1850 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1851 # It thinks the first close brace ends the variable substitution.
1852 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1854 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1856 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1859 if test "${EMACS}" = "t" -o -n "${INSIDE_EMACS}"; then
1860 EMACS=""
1864 # Check whether --with-xemacs was given.
1865 if test "${with_xemacs+set}" = set; then :
1866 withval=$with_xemacs; if test "${withval}" = "yes"; then EMACS=xemacs; else EMACS=${withval}; fi
1870 # Check whether --with-emacs was given.
1871 if test "${with_emacs+set}" = set; then :
1872 withval=$with_emacs; if test "${withval}" = "yes"; then EMACS=emacs; else EMACS=${withval}; fi
1875 # Extract the first word of "makeinfo", so it can be a program name with args.
1876 set dummy makeinfo; ac_word=$2
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1878 $as_echo_n "checking for $ac_word... " >&6; }
1879 if ${ac_cv_prog_MAKEINFO+:} false; then :
1880 $as_echo_n "(cached) " >&6
1881 else
1882 if test -n "$MAKEINFO"; then
1883 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
1884 else
1885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1886 for as_dir in $PATH
1888 IFS=$as_save_IFS
1889 test -z "$as_dir" && as_dir=.
1890 for ac_exec_ext in '' $ac_executable_extensions; do
1891 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1892 ac_cv_prog_MAKEINFO="makeinfo"
1893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1894 break 2
1896 done
1897 done
1898 IFS=$as_save_IFS
1900 test -z "$ac_cv_prog_MAKEINFO" && ac_cv_prog_MAKEINFO="no"
1903 MAKEINFO=$ac_cv_prog_MAKEINFO
1904 if test -n "$MAKEINFO"; then
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
1906 $as_echo "$MAKEINFO" >&6; }
1907 else
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1909 $as_echo "no" >&6; }
1914 # Extract the first word of "emacs", so it can be a program name with args.
1915 set dummy emacs; ac_word=$2
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1917 $as_echo_n "checking for $ac_word... " >&6; }
1918 if ${ac_cv_prog_EMACS+:} false; then :
1919 $as_echo_n "(cached) " >&6
1920 else
1921 if test -n "$EMACS"; then
1922 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
1923 else
1924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1925 for as_dir in $PATH
1927 IFS=$as_save_IFS
1928 test -z "$as_dir" && as_dir=.
1929 for ac_exec_ext in '' $ac_executable_extensions; do
1930 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1931 ac_cv_prog_EMACS="emacs"
1932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1933 break 2
1935 done
1936 done
1937 IFS=$as_save_IFS
1939 test -z "$ac_cv_prog_EMACS" && ac_cv_prog_EMACS="xemacs"
1942 EMACS=$ac_cv_prog_EMACS
1943 if test -n "$EMACS"; then
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EMACS" >&5
1945 $as_echo "$EMACS" >&6; }
1946 else
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1948 $as_echo "no" >&6; }
1955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $EMACS is really XEmacs" >&5
1956 $as_echo_n "checking if $EMACS is really XEmacs... " >&6; }
1958 elisp="(if (string-match \"XEmacs\" emacs-version) \"yes\" \"no\") "
1959 if test -z ""noecho""; then
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xemacsp" >&5
1961 $as_echo_n "checking for xemacsp... " >&6; }
1963 if ${EMACS_cv_SYS_xemacsp+:} false; then :
1964 $as_echo_n "(cached) " >&6
1965 else
1967 OUTPUT=./conftest-$$
1968 echo ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1
1969 ${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
1970 retval=`cat ${OUTPUT}`
1971 echo "=> ${retval}" >& 5 2>&1
1972 rm -f ${OUTPUT}
1973 EMACS_cv_SYS_xemacsp=$retval
1977 xemacsp=${EMACS_cv_SYS_xemacsp}
1978 if test -z ""noecho""; then
1979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xemacsp" >&5
1980 $as_echo "$xemacsp" >&6; }
1983 XEMACS=${EMACS_cv_SYS_xemacsp}
1984 EMACS_FLAVOR=emacs
1985 if test "$XEMACS" = "yes"; then
1986 EMACS_FLAVOR=xemacs
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XEMACS" >&5
1989 $as_echo "$XEMACS" >&6; }
1993 if test "$prefix" = "NONE"; then
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking prefix for your Emacs" >&5
1995 $as_echo_n "checking prefix for your Emacs... " >&6; }
1997 elisp="(expand-file-name \"..\" invocation-directory)"
1998 if test -z ""noecho""; then
1999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prefix" >&5
2000 $as_echo_n "checking for prefix... " >&6; }
2002 if ${EMACS_cv_SYS_prefix+:} false; then :
2003 $as_echo_n "(cached) " >&6
2004 else
2006 OUTPUT=./conftest-$$
2007 echo ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1
2008 ${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
2009 retval=`cat ${OUTPUT}`
2010 echo "=> ${retval}" >& 5 2>&1
2011 rm -f ${OUTPUT}
2012 EMACS_cv_SYS_prefix=$retval
2016 prefix=${EMACS_cv_SYS_prefix}
2017 if test -z ""noecho""; then
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $prefix" >&5
2019 $as_echo "$prefix" >&6; }
2022 prefix=${EMACS_cv_SYS_prefix}
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $prefix" >&5
2024 $as_echo "$prefix" >&6; }
2027 # Check whether --with-lispdir was given.
2028 if test "${with_lispdir+set}" = set; then :
2029 withval=$with_lispdir; lispdir=${withval}
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where .elc files should go" >&5
2033 $as_echo_n "checking where .elc files should go... " >&6; }
2034 if test -z "$lispdir"; then
2035 theprefix=$prefix
2036 if test "x$theprefix" = "xNONE"; then
2037 theprefix=$ac_default_prefix
2039 if test "$EMACS_FLAVOR" = "xemacs"; then
2040 datadir="\$(prefix)/lib"
2041 lispdir="\$(datadir)/${EMACS_FLAVOR}/site-packages/lisp/gnus"
2042 else
2043 lispdir="\$(datadir)/${EMACS_FLAVOR}/site-lisp/gnus"
2045 for thedir in share lib; do
2046 potential=
2047 if test -d "${theprefix}/${thedir}/${EMACS_FLAVOR}/site-lisp"; then
2048 if test "$EMACS_FLAVOR" = "xemacs"; then
2049 lispdir="\$(prefix)/${thedir}/${EMACS_FLAVOR}/site-packages/lisp/gnus"
2050 else
2051 lispdir="\$(datadir)/${EMACS_FLAVOR}/site-lisp/gnus"
2053 break
2055 done
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lispdir" >&5
2058 $as_echo "$lispdir" >&6; }
2063 # Check whether --with-etcdir was given.
2064 if test "${with_etcdir+set}" = set; then :
2065 withval=$with_etcdir; etcdir=${withval}
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where etc files should go" >&5
2069 $as_echo_n "checking where etc files should go... " >&6; }
2070 if test -z "$etcdir"; then
2071 if test "$EMACS_FLAVOR" = "xemacs"; then
2072 etcdir="\$(lispdir)/../../etc"
2073 else
2074 etcdir="\$(lispdir)/../../etc"
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $etcdir" >&5
2078 $as_echo "$etcdir" >&6; }
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the TeXinfo docs should go" >&5
2083 $as_echo_n "checking where the TeXinfo docs should go... " >&6; }
2084 if test "$infodir" = "\${prefix}/info"; then
2085 if test "$EMACS_FLAVOR" = "xemacs"; then
2086 info_dir="\$(prefix)/${thedir}/${EMACS_FLAVOR}/site-packages/info"
2087 else
2088 info_dir="\$(prefix)/info"
2090 else
2091 info_dir=$infodir
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $info_dir" >&5
2094 $as_echo "$info_dir" >&6; }
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acceptable URL version" >&5
2099 $as_echo_n "checking for acceptable URL version... " >&6; }
2100 if ${EMACS_cv_ACCEPTABLE_URL+:} false; then :
2101 $as_echo_n "(cached) " >&6
2102 else
2105 if test -z ""noecho""; then
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for url-retrieve in url" >&5
2107 $as_echo_n "checking for url-retrieve in url... " >&6; }
2109 library=`echo url | tr _ -`
2111 elisp="(progn (fmakunbound 'url-retrieve) (condition-case nil (progn (require '$library) (fboundp 'url-retrieve)) (error (prog1 nil (message \"$library not found\")))))"
2112 if test -z ""noecho""; then
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for url" >&5
2114 $as_echo_n "checking for url... " >&6; }
2116 if ${EMACS_cv_SYS_url+:} false; then :
2117 $as_echo_n "(cached) " >&6
2118 else
2120 OUTPUT=./conftest-$$
2121 echo ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1
2122 ${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
2123 retval=`cat ${OUTPUT}`
2124 echo "=> ${retval}" >& 5 2>&1
2125 rm -f ${OUTPUT}
2126 EMACS_cv_SYS_url=$retval
2130 url=${EMACS_cv_SYS_url}
2131 if test -z ""noecho""; then
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $url" >&5
2133 $as_echo "$url" >&6; }
2136 if test "${EMACS_cv_SYS_url}" = "nil"; then
2137 EMACS_cv_SYS_url=no
2139 if test "${EMACS_cv_SYS_url}" = "t"; then
2140 EMACS_cv_SYS_url=yes
2142 HAVE_url=${EMACS_cv_SYS_url}
2144 if test -z ""noecho""; then
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_url" >&5
2146 $as_echo "$HAVE_url" >&6; }
2149 if test "${HAVE_url}" = "yes"; then
2150 EMACS_cv_ACCEPTABLE_URL=yes
2151 else
2152 EMACS_cv_ACCEPTABLE_URL=no
2155 if test "${EMACS_cv_ACCEPTABLE_URL}" = "yes"; then
2157 elisp="(file-name-directory (locate-library \"url\"))"
2158 if test -z ""noecho""; then
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for url_dir" >&5
2160 $as_echo_n "checking for url_dir... " >&6; }
2162 if ${EMACS_cv_SYS_url_dir+:} false; then :
2163 $as_echo_n "(cached) " >&6
2164 else
2166 OUTPUT=./conftest-$$
2167 echo ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1
2168 ${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
2169 retval=`cat ${OUTPUT}`
2170 echo "=> ${retval}" >& 5 2>&1
2171 rm -f ${OUTPUT}
2172 EMACS_cv_SYS_url_dir=$retval
2176 url_dir=${EMACS_cv_SYS_url_dir}
2177 if test -z ""noecho""; then
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $url_dir" >&5
2179 $as_echo "$url_dir" >&6; }
2182 EMACS_cv_ACCEPTABLE_URL=$EMACS_cv_SYS_url_dir
2188 # Check whether --with-url was given.
2189 if test "${with_url+set}" = set; then :
2190 withval=$with_url; EMACS_cv_ACCEPTABLE_URL=`( cd $withval && pwd || echo "$withval" ) 2> /dev/null`
2193 URL=${EMACS_cv_ACCEPTABLE_URL}
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"${URL}\"" >&5
2196 $as_echo "\"${URL}\"" >&6; }
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acceptable W3 version" >&5
2200 $as_echo_n "checking for acceptable W3 version... " >&6; }
2201 if ${EMACS_cv_ACCEPTABLE_W3+:} false; then :
2202 $as_echo_n "(cached) " >&6
2203 else
2206 if test -z ""noecho""; then
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for w3-form-encode-xwfu in w3_forms" >&5
2208 $as_echo_n "checking for w3-form-encode-xwfu in w3_forms... " >&6; }
2210 library=`echo w3_forms | tr _ -`
2212 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\")))))"
2213 if test -z ""noecho""; then
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for w3_forms" >&5
2215 $as_echo_n "checking for w3_forms... " >&6; }
2217 if ${EMACS_cv_SYS_w3_forms+:} false; then :
2218 $as_echo_n "(cached) " >&6
2219 else
2221 OUTPUT=./conftest-$$
2222 echo ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1
2223 ${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
2224 retval=`cat ${OUTPUT}`
2225 echo "=> ${retval}" >& 5 2>&1
2226 rm -f ${OUTPUT}
2227 EMACS_cv_SYS_w3_forms=$retval
2231 w3_forms=${EMACS_cv_SYS_w3_forms}
2232 if test -z ""noecho""; then
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $w3_forms" >&5
2234 $as_echo "$w3_forms" >&6; }
2237 if test "${EMACS_cv_SYS_w3_forms}" = "nil"; then
2238 EMACS_cv_SYS_w3_forms=no
2240 if test "${EMACS_cv_SYS_w3_forms}" = "t"; then
2241 EMACS_cv_SYS_w3_forms=yes
2243 HAVE_w3_forms=${EMACS_cv_SYS_w3_forms}
2245 if test -z ""noecho""; then
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_w3_forms" >&5
2247 $as_echo "$HAVE_w3_forms" >&6; }
2250 if test "${HAVE_w3_forms}" = "yes"; then
2251 EMACS_cv_ACCEPTABLE_W3=yes
2252 else
2253 EMACS_cv_ACCEPTABLE_W3=no
2256 if test "${EMACS_cv_ACCEPTABLE_W3}" = "yes"; then
2258 elisp="(file-name-directory (locate-library \"w3-forms\"))"
2259 if test -z ""noecho""; then
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for w3_dir" >&5
2261 $as_echo_n "checking for w3_dir... " >&6; }
2263 if ${EMACS_cv_SYS_w3_dir+:} false; then :
2264 $as_echo_n "(cached) " >&6
2265 else
2267 OUTPUT=./conftest-$$
2268 echo ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1
2269 ${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
2270 retval=`cat ${OUTPUT}`
2271 echo "=> ${retval}" >& 5 2>&1
2272 rm -f ${OUTPUT}
2273 EMACS_cv_SYS_w3_dir=$retval
2277 w3_dir=${EMACS_cv_SYS_w3_dir}
2278 if test -z ""noecho""; then
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $w3_dir" >&5
2280 $as_echo "$w3_dir" >&6; }
2283 EMACS_cv_ACCEPTABLE_W3=$EMACS_cv_SYS_w3_dir
2289 # Check whether --with-w3 was given.
2290 if test "${with_w3+set}" = set; then :
2291 withval=$with_w3; EMACS_cv_ACCEPTABLE_W3=`( cd $withval && pwd || echo "$withval" ) 2> /dev/null`
2294 W3=${EMACS_cv_ACCEPTABLE_W3}
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"${W3}\"" >&5
2297 $as_echo "\"${W3}\"" >&6; }
2300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which options to pass on to (X)Emacs" >&5
2301 $as_echo_n "checking which options to pass on to (X)Emacs... " >&6; }
2302 if test "x$FLAGS" = "x"; then
2303 if test "$EMACS_FLAVOR" = "xemacs"; then
2304 FLAGS="-batch -no-autoloads -l \$(srcdir)/dgnushack.el"
2305 else
2306 FLAGS="-batch -q -no-site-file -l \$(srcdir)/dgnushack.el"
2308 else
2309 FLAGS=$FLAGS
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLAGS" >&5
2312 $as_echo "$FLAGS" >&6; }
2316 test "$LATEX" = t && LATEX=
2317 test "$LATEX" || for ac_prog in latex
2319 # Extract the first word of "$ac_prog", so it can be a program name with args.
2320 set dummy $ac_prog; ac_word=$2
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2322 $as_echo_n "checking for $ac_word... " >&6; }
2323 if ${ac_cv_path_LATEX+:} false; then :
2324 $as_echo_n "(cached) " >&6
2325 else
2326 case $LATEX in
2327 [\\/]* | ?:[\\/]*)
2328 ac_cv_path_LATEX="$LATEX" # Let the user override the test with a path.
2331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2332 for as_dir in $PATH
2334 IFS=$as_save_IFS
2335 test -z "$as_dir" && as_dir=.
2336 for ac_exec_ext in '' $ac_executable_extensions; do
2337 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2338 ac_cv_path_LATEX="$as_dir/$ac_word$ac_exec_ext"
2339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2340 break 2
2342 done
2343 done
2344 IFS=$as_save_IFS
2347 esac
2349 LATEX=$ac_cv_path_LATEX
2350 if test -n "$LATEX"; then
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LATEX" >&5
2352 $as_echo "$LATEX" >&6; }
2353 else
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2355 $as_echo "no" >&6; }
2359 test -n "$LATEX" && break
2360 done
2361 test -n "$LATEX" || LATEX="no"
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for available fonts" >&5
2364 $as_echo_n "checking for available fonts... " >&6; }
2366 # Check whether --with-fonts was given.
2367 if test "${with_fonts+set}" = set; then :
2368 withval=$with_fonts; USE_FONTS="$withval"
2371 WITH_FONTS_bembo='%'
2372 WITHOUT_FONTS_bembo=
2373 WITH_FONTS_pfu='%'
2374 WITHOUT_FONTS_pfu=
2375 WITH_FONTS_bcr='%'
2376 WITHOUT_FONTS_bcr=
2377 if test -z "${USE_FONTS}"; then
2378 if test "${LATEX}" = no; then
2380 else
2381 OUTPUT=./conftest-$$
2382 echo '\nonstopmode\documentclass{article}\usepackage{bembo}\begin{document}\end{document}' > ${OUTPUT}
2383 if ${LATEX} ${OUTPUT} </dev/null >& 5 2>&1 ; then
2384 if test -z "${USE_FONTS}"; then
2385 USE_FONTS="Adobe Bembo"
2386 else
2387 USE_FONTS="${USE_FONTS}, Adobe Bembo"
2389 WITH_FONTS_bembo=
2390 WITHOUT_FONTS_bembo='%'
2392 echo '\nonstopmode\documentclass{article}\begin{document}{\fontfamily{pfu}\fontsize{10pt}{10}\selectfont test}\end{document}' > ${OUTPUT}
2393 if retval=`${LATEX} ${OUTPUT} </dev/null 2>& 5`; then
2394 if echo "$retval" | grep 'Some font shapes were not available' >& 5 2>&1 ; then
2396 else
2397 if test -z "${USE_FONTS}"; then
2398 USE_FONTS="Adobe Futura"
2399 else
2400 USE_FONTS="${USE_FONTS}, Adobe Futura"
2402 WITH_FONTS_pfu=
2403 WITHOUT_FONTS_pfu='%'
2406 echo '\nonstopmode\documentclass{article}\begin{document}{\fontfamily{bcr}\fontsize{10pt}{10}\selectfont test}\end{document}' > ${OUTPUT}
2407 if retval=`${LATEX} ${OUTPUT} </dev/null 2>& 5`; then
2408 if echo "$retval" | grep 'Some font shapes were not available' >& 5 2>&1 ; then
2410 else
2411 if test -z "${USE_FONTS}"; then
2412 USE_FONTS="Bitstream Courier"
2413 else
2414 USE_FONTS="${USE_FONTS}, Bitstream Courier"
2416 WITH_FONTS_bcr=
2417 WITHOUT_FONTS_bcr='%'
2420 rm -f ${OUTPUT} ${OUTPUT}.aux ${OUTPUT}.log ${OUTPUT}.dvi
2422 elif test "${USE_FONTS}" = yes ; then
2423 WITH_FONTS_bembo=
2424 WITHOUT_FONTS_bembo='%'
2425 WITH_FONTS_pfu=
2426 WITHOUT_FONTS_pfu='%'
2427 WITH_FONTS_bcr=
2428 WITHOUT_FONTS_bcr='%'
2436 if test -z "${USE_FONTS}" ; then
2437 USE_FONTS=no
2439 USE_FONTS=`echo "${USE_FONTS}" | sed 's/,\([^,]*\)$/ and\1/'`
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"${USE_FONTS}\"" >&5
2441 $as_echo "\"${USE_FONTS}\"" >&6; }
2442 if test "${USE_FONTS}" = yes ; then
2443 USE_FONTS='Set in Adobe Bembo, Adobe Futura and Bitstream Courier.'
2444 elif test "${USE_FONTS}" = no ; then
2445 USE_FONTS=''
2446 else
2447 USE_FONTS="Set in ${USE_FONTS}."
2452 ac_config_files="$ac_config_files Makefile etc/Makefile lisp/Makefile texi/Makefile texi/gnusconfig.tex texi/ps/Makefile"
2454 cat >confcache <<\_ACEOF
2455 # This file is a shell script that caches the results of configure
2456 # tests run on this system so they can be shared between configure
2457 # scripts and configure runs, see configure's option --config-cache.
2458 # It is not useful on other systems. If it contains results you don't
2459 # want to keep, you may remove or edit it.
2461 # config.status only pays attention to the cache file if you give it
2462 # the --recheck option to rerun configure.
2464 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2465 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2466 # following values.
2468 _ACEOF
2470 # The following way of writing the cache mishandles newlines in values,
2471 # but we know of no workaround that is simple, portable, and efficient.
2472 # So, we kill variables containing newlines.
2473 # Ultrix sh set writes to stderr and can't be redirected directly,
2474 # and sets the high bit in the cache file unless we assign to the vars.
2476 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2477 eval ac_val=\$$ac_var
2478 case $ac_val in #(
2479 *${as_nl}*)
2480 case $ac_var in #(
2481 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2482 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2483 esac
2484 case $ac_var in #(
2485 _ | IFS | as_nl) ;; #(
2486 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2487 *) { eval $ac_var=; unset $ac_var;} ;;
2488 esac ;;
2489 esac
2490 done
2492 (set) 2>&1 |
2493 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2494 *${as_nl}ac_space=\ *)
2495 # `set' does not quote correctly, so add quotes: double-quote
2496 # substitution turns \\\\ into \\, and sed turns \\ into \.
2497 sed -n \
2498 "s/'/'\\\\''/g;
2499 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2500 ;; #(
2502 # `set' quotes correctly as required by POSIX, so do not add quotes.
2503 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2505 esac |
2506 sort
2508 sed '
2509 /^ac_cv_env_/b end
2510 t clear
2511 :clear
2512 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2513 t end
2514 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2515 :end' >>confcache
2516 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2517 if test -w "$cache_file"; then
2518 if test "x$cache_file" != "x/dev/null"; then
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2520 $as_echo "$as_me: updating cache $cache_file" >&6;}
2521 if test ! -f "$cache_file" || test -h "$cache_file"; then
2522 cat confcache >"$cache_file"
2523 else
2524 case $cache_file in #(
2525 */* | ?:*)
2526 mv -f confcache "$cache_file"$$ &&
2527 mv -f "$cache_file"$$ "$cache_file" ;; #(
2529 mv -f confcache "$cache_file" ;;
2530 esac
2533 else
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2535 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2538 rm -f confcache
2540 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2541 # Let make expand exec_prefix.
2542 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2544 # Transform confdefs.h into DEFS.
2545 # Protect against shell expansion while executing Makefile rules.
2546 # Protect against Makefile macro expansion.
2548 # If the first sed substitution is executed (which looks for macros that
2549 # take arguments), then branch to the quote section. Otherwise,
2550 # look for a macro that doesn't take arguments.
2551 ac_script='
2552 :mline
2553 /\\$/{
2555 s,\\\n,,
2556 b mline
2558 t clear
2559 :clear
2560 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2561 t quote
2562 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2563 t quote
2564 b any
2565 :quote
2566 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2567 s/\[/\\&/g
2568 s/\]/\\&/g
2569 s/\$/$$/g
2571 :any
2574 s/^\n//
2575 s/\n/ /g
2579 DEFS=`sed -n "$ac_script" confdefs.h`
2582 ac_libobjs=
2583 ac_ltlibobjs=
2585 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2586 # 1. Remove the extension, and $U if already installed.
2587 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2588 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2589 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2590 # will be set to the directory where LIBOBJS objects are built.
2591 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2592 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2593 done
2594 LIBOBJS=$ac_libobjs
2596 LTLIBOBJS=$ac_ltlibobjs
2600 : "${CONFIG_STATUS=./config.status}"
2601 ac_write_fail=0
2602 ac_clean_files_save=$ac_clean_files
2603 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2605 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2606 as_write_fail=0
2607 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2608 #! $SHELL
2609 # Generated by $as_me.
2610 # Run this file to recreate the current configuration.
2611 # Compiler output produced by configure, useful for debugging
2612 # configure, is in config.log if it exists.
2614 debug=false
2615 ac_cs_recheck=false
2616 ac_cs_silent=false
2618 SHELL=\${CONFIG_SHELL-$SHELL}
2619 export SHELL
2620 _ASEOF
2621 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2622 ## -------------------- ##
2623 ## M4sh Initialization. ##
2624 ## -------------------- ##
2626 # Be more Bourne compatible
2627 DUALCASE=1; export DUALCASE # for MKS sh
2628 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2629 emulate sh
2630 NULLCMD=:
2631 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2632 # is contrary to our usage. Disable this feature.
2633 alias -g '${1+"$@"}'='"$@"'
2634 setopt NO_GLOB_SUBST
2635 else
2636 case `(set -o) 2>/dev/null` in #(
2637 *posix*) :
2638 set -o posix ;; #(
2639 *) :
2641 esac
2645 as_nl='
2647 export as_nl
2648 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2649 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2650 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2651 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2652 # Prefer a ksh shell builtin over an external printf program on Solaris,
2653 # but without wasting forks for bash or zsh.
2654 if test -z "$BASH_VERSION$ZSH_VERSION" \
2655 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2656 as_echo='print -r --'
2657 as_echo_n='print -rn --'
2658 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2659 as_echo='printf %s\n'
2660 as_echo_n='printf %s'
2661 else
2662 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2663 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2664 as_echo_n='/usr/ucb/echo -n'
2665 else
2666 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2667 as_echo_n_body='eval
2668 arg=$1;
2669 case $arg in #(
2670 *"$as_nl"*)
2671 expr "X$arg" : "X\\(.*\\)$as_nl";
2672 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2673 esac;
2674 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2676 export as_echo_n_body
2677 as_echo_n='sh -c $as_echo_n_body as_echo'
2679 export as_echo_body
2680 as_echo='sh -c $as_echo_body as_echo'
2683 # The user is always right.
2684 if test "${PATH_SEPARATOR+set}" != set; then
2685 PATH_SEPARATOR=:
2686 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2687 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2688 PATH_SEPARATOR=';'
2693 # IFS
2694 # We need space, tab and new line, in precisely that order. Quoting is
2695 # there to prevent editors from complaining about space-tab.
2696 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2697 # splitting by setting IFS to empty value.)
2698 IFS=" "" $as_nl"
2700 # Find who we are. Look in the path if we contain no directory separator.
2701 as_myself=
2702 case $0 in #((
2703 *[\\/]* ) as_myself=$0 ;;
2704 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2705 for as_dir in $PATH
2707 IFS=$as_save_IFS
2708 test -z "$as_dir" && as_dir=.
2709 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2710 done
2711 IFS=$as_save_IFS
2714 esac
2715 # We did not find ourselves, most probably we were run as `sh COMMAND'
2716 # in which case we are not to be found in the path.
2717 if test "x$as_myself" = x; then
2718 as_myself=$0
2720 if test ! -f "$as_myself"; then
2721 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2722 exit 1
2725 # Unset variables that we do not need and which cause bugs (e.g. in
2726 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2727 # suppresses any "Segmentation fault" message there. '((' could
2728 # trigger a bug in pdksh 5.2.14.
2729 for as_var in BASH_ENV ENV MAIL MAILPATH
2730 do eval test x\${$as_var+set} = xset \
2731 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2732 done
2733 PS1='$ '
2734 PS2='> '
2735 PS4='+ '
2737 # NLS nuisances.
2738 LC_ALL=C
2739 export LC_ALL
2740 LANGUAGE=C
2741 export LANGUAGE
2743 # CDPATH.
2744 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2747 # as_fn_error STATUS ERROR [LINENO LOG_FD]
2748 # ----------------------------------------
2749 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2750 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2751 # script with STATUS, using 1 if that was 0.
2752 as_fn_error ()
2754 as_status=$1; test $as_status -eq 0 && as_status=1
2755 if test "$4"; then
2756 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2757 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2759 $as_echo "$as_me: error: $2" >&2
2760 as_fn_exit $as_status
2761 } # as_fn_error
2764 # as_fn_set_status STATUS
2765 # -----------------------
2766 # Set $? to STATUS, without forking.
2767 as_fn_set_status ()
2769 return $1
2770 } # as_fn_set_status
2772 # as_fn_exit STATUS
2773 # -----------------
2774 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2775 as_fn_exit ()
2777 set +e
2778 as_fn_set_status $1
2779 exit $1
2780 } # as_fn_exit
2782 # as_fn_unset VAR
2783 # ---------------
2784 # Portably unset VAR.
2785 as_fn_unset ()
2787 { eval $1=; unset $1;}
2789 as_unset=as_fn_unset
2790 # as_fn_append VAR VALUE
2791 # ----------------------
2792 # Append the text in VALUE to the end of the definition contained in VAR. Take
2793 # advantage of any shell optimizations that allow amortized linear growth over
2794 # repeated appends, instead of the typical quadratic growth present in naive
2795 # implementations.
2796 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2797 eval 'as_fn_append ()
2799 eval $1+=\$2
2801 else
2802 as_fn_append ()
2804 eval $1=\$$1\$2
2806 fi # as_fn_append
2808 # as_fn_arith ARG...
2809 # ------------------
2810 # Perform arithmetic evaluation on the ARGs, and store the result in the
2811 # global $as_val. Take advantage of shells that can avoid forks. The arguments
2812 # must be portable across $(()) and expr.
2813 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2814 eval 'as_fn_arith ()
2816 as_val=$(( $* ))
2818 else
2819 as_fn_arith ()
2821 as_val=`expr "$@" || test $? -eq 1`
2823 fi # as_fn_arith
2826 if expr a : '\(a\)' >/dev/null 2>&1 &&
2827 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2828 as_expr=expr
2829 else
2830 as_expr=false
2833 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2834 as_basename=basename
2835 else
2836 as_basename=false
2839 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2840 as_dirname=dirname
2841 else
2842 as_dirname=false
2845 as_me=`$as_basename -- "$0" ||
2846 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2847 X"$0" : 'X\(//\)$' \| \
2848 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2849 $as_echo X/"$0" |
2850 sed '/^.*\/\([^/][^/]*\)\/*$/{
2851 s//\1/
2854 /^X\/\(\/\/\)$/{
2855 s//\1/
2858 /^X\/\(\/\).*/{
2859 s//\1/
2862 s/.*/./; q'`
2864 # Avoid depending upon Character Ranges.
2865 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2866 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2867 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2868 as_cr_digits='0123456789'
2869 as_cr_alnum=$as_cr_Letters$as_cr_digits
2871 ECHO_C= ECHO_N= ECHO_T=
2872 case `echo -n x` in #(((((
2873 -n*)
2874 case `echo 'xy\c'` in
2875 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2876 xy) ECHO_C='\c';;
2877 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
2878 ECHO_T=' ';;
2879 esac;;
2881 ECHO_N='-n';;
2882 esac
2884 rm -f conf$$ conf$$.exe conf$$.file
2885 if test -d conf$$.dir; then
2886 rm -f conf$$.dir/conf$$.file
2887 else
2888 rm -f conf$$.dir
2889 mkdir conf$$.dir 2>/dev/null
2891 if (echo >conf$$.file) 2>/dev/null; then
2892 if ln -s conf$$.file conf$$ 2>/dev/null; then
2893 as_ln_s='ln -s'
2894 # ... but there are two gotchas:
2895 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2896 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2897 # In both cases, we have to default to `cp -pR'.
2898 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2899 as_ln_s='cp -pR'
2900 elif ln conf$$.file conf$$ 2>/dev/null; then
2901 as_ln_s=ln
2902 else
2903 as_ln_s='cp -pR'
2905 else
2906 as_ln_s='cp -pR'
2908 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2909 rmdir conf$$.dir 2>/dev/null
2912 # as_fn_mkdir_p
2913 # -------------
2914 # Create "$as_dir" as a directory, including parents if necessary.
2915 as_fn_mkdir_p ()
2918 case $as_dir in #(
2919 -*) as_dir=./$as_dir;;
2920 esac
2921 test -d "$as_dir" || eval $as_mkdir_p || {
2922 as_dirs=
2923 while :; do
2924 case $as_dir in #(
2925 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2926 *) as_qdir=$as_dir;;
2927 esac
2928 as_dirs="'$as_qdir' $as_dirs"
2929 as_dir=`$as_dirname -- "$as_dir" ||
2930 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2931 X"$as_dir" : 'X\(//\)[^/]' \| \
2932 X"$as_dir" : 'X\(//\)$' \| \
2933 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2934 $as_echo X"$as_dir" |
2935 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2936 s//\1/
2939 /^X\(\/\/\)[^/].*/{
2940 s//\1/
2943 /^X\(\/\/\)$/{
2944 s//\1/
2947 /^X\(\/\).*/{
2948 s//\1/
2951 s/.*/./; q'`
2952 test -d "$as_dir" && break
2953 done
2954 test -z "$as_dirs" || eval "mkdir $as_dirs"
2955 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
2958 } # as_fn_mkdir_p
2959 if mkdir -p . 2>/dev/null; then
2960 as_mkdir_p='mkdir -p "$as_dir"'
2961 else
2962 test -d ./-p && rmdir ./-p
2963 as_mkdir_p=false
2967 # as_fn_executable_p FILE
2968 # -----------------------
2969 # Test if FILE is an executable regular file.
2970 as_fn_executable_p ()
2972 test -f "$1" && test -x "$1"
2973 } # as_fn_executable_p
2974 as_test_x='test -x'
2975 as_executable_p=as_fn_executable_p
2977 # Sed expression to map a string onto a valid CPP name.
2978 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2980 # Sed expression to map a string onto a valid variable name.
2981 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2984 exec 6>&1
2985 ## ----------------------------------- ##
2986 ## Main body of $CONFIG_STATUS script. ##
2987 ## ----------------------------------- ##
2988 _ASEOF
2989 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2991 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2992 # Save the log message, to keep $0 and so on meaningful, and to
2993 # report actual input values of CONFIG_FILES etc. instead of their
2994 # values after options handling.
2995 ac_log="
2996 This file was extended by $as_me, which was
2997 generated by GNU Autoconf 2.69. Invocation command line was
2999 CONFIG_FILES = $CONFIG_FILES
3000 CONFIG_HEADERS = $CONFIG_HEADERS
3001 CONFIG_LINKS = $CONFIG_LINKS
3002 CONFIG_COMMANDS = $CONFIG_COMMANDS
3003 $ $0 $@
3005 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3008 _ACEOF
3010 case $ac_config_files in *"
3011 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3012 esac
3016 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3017 # Files that config.status was made for.
3018 config_files="$ac_config_files"
3020 _ACEOF
3022 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3023 ac_cs_usage="\
3024 \`$as_me' instantiates files and other configuration actions
3025 from templates according to the current configuration. Unless the files
3026 and actions are specified as TAGs, all are instantiated by default.
3028 Usage: $0 [OPTION]... [TAG]...
3030 -h, --help print this help, then exit
3031 -V, --version print version number and configuration settings, then exit
3032 --config print configuration, then exit
3033 -q, --quiet, --silent
3034 do not print progress messages
3035 -d, --debug don't remove temporary files
3036 --recheck update $as_me by reconfiguring in the same conditions
3037 --file=FILE[:TEMPLATE]
3038 instantiate the configuration file FILE
3040 Configuration files:
3041 $config_files
3043 Report bugs to the package provider."
3045 _ACEOF
3046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3047 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3048 ac_cs_version="\\
3049 config.status
3050 configured by $0, generated by GNU Autoconf 2.69,
3051 with options \\"\$ac_cs_config\\"
3053 Copyright (C) 2012 Free Software Foundation, Inc.
3054 This config.status script is free software; the Free Software Foundation
3055 gives unlimited permission to copy, distribute and modify it."
3057 ac_pwd='$ac_pwd'
3058 srcdir='$srcdir'
3059 INSTALL='$INSTALL'
3060 test -n "\$AWK" || AWK=awk
3061 _ACEOF
3063 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3064 # The default lists apply if the user does not specify any file.
3065 ac_need_defaults=:
3066 while test $# != 0
3068 case $1 in
3069 --*=?*)
3070 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3071 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3072 ac_shift=:
3074 --*=)
3075 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3076 ac_optarg=
3077 ac_shift=:
3080 ac_option=$1
3081 ac_optarg=$2
3082 ac_shift=shift
3084 esac
3086 case $ac_option in
3087 # Handling of the options.
3088 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3089 ac_cs_recheck=: ;;
3090 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3091 $as_echo "$ac_cs_version"; exit ;;
3092 --config | --confi | --conf | --con | --co | --c )
3093 $as_echo "$ac_cs_config"; exit ;;
3094 --debug | --debu | --deb | --de | --d | -d )
3095 debug=: ;;
3096 --file | --fil | --fi | --f )
3097 $ac_shift
3098 case $ac_optarg in
3099 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3100 '') as_fn_error $? "missing file argument" ;;
3101 esac
3102 as_fn_append CONFIG_FILES " '$ac_optarg'"
3103 ac_need_defaults=false;;
3104 --he | --h | --help | --hel | -h )
3105 $as_echo "$ac_cs_usage"; exit ;;
3106 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3107 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3108 ac_cs_silent=: ;;
3110 # This is an error.
3111 -*) as_fn_error $? "unrecognized option: \`$1'
3112 Try \`$0 --help' for more information." ;;
3114 *) as_fn_append ac_config_targets " $1"
3115 ac_need_defaults=false ;;
3117 esac
3118 shift
3119 done
3121 ac_configure_extra_args=
3123 if $ac_cs_silent; then
3124 exec 6>/dev/null
3125 ac_configure_extra_args="$ac_configure_extra_args --silent"
3128 _ACEOF
3129 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3130 if \$ac_cs_recheck; then
3131 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3132 shift
3133 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3134 CONFIG_SHELL='$SHELL'
3135 export CONFIG_SHELL
3136 exec "\$@"
3139 _ACEOF
3140 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3141 exec 5>>config.log
3143 echo
3144 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3145 ## Running $as_me. ##
3146 _ASBOX
3147 $as_echo "$ac_log"
3148 } >&5
3150 _ACEOF
3151 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3152 _ACEOF
3154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3156 # Handling of arguments.
3157 for ac_config_target in $ac_config_targets
3159 case $ac_config_target in
3160 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3161 "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
3162 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;;
3163 "texi/Makefile") CONFIG_FILES="$CONFIG_FILES texi/Makefile" ;;
3164 "texi/gnusconfig.tex") CONFIG_FILES="$CONFIG_FILES texi/gnusconfig.tex" ;;
3165 "texi/ps/Makefile") CONFIG_FILES="$CONFIG_FILES texi/ps/Makefile" ;;
3167 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3168 esac
3169 done
3172 # If the user did not use the arguments to specify the items to instantiate,
3173 # then the envvar interface is used. Set only those that are not.
3174 # We use the long form for the default assignment because of an extremely
3175 # bizarre bug on SunOS 4.1.3.
3176 if $ac_need_defaults; then
3177 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3180 # Have a temporary directory for convenience. Make it in the build tree
3181 # simply because there is no reason against having it here, and in addition,
3182 # creating and moving files from /tmp can sometimes cause problems.
3183 # Hook for its removal unless debugging.
3184 # Note that there is a small window in which the directory will not be cleaned:
3185 # after its creation but before its name has been assigned to `$tmp'.
3186 $debug ||
3188 tmp= ac_tmp=
3189 trap 'exit_status=$?
3190 : "${ac_tmp:=$tmp}"
3191 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3193 trap 'as_fn_exit 1' 1 2 13 15
3195 # Create a (secure) tmp directory for tmp files.
3198 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3199 test -d "$tmp"
3200 } ||
3202 tmp=./conf$$-$RANDOM
3203 (umask 077 && mkdir "$tmp")
3204 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3205 ac_tmp=$tmp
3207 # Set up the scripts for CONFIG_FILES section.
3208 # No need to generate them if there are no CONFIG_FILES.
3209 # This happens for instance with `./config.status config.h'.
3210 if test -n "$CONFIG_FILES"; then
3213 ac_cr=`echo X | tr X '\015'`
3214 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3215 # But we know of no other shell where ac_cr would be empty at this
3216 # point, so we can use a bashism as a fallback.
3217 if test "x$ac_cr" = x; then
3218 eval ac_cr=\$\'\\r\'
3220 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3221 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3222 ac_cs_awk_cr='\\r'
3223 else
3224 ac_cs_awk_cr=$ac_cr
3227 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3228 _ACEOF
3232 echo "cat >conf$$subs.awk <<_ACEOF" &&
3233 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3234 echo "_ACEOF"
3235 } >conf$$subs.sh ||
3236 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3237 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3238 ac_delim='%!_!# '
3239 for ac_last_try in false false false false false :; do
3240 . ./conf$$subs.sh ||
3241 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3243 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3244 if test $ac_delim_n = $ac_delim_num; then
3245 break
3246 elif $ac_last_try; then
3247 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3248 else
3249 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3251 done
3252 rm -f conf$$subs.sh
3254 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3255 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3256 _ACEOF
3257 sed -n '
3259 s/^/S["/; s/!.*/"]=/
3262 s/^[^!]*!//
3263 :repl
3264 t repl
3265 s/'"$ac_delim"'$//
3266 t delim
3269 s/\(.\{148\}\)..*/\1/
3270 t more1
3271 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3274 b repl
3275 :more1
3276 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3279 s/.\{148\}//
3280 t nl
3281 :delim
3283 s/\(.\{148\}\)..*/\1/
3284 t more2
3285 s/["\\]/\\&/g; s/^/"/; s/$/"/
3288 :more2
3289 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3292 s/.\{148\}//
3293 t delim
3294 ' <conf$$subs.awk | sed '
3295 /^[^""]/{
3297 s/\n//
3299 ' >>$CONFIG_STATUS || ac_write_fail=1
3300 rm -f conf$$subs.awk
3301 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3302 _ACAWK
3303 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3304 for (key in S) S_is_set[key] = 1
3305 FS = "\a"
3309 line = $ 0
3310 nfields = split(line, field, "@")
3311 substed = 0
3312 len = length(field[1])
3313 for (i = 2; i < nfields; i++) {
3314 key = field[i]
3315 keylen = length(key)
3316 if (S_is_set[key]) {
3317 value = S[key]
3318 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3319 len += length(value) + length(field[++i])
3320 substed = 1
3321 } else
3322 len += 1 + keylen
3325 print line
3328 _ACAWK
3329 _ACEOF
3330 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3331 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3332 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3333 else
3335 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3336 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3337 _ACEOF
3339 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3340 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3341 # trailing colons and then remove the whole line if VPATH becomes empty
3342 # (actually we leave an empty line to preserve line numbers).
3343 if test "x$srcdir" = x.; then
3344 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3346 s///
3347 s/^/:/
3348 s/[ ]*$/:/
3349 s/:\$(srcdir):/:/g
3350 s/:\${srcdir}:/:/g
3351 s/:@srcdir@:/:/g
3352 s/^:*//
3353 s/:*$//
3355 s/\(=[ ]*\).*/\1/
3357 s/\n//
3358 s/^[^=]*=[ ]*$//
3362 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3363 fi # test -n "$CONFIG_FILES"
3366 eval set X " :F $CONFIG_FILES "
3367 shift
3368 for ac_tag
3370 case $ac_tag in
3371 :[FHLC]) ac_mode=$ac_tag; continue;;
3372 esac
3373 case $ac_mode$ac_tag in
3374 :[FHL]*:*);;
3375 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3376 :[FH]-) ac_tag=-:-;;
3377 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3378 esac
3379 ac_save_IFS=$IFS
3380 IFS=:
3381 set x $ac_tag
3382 IFS=$ac_save_IFS
3383 shift
3384 ac_file=$1
3385 shift
3387 case $ac_mode in
3388 :L) ac_source=$1;;
3389 :[FH])
3390 ac_file_inputs=
3391 for ac_f
3393 case $ac_f in
3394 -) ac_f="$ac_tmp/stdin";;
3395 *) # Look for the file first in the build tree, then in the source tree
3396 # (if the path is not absolute). The absolute path cannot be DOS-style,
3397 # because $ac_f cannot contain `:'.
3398 test -f "$ac_f" ||
3399 case $ac_f in
3400 [\\/$]*) false;;
3401 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3402 esac ||
3403 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3404 esac
3405 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3406 as_fn_append ac_file_inputs " '$ac_f'"
3407 done
3409 # Let's still pretend it is `configure' which instantiates (i.e., don't
3410 # use $as_me), people would be surprised to read:
3411 # /* config.h. Generated by config.status. */
3412 configure_input='Generated from '`
3413 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3414 `' by configure.'
3415 if test x"$ac_file" != x-; then
3416 configure_input="$ac_file. $configure_input"
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3418 $as_echo "$as_me: creating $ac_file" >&6;}
3420 # Neutralize special characters interpreted by sed in replacement strings.
3421 case $configure_input in #(
3422 *\&* | *\|* | *\\* )
3423 ac_sed_conf_input=`$as_echo "$configure_input" |
3424 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3425 *) ac_sed_conf_input=$configure_input;;
3426 esac
3428 case $ac_tag in
3429 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3430 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3431 esac
3433 esac
3435 ac_dir=`$as_dirname -- "$ac_file" ||
3436 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3437 X"$ac_file" : 'X\(//\)[^/]' \| \
3438 X"$ac_file" : 'X\(//\)$' \| \
3439 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3440 $as_echo X"$ac_file" |
3441 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3442 s//\1/
3445 /^X\(\/\/\)[^/].*/{
3446 s//\1/
3449 /^X\(\/\/\)$/{
3450 s//\1/
3453 /^X\(\/\).*/{
3454 s//\1/
3457 s/.*/./; q'`
3458 as_dir="$ac_dir"; as_fn_mkdir_p
3459 ac_builddir=.
3461 case "$ac_dir" in
3462 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3464 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3465 # A ".." for each directory in $ac_dir_suffix.
3466 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3467 case $ac_top_builddir_sub in
3468 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3469 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3470 esac ;;
3471 esac
3472 ac_abs_top_builddir=$ac_pwd
3473 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3474 # for backward compatibility:
3475 ac_top_builddir=$ac_top_build_prefix
3477 case $srcdir in
3478 .) # We are building in place.
3479 ac_srcdir=.
3480 ac_top_srcdir=$ac_top_builddir_sub
3481 ac_abs_top_srcdir=$ac_pwd ;;
3482 [\\/]* | ?:[\\/]* ) # Absolute name.
3483 ac_srcdir=$srcdir$ac_dir_suffix;
3484 ac_top_srcdir=$srcdir
3485 ac_abs_top_srcdir=$srcdir ;;
3486 *) # Relative name.
3487 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3488 ac_top_srcdir=$ac_top_build_prefix$srcdir
3489 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3490 esac
3491 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3494 case $ac_mode in
3497 # CONFIG_FILE
3500 case $INSTALL in
3501 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3502 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3503 esac
3504 _ACEOF
3506 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3507 # If the template does not know about datarootdir, expand it.
3508 # FIXME: This hack should be removed a few years after 2.60.
3509 ac_datarootdir_hack=; ac_datarootdir_seen=
3510 ac_sed_dataroot='
3511 /datarootdir/ {
3515 /@datadir@/p
3516 /@docdir@/p
3517 /@infodir@/p
3518 /@localedir@/p
3519 /@mandir@/p'
3520 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3521 *datarootdir*) ac_datarootdir_seen=yes;;
3522 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3524 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3525 _ACEOF
3526 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3527 ac_datarootdir_hack='
3528 s&@datadir@&$datadir&g
3529 s&@docdir@&$docdir&g
3530 s&@infodir@&$infodir&g
3531 s&@localedir@&$localedir&g
3532 s&@mandir@&$mandir&g
3533 s&\\\${datarootdir}&$datarootdir&g' ;;
3534 esac
3535 _ACEOF
3537 # Neutralize VPATH when `$srcdir' = `.'.
3538 # Shell code in configure.ac might set extrasub.
3539 # FIXME: do we really want to maintain this feature?
3540 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3541 ac_sed_extra="$ac_vpsub
3542 $extrasub
3543 _ACEOF
3544 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3546 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3547 s|@configure_input@|$ac_sed_conf_input|;t t
3548 s&@top_builddir@&$ac_top_builddir_sub&;t t
3549 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3550 s&@srcdir@&$ac_srcdir&;t t
3551 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3552 s&@top_srcdir@&$ac_top_srcdir&;t t
3553 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3554 s&@builddir@&$ac_builddir&;t t
3555 s&@abs_builddir@&$ac_abs_builddir&;t t
3556 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3557 s&@INSTALL@&$ac_INSTALL&;t t
3558 $ac_datarootdir_hack
3560 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3561 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3563 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3564 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3565 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
3566 "$ac_tmp/out"`; test -z "$ac_out"; } &&
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3568 which seems to be undefined. Please make sure it is defined" >&5
3569 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3570 which seems to be undefined. Please make sure it is defined" >&2;}
3572 rm -f "$ac_tmp/stdin"
3573 case $ac_file in
3574 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3575 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3576 esac \
3577 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3582 esac
3584 done # for ac_tag
3587 as_fn_exit 0
3588 _ACEOF
3589 ac_clean_files=$ac_clean_files_save
3591 test $ac_write_fail = 0 ||
3592 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3595 # configure is writing to config.log, and then calls config.status.
3596 # config.status does its own redirection, appending to config.log.
3597 # Unfortunately, on DOS this fails, as config.log is still kept open
3598 # by configure, so config.status won't be able to write to it; its
3599 # output is simply discarded. So we exec the FD to /dev/null,
3600 # effectively closing config.log, so it can be properly (re)opened and
3601 # appended to by config.status. When coming back to configure, we
3602 # need to make the FD available again.
3603 if test "$no_create" != yes; then
3604 ac_cs_success=:
3605 ac_config_status_args=
3606 test "$silent" = yes &&
3607 ac_config_status_args="$ac_config_status_args --quiet"
3608 exec 5>/dev/null
3609 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3610 exec 5>>config.log
3611 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3612 # would make configure fail if this is the last instruction.
3613 $ac_cs_success || as_fn_exit 1
3615 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3617 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}