2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
174 if (eval "$as_required") 2>/dev/null; then :
179 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
187 test -z "$as_dir" && as_dir=.
191 for as_base in sh bash ksh sh5; do
192 # Try only shells that exist, to save several forks.
193 as_shell=$as_dir/$as_base
194 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
195 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
196 CONFIG_SHELL=$as_shell as_have_required=yes
197 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
206 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
207 CONFIG_SHELL=$SHELL as_have_required=yes
212 if test "x$CONFIG_SHELL" != x; then :
213 # We cannot yet assume a decent shell, so we have to provide a
214 # neutralization value for shells without unset; and this also
215 # works around shells that cannot unset nonexistent variables.
218 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
223 if test x$as_have_required = xno; then :
224 $as_echo "$0: This script requires a shell more modern than all"
225 $as_echo "$0: the shells that I found on your system."
226 if test x${ZSH_VERSION+set} = xset ; then
227 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
228 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
231 $0: including any error possibly output before this
232 $0: message. Then install a modern shell, or manually run
233 $0: the script under such a shell if you do have one."
239 SHELL=${CONFIG_SHELL-/bin/sh}
241 # Unset more variables known to interfere with behavior of common tools.
242 CLICOLOR_FORCE= GREP_OPTIONS=
243 unset CLICOLOR_FORCE GREP_OPTIONS
245 ## --------------------- ##
246 ## M4sh Shell Functions. ##
247 ## --------------------- ##
250 # Portably unset VAR.
253 { eval $1=; unset $1;}
257 # as_fn_set_status STATUS
258 # -----------------------
259 # Set $? to STATUS, without forking.
267 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
277 # Create "$as_dir" as a directory, including parents if necessary.
282 -*) as_dir=./$as_dir;;
284 test -d "$as_dir" || eval $as_mkdir_p || {
288 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
291 as_dirs="'$as_qdir' $as_dirs"
292 as_dir=`$as_dirname -- "$as_dir" ||
293 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
294 X"$as_dir" : 'X\(//\)[^/]' \| \
295 X"$as_dir" : 'X\(//\)$' \| \
296 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
297 $as_echo X"$as_dir" |
298 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
315 test -d "$as_dir" && break
317 test -z "$as_dirs" || eval "mkdir $as_dirs"
318 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
322 # as_fn_append VAR VALUE
323 # ----------------------
324 # Append the text in VALUE to the end of the definition contained in VAR. Take
325 # advantage of any shell optimizations that allow amortized linear growth over
326 # repeated appends, instead of the typical quadratic growth present in naive
328 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
329 eval 'as_fn_append ()
342 # Perform arithmetic evaluation on the ARGs, and store the result in the
343 # global $as_val. Take advantage of shells that can avoid forks. The arguments
344 # must be portable across $(()) and expr.
345 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 as_val=`expr "$@" || test $? -eq 1`
358 # as_fn_error ERROR [LINENO LOG_FD]
359 # ---------------------------------
360 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
361 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
362 # script with status $?, using 1 if that was 0.
365 as_status=$?; test $as_status -eq 0 && as_status=1
367 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
368 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
370 $as_echo "$as_me: error: $1" >&2
371 as_fn_exit $as_status
374 if expr a : '\(a\)' >/dev/null 2>&1 &&
375 test "X`expr 00001 : '.*\(...\)'`" = X001; then
381 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
387 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
393 as_me=`$as_basename -- "$0" ||
394 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
395 X"$0" : 'X\(//\)$' \| \
396 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
398 sed '/^.*\/\([^/][^/]*\)\/*$/{
412 # Avoid depending upon Character Ranges.
413 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
414 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
415 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
416 as_cr_digits='0123456789'
417 as_cr_alnum=$as_cr_Letters$as_cr_digits
420 as_lineno_1=$LINENO as_lineno_1a=$LINENO
421 as_lineno_2=$LINENO as_lineno_2a=$LINENO
422 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
423 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
424 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
436 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
440 chmod +x "$as_me.lineno" ||
441 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
443 # Don't try to exec as it changes $[0], causing all sort of problems
444 # (the dirname of $[0] is not the place where we might find the
445 # original and so on. Autoconf is especially sensitive to this).
447 # Exit status is that of the last command.
451 ECHO_C= ECHO_N= ECHO_T=
452 case `echo -n x` in #(((((
454 case `echo 'xy\c'` in
455 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
457 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
464 rm -f conf$$ conf$$.exe conf$$.file
465 if test -d conf$$.dir; then
466 rm -f conf$$.dir/conf$$.file
469 mkdir conf$$.dir 2>/dev/null
471 if (echo >conf$$.file) 2>/dev/null; then
472 if ln -s conf$$.file conf$$ 2>/dev/null; then
474 # ... but there are two gotchas:
475 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
476 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
477 # In both cases, we have to default to `cp -p'.
478 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
480 elif ln conf$$.file conf$$ 2>/dev/null; then
488 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
489 rmdir conf$$.dir 2>/dev/null
491 if mkdir -p . 2>/dev/null; then
492 as_mkdir_p='mkdir -p "$as_dir"'
494 test -d ./-p && rmdir ./-p
498 if test -x / >/dev/null 2>&1; then
501 if ls -dL / >/dev/null 2>&1; then
508 if test -d "$1"; then
514 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
515 ???[sx]*):;;*)false;;esac;fi
519 as_executable_p=$as_test_x
521 # Sed expression to map a string onto a valid CPP name.
522 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524 # Sed expression to map a string onto a valid variable name.
525 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
528 test -n "$DJDIR" || exec 7<&0 </dev/null
532 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
533 # so uname gets run too.
534 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
539 ac_default_prefix=/usr/local
541 ac_config_libobj_dir=.
548 # Identity of this package.
556 ac_unique_file="lisp/gnus.el"
557 ac_subst_vars='LTLIBOBJS
610 program_transform_name
623 enable_option_checking
632 ac_precious_vars='build_alias
637 # Initialize some variables set by options.
639 ac_init_version=false
640 ac_unrecognized_opts=
642 # The variables have the same names as the options, with
643 # dashes changed to underlines.
651 program_transform_name=s,x,x,
659 # Installation directory options.
660 # These are left unexpanded so users can "make install exec_prefix=/foo"
661 # and all the variables that are supposed to be based on exec_prefix
662 # by default will actually change.
663 # Use braces instead of parens because sh, perl, etc. also accept them.
664 # (The list follows the same order as the GNU Coding Standards.)
665 bindir='${exec_prefix}/bin'
666 sbindir='${exec_prefix}/sbin'
667 libexecdir='${exec_prefix}/libexec'
668 datarootdir='${prefix}/share'
669 datadir='${datarootdir}'
670 sysconfdir='${prefix}/etc'
671 sharedstatedir='${prefix}/com'
672 localstatedir='${prefix}/var'
673 includedir='${prefix}/include'
674 oldincludedir='/usr/include'
675 docdir='${datarootdir}/doc/${PACKAGE}'
676 infodir='${datarootdir}/info'
681 libdir='${exec_prefix}/lib'
682 localedir='${datarootdir}/locale'
683 mandir='${datarootdir}/man'
689 # If the previous option needs an argument, assign it.
690 if test -n "$ac_prev"; then
691 eval $ac_prev=\$ac_option
697 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
701 # Accept the important Cygnus configure options, so we can diagnose typos.
703 case $ac_dashdash$ac_option in
707 -bindir | --bindir | --bindi | --bind | --bin | --bi)
709 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
712 -build | --build | --buil | --bui | --bu)
713 ac_prev=build_alias ;;
714 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
715 build_alias=$ac_optarg ;;
717 -cache-file | --cache-file | --cache-fil | --cache-fi \
718 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
719 ac_prev=cache_file ;;
720 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
721 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
722 cache_file=$ac_optarg ;;
725 cache_file=config.cache ;;
727 -datadir | --datadir | --datadi | --datad)
729 -datadir=* | --datadir=* | --datadi=* | --datad=*)
730 datadir=$ac_optarg ;;
732 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
733 | --dataroo | --dataro | --datar)
734 ac_prev=datarootdir ;;
735 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
736 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
737 datarootdir=$ac_optarg ;;
739 -disable-* | --disable-*)
740 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
741 # Reject names that are not valid shell variable names.
742 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
743 as_fn_error "invalid feature name: $ac_useropt"
744 ac_useropt_orig=$ac_useropt
745 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
746 case $ac_user_opts in
750 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
751 ac_unrecognized_sep=', ';;
753 eval enable_$ac_useropt=no ;;
755 -docdir | --docdir | --docdi | --doc | --do)
757 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
760 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
762 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
765 -enable-* | --enable-*)
766 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
767 # Reject names that are not valid shell variable names.
768 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
769 as_fn_error "invalid feature name: $ac_useropt"
770 ac_useropt_orig=$ac_useropt
771 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
772 case $ac_user_opts in
776 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
777 ac_unrecognized_sep=', ';;
779 eval enable_$ac_useropt=\$ac_optarg ;;
781 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
782 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
783 | --exec | --exe | --ex)
784 ac_prev=exec_prefix ;;
785 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
786 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
787 | --exec=* | --exe=* | --ex=*)
788 exec_prefix=$ac_optarg ;;
790 -gas | --gas | --ga | --g)
791 # Obsolete; use --with-gas.
794 -help | --help | --hel | --he | -h)
796 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
797 ac_init_help=recursive ;;
798 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
799 ac_init_help=short ;;
801 -host | --host | --hos | --ho)
802 ac_prev=host_alias ;;
803 -host=* | --host=* | --hos=* | --ho=*)
804 host_alias=$ac_optarg ;;
806 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
808 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
810 htmldir=$ac_optarg ;;
812 -includedir | --includedir | --includedi | --included | --include \
813 | --includ | --inclu | --incl | --inc)
814 ac_prev=includedir ;;
815 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
816 | --includ=* | --inclu=* | --incl=* | --inc=*)
817 includedir=$ac_optarg ;;
819 -infodir | --infodir | --infodi | --infod | --info | --inf)
821 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
822 infodir=$ac_optarg ;;
824 -libdir | --libdir | --libdi | --libd)
826 -libdir=* | --libdir=* | --libdi=* | --libd=*)
829 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
830 | --libexe | --libex | --libe)
831 ac_prev=libexecdir ;;
832 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
833 | --libexe=* | --libex=* | --libe=*)
834 libexecdir=$ac_optarg ;;
836 -localedir | --localedir | --localedi | --localed | --locale)
838 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
839 localedir=$ac_optarg ;;
841 -localstatedir | --localstatedir | --localstatedi | --localstated \
842 | --localstate | --localstat | --localsta | --localst | --locals)
843 ac_prev=localstatedir ;;
844 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
845 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
846 localstatedir=$ac_optarg ;;
848 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
850 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
854 # Obsolete; use --without-fp.
857 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
858 | --no-cr | --no-c | -n)
861 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
862 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
865 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
866 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
867 | --oldin | --oldi | --old | --ol | --o)
868 ac_prev=oldincludedir ;;
869 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
870 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
871 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
872 oldincludedir=$ac_optarg ;;
874 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
876 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
879 -program-prefix | --program-prefix | --program-prefi | --program-pref \
880 | --program-pre | --program-pr | --program-p)
881 ac_prev=program_prefix ;;
882 -program-prefix=* | --program-prefix=* | --program-prefi=* \
883 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
884 program_prefix=$ac_optarg ;;
886 -program-suffix | --program-suffix | --program-suffi | --program-suff \
887 | --program-suf | --program-su | --program-s)
888 ac_prev=program_suffix ;;
889 -program-suffix=* | --program-suffix=* | --program-suffi=* \
890 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
891 program_suffix=$ac_optarg ;;
893 -program-transform-name | --program-transform-name \
894 | --program-transform-nam | --program-transform-na \
895 | --program-transform-n | --program-transform- \
896 | --program-transform | --program-transfor \
897 | --program-transfo | --program-transf \
898 | --program-trans | --program-tran \
899 | --progr-tra | --program-tr | --program-t)
900 ac_prev=program_transform_name ;;
901 -program-transform-name=* | --program-transform-name=* \
902 | --program-transform-nam=* | --program-transform-na=* \
903 | --program-transform-n=* | --program-transform-=* \
904 | --program-transform=* | --program-transfor=* \
905 | --program-transfo=* | --program-transf=* \
906 | --program-trans=* | --program-tran=* \
907 | --progr-tra=* | --program-tr=* | --program-t=*)
908 program_transform_name=$ac_optarg ;;
910 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
912 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
915 -psdir | --psdir | --psdi | --psd | --ps)
917 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
920 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
921 | -silent | --silent | --silen | --sile | --sil)
924 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
926 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
928 sbindir=$ac_optarg ;;
930 -sharedstatedir | --sharedstatedir | --sharedstatedi \
931 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
932 | --sharedst | --shareds | --shared | --share | --shar \
934 ac_prev=sharedstatedir ;;
935 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
936 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
937 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
939 sharedstatedir=$ac_optarg ;;
941 -site | --site | --sit)
943 -site=* | --site=* | --sit=*)
946 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
948 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
951 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
952 | --syscon | --sysco | --sysc | --sys | --sy)
953 ac_prev=sysconfdir ;;
954 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
955 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
956 sysconfdir=$ac_optarg ;;
958 -target | --target | --targe | --targ | --tar | --ta | --t)
959 ac_prev=target_alias ;;
960 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
961 target_alias=$ac_optarg ;;
963 -v | -verbose | --verbose | --verbos | --verbo | --verb)
966 -version | --version | --versio | --versi | --vers | -V)
970 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
971 # Reject names that are not valid shell variable names.
972 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
973 as_fn_error "invalid package name: $ac_useropt"
974 ac_useropt_orig=$ac_useropt
975 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
976 case $ac_user_opts in
980 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
981 ac_unrecognized_sep=', ';;
983 eval with_$ac_useropt=\$ac_optarg ;;
985 -without-* | --without-*)
986 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
987 # Reject names that are not valid shell variable names.
988 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
989 as_fn_error "invalid package name: $ac_useropt"
990 ac_useropt_orig=$ac_useropt
991 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
992 case $ac_user_opts in
996 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
997 ac_unrecognized_sep=', ';;
999 eval with_$ac_useropt=no ;;
1002 # Obsolete; use --with-x.
1005 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1006 | --x-incl | --x-inc | --x-in | --x-i)
1007 ac_prev=x_includes ;;
1008 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1009 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1010 x_includes=$ac_optarg ;;
1012 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1013 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1014 ac_prev=x_libraries ;;
1015 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1016 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1017 x_libraries=$ac_optarg ;;
1019 -*) as_fn_error "unrecognized option: \`$ac_option'
1020 Try \`$0 --help' for more information."
1024 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1025 # Reject names that are not valid shell variable names.
1026 case $ac_envvar in #(
1027 '' | [0-9]* | *[!_$as_cr_alnum]* )
1028 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1030 eval $ac_envvar=\$ac_optarg
1031 export $ac_envvar ;;
1034 # FIXME: should be removed in autoconf 3.0.
1035 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1036 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1037 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1038 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1044 if test -n "$ac_prev"; then
1045 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1046 as_fn_error "missing argument to $ac_option"
1049 if test -n "$ac_unrecognized_opts"; then
1050 case $enable_option_checking in
1052 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1053 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1057 # Check all directory arguments for consistency.
1058 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1059 datadir sysconfdir sharedstatedir localstatedir includedir \
1060 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1061 libdir localedir mandir
1063 eval ac_val=\$$ac_var
1064 # Remove trailing slashes.
1067 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1068 eval $ac_var=\$ac_val;;
1070 # Be sure to have absolute directory names.
1072 [\\/$]* | ?:[\\/]* ) continue;;
1073 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1075 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1078 # There might be people who depend on the old broken behavior: `$host'
1079 # used to hold the argument of --host etc.
1080 # FIXME: To remove some day.
1083 target=$target_alias
1085 # FIXME: To remove some day.
1086 if test "x$host_alias" != x; then
1087 if test "x$build_alias" = x; then
1088 cross_compiling=maybe
1089 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1090 If a cross compiler is detected then cross compile mode will be used." >&2
1091 elif test "x$build_alias" != "x$host_alias"; then
1097 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1099 test "$silent" = yes && exec 6>/dev/null
1102 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1103 ac_ls_di=`ls -di .` &&
1104 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1105 as_fn_error "working directory cannot be determined"
1106 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1107 as_fn_error "pwd does not report name of working directory"
1110 # Find the source files, if location was not specified.
1111 if test -z "$srcdir"; then
1112 ac_srcdir_defaulted=yes
1113 # Try the directory containing this script, then the parent directory.
1114 ac_confdir=`$as_dirname -- "$as_myself" ||
1115 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1116 X"$as_myself" : 'X\(//\)[^/]' \| \
1117 X"$as_myself" : 'X\(//\)$' \| \
1118 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1119 $as_echo X"$as_myself" |
1120 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1138 if test ! -r "$srcdir/$ac_unique_file"; then
1142 ac_srcdir_defaulted=no
1144 if test ! -r "$srcdir/$ac_unique_file"; then
1145 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1146 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1148 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1150 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1152 # When building in place, set srcdir=.
1153 if test "$ac_abs_confdir" = "$ac_pwd"; then
1156 # Remove unnecessary trailing slashes from srcdir.
1157 # Double slashes in file names in object file debugging info
1158 # mess up M-x gdb in Emacs.
1160 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1162 for ac_var in $ac_precious_vars; do
1163 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1164 eval ac_env_${ac_var}_value=\$${ac_var}
1165 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1166 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1170 # Report the --help message.
1172 if test "$ac_init_help" = "long"; then
1173 # Omit some internal or obsolete options to make the list less imposing.
1174 # This message is too long to be a string in the A/UX 3.1 sh.
1176 \`configure' configures this package to adapt to many kinds of systems.
1178 Usage: $0 [OPTION]... [VAR=VALUE]...
1180 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1181 VAR=VALUE. See below for descriptions of some of the useful variables.
1183 Defaults for the options are specified in brackets.
1186 -h, --help display this help and exit
1187 --help=short display options specific to this package
1188 --help=recursive display the short help of all the included packages
1189 -V, --version display version information and exit
1190 -q, --quiet, --silent do not print \`checking...' messages
1191 --cache-file=FILE cache test results in FILE [disabled]
1192 -C, --config-cache alias for \`--cache-file=config.cache'
1193 -n, --no-create do not create output files
1194 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1196 Installation directories:
1197 --prefix=PREFIX install architecture-independent files in PREFIX
1198 [$ac_default_prefix]
1199 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1202 By default, \`make install' will install all the files in
1203 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1204 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1205 for instance \`--prefix=\$HOME'.
1207 For better control, use the options below.
1209 Fine tuning of the installation directories:
1210 --bindir=DIR user executables [EPREFIX/bin]
1211 --sbindir=DIR system admin executables [EPREFIX/sbin]
1212 --libexecdir=DIR program executables [EPREFIX/libexec]
1213 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1214 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1215 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1216 --libdir=DIR object code libraries [EPREFIX/lib]
1217 --includedir=DIR C header files [PREFIX/include]
1218 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1219 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1220 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1221 --infodir=DIR info documentation [DATAROOTDIR/info]
1222 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1223 --mandir=DIR man documentation [DATAROOTDIR/man]
1224 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1225 --htmldir=DIR html documentation [DOCDIR]
1226 --dvidir=DIR dvi documentation [DOCDIR]
1227 --pdfdir=DIR pdf documentation [DOCDIR]
1228 --psdir=DIR ps documentation [DOCDIR]
1235 if test -n "$ac_init_help"; then
1240 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1241 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1242 --with-xemacs[=PROG] use XEmacs to build (default: PROG=xemacs)
1243 --with-emacs[=PROG] use Emacs to build (default: PROG=emacs)
1244 --with-lispdir=DIR Where to install lisp files
1245 --with-etcdir=DIR Where to install etc files
1246 --with-url=DIR Specify where to find the url package
1247 --with-w3=DIR Specify where to find the w3 package
1248 --with-fonts Assume all fonts required are available
1250 Report bugs to the package provider.
1255 if test "$ac_init_help" = "recursive"; then
1256 # If there are subdirs, report their specific --help.
1257 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1258 test -d "$ac_dir" ||
1259 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1264 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1266 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1267 # A ".." for each directory in $ac_dir_suffix.
1268 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1269 case $ac_top_builddir_sub in
1270 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1271 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1274 ac_abs_top_builddir=$ac_pwd
1275 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1276 # for backward compatibility:
1277 ac_top_builddir=$ac_top_build_prefix
1280 .) # We are building in place.
1282 ac_top_srcdir=$ac_top_builddir_sub
1283 ac_abs_top_srcdir=$ac_pwd ;;
1284 [\\/]* | ?:[\\/]* ) # Absolute name.
1285 ac_srcdir=$srcdir$ac_dir_suffix;
1286 ac_top_srcdir=$srcdir
1287 ac_abs_top_srcdir=$srcdir ;;
1289 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1290 ac_top_srcdir=$ac_top_build_prefix$srcdir
1291 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1293 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1295 cd "$ac_dir" || { ac_status=$?; continue; }
1296 # Check for guested configure.
1297 if test -f "$ac_srcdir/configure.gnu"; then
1299 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1300 elif test -f "$ac_srcdir/configure"; then
1302 $SHELL "$ac_srcdir/configure" --help=recursive
1304 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1306 cd "$ac_pwd" || { ac_status=$?; break; }
1310 test -n "$ac_init_help" && exit $ac_status
1311 if $ac_init_version; then
1314 generated by GNU Autoconf 2.65
1316 Copyright (C) 2009 Free Software Foundation, Inc.
1317 This configure script is free software; the Free Software Foundation
1318 gives unlimited permission to copy, distribute and modify it.
1323 ## ------------------------ ##
1324 ## Autoconf initialization. ##
1325 ## ------------------------ ##
1326 cat >config.log <<_ACEOF
1327 This file contains any messages produced by compilers while
1328 running configure, to aid debugging if configure makes a mistake.
1330 It was created by $as_me, which was
1331 generated by GNU Autoconf 2.65. Invocation command line was
1343 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1344 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1345 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1346 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1347 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1349 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1350 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1352 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1353 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1354 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1355 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1356 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1357 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1358 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1366 test -z "$as_dir" && as_dir=.
1367 $as_echo "PATH: $as_dir"
1383 # Keep a trace of the command line.
1384 # Strip out --no-create and --no-recursion so they do not pile up.
1385 # Strip out --silent because we don't want to record it for future runs.
1386 # Also quote any args containing shell meta-characters.
1387 # Make two passes to allow for proper duplicate-argument suppression.
1391 ac_must_keep_next=false
1397 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1398 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1399 | -silent | --silent | --silen | --sile | --sil)
1402 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1405 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1407 as_fn_append ac_configure_args1 " '$ac_arg'"
1408 if test $ac_must_keep_next = true; then
1409 ac_must_keep_next=false # Got value, back to normal.
1412 *=* | --config-cache | -C | -disable-* | --disable-* \
1413 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1414 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1415 | -with-* | --with-* | -without-* | --without-* | --x)
1416 case "$ac_configure_args0 " in
1417 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1420 -* ) ac_must_keep_next=true ;;
1423 as_fn_append ac_configure_args " '$ac_arg'"
1428 { ac_configure_args0=; unset ac_configure_args0;}
1429 { ac_configure_args1=; unset ac_configure_args1;}
1431 # When interrupted or exit'd, cleanup temporary files, and complete
1432 # config.log. We remove comments because anyway the quotes in there
1433 # would cause problems or look ugly.
1434 # WARNING: Use '\'' to represent an apostrophe within the trap.
1435 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1436 trap 'exit_status=$?
1437 # Save into config.log some information that might help in debugging.
1442 ## ---------------- ##
1443 ## Cache variables. ##
1444 ## ---------------- ##
1447 # The following way of writing the cache mishandles newlines in values,
1449 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1450 eval ac_val=\$$ac_var
1454 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1455 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1458 _ | IFS | as_nl) ;; #(
1459 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1460 *) { eval $ac_var=; unset $ac_var;} ;;
1465 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1466 *${as_nl}ac_space=\ *)
1468 "s/'\''/'\''\\\\'\'''\''/g;
1469 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1472 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1480 ## ----------------- ##
1481 ## Output variables. ##
1482 ## ----------------- ##
1485 for ac_var in $ac_subst_vars
1487 eval ac_val=\$$ac_var
1489 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1491 $as_echo "$ac_var='\''$ac_val'\''"
1495 if test -n "$ac_subst_files"; then
1497 ## ------------------- ##
1498 ## File substitutions. ##
1499 ## ------------------- ##
1502 for ac_var in $ac_subst_files
1504 eval ac_val=\$$ac_var
1506 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1508 $as_echo "$ac_var='\''$ac_val'\''"
1513 if test -s confdefs.h; then
1523 test "$ac_signal" != 0 &&
1524 $as_echo "$as_me: caught signal $ac_signal"
1525 $as_echo "$as_me: exit $exit_status"
1527 rm -f core *.core core.conftest.* &&
1528 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1531 for ac_signal in 1 2 13 15; do
1532 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1536 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1537 rm -f -r conftest* confdefs.h
1539 $as_echo "/* confdefs.h */" > confdefs.h
1541 # Predefined preprocessor variables.
1543 cat >>confdefs.h <<_ACEOF
1544 #define PACKAGE_NAME "$PACKAGE_NAME"
1547 cat >>confdefs.h <<_ACEOF
1548 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1551 cat >>confdefs.h <<_ACEOF
1552 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1555 cat >>confdefs.h <<_ACEOF
1556 #define PACKAGE_STRING "$PACKAGE_STRING"
1559 cat >>confdefs.h <<_ACEOF
1560 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1563 cat >>confdefs.h <<_ACEOF
1564 #define PACKAGE_URL "$PACKAGE_URL"
1568 # Let the site file select an alternate cache file if it wants to.
1569 # Prefer an explicitly selected file to automatically selected ones.
1572 if test -n "$CONFIG_SITE"; then
1573 ac_site_file1=$CONFIG_SITE
1574 elif test "x$prefix" != xNONE; then
1575 ac_site_file1=$prefix/share/config.site
1576 ac_site_file2=$prefix/etc/config.site
1578 ac_site_file1=$ac_default_prefix/share/config.site
1579 ac_site_file2=$ac_default_prefix/etc/config.site
1581 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1583 test "x$ac_site_file" = xNONE && continue
1584 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1585 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1586 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1587 sed 's/^/| /' "$ac_site_file" >&5
1592 if test -r "$cache_file"; then
1593 # Some versions of bash will fail to source /dev/null (special files
1594 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1595 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1596 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1597 $as_echo "$as_me: loading cache $cache_file" >&6;}
1599 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1600 *) . "./$cache_file";;
1604 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1605 $as_echo "$as_me: creating cache $cache_file" >&6;}
1609 # Check that the precious variables saved in the cache have kept the same
1611 ac_cache_corrupted=false
1612 for ac_var in $ac_precious_vars; do
1613 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1614 eval ac_new_set=\$ac_env_${ac_var}_set
1615 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1616 eval ac_new_val=\$ac_env_${ac_var}_value
1617 case $ac_old_set,$ac_new_set in
1619 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1620 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1621 ac_cache_corrupted=: ;;
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1624 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1625 ac_cache_corrupted=: ;;
1628 if test "x$ac_old_val" != "x$ac_new_val"; then
1629 # differences in whitespace do not lead to failure.
1630 ac_old_val_w=`echo x $ac_old_val`
1631 ac_new_val_w=`echo x $ac_new_val`
1632 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1634 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1635 ac_cache_corrupted=:
1637 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1638 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1639 eval $ac_var=\$ac_old_val
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1642 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1644 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1647 # Pass precious variables to config.status.
1648 if test "$ac_new_set" = set; then
1650 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1651 *) ac_arg=$ac_var=$ac_new_val ;;
1653 case " $ac_configure_args " in
1654 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1655 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1659 if $ac_cache_corrupted; then
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1661 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1663 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1664 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1666 ## -------------------- ##
1667 ## Main body of script. ##
1668 ## -------------------- ##
1671 ac_cpp='$CPP $CPPFLAGS'
1672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1678 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
1680 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1681 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
1682 $as_echo_n "(cached) " >&6
1684 cat >conftest.make <<\_ACEOF
1687 @echo '@@@%%%=$(MAKE)=@@@%%%'
1689 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1690 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1692 eval ac_cv_prog_make_${ac_make}_set=yes;;
1694 eval ac_cv_prog_make_${ac_make}_set=no;;
1698 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1700 $as_echo "yes" >&6; }
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1704 $as_echo "no" >&6; }
1705 SET_MAKE="MAKE=${MAKE-make}"
1709 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1710 for ac_t in install-sh install.sh shtool; do
1711 if test -f "$ac_dir/$ac_t"; then
1713 ac_install_sh="$ac_aux_dir/$ac_t -c"
1718 if test -z "$ac_aux_dir"; then
1719 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1722 # These three variables are undocumented and unsupported,
1723 # and are intended to be withdrawn in a future Autoconf release.
1724 # They can cause serious problems if a builder's source tree is in a directory
1725 # whose full name contains unusual characters.
1726 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1727 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1728 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1731 # Find a good install program. We prefer a C program (faster),
1732 # so one script is as good as another. But avoid the broken or
1733 # incompatible versions:
1734 # SysV /etc/install, /usr/sbin/install
1735 # SunOS /usr/etc/install
1736 # IRIX /sbin/install
1738 # AmigaOS /C/install, which installs bootblocks on floppy discs