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
638 program_transform_name
651 enable_option_checking
660 ac_precious_vars='build_alias
665 # Initialize some variables set by options.
667 ac_init_version=false
668 ac_unrecognized_opts=
670 # The variables have the same names as the options, with
671 # dashes changed to underlines.
679 program_transform_name=s,x,x,
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'
709 libdir='${exec_prefix}/lib'
710 localedir='${datarootdir}/locale'
711 mandir='${datarootdir}/man'
717 # If the previous option needs an argument, assign it.
718 if test -n "$ac_prev"; then
719 eval $ac_prev=\$ac_option
725 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
730 # Accept the important Cygnus configure options, so we can diagnose typos.
732 case $ac_dashdash$ac_option in
736 -bindir | --bindir | --bindi | --bind | --bin | --bi)
738 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
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 ;;
754 cache_file=config.cache ;;
756 -datadir | --datadir | --datadi | --datad)
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
779 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
780 ac_unrecognized_sep=', ';;
782 eval enable_$ac_useropt=no ;;
784 -docdir | --docdir | --docdi | --doc | --do)
786 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
789 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
791 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
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
805 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
806 ac_unrecognized_sep=', ';;
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.
823 -help | --help | --hel | --he | -h)
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)
837 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
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)
850 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
851 infodir=$ac_optarg ;;
853 -libdir | --libdir | --libdi | --libd)
855 -libdir=* | --libdir=* | --libdi=* | --libd=*)
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)
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)
879 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
883 # Obsolete; use --without-fp.
886 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
887 | --no-cr | --no-c | -n)
890 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
891 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
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)
905 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
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)
941 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
944 -psdir | --psdir | --psdi | --psd | --ps)
946 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
949 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
950 | -silent | --silent | --silen | --sile | --sil)
953 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
955 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
957 sbindir=$ac_optarg ;;
959 -sharedstatedir | --sharedstatedir | --sharedstatedi \
960 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
961 | --sharedst | --shareds | --shared | --share | --shar \
963 ac_prev=sharedstatedir ;;
964 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
965 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
966 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
968 sharedstatedir=$ac_optarg ;;
970 -site | --site | --sit)
972 -site=* | --site=* | --sit=*)
975 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
977 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
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)
995 -version | --version | --versio | --versi | --vers | -V)
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
1009 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1010 ac_unrecognized_sep=', ';;
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
1025 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1026 ac_unrecognized_sep=', ';;
1028 eval with_$ac_useropt=no ;;
1031 # Obsolete; use --with-x.
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"
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'" ;;
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}"
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
1081 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1082 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
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.
1096 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1097 eval $ac_var=\$ac_val;;
1099 # Be sure to have absolute directory names.
1101 [\\/$]* | ?:[\\/]* ) continue;;
1102 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1104 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
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.
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
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1165 if test ! -r "$srcdir/$ac_unique_file"; then
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"
1177 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1179 # When building in place, set srcdir=.
1180 if test "$ac_abs_confdir" = "$ac_pwd"; then
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.
1187 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
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}
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.
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.
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
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]
1262 if test -n "$ac_init_help"; then
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.
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"; } ||
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/ ;;
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
1307 .) # We are building in place.
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 ;;
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 ;;
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
1326 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1327 elif test -f "$ac_srcdir/configure"; then
1329 $SHELL "$ac_srcdir/configure" --help=recursive
1331 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1333 cd "$ac_pwd" || { ac_status=$?; break; }
1337 test -n "$ac_init_help" && exit $ac_status
1338 if $ac_init_version; then
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.
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
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`
1389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1393 test -z "$as_dir" && as_dir=.
1394 $as_echo "PATH: $as_dir"
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.
1418 ac_must_keep_next=false
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)
1429 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
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.
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 ;;
1447 -* ) ac_must_keep_next=true ;;
1450 as_fn_append ac_configure_args " '$ac_arg'"
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.
1468 $as_echo "## ---------------- ##
1469 ## Cache variables. ##
1470 ## ---------------- ##"
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
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;} ;;
1483 _ | IFS | as_nl) ;; #(
1484 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1485 *) { eval $ac_var=; unset $ac_var;} ;;
1490 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1491 *${as_nl}ac_space=\ *)
1493 "s/'\''/'\''\\\\'\'''\''/g;
1494 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1497 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1504 $as_echo "## ----------------- ##
1505 ## Output variables. ##
1506 ## ----------------- ##"
1508 for ac_var in $ac_subst_vars
1510 eval ac_val=\$$ac_var
1512 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1514 $as_echo "$ac_var='\''$ac_val'\''"
1518 if test -n "$ac_subst_files"; then
1519 $as_echo "## ------------------- ##
1520 ## File substitutions. ##
1521 ## ------------------- ##"
1523 for ac_var in $ac_subst_files
1525 eval ac_val=\$$ac_var
1527 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1529 $as_echo "$ac_var='\''$ac_val'\''"
1534 if test -s confdefs.h; then
1535 $as_echo "## ----------- ##
1542 test "$ac_signal" != 0 &&
1543 $as_echo "$as_me: caught signal $ac_signal"
1544 $as_echo "$as_me: exit $exit_status"
1546 rm -f core *.core core.conftest.* &&
1547 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1550 for ac_signal in 1 2 13 15; do
1551 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
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"
1566 cat >>confdefs.h <<_ACEOF
1567 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1570 cat >>confdefs.h <<_ACEOF
1571 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1574 cat >>confdefs.h <<_ACEOF
1575 #define PACKAGE_STRING "$PACKAGE_STRING"
1578 cat >>confdefs.h <<_ACEOF
1579 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1582 cat >>confdefs.h <<_ACEOF
1583 #define PACKAGE_URL "$PACKAGE_URL"
1587 # Let the site file select an alternate cache file if it wants to.
1588 # Prefer an explicitly selected file to automatically selected ones.
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;;
1598 elif test "x$prefix" != xNONE; then
1599 ac_site_file1=$prefix/share/config.site
1600 ac_site_file2=$prefix/etc/config.site
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
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; }
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;}
1627 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1628 *) . "./$cache_file";;
1632 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1633 $as_echo "$as_me: creating cache $cache_file" >&6;}
1637 # Check that the precious variables saved in the cache have kept the same
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
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=: ;;
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=: ;;
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=:
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;}
1675 # Pass precious variables to config.status.
1676 if test "$ac_new_set" = set; then
1678 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1679 *) ac_arg=$ac_var=$ac_new_val ;;
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'" ;;
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 ## -------------------- ##
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; }
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
1712 cat >conftest.make <<\_ACEOF
1715 @echo '@@@%%%=$(MAKE)=@@@%%%'
1717 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
1718 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1720 eval ac_cv_prog_make_${ac_make}_set=yes;;
1722 eval ac_cv_prog_make_${ac_make}_set=no;;
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; }
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1732 $as_echo "no" >&6; }
1733 SET_MAKE="MAKE=${MAKE-make}"
1737 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1738 if test -f "$ac_dir/install-sh"; then
1740 ac_install_sh="$ac_aux_dir/install-sh -c"
1742 elif test -f "$ac_dir/install.sh"; then
1744 ac_install_sh="$ac_aux_dir/install.sh -c"
1746 elif test -f "$ac_dir/shtool"; then
1748 ac_install_sh="$ac_aux_dir/shtool install -c"
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
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
1785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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[\\/]* | \
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
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.
1812 rm -rf conftest.one conftest.two conftest.dir
1813 echo one > conftest.one
1814 echo two > conftest.two
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
1821 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
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
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
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
1882 if test -n "$MAKEINFO"; then
1883 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
1885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
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
1921 if test -n "$EMACS"; then
1922 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
1924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
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
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
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}
1985 if test "$XEMACS" = "yes"; then
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
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
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
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"
2043 lispdir="\$(datadir)/${EMACS_FLAVOR}/site-lisp/gnus"
2045 for thedir in share lib; do
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"
2051 lispdir="\$(datadir)/${EMACS_FLAVOR}/site-lisp/gnus"
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"
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"
2088 info_dir="\$(prefix)/info"
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
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
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
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
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
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
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
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
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
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
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
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
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
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"
2306 FLAGS="-batch -q -no-site-file -l \$(srcdir)/dgnushack.el"
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
2328 ac_cv_path_LATEX="$LATEX" # Let the user override the test with a path.
2331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2355 $as_echo "no" >&6; }
2359 test -n "$LATEX" && break
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=
2377 if test -z "${USE_FONTS}"; then
2378 if test "${LATEX}" = no; then
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"
2387 USE_FONTS="${USE_FONTS}, Adobe 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
2397 if test -z "${USE_FONTS}"; then
2398 USE_FONTS="Adobe Futura"
2400 USE_FONTS="${USE_FONTS}, Adobe Futura"
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
2411 if test -z "${USE_FONTS}"; then
2412 USE_FONTS="Bitstream Courier"
2414 USE_FONTS="${USE_FONTS}, Bitstream Courier"
2417 WITHOUT_FONTS_bcr='%'
2420 rm -f ${OUTPUT} ${OUTPUT}.aux ${OUTPUT}.log ${OUTPUT}.dvi
2422 elif test "${USE_FONTS}" = yes ; then
2424 WITHOUT_FONTS_bembo='%'
2426 WITHOUT_FONTS_pfu='%'
2428 WITHOUT_FONTS_bcr='%'
2436 if test -z "${USE_FONTS}" ; then
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
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
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
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;} ;;
2485 _ | IFS | as_nl) ;; #(
2486 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2487 *) { eval $ac_var=; unset $ac_var;} ;;
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 \.
2499 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2502 # `set' quotes correctly as required by POSIX, so do not add quotes.
2503 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2512 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2514 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
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"
2524 case $cache_file in #(
2526 mv -f confcache "$cache_file"$$ &&
2527 mv -f "$cache_file"$$ "$cache_file" ;; #(
2529 mv -f confcache "$cache_file" ;;
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;}
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.
2560 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2562 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2566 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2579 DEFS=`sed -n "$ac_script" confdefs.h`
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'
2596 LTLIBOBJS=$ac_ltlibobjs
2600 : "${CONFIG_STATUS=./config.status}"
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;}
2607 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
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.
2618 SHELL=\${CONFIG_SHELL-$SHELL}
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 :
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
2636 case `(set -o) 2>/dev/null` in #(
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'
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'
2666 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2667 as_echo_n_body='eval
2671 expr "X$arg" : "X\\(.*\\)$as_nl";
2672 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
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'
2680 as_echo='sh -c $as_echo_body as_echo'
2683 # The user is always right.
2684 if test "${PATH_SEPARATOR+set}" != set; then
2686 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2687 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
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.)
2700 # Find who we are. Look in the path if we contain no directory separator.
2703 *[\\/]* ) as_myself=$0 ;;
2704 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2708 test -z "$as_dir" && as_dir=.
2709 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
2720 if test ! -f "$as_myself"; then
2721 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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 || :
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.
2754 as_status=$1; test $as_status -eq 0 && as_status=1
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
2764 # as_fn_set_status STATUS
2765 # -----------------------
2766 # Set $? to STATUS, without forking.
2770 } # as_fn_set_status
2774 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2784 # Portably unset VAR.
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
2796 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2797 eval '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 ()
2821 as_val=`expr "$@" || test $? -eq 1`
2826 if expr a : '\(a\)' >/dev/null 2>&1 &&
2827 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2833 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2834 as_basename=basename
2839 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2845 as_me=`$as_basename -- "$0" ||
2846 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2847 X"$0" : 'X\(//\)$' \| \
2848 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2850 sed '/^.*\/\([^/][^/]*\)\/*$/{
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 #(((((
2874 case `echo 'xy\c'` in
2875 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2877 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
2884 rm -f conf$$ conf$$.exe conf$$.file
2885 if test -d conf$$.dir; then
2886 rm -f conf$$.dir/conf$$.file
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
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 ||
2900 elif ln conf$$.file conf$$ 2>/dev/null; then
2908 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2909 rmdir conf$$.dir 2>/dev/null
2914 # Create "$as_dir" as a directory, including parents if necessary.
2919 -*) as_dir=./$as_dir;;
2921 test -d "$as_dir" || eval $as_mkdir_p || {
2925 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2926 *) as_qdir=$as_dir;;
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2952 test -d "$as_dir" && break
2954 test -z "$as_dirs" || eval "mkdir $as_dirs"
2955 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
2959 if mkdir -p . 2>/dev/null; then
2960 as_mkdir_p='mkdir -p "$as_dir"'
2962 test -d ./-p && rmdir ./-p
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
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'"
2985 ## ----------------------------------- ##
2986 ## Main body of $CONFIG_STATUS script. ##
2987 ## ----------------------------------- ##
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.
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
3005 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3010 case $ac_config_files in *"
3011 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3016 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3017 # Files that config.status was made for.
3018 config_files="$ac_config_files"
3022 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
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:
3043 Report bugs to the package provider."
3046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3047 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
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."
3060 test -n "\$AWK" || AWK=awk
3063 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3064 # The default lists apply if the user does not specify any file.
3070 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3071 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3075 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3087 # Handling of the options.
3088 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
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 )
3096 --file | --fil | --fi | --f )
3099 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3100 '') as_fn_error $? "missing file argument" ;;
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)
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 ;;
3121 ac_configure_extra_args=
3123 if $ac_cs_silent; then
3125 ac_configure_extra_args="$ac_configure_extra_args --silent"
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
3133 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3134 CONFIG_SHELL='$SHELL'
3140 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3144 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3145 ## Running $as_me. ##
3151 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
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;;
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'.
3189 trap 'exit_status=$?
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` &&
3202 tmp=./conf$$-$RANDOM
3203 (umask 077 && mkdir "$tmp")
3204 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
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
3227 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3232 echo "cat >conf$$subs.awk <<_ACEOF" &&
3233 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3236 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3237 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
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
3246 elif $ac_last_try; then
3247 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3249 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3254 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3255 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3259 s/^/S["/; s/!.*/"]=/
3269 s/\(.\{148\}\)..*/\1/
3271 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3276 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3283 s/\(.\{148\}\)..*/\1/
3285 s/["\\]/\\&/g; s/^/"/; s/$/"/
3289 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3294 ' <conf$$subs.awk | sed '
3299 ' >>$CONFIG_STATUS || ac_write_fail=1
3300 rm -f conf$$subs.awk
3301 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3303 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3304 for (key in S) S_is_set[key] = 1
3310 nfields = split(line, field, "@")
3312 len = length(field[1])
3313 for (i = 2; i < nfields; i++) {
3315 keylen = length(key)
3316 if (S_is_set[key]) {
3318 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3319 len += length(value) + length(field[++i])
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"
3335 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3336 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
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[ ]*=[ ]*/{
3362 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3363 fi # test -n "$CONFIG_FILES"
3366 eval set X " :F $CONFIG_FILES "
3371 :[FHLC]) ac_mode=$ac_tag; continue;;
3373 case $ac_mode$ac_tag in
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;;
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 `:'.
3401 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3403 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3405 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3406 as_fn_append ac_file_inputs " '$ac_f'"
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'
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;;
3429 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3430 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3458 as_dir="$ac_dir"; as_fn_mkdir_p
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/ ;;
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
3478 .) # We are building in place.
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 ;;
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 ;;
3491 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3501 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3502 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
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=
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;}
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' ;;
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
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"
3574 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3575 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3577 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
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
3605 ac_config_status_args=
3606 test "$silent" = yes &&
3607 ac_config_status_args="$ac_config_status_args --quiet"
3609 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
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;}