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 :
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+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
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
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
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'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
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.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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 || :
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.
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147 *v*x* | *x*v* ) as_opts=-vx ;;
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
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 :
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+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
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; }
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 :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || 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 :
204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
212 test -z "$as_dir" && as_dir=.
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 :
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
237 if test "x$CONFIG_SHELL" != x; then :
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.
245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247 *v*x* | *x*v* ) as_opts=-vx ;;
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
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."
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."
275 SHELL=${CONFIG_SHELL-/bin/sh}
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 ## --------------------- ##
286 # Portably unset VAR.
289 { eval $1=; unset $1;}
293 # as_fn_set_status STATUS
294 # -----------------------
295 # Set $? to STATUS, without forking.
303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 # Create "$as_dir" as a directory, including parents if necessary.
318 -*) as_dir=./$as_dir;;
320 test -d "$as_dir" || eval $as_mkdir_p || {
324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
351 test -d "$as_dir" && break
353 test -z "$as_dirs" || eval "mkdir $as_dirs"
354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
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
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
373 eval 'as_fn_append ()
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 :
397 as_val=`expr "$@" || test $? -eq 1`
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.
409 as_status=$1; test $as_status -eq 0 && as_status=1
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
418 if expr a : '\(a\)' >/dev/null 2>&1 &&
419 test "X`expr 00001 : '.*\(...\)'`" = X001; then
425 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
431 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
437 as_me=`$as_basename -- "$0" ||
438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439 X"$0" : 'X\(//\)$' \| \
440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
442 sed '/^.*\/\([^/][^/]*\)\/*$/{
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. :-)
480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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).
495 # Exit status is that of the last command.
499 ECHO_C= ECHO_N= ECHO_T=
500 case `echo -n x` in #(((((
502 case `echo 'xy\c'` in
503 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
512 rm -f conf$$ conf$$.exe conf$$.file
513 if test -d conf$$.dir; then
514 rm -f conf$$.dir/conf$$.file
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
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 ||
528 elif ln conf$$.file conf$$ 2>/dev/null; then
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"'
542 test -d ./-p && rmdir ./-p
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
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`
567 ac_default_prefix=/usr/local
569 ac_config_libobj_dir=.
576 # Identity of this package.
584 ac_unique_file="lisp/gnus.el"
585 ac_subst_vars='LTLIBOBJS
634 program_transform_name
647 enable_option_checking
654 ac_precious_vars='build_alias
659 # Initialize some variables set by options.
661 ac_init_version=false
662 ac_unrecognized_opts=
664 # The variables have the same names as the options, with
665 # dashes changed to underlines.
673 program_transform_name=s,x,x,
681 # Installation directory options.
682 # These are left unexpanded so users can "make install exec_prefix=/foo"
683 # and all the variables that are supposed to be based on exec_prefix
684 # by default will actually change.
685 # Use braces instead of parens because sh, perl, etc. also accept them.
686 # (The list follows the same order as the GNU Coding Standards.)
687 bindir='${exec_prefix}/bin'
688 sbindir='${exec_prefix}/sbin'
689 libexecdir='${exec_prefix}/libexec'
690 datarootdir='${prefix}/share'
691 datadir='${datarootdir}'
692 sysconfdir='${prefix}/etc'
693 sharedstatedir='${prefix}/com'
694 localstatedir='${prefix}/var'
695 includedir='${prefix}/include'
696 oldincludedir='/usr/include'
697 docdir='${datarootdir}/doc/${PACKAGE}'
698 infodir='${datarootdir}/info'
703 libdir='${exec_prefix}/lib'
704 localedir='${datarootdir}/locale'
705 mandir='${datarootdir}/man'
711 # If the previous option needs an argument, assign it.
712 if test -n "$ac_prev"; then
713 eval $ac_prev=\$ac_option
719 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
724 # Accept the important Cygnus configure options, so we can diagnose typos.
726 case $ac_dashdash$ac_option in
730 -bindir | --bindir | --bindi | --bind | --bin | --bi)
732 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
735 -build | --build | --buil | --bui | --bu)
736 ac_prev=build_alias ;;
737 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
738 build_alias=$ac_optarg ;;
740 -cache-file | --cache-file | --cache-fil | --cache-fi \
741 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
742 ac_prev=cache_file ;;
743 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
744 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
745 cache_file=$ac_optarg ;;
748 cache_file=config.cache ;;
750 -datadir | --datadir | --datadi | --datad)
752 -datadir=* | --datadir=* | --datadi=* | --datad=*)
753 datadir=$ac_optarg ;;
755 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
756 | --dataroo | --dataro | --datar)
757 ac_prev=datarootdir ;;
758 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
759 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
760 datarootdir=$ac_optarg ;;
762 -disable-* | --disable-*)
763 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
764 # Reject names that are not valid shell variable names.
765 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
766 as_fn_error $? "invalid feature name: $ac_useropt"
767 ac_useropt_orig=$ac_useropt
768 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
769 case $ac_user_opts in
773 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
774 ac_unrecognized_sep=', ';;
776 eval enable_$ac_useropt=no ;;
778 -docdir | --docdir | --docdi | --doc | --do)
780 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
783 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
785 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
788 -enable-* | --enable-*)
789 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
790 # Reject names that are not valid shell variable names.
791 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
792 as_fn_error $? "invalid feature name: $ac_useropt"
793 ac_useropt_orig=$ac_useropt
794 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
795 case $ac_user_opts in
799 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
800 ac_unrecognized_sep=', ';;
802 eval enable_$ac_useropt=\$ac_optarg ;;
804 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
805 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
806 | --exec | --exe | --ex)
807 ac_prev=exec_prefix ;;
808 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
809 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
810 | --exec=* | --exe=* | --ex=*)
811 exec_prefix=$ac_optarg ;;
813 -gas | --gas | --ga | --g)
814 # Obsolete; use --with-gas.
817 -help | --help | --hel | --he | -h)
819 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
820 ac_init_help=recursive ;;
821 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
822 ac_init_help=short ;;
824 -host | --host | --hos | --ho)
825 ac_prev=host_alias ;;
826 -host=* | --host=* | --hos=* | --ho=*)
827 host_alias=$ac_optarg ;;
829 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
831 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
833 htmldir=$ac_optarg ;;
835 -includedir | --includedir | --includedi | --included | --include \
836 | --includ | --inclu | --incl | --inc)
837 ac_prev=includedir ;;
838 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
839 | --includ=* | --inclu=* | --incl=* | --inc=*)
840 includedir=$ac_optarg ;;
842 -infodir | --infodir | --infodi | --infod | --info | --inf)
844 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
845 infodir=$ac_optarg ;;
847 -libdir | --libdir | --libdi | --libd)
849 -libdir=* | --libdir=* | --libdi=* | --libd=*)
852 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
853 | --libexe | --libex | --libe)
854 ac_prev=libexecdir ;;
855 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
856 | --libexe=* | --libex=* | --libe=*)
857 libexecdir=$ac_optarg ;;
859 -localedir | --localedir | --localedi | --localed | --locale)
861 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
862 localedir=$ac_optarg ;;
864 -localstatedir | --localstatedir | --localstatedi | --localstated \
865 | --localstate | --localstat | --localsta | --localst | --locals)
866 ac_prev=localstatedir ;;
867 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
868 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
869 localstatedir=$ac_optarg ;;
871 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
873 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
877 # Obsolete; use --without-fp.
880 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
881 | --no-cr | --no-c | -n)
884 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
885 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
888 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
889 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
890 | --oldin | --oldi | --old | --ol | --o)
891 ac_prev=oldincludedir ;;
892 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
893 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
894 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
895 oldincludedir=$ac_optarg ;;
897 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
899 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
902 -program-prefix | --program-prefix | --program-prefi | --program-pref \
903 | --program-pre | --program-pr | --program-p)
904 ac_prev=program_prefix ;;
905 -program-prefix=* | --program-prefix=* | --program-prefi=* \
906 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
907 program_prefix=$ac_optarg ;;
909 -program-suffix | --program-suffix | --program-suffi | --program-suff \
910 | --program-suf | --program-su | --program-s)
911 ac_prev=program_suffix ;;
912 -program-suffix=* | --program-suffix=* | --program-suffi=* \
913 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
914 program_suffix=$ac_optarg ;;
916 -program-transform-name | --program-transform-name \
917 | --program-transform-nam | --program-transform-na \
918 | --program-transform-n | --program-transform- \
919 | --program-transform | --program-transfor \
920 | --program-transfo | --program-transf \
921 | --program-trans | --program-tran \
922 | --progr-tra | --program-tr | --program-t)
923 ac_prev=program_transform_name ;;
924 -program-transform-name=* | --program-transform-name=* \
925 | --program-transform-nam=* | --program-transform-na=* \
926 | --program-transform-n=* | --program-transform-=* \
927 | --program-transform=* | --program-transfor=* \
928 | --program-transfo=* | --program-transf=* \
929 | --program-trans=* | --program-tran=* \
930 | --progr-tra=* | --program-tr=* | --program-t=*)
931 program_transform_name=$ac_optarg ;;
933 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
935 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
938 -psdir | --psdir | --psdi | --psd | --ps)
940 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
943 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
944 | -silent | --silent | --silen | --sile | --sil)
947 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
949 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
951 sbindir=$ac_optarg ;;
953 -sharedstatedir | --sharedstatedir | --sharedstatedi \
954 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
955 | --sharedst | --shareds | --shared | --share | --shar \
957 ac_prev=sharedstatedir ;;
958 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
959 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
960 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
962 sharedstatedir=$ac_optarg ;;
964 -site | --site | --sit)
966 -site=* | --site=* | --sit=*)
969 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
971 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
974 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
975 | --syscon | --sysco | --sysc | --sys | --sy)
976 ac_prev=sysconfdir ;;
977 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
978 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
979 sysconfdir=$ac_optarg ;;
981 -target | --target | --targe | --targ | --tar | --ta | --t)
982 ac_prev=target_alias ;;
983 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
984 target_alias=$ac_optarg ;;
986 -v | -verbose | --verbose | --verbos | --verbo | --verb)
989 -version | --version | --versio | --versi | --vers | -V)
993 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
994 # Reject names that are not valid shell variable names.
995 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
996 as_fn_error $? "invalid package name: $ac_useropt"
997 ac_useropt_orig=$ac_useropt
998 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
999 case $ac_user_opts in
1003 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1004 ac_unrecognized_sep=', ';;
1006 eval with_$ac_useropt=\$ac_optarg ;;
1008 -without-* | --without-*)
1009 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1010 # Reject names that are not valid shell variable names.
1011 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1012 as_fn_error $? "invalid package name: $ac_useropt"
1013 ac_useropt_orig=$ac_useropt
1014 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1015 case $ac_user_opts in
1019 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1020 ac_unrecognized_sep=', ';;
1022 eval with_$ac_useropt=no ;;
1025 # Obsolete; use --with-x.
1028 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1029 | --x-incl | --x-inc | --x-in | --x-i)
1030 ac_prev=x_includes ;;
1031 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1032 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1033 x_includes=$ac_optarg ;;
1035 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1036 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1037 ac_prev=x_libraries ;;
1038 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1039 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1040 x_libraries=$ac_optarg ;;
1042 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1043 Try \`$0 --help' for more information"
1047 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1048 # Reject names that are not valid shell variable names.
1049 case $ac_envvar in #(
1050 '' | [0-9]* | *[!_$as_cr_alnum]* )
1051 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1053 eval $ac_envvar=\$ac_optarg
1054 export $ac_envvar ;;
1057 # FIXME: should be removed in autoconf 3.0.
1058 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1059 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1060 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1061 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1067 if test -n "$ac_prev"; then
1068 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1069 as_fn_error $? "missing argument to $ac_option"
1072 if test -n "$ac_unrecognized_opts"; then
1073 case $enable_option_checking in
1075 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1076 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1080 # Check all directory arguments for consistency.
1081 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1082 datadir sysconfdir sharedstatedir localstatedir includedir \
1083 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1084 libdir localedir mandir
1086 eval ac_val=\$$ac_var
1087 # Remove trailing slashes.
1090 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1091 eval $ac_var=\$ac_val;;
1093 # Be sure to have absolute directory names.
1095 [\\/$]* | ?:[\\/]* ) continue;;
1096 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1098 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1101 # There might be people who depend on the old broken behavior: `$host'
1102 # used to hold the argument of --host etc.
1103 # FIXME: To remove some day.
1106 target=$target_alias
1108 # FIXME: To remove some day.
1109 if test "x$host_alias" != x; then
1110 if test "x$build_alias" = x; then
1111 cross_compiling=maybe
1112 elif test "x$build_alias" != "x$host_alias"; then
1118 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1120 test "$silent" = yes && exec 6>/dev/null
1123 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1124 ac_ls_di=`ls -di .` &&
1125 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1126 as_fn_error $? "working directory cannot be determined"
1127 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1128 as_fn_error $? "pwd does not report name of working directory"
1131 # Find the source files, if location was not specified.
1132 if test -z "$srcdir"; then
1133 ac_srcdir_defaulted=yes
1134 # Try the directory containing this script, then the parent directory.
1135 ac_confdir=`$as_dirname -- "$as_myself" ||
1136 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1137 X"$as_myself" : 'X\(//\)[^/]' \| \
1138 X"$as_myself" : 'X\(//\)$' \| \
1139 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1140 $as_echo X"$as_myself" |
1141 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1159 if test ! -r "$srcdir/$ac_unique_file"; then
1163 ac_srcdir_defaulted=no
1165 if test ! -r "$srcdir/$ac_unique_file"; then
1166 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1167 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1169 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1171 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1173 # When building in place, set srcdir=.
1174 if test "$ac_abs_confdir" = "$ac_pwd"; then
1177 # Remove unnecessary trailing slashes from srcdir.
1178 # Double slashes in file names in object file debugging info
1179 # mess up M-x gdb in Emacs.
1181 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1183 for ac_var in $ac_precious_vars; do
1184 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1185 eval ac_env_${ac_var}_value=\$${ac_var}
1186 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1187 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1191 # Report the --help message.
1193 if test "$ac_init_help" = "long"; then
1194 # Omit some internal or obsolete options to make the list less imposing.
1195 # This message is too long to be a string in the A/UX 3.1 sh.
1197 \`configure' configures this package to adapt to many kinds of systems.
1199 Usage: $0 [OPTION]... [VAR=VALUE]...
1201 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1202 VAR=VALUE. See below for descriptions of some of the useful variables.
1204 Defaults for the options are specified in brackets.
1207 -h, --help display this help and exit
1208 --help=short display options specific to this package
1209 --help=recursive display the short help of all the included packages
1210 -V, --version display version information and exit
1211 -q, --quiet, --silent do not print \`checking ...' messages
1212 --cache-file=FILE cache test results in FILE [disabled]
1213 -C, --config-cache alias for \`--cache-file=config.cache'
1214 -n, --no-create do not create output files
1215 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1217 Installation directories:
1218 --prefix=PREFIX install architecture-independent files in PREFIX
1219 [$ac_default_prefix]
1220 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1223 By default, \`make install' will install all the files in
1224 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1225 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1226 for instance \`--prefix=\$HOME'.
1228 For better control, use the options below.
1230 Fine tuning of the installation directories:
1231 --bindir=DIR user executables [EPREFIX/bin]
1232 --sbindir=DIR system admin executables [EPREFIX/sbin]
1233 --libexecdir=DIR program executables [EPREFIX/libexec]
1234 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1235 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1236 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1237 --libdir=DIR object code libraries [EPREFIX/lib]
1238 --includedir=DIR C header files [PREFIX/include]
1239 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1240 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1241 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1242 --infodir=DIR info documentation [DATAROOTDIR/info]
1243 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1244 --mandir=DIR man documentation [DATAROOTDIR/man]
1245 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1246 --htmldir=DIR html documentation [DOCDIR]
1247 --dvidir=DIR dvi documentation [DOCDIR]
1248 --pdfdir=DIR pdf documentation [DOCDIR]
1249 --psdir=DIR ps documentation [DOCDIR]
1256 if test -n "$ac_init_help"; then
1261 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1262 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1263 --with-xemacs[=PROG] use XEmacs to build (default: PROG=xemacs)
1264 --with-emacs[=PROG] use Emacs to build (default: PROG=emacs)
1265 --with-lispdir=DIR Where to install lisp files
1266 --with-etcdir=DIR Where to install etc files
1267 --with-fonts Assume all fonts required are available
1269 Report bugs to the package provider.
1274 if test "$ac_init_help" = "recursive"; then
1275 # If there are subdirs, report their specific --help.
1276 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1277 test -d "$ac_dir" ||
1278 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1283 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1285 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1286 # A ".." for each directory in $ac_dir_suffix.
1287 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1288 case $ac_top_builddir_sub in
1289 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1290 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1293 ac_abs_top_builddir=$ac_pwd
1294 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1295 # for backward compatibility:
1296 ac_top_builddir=$ac_top_build_prefix
1299 .) # We are building in place.
1301 ac_top_srcdir=$ac_top_builddir_sub
1302 ac_abs_top_srcdir=$ac_pwd ;;
1303 [\\/]* | ?:[\\/]* ) # Absolute name.
1304 ac_srcdir=$srcdir$ac_dir_suffix;
1305 ac_top_srcdir=$srcdir
1306 ac_abs_top_srcdir=$srcdir ;;
1308 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1309 ac_top_srcdir=$ac_top_build_prefix$srcdir
1310 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1312 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1314 cd "$ac_dir" || { ac_status=$?; continue; }
1315 # Check for guested configure.
1316 if test -f "$ac_srcdir/configure.gnu"; then
1318 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1319 elif test -f "$ac_srcdir/configure"; then
1321 $SHELL "$ac_srcdir/configure" --help=recursive
1323 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1325 cd "$ac_pwd" || { ac_status=$?; break; }
1329 test -n "$ac_init_help" && exit $ac_status
1330 if $ac_init_version; then
1333 generated by GNU Autoconf 2.69
1335 Copyright (C) 2012 Free Software Foundation, Inc.
1336 This configure script is free software; the Free Software Foundation
1337 gives unlimited permission to copy, distribute and modify it.
1342 ## ------------------------ ##
1343 ## Autoconf initialization. ##
1344 ## ------------------------ ##
1345 cat >config.log <<_ACEOF
1346 This file contains any messages produced by compilers while
1347 running configure, to aid debugging if configure makes a mistake.
1349 It was created by $as_me, which was
1350 generated by GNU Autoconf 2.69. Invocation command line was
1362 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1363 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1364 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1365 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1366 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1368 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1369 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1371 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1372 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1373 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1374 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1375 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1376 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1377 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1385 test -z "$as_dir" && as_dir=.
1386 $as_echo "PATH: $as_dir"
1402 # Keep a trace of the command line.
1403 # Strip out --no-create and --no-recursion so they do not pile up.
1404 # Strip out --silent because we don't want to record it for future runs.
1405 # Also quote any args containing shell meta-characters.
1406 # Make two passes to allow for proper duplicate-argument suppression.
1410 ac_must_keep_next=false
1416 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1417 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1418 | -silent | --silent | --silen | --sile | --sil)
1421 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1424 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1426 as_fn_append ac_configure_args1 " '$ac_arg'"
1427 if test $ac_must_keep_next = true; then
1428 ac_must_keep_next=false # Got value, back to normal.
1431 *=* | --config-cache | -C | -disable-* | --disable-* \
1432 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1433 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1434 | -with-* | --with-* | -without-* | --without-* | --x)
1435 case "$ac_configure_args0 " in
1436 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1439 -* ) ac_must_keep_next=true ;;
1442 as_fn_append ac_configure_args " '$ac_arg'"
1447 { ac_configure_args0=; unset ac_configure_args0;}
1448 { ac_configure_args1=; unset ac_configure_args1;}
1450 # When interrupted or exit'd, cleanup temporary files, and complete
1451 # config.log. We remove comments because anyway the quotes in there
1452 # would cause problems or look ugly.
1453 # WARNING: Use '\'' to represent an apostrophe within the trap.
1454 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1455 trap 'exit_status=$?
1456 # Save into config.log some information that might help in debugging.
1460 $as_echo "## ---------------- ##
1461 ## Cache variables. ##
1462 ## ---------------- ##"
1464 # The following way of writing the cache mishandles newlines in values,
1466 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1467 eval ac_val=\$$ac_var
1471 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1472 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1475 _ | IFS | as_nl) ;; #(
1476 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1477 *) { eval $ac_var=; unset $ac_var;} ;;
1482 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1483 *${as_nl}ac_space=\ *)
1485 "s/'\''/'\''\\\\'\'''\''/g;
1486 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1489 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1496 $as_echo "## ----------------- ##
1497 ## Output variables. ##
1498 ## ----------------- ##"
1500 for ac_var in $ac_subst_vars
1502 eval ac_val=\$$ac_var
1504 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1506 $as_echo "$ac_var='\''$ac_val'\''"
1510 if test -n "$ac_subst_files"; then
1511 $as_echo "## ------------------- ##
1512 ## File substitutions. ##
1513 ## ------------------- ##"
1515 for ac_var in $ac_subst_files
1517 eval ac_val=\$$ac_var
1519 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1521 $as_echo "$ac_var='\''$ac_val'\''"
1526 if test -s confdefs.h; then
1527 $as_echo "## ----------- ##
1534 test "$ac_signal" != 0 &&
1535 $as_echo "$as_me: caught signal $ac_signal"
1536 $as_echo "$as_me: exit $exit_status"
1538 rm -f core *.core core.conftest.* &&
1539 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1542 for ac_signal in 1 2 13 15; do
1543 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1547 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1548 rm -f -r conftest* confdefs.h
1550 $as_echo "/* confdefs.h */" > confdefs.h
1552 # Predefined preprocessor variables.
1554 cat >>confdefs.h <<_ACEOF
1555 #define PACKAGE_NAME "$PACKAGE_NAME"
1558 cat >>confdefs.h <<_ACEOF
1559 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1562 cat >>confdefs.h <<_ACEOF
1563 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1566 cat >>confdefs.h <<_ACEOF
1567 #define PACKAGE_STRING "$PACKAGE_STRING"
1570 cat >>confdefs.h <<_ACEOF
1571 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1574 cat >>confdefs.h <<_ACEOF
1575 #define PACKAGE_URL "$PACKAGE_URL"
1579 # Let the site file select an alternate cache file if it wants to.
1580 # Prefer an explicitly selected file to automatically selected ones.
1583 if test -n "$CONFIG_SITE"; then
1584 # We do not want a PATH search for config.site.
1585 case $CONFIG_SITE in #((
1586 -*) ac_site_file1=./$CONFIG_SITE;;
1587 */*) ac_site_file1=$CONFIG_SITE;;
1588 *) ac_site_file1=./$CONFIG_SITE;;
1590 elif test "x$prefix" != xNONE; then
1591 ac_site_file1=$prefix/share/config.site
1592 ac_site_file2=$prefix/etc/config.site
1594 ac_site_file1=$ac_default_prefix/share/config.site
1595 ac_site_file2=$ac_default_prefix/etc/config.site
1597 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1599 test "x$ac_site_file" = xNONE && continue
1600 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1601 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1602 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1603 sed 's/^/| /' "$ac_site_file" >&5
1605 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1606 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1607 as_fn_error $? "failed to load site script $ac_site_file
1608 See \`config.log' for more details" "$LINENO" 5; }
1612 if test -r "$cache_file"; then
1613 # Some versions of bash will fail to source /dev/null (special files
1614 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1615 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1616 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1617 $as_echo "$as_me: loading cache $cache_file" >&6;}
1619 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1620 *) . "./$cache_file";;
1624 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1625 $as_echo "$as_me: creating cache $cache_file" >&6;}
1629 # Check that the precious variables saved in the cache have kept the same
1631 ac_cache_corrupted=false
1632 for ac_var in $ac_precious_vars; do
1633 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1634 eval ac_new_set=\$ac_env_${ac_var}_set
1635 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1636 eval ac_new_val=\$ac_env_${ac_var}_value
1637 case $ac_old_set,$ac_new_set in
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1640 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1641 ac_cache_corrupted=: ;;
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1644 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1645 ac_cache_corrupted=: ;;
1648 if test "x$ac_old_val" != "x$ac_new_val"; then
1649 # differences in whitespace do not lead to failure.
1650 ac_old_val_w=`echo x $ac_old_val`
1651 ac_new_val_w=`echo x $ac_new_val`
1652 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1653 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1654 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1655 ac_cache_corrupted=:
1657 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1658 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1659 eval $ac_var=\$ac_old_val
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1662 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1663 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1664 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1667 # Pass precious variables to config.status.
1668 if test "$ac_new_set" = set; then
1670 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1671 *) ac_arg=$ac_var=$ac_new_val ;;
1673 case " $ac_configure_args " in
1674 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1675 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1679 if $ac_cache_corrupted; then
1680 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1681 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1683 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1684 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1686 ## -------------------- ##
1687 ## Main body of script. ##
1688 ## -------------------- ##
1691 ac_cpp='$CPP $CPPFLAGS'
1692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1698 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
1700 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1701 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
1702 $as_echo_n "(cached) " >&6
1704 cat >conftest.make <<\_ACEOF
1707 @echo '@@@%%%=$(MAKE)=@@@%%%'
1709 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
1710 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1712 eval ac_cv_prog_make_${ac_make}_set=yes;;
1714 eval ac_cv_prog_make_${ac_make}_set=no;;
1718 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1720 $as_echo "yes" >&6; }
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1724 $as_echo "no" >&6; }
1725 SET_MAKE="MAKE=${MAKE-make}"
1729 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1730 if test -f "$ac_dir/install-sh"; then
1732 ac_install_sh="$ac_aux_dir/install-sh -c"
1734 elif test -f "$ac_dir/install.sh"; then
1736 ac_install_sh="$ac_aux_dir/install.sh -c"
1738 elif test -f "$ac_dir/shtool"; then
1740 ac_install_sh="$ac_aux_dir/shtool install -c"
1744 if test -z "$ac_aux_dir"; then
1745 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1748 # These three variables are undocumented and unsupported,
1749 # and are intended to be withdrawn in a future Autoconf release.
1750 # They can cause serious problems if a builder's source tree is in a directory
1751 # whose full name contains unusual characters.
1752 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1753 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1754 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1757 # Find a good install program. We prefer a C program (faster),
1758 # so one script is as good as another. But avoid the broken or
1759 # incompatible versions:
1760 # SysV /etc/install, /usr/sbin/install
1761 # SunOS /usr/etc/install
1762 # IRIX /sbin/install
1764 # AmigaOS /C/install, which installs bootblocks on floppy discs
1765 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1766 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1767 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1768 # OS/2's system install, which has a completely different semantic
1769 # ./install, which can be erroneously created by make from ./install.sh.
1770 # Reject install programs that cannot install multiple files.
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1772 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1773 if test -z "$INSTALL"; then
1774 if ${ac_cv_path_install+:} false; then :
1775 $as_echo_n "(cached) " >&6
1777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1781 test -z "$as_dir" && as_dir=.
1782 # Account for people who put trailing slashes in PATH elements.
1783 case $as_dir/ in #((
1784 ./ | .// | /[cC]/* | \
1785 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1786 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1789 # OSF1 and SCO ODT 3.0 have their own names for install.
1790 # Don't use installbsd from OSF since it installs stuff as root
1792 for ac_prog in ginstall scoinst install; do
1793 for ac_exec_ext in '' $ac_executable_extensions; do
1794 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1795 if test $ac_prog = install &&
1796 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1797 # AIX install. It has an incompatible calling convention.
1799 elif test $ac_prog = install &&
1800 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1801 # program-specific install script used by HP pwplus--don't use.
1804 rm -rf conftest.one conftest.two conftest.dir
1805 echo one > conftest.one
1806 echo two > conftest.two
1808 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1809 test -s conftest.one && test -s conftest.two &&
1810 test -s conftest.dir/conftest.one &&
1811 test -s conftest.dir/conftest.two
1813 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1826 rm -rf conftest.one conftest.two conftest.dir
1829 if test "${ac_cv_path_install+set}" = set; then
1830 INSTALL=$ac_cv_path_install
1832 # As a last resort, use the slow shell script. Don't cache a
1833 # value for INSTALL within a source directory, because that will
1834 # break other packages using the cache if that directory is
1835 # removed, or if the value is a relative name.
1836 INSTALL=$ac_install_sh
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1840 $as_echo "$INSTALL" >&6; }
1842 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1843 # It thinks the first close brace ends the variable substitution.
1844 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1846 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1848 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1851 if test "${EMACS}" = "t" -o -n "${INSIDE_EMACS}"; then
1856 # Check whether --with-xemacs was given.
1857 if test "${with_xemacs+set}" = set; then :
1858 withval=$with_xemacs; if test "${withval}" = "yes"; then EMACS=xemacs; else EMACS=${withval}; fi
1862 # Check whether --with-emacs was given.
1863 if test "${with_emacs+set}" = set; then :
1864 withval=$with_emacs; if test "${withval}" = "yes"; then EMACS=emacs; else EMACS=${withval}; fi
1867 # Extract the first word of "makeinfo", so it can be a program name with args.
1868 set dummy makeinfo; ac_word=$2
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1870 $as_echo_n "checking for $ac_word... " >&6; }
1871 if ${ac_cv_prog_MAKEINFO+:} false; then :
1872 $as_echo_n "(cached) " >&6
1874 if test -n "$MAKEINFO"; then
1875 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
1877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1881 test -z "$as_dir" && as_dir=.
1882 for ac_exec_ext in '' $ac_executable_extensions; do
1883 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1884 ac_cv_prog_MAKEINFO="makeinfo"
1885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1892 test -z "$ac_cv_prog_MAKEINFO" && ac_cv_prog_MAKEINFO="no"
1895 MAKEINFO=$ac_cv_prog_MAKEINFO
1896 if test -n "$MAKEINFO"; then
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
1898 $as_echo "$MAKEINFO" >&6; }
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1901 $as_echo "no" >&6; }
1906 # Extract the first word of "emacs", so it can be a program name with args.
1907 set dummy emacs; ac_word=$2
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1909 $as_echo_n "checking for $ac_word... " >&6; }
1910 if ${ac_cv_prog_EMACS+:} false; then :
1911 $as_echo_n "(cached) " >&6
1913 if test -n "$EMACS"; then
1914 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
1916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1920 test -z "$as_dir" && as_dir=.
1921 for ac_exec_ext in '' $ac_executable_extensions; do
1922 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1923 ac_cv_prog_EMACS="emacs"
1924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1931 test -z "$ac_cv_prog_EMACS" && ac_cv_prog_EMACS="xemacs"
1934 EMACS=$ac_cv_prog_EMACS
1935 if test -n "$EMACS"; then
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EMACS" >&5
1937 $as_echo "$EMACS" >&6; }
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1940 $as_echo "no" >&6; }
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $EMACS is really XEmacs" >&5
1948 $as_echo_n "checking if $EMACS is really XEmacs... " >&6; }
1950 elisp="(if (string-match \"XEmacs\" emacs-version) \"yes\" \"no\") "
1951 if test -z ""noecho""; then
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xemacsp" >&5
1953 $as_echo_n "checking for xemacsp... " >&6; }
1955 if ${EMACS_cv_SYS_xemacsp+:} false; then :
1956 $as_echo_n "(cached) " >&6
1959 OUTPUT=./conftest-$$
1960 echo ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1
1961 ${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
1962 retval=`cat ${OUTPUT}`
1963 echo "=> ${retval}" >& 5 2>&1
1965 EMACS_cv_SYS_xemacsp=$retval
1969 xemacsp=${EMACS_cv_SYS_xemacsp}
1970 if test -z ""noecho""; then
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xemacsp" >&5
1972 $as_echo "$xemacsp" >&6; }
1975 XEMACS=${EMACS_cv_SYS_xemacsp}
1977 if test "$XEMACS" = "yes"; then
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XEMACS" >&5
1981 $as_echo "$XEMACS" >&6; }
1985 if test "$prefix" = "NONE"; then
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking prefix for your Emacs" >&5
1987 $as_echo_n "checking prefix for your Emacs... " >&6; }
1989 elisp="(expand-file-name \"..\" invocation-directory)"
1990 if test -z ""noecho""; then
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prefix" >&5
1992 $as_echo_n "checking for prefix... " >&6; }
1994 if ${EMACS_cv_SYS_prefix+:} false; then :
1995 $as_echo_n "(cached) " >&6
1998 OUTPUT=./conftest-$$
1999 echo ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1
2000 ${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
2001 retval=`cat ${OUTPUT}`
2002 echo "=> ${retval}" >& 5 2>&1
2004 EMACS_cv_SYS_prefix=$retval
2008 prefix=${EMACS_cv_SYS_prefix}
2009 if test -z ""noecho""; then
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $prefix" >&5
2011 $as_echo "$prefix" >&6; }
2014 prefix=${EMACS_cv_SYS_prefix}
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $prefix" >&5
2016 $as_echo "$prefix" >&6; }
2019 # Check whether --with-lispdir was given.
2020 if test "${with_lispdir+set}" = set; then :
2021 withval=$with_lispdir; lispdir=${withval}
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where .elc files should go" >&5
2025 $as_echo_n "checking where .elc files should go... " >&6; }
2026 if test -z "$lispdir"; then
2028 if test "x$theprefix" = "xNONE"; then
2029 theprefix=$ac_default_prefix
2031 if test "$EMACS_FLAVOR" = "xemacs"; then
2032 datadir="\$(prefix)/lib"
2033 lispdir="\$(datadir)/${EMACS_FLAVOR}/site-packages/lisp/gnus"
2035 lispdir="\$(datadir)/${EMACS_FLAVOR}/site-lisp/gnus"
2037 for thedir in share lib; do
2039 if test -d "${theprefix}/${thedir}/${EMACS_FLAVOR}/site-lisp"; then
2040 if test "$EMACS_FLAVOR" = "xemacs"; then
2041 lispdir="\$(prefix)/${thedir}/${EMACS_FLAVOR}/site-packages/lisp/gnus"
2043 lispdir="\$(datadir)/${EMACS_FLAVOR}/site-lisp/gnus"
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lispdir" >&5
2050 $as_echo "$lispdir" >&6; }
2055 # Check whether --with-etcdir was given.
2056 if test "${with_etcdir+set}" = set; then :
2057 withval=$with_etcdir; etcdir=${withval}
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where etc files should go" >&5
2061 $as_echo_n "checking where etc files should go... " >&6; }
2062 if test -z "$etcdir"; then
2063 if test "$EMACS_FLAVOR" = "xemacs"; then
2064 etcdir="\$(lispdir)/../../etc"
2066 etcdir="\$(lispdir)/../../etc"
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $etcdir" >&5
2070 $as_echo "$etcdir" >&6; }
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the TeXinfo docs should go" >&5
2075 $as_echo_n "checking where the TeXinfo docs should go... " >&6; }
2076 if test "$infodir" = "\${prefix}/info"; then
2077 if test "$EMACS_FLAVOR" = "xemacs"; then
2078 info_dir="\$(prefix)/${thedir}/${EMACS_FLAVOR}/site-packages/info"
2080 info_dir="\$(prefix)/info"
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $info_dir" >&5
2086 $as_echo "$info_dir" >&6; }
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which options to pass on to (X)Emacs" >&5
2091 $as_echo_n "checking which options to pass on to (X)Emacs... " >&6; }
2092 if test "x$FLAGS" = "x"; then
2093 if test "$EMACS_FLAVOR" = "xemacs"; then
2094 FLAGS="-batch -no-autoloads -l \$(srcdir)/dgnushack.el"
2096 FLAGS="-batch -q -no-site-file -l \$(srcdir)/dgnushack.el"
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLAGS" >&5
2102 $as_echo "$FLAGS" >&6; }
2106 test "$LATEX" = t && LATEX=
2107 test "$LATEX" || for ac_prog in latex
2109 # Extract the first word of "$ac_prog", so it can be a program name with args.
2110 set dummy $ac_prog; ac_word=$2
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2112 $as_echo_n "checking for $ac_word... " >&6; }
2113 if ${ac_cv_path_LATEX+:} false; then :
2114 $as_echo_n "(cached) " >&6
2118 ac_cv_path_LATEX="$LATEX" # Let the user override the test with a path.
2121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2125 test -z "$as_dir" && as_dir=.
2126 for ac_exec_ext in '' $ac_executable_extensions; do
2127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2128 ac_cv_path_LATEX="$as_dir/$ac_word$ac_exec_ext"
2129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2139 LATEX=$ac_cv_path_LATEX
2140 if test -n "$LATEX"; then
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LATEX" >&5
2142 $as_echo "$LATEX" >&6; }
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2145 $as_echo "no" >&6; }
2149 test -n "$LATEX" && break
2151 test -n "$LATEX" || LATEX="no"
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for available fonts" >&5
2154 $as_echo_n "checking for available fonts... " >&6; }
2156 # Check whether --with-fonts was given.
2157 if test "${with_fonts+set}" = set; then :
2158 withval=$with_fonts; USE_FONTS="$withval"
2161 WITH_FONTS_bembo='%'
2162 WITHOUT_FONTS_bembo=
2167 if test -z "${USE_FONTS}"; then
2168 if test "${LATEX}" = no; then
2171 OUTPUT=./conftest-$$
2172 echo '\nonstopmode\documentclass{article}\usepackage{bembo}\begin{document}\end{document}' > ${OUTPUT}
2173 if ${LATEX} ${OUTPUT} </dev/null >& 5 2>&1 ; then
2174 if test -z "${USE_FONTS}"; then
2175 USE_FONTS="Adobe Bembo"
2177 USE_FONTS="${USE_FONTS}, Adobe Bembo"
2180 WITHOUT_FONTS_bembo='%'
2182 echo '\nonstopmode\documentclass{article}\begin{document}{\fontfamily{pfu}\fontsize{10pt}{10}\selectfont test}\end{document}' > ${OUTPUT}
2183 if retval=`${LATEX} ${OUTPUT} </dev/null 2>& 5`; then
2184 if echo "$retval" | grep 'Some font shapes were not available' >& 5 2>&1 ; then
2187 if test -z "${USE_FONTS}"; then
2188 USE_FONTS="Adobe Futura"
2190 USE_FONTS="${USE_FONTS}, Adobe Futura"
2193 WITHOUT_FONTS_pfu='%'
2196 echo '\nonstopmode\documentclass{article}\begin{document}{\fontfamily{bcr}\fontsize{10pt}{10}\selectfont test}\end{document}' > ${OUTPUT}
2197 if retval=`${LATEX} ${OUTPUT} </dev/null 2>& 5`; then
2198 if echo "$retval" | grep 'Some font shapes were not available' >& 5 2>&1 ; then
2201 if test -z "${USE_FONTS}"; then
2202 USE_FONTS="Bitstream Courier"
2204 USE_FONTS="${USE_FONTS}, Bitstream Courier"
2207 WITHOUT_FONTS_bcr='%'
2210 rm -f ${OUTPUT} ${OUTPUT}.aux ${OUTPUT}.log ${OUTPUT}.dvi
2212 elif test "${USE_FONTS}" = yes ; then
2214 WITHOUT_FONTS_bembo='%'
2216 WITHOUT_FONTS_pfu='%'
2218 WITHOUT_FONTS_bcr='%'
2226 if test -z "${USE_FONTS}" ; then
2229 USE_FONTS=`echo "${USE_FONTS}" | sed 's/,\([^,]*\)$/ and\1/'`
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"${USE_FONTS}\"" >&5
2231 $as_echo "\"${USE_FONTS}\"" >&6; }
2232 if test "${USE_FONTS}" = yes ; then
2233 USE_FONTS='Set in Adobe Bembo, Adobe Futura and Bitstream Courier.'
2234 elif test "${USE_FONTS}" = no ; then
2237 USE_FONTS="Set in ${USE_FONTS}."
2242 ac_config_files="$ac_config_files Makefile etc/Makefile lisp/Makefile texi/Makefile texi/gnusconfig.tex texi/ps/Makefile"
2244 cat >confcache <<\_ACEOF
2245 # This file is a shell script that caches the results of configure
2246 # tests run on this system so they can be shared between configure
2247 # scripts and configure runs, see configure's option --config-cache.
2248 # It is not useful on other systems. If it contains results you don't
2249 # want to keep, you may remove or edit it.
2251 # config.status only pays attention to the cache file if you give it
2252 # the --recheck option to rerun configure.
2254 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2255 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2260 # The following way of writing the cache mishandles newlines in values,
2261 # but we know of no workaround that is simple, portable, and efficient.
2262 # So, we kill variables containing newlines.
2263 # Ultrix sh set writes to stderr and can't be redirected directly,
2264 # and sets the high bit in the cache file unless we assign to the vars.
2266 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2267 eval ac_val=\$$ac_var
2271 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2272 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2275 _ | IFS | as_nl) ;; #(
2276 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2277 *) { eval $ac_var=; unset $ac_var;} ;;
2283 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2284 *${as_nl}ac_space=\ *)
2285 # `set' does not quote correctly, so add quotes: double-quote
2286 # substitution turns \\\\ into \\, and sed turns \\ into \.
2289 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2292 # `set' quotes correctly as required by POSIX, so do not add quotes.
2293 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2302 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2304 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2306 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2307 if test -w "$cache_file"; then
2308 if test "x$cache_file" != "x/dev/null"; then
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2310 $as_echo "$as_me: updating cache $cache_file" >&6;}
2311 if test ! -f "$cache_file" || test -h "$cache_file"; then
2312 cat confcache >"$cache_file"
2314 case $cache_file in #(
2316 mv -f confcache "$cache_file"$$ &&
2317 mv -f "$cache_file"$$ "$cache_file" ;; #(
2319 mv -f confcache "$cache_file" ;;
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2325 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2330 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2331 # Let make expand exec_prefix.
2332 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2334 # Transform confdefs.h into DEFS.
2335 # Protect against shell expansion while executing Makefile rules.
2336 # Protect against Makefile macro expansion.
2338 # If the first sed substitution is executed (which looks for macros that
2339 # take arguments), then branch to the quote section. Otherwise,
2340 # look for a macro that doesn't take arguments.
2350 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2352 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2356 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2369 DEFS=`sed -n "$ac_script" confdefs.h`
2375 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2376 # 1. Remove the extension, and $U if already installed.
2377 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2378 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2379 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2380 # will be set to the directory where LIBOBJS objects are built.
2381 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2382 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2386 LTLIBOBJS=$ac_ltlibobjs
2390 : "${CONFIG_STATUS=./config.status}"
2392 ac_clean_files_save=$ac_clean_files
2393 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2395 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2397 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2399 # Generated by $as_me.
2400 # Run this file to recreate the current configuration.
2401 # Compiler output produced by configure, useful for debugging
2402 # configure, is in config.log if it exists.
2408 SHELL=\${CONFIG_SHELL-$SHELL}
2411 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2412 ## -------------------- ##
2413 ## M4sh Initialization. ##
2414 ## -------------------- ##
2416 # Be more Bourne compatible
2417 DUALCASE=1; export DUALCASE # for MKS sh
2418 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2421 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2422 # is contrary to our usage. Disable this feature.
2423 alias -g '${1+"$@"}'='"$@"'
2424 setopt NO_GLOB_SUBST
2426 case `(set -o) 2>/dev/null` in #(
2438 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2439 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2440 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2441 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2442 # Prefer a ksh shell builtin over an external printf program on Solaris,
2443 # but without wasting forks for bash or zsh.
2444 if test -z "$BASH_VERSION$ZSH_VERSION" \
2445 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2446 as_echo='print -r --'
2447 as_echo_n='print -rn --'
2448 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2449 as_echo='printf %s\n'
2450 as_echo_n='printf %s'
2452 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2453 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2454 as_echo_n='/usr/ucb/echo -n'
2456 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2457 as_echo_n_body='eval
2461 expr "X$arg" : "X\\(.*\\)$as_nl";
2462 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2464 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2466 export as_echo_n_body
2467 as_echo_n='sh -c $as_echo_n_body as_echo'
2470 as_echo='sh -c $as_echo_body as_echo'
2473 # The user is always right.
2474 if test "${PATH_SEPARATOR+set}" != set; then
2476 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2477 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2484 # We need space, tab and new line, in precisely that order. Quoting is
2485 # there to prevent editors from complaining about space-tab.
2486 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2487 # splitting by setting IFS to empty value.)
2490 # Find who we are. Look in the path if we contain no directory separator.
2493 *[\\/]* ) as_myself=$0 ;;
2494 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2498 test -z "$as_dir" && as_dir=.
2499 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2505 # We did not find ourselves, most probably we were run as `sh COMMAND'
2506 # in which case we are not to be found in the path.
2507 if test "x$as_myself" = x; then
2510 if test ! -f "$as_myself"; then
2511 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2515 # Unset variables that we do not need and which cause bugs (e.g. in
2516 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2517 # suppresses any "Segmentation fault" message there. '((' could
2518 # trigger a bug in pdksh 5.2.14.
2519 for as_var in BASH_ENV ENV MAIL MAILPATH
2520 do eval test x\${$as_var+set} = xset \
2521 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2534 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2537 # as_fn_error STATUS ERROR [LINENO LOG_FD]
2538 # ----------------------------------------
2539 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2540 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2541 # script with STATUS, using 1 if that was 0.
2544 as_status=$1; test $as_status -eq 0 && as_status=1
2546 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2547 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2549 $as_echo "$as_me: error: $2" >&2
2550 as_fn_exit $as_status
2554 # as_fn_set_status STATUS
2555 # -----------------------
2556 # Set $? to STATUS, without forking.
2560 } # as_fn_set_status
2564 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2574 # Portably unset VAR.
2577 { eval $1=; unset $1;}
2579 as_unset=as_fn_unset
2580 # as_fn_append VAR VALUE
2581 # ----------------------
2582 # Append the text in VALUE to the end of the definition contained in VAR. Take
2583 # advantage of any shell optimizations that allow amortized linear growth over
2584 # repeated appends, instead of the typical quadratic growth present in naive
2586 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2587 eval 'as_fn_append ()
2598 # as_fn_arith ARG...
2599 # ------------------
2600 # Perform arithmetic evaluation on the ARGs, and store the result in the
2601 # global $as_val. Take advantage of shells that can avoid forks. The arguments
2602 # must be portable across $(()) and expr.
2603 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2604 eval 'as_fn_arith ()
2611 as_val=`expr "$@" || test $? -eq 1`
2616 if expr a : '\(a\)' >/dev/null 2>&1 &&
2617 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2623 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2624 as_basename=basename
2629 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2635 as_me=`$as_basename -- "$0" ||
2636 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2637 X"$0" : 'X\(//\)$' \| \
2638 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2640 sed '/^.*\/\([^/][^/]*\)\/*$/{
2654 # Avoid depending upon Character Ranges.
2655 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2656 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2657 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2658 as_cr_digits='0123456789'
2659 as_cr_alnum=$as_cr_Letters$as_cr_digits
2661 ECHO_C= ECHO_N= ECHO_T=
2662 case `echo -n x` in #(((((
2664 case `echo 'xy\c'` in
2665 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2667 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
2674 rm -f conf$$ conf$$.exe conf$$.file
2675 if test -d conf$$.dir; then
2676 rm -f conf$$.dir/conf$$.file
2679 mkdir conf$$.dir 2>/dev/null
2681 if (echo >conf$$.file) 2>/dev/null; then
2682 if ln -s conf$$.file conf$$ 2>/dev/null; then
2684 # ... but there are two gotchas:
2685 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2686 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2687 # In both cases, we have to default to `cp -pR'.
2688 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2690 elif ln conf$$.file conf$$ 2>/dev/null; then
2698 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2699 rmdir conf$$.dir 2>/dev/null
2704 # Create "$as_dir" as a directory, including parents if necessary.
2709 -*) as_dir=./$as_dir;;
2711 test -d "$as_dir" || eval $as_mkdir_p || {
2715 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2716 *) as_qdir=$as_dir;;
2718 as_dirs="'$as_qdir' $as_dirs"
2719 as_dir=`$as_dirname -- "$as_dir" ||
2720 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2721 X"$as_dir" : 'X\(//\)[^/]' \| \
2722 X"$as_dir" : 'X\(//\)$' \| \
2723 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2724 $as_echo X"$as_dir" |
2725 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2742 test -d "$as_dir" && break
2744 test -z "$as_dirs" || eval "mkdir $as_dirs"
2745 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
2749 if mkdir -p . 2>/dev/null; then
2750 as_mkdir_p='mkdir -p "$as_dir"'
2752 test -d ./-p && rmdir ./-p
2757 # as_fn_executable_p FILE
2758 # -----------------------
2759 # Test if FILE is an executable regular file.
2760 as_fn_executable_p ()
2762 test -f "$1" && test -x "$1"
2763 } # as_fn_executable_p
2765 as_executable_p=as_fn_executable_p
2767 # Sed expression to map a string onto a valid CPP name.
2768 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2770 # Sed expression to map a string onto a valid variable name.
2771 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2775 ## ----------------------------------- ##
2776 ## Main body of $CONFIG_STATUS script. ##
2777 ## ----------------------------------- ##
2779 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2781 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2782 # Save the log message, to keep $0 and so on meaningful, and to
2783 # report actual input values of CONFIG_FILES etc. instead of their
2784 # values after options handling.
2786 This file was extended by $as_me, which was
2787 generated by GNU Autoconf 2.69. Invocation command line was
2789 CONFIG_FILES = $CONFIG_FILES
2790 CONFIG_HEADERS = $CONFIG_HEADERS
2791 CONFIG_LINKS = $CONFIG_LINKS
2792 CONFIG_COMMANDS = $CONFIG_COMMANDS
2795 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2800 case $ac_config_files in *"
2801 "*) set x $ac_config_files; shift; ac_config_files=$*;;
2806 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2807 # Files that config.status was made for.
2808 config_files="$ac_config_files"
2812 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2814 \`$as_me' instantiates files and other configuration actions
2815 from templates according to the current configuration. Unless the files
2816 and actions are specified as TAGs, all are instantiated by default.
2818 Usage: $0 [OPTION]... [TAG]...
2820 -h, --help print this help, then exit
2821 -V, --version print version number and configuration settings, then exit
2822 --config print configuration, then exit
2823 -q, --quiet, --silent
2824 do not print progress messages
2825 -d, --debug don't remove temporary files
2826 --recheck update $as_me by reconfiguring in the same conditions
2827 --file=FILE[:TEMPLATE]
2828 instantiate the configuration file FILE
2830 Configuration files:
2833 Report bugs to the package provider."
2836 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2837 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
2840 configured by $0, generated by GNU Autoconf 2.69,
2841 with options \\"\$ac_cs_config\\"
2843 Copyright (C) 2012 Free Software Foundation, Inc.
2844 This config.status script is free software; the Free Software Foundation
2845 gives unlimited permission to copy, distribute and modify it."
2850 test -n "\$AWK" || AWK=awk
2853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2854 # The default lists apply if the user does not specify any file.
2860 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2861 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2865 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2877 # Handling of the options.
2878 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2880 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2881 $as_echo "$ac_cs_version"; exit ;;
2882 --config | --confi | --conf | --con | --co | --c )
2883 $as_echo "$ac_cs_config"; exit ;;
2884 --debug | --debu | --deb | --de | --d | -d )
2886 --file | --fil | --fi | --f )
2889 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2890 '') as_fn_error $? "missing file argument" ;;
2892 as_fn_append CONFIG_FILES " '$ac_optarg'"
2893 ac_need_defaults=false;;
2894 --he | --h | --help | --hel | -h )
2895 $as_echo "$ac_cs_usage"; exit ;;
2896 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2897 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2901 -*) as_fn_error $? "unrecognized option: \`$1'
2902 Try \`$0 --help' for more information." ;;
2904 *) as_fn_append ac_config_targets " $1"
2905 ac_need_defaults=false ;;
2911 ac_configure_extra_args=
2913 if $ac_cs_silent; then
2915 ac_configure_extra_args="$ac_configure_extra_args --silent"
2919 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2920 if \$ac_cs_recheck; then
2921 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2923 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
2924 CONFIG_SHELL='$SHELL'
2930 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2934 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2935 ## Running $as_me. ##
2941 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2944 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2946 # Handling of arguments.
2947 for ac_config_target in $ac_config_targets
2949 case $ac_config_target in
2950 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2951 "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
2952 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;;
2953 "texi/Makefile") CONFIG_FILES="$CONFIG_FILES texi/Makefile" ;;
2954 "texi/gnusconfig.tex") CONFIG_FILES="$CONFIG_FILES texi/gnusconfig.tex" ;;
2955 "texi/ps/Makefile") CONFIG_FILES="$CONFIG_FILES texi/ps/Makefile" ;;
2957 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
2962 # If the user did not use the arguments to specify the items to instantiate,
2963 # then the envvar interface is used. Set only those that are not.
2964 # We use the long form for the default assignment because of an extremely
2965 # bizarre bug on SunOS 4.1.3.
2966 if $ac_need_defaults; then
2967 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2970 # Have a temporary directory for convenience. Make it in the build tree
2971 # simply because there is no reason against having it here, and in addition,
2972 # creating and moving files from /tmp can sometimes cause problems.
2973 # Hook for its removal unless debugging.
2974 # Note that there is a small window in which the directory will not be cleaned:
2975 # after its creation but before its name has been assigned to `$tmp'.
2979 trap 'exit_status=$?
2981 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
2983 trap 'as_fn_exit 1' 1 2 13 15
2985 # Create a (secure) tmp directory for tmp files.
2988 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2992 tmp=./conf$$-$RANDOM
2993 (umask 077 && mkdir "$tmp")
2994 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
2997 # Set up the scripts for CONFIG_FILES section.
2998 # No need to generate them if there are no CONFIG_FILES.
2999 # This happens for instance with `./config.status config.h'.
3000 if test -n "$CONFIG_FILES"; then
3003 ac_cr=`echo X | tr X '\015'`
3004 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3005 # But we know of no other shell where ac_cr would be empty at this
3006 # point, so we can use a bashism as a fallback.
3007 if test "x$ac_cr" = x; then
3008 eval ac_cr=\$\'\\r\'
3010 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3011 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3017 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3022 echo "cat >conf$$subs.awk <<_ACEOF" &&
3023 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3026 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3027 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3029 for ac_last_try in false false false false false :; do
3030 . ./conf$$subs.sh ||
3031 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3033 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3034 if test $ac_delim_n = $ac_delim_num; then
3036 elif $ac_last_try; then
3037 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3039 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3044 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3045 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3049 s/^/S["/; s/!.*/"]=/
3059 s/\(.\{148\}\)..*/\1/
3061 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3066 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3073 s/\(.\{148\}\)..*/\1/
3075 s/["\\]/\\&/g; s/^/"/; s/$/"/
3079 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3084 ' <conf$$subs.awk | sed '
3089 ' >>$CONFIG_STATUS || ac_write_fail=1
3090 rm -f conf$$subs.awk
3091 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3093 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3094 for (key in S) S_is_set[key] = 1
3100 nfields = split(line, field, "@")
3102 len = length(field[1])
3103 for (i = 2; i < nfields; i++) {
3105 keylen = length(key)
3106 if (S_is_set[key]) {
3108 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3109 len += length(value) + length(field[++i])
3120 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3121 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3122 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3125 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3126 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3129 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3130 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3131 # trailing colons and then remove the whole line if VPATH becomes empty
3132 # (actually we leave an empty line to preserve line numbers).
3133 if test "x$srcdir" = x.; then
3134 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3152 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3153 fi # test -n "$CONFIG_FILES"
3156 eval set X " :F $CONFIG_FILES "
3161 :[FHLC]) ac_mode=$ac_tag; continue;;
3163 case $ac_mode$ac_tag in
3165 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3166 :[FH]-) ac_tag=-:-;;
3167 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3184 -) ac_f="$ac_tmp/stdin";;
3185 *) # Look for the file first in the build tree, then in the source tree
3186 # (if the path is not absolute). The absolute path cannot be DOS-style,
3187 # because $ac_f cannot contain `:'.
3191 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3193 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3195 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3196 as_fn_append ac_file_inputs " '$ac_f'"
3199 # Let's still pretend it is `configure' which instantiates (i.e., don't
3200 # use $as_me), people would be surprised to read:
3201 # /* config.h. Generated by config.status. */
3202 configure_input='Generated from '`
3203 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3205 if test x"$ac_file" != x-; then
3206 configure_input="$ac_file. $configure_input"
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3208 $as_echo "$as_me: creating $ac_file" >&6;}
3210 # Neutralize special characters interpreted by sed in replacement strings.
3211 case $configure_input in #(
3212 *\&* | *\|* | *\\* )
3213 ac_sed_conf_input=`$as_echo "$configure_input" |
3214 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3215 *) ac_sed_conf_input=$configure_input;;
3219 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3220 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3225 ac_dir=`$as_dirname -- "$ac_file" ||
3226 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3227 X"$ac_file" : 'X\(//\)[^/]' \| \
3228 X"$ac_file" : 'X\(//\)$' \| \
3229 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3230 $as_echo X"$ac_file" |
3231 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3248 as_dir="$ac_dir"; as_fn_mkdir_p
3252 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3254 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3255 # A ".." for each directory in $ac_dir_suffix.
3256 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3257 case $ac_top_builddir_sub in
3258 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3259 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3262 ac_abs_top_builddir=$ac_pwd
3263 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3264 # for backward compatibility:
3265 ac_top_builddir=$ac_top_build_prefix
3268 .) # We are building in place.
3270 ac_top_srcdir=$ac_top_builddir_sub
3271 ac_abs_top_srcdir=$ac_pwd ;;
3272 [\\/]* | ?:[\\/]* ) # Absolute name.
3273 ac_srcdir=$srcdir$ac_dir_suffix;
3274 ac_top_srcdir=$srcdir
3275 ac_abs_top_srcdir=$srcdir ;;
3277 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3278 ac_top_srcdir=$ac_top_build_prefix$srcdir
3279 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3281 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3291 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3292 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3296 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3297 # If the template does not know about datarootdir, expand it.
3298 # FIXME: This hack should be removed a few years after 2.60.
3299 ac_datarootdir_hack=; ac_datarootdir_seen=
3310 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3311 *datarootdir*) ac_datarootdir_seen=yes;;
3312 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3314 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3316 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3317 ac_datarootdir_hack='
3318 s&@datadir@&$datadir&g
3319 s&@docdir@&$docdir&g
3320 s&@infodir@&$infodir&g
3321 s&@localedir@&$localedir&g
3322 s&@mandir@&$mandir&g
3323 s&\\\${datarootdir}&$datarootdir&g' ;;
3327 # Neutralize VPATH when `$srcdir' = `.'.
3328 # Shell code in configure.ac might set extrasub.
3329 # FIXME: do we really want to maintain this feature?
3330 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3331 ac_sed_extra="$ac_vpsub
3334 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3336 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3337 s|@configure_input@|$ac_sed_conf_input|;t t
3338 s&@top_builddir@&$ac_top_builddir_sub&;t t
3339 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3340 s&@srcdir@&$ac_srcdir&;t t
3341 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3342 s&@top_srcdir@&$ac_top_srcdir&;t t
3343 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3344 s&@builddir@&$ac_builddir&;t t
3345 s&@abs_builddir@&$ac_abs_builddir&;t t
3346 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3347 s&@INSTALL@&$ac_INSTALL&;t t
3348 $ac_datarootdir_hack
3350 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3351 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3353 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3354 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3355 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
3356 "$ac_tmp/out"`; test -z "$ac_out"; } &&
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3358 which seems to be undefined. Please make sure it is defined" >&5
3359 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3360 which seems to be undefined. Please make sure it is defined" >&2;}
3362 rm -f "$ac_tmp/stdin"
3364 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3365 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3367 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3379 ac_clean_files=$ac_clean_files_save
3381 test $ac_write_fail = 0 ||
3382 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3385 # configure is writing to config.log, and then calls config.status.
3386 # config.status does its own redirection, appending to config.log.
3387 # Unfortunately, on DOS this fails, as config.log is still kept open
3388 # by configure, so config.status won't be able to write to it; its
3389 # output is simply discarded. So we exec the FD to /dev/null,
3390 # effectively closing config.log, so it can be properly (re)opened and
3391 # appended to by config.status. When coming back to configure, we
3392 # need to make the FD available again.
3393 if test "$no_create" != yes; then
3395 ac_config_status_args=
3396 test "$silent" = yes &&
3397 ac_config_status_args="$ac_config_status_args --quiet"
3399 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3401 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3402 # would make configure fail if this is the last instruction.
3403 $ac_cs_success || as_fn_exit 1
3405 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3407 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}