2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61-MirPorts-2 for joe 3.1jupp31.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C; export $as_var
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev/null; then
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir=.
228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
236 for as_shell in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
258 CONFIG_SHELL=$as_shell
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
286 as_func_ret_success () {
289 as_func_ret_failure () {
294 if as_func_success; then
298 echo as_func_success failed.
301 if as_func_failure; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure; then
315 echo as_func_ret_failure succeeded.
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) || { (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x; then
343 for as_var in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no; then
352 echo This script requires a shell more modern than all the
353 echo shells that I found on your system. Please install a
354 echo modern shell, or manually run the script under such a
355 echo shell if you do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x "$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
472 ECHO_C= ECHO_N= ECHO_T=
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
506 elif ln conf$$.file conf$$ 2>/dev/null; then
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
514 if mkdir -p . 2>/dev/null; then
517 test -d ./-p && rmdir ./-p
521 if test -x / >/dev/null 2>&1; then
524 if ls -dL / >/dev/null 2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev/null 6>&1
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix=/usr/local
564 ac_config_libobj_dir=.
570 SHELL=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
574 PACKAGE_TARNAME='joe'
575 PACKAGE_VERSION='3.1jupp31'
576 PACKAGE_STRING='joe 3.1jupp31'
580 # Factoring default headers for most tests.
581 ac_includes_default="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
625 program_transform_name
678 INSTALL_STRIP_PROGRAM
687 MAINTAINER_MODE_FALSE
713 JUPP_WIN32RELOC_FALSE
723 ac_precious_vars='build_alias
734 # Initialize some variables set by options.
736 ac_init_version=false
737 # The variables have the same names as the options, with
738 # dashes changed to underlines.
746 program_transform_name=s,x,x,
754 # Installation directory options.
755 # These are left unexpanded so users can "make install exec_prefix=/foo"
756 # and all the variables that are supposed to be based on exec_prefix
757 # by default will actually change.
758 # Use braces instead of parens because sh, perl, etc. also accept them.
759 # (The list follows the same order as the GNU Coding Standards.)
760 bindir='${exec_prefix}/bin'
761 sbindir='${exec_prefix}/sbin'
762 libexecdir='${exec_prefix}/libexec'
763 datarootdir='${prefix}/share'
764 datadir='${datarootdir}'
765 sysconfdir='${prefix}/etc'
766 sharedstatedir='${prefix}/com'
767 localstatedir='${prefix}/var'
768 includedir='${prefix}/include'
769 oldincludedir='/usr/include'
770 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
771 infodir='${datarootdir}/info'
776 libdir='${exec_prefix}/lib'
777 localedir='${datarootdir}/locale'
778 mandir='${datarootdir}/man'
784 # If the previous option needs an argument, assign it.
785 if test -n "$ac_prev"; then
786 eval $ac_prev=\$ac_option
792 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
796 # Accept the important Cygnus configure options, so we can diagnose typos.
798 case $ac_dashdash$ac_option in
802 -bindir | --bindir | --bindi | --bind | --bin | --bi)
804 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
807 -build | --build | --buil | --bui | --bu)
808 ac_prev=build_alias ;;
809 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
810 build_alias=$ac_optarg ;;
812 -cache-file | --cache-file | --cache-fil | --cache-fi \
813 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
814 ac_prev=cache_file ;;
815 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
816 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
817 cache_file=$ac_optarg ;;
820 cache_file=config.cache ;;
822 -datadir | --datadir | --datadi | --datad)
824 -datadir=* | --datadir=* | --datadi=* | --datad=*)
825 datadir=$ac_optarg ;;
827 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
828 | --dataroo | --dataro | --datar)
829 ac_prev=datarootdir ;;
830 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
831 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
832 datarootdir=$ac_optarg ;;
834 -disable-* | --disable-*)
835 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
836 # Reject names that are not valid shell variable names.
837 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
838 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
839 { (exit 1); exit 1; }; }
840 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
841 eval enable_$ac_feature=no ;;
843 -docdir | --docdir | --docdi | --doc | --do)
845 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
848 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
850 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
853 -enable-* | --enable-*)
854 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
855 # Reject names that are not valid shell variable names.
856 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
857 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
858 { (exit 1); exit 1; }; }
859 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
860 eval enable_$ac_feature=\$ac_optarg ;;
862 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
863 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
864 | --exec | --exe | --ex)
865 ac_prev=exec_prefix ;;
866 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
867 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
868 | --exec=* | --exe=* | --ex=*)
869 exec_prefix=$ac_optarg ;;
871 -gas | --gas | --ga | --g)
872 # Obsolete; use --with-gas.
875 -help | --help | --hel | --he | -h)
877 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
878 ac_init_help=recursive ;;
879 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
880 ac_init_help=short ;;
882 -host | --host | --hos | --ho)
883 ac_prev=host_alias ;;
884 -host=* | --host=* | --hos=* | --ho=*)
885 host_alias=$ac_optarg ;;
887 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
889 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
891 htmldir=$ac_optarg ;;
893 -includedir | --includedir | --includedi | --included | --include \
894 | --includ | --inclu | --incl | --inc)
895 ac_prev=includedir ;;
896 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
897 | --includ=* | --inclu=* | --incl=* | --inc=*)
898 includedir=$ac_optarg ;;
900 -infodir | --infodir | --infodi | --infod | --info | --inf)
902 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
903 infodir=$ac_optarg ;;
905 -libdir | --libdir | --libdi | --libd)
907 -libdir=* | --libdir=* | --libdi=* | --libd=*)
910 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
911 | --libexe | --libex | --libe)
912 ac_prev=libexecdir ;;
913 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
914 | --libexe=* | --libex=* | --libe=*)
915 libexecdir=$ac_optarg ;;
917 -localedir | --localedir | --localedi | --localed | --locale)
919 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
920 localedir=$ac_optarg ;;
922 -localstatedir | --localstatedir | --localstatedi | --localstated \
923 | --localstate | --localstat | --localsta | --localst | --locals)
924 ac_prev=localstatedir ;;
925 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
926 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
927 localstatedir=$ac_optarg ;;
929 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
931 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
935 # Obsolete; use --without-fp.
938 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
939 | --no-cr | --no-c | -n)
942 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
943 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
946 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
947 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
948 | --oldin | --oldi | --old | --ol | --o)
949 ac_prev=oldincludedir ;;
950 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
951 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
952 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
953 oldincludedir=$ac_optarg ;;
955 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
957 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
960 -program-prefix | --program-prefix | --program-prefi | --program-pref \
961 | --program-pre | --program-pr | --program-p)
962 ac_prev=program_prefix ;;
963 -program-prefix=* | --program-prefix=* | --program-prefi=* \
964 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
965 program_prefix=$ac_optarg ;;
967 -program-suffix | --program-suffix | --program-suffi | --program-suff \
968 | --program-suf | --program-su | --program-s)
969 ac_prev=program_suffix ;;
970 -program-suffix=* | --program-suffix=* | --program-suffi=* \
971 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
972 program_suffix=$ac_optarg ;;
974 -program-transform-name | --program-transform-name \
975 | --program-transform-nam | --program-transform-na \
976 | --program-transform-n | --program-transform- \
977 | --program-transform | --program-transfor \
978 | --program-transfo | --program-transf \
979 | --program-trans | --program-tran \
980 | --progr-tra | --program-tr | --program-t)
981 ac_prev=program_transform_name ;;
982 -program-transform-name=* | --program-transform-name=* \
983 | --program-transform-nam=* | --program-transform-na=* \
984 | --program-transform-n=* | --program-transform-=* \
985 | --program-transform=* | --program-transfor=* \
986 | --program-transfo=* | --program-transf=* \
987 | --program-trans=* | --program-tran=* \
988 | --progr-tra=* | --program-tr=* | --program-t=*)
989 program_transform_name=$ac_optarg ;;
991 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
993 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
996 -psdir | --psdir | --psdi | --psd | --ps)
998 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1001 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1002 | -silent | --silent | --silen | --sile | --sil)
1005 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1007 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1009 sbindir=$ac_optarg ;;
1011 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1012 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1013 | --sharedst | --shareds | --shared | --share | --shar \
1015 ac_prev=sharedstatedir ;;
1016 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1017 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1018 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1020 sharedstatedir=$ac_optarg ;;
1022 -site | --site | --sit)
1024 -site=* | --site=* | --sit=*)
1027 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1029 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1030 srcdir=$ac_optarg ;;
1032 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1033 | --syscon | --sysco | --sysc | --sys | --sy)
1034 ac_prev=sysconfdir ;;
1035 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1036 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1037 sysconfdir=$ac_optarg ;;
1039 -target | --target | --targe | --targ | --tar | --ta | --t)
1040 ac_prev=target_alias ;;
1041 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1042 target_alias=$ac_optarg ;;
1044 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1047 -version | --version | --versio | --versi | --vers | -V)
1048 ac_init_version=: ;;
1051 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1052 # Reject names that are not valid shell variable names.
1053 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1054 { echo "$as_me: error: invalid package name: $ac_package" >&2
1055 { (exit 1); exit 1; }; }
1056 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1057 eval with_$ac_package=\$ac_optarg ;;
1059 -without-* | --without-*)
1060 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1061 # Reject names that are not valid shell variable names.
1062 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1063 { echo "$as_me: error: invalid package name: $ac_package" >&2
1064 { (exit 1); exit 1; }; }
1065 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1066 eval with_$ac_package=no ;;
1069 # Obsolete; use --with-x.
1072 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1073 | --x-incl | --x-inc | --x-in | --x-i)
1074 ac_prev=x_includes ;;
1075 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1076 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1077 x_includes=$ac_optarg ;;
1079 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1080 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1081 ac_prev=x_libraries ;;
1082 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1083 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1084 x_libraries=$ac_optarg ;;
1086 -*) { echo "$as_me: error: unrecognized option: $ac_option
1087 Try \`$0 --help' for more information." >&2
1088 { (exit 1); exit 1; }; }
1092 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1093 # Reject names that are not valid shell variable names.
1094 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1095 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1096 { (exit 1); exit 1; }; }
1097 eval $ac_envvar=\$ac_optarg
1098 export $ac_envvar ;;
1101 # FIXME: should be removed in autoconf 3.0.
1102 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1103 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1104 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1105 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1111 if test -n "$ac_prev"; then
1112 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1113 { echo "$as_me: error: missing argument to $ac_option" >&2
1114 { (exit 1); exit 1; }; }
1117 # Be sure to have absolute directory names.
1118 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1119 datadir sysconfdir sharedstatedir localstatedir includedir \
1120 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1121 libdir localedir mandir
1123 eval ac_val=\$$ac_var
1125 [\\/$]* | ?:[\\/]* ) continue;;
1126 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1128 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1129 { (exit 1); exit 1; }; }
1132 # There might be people who depend on the old broken behavior: `$host'
1133 # used to hold the argument of --host etc.
1134 # FIXME: To remove some day.
1137 target=$target_alias
1139 # FIXME: To remove some day.
1140 if test "x$host_alias" != x; then
1141 if test "x$build_alias" = x; then
1142 cross_compiling=maybe
1143 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1144 If a cross compiler is detected then cross compile mode will be used." >&2
1145 elif test "x$build_alias" != "x$host_alias"; then
1151 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1153 test "$silent" = yes && exec 6>/dev/null
1156 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1157 ac_ls_di=`ls -di .` &&
1158 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1159 { echo "$as_me: error: Working directory cannot be determined" >&2
1160 { (exit 1); exit 1; }; }
1161 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1162 { echo "$as_me: error: pwd does not report name of working directory" >&2
1163 { (exit 1); exit 1; }; }
1166 # Find the source files, if location was not specified.
1167 if test -z "$srcdir"; then
1168 ac_srcdir_defaulted=yes
1169 # Try the directory containing this script, then the parent directory.
1170 ac_confdir=`$as_dirname -- "$0" ||
1171 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1172 X"$0" : 'X\(//\)[^/]' \| \
1173 X"$0" : 'X\(//\)$' \| \
1174 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1176 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1194 if test ! -r "$srcdir/$ac_unique_file"; then
1198 ac_srcdir_defaulted=no
1200 if test ! -r "$srcdir/$ac_unique_file"; then
1201 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1202 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1203 { (exit 1); exit 1; }; }
1205 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1207 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1208 { (exit 1); exit 1; }; }
1210 # When building in place, set srcdir=.
1211 if test "$ac_abs_confdir" = "$ac_pwd"; then
1214 # Remove unnecessary trailing slashes from srcdir.
1215 # Double slashes in file names in object file debugging info
1216 # mess up M-x gdb in Emacs.
1218 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1220 for ac_var in $ac_precious_vars; do
1221 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1222 eval ac_env_${ac_var}_value=\$${ac_var}
1223 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1224 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1228 # Report the --help message.
1230 if test "$ac_init_help" = "long"; then
1231 # Omit some internal or obsolete options to make the list less imposing.
1232 # This message is too long to be a string in the A/UX 3.1 sh.
1234 \`configure' configures joe 3.1jupp31 to adapt to many kinds of systems.
1236 Usage: $0 [OPTION]... [VAR=VALUE]...
1238 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1239 VAR=VALUE. See below for descriptions of some of the useful variables.
1241 Defaults for the options are specified in brackets.
1244 -h, --help display this help and exit
1245 --help=short display options specific to this package
1246 --help=recursive display the short help of all the included packages
1247 -V, --version display version information and exit
1248 -q, --quiet, --silent do not print \`checking...' messages
1249 --cache-file=FILE cache test results in FILE [disabled]
1250 -C, --config-cache alias for \`--cache-file=config.cache'
1251 -n, --no-create do not create output files
1252 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1254 Installation directories:
1255 --prefix=PREFIX install architecture-independent files in PREFIX
1256 [$ac_default_prefix]
1257 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1260 By default, \`make install' will install all the files in
1261 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1262 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1263 for instance \`--prefix=\$HOME'.
1265 For better control, use the options below.
1267 Fine tuning of the installation directories:
1268 --bindir=DIR user executables [EPREFIX/bin]
1269 --sbindir=DIR system admin executables [EPREFIX/sbin]
1270 --libexecdir=DIR program executables [EPREFIX/libexec]
1271 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1272 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1273 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1274 --libdir=DIR object code libraries [EPREFIX/lib]
1275 --includedir=DIR C header files [PREFIX/include]
1276 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1277 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1278 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1279 --infodir=DIR info documentation [DATAROOTDIR/info]
1280 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1281 --mandir=DIR man documentation [DATAROOTDIR/man]
1282 --docdir=DIR documentation root [DATAROOTDIR/doc/joe]
1283 --htmldir=DIR html documentation [DOCDIR]
1284 --dvidir=DIR dvi documentation [DOCDIR]
1285 --pdfdir=DIR pdf documentation [DOCDIR]
1286 --psdir=DIR ps documentation [DOCDIR]
1292 --program-prefix=PREFIX prepend PREFIX to installed program names
1293 --program-suffix=SUFFIX append SUFFIX to installed program names
1294 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1297 --build=BUILD configure for building on BUILD [guessed]
1298 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1299 --target=TARGET configure for building compilers for TARGET [HOST]
1303 if test -n "$ac_init_help"; then
1304 case $ac_init_help in
1305 short | recursive ) echo "Configuration of joe 3.1jupp31:";;
1310 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1311 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1312 --enable-maintainer-mode enable make rules and dependencies not useful
1313 (and sometimes confusing) to the casual installer
1314 --disable-dependency-tracking speeds up one-time build
1315 --enable-dependency-tracking do not reject slow dependency extractors
1316 --disable-curses disable use of curses library
1317 --disable-termcap disable use of termcap library
1318 --disable-search-libs do not search in any external libraries
1319 --disable-getpwnam disable use of getpwnam function
1320 --disable-termidx do not build the termidx binary
1321 --enable-sysconfjoesubdir=/joe (default value)
1322 --enable-win32reloc enable win32 self-relocation
1323 --disable-largefile omit support for large files
1324 --disable-fork disable use of fork
1325 --disable-fpu disable use of floating point arithmetics
1327 Some influential environment variables:
1328 CC C compiler command
1329 CFLAGS C compiler flags
1330 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1331 nonstandard directory <lib dir>
1332 LIBS libraries to pass to the linker, e.g. -l<library>
1333 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1334 you have headers in a nonstandard directory <include dir>
1337 Use these variables to override the choices made by `configure' or to help
1338 it to find libraries and programs with nonstandard names/locations.
1344 if test "$ac_init_help" = "recursive"; then
1345 # If there are subdirs, report their specific --help.
1346 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1347 test -d "$ac_dir" || continue
1351 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1353 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1354 # A ".." for each directory in $ac_dir_suffix.
1355 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1356 case $ac_top_builddir_sub in
1357 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1358 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1361 ac_abs_top_builddir=$ac_pwd
1362 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1363 # for backward compatibility:
1364 ac_top_builddir=$ac_top_build_prefix
1367 .) # We are building in place.
1369 ac_top_srcdir=$ac_top_builddir_sub
1370 ac_abs_top_srcdir=$ac_pwd ;;
1371 [\\/]* | ?:[\\/]* ) # Absolute name.
1372 ac_srcdir=$srcdir$ac_dir_suffix;
1373 ac_top_srcdir=$srcdir
1374 ac_abs_top_srcdir=$srcdir ;;
1376 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1377 ac_top_srcdir=$ac_top_build_prefix$srcdir
1378 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1380 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1382 cd "$ac_dir" || { ac_status=$?; continue; }
1383 # Check for guested configure.
1384 if test -f "$ac_srcdir/configure.gnu"; then
1386 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1387 elif test -f "$ac_srcdir/configure"; then
1389 $SHELL "$ac_srcdir/configure" --help=recursive
1391 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1393 cd "$ac_pwd" || { ac_status=$?; break; }
1397 test -n "$ac_init_help" && exit $ac_status
1398 if $ac_init_version; then
1400 joe configure 3.1jupp31
1401 generated by GNU Autoconf 2.61-MirPorts-2
1403 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1404 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1405 This configure script is free software; the Free Software Foundation
1406 gives unlimited permission to copy, distribute and modify it.
1410 cat >config.log <<_ACEOF
1411 This file contains any messages produced by compilers while
1412 running configure, to aid debugging if configure makes a mistake.
1414 It was created by joe $as_me 3.1jupp31, which was
1415 generated by GNU Autoconf 2.61-MirPorts-2. Invocation command line was
1427 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1428 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1429 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1430 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1431 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1433 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1434 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1436 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1437 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1438 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1439 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1440 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1441 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1442 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1450 test -z "$as_dir" && as_dir=.
1451 echo "PATH: $as_dir"
1467 # Keep a trace of the command line.
1468 # Strip out --no-create and --no-recursion so they do not pile up.
1469 # Strip out --silent because we don't want to record it for future runs.
1470 # Also quote any args containing shell meta-characters.
1471 # Make two passes to allow for proper duplicate-argument suppression.
1475 ac_must_keep_next=false
1481 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1482 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1483 | -silent | --silent | --silen | --sile | --sil)
1486 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1489 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1491 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1492 if test $ac_must_keep_next = true; then
1493 ac_must_keep_next=false # Got value, back to normal.
1496 *=* | --config-cache | -C | -disable-* | --disable-* \
1497 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1498 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1499 | -with-* | --with-* | -without-* | --without-* | --x)
1500 case "$ac_configure_args0 " in
1501 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1504 -* ) ac_must_keep_next=true ;;
1507 ac_configure_args="$ac_configure_args '$ac_arg'"
1512 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1513 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1515 # When interrupted or exit'd, cleanup temporary files, and complete
1516 # config.log. We remove comments because anyway the quotes in there
1517 # would cause problems or look ugly.
1518 # WARNING: Use '\'' to represent an apostrophe within the trap.
1519 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1520 trap 'exit_status=$?
1521 # Save into config.log some information that might help in debugging.
1526 ## ---------------- ##
1527 ## Cache variables. ##
1528 ## ---------------- ##
1531 # The following way of writing the cache mishandles newlines in values,
1533 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1534 eval ac_val=\$$ac_var
1538 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1539 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1542 _ | IFS | as_nl) ;; #(
1543 *) $as_unset $ac_var ;;
1548 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1549 *${as_nl}ac_space=\ *)
1551 "s/'\''/'\''\\\\'\'''\''/g;
1552 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1555 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1563 ## ----------------- ##
1564 ## Output variables. ##
1565 ## ----------------- ##
1568 for ac_var in $ac_subst_vars
1570 eval ac_val=\$$ac_var
1572 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1574 echo "$ac_var='\''$ac_val'\''"
1578 if test -n "$ac_subst_files"; then
1580 ## ------------------- ##
1581 ## File substitutions. ##
1582 ## ------------------- ##
1585 for ac_var in $ac_subst_files
1587 eval ac_val=\$$ac_var
1589 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1591 echo "$ac_var='\''$ac_val'\''"
1596 if test -s confdefs.h; then
1606 test "$ac_signal" != 0 &&
1607 echo "$as_me: caught signal $ac_signal"
1608 echo "$as_me: exit $exit_status"
1610 rm -f core *.core core.conftest.* &&
1611 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1614 for ac_signal in 1 2 13 15; do
1615 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1619 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1620 rm -f -r conftest* confdefs.h
1622 # Predefined preprocessor variables.
1624 cat >>confdefs.h <<_ACEOF
1625 #define PACKAGE_NAME "$PACKAGE_NAME"
1629 cat >>confdefs.h <<_ACEOF
1630 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1634 cat >>confdefs.h <<_ACEOF
1635 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1639 cat >>confdefs.h <<_ACEOF
1640 #define PACKAGE_STRING "$PACKAGE_STRING"
1644 cat >>confdefs.h <<_ACEOF
1645 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1649 # Let the site file select an alternate cache file if it wants to.
1650 # Prefer explicitly selected file to automatically selected ones.
1651 if test -n "$CONFIG_SITE"; then
1652 set x "$CONFIG_SITE"
1653 elif test "x$prefix" != xNONE; then
1654 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1656 set x "$ac_default_prefix/share/config.site" \
1657 "$ac_default_prefix/etc/config.site"
1662 if test -r "$ac_site_file"; then
1663 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1664 echo "$as_me: loading site script $ac_site_file" >&6;}
1665 sed 's/^/| /' "$ac_site_file" >&5
1670 if test -r "$cache_file"; then
1671 # Some versions of bash will fail to source /dev/null (special
1672 # files actually), so we avoid doing that.
1673 if test -f "$cache_file"; then
1674 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1675 echo "$as_me: loading cache $cache_file" >&6;}
1677 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1678 *) . "./$cache_file";;
1682 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1683 echo "$as_me: creating cache $cache_file" >&6;}
1687 # Check that the precious variables saved in the cache have kept the same
1689 ac_cache_corrupted=false
1690 for ac_var in $ac_precious_vars; do
1691 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1692 eval ac_new_set=\$ac_env_${ac_var}_set
1693 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1694 eval ac_new_val=\$ac_env_${ac_var}_value
1695 case $ac_old_set,$ac_new_set in
1697 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1698 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1699 ac_cache_corrupted=: ;;
1701 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1702 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1703 ac_cache_corrupted=: ;;
1706 if test "x$ac_old_val" != "x$ac_new_val"; then
1707 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1708 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1709 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1710 echo "$as_me: former value: $ac_old_val" >&2;}
1711 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1712 echo "$as_me: current value: $ac_new_val" >&2;}
1713 ac_cache_corrupted=:
1716 # Pass precious variables to config.status.
1717 if test "$ac_new_set" = set; then
1719 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1720 *) ac_arg=$ac_var=$ac_new_val ;;
1722 case " $ac_configure_args " in
1723 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1724 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1728 if $ac_cache_corrupted; then
1729 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1730 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1731 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1732 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1733 { (exit 1); exit 1; }; }
1761 ac_cpp='$CPP $CPPFLAGS'
1762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1767 #### But see main.c for the Copyright (c) owner and year! ####
1771 for ac_dir in $GNUSYSTEM_AUX_DIR "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1772 if test -f "$ac_dir/install-sh"; then
1774 ac_install_sh="$ac_aux_dir/install-sh -c"
1776 elif test -f "$ac_dir/install.sh"; then
1778 ac_install_sh="$ac_aux_dir/install.sh -c"
1780 elif test -f "$ac_dir/shtool"; then
1782 ac_install_sh="$ac_aux_dir/shtool install -c"
1786 if test -z "$ac_aux_dir"; then
1787 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1788 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1789 { (exit 1); exit 1; }; }
1792 # These three variables are undocumented and unsupported,
1793 # and are intended to be withdrawn in a future Autoconf release.
1794 # They can cause serious problems if a builder's source tree is in a directory
1795 # whose full name contains unusual characters.
1796 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1797 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1798 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1801 # Make sure we can run config.sub.
1802 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1803 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1804 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1805 { (exit 1); exit 1; }; }
1807 { echo "$as_me:$LINENO: checking build system type" >&5
1808 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1809 if test "${ac_cv_build+set}" = set; then
1810 echo $ECHO_N "(cached) $ECHO_C" >&6
1812 ac_build_alias=$build_alias
1813 test "x$ac_build_alias" = x &&
1814 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1815 test "x$ac_build_alias" = x &&
1816 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1817 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1818 { (exit 1); exit 1; }; }
1819 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1820 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1821 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1822 { (exit 1); exit 1; }; }
1825 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1826 echo "${ECHO_T}$ac_cv_build" >&6; }
1827 case $ac_cv_build in
1829 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1830 echo "$as_me: error: invalid value of canonical build" >&2;}
1831 { (exit 1); exit 1; }; };;
1834 ac_save_IFS=$IFS; IFS='-'
1840 # Remember, the first character of IFS is used to create $*,
1841 # except with old shells:
1844 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1847 { echo "$as_me:$LINENO: checking host system type" >&5
1848 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1849 if test "${ac_cv_host+set}" = set; then
1850 echo $ECHO_N "(cached) $ECHO_C" >&6
1852 if test "x$host_alias" = x; then
1853 ac_cv_host=$ac_cv_build
1855 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1856 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1857 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1858 { (exit 1); exit 1; }; }
1862 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1863 echo "${ECHO_T}$ac_cv_host" >&6; }
1866 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1867 echo "$as_me: error: invalid value of canonical host" >&2;}
1868 { (exit 1); exit 1; }; };;
1871 ac_save_IFS=$IFS; IFS='-'
1877 # Remember, the first character of IFS is used to create $*,
1878 # except with old shells:
1881 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1884 { echo "$as_me:$LINENO: checking target system type" >&5
1885 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1886 if test "${ac_cv_target+set}" = set; then
1887 echo $ECHO_N "(cached) $ECHO_C" >&6
1889 if test "x$target_alias" = x; then
1890 ac_cv_target=$ac_cv_host
1892 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1893 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1894 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1895 { (exit 1); exit 1; }; }
1899 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1900 echo "${ECHO_T}$ac_cv_target" >&6; }
1901 case $ac_cv_target in
1903 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1904 echo "$as_me: error: invalid value of canonical target" >&2;}
1905 { (exit 1); exit 1; }; };;
1907 target=$ac_cv_target
1908 ac_save_IFS=$IFS; IFS='-'
1914 # Remember, the first character of IFS is used to create $*,
1915 # except with old shells:
1918 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1921 # The aliases save the names the user supplied, while $host etc.
1922 # will get canonicalized.
1923 test -n "$target_alias" &&
1924 test "$program_prefix$program_suffix$program_transform_name" = \
1926 program_prefix=${target_alias}-
1929 am__api_version="1.9"
1930 # Find a good install program. We prefer a C program (faster),
1931 # so one script is as good as another. But avoid the broken or
1932 # incompatible versions:
1933 # SysV /etc/install, /usr/sbin/install
1934 # SunOS /usr/etc/install
1935 # IRIX /sbin/install
1937 # AmigaOS /C/install, which installs bootblocks on floppy discs
1938 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1939 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1940 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1941 # OS/2's system install, which has a completely different semantic
1942 # ./install, which can be erroneously created by make from ./install.sh.
1943 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1944 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1945 if test -z "$INSTALL"; then
1946 if test "${ac_cv_path_install+set}" = set; then
1947 echo $ECHO_N "(cached) $ECHO_C" >&6
1949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1953 test -z "$as_dir" && as_dir=.
1954 # Account for people who put trailing slashes in PATH elements.
1956 ./ | .// | /cC/* | \
1957 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1958 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1961 # OSF1 and SCO ODT 3.0 have their own names for install.
1962 # Don't use installbsd from OSF since it installs stuff as root
1964 for ac_prog in ginstall scoinst install; do
1965 for ac_exec_ext in '' $ac_executable_extensions; do
1966 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1967 if test $ac_prog = install &&
1968 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1969 # AIX install. It has an incompatible calling convention.
1971 elif test $ac_prog = install &&
1972 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1973 # program-specific install script used by HP pwplus--don't use.
1976 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1989 if test "${ac_cv_path_install+set}" = set; then
1990 INSTALL=$ac_cv_path_install
1992 # As a last resort, use the slow shell script. Don't cache a
1993 # value for INSTALL within a source directory, because that will
1994 # break other packages using the cache if that directory is
1995 # removed, or if the value is a relative name.
1996 INSTALL="$SHELL $ac_install_sh"
1999 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2000 echo "${ECHO_T}$INSTALL" >&6; }
2002 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2003 # It thinks the first close brace ends the variable substitution.
2004 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2006 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2008 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2010 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2011 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2014 echo timestamp > conftest.file
2015 # Do `set' in a subshell so we don't clobber the current shell's
2016 # arguments. Must try -L first in case configure is actually a
2017 # symlink; some systems play weird games with the mod time of symlinks
2018 # (eg FreeBSD returns the mod time of the symlink's containing
2021 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2022 if test "$*" = "X"; then
2024 set X `ls -t $srcdir/configure conftest.file`
2027 if test "$*" != "X $srcdir/configure conftest.file" \
2028 && test "$*" != "X conftest.file $srcdir/configure"; then
2030 # If neither matched, then we have a broken ls. This can happen
2031 # if, for instance, CONFIG_SHELL is bash and it inherits a
2032 # broken ls alias from the environment. This has actually
2033 # happened. Such a system could not be considered "sane".
2034 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2035 alias in your environment" >&5
2036 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2037 alias in your environment" >&2;}
2038 { (exit 1); exit 1; }; }
2041 test "$2" = conftest.file
2047 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2048 Check your system clock" >&5
2049 echo "$as_me: error: newly created file is older than distributed files!
2050 Check your system clock" >&2;}
2051 { (exit 1); exit 1; }; }
2053 { echo "$as_me:$LINENO: result: yes" >&5
2054 echo "${ECHO_T}yes" >&6; }
2055 test "$program_prefix" != NONE &&
2056 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2057 # Use a double $ so make ignores it.
2058 test "$program_suffix" != NONE &&
2059 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2060 # Double any \ or $. echo might interpret backslashes.
2061 # By default was `s,x,x', remove it if useless.
2062 cat <<\_ACEOF >conftest.sed
2063 s/[\\$]/&&/g;s/;s,x,x,$//
2065 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2068 # expand $ac_aux_dir to an absolute path
2069 am_aux_dir=`cd $ac_aux_dir && pwd`
2071 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2072 # Use eval to expand $SHELL
2073 if eval "$MISSING --run true"; then
2074 am_missing_run="$MISSING --run "
2077 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2078 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2081 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2082 # We used to keeping the `.' as first argument, in order to
2083 # allow $(mkdir_p) to be used without argument. As in
2084 # $(mkdir_p) $(somedir)
2085 # where $(somedir) is conditionally defined. However this is wrong
2087 # 1. if the package is installed by a user who cannot write `.'
2088 # make install will fail,
2089 # 2. the above comment should most certainly read
2090 # $(mkdir_p) $(DESTDIR)$(somedir)
2091 # so it does not work when $(somedir) is undefined and
2092 # $(DESTDIR) is not.
2093 # To support the latter case, we have to write
2094 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2095 # so the `.' trick is pointless.
2096 mkdir_p='mkdir -p --'
2098 # On NextStep and OpenStep, the `mkdir' command does not
2099 # recognize any option. It will interpret all options as
2100 # directories to create, and then abort because `.' already
2102 for d in ./-p ./--version;
2104 test -d $d && rmdir $d
2106 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2107 if test -f "$ac_aux_dir/mkinstalldirs"; then
2108 mkdir_p='$(mkinstalldirs)'
2110 mkdir_p='$(install_sh) -d'
2114 for ac_prog in gawk mawk nawk awk
2116 # Extract the first word of "$ac_prog", so it can be a program name with args.
2117 set dummy $ac_prog; ac_word=$2
2118 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2120 if test "${ac_cv_prog_AWK+set}" = set; then
2121 echo $ECHO_N "(cached) $ECHO_C" >&6
2123 if test -n "$AWK"; then
2124 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2130 test -z "$as_dir" && as_dir=.
2131 for ac_exec_ext in '' $ac_executable_extensions; do
2132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2133 ac_cv_prog_AWK="$ac_prog"
2134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2144 if test -n "$AWK"; then
2145 { echo "$as_me:$LINENO: result: $AWK" >&5
2146 echo "${ECHO_T}$AWK" >&6; }
2148 { echo "$as_me:$LINENO: result: no" >&5
2149 echo "${ECHO_T}no" >&6; }
2153 test -n "$AWK" && break
2156 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2157 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2158 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2159 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2160 echo $ECHO_N "(cached) $ECHO_C" >&6
2162 cat >conftest.make <<\_ACEOF
2165 @echo '@@@%%%=$(MAKE)=@@@%%%'
2167 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2168 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2170 eval ac_cv_prog_make_${ac_make}_set=yes;;
2172 eval ac_cv_prog_make_${ac_make}_set=no;;
2176 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2177 { echo "$as_me:$LINENO: result: yes" >&5
2178 echo "${ECHO_T}yes" >&6; }
2181 { echo "$as_me:$LINENO: result: no" >&5
2182 echo "${ECHO_T}no" >&6; }
2183 SET_MAKE="MAKE=${MAKE-make}"
2186 rm -rf .tst 2>/dev/null
2187 mkdir .tst 2>/dev/null
2188 if test -d .tst; then
2193 rmdir .tst 2>/dev/null
2195 # test to see if srcdir already configured
2196 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2197 test -f $srcdir/config.status; then
2198 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2199 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2200 { (exit 1); exit 1; }; }
2203 # test whether we have cygpath
2204 if test -z "$CYGPATH_W"; then
2205 if (cygpath --version) >/dev/null 2>/dev/null; then
2206 CYGPATH_W='cygpath -w'
2213 # Define the identity of the package.
2218 cat >>confdefs.h <<_ACEOF
2219 #define PACKAGE "$PACKAGE"
2223 cat >>confdefs.h <<_ACEOF
2224 #define VERSION "$VERSION"
2227 # Some tools Automake needs.
2229 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2232 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2235 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2238 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2241 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2243 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2245 # Installed binaries are usually stripped using `strip' when the user
2246 # run `make install-strip'. However `strip' might not be the right
2247 # tool to use in cross-compilation environments, therefore Automake
2248 # will honor the `STRIP' environment variable to overrule this program.
2249 if test "$cross_compiling" != no; then
2250 if test -n "$ac_tool_prefix"; then
2251 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2252 set dummy ${ac_tool_prefix}strip; ac_word=$2
2253 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2255 if test "${ac_cv_prog_STRIP+set}" = set; then
2256 echo $ECHO_N "(cached) $ECHO_C" >&6
2258 if test -n "$STRIP"; then
2259 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2265 test -z "$as_dir" && as_dir=.
2266 for ac_exec_ext in '' $ac_executable_extensions; do
2267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2268 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2278 STRIP=$ac_cv_prog_STRIP
2279 if test -n "$STRIP"; then
2280 { echo "$as_me:$LINENO: result: $STRIP" >&5
2281 echo "${ECHO_T}$STRIP" >&6; }
2283 { echo "$as_me:$LINENO: result: no" >&5
2284 echo "${ECHO_T}no" >&6; }
2289 if test -z "$ac_cv_prog_STRIP"; then
2291 # Extract the first word of "strip", so it can be a program name with args.
2292 set dummy strip; ac_word=$2
2293 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2295 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2296 echo $ECHO_N "(cached) $ECHO_C" >&6
2298 if test -n "$ac_ct_STRIP"; then
2299 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2305 test -z "$as_dir" && as_dir=.
2306 for ac_exec_ext in '' $ac_executable_extensions; do
2307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2308 ac_cv_prog_ac_ct_STRIP="strip"
2309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2318 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2319 if test -n "$ac_ct_STRIP"; then
2320 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2321 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2323 { echo "$as_me:$LINENO: result: no" >&5
2324 echo "${ECHO_T}no" >&6; }
2327 if test "x$ac_ct_STRIP" = x; then
2330 case $cross_compiling:$ac_tool_warned in
2332 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2333 whose name does not start with the host triplet. If you think this
2334 configuration is useful to you, please write to autoconf@gnu.org." >&5
2335 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2336 whose name does not start with the host triplet. If you think this
2337 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2338 ac_tool_warned=yes ;;
2343 STRIP="$ac_cv_prog_STRIP"
2347 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2349 # We need awk for the "check" target. The system "awk" is bad on
2351 # Always define AMTAR for backward compatibility.
2353 AMTAR=${AMTAR-"${am_missing_run}tar"}
2355 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2361 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2362 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2363 # Check whether --enable-maintainer-mode was given.
2364 if test "${enable_maintainer_mode+set}" = set; then
2365 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2367 USE_MAINTAINER_MODE=no
2370 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2371 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2374 if test $USE_MAINTAINER_MODE = yes; then
2375 MAINTAINER_MODE_TRUE=
2376 MAINTAINER_MODE_FALSE='#'
2378 MAINTAINER_MODE_TRUE='#'
2379 MAINTAINER_MODE_FALSE=
2382 MAINT=$MAINTAINER_MODE_TRUE
2385 ac_config_headers="$ac_config_headers autoconf.h"
2388 # Checks for programs.
2390 ac_cpp='$CPP $CPPFLAGS'
2391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2394 if test -n "$ac_tool_prefix"; then
2395 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2396 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2397 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2399 if test "${ac_cv_prog_CC+set}" = set; then
2400 echo $ECHO_N "(cached) $ECHO_C" >&6
2402 if test -n "$CC"; then
2403 ac_cv_prog_CC="$CC" # Let the user override the test.
2405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2409 test -z "$as_dir" && as_dir=.
2410 for ac_exec_ext in '' $ac_executable_extensions; do
2411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2412 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2423 if test -n "$CC"; then
2424 { echo "$as_me:$LINENO: result: $CC" >&5
2425 echo "${ECHO_T}$CC" >&6; }
2427 { echo "$as_me:$LINENO: result: no" >&5
2428 echo "${ECHO_T}no" >&6; }
2433 if test -z "$ac_cv_prog_CC"; then
2435 # Extract the first word of "gcc", so it can be a program name with args.
2436 set dummy gcc; ac_word=$2
2437 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2439 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2440 echo $ECHO_N "(cached) $ECHO_C" >&6
2442 if test -n "$ac_ct_CC"; then
2443 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2449 test -z "$as_dir" && as_dir=.
2450 for ac_exec_ext in '' $ac_executable_extensions; do
2451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2452 ac_cv_prog_ac_ct_CC="gcc"
2453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2462 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2463 if test -n "$ac_ct_CC"; then
2464 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2465 echo "${ECHO_T}$ac_ct_CC" >&6; }
2467 { echo "$as_me:$LINENO: result: no" >&5
2468 echo "${ECHO_T}no" >&6; }
2471 if test "x$ac_ct_CC" = x; then
2474 case $cross_compiling:$ac_tool_warned in
2476 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2477 whose name does not start with the host triplet. If you think this
2478 configuration is useful to you, please write to autoconf@gnu.org." >&5
2479 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2480 whose name does not start with the host triplet. If you think this
2481 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2482 ac_tool_warned=yes ;;
2490 if test -z "$CC"; then
2491 if test -n "$ac_tool_prefix"; then
2492 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2493 set dummy ${ac_tool_prefix}cc; ac_word=$2
2494 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2496 if test "${ac_cv_prog_CC+set}" = set; then
2497 echo $ECHO_N "(cached) $ECHO_C" >&6
2499 if test -n "$CC"; then
2500 ac_cv_prog_CC="$CC" # Let the user override the test.
2502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2506 test -z "$as_dir" && as_dir=.
2507 for ac_exec_ext in '' $ac_executable_extensions; do
2508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2509 ac_cv_prog_CC="${ac_tool_prefix}cc"
2510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2520 if test -n "$CC"; then
2521 { echo "$as_me:$LINENO: result: $CC" >&5
2522 echo "${ECHO_T}$CC" >&6; }
2524 { echo "$as_me:$LINENO: result: no" >&5
2525 echo "${ECHO_T}no" >&6; }
2531 if test -z "$CC"; then
2532 # Extract the first word of "cc", so it can be a program name with args.
2533 set dummy cc; ac_word=$2
2534 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2536 if test "${ac_cv_prog_CC+set}" = set; then
2537 echo $ECHO_N "(cached) $ECHO_C" >&6
2539 if test -n "$CC"; then
2540 ac_cv_prog_CC="$CC" # Let the user override the test.
2543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2547 test -z "$as_dir" && as_dir=.
2548 for ac_exec_ext in '' $ac_executable_extensions; do
2549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2550 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2551 ac_prog_rejected=yes
2555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2562 if test $ac_prog_rejected = yes; then
2563 # We found a bogon in the path, so make sure we never use it.
2564 set dummy $ac_cv_prog_CC
2566 if test $# != 0; then
2567 # We chose a different compiler from the bogus one.
2568 # However, it has the same basename, so the bogon will be chosen
2569 # first if we set CC to just the basename; use the full file name.
2571 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2577 if test -n "$CC"; then
2578 { echo "$as_me:$LINENO: result: $CC" >&5
2579 echo "${ECHO_T}$CC" >&6; }
2581 { echo "$as_me:$LINENO: result: no" >&5
2582 echo "${ECHO_T}no" >&6; }
2587 if test -z "$CC"; then
2588 if test -n "$ac_tool_prefix"; then
2589 for ac_prog in cl.exe
2591 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2592 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2593 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2595 if test "${ac_cv_prog_CC+set}" = set; then
2596 echo $ECHO_N "(cached) $ECHO_C" >&6
2598 if test -n "$CC"; then
2599 ac_cv_prog_CC="$CC" # Let the user override the test.
2601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2605 test -z "$as_dir" && as_dir=.
2606 for ac_exec_ext in '' $ac_executable_extensions; do
2607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2608 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2619 if test -n "$CC"; then
2620 { echo "$as_me:$LINENO: result: $CC" >&5
2621 echo "${ECHO_T}$CC" >&6; }
2623 { echo "$as_me:$LINENO: result: no" >&5
2624 echo "${ECHO_T}no" >&6; }
2628 test -n "$CC" && break
2631 if test -z "$CC"; then
2633 for ac_prog in cl.exe
2635 # Extract the first word of "$ac_prog", so it can be a program name with args.
2636 set dummy $ac_prog; ac_word=$2
2637 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2638 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2639 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2640 echo $ECHO_N "(cached) $ECHO_C" >&6
2642 if test -n "$ac_ct_CC"; then
2643 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2649 test -z "$as_dir" && as_dir=.
2650 for ac_exec_ext in '' $ac_executable_extensions; do
2651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2652 ac_cv_prog_ac_ct_CC="$ac_prog"
2653 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2662 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2663 if test -n "$ac_ct_CC"; then
2664 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2665 echo "${ECHO_T}$ac_ct_CC" >&6; }
2667 { echo "$as_me:$LINENO: result: no" >&5
2668 echo "${ECHO_T}no" >&6; }
2672 test -n "$ac_ct_CC" && break
2675 if test "x$ac_ct_CC" = x; then
2678 case $cross_compiling:$ac_tool_warned in
2680 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2681 whose name does not start with the host triplet. If you think this
2682 configuration is useful to you, please write to autoconf@gnu.org." >&5
2683 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2684 whose name does not start with the host triplet. If you think this
2685 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2686 ac_tool_warned=yes ;;
2695 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2696 See \`config.log' for more details." >&5
2697 echo "$as_me: error: no acceptable C compiler found in \$PATH
2698 See \`config.log' for more details." >&2;}
2699 { (exit 1); exit 1; }; }
2701 # Provide some information about the compiler.
2702 echo "$as_me:$LINENO: checking for C compiler version" >&5
2703 ac_compiler=`set X $ac_compile; echo $2`
2704 { (ac_try="$ac_compiler --version >&5"
2706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2707 *) ac_try_echo=$ac_try;;
2709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2710 (eval "$ac_compiler --version >&5") 2>&5
2712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2713 (exit $ac_status); }
2714 { (ac_try="$ac_compiler -v >&5"
2716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2717 *) ac_try_echo=$ac_try;;
2719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2720 (eval "$ac_compiler -v >&5") 2>&5
2722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2723 (exit $ac_status); }
2724 { (ac_try="$ac_compiler -V >&5"
2726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2727 *) ac_try_echo=$ac_try;;
2729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2730 (eval "$ac_compiler -V >&5") 2>&5
2732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733 (exit $ac_status); }
2735 cat >conftest.$ac_ext <<_ACEOF
2738 cat confdefs.h >>conftest.$ac_ext
2739 cat >>conftest.$ac_ext <<_ACEOF
2740 /* end confdefs.h. */
2750 ac_clean_files_save=$ac_clean_files
2751 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2752 # Try to create an executable without -o first, disregard a.out.
2753 # It will help us diagnose broken compilers, and finding out an intuition
2755 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2756 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2757 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2759 # List of possible output files, starting from the most likely.
2760 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2761 # only as a last resort. b.out is created by i960 compilers.
2762 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2764 # The IRIX 6 linker writes into existing files which may not be
2765 # executable, retaining their permissions. Remove them first so a
2766 # subsequent execution test works.
2768 for ac_file in $ac_files
2771 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2772 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2777 if { (ac_try="$ac_link_default"
2779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2780 *) ac_try_echo=$ac_try;;
2782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2783 (eval "$ac_link_default") 2>&5
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); }; then
2787 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2788 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2789 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2790 # so that the user can short-circuit this test for compilers unknown to
2792 for ac_file in $ac_files ''
2794 test -f "$ac_file" || continue
2796 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2799 # We found the default executable, but exeext='' is most
2803 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2805 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2807 # We set ac_cv_exeext here because the later test for it is not
2808 # safe: cross compilers may not add the suffix if given an `-o'
2809 # argument, so we may need to know it at that point already.
2810 # Even if this section looks crufty: it has the advantage of
2817 test "$ac_cv_exeext" = no && ac_cv_exeext=
2823 { echo "$as_me:$LINENO: result: $ac_file" >&5
2824 echo "${ECHO_T}$ac_file" >&6; }
2825 if test -z "$ac_file"; then
2826 echo "$as_me: failed program was:" >&5
2827 sed 's/^/| /' conftest.$ac_ext >&5
2829 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2830 See \`config.log' for more details." >&5
2831 echo "$as_me: error: C compiler cannot create executables
2832 See \`config.log' for more details." >&2;}
2833 { (exit 77); exit 77; }; }
2836 ac_exeext=$ac_cv_exeext
2838 # Check that the compiler produces executables we can run. If not, either
2839 # the compiler is broken, or we cross compile.
2840 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2841 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2842 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2843 # If not cross compiling, check that we can run a simple program.
2844 if test "$cross_compiling" != yes; then
2845 if { ac_try='./$ac_file'
2846 { (case "(($ac_try" in
2847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2848 *) ac_try_echo=$ac_try;;
2850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2851 (eval "$ac_try") 2>&5
2853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2854 (exit $ac_status); }; }; then
2857 if test "$cross_compiling" = maybe; then
2860 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2861 If you meant to cross compile, use \`--host'.
2862 See \`config.log' for more details." >&5
2863 echo "$as_me: error: cannot run C compiled programs.
2864 If you meant to cross compile, use \`--host'.
2865 See \`config.log' for more details." >&2;}
2866 { (exit 1); exit 1; }; }
2870 { echo "$as_me:$LINENO: result: yes" >&5
2871 echo "${ECHO_T}yes" >&6; }
2873 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2874 ac_clean_files=$ac_clean_files_save
2875 # Check that the compiler produces executables we can run. If not, either
2876 # the compiler is broken, or we cross compile.
2877 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2878 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2879 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2880 echo "${ECHO_T}$cross_compiling" >&6; }
2882 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2883 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2884 if { (ac_try="$ac_link"
2886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2887 *) ac_try_echo=$ac_try;;
2889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2890 (eval "$ac_link") 2>&5
2892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2893 (exit $ac_status); }; then
2894 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2895 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2896 # work properly (i.e., refer to `conftest.exe'), while it won't with
2898 for ac_file in conftest.exe conftest conftest.*; do
2899 test -f "$ac_file" || continue
2901 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2902 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2908 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2909 See \`config.log' for more details." >&5
2910 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2911 See \`config.log' for more details." >&2;}
2912 { (exit 1); exit 1; }; }
2915 rm -f conftest$ac_cv_exeext
2916 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2917 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2919 rm -f conftest.$ac_ext
2920 EXEEXT=$ac_cv_exeext
2922 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2923 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2924 if test "${ac_cv_objext+set}" = set; then
2925 echo $ECHO_N "(cached) $ECHO_C" >&6
2927 cat >conftest.$ac_ext <<_ACEOF
2930 cat confdefs.h >>conftest.$ac_ext
2931 cat >>conftest.$ac_ext <<_ACEOF
2932 /* end confdefs.h. */
2942 rm -f conftest.o conftest.obj
2943 if { (ac_try="$ac_compile"
2945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2946 *) ac_try_echo=$ac_try;;
2948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2949 (eval "$ac_compile") 2>&5
2951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2952 (exit $ac_status); }; then
2953 for ac_file in conftest.o conftest.obj conftest.*; do
2954 test -f "$ac_file" || continue;
2956 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2957 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2962 echo "$as_me: failed program was:" >&5
2963 sed 's/^/| /' conftest.$ac_ext >&5
2965 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2966 See \`config.log' for more details." >&5
2967 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2968 See \`config.log' for more details." >&2;}
2969 { (exit 1); exit 1; }; }
2972 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2974 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2975 echo "${ECHO_T}$ac_cv_objext" >&6; }
2976 OBJEXT=$ac_cv_objext
2978 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2979 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2980 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2981 echo $ECHO_N "(cached) $ECHO_C" >&6
2983 cat >conftest.$ac_ext <<_ACEOF
2986 cat confdefs.h >>conftest.$ac_ext
2987 cat >>conftest.$ac_ext <<_ACEOF
2988 /* end confdefs.h. */
3001 rm -f conftest.$ac_objext
3002 if { (ac_try="$ac_compile"
3004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3005 *) ac_try_echo=$ac_try;;
3007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3008 (eval "$ac_compile") 2>conftest.er1
3010 grep -v '^ *+' conftest.er1 >conftest.err
3012 cat conftest.err >&5
3013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3014 (exit $ac_status); } && {
3015 test -z "$ac_c_werror_flag" ||
3016 test ! -s conftest.err
3017 } && test -s conftest.$ac_objext; then
3020 echo "$as_me: failed program was:" >&5
3021 sed 's/^/| /' conftest.$ac_ext >&5
3026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3027 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3030 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3031 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3032 GCC=`test $ac_compiler_gnu = yes && echo yes`
3033 ac_test_CFLAGS=${CFLAGS+set}
3034 ac_save_CFLAGS=$CFLAGS
3035 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3036 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3037 if test "${ac_cv_prog_cc_g+set}" = set; then
3038 echo $ECHO_N "(cached) $ECHO_C" >&6
3040 ac_save_c_werror_flag=$ac_c_werror_flag
3041 ac_c_werror_flag=yes
3044 cat >conftest.$ac_ext <<_ACEOF
3047 cat confdefs.h >>conftest.$ac_ext
3048 cat >>conftest.$ac_ext <<_ACEOF
3049 /* end confdefs.h. */
3059 rm -f conftest.$ac_objext
3060 if { (ac_try="$ac_compile"
3062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3063 *) ac_try_echo=$ac_try;;
3065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3066 (eval "$ac_compile") 2>conftest.er1
3068 grep -v '^ *+' conftest.er1 >conftest.err
3070 cat conftest.err >&5
3071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3072 (exit $ac_status); } && {
3073 test -z "$ac_c_werror_flag" ||
3074 test ! -s conftest.err
3075 } && test -s conftest.$ac_objext; then
3078 echo "$as_me: failed program was:" >&5
3079 sed 's/^/| /' conftest.$ac_ext >&5
3082 cat >conftest.$ac_ext <<_ACEOF
3085 cat confdefs.h >>conftest.$ac_ext
3086 cat >>conftest.$ac_ext <<_ACEOF
3087 /* end confdefs.h. */
3097 rm -f conftest.$ac_objext
3098 if { (ac_try="$ac_compile"
3100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3101 *) ac_try_echo=$ac_try;;
3103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3104 (eval "$ac_compile") 2>conftest.er1
3106 grep -v '^ *+' conftest.er1 >conftest.err
3108 cat conftest.err >&5
3109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3110 (exit $ac_status); } && {
3111 test -z "$ac_c_werror_flag" ||
3112 test ! -s conftest.err
3113 } && test -s conftest.$ac_objext; then
3116 echo "$as_me: failed program was:" >&5
3117 sed 's/^/| /' conftest.$ac_ext >&5
3119 ac_c_werror_flag=$ac_save_c_werror_flag
3121 cat >conftest.$ac_ext <<_ACEOF
3124 cat confdefs.h >>conftest.$ac_ext
3125 cat >>conftest.$ac_ext <<_ACEOF
3126 /* end confdefs.h. */
3136 rm -f conftest.$ac_objext
3137 if { (ac_try="$ac_compile"
3139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3140 *) ac_try_echo=$ac_try;;
3142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3143 (eval "$ac_compile") 2>conftest.er1
3145 grep -v '^ *+' conftest.er1 >conftest.err
3147 cat conftest.err >&5
3148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3149 (exit $ac_status); } && {
3150 test -z "$ac_c_werror_flag" ||
3151 test ! -s conftest.err
3152 } && test -s conftest.$ac_objext; then
3155 echo "$as_me: failed program was:" >&5
3156 sed 's/^/| /' conftest.$ac_ext >&5
3161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3168 ac_c_werror_flag=$ac_save_c_werror_flag
3170 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3171 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3172 if test "$ac_test_CFLAGS" = set; then
3173 CFLAGS=$ac_save_CFLAGS
3174 elif test $ac_cv_prog_cc_g = yes; then
3175 if test "$GCC" = yes; then
3181 if test "$GCC" = yes; then
3187 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3188 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3189 if test "${ac_cv_prog_cc_c89+set}" = set; then
3190 echo $ECHO_N "(cached) $ECHO_C" >&6
3192 ac_cv_prog_cc_c89=no
3194 cat >conftest.$ac_ext <<_ACEOF
3197 cat confdefs.h >>conftest.$ac_ext
3198 cat >>conftest.$ac_ext <<_ACEOF
3199 /* end confdefs.h. */
3202 #include <sys/types.h>
3203 #include <sys/stat.h>
3204 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3205 struct buf { int x; };
3206 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3207 static char *e (p, i)
3213 static char *f (char * (*g) (char **, int), char **p, ...)
3218 s = g (p, va_arg (v,int));
3223 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3224 function prototypes and stuff, but not '\xHH' hex character constants.
3225 These don't provoke an error unfortunately, instead are silently treated
3226 as 'x'. The following induces an error, until -std is added to get
3227 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3228 array size at least. It's necessary to write '\x00'==0 to get something
3229 that's true only with -std. */
3230 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3232 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3233 inside strings and character constants. */
3235 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3237 int test (int i, double x);
3238 struct s1 {int (*f) (int a);};
3239 struct s2 {int (*f) (double a);};
3240 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3246 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3251 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3252 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3254 CC="$ac_save_CC $ac_arg"
3255 rm -f conftest.$ac_objext
3256 if { (ac_try="$ac_compile"
3258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3259 *) ac_try_echo=$ac_try;;
3261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3262 (eval "$ac_compile") 2>conftest.er1
3264 grep -v '^ *+' conftest.er1 >conftest.err
3266 cat conftest.err >&5
3267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3268 (exit $ac_status); } && {
3269 test -z "$ac_c_werror_flag" ||
3270 test ! -s conftest.err
3271 } && test -s conftest.$ac_objext; then
3272 ac_cv_prog_cc_c89=$ac_arg
3274 echo "$as_me: failed program was:" >&5
3275 sed 's/^/| /' conftest.$ac_ext >&5
3280 rm -f core conftest.err conftest.$ac_objext
3281 test "x$ac_cv_prog_cc_c89" != "xno" && break
3283 rm -f conftest.$ac_ext
3288 case "x$ac_cv_prog_cc_c89" in
3290 { echo "$as_me:$LINENO: result: none needed" >&5
3291 echo "${ECHO_T}none needed" >&6; } ;;
3293 { echo "$as_me:$LINENO: result: unsupported" >&5
3294 echo "${ECHO_T}unsupported" >&6; } ;;
3296 CC="$CC $ac_cv_prog_cc_c89"
3297 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3298 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3303 ac_cpp='$CPP $CPPFLAGS'
3304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3307 DEPDIR="${am__leading_dot}deps"
3309 ac_config_commands="$ac_config_commands depfiles"
3312 am_make=${MAKE-make}
3313 cat > confinc << 'END'
3318 # If we don't find an include directive, just comment out the code.
3319 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3320 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3324 # First try GNU make style include.
3325 echo "include confinc" > confmf
3326 # We grep out `Entering directory' and `Leaving directory'
3327 # messages which can occur if `w' ends up in MAKEFLAGS.
3328 # In particular we don't look at `^make:' because GNU make might
3329 # be invoked under some other name (usually "gmake"), in which
3330 # case it prints its new name instead of `make'.
3331 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3336 # Now try BSD make style include.
3337 if test "$am__include" = "#"; then
3338 echo '.include "confinc"' > confmf
3339 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3340 am__include=.include
3347 { echo "$as_me:$LINENO: result: $_am_result" >&5
3348 echo "${ECHO_T}$_am_result" >&6; }
3349 rm -f confinc confmf
3351 # Check whether --enable-dependency-tracking was given.
3352 if test "${enable_dependency_tracking+set}" = set; then
3353 enableval=$enable_dependency_tracking;
3356 if test "x$enable_dependency_tracking" != xno; then
3357 am_depcomp="$ac_aux_dir/depcomp"
3362 if test "x$enable_dependency_tracking" != xno; then
3373 depcc="$CC" am_compiler_list=
3375 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3376 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3377 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3378 echo $ECHO_N "(cached) $ECHO_C" >&6
3380 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3381 # We make a subdir and do the tests there. Otherwise we can end up
3382 # making bogus files that we don't know about and never remove. For
3383 # instance it was reported that on HP-UX the gcc test will end up
3384 # making a dummy file named `D' -- because `-MD' means `put the output
3387 # Copy depcomp to subdir because otherwise we won't find it if we're
3388 # using a relative directory.
3389 cp "$am_depcomp" conftest.dir
3391 # We will build objects and dependencies in a subdirectory because
3392 # it helps to detect inapplicable dependency modes. For instance
3393 # both Tru64's cc and ICC support -MD to output dependencies as a
3394 # side effect of compilation, but ICC will put the dependencies in
3395 # the current directory while Tru64 will put them in the object
3399 am_cv_CC_dependencies_compiler_type=none
3400 if test "$am_compiler_list" = ""; then
3401 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3403 for depmode in $am_compiler_list; do
3404 # Setup a source with many dependencies, because some compilers
3405 # like to wrap large dependency lists on column 80 (with \), and
3406 # we should not choose a depcomp mode which is confused by this.
3408 # We need to recreate these files for each test, as the compiler may
3409 # overwrite some of them when testing with obscure command lines.
3410 # This happens at least with the AIX C compiler.
3412 for i in 1 2 3 4 5 6; do
3413 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3414 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3415 # Solaris 8's {/usr,}/bin/sh.
3416 touch sub/conftst$i.h
3418 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3422 # after this tag, mechanisms are not by side-effect, so they'll
3423 # only be used when explicitly requested
3424 if test "x$enable_dependency_tracking" = xyes; then
3432 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3433 # mode. It turns out that the SunPro C++ compiler does not properly
3434 # handle `-M -o', and we need to detect this.
3435 if depmode=$depmode \
3436 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3437 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3438 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3439 >/dev/null 2>conftest.err &&
3440 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3441 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3442 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3443 # icc doesn't choke on unknown options, it will just issue warnings
3444 # or remarks (even with -Werror). So we grep stderr for any message
3445 # that says an option was ignored or not supported.
3446 # When given -MP, icc 7.0 and 7.1 complain thusly:
3447 # icc: Command line warning: ignoring option '-M'; no argument required
3448 # The diagnosis changed in icc 8.0:
3449 # icc: Command line remark: option '-MP' not supported
3450 if (grep 'ignoring option' conftest.err ||
3451 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3452 am_cv_CC_dependencies_compiler_type=$depmode
3461 am_cv_CC_dependencies_compiler_type=none
3465 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3466 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3467 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3472 test "x$enable_dependency_tracking" != xno \
3473 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3475 am__fastdepCC_FALSE='#'
3477 am__fastdepCC_TRUE='#'
3478 am__fastdepCC_FALSE=
3483 ac_cpp='$CPP $CPPFLAGS'
3484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3487 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3488 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3489 # On Suns, sometimes $CPP names a directory.
3490 if test -n "$CPP" && test -d "$CPP"; then
3493 if test -z "$CPP"; then
3494 if test "${ac_cv_prog_CPP+set}" = set; then
3495 echo $ECHO_N "(cached) $ECHO_C" >&6
3497 # Double quotes because CPP needs to be expanded
3498 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3501 for ac_c_preproc_warn_flag in '' yes
3503 # Use a header file that comes with gcc, so configuring glibc
3504 # with a fresh cross-compiler works.
3505 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3506 # <limits.h> exists even on freestanding compilers.
3507 # On the NeXT, cc -E runs the code through the compiler's parser,
3508 # not just through cpp. "Syntax error" is here to catch this case.
3509 cat >conftest.$ac_ext <<_ACEOF
3512 cat confdefs.h >>conftest.$ac_ext
3513 cat >>conftest.$ac_ext <<_ACEOF
3514 /* end confdefs.h. */
3516 # include <limits.h>
3518 # include <assert.h>
3522 if { (ac_try="$ac_cpp conftest.$ac_ext"
3524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3525 *) ac_try_echo=$ac_try;;
3527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3528 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3530 grep -v '^ *+' conftest.er1 >conftest.err
3532 cat conftest.err >&5
3533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3534 (exit $ac_status); } >/dev/null && {
3535 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3536 test ! -s conftest.err
3540 echo "$as_me: failed program was:" >&5
3541 sed 's/^/| /' conftest.$ac_ext >&5
3543 # Broken: fails on valid input.
3547 rm -f conftest.err conftest.$ac_ext
3549 # OK, works on sane cases. Now check whether nonexistent headers
3550 # can be detected and how.
3551 cat >conftest.$ac_ext <<_ACEOF
3554 cat confdefs.h >>conftest.$ac_ext
3555 cat >>conftest.$ac_ext <<_ACEOF
3556 /* end confdefs.h. */
3557 #include <ac_nonexistent.h>
3559 if { (ac_try="$ac_cpp conftest.$ac_ext"
3561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3562 *) ac_try_echo=$ac_try;;
3564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3565 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3567 grep -v '^ *+' conftest.er1 >conftest.err
3569 cat conftest.err >&5
3570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3571 (exit $ac_status); } >/dev/null && {
3572 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3573 test ! -s conftest.err
3575 # Broken: success on invalid input.
3578 echo "$as_me: failed program was:" >&5
3579 sed 's/^/| /' conftest.$ac_ext >&5
3581 # Passes both tests.
3586 rm -f conftest.err conftest.$ac_ext
3589 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3590 rm -f conftest.err conftest.$ac_ext
3591 if $ac_preproc_ok; then
3603 { echo "$as_me:$LINENO: result: $CPP" >&5
3604 echo "${ECHO_T}$CPP" >&6; }
3606 for ac_c_preproc_warn_flag in '' yes
3608 # Use a header file that comes with gcc, so configuring glibc
3609 # with a fresh cross-compiler works.
3610 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3611 # <limits.h> exists even on freestanding compilers.
3612 # On the NeXT, cc -E runs the code through the compiler's parser,
3613 # not just through cpp. "Syntax error" is here to catch this case.
3614 cat >conftest.$ac_ext <<_ACEOF
3617 cat confdefs.h >>conftest.$ac_ext
3618 cat >>conftest.$ac_ext <<_ACEOF
3619 /* end confdefs.h. */
3621 # include <limits.h>
3623 # include <assert.h>
3627 if { (ac_try="$ac_cpp conftest.$ac_ext"
3629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3630 *) ac_try_echo=$ac_try;;
3632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3633 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3635 grep -v '^ *+' conftest.er1 >conftest.err
3637 cat conftest.err >&5
3638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3639 (exit $ac_status); } >/dev/null && {
3640 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3641 test ! -s conftest.err
3645 echo "$as_me: failed program was:" >&5
3646 sed 's/^/| /' conftest.$ac_ext >&5
3648 # Broken: fails on valid input.
3652 rm -f conftest.err conftest.$ac_ext
3654 # OK, works on sane cases. Now check whether nonexistent headers
3655 # can be detected and how.
3656 cat >conftest.$ac_ext <<_ACEOF
3659 cat confdefs.h >>conftest.$ac_ext
3660 cat >>conftest.$ac_ext <<_ACEOF
3661 /* end confdefs.h. */
3662 #include <ac_nonexistent.h>
3664 if { (ac_try="$ac_cpp conftest.$ac_ext"
3666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3667 *) ac_try_echo=$ac_try;;
3669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3670 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3672 grep -v '^ *+' conftest.er1 >conftest.err
3674 cat conftest.err >&5
3675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3676 (exit $ac_status); } >/dev/null && {
3677 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3678 test ! -s conftest.err
3680 # Broken: success on invalid input.
3683 echo "$as_me: failed program was:" >&5
3684 sed 's/^/| /' conftest.$ac_ext >&5
3686 # Passes both tests.
3691 rm -f conftest.err conftest.$ac_ext
3694 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3695 rm -f conftest.err conftest.$ac_ext
3696 if $ac_preproc_ok; then
3699 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3700 See \`config.log' for more details." >&5
3701 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3702 See \`config.log' for more details." >&2;}
3703 { (exit 1); exit 1; }; }
3707 ac_cpp='$CPP $CPPFLAGS'
3708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3712 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3713 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3714 if test "${ac_cv_path_GREP+set}" = set; then
3715 echo $ECHO_N "(cached) $ECHO_C" >&6
3717 # Extract the first word of "grep ggrep" to use in msg output
3718 if test -z "$GREP"; then
3719 set dummy grep ggrep; ac_prog_name=$2
3720 if test "${ac_cv_path_GREP+set}" = set; then
3721 echo $ECHO_N "(cached) $ECHO_C" >&6
3723 ac_path_GREP_found=false
3724 # Loop through the user's path and test for each of PROGNAME-LIST
3725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3726 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3729 test -z "$as_dir" && as_dir=.
3730 for ac_prog in grep ggrep; do
3731 for ac_exec_ext in '' $ac_executable_extensions; do
3732 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3733 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3734 # Check for GNU ac_path_GREP and select it if it is found.
3735 # Check for GNU $ac_path_GREP
3736 case `"$ac_path_GREP" --version 2>&1` in
3738 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3741 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3744 cat "conftest.in" "conftest.in" >"conftest.tmp"
3745 mv "conftest.tmp" "conftest.in"
3746 cp "conftest.in" "conftest.nl"
3747 echo 'GREP' >> "conftest.nl"
3748 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3749 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3750 ac_count=`expr $ac_count + 1`
3751 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3752 # Best one so far, save it but keep looking for a better one
3753 ac_cv_path_GREP="$ac_path_GREP"
3754 ac_path_GREP_max=$ac_count
3756 # 10*(2^10) chars as input seems more than enough
3757 test $ac_count -gt 10 && break
3759 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3763 $ac_path_GREP_found && break 3
3773 GREP="$ac_cv_path_GREP"
3774 if test -z "$GREP"; then
3775 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3776 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3777 { (exit 1); exit 1; }; }
3781 ac_cv_path_GREP=$GREP
3786 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3787 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3788 GREP="$ac_cv_path_GREP"
3791 { echo "$as_me:$LINENO: checking for egrep" >&5
3792 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3793 if test "${ac_cv_path_EGREP+set}" = set; then
3794 echo $ECHO_N "(cached) $ECHO_C" >&6
3796 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3797 then ac_cv_path_EGREP="$GREP -E"
3799 # Extract the first word of "egrep" to use in msg output
3800 if test -z "$EGREP"; then
3801 set dummy egrep; ac_prog_name=$2
3802 if test "${ac_cv_path_EGREP+set}" = set; then
3803 echo $ECHO_N "(cached) $ECHO_C" >&6
3805 ac_path_EGREP_found=false
3806 # Loop through the user's path and test for each of PROGNAME-LIST
3807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3808 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3811 test -z "$as_dir" && as_dir=.
3812 for ac_prog in egrep; do
3813 for ac_exec_ext in '' $ac_executable_extensions; do
3814 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3815 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3816 # Check for GNU ac_path_EGREP and select it if it is found.
3817 # Check for GNU $ac_path_EGREP
3818 case `"$ac_path_EGREP" --version 2>&1` in
3820 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3823 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3826 cat "conftest.in" "conftest.in" >"conftest.tmp"
3827 mv "conftest.tmp" "conftest.in"
3828 cp "conftest.in" "conftest.nl"
3829 echo 'EGREP' >> "conftest.nl"
3830 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3831 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3832 ac_count=`expr $ac_count + 1`
3833 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3834 # Best one so far, save it but keep looking for a better one
3835 ac_cv_path_EGREP="$ac_path_EGREP"
3836 ac_path_EGREP_max=$ac_count
3838 # 10*(2^10) chars as input seems more than enough
3839 test $ac_count -gt 10 && break
3841 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3845 $ac_path_EGREP_found && break 3
3855 EGREP="$ac_cv_path_EGREP"
3856 if test -z "$EGREP"; then
3857 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3858 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3859 { (exit 1); exit 1; }; }
3863 ac_cv_path_EGREP=$EGREP
3869 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3870 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3871 EGREP="$ac_cv_path_EGREP"
3874 # Find a good install program. We prefer a C program (faster),
3875 # so one script is as good as another. But avoid the broken or
3876 # incompatible versions:
3877 # SysV /etc/install, /usr/sbin/install
3878 # SunOS /usr/etc/install
3879 # IRIX /sbin/install
3881 # AmigaOS /C/install, which installs bootblocks on floppy discs
3882 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3883 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3884 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3885 # OS/2's system install, which has a completely different semantic
3886 # ./install, which can be erroneously created by make from ./install.sh.
3887 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3888 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3889 if test -z "$INSTALL"; then
3890 if test "${ac_cv_path_install+set}" = set; then
3891 echo $ECHO_N "(cached) $ECHO_C" >&6
3893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3897 test -z "$as_dir" && as_dir=.
3898 # Account for people who put trailing slashes in PATH elements.
3900 ./ | .// | /cC/* | \
3901 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3902 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3905 # OSF1 and SCO ODT 3.0 have their own names for install.
3906 # Don't use installbsd from OSF since it installs stuff as root
3908 for ac_prog in ginstall scoinst install; do
3909 for ac_exec_ext in '' $ac_executable_extensions; do
3910 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3911 if test $ac_prog = install &&
3912 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3913 # AIX install. It has an incompatible calling convention.
3915 elif test $ac_prog = install &&
3916 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3917 # program-specific install script used by HP pwplus--don't use.
3920 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3933 if test "${ac_cv_path_install+set}" = set; then
3934 INSTALL=$ac_cv_path_install
3936 # As a last resort, use the slow shell script. Don't cache a
3937 # value for INSTALL within a source directory, because that will
3938 # break other packages using the cache if that directory is
3939 # removed, or if the value is a relative name.
3940 INSTALL="$SHELL $ac_install_sh"
3943 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3944 echo "${ECHO_T}$INSTALL" >&6; }
3946 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3947 # It thinks the first close brace ends the variable substitution.
3948 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3950 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3952 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3954 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
3955 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3957 if test "$LN_S" = "ln -s"; then
3958 { echo "$as_me:$LINENO: result: yes" >&5
3959 echo "${ECHO_T}yes" >&6; }
3961 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3962 echo "${ECHO_T}no, using $LN_S" >&6; }
3968 CPPFLAGS="$CPPFLAGS -D_POSIX_SOURCE -D_POSIX_1_SOURCE=2 -D_MINIX"
3971 CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
3976 *-*-mirbsd* | *-*-openbsd*)
3978 cat >>confdefs.h <<\_ACEOF
3979 #define HAVE_GCC_ATTRIBUTE_BOUNDED 1
3986 # Checks for libraries.
3988 search_libs_selinux="selinux"
3989 search_libs_snprintf="snprintf db"
3991 search_libs_util="util"
3993 # Check whether --enable-curses was given.
3994 if test "${enable_curses+set}" = set; then
3995 enableval=$enable_curses; curses=$enableval
4000 test x"$curses" = x"yes" && \
4001 search_libs_term="$search_libs_term tinfo ncurses curses"
4003 # Check whether --enable-termcap was given.
4004 if test "${enable_termcap+set}" = set; then
4005 enableval=$enable_termcap; termcap=$enableval
4010 test x"$termcap" = x"yes" && \
4011 search_libs_term="$search_libs_term termcap"
4013 # Check whether --enable-search_libs was given.
4014 if test "${enable_search_libs+set}" = set; then
4015 enableval=$enable_search_libs; search_libs=$enableval
4021 if test x"$search_libs" = x"no"; then
4022 search_libs_selinux=""
4023 search_libs_snprintf=""
4029 { echo "$as_me:$LINENO: checking for library containing openpty" >&5
4030 echo $ECHO_N "checking for library containing openpty... $ECHO_C" >&6; }
4031 if test "${ac_cv_search_openpty+set}" = set; then
4032 echo $ECHO_N "(cached) $ECHO_C" >&6
4034 ac_func_search_save_LIBS=$LIBS
4035 cat >conftest.$ac_ext <<_ACEOF
4038 cat confdefs.h >>conftest.$ac_ext
4039 cat >>conftest.$ac_ext <<_ACEOF
4040 /* end confdefs.h. */
4042 /* Override any GCC internal prototype to avoid an error.
4043 Use char because int might match the return type of a GCC
4044 builtin and then its argument prototype would still apply. */
4057 for ac_lib in '' $search_libs_util; do
4058 if test -z "$ac_lib"; then
4059 ac_res="none required"
4062 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4064 rm -f conftest.$ac_objext conftest$ac_exeext
4065 if { (ac_try="$ac_link"
4067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4068 *) ac_try_echo=$ac_try;;
4070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4071 (eval "$ac_link") 2>conftest.er1
4073 grep -v '^ *+' conftest.er1 >conftest.err
4075 cat conftest.err >&5
4076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4077 (exit $ac_status); } && {
4078 test -z "$ac_c_werror_flag" ||
4079 test ! -s conftest.err
4080 } && test -s conftest$ac_exeext &&
4081 $as_test_x conftest$ac_exeext; then
4082 ac_cv_search_openpty=$ac_res
4084 echo "$as_me: failed program was:" >&5
4085 sed 's/^/| /' conftest.$ac_ext >&5
4090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4092 if test "${ac_cv_search_openpty+set}" = set; then
4096 if test "${ac_cv_search_openpty+set}" = set; then
4099 ac_cv_search_openpty=no
4102 LIBS=$ac_func_search_save_LIBS
4104 { echo "$as_me:$LINENO: result: $ac_cv_search_openpty" >&5
4105 echo "${ECHO_T}$ac_cv_search_openpty" >&6; }
4106 ac_res=$ac_cv_search_openpty
4107 if test "$ac_res" != no; then
4108 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4110 cat >>confdefs.h <<_ACEOF
4111 #define HAVE_OPENPTY 1
4116 { echo "$as_me:$LINENO: checking for library containing login_tty" >&5
4117 echo $ECHO_N "checking for library containing login_tty... $ECHO_C" >&6; }
4118 if test "${ac_cv_search_login_tty+set}" = set; then
4119 echo $ECHO_N "(cached) $ECHO_C" >&6
4121 ac_func_search_save_LIBS=$LIBS
4122 cat >conftest.$ac_ext <<_ACEOF
4125 cat confdefs.h >>conftest.$ac_ext
4126 cat >>conftest.$ac_ext <<_ACEOF
4127 /* end confdefs.h. */
4129 /* Override any GCC internal prototype to avoid an error.
4130 Use char because int might match the return type of a GCC
4131 builtin and then its argument prototype would still apply. */
4139 return login_tty ();
4144 for ac_lib in '' $search_libs_util; do
4145 if test -z "$ac_lib"; then
4146 ac_res="none required"
4149 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4151 rm -f conftest.$ac_objext conftest$ac_exeext
4152 if { (ac_try="$ac_link"
4154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4155 *) ac_try_echo=$ac_try;;
4157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4158 (eval "$ac_link") 2>conftest.er1
4160 grep -v '^ *+' conftest.er1 >conftest.err
4162 cat conftest.err >&5
4163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4164 (exit $ac_status); } && {
4165 test -z "$ac_c_werror_flag" ||
4166 test ! -s conftest.err
4167 } && test -s conftest$ac_exeext &&
4168 $as_test_x conftest$ac_exeext; then
4169 ac_cv_search_login_tty=$ac_res
4171 echo "$as_me: failed program was:" >&5
4172 sed 's/^/| /' conftest.$ac_ext >&5
4177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4179 if test "${ac_cv_search_login_tty+set}" = set; then
4183 if test "${ac_cv_search_login_tty+set}" = set; then
4186 ac_cv_search_login_tty=no
4189 LIBS=$ac_func_search_save_LIBS
4191 { echo "$as_me:$LINENO: result: $ac_cv_search_login_tty" >&5
4192 echo "${ECHO_T}$ac_cv_search_login_tty" >&6; }
4193 ac_res=$ac_cv_search_login_tty
4194 if test "$ac_res" != no; then
4195 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4197 cat >>confdefs.h <<_ACEOF
4198 #define HAVE_LOGIN_TTY 1
4203 { echo "$as_me:$LINENO: checking for library containing tgetflag" >&5
4204 echo $ECHO_N "checking for library containing tgetflag... $ECHO_C" >&6; }
4205 if test "${ac_cv_search_tgetflag+set}" = set; then
4206 echo $ECHO_N "(cached) $ECHO_C" >&6
4208 ac_func_search_save_LIBS=$LIBS
4209 cat >conftest.$ac_ext <<_ACEOF
4212 cat confdefs.h >>conftest.$ac_ext
4213 cat >>conftest.$ac_ext <<_ACEOF
4214 /* end confdefs.h. */
4216 /* Override any GCC internal prototype to avoid an error.
4217 Use char because int might match the return type of a GCC
4218 builtin and then its argument prototype would still apply. */
4231 for ac_lib in '' $search_libs_term; do
4232 if test -z "$ac_lib"; then
4233 ac_res="none required"
4236 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4238 rm -f conftest.$ac_objext conftest$ac_exeext
4239 if { (ac_try="$ac_link"
4241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4242 *) ac_try_echo=$ac_try;;
4244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4245 (eval "$ac_link") 2>conftest.er1
4247 grep -v '^ *+' conftest.er1 >conftest.err
4249 cat conftest.err >&5
4250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4251 (exit $ac_status); } && {
4252 test -z "$ac_c_werror_flag" ||
4253 test ! -s conftest.err
4254 } && test -s conftest$ac_exeext &&
4255 $as_test_x conftest$ac_exeext; then
4256 ac_cv_search_tgetflag=$ac_res
4258 echo "$as_me: failed program was:" >&5
4259 sed 's/^/| /' conftest.$ac_ext >&5
4264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4266 if test "${ac_cv_search_tgetflag+set}" = set; then
4270 if test "${ac_cv_search_tgetflag+set}" = set; then
4273 ac_cv_search_tgetflag=no
4276 LIBS=$ac_func_search_save_LIBS
4278 { echo "$as_me:$LINENO: result: $ac_cv_search_tgetflag" >&5
4279 echo "${ECHO_T}$ac_cv_search_tgetflag" >&6; }
4280 ac_res=$ac_cv_search_tgetflag
4281 if test "$ac_res" != no; then
4282 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"