2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
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.
579 ac_unique_file
="ctags.h"
581 # Factoring default headers for most tests.
582 ac_includes_default
="\
584 #ifdef HAVE_SYS_TYPES_H
585 # include <sys/types.h>
587 #ifdef HAVE_SYS_STAT_H
588 # include <sys/stat.h>
594 # ifdef HAVE_STDLIB_H
599 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
604 #ifdef HAVE_STRINGS_H
605 # include <strings.h>
607 #ifdef HAVE_INTTYPES_H
608 # include <inttypes.h>
626 program_transform_name
671 ac_precious_vars
='build_alias
682 # Initialize some variables set by options.
684 ac_init_version
=false
685 # The variables have the same names as the options, with
686 # dashes changed to underlines.
694 program_transform_name
=s
,x
,x
,
702 # Installation directory options.
703 # These are left unexpanded so users can "make install exec_prefix=/foo"
704 # and all the variables that are supposed to be based on exec_prefix
705 # by default will actually change.
706 # Use braces instead of parens because sh, perl, etc. also accept them.
707 # (The list follows the same order as the GNU Coding Standards.)
708 bindir
='${exec_prefix}/bin'
709 sbindir
='${exec_prefix}/sbin'
710 libexecdir
='${exec_prefix}/libexec'
711 datarootdir
='${prefix}/share'
712 datadir
='${datarootdir}'
713 sysconfdir
='${prefix}/etc'
714 sharedstatedir
='${prefix}/com'
715 localstatedir
='${prefix}/var'
716 includedir
='${prefix}/include'
717 oldincludedir
='/usr/include'
718 docdir
='${datarootdir}/doc/${PACKAGE}'
719 infodir
='${datarootdir}/info'
724 libdir
='${exec_prefix}/lib'
725 localedir
='${datarootdir}/locale'
726 mandir
='${datarootdir}/man'
732 # If the previous option needs an argument, assign it.
733 if test -n "$ac_prev"; then
734 eval $ac_prev=\
$ac_option
740 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
744 # Accept the important Cygnus configure options, so we can diagnose typos.
746 case $ac_dashdash$ac_option in
750 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
752 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
755 -build |
--build |
--buil |
--bui |
--bu)
756 ac_prev
=build_alias
;;
757 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
758 build_alias
=$ac_optarg ;;
760 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
761 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
762 ac_prev
=cache_file
;;
763 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
764 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
765 cache_file
=$ac_optarg ;;
768 cache_file
=config.cache
;;
770 -datadir |
--datadir |
--datadi |
--datad)
772 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
773 datadir
=$ac_optarg ;;
775 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
776 |
--dataroo |
--dataro |
--datar)
777 ac_prev
=datarootdir
;;
778 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
779 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
780 datarootdir
=$ac_optarg ;;
782 -disable-* |
--disable-*)
783 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
784 # Reject names that are not valid shell variable names.
785 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
786 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
787 { (exit 1); exit 1; }; }
788 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
789 eval enable_
$ac_feature=no
;;
791 -docdir |
--docdir |
--docdi |
--doc |
--do)
793 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
796 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
798 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
801 -enable-* |
--enable-*)
802 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
803 # Reject names that are not valid shell variable names.
804 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
805 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
806 { (exit 1); exit 1; }; }
807 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
808 eval enable_
$ac_feature=\
$ac_optarg ;;
810 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
811 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
812 |
--exec |
--exe |
--ex)
813 ac_prev
=exec_prefix
;;
814 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
815 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
816 |
--exec=* |
--exe=* |
--ex=*)
817 exec_prefix
=$ac_optarg ;;
819 -gas |
--gas |
--ga |
--g)
820 # Obsolete; use --with-gas.
823 -help |
--help |
--hel |
--he |
-h)
825 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
826 ac_init_help
=recursive
;;
827 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
828 ac_init_help
=short
;;
830 -host |
--host |
--hos |
--ho)
831 ac_prev
=host_alias
;;
832 -host=* |
--host=* |
--hos=* |
--ho=*)
833 host_alias
=$ac_optarg ;;
835 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
837 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
839 htmldir
=$ac_optarg ;;
841 -includedir |
--includedir |
--includedi |
--included |
--include \
842 |
--includ |
--inclu |
--incl |
--inc)
843 ac_prev
=includedir
;;
844 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
845 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
846 includedir
=$ac_optarg ;;
848 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
850 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
851 infodir
=$ac_optarg ;;
853 -libdir |
--libdir |
--libdi |
--libd)
855 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
858 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
859 |
--libexe |
--libex |
--libe)
860 ac_prev
=libexecdir
;;
861 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
862 |
--libexe=* |
--libex=* |
--libe=*)
863 libexecdir
=$ac_optarg ;;
865 -localedir |
--localedir |
--localedi |
--localed |
--locale)
867 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
868 localedir
=$ac_optarg ;;
870 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
871 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
872 ac_prev
=localstatedir
;;
873 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
874 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
875 localstatedir
=$ac_optarg ;;
877 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
879 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
883 # Obsolete; use --without-fp.
886 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
887 |
--no-cr |
--no-c |
-n)
890 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
891 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
894 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
895 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
896 |
--oldin |
--oldi |
--old |
--ol |
--o)
897 ac_prev
=oldincludedir
;;
898 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
899 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
900 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
901 oldincludedir
=$ac_optarg ;;
903 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
905 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
908 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
909 |
--program-pre |
--program-pr |
--program-p)
910 ac_prev
=program_prefix
;;
911 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
912 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
913 program_prefix
=$ac_optarg ;;
915 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
916 |
--program-suf |
--program-su |
--program-s)
917 ac_prev
=program_suffix
;;
918 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
919 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
920 program_suffix
=$ac_optarg ;;
922 -program-transform-name |
--program-transform-name \
923 |
--program-transform-nam |
--program-transform-na \
924 |
--program-transform-n |
--program-transform- \
925 |
--program-transform |
--program-transfor \
926 |
--program-transfo |
--program-transf \
927 |
--program-trans |
--program-tran \
928 |
--progr-tra |
--program-tr |
--program-t)
929 ac_prev
=program_transform_name
;;
930 -program-transform-name=* |
--program-transform-name=* \
931 |
--program-transform-nam=* |
--program-transform-na=* \
932 |
--program-transform-n=* |
--program-transform-=* \
933 |
--program-transform=* |
--program-transfor=* \
934 |
--program-transfo=* |
--program-transf=* \
935 |
--program-trans=* |
--program-tran=* \
936 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
937 program_transform_name
=$ac_optarg ;;
939 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
941 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
944 -psdir |
--psdir |
--psdi |
--psd |
--ps)
946 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
949 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
950 |
-silent |
--silent |
--silen |
--sile |
--sil)
953 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
955 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
957 sbindir
=$ac_optarg ;;
959 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
960 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
961 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
963 ac_prev
=sharedstatedir
;;
964 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
965 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
966 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
968 sharedstatedir
=$ac_optarg ;;
970 -site |
--site |
--sit)
972 -site=* |
--site=* |
--sit=*)
975 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
977 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
980 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
981 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
982 ac_prev
=sysconfdir
;;
983 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
984 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
985 sysconfdir
=$ac_optarg ;;
987 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
988 ac_prev
=target_alias
;;
989 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
990 target_alias
=$ac_optarg ;;
992 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
995 -version |
--version |
--versio |
--versi |
--vers |
-V)
999 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1000 # Reject names that are not valid shell variable names.
1001 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1002 { echo "$as_me: error: invalid package name: $ac_package" >&2
1003 { (exit 1); exit 1; }; }
1004 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1005 eval with_
$ac_package=\
$ac_optarg ;;
1007 -without-* |
--without-*)
1008 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1009 # Reject names that are not valid shell variable names.
1010 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1011 { echo "$as_me: error: invalid package name: $ac_package" >&2
1012 { (exit 1); exit 1; }; }
1013 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1014 eval with_
$ac_package=no
;;
1017 # Obsolete; use --with-x.
1020 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1021 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1022 ac_prev
=x_includes
;;
1023 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1024 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1025 x_includes
=$ac_optarg ;;
1027 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1028 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1029 ac_prev
=x_libraries
;;
1030 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1031 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1032 x_libraries
=$ac_optarg ;;
1034 -*) { echo "$as_me: error: unrecognized option: $ac_option
1035 Try \`$0 --help' for more information." >&2
1036 { (exit 1); exit 1; }; }
1040 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1041 # Reject names that are not valid shell variable names.
1042 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1043 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1044 { (exit 1); exit 1; }; }
1045 eval $ac_envvar=\
$ac_optarg
1046 export $ac_envvar ;;
1049 # FIXME: should be removed in autoconf 3.0.
1050 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1051 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1052 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1053 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1059 if test -n "$ac_prev"; then
1060 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1061 { echo "$as_me: error: missing argument to $ac_option" >&2
1062 { (exit 1); exit 1; }; }
1065 # Be sure to have absolute directory names.
1066 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1067 datadir sysconfdir sharedstatedir localstatedir includedir \
1068 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1069 libdir localedir mandir
1071 eval ac_val
=\$
$ac_var
1073 [\\/$
]* | ?
:[\\/]* ) continue;;
1074 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1076 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1077 { (exit 1); exit 1; }; }
1080 # There might be people who depend on the old broken behavior: `$host'
1081 # used to hold the argument of --host etc.
1082 # FIXME: To remove some day.
1085 target
=$target_alias
1087 # FIXME: To remove some day.
1088 if test "x$host_alias" != x
; then
1089 if test "x$build_alias" = x
; then
1090 cross_compiling
=maybe
1091 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1092 If a cross compiler is detected then cross compile mode will be used." >&2
1093 elif test "x$build_alias" != "x$host_alias"; then
1099 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1101 test "$silent" = yes && exec 6>/dev
/null
1104 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1105 ac_ls_di
=`ls -di .` &&
1106 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1107 { echo "$as_me: error: Working directory cannot be determined" >&2
1108 { (exit 1); exit 1; }; }
1109 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1110 { echo "$as_me: error: pwd does not report name of working directory" >&2
1111 { (exit 1); exit 1; }; }
1114 # Find the source files, if location was not specified.
1115 if test -z "$srcdir"; then
1116 ac_srcdir_defaulted
=yes
1117 # Try the directory containing this script, then the parent directory.
1118 ac_confdir
=`$as_dirname -- "$0" ||
1119 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1120 X"$0" : 'X\(//\)[^/]' \| \
1121 X"$0" : 'X\(//\)$' \| \
1122 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1124 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1142 if test ! -r "$srcdir/$ac_unique_file"; then
1146 ac_srcdir_defaulted
=no
1148 if test ! -r "$srcdir/$ac_unique_file"; then
1149 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1150 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1151 { (exit 1); exit 1; }; }
1153 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1155 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1156 { (exit 1); exit 1; }; }
1158 # When building in place, set srcdir=.
1159 if test "$ac_abs_confdir" = "$ac_pwd"; then
1162 # Remove unnecessary trailing slashes from srcdir.
1163 # Double slashes in file names in object file debugging info
1164 # mess up M-x gdb in Emacs.
1166 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1168 for ac_var
in $ac_precious_vars; do
1169 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1170 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1171 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1172 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1176 # Report the --help message.
1178 if test "$ac_init_help" = "long"; then
1179 # Omit some internal or obsolete options to make the list less imposing.
1180 # This message is too long to be a string in the A/UX 3.1 sh.
1182 \`configure' configures this package to adapt to many kinds of systems.
1184 Usage: $0 [OPTION]... [VAR=VALUE]...
1186 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1187 VAR=VALUE. See below for descriptions of some of the useful variables.
1189 Defaults for the options are specified in brackets.
1192 -h, --help display this help and exit
1193 --help=short display options specific to this package
1194 --help=recursive display the short help of all the included packages
1195 -V, --version display version information and exit
1196 -q, --quiet, --silent do not print \`checking...' messages
1197 --cache-file=FILE cache test results in FILE [disabled]
1198 -C, --config-cache alias for \`--cache-file=config.cache'
1199 -n, --no-create do not create output files
1200 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1202 Installation directories:
1203 --prefix=PREFIX install architecture-independent files in PREFIX
1204 [$ac_default_prefix]
1205 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1208 By default, \`make install' will install all the files in
1209 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1210 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1211 for instance \`--prefix=\$HOME'.
1213 For better control, use the options below.
1215 Fine tuning of the installation directories:
1216 --bindir=DIR user executables [EPREFIX/bin]
1217 --sbindir=DIR system admin executables [EPREFIX/sbin]
1218 --libexecdir=DIR program executables [EPREFIX/libexec]
1219 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1220 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1221 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1222 --libdir=DIR object code libraries [EPREFIX/lib]
1223 --includedir=DIR C header files [PREFIX/include]
1224 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1225 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1226 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1227 --infodir=DIR info documentation [DATAROOTDIR/info]
1228 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1229 --mandir=DIR man documentation [DATAROOTDIR/man]
1230 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1231 --htmldir=DIR html documentation [DOCDIR]
1232 --dvidir=DIR dvi documentation [DOCDIR]
1233 --pdfdir=DIR pdf documentation [DOCDIR]
1234 --psdir=DIR ps documentation [DOCDIR]
1241 if test -n "$ac_init_help"; then
1246 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1247 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1248 --enable-etags enable the installation of links
for etags
1249 --disable-extended-format
1250 disable extension flags
; use original ctags
file
1252 --disable-external-sort use internal
sort algorithm instead of
sort program
1253 --enable-custom-config=FILE
1254 enable custom config
file for site-wide defaults
1255 --enable-macro-patterns use patterns as default method to
locate macros
1256 instead of line numbers
1257 --enable-maintainer-mode
1258 use maintainer makefile
1259 --enable-shell-globbing=DIR
1260 does shell
expand wildcards
(yes|no
)?
yes
1261 --enable-tmpdir=DIR default directory
for temporary files ARG
=/tmp
1264 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1265 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1266 --with-posix-regex use Posix regex interface
, if available
1267 --with-readlib include readtags library object during
install
1269 Some influential environment variables
:
1270 CC C compiler
command
1271 CFLAGS C compiler flags
1272 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1273 nonstandard directory
<lib dir
>
1274 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1275 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1276 you have headers
in a nonstandard directory
<include dir
>
1279 Use these variables to override the choices made by
`configure' or to help
1280 it to find libraries and programs with nonstandard names/locations.
1286 if test "$ac_init_help" = "recursive"; then
1287 # If there are subdirs, report their specific --help.
1288 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1289 test -d "$ac_dir" || continue
1293 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1295 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1296 # A ".." for each directory in $ac_dir_suffix.
1297 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1298 case $ac_top_builddir_sub in
1299 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1300 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1303 ac_abs_top_builddir=$ac_pwd
1304 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1305 # for backward compatibility:
1306 ac_top_builddir=$ac_top_build_prefix
1309 .) # We are building in place.
1311 ac_top_srcdir=$ac_top_builddir_sub
1312 ac_abs_top_srcdir=$ac_pwd ;;
1313 [\\/]* | ?:[\\/]* ) # Absolute name.
1314 ac_srcdir=$srcdir$ac_dir_suffix;
1315 ac_top_srcdir=$srcdir
1316 ac_abs_top_srcdir=$srcdir ;;
1318 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1319 ac_top_srcdir=$ac_top_build_prefix$srcdir
1320 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1322 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1324 cd "$ac_dir" || { ac_status=$?; continue; }
1325 # Check for guested configure.
1326 if test -f "$ac_srcdir/configure.gnu"; then
1328 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1329 elif test -f "$ac_srcdir/configure"; then
1331 $SHELL "$ac_srcdir/configure" --help=recursive
1333 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1335 cd "$ac_pwd" || { ac_status=$?; break; }
1339 test -n "$ac_init_help" && exit $ac_status
1340 if $ac_init_version; then
1343 generated by GNU Autoconf 2.61
1345 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1346 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1347 This configure script is free software; the Free Software Foundation
1348 gives unlimited permission to copy, distribute and modify it.
1352 cat >config.log <<_ACEOF
1353 This file contains any messages produced by compilers while
1354 running configure, to aid debugging if configure makes a mistake.
1356 It was created by $as_me, which was
1357 generated by GNU Autoconf 2.61. Invocation command line was
1369 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1370 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1371 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1372 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1373 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1375 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1376 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1378 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1379 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1380 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1381 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1382 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1383 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1384 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1392 test -z "$as_dir" && as_dir=.
1393 echo "PATH: $as_dir"
1409 # Keep a trace of the command line.
1410 # Strip out --no-create and --no-recursion so they do not pile up.
1411 # Strip out --silent because we don't want to record it for future runs.
1412 # Also quote any args containing shell meta-characters.
1413 # Make two passes to allow for proper duplicate-argument suppression.
1417 ac_must_keep_next=false
1423 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1424 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1425 | -silent | --silent | --silen | --sile | --sil)
1428 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1431 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1433 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1434 if test $ac_must_keep_next = true; then
1435 ac_must_keep_next=false # Got value, back to normal.
1438 *=* | --config-cache | -C | -disable-* | --disable-* \
1439 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1440 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1441 | -with-* | --with-* | -without-* | --without-* | --x)
1442 case "$ac_configure_args0 " in
1443 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1446 -* ) ac_must_keep_next=true ;;
1449 ac_configure_args="$ac_configure_args '$ac_arg'"
1454 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1455 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1457 # When interrupted or exit'd, cleanup temporary files, and complete
1458 # config.log. We remove comments because anyway the quotes in there
1459 # would cause problems or look ugly.
1460 # WARNING: Use '\'' to represent an apostrophe within the trap.
1461 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1462 trap 'exit_status=$?
1463 # Save into config.log some information that might help in debugging.
1468 ## ---------------- ##
1469 ## Cache variables. ##
1470 ## ---------------- ##
1473 # The following way of writing the cache mishandles newlines in values,
1475 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1476 eval ac_val=\$$ac_var
1480 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1481 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1484 _ | IFS | as_nl) ;; #(
1485 *) $as_unset $ac_var ;;
1490 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1491 *${as_nl}ac_space=\ *)
1493 "s/'\''/'\''\\\\'\'''\''/g;
1494 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1497 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1505 ## ----------------- ##
1506 ## Output variables. ##
1507 ## ----------------- ##
1510 for ac_var in $ac_subst_vars
1512 eval ac_val=\$$ac_var
1514 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1516 echo "$ac_var='\''$ac_val'\''"
1520 if test -n "$ac_subst_files"; then
1522 ## ------------------- ##
1523 ## File substitutions. ##
1524 ## ------------------- ##
1527 for ac_var in $ac_subst_files
1529 eval ac_val=\$$ac_var
1531 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1533 echo "$ac_var='\''$ac_val'\''"
1538 if test -s confdefs.h; then
1548 test "$ac_signal" != 0 &&
1549 echo "$as_me: caught signal $ac_signal"
1550 echo "$as_me: exit $exit_status"
1552 rm -f core *.core core.conftest.* &&
1553 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1556 for ac_signal in 1 2 13 15; do
1557 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1561 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1562 rm -f -r conftest* confdefs.h
1564 # Predefined preprocessor variables.
1566 cat >>confdefs.h <<_ACEOF
1567 #define PACKAGE_NAME "$PACKAGE_NAME"
1571 cat >>confdefs.h <<_ACEOF
1572 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1576 cat >>confdefs.h <<_ACEOF
1577 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1581 cat >>confdefs.h <<_ACEOF
1582 #define PACKAGE_STRING "$PACKAGE_STRING"
1586 cat >>confdefs.h <<_ACEOF
1587 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1591 # Let the site file select an alternate cache file if it wants to.
1592 # Prefer explicitly selected file to automatically selected ones.
1593 if test -n "$CONFIG_SITE"; then
1594 set x "$CONFIG_SITE"
1595 elif test "x$prefix" != xNONE; then
1596 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1598 set x "$ac_default_prefix/share/config.site" \
1599 "$ac_default_prefix/etc/config.site"
1604 if test -r "$ac_site_file"; then
1605 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1606 echo "$as_me: loading site script $ac_site_file" >&6;}
1607 sed 's/^/| /' "$ac_site_file" >&5
1612 if test -r "$cache_file"; then
1613 # Some versions of bash will fail to source /dev/null (special
1614 # files actually), so we avoid doing that.
1615 if test -f "$cache_file"; then
1616 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1617 echo "$as_me: loading cache $cache_file" >&6;}
1619 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1620 *) . "./$cache_file";;
1624 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1625 echo "$as_me: creating cache $cache_file" >&6;}
1629 ac_header_list="$ac_header_list dirent.h"
1630 ac_header_list="$ac_header_list fcntl.h"
1631 ac_header_list="$ac_header_list fnmatch.h"
1632 ac_header_list="$ac_header_list stat.h"
1633 ac_header_list="$ac_header_list stdlib.h"
1634 ac_header_list="$ac_header_list string.h"
1635 ac_header_list="$ac_header_list time.h"
1636 ac_header_list="$ac_header_list types.h"
1637 ac_header_list="$ac_header_list unistd.h"
1638 ac_header_list="$ac_header_list sys/dir.h"
1639 ac_header_list="$ac_header_list sys/stat.h"
1640 ac_header_list="$ac_header_list sys/times.h"
1641 ac_header_list="$ac_header_list sys/types.h"
1642 # Check that the precious variables saved in the cache have kept the same
1644 ac_cache_corrupted=false
1645 for ac_var in $ac_precious_vars; do
1646 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1647 eval ac_new_set=\$ac_env_${ac_var}_set
1648 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1649 eval ac_new_val=\$ac_env_${ac_var}_value
1650 case $ac_old_set,$ac_new_set in
1652 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1653 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1654 ac_cache_corrupted=: ;;
1656 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1657 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1658 ac_cache_corrupted=: ;;
1661 if test "x$ac_old_val" != "x$ac_new_val"; then
1662 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1663 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1664 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1665 echo "$as_me: former value
: $ac_old_val" >&2;}
1666 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1667 echo "$as_me: current value
: $ac_new_val" >&2;}
1668 ac_cache_corrupted=:
1671 # Pass precious variables to config.status.
1672 if test "$ac_new_set" = set; then
1674 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1675 *) ac_arg=$ac_var=$ac_new_val ;;
1677 case " $ac_configure_args " in
1678 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1679 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1683 if $ac_cache_corrupted; then
1684 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1685 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1686 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1687 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1688 { (exit 1); exit 1; }; }
1708 ac_cpp='$CPP $CPPFLAGS'
1709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1714 ac_config_headers="$ac_config_headers config.h"
1778 # Report system info
1779 # ------------------
1780 program_name=`grep 'PROGRAM_NAME *"' ctags.h |
sed -e 's/.*"\([^"]*\)".*/\1/'`
1781 program_version=`grep 'PROGRAM_VERSION *"' ctags.h |
sed -e 's/.*"\([^"]*\)".*/\1/'`
1782 echo "$program_name, version $program_version"
1783 uname -mrsv 2>/dev/null
1785 # Define convenience macros
1786 # -------------------------
1787 # CHECK_HEADER_DEFINE(LABEL, HEADER [,ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ] ])
1790 # Checks for configuration options
1791 # --------------------------------
1794 # Check whether --with-posix-regex was given.
1795 if test "${with_posix_regex+set}" = set; then
1796 withval=$with_posix_regex;
1801 # Check whether --with-readlib was given.
1802 if test "${with_readlib+set}" = set; then
1803 withval=$with_readlib;
1807 # AC_ARG_WITH(perl-regex,
1808 # [ --with-perl-regex use Perl pcre interface, if available])
1810 # Check whether --enable-etags was given.
1811 if test "${enable_etags+set}" = set; then
1812 enableval=$enable_etags;
1816 # Check whether --enable-extended-format was given.
1817 if test "${enable_extended_format+set}" = set; then
1818 enableval=$enable_extended_format; cat >>confdefs.h <<\_ACEOF
1819 #define DEFAULT_FILE_FORMAT 1
1823 cat >>confdefs.h <<\_ACEOF
1824 #define DEFAULT_FILE_FORMAT 2
1830 # Check whether --enable-external-sort was given.
1831 if test "${enable_external_sort+set}" = set; then
1832 enableval=$enable_external_sort;
1836 # Check whether --enable-custom-config was given.
1837 if test "${enable_custom_config+set}" = set; then
1838 enableval=$enable_custom_config;
1842 # Check whether --enable-macro-patterns was given.
1843 if test "${enable_macro_patterns+set}" = set; then
1844 enableval=$enable_macro_patterns;
1848 # Check whether --enable-maintainer-mode was given.
1849 if test "${enable_maintainer_mode+set}" = set; then
1850 enableval=$enable_maintainer_mode;
1854 # Check whether --enable-shell-globbing was given.
1855 if test "${enable_shell_globbing+set}" = set; then
1856 enableval=$enable_shell_globbing;
1860 # Check whether --enable-tmpdir was given.
1861 if test "${enable_tmpdir+set}" = set; then
1862 enableval=$enable_tmpdir; tmpdir_specified=yes
1867 # Process configuration options
1868 # -----------------------------
1870 if test "$enable_maintainer_mode" = yes ; then
1871 { echo "$as_me:$LINENO: result: enabling maintainer mode" >&5
1872 echo "${ECHO_T}enabling maintainer mode" >&6; }
1875 install_targets="install-ctags"
1876 { echo "$as_me:$LINENO: checking whether to install link to etags" >&5
1877 echo $ECHO_N "checking whether to install link to etags... $ECHO_C" >&6; }
1878 if test yes = "$enable_etags"; then
1879 { echo "$as_me:$LINENO: result: yes" >&5
1880 echo "${ECHO_T}yes" >&6; }
1881 install_targets="$install_targets install-etags"
1883 { echo "$as_me:$LINENO: result: no" >&5
1884 echo "${ECHO_T}no" >&6; }
1886 { echo "$as_me:$LINENO: checking whether to install readtags object file" >&5
1887 echo $ECHO_N "checking whether to install readtags object file... $ECHO_C" >&6; }
1888 if test yes = "$with_readlib"; then
1889 { echo "$as_me:$LINENO: result: yes" >&5
1890 echo "${ECHO_T}yes" >&6; }
1891 install_targets="$install_targets install-lib"
1893 { echo "$as_me:$LINENO: result: no" >&5
1894 echo "${ECHO_T}no" >&6; }
1898 if test "$enable_custom_config" = no -o "$enable_custom_config" = yes ; then
1899 { echo "$as_me:$LINENO: result: no name supplied for custom configuration file" >&5
1900 echo "${ECHO_T}no name supplied for custom configuration file" >&6; }
1901 elif test -n "$enable_custom_config" ; then
1902 cat >>confdefs.h <<_ACEOF
1903 #define CUSTOM_CONFIGURATION_FILE "$enable_custom_config"
1906 { echo "$as_me:$LINENO: result: $enable_custom_config will be used as custom configuration file" >&5
1907 echo "${ECHO_T}$enable_custom_config will be used as custom configuration file" >&6; }
1910 if test "$enable_macro_patterns" = yes ; then
1911 cat >>confdefs.h <<\_ACEOF
1912 #define MACROS_USE_PATTERNS 1
1915 { echo "$as_me:$LINENO: result: tag file will use patterns for macros by default" >&5
1916 echo "${ECHO_T}tag file will use patterns for macros by default" >&6; }
1919 # Checks for programs
1920 # -------------------
1923 ac_cpp='$CPP $CPPFLAGS'
1924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1927 if test -n "$ac_tool_prefix"; then
1928 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1929 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1930 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1932 if test "${ac_cv_prog_CC+set}" = set; then
1933 echo $ECHO_N "(cached) $ECHO_C" >&6
1935 if test -n "$CC"; then
1936 ac_cv_prog_CC="$CC" # Let the user override the test.
1938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1942 test -z "$as_dir" && as_dir=.
1943 for ac_exec_ext in '' $ac_executable_extensions; do
1944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1945 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1956 if test -n "$CC"; then
1957 { echo "$as_me:$LINENO: result: $CC" >&5
1958 echo "${ECHO_T}$CC" >&6; }
1960 { echo "$as_me:$LINENO: result: no" >&5
1961 echo "${ECHO_T}no" >&6; }
1966 if test -z "$ac_cv_prog_CC"; then
1968 # Extract the first word of "gcc", so it can be a program name with args.
1969 set dummy gcc; ac_word=$2
1970 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1972 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1973 echo $ECHO_N "(cached) $ECHO_C" >&6
1975 if test -n "$ac_ct_CC"; then
1976 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1982 test -z "$as_dir" && as_dir=.
1983 for ac_exec_ext in '' $ac_executable_extensions; do
1984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1985 ac_cv_prog_ac_ct_CC="gcc"
1986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1995 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1996 if test -n "$ac_ct_CC"; then
1997 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1998 echo "${ECHO_T}$ac_ct_CC" >&6; }
2000 { echo "$as_me:$LINENO: result: no" >&5
2001 echo "${ECHO_T}no" >&6; }
2004 if test "x$ac_ct_CC" = x; then
2007 case $cross_compiling:$ac_tool_warned in
2009 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2010 whose name does not start with the host triplet. If you think this
2011 configuration is useful to you, please write to autoconf@gnu.org." >&5
2012 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2013 whose name does not start with the host triplet. If you think this
2014 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2015 ac_tool_warned=yes ;;
2023 if test -z "$CC"; then
2024 if test -n "$ac_tool_prefix"; then
2025 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2026 set dummy ${ac_tool_prefix}cc; ac_word=$2
2027 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2029 if test "${ac_cv_prog_CC+set}" = set; then
2030 echo $ECHO_N "(cached) $ECHO_C" >&6
2032 if test -n "$CC"; then
2033 ac_cv_prog_CC="$CC" # Let the user override the test.
2035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2039 test -z "$as_dir" && as_dir=.
2040 for ac_exec_ext in '' $ac_executable_extensions; do
2041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2042 ac_cv_prog_CC="${ac_tool_prefix}cc"
2043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2053 if test -n "$CC"; then
2054 { echo "$as_me:$LINENO: result: $CC" >&5
2055 echo "${ECHO_T}$CC" >&6; }
2057 { echo "$as_me:$LINENO: result: no" >&5
2058 echo "${ECHO_T}no" >&6; }
2064 if test -z "$CC"; then
2065 # Extract the first word of "cc", so it can be a program name with args.
2066 set dummy cc; ac_word=$2
2067 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2069 if test "${ac_cv_prog_CC+set}" = set; then
2070 echo $ECHO_N "(cached) $ECHO_C" >&6
2072 if test -n "$CC"; then
2073 ac_cv_prog_CC="$CC" # Let the user override the test.
2076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2080 test -z "$as_dir" && as_dir=.
2081 for ac_exec_ext in '' $ac_executable_extensions; do
2082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2083 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2084 ac_prog_rejected=yes
2088 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2095 if test $ac_prog_rejected = yes; then
2096 # We found a bogon in the path, so make sure we never use it.
2097 set dummy $ac_cv_prog_CC
2099 if test $# != 0; then
2100 # We chose a different compiler from the bogus one.
2101 # However, it has the same basename, so the bogon will be chosen
2102 # first if we set CC to just the basename; use the full file name.
2104 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2110 if test -n "$CC"; then
2111 { echo "$as_me:$LINENO: result: $CC" >&5
2112 echo "${ECHO_T}$CC" >&6; }
2114 { echo "$as_me:$LINENO: result: no" >&5
2115 echo "${ECHO_T}no" >&6; }
2120 if test -z "$CC"; then
2121 if test -n "$ac_tool_prefix"; then
2122 for ac_prog in cl.exe
2124 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2125 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2126 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2128 if test "${ac_cv_prog_CC+set}" = set; then
2129 echo $ECHO_N "(cached) $ECHO_C" >&6
2131 if test -n "$CC"; then
2132 ac_cv_prog_CC="$CC" # Let the user override the test.
2134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2138 test -z "$as_dir" && as_dir=.
2139 for ac_exec_ext in '' $ac_executable_extensions; do
2140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2141 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2152 if test -n "$CC"; then
2153 { echo "$as_me:$LINENO: result: $CC" >&5
2154 echo "${ECHO_T}$CC" >&6; }
2156 { echo "$as_me:$LINENO: result: no" >&5
2157 echo "${ECHO_T}no" >&6; }
2161 test -n "$CC" && break
2164 if test -z "$CC"; then
2166 for ac_prog in cl.exe
2168 # Extract the first word of "$ac_prog", so it can be a program name with args.
2169 set dummy $ac_prog; ac_word=$2
2170 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2172 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2173 echo $ECHO_N "(cached) $ECHO_C" >&6
2175 if test -n "$ac_ct_CC"; then
2176 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2182 test -z "$as_dir" && as_dir=.
2183 for ac_exec_ext in '' $ac_executable_extensions; do
2184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2185 ac_cv_prog_ac_ct_CC="$ac_prog"
2186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2195 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2196 if test -n "$ac_ct_CC"; then
2197 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2198 echo "${ECHO_T}$ac_ct_CC" >&6; }
2200 { echo "$as_me:$LINENO: result: no" >&5
2201 echo "${ECHO_T}no" >&6; }
2205 test -n "$ac_ct_CC" && break
2208 if test "x$ac_ct_CC" = x; then
2211 case $cross_compiling:$ac_tool_warned in
2213 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2214 whose name does not start with the host triplet. If you think this
2215 configuration is useful to you, please write to autoconf@gnu.org." >&5
2216 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2217 whose name does not start with the host triplet. If you think this
2218 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2219 ac_tool_warned=yes ;;
2228 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2229 See \`config.log
' for more details." >&5
2230 echo "$as_me: error: no acceptable C compiler found in \$PATH
2231 See \`config.log' for more details.
" >&2;}
2232 { (exit 1); exit 1; }; }
2234 # Provide some information about the compiler.
2235 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2236 ac_compiler=`set X $ac_compile; echo $2`
2237 { (ac_try="$ac_compiler --version >&5"
2239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2240 *) ac_try_echo=$ac_try;;
2242 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2243 (eval "$ac_compiler --version >&5") 2>&5
2245 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2246 (exit $ac_status); }
2247 { (ac_try="$ac_compiler -v >&5"
2249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2250 *) ac_try_echo=$ac_try;;
2252 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2253 (eval "$ac_compiler -v >&5") 2>&5
2255 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2256 (exit $ac_status); }
2257 { (ac_try="$ac_compiler -V >&5"
2259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2260 *) ac_try_echo=$ac_try;;
2262 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2263 (eval "$ac_compiler -V >&5") 2>&5
2265 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2266 (exit $ac_status); }
2268 cat >conftest.$ac_ext <<_ACEOF
2271 cat confdefs.h >>conftest.$ac_ext
2272 cat >>conftest.$ac_ext <<_ACEOF
2273 /* end confdefs.h. */
2283 ac_clean_files_save=$ac_clean_files
2284 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2285 # Try to create an executable without -o first, disregard a.out.
2286 # It will help us diagnose broken compilers, and finding out an intuition
2288 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2289 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2290 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2292 # List of possible output files, starting from the most likely.
2293 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2294 # only as a last resort. b.out is created by i960 compilers.
2295 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2297 # The IRIX 6 linker writes into existing files which may not be
2298 # executable, retaining their permissions. Remove them first so a
2299 # subsequent execution test works.
2301 for ac_file in $ac_files
2304 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2305 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2310 if { (ac_try="$ac_link_default"
2312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2313 *) ac_try_echo=$ac_try;;
2315 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2316 (eval "$ac_link_default") 2>&5
2318 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2319 (exit $ac_status); }; then
2320 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2321 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2322 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2323 # so that the user can short-circuit this test for compilers unknown to
2325 for ac_file in $ac_files ''
2327 test -f "$ac_file" || continue
2329 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2332 # We found the default executable, but exeext='' is most
2336 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2338 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2340 # We set ac_cv_exeext here because the later test for it is not
2341 # safe: cross compilers may not add the suffix if given an `-o'
2342 # argument, so we may need to know it at that point already.
2343 # Even if this section looks crufty: it has the advantage of
2350 test "$ac_cv_exeext" = no && ac_cv_exeext=
2356 { echo "$as_me:$LINENO: result
: $ac_file" >&5
2357 echo "${ECHO_T}$ac_file" >&6; }
2358 if test -z "$ac_file"; then
2359 echo "$as_me: failed program was
:" >&5
2360 sed 's/^/| /' conftest.$ac_ext >&5
2362 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2363 See \
`config.log' for more details." >&5
2364 echo "$as_me: error: C compiler cannot create executables
2365 See \`config.log
' for more details." >&2;}
2366 { (exit 77); exit 77; }; }
2369 ac_exeext=$ac_cv_exeext
2371 # Check that the compiler produces executables we can run. If not, either
2372 # the compiler is broken, or we cross compile.
2373 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2374 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2375 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2376 # If not cross compiling, check that we can run a simple program.
2377 if test "$cross_compiling" != yes; then
2378 if { ac_try='.
/$ac_file'
2379 { (case "(($ac_try" in
2380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2381 *) ac_try_echo=$ac_try;;
2383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2384 (eval "$ac_try") 2>&5
2386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2387 (exit $ac_status); }; }; then
2390 if test "$cross_compiling" = maybe; then
2393 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2394 If you meant to cross compile, use \`--host'.
2395 See \
`config.log' for more details." >&5
2396 echo "$as_me: error: cannot run C compiled programs.
2397 If you meant to cross compile, use \`--host'.
2398 See \`config.log' for more details.
" >&2;}
2399 { (exit 1); exit 1; }; }
2403 { echo "$as_me:$LINENO: result
: yes" >&5
2404 echo "${ECHO_T}yes" >&6; }
2406 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2407 ac_clean_files=$ac_clean_files_save
2408 # Check that the compiler produces executables we can run. If not, either
2409 # the compiler is broken, or we cross compile.
2410 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2411 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2412 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2413 echo "${ECHO_T}$cross_compiling" >&6; }
2415 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2416 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2417 if { (ac_try="$ac_link"
2419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2420 *) ac_try_echo=$ac_try;;
2422 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2423 (eval "$ac_link") 2>&5
2425 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2426 (exit $ac_status); }; then
2427 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2428 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2429 # work properly (i.e., refer to `conftest.exe'), while it won't with
2431 for ac_file in conftest.exe conftest conftest.*; do
2432 test -f "$ac_file" || continue
2434 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2435 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2441 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2442 See \
`config.log' for more details." >&5
2443 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2444 See \`config.log
' for more details." >&2;}
2445 { (exit 1); exit 1; }; }
2448 rm -f conftest$ac_cv_exeext
2449 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2450 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2452 rm -f conftest.$ac_ext
2453 EXEEXT=$ac_cv_exeext
2455 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2456 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2457 if test "${ac_cv_objext+set}" = set; then
2458 echo $ECHO_N "(cached) $ECHO_C" >&6
2460 cat >conftest.$ac_ext <<_ACEOF
2463 cat confdefs.h >>conftest.$ac_ext
2464 cat >>conftest.$ac_ext <<_ACEOF
2465 /* end confdefs.h. */
2475 rm -f conftest.o conftest.obj
2476 if { (ac_try="$ac_compile"
2478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2479 *) ac_try_echo=$ac_try;;
2481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2482 (eval "$ac_compile") 2>&5
2484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2485 (exit $ac_status); }; then
2486 for ac_file in conftest.o conftest.obj conftest.*; do
2487 test -f "$ac_file" || continue;
2489 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2490 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2495 echo "$as_me: failed program was:" >&5
2496 sed 's
/^
/|
/' conftest.$ac_ext >&5
2498 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2499 See \`config.log' for more details.
" >&5
2500 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2501 See \
`config.log' for more details." >&2;}
2502 { (exit 1); exit 1; }; }
2505 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2507 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2508 echo "${ECHO_T}$ac_cv_objext" >&6; }
2509 OBJEXT=$ac_cv_objext
2511 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2512 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2513 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2514 echo $ECHO_N "(cached) $ECHO_C" >&6
2516 cat >conftest.$ac_ext <<_ACEOF
2519 cat confdefs.h >>conftest.$ac_ext
2520 cat >>conftest.$ac_ext <<_ACEOF
2521 /* end confdefs.h. */
2534 rm -f conftest.$ac_objext
2535 if { (ac_try="$ac_compile"
2537 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2538 *) ac_try_echo
=$ac_try;;
2540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2541 (eval "$ac_compile") 2>conftest.er1
2543 grep -v '^ *+' conftest.er1
>conftest.err
2545 cat conftest.err
>&5
2546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2547 (exit $ac_status); } && {
2548 test -z "$ac_c_werror_flag" ||
2549 test ! -s conftest.err
2550 } && test -s conftest.
$ac_objext; then
2553 echo "$as_me: failed program was:" >&5
2554 sed 's/^/| /' conftest.
$ac_ext >&5
2559 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2560 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2563 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2564 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2565 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2566 ac_test_CFLAGS
=${CFLAGS+set}
2567 ac_save_CFLAGS
=$CFLAGS
2568 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2569 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2570 if test "${ac_cv_prog_cc_g+set}" = set; then
2571 echo $ECHO_N "(cached) $ECHO_C" >&6
2573 ac_save_c_werror_flag
=$ac_c_werror_flag
2574 ac_c_werror_flag
=yes
2577 cat >conftest.
$ac_ext <<_ACEOF
2580 cat confdefs.h
>>conftest.
$ac_ext
2581 cat >>conftest.
$ac_ext <<_ACEOF
2582 /* end confdefs.h. */
2592 rm -f conftest.
$ac_objext
2593 if { (ac_try
="$ac_compile"
2595 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2596 *) ac_try_echo=$ac_try;;
2598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2599 (eval "$ac_compile") 2>conftest.er1
2601 grep -v '^ *+' conftest.er1 >conftest.err
2603 cat conftest.err >&5
2604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2605 (exit $ac_status); } && {
2606 test -z "$ac_c_werror_flag" ||
2607 test ! -s conftest.err
2608 } && test -s conftest.$ac_objext; then
2611 echo "$as_me: failed program was:" >&5
2612 sed 's/^/| /' conftest.$ac_ext >&5
2615 cat >conftest.$ac_ext <<_ACEOF
2618 cat confdefs.h >>conftest.$ac_ext
2619 cat >>conftest.$ac_ext <<_ACEOF
2620 /* end confdefs.h. */
2630 rm -f conftest.$ac_objext
2631 if { (ac_try="$ac_compile"
2633 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2634 *) ac_try_echo
=$ac_try;;
2636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2637 (eval "$ac_compile") 2>conftest.er1
2639 grep -v '^ *+' conftest.er1
>conftest.err
2641 cat conftest.err
>&5
2642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2643 (exit $ac_status); } && {
2644 test -z "$ac_c_werror_flag" ||
2645 test ! -s conftest.err
2646 } && test -s conftest.
$ac_objext; then
2649 echo "$as_me: failed program was:" >&5
2650 sed 's/^/| /' conftest.
$ac_ext >&5
2652 ac_c_werror_flag
=$ac_save_c_werror_flag
2654 cat >conftest.
$ac_ext <<_ACEOF
2657 cat confdefs.h
>>conftest.
$ac_ext
2658 cat >>conftest.
$ac_ext <<_ACEOF
2659 /* end confdefs.h. */
2669 rm -f conftest.
$ac_objext
2670 if { (ac_try
="$ac_compile"
2672 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2673 *) ac_try_echo=$ac_try;;
2675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2676 (eval "$ac_compile") 2>conftest.er1
2678 grep -v '^ *+' conftest.er1 >conftest.err
2680 cat conftest.err >&5
2681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2682 (exit $ac_status); } && {
2683 test -z "$ac_c_werror_flag" ||
2684 test ! -s conftest.err
2685 } && test -s conftest.$ac_objext; then
2688 echo "$as_me: failed program was:" >&5
2689 sed 's/^/| /' conftest.$ac_ext >&5
2694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2701 ac_c_werror_flag=$ac_save_c_werror_flag
2703 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2704 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2705 if test "$ac_test_CFLAGS" = set; then
2706 CFLAGS=$ac_save_CFLAGS
2707 elif test $ac_cv_prog_cc_g = yes; then
2708 if test "$GCC" = yes; then
2714 if test "$GCC" = yes; then
2720 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2721 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2722 if test "${ac_cv_prog_cc_c89+set}" = set; then
2723 echo $ECHO_N "(cached) $ECHO_C" >&6
2725 ac_cv_prog_cc_c89=no
2727 cat >conftest.$ac_ext <<_ACEOF
2730 cat confdefs.h >>conftest.$ac_ext
2731 cat >>conftest.$ac_ext <<_ACEOF
2732 /* end confdefs.h. */
2735 #include <sys/types.h>
2736 #include <sys/stat.h>
2737 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2738 struct buf { int x; };
2739 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2740 static char *e (p, i)
2746 static char *f (char * (*g) (char **, int), char **p, ...)
2751 s = g (p, va_arg (v,int));
2756 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2757 function prototypes and stuff, but not '\xHH' hex character constants.
2758 These don't provoke an error unfortunately, instead are silently treated
2759 as 'x'. The following induces an error, until -std is added to get
2760 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2761 array size at least. It's necessary to write '\x00'==0 to get something
2762 that's true only with -std. */
2763 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2765 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2766 inside strings and character constants. */
2768 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2770 int test (int i, double x);
2771 struct s1 {int (*f) (int a);};
2772 struct s2 {int (*f) (double a);};
2773 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2779 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2784 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2785 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2787 CC="$ac_save_CC $ac_arg"
2788 rm -f conftest.$ac_objext
2789 if { (ac_try="$ac_compile"
2791 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2792 *) ac_try_echo
=$ac_try;;
2794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2795 (eval "$ac_compile") 2>conftest.er1
2797 grep -v '^ *+' conftest.er1
>conftest.err
2799 cat conftest.err
>&5
2800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2801 (exit $ac_status); } && {
2802 test -z "$ac_c_werror_flag" ||
2803 test ! -s conftest.err
2804 } && test -s conftest.
$ac_objext; then
2805 ac_cv_prog_cc_c89
=$ac_arg
2807 echo "$as_me: failed program was:" >&5
2808 sed 's/^/| /' conftest.
$ac_ext >&5
2813 rm -f core conftest.err conftest.
$ac_objext
2814 test "x$ac_cv_prog_cc_c89" != "xno" && break
2816 rm -f conftest.
$ac_ext
2821 case "x$ac_cv_prog_cc_c89" in
2823 { echo "$as_me:$LINENO: result: none needed" >&5
2824 echo "${ECHO_T}none needed" >&6; } ;;
2826 { echo "$as_me:$LINENO: result: unsupported" >&5
2827 echo "${ECHO_T}unsupported" >&6; } ;;
2829 CC
="$CC $ac_cv_prog_cc_c89"
2830 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2831 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2836 ac_cpp
='$CPP $CPPFLAGS'
2837 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2838 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2839 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2844 { echo "$as_me:$LINENO: checking HP-UX native compiler" >&5
2845 echo $ECHO_N "checking HP-UX native compiler... $ECHO_C" >&6; }
2846 if test "$CC" = "cc"; then
2847 { echo "$as_me:$LINENO: result: yes; adding compiler options for ANSI support" >&5
2848 echo "${ECHO_T}yes; adding compiler options for ANSI support" >&6; }
2849 CFLAGS
="$CFLAGS -Aa -D_HPUX_SOURCE"
2851 { echo "$as_me:$LINENO: result: no" >&5
2852 echo "${ECHO_T}no" >&6; }
2856 if uname
-r |
grep '5\.' >/dev
/null
2>&1; then
2857 { echo "$as_me:$LINENO: checking Solaris native compiler" >&5
2858 echo $ECHO_N "checking Solaris native compiler... $ECHO_C" >&6; }
2859 if test "$CC" = "cc" -a "`which cc`" = "/usr/ucb/cc"; then
2860 { echo "$as_me:$LINENO: result: yes; adding compiler option for ANSI support" >&5
2861 echo "${ECHO_T}yes; adding compiler option for ANSI support" >&6; }
2864 { echo "$as_me:$LINENO: result: no" >&5
2865 echo "${ECHO_T}no" >&6; }
2871 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
2872 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
2874 if test "$LN_S" = "ln -s"; then
2875 { echo "$as_me:$LINENO: result: yes" >&5
2876 echo "${ECHO_T}yes" >&6; }
2878 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2879 echo "${ECHO_T}no, using $LN_S" >&6; }
2882 # Extract the first word of "strip", so it can be a program name with args.
2883 set dummy strip
; ac_word
=$2
2884 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2886 if test "${ac_cv_prog_STRIP+set}" = set; then
2887 echo $ECHO_N "(cached) $ECHO_C" >&6
2889 if test -n "$STRIP"; then
2890 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2896 test -z "$as_dir" && as_dir
=.
2897 for ac_exec_ext
in '' $ac_executable_extensions; do
2898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2899 ac_cv_prog_STRIP
="strip"
2900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2907 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
=":"
2910 STRIP
=$ac_cv_prog_STRIP
2911 if test -n "$STRIP"; then
2912 { echo "$as_me:$LINENO: result: $STRIP" >&5
2913 echo "${ECHO_T}$STRIP" >&6; }
2915 { echo "$as_me:$LINENO: result: no" >&5
2916 echo "${ECHO_T}no" >&6; }
2922 # Checks for operating environment
2923 # --------------------------------
2925 # Check for temporary directory
2926 { echo "$as_me:$LINENO: checking directory to use for temporary files" >&5
2927 echo $ECHO_N "checking directory to use for temporary files... $ECHO_C" >&6; }
2928 if test -n "$enable_tmpdir"; then
2929 tmpdir
="$enable_tmpdir"
2930 elif test -n "$TMPDIR"; then
2932 elif test -n "$TMPDIR"; then
2934 elif test -n "$TMP"; then
2936 elif test -n "$TEMP"; then
2938 elif test -d "c:/"; then
2943 if test -d $tmpdir ; then
2944 { echo "$as_me:$LINENO: result: $tmpdir" >&5
2945 echo "${ECHO_T}$tmpdir" >&6; }
2946 cat >>confdefs.h
<<_ACEOF
2947 #define TMPDIR "$tmpdir"
2951 { { echo "$as_me:$LINENO: error: $tmpdir does not exist" >&5
2952 echo "$as_me: error: $tmpdir does not exist" >&2;}
2953 { (exit 1); exit 1; }; }
2956 # Check whether system supports #! scripts
2957 { echo "$as_me:$LINENO: checking whether #! works in shell scripts" >&5
2958 echo $ECHO_N "checking whether #! works in shell scripts... $ECHO_C" >&6; }
2959 if test "${ac_cv_sys_interpreter+set}" = set; then
2960 echo $ECHO_N "(cached) $ECHO_C" >&6
2966 (SHELL
=/bin
/sh
; export SHELL
; .
/conftest
>/dev
/null
2>&1)
2967 if test $?
-ne 69; then
2968 ac_cv_sys_interpreter
=yes
2970 ac_cv_sys_interpreter
=no
2974 { echo "$as_me:$LINENO: result: $ac_cv_sys_interpreter" >&5
2975 echo "${ECHO_T}$ac_cv_sys_interpreter" >&6; }
2976 interpval
=$ac_cv_sys_interpreter
2978 if test yes = "$interpval"; then
2979 cat >>confdefs.h
<<\_ACEOF
2980 #define SYS_INTERPRETER 1
2985 # Test for case-insensitive filenames
2986 { echo "$as_me:$LINENO: checking for case-insensitive filenames" >&5
2987 echo $ECHO_N "checking for case-insensitive filenames... $ECHO_C" >&6; }
2989 if test -f CONFTEST.CIF
; then
2990 { echo "$as_me:$LINENO: result: yes" >&5
2991 echo "${ECHO_T}yes" >&6; }
2992 cat >>confdefs.h
<<\_ACEOF
2993 #define CASE_INSENSITIVE_FILENAMES 1
2997 { echo "$as_me:$LINENO: result: no" >&5
2998 echo "${ECHO_T}no" >&6; }
3002 { echo "$as_me:$LINENO: checking selected sort method" >&5
3003 echo $ECHO_N "checking selected sort method... $ECHO_C" >&6; }
3004 if test no
= "$enable_external_sort"; then
3005 { echo "$as_me:$LINENO: result: simple internal algorithm" >&5
3006 echo "${ECHO_T}simple internal algorithm" >&6; }
3008 { echo "$as_me:$LINENO: result: external sort utility" >&5
3009 echo "${ECHO_T}external sort utility" >&6; }
3010 enable_external_sort
=no
3011 # Extract the first word of "sort", so it can be a program name with args.
3012 set dummy
sort; ac_word
=$2
3013 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3015 if test "${ac_cv_prog_sort_found+set}" = set; then
3016 echo $ECHO_N "(cached) $ECHO_C" >&6
3018 if test -n "$sort_found"; then
3019 ac_cv_prog_sort_found
="$sort_found" # Let the user override the test.
3021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3025 test -z "$as_dir" && as_dir
=.
3026 for ac_exec_ext
in '' $ac_executable_extensions; do
3027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3028 ac_cv_prog_sort_found
="yes"
3029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3036 test -z "$ac_cv_prog_sort_found" && ac_cv_prog_sort_found
="no"
3039 sort_found
=$ac_cv_prog_sort_found
3040 if test -n "$sort_found"; then
3041 { echo "$as_me:$LINENO: result: $sort_found" >&5
3042 echo "${ECHO_T}$sort_found" >&6; }
3044 { echo "$as_me:$LINENO: result: no" >&5
3045 echo "${ECHO_T}no" >&6; }
3049 if test "$sort_found" = yes ; then
3050 { echo "$as_me:$LINENO: checking if sort accepts our command line" >&5
3051 echo $ECHO_N "checking if sort accepts our command line... $ECHO_C" >&6; }
3052 touch ${tmpdir}/sort.
test
3053 sort -u -f -o ${tmpdir}/sort.
test ${tmpdir}/sort.
test 1>/dev
/null
2>&1
3054 if test $?
-ne 0 ; then
3055 { echo "$as_me:$LINENO: result: no" >&5
3056 echo "${ECHO_T}no" >&6; }
3058 { echo "$as_me:$LINENO: result: yes" >&5
3059 echo "${ECHO_T}yes" >&6; }
3060 cat >>confdefs.h
<<\_ACEOF
3061 #define EXTERNAL_SORT 1
3064 enable_external_sort
=yes
3066 rm -f ${tmpdir}/sort.
test
3069 if test "$enable_external_sort" != yes ; then
3070 { echo "$as_me:$LINENO: result: using internal sort algorithm as fallback" >&5
3071 echo "${ECHO_T}using internal sort algorithm as fallback" >&6; }
3075 # Checks for header files
3076 # -----------------------
3080 ac_cpp
='$CPP $CPPFLAGS'
3081 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3082 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3083 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3084 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3085 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3086 # On Suns, sometimes $CPP names a directory.
3087 if test -n "$CPP" && test -d "$CPP"; then
3090 if test -z "$CPP"; then
3091 if test "${ac_cv_prog_CPP+set}" = set; then
3092 echo $ECHO_N "(cached) $ECHO_C" >&6
3094 # Double quotes because CPP needs to be expanded
3095 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3098 for ac_c_preproc_warn_flag
in '' yes
3100 # Use a header file that comes with gcc, so configuring glibc
3101 # with a fresh cross-compiler works.
3102 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3103 # <limits.h> exists even on freestanding compilers.
3104 # On the NeXT, cc -E runs the code through the compiler's parser,
3105 # not just through cpp. "Syntax error" is here to catch this case.
3106 cat >conftest.
$ac_ext <<_ACEOF
3109 cat confdefs.h
>>conftest.
$ac_ext
3110 cat >>conftest.
$ac_ext <<_ACEOF
3111 /* end confdefs.h. */
3113 # include <limits.h>
3115 # include <assert.h>
3119 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3121 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3122 *) ac_try_echo=$ac_try;;
3124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3125 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3127 grep -v '^ *+' conftest.er1 >conftest.err
3129 cat conftest.err >&5
3130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3131 (exit $ac_status); } >/dev/null && {
3132 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3133 test ! -s conftest.err
3137 echo "$as_me: failed program was:" >&5
3138 sed 's/^/| /' conftest.$ac_ext >&5
3140 # Broken: fails on valid input.
3144 rm -f conftest.err conftest.$ac_ext
3146 # OK, works on sane cases. Now check whether nonexistent headers
3147 # can be detected and how.
3148 cat >conftest.$ac_ext <<_ACEOF
3151 cat confdefs.h >>conftest.$ac_ext
3152 cat >>conftest.$ac_ext <<_ACEOF
3153 /* end confdefs.h. */
3154 #include <ac_nonexistent.h>
3156 if { (ac_try="$ac_cpp conftest.$ac_ext"
3158 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3159 *) ac_try_echo
=$ac_try;;
3161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3162 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3164 grep -v '^ *+' conftest.er1
>conftest.err
3166 cat conftest.err
>&5
3167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3168 (exit $ac_status); } >/dev
/null
&& {
3169 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3170 test ! -s conftest.err
3172 # Broken: success on invalid input.
3175 echo "$as_me: failed program was:" >&5
3176 sed 's/^/| /' conftest.
$ac_ext >&5
3178 # Passes both tests.
3183 rm -f conftest.err conftest.
$ac_ext
3186 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3187 rm -f conftest.err conftest.
$ac_ext
3188 if $ac_preproc_ok; then
3200 { echo "$as_me:$LINENO: result: $CPP" >&5
3201 echo "${ECHO_T}$CPP" >&6; }
3203 for ac_c_preproc_warn_flag
in '' yes
3205 # Use a header file that comes with gcc, so configuring glibc
3206 # with a fresh cross-compiler works.
3207 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3208 # <limits.h> exists even on freestanding compilers.
3209 # On the NeXT, cc -E runs the code through the compiler's parser,
3210 # not just through cpp. "Syntax error" is here to catch this case.
3211 cat >conftest.
$ac_ext <<_ACEOF
3214 cat confdefs.h
>>conftest.
$ac_ext
3215 cat >>conftest.
$ac_ext <<_ACEOF
3216 /* end confdefs.h. */
3218 # include <limits.h>
3220 # include <assert.h>
3224 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3226 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3227 *) ac_try_echo=$ac_try;;
3229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3230 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3232 grep -v '^ *+' conftest.er1 >conftest.err
3234 cat conftest.err >&5
3235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3236 (exit $ac_status); } >/dev/null && {
3237 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3238 test ! -s conftest.err
3242 echo "$as_me: failed program was:" >&5
3243 sed 's/^/| /' conftest.$ac_ext >&5
3245 # Broken: fails on valid input.
3249 rm -f conftest.err conftest.$ac_ext
3251 # OK, works on sane cases. Now check whether nonexistent headers
3252 # can be detected and how.
3253 cat >conftest.$ac_ext <<_ACEOF
3256 cat confdefs.h >>conftest.$ac_ext
3257 cat >>conftest.$ac_ext <<_ACEOF
3258 /* end confdefs.h. */
3259 #include <ac_nonexistent.h>
3261 if { (ac_try="$ac_cpp conftest.$ac_ext"
3263 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3264 *) ac_try_echo
=$ac_try;;
3266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3267 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3269 grep -v '^ *+' conftest.er1
>conftest.err
3271 cat conftest.err
>&5
3272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3273 (exit $ac_status); } >/dev
/null
&& {
3274 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3275 test ! -s conftest.err
3277 # Broken: success on invalid input.
3280 echo "$as_me: failed program was:" >&5
3281 sed 's/^/| /' conftest.
$ac_ext >&5
3283 # Passes both tests.
3288 rm -f conftest.err conftest.
$ac_ext
3291 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3292 rm -f conftest.err conftest.
$ac_ext
3293 if $ac_preproc_ok; then
3296 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3297 See \`config.log' for more details." >&5
3298 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3299 See \`config.log' for more details." >&2;}
3300 { (exit 1); exit 1; }; }
3304 ac_cpp
='$CPP $CPPFLAGS'
3305 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3306 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3307 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3310 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3311 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3312 if test "${ac_cv_path_GREP+set}" = set; then
3313 echo $ECHO_N "(cached) $ECHO_C" >&6
3315 # Extract the first word of "grep ggrep" to use in msg output
3316 if test -z "$GREP"; then
3317 set dummy
grep ggrep
; ac_prog_name
=$2
3318 if test "${ac_cv_path_GREP+set}" = set; then
3319 echo $ECHO_N "(cached) $ECHO_C" >&6
3321 ac_path_GREP_found
=false
3322 # Loop through the user's path and test for each of PROGNAME-LIST
3323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3324 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3327 test -z "$as_dir" && as_dir
=.
3328 for ac_prog
in grep ggrep
; do
3329 for ac_exec_ext
in '' $ac_executable_extensions; do
3330 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3331 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3332 # Check for GNU ac_path_GREP and select it if it is found.
3333 # Check for GNU $ac_path_GREP
3334 case `"$ac_path_GREP" --version 2>&1` in
3336 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3339 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3342 cat "conftest.in" "conftest.in" >"conftest.tmp"
3343 mv "conftest.tmp" "conftest.in"
3344 cp "conftest.in" "conftest.nl"
3345 echo 'GREP' >> "conftest.nl"
3346 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3347 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3348 ac_count
=`expr $ac_count + 1`
3349 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3350 # Best one so far, save it but keep looking for a better one
3351 ac_cv_path_GREP
="$ac_path_GREP"
3352 ac_path_GREP_max
=$ac_count
3354 # 10*(2^10) chars as input seems more than enough
3355 test $ac_count -gt 10 && break
3357 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3361 $ac_path_GREP_found && break 3
3371 GREP
="$ac_cv_path_GREP"
3372 if test -z "$GREP"; then
3373 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3374 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3375 { (exit 1); exit 1; }; }
3379 ac_cv_path_GREP
=$GREP
3384 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3385 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3386 GREP
="$ac_cv_path_GREP"
3389 { echo "$as_me:$LINENO: checking for egrep" >&5
3390 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3391 if test "${ac_cv_path_EGREP+set}" = set; then
3392 echo $ECHO_N "(cached) $ECHO_C" >&6
3394 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3395 then ac_cv_path_EGREP
="$GREP -E"
3397 # Extract the first word of "egrep" to use in msg output
3398 if test -z "$EGREP"; then
3399 set dummy
egrep; ac_prog_name
=$2
3400 if test "${ac_cv_path_EGREP+set}" = set; then
3401 echo $ECHO_N "(cached) $ECHO_C" >&6
3403 ac_path_EGREP_found
=false
3404 # Loop through the user's path and test for each of PROGNAME-LIST
3405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3406 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3409 test -z "$as_dir" && as_dir
=.
3410 for ac_prog
in egrep; do
3411 for ac_exec_ext
in '' $ac_executable_extensions; do
3412 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3413 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3414 # Check for GNU ac_path_EGREP and select it if it is found.
3415 # Check for GNU $ac_path_EGREP
3416 case `"$ac_path_EGREP" --version 2>&1` in
3418 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3421 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3424 cat "conftest.in" "conftest.in" >"conftest.tmp"
3425 mv "conftest.tmp" "conftest.in"
3426 cp "conftest.in" "conftest.nl"
3427 echo 'EGREP' >> "conftest.nl"
3428 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3429 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3430 ac_count
=`expr $ac_count + 1`
3431 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3432 # Best one so far, save it but keep looking for a better one
3433 ac_cv_path_EGREP
="$ac_path_EGREP"
3434 ac_path_EGREP_max
=$ac_count
3436 # 10*(2^10) chars as input seems more than enough
3437 test $ac_count -gt 10 && break
3439 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3443 $ac_path_EGREP_found && break 3
3453 EGREP
="$ac_cv_path_EGREP"
3454 if test -z "$EGREP"; then
3455 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3456 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3457 { (exit 1); exit 1; }; }
3461 ac_cv_path_EGREP
=$EGREP
3467 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3468 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3469 EGREP
="$ac_cv_path_EGREP"
3472 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3473 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3474 if test "${ac_cv_header_stdc+set}" = set; then
3475 echo $ECHO_N "(cached) $ECHO_C" >&6
3477 cat >conftest.
$ac_ext <<_ACEOF
3480 cat confdefs.h
>>conftest.
$ac_ext
3481 cat >>conftest.
$ac_ext <<_ACEOF
3482 /* end confdefs.h. */
3496 rm -f conftest.
$ac_objext
3497 if { (ac_try
="$ac_compile"
3499 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3500 *) ac_try_echo=$ac_try;;
3502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3503 (eval "$ac_compile") 2>conftest.er1
3505 grep -v '^ *+' conftest.er1 >conftest.err
3507 cat conftest.err >&5
3508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3509 (exit $ac_status); } && {
3510 test -z "$ac_c_werror_flag" ||
3511 test ! -s conftest.err
3512 } && test -s conftest.$ac_objext; then
3513 ac_cv_header_stdc=yes
3515 echo "$as_me: failed program was:" >&5
3516 sed 's/^/| /' conftest.$ac_ext >&5
3518 ac_cv_header_stdc=no
3521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3523 if test $ac_cv_header_stdc = yes; then
3524 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3525 cat >conftest.$ac_ext <<_ACEOF
3528 cat confdefs.h >>conftest.$ac_ext
3529 cat >>conftest.$ac_ext <<_ACEOF
3530 /* end confdefs.h. */
3534 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3535 $EGREP "memchr" >/dev/null 2>&1; then
3538 ac_cv_header_stdc=no
3544 if test $ac_cv_header_stdc = yes; then
3545 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3546 cat >conftest.$ac_ext <<_ACEOF
3549 cat confdefs.h >>conftest.$ac_ext
3550 cat >>conftest.$ac_ext <<_ACEOF
3551 /* end confdefs.h. */
3555 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3556 $EGREP "free" >/dev/null 2>&1; then
3559 ac_cv_header_stdc=no
3565 if test $ac_cv_header_stdc = yes; then
3566 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3567 if test "$cross_compiling" = yes; then
3570 cat >conftest.$ac_ext <<_ACEOF
3573 cat confdefs.h >>conftest.$ac_ext
3574 cat >>conftest.$ac_ext <<_ACEOF
3575 /* end confdefs.h. */
3578 #if ((' ' & 0x0FF) == 0x020)
3579 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3580 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3582 # define ISLOWER(c) \
3583 (('a' <= (c) && (c) <= 'i') \
3584 || ('j' <= (c) && (c) <= 'r') \
3585 || ('s' <= (c) && (c) <= 'z'))
3586 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3589 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3594 for (i = 0; i < 256; i++)
3595 if (XOR (islower (i), ISLOWER (i))
3596 || toupper (i) != TOUPPER (i))
3601 rm -f conftest$ac_exeext
3602 if { (ac_try="$ac_link"
3604 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3605 *) ac_try_echo
=$ac_try;;
3607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3608 (eval "$ac_link") 2>&5
3610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3611 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3612 { (case "(($ac_try" in
3613 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3614 *) ac_try_echo=$ac_try;;
3616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3617 (eval "$ac_try") 2>&5
3619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3620 (exit $ac_status); }; }; then
3623 echo "$as_me: program exited with status $ac_status" >&5
3624 echo "$as_me: failed program was:" >&5
3625 sed 's/^/| /' conftest.$ac_ext >&5
3628 ac_cv_header_stdc=no
3630 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3636 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3637 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3638 if test $ac_cv_header_stdc = yes; then
3640 cat >>confdefs.h <<\_ACEOF
3641 #define STDC_HEADERS 1
3646 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3656 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3657 inttypes.h stdint.h unistd.h
3659 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
3660 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3661 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3662 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3663 echo $ECHO_N "(cached) $ECHO_C" >&6
3665 cat >conftest.$ac_ext <<_ACEOF
3668 cat confdefs.h >>conftest.$ac_ext
3669 cat >>conftest.$ac_ext <<_ACEOF
3670 /* end confdefs.h. */
3671 $ac_includes_default
3673 #include <$ac_header>
3675 rm -f conftest.$ac_objext
3676 if { (ac_try="$ac_compile"
3678 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3679 *) ac_try_echo
=$ac_try;;
3681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3682 (eval "$ac_compile") 2>conftest.er1
3684 grep -v '^ *+' conftest.er1
>conftest.err
3686 cat conftest.err
>&5
3687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3688 (exit $ac_status); } && {
3689 test -z "$ac_c_werror_flag" ||
3690 test ! -s conftest.err
3691 } && test -s conftest.
$ac_objext; then
3692 eval "$as_ac_Header=yes"
3694 echo "$as_me: failed program was:" >&5
3695 sed 's/^/| /' conftest.
$ac_ext >&5
3697 eval "$as_ac_Header=no"
3700 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3702 ac_res
=`eval echo '${'$as_ac_Header'}'`
3703 { echo "$as_me:$LINENO: result: $ac_res" >&5
3704 echo "${ECHO_T}$ac_res" >&6; }
3705 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3706 cat >>confdefs.h
<<_ACEOF
3707 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3719 for ac_header
in $ac_header_list
3721 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3722 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3723 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3724 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3725 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3726 echo $ECHO_N "(cached) $ECHO_C" >&6
3728 ac_res
=`eval echo '${'$as_ac_Header'}'`
3729 { echo "$as_me:$LINENO: result: $ac_res" >&5
3730 echo "${ECHO_T}$ac_res" >&6; }
3732 # Is the header compilable?
3733 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
3734 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
3735 cat >conftest.
$ac_ext <<_ACEOF
3738 cat confdefs.h
>>conftest.
$ac_ext
3739 cat >>conftest.
$ac_ext <<_ACEOF
3740 /* end confdefs.h. */
3741 $ac_includes_default
3742 #include <$ac_header>
3744 rm -f conftest.
$ac_objext
3745 if { (ac_try
="$ac_compile"
3747 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3748 *) ac_try_echo=$ac_try;;
3750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3751 (eval "$ac_compile") 2>conftest.er1
3753 grep -v '^ *+' conftest.er1 >conftest.err
3755 cat conftest.err >&5
3756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3757 (exit $ac_status); } && {
3758 test -z "$ac_c_werror_flag" ||
3759 test ! -s conftest.err
3760 } && test -s conftest.$ac_objext; then
3761 ac_header_compiler=yes
3763 echo "$as_me: failed program was:" >&5
3764 sed 's/^/| /' conftest.$ac_ext >&5
3766 ac_header_compiler=no
3769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3770 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3771 echo "${ECHO_T}$ac_header_compiler" >&6; }
3773 # Is the header present?
3774 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
3775 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
3776 cat >conftest.$ac_ext <<_ACEOF
3779 cat confdefs.h >>conftest.$ac_ext
3780 cat >>conftest.$ac_ext <<_ACEOF
3781 /* end confdefs.h. */
3782 #include <$ac_header>
3784 if { (ac_try="$ac_cpp conftest.$ac_ext"
3786 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3787 *) ac_try_echo
=$ac_try;;
3789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3790 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3792 grep -v '^ *+' conftest.er1
>conftest.err
3794 cat conftest.err
>&5
3795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3796 (exit $ac_status); } >/dev
/null
&& {
3797 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3798 test ! -s conftest.err
3800 ac_header_preproc
=yes
3802 echo "$as_me: failed program was:" >&5
3803 sed 's/^/| /' conftest.
$ac_ext >&5
3805 ac_header_preproc
=no
3808 rm -f conftest.err conftest.
$ac_ext
3809 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3810 echo "${ECHO_T}$ac_header_preproc" >&6; }
3812 # So? What about this header?
3813 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3815 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3816 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3817 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3818 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3819 ac_header_preproc
=yes
3822 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3823 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3824 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3825 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3826 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3827 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3828 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3829 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3830 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3831 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3832 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3833 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3837 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3839 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3840 echo $ECHO_N "(cached) $ECHO_C" >&6
3842 eval "$as_ac_Header=\$ac_header_preproc"
3844 ac_res
=`eval echo '${'$as_ac_Header'}'`
3845 { echo "$as_me:$LINENO: result: $ac_res" >&5
3846 echo "${ECHO_T}$ac_res" >&6; }
3849 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3850 cat >>confdefs.h
<<_ACEOF
3851 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3924 # Checks for header file macros
3925 # -----------------------------
3928 { echo "$as_me:$LINENO: checking if L_tmpnam is defined in stdio.h" >&5
3929 echo $ECHO_N "checking if L_tmpnam is defined in stdio.h... $ECHO_C" >&6; }
3930 cat >conftest.
$ac_ext <<_ACEOF
3933 cat confdefs.h
>>conftest.
$ac_ext
3934 cat >>conftest.
$ac_ext <<_ACEOF
3935 /* end confdefs.h. */
3942 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3943 $EGREP "yes" >/dev
/null
2>&1; then
3945 { echo "$as_me:$LINENO: result: yes" >&5
3946 echo "${ECHO_T}yes" >&6; }
3951 { echo "$as_me:$LINENO: result: no" >&5
3952 echo "${ECHO_T}no" >&6; }
3953 cat >>confdefs.h
<<\_ACEOF
3963 { echo "$as_me:$LINENO: checking if INT_MAX is defined in limits.h" >&5
3964 echo $ECHO_N "checking if INT_MAX is defined in limits.h... $ECHO_C" >&6; }
3965 cat >conftest.
$ac_ext <<_ACEOF
3968 cat confdefs.h
>>conftest.
$ac_ext
3969 cat >>conftest.
$ac_ext <<_ACEOF
3970 /* end confdefs.h. */
3977 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3978 $EGREP "yes" >/dev
/null
2>&1; then
3980 { echo "$as_me:$LINENO: result: yes" >&5
3981 echo "${ECHO_T}yes" >&6; }
3986 { echo "$as_me:$LINENO: result: no" >&5
3987 echo "${ECHO_T}no" >&6; }
3989 { echo "$as_me:$LINENO: checking if MAXINT is defined in limits.h" >&5
3990 echo $ECHO_N "checking if MAXINT is defined in limits.h... $ECHO_C" >&6; }
3991 cat >conftest.
$ac_ext <<_ACEOF
3994 cat confdefs.h
>>conftest.
$ac_ext
3995 cat >>conftest.
$ac_ext <<_ACEOF
3996 /* end confdefs.h. */
4003 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4004 $EGREP "yes" >/dev
/null
2>&1; then
4006 { echo "$as_me:$LINENO: result: yes" >&5
4007 echo "${ECHO_T}yes" >&6; }
4008 cat >>confdefs.h
<<\_ACEOF
4009 #define INT_MAX MAXINT
4015 { echo "$as_me:$LINENO: result: no" >&5
4016 echo "${ECHO_T}no" >&6; }
4017 cat >>confdefs.h
<<\_ACEOF
4018 #define INT_MAX 32767
4031 # Checks for typedefs
4032 # -------------------
4034 { echo "$as_me:$LINENO: checking for size_t" >&5
4035 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
4036 if test "${ac_cv_type_size_t+set}" = set; then
4037 echo $ECHO_N "(cached) $ECHO_C" >&6
4039 cat >conftest.
$ac_ext <<_ACEOF
4042 cat confdefs.h
>>conftest.
$ac_ext
4043 cat >>conftest.
$ac_ext <<_ACEOF
4044 /* end confdefs.h. */
4045 $ac_includes_default
4046 typedef size_t ac__type_new_;
4050 if ((ac__type_new_ *) 0)
4052 if (sizeof (ac__type_new_))
4058 rm -f conftest.
$ac_objext
4059 if { (ac_try
="$ac_compile"
4061 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4062 *) ac_try_echo=$ac_try;;
4064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4065 (eval "$ac_compile") 2>conftest.er1
4067 grep -v '^ *+' conftest.er1 >conftest.err
4069 cat conftest.err >&5
4070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4071 (exit $ac_status); } && {
4072 test -z "$ac_c_werror_flag" ||
4073 test ! -s conftest.err
4074 } && test -s conftest.$ac_objext; then
4075 ac_cv_type_size_t=yes
4077 echo "$as_me: failed program was:" >&5
4078 sed 's/^/| /' conftest.$ac_ext >&5
4080 ac_cv_type_size_t=no
4083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4085 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4086 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
4087 if test $ac_cv_type_size_t = yes; then
4091 cat >>confdefs.h <<_ACEOF
4092 #define size_t unsigned int
4097 { echo "$as_me:$LINENO: checking for off_t" >&5
4098 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
4099 if test "${ac_cv_type_off_t+set}" = set; then
4100 echo $ECHO_N "(cached) $ECHO_C" >&6
4102 cat >conftest.$ac_ext <<_ACEOF
4105 cat confdefs.h >>conftest.$ac_ext
4106 cat >>conftest.$ac_ext <<_ACEOF
4107 /* end confdefs.h. */
4108 $ac_includes_default
4109 typedef off_t ac__type_new_;
4113 if ((ac__type_new_ *) 0)
4115 if (sizeof (ac__type_new_))
4121 rm -f conftest.$ac_objext
4122 if { (ac_try="$ac_compile"
4124 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4125 *) ac_try_echo
=$ac_try;;
4127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4128 (eval "$ac_compile") 2>conftest.er1
4130 grep -v '^ *+' conftest.er1
>conftest.err
4132 cat conftest.err
>&5
4133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4134 (exit $ac_status); } && {
4135 test -z "$ac_c_werror_flag" ||
4136 test ! -s conftest.err
4137 } && test -s conftest.
$ac_objext; then
4138 ac_cv_type_off_t
=yes
4140 echo "$as_me: failed program was:" >&5
4141 sed 's/^/| /' conftest.
$ac_ext >&5
4146 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4148 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
4149 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
4150 if test $ac_cv_type_off_t = yes; then
4154 cat >>confdefs.h
<<_ACEOF
4155 #define off_t long int
4161 { echo "$as_me:$LINENO: checking for fpos_t" >&5
4162 echo $ECHO_N "checking for fpos_t... $ECHO_C" >&6; }
4163 cat >conftest.
$ac_ext <<_ACEOF
4166 cat confdefs.h
>>conftest.
$ac_ext
4167 cat >>conftest.
$ac_ext <<_ACEOF
4168 /* end confdefs.h. */
4172 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4173 $EGREP "fpos_t" >/dev
/null
2>&1; then
4174 { echo "$as_me:$LINENO: result: yes" >&5
4175 echo "${ECHO_T}yes" >&6; }
4178 { echo "$as_me:$LINENO: result: no" >&5
4179 echo "${ECHO_T}no" >&6; }
4180 cat >>confdefs.h
<<\_ACEOF
4189 { echo "$as_me:$LINENO: checking for clock_t" >&5
4190 echo $ECHO_N "checking for clock_t... $ECHO_C" >&6; }
4191 cat >conftest.
$ac_ext <<_ACEOF
4194 cat confdefs.h
>>conftest.
$ac_ext
4195 cat >>conftest.
$ac_ext <<_ACEOF
4196 /* end confdefs.h. */
4200 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4201 $EGREP "clock_t" >/dev
/null
2>&1; then
4202 { echo "$as_me:$LINENO: result: yes" >&5
4203 echo "${ECHO_T}yes" >&6; }
4206 { echo "$as_me:$LINENO: result: no" >&5
4207 echo "${ECHO_T}no" >&6; }
4208 cat >>confdefs.h
<<\_ACEOF
4209 #define clock_t long
4218 # Checks for compiler characteristics
4219 # -----------------------------------
4223 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4224 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
4225 if test "${ac_cv_c_const+set}" = set; then
4226 echo $ECHO_N "(cached) $ECHO_C" >&6
4228 cat >conftest.
$ac_ext <<_ACEOF
4231 cat confdefs.h
>>conftest.
$ac_ext
4232 cat >>conftest.
$ac_ext <<_ACEOF
4233 /* end confdefs.h. */
4238 /* FIXME: Include the comments suggested by Paul. */
4240 /* Ultrix mips cc rejects this. */
4241 typedef int charset[2];
4243 /* SunOS 4.1.1 cc rejects this. */
4244 char const *const *pcpcc;
4246 /* NEC SVR4.0.2 mips cc rejects this. */
4247 struct point {int x, y;};
4248 static struct point const zero = {0,0};
4249 /* AIX XL C 1.02.0.0 rejects this.
4250 It does not let you subtract one const X* pointer from another in
4251 an arm of an if-expression whose if-part is not a constant
4253 const char *g = "string";
4254 pcpcc = &g + (g ? g-g : 0);
4255 /* HPUX 7.0 cc rejects these. */
4257 ppc = (char**) pcpcc;
4258 pcpcc = (char const *const *) ppc;
4259 { /* SCO 3.2v4 cc rejects this. */
4261 char const *s = 0 ? (char *) 0 : (char const *) 0;
4266 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4268 const int *foo = &x[0];
4271 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4272 typedef const int *iptr;
4276 { /* AIX XL C 1.02.0.0 rejects this saying
4277 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4278 struct s { int j; const int *ap[3]; };
4279 struct s *b; b->j = 5;
4281 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4285 return !cs[0] && !zero.x;
4292 rm -f conftest.
$ac_objext
4293 if { (ac_try
="$ac_compile"
4295 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4296 *) ac_try_echo=$ac_try;;
4298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4299 (eval "$ac_compile") 2>conftest.er1
4301 grep -v '^ *+' conftest.er1 >conftest.err
4303 cat conftest.err >&5
4304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4305 (exit $ac_status); } && {
4306 test -z "$ac_c_werror_flag" ||
4307 test ! -s conftest.err
4308 } && test -s conftest.$ac_objext; then
4311 echo "$as_me: failed program was:" >&5
4312 sed 's/^/| /' conftest.$ac_ext >&5
4317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4319 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4320 echo "${ECHO_T}$ac_cv_c_const" >&6; }
4321 if test $ac_cv_c_const = no; then
4323 cat >>confdefs.h <<\_ACEOF
4332 { echo "$as_me:$LINENO: checking if struct stat contains st_ino" >&5
4333 echo $ECHO_N "checking if struct stat contains st_ino... $ECHO_C" >&6; }
4334 cat >conftest.$ac_ext <<_ACEOF
4337 cat confdefs.h >>conftest.$ac_ext
4338 cat >>conftest.$ac_ext <<_ACEOF
4339 /* end confdefs.h. */
4340 #include <sys/stat.h>
4354 rm -f conftest.$ac_objext
4355 if { (ac_try="$ac_compile"
4357 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4358 *) ac_try_echo
=$ac_try;;
4360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4361 (eval "$ac_compile") 2>conftest.er1
4363 grep -v '^ *+' conftest.er1
>conftest.err
4365 cat conftest.err
>&5
4366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4367 (exit $ac_status); } && {
4368 test -z "$ac_c_werror_flag" ||
4369 test ! -s conftest.err
4370 } && test -s conftest.
$ac_objext; then
4373 echo "$as_me: failed program was:" >&5
4374 sed 's/^/| /' conftest.
$ac_ext >&5
4379 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4380 { echo "$as_me:$LINENO: result: $have_st_ino" >&5
4381 echo "${ECHO_T}$have_st_ino" >&6; }
4382 if test yes = "$have_st_ino"; then
4383 cat >>confdefs.h
<<\_ACEOF
4384 #define HAVE_STAT_ST_INO 1
4390 # Checks for library functions
4391 # ----------------------------
4394 for ac_func
in fnmatch
4396 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4397 { echo "$as_me:$LINENO: checking for $ac_func" >&5
4398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4399 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4400 echo $ECHO_N "(cached) $ECHO_C" >&6
4402 cat >conftest.
$ac_ext <<_ACEOF
4405 cat confdefs.h
>>conftest.
$ac_ext
4406 cat >>conftest.
$ac_ext <<_ACEOF
4407 /* end confdefs.h. */
4408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4410 #define $ac_func innocuous_$ac_func
4412 /* System header to define __stub macros and hopefully few prototypes,
4413 which can conflict with char $ac_func (); below.
4414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4415 <limits.h> exists even on freestanding compilers. */
4418 # include <limits.h>
4420 # include <assert.h>
4425 /* Override any GCC internal prototype to avoid an error.
4426 Use char because int might match the return type of a GCC
4427 builtin and then its argument prototype would still apply. */
4432 /* The GNU C library defines this for functions which it implements
4433 to always fail with ENOSYS. Some functions are actually named
4434 something starting with __ and the normal name is an alias. */
4435 #if defined __stub_$ac_func || defined __stub___$ac_func
4447 rm -f conftest.
$ac_objext conftest
$ac_exeext
4448 if { (ac_try
="$ac_link"
4450 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4451 *) ac_try_echo=$ac_try;;
4453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4454 (eval "$ac_link") 2>conftest.er1
4456 grep -v '^ *+' conftest.er1 >conftest.err
4458 cat conftest.err >&5
4459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4460 (exit $ac_status); } && {
4461 test -z "$ac_c_werror_flag" ||
4462 test ! -s conftest.err
4463 } && test -s conftest$ac_exeext &&
4464 $as_test_x conftest$ac_exeext; then
4465 eval "$as_ac_var=yes"
4467 echo "$as_me: failed program was:" >&5
4468 sed 's/^/| /' conftest.$ac_ext >&5
4470 eval "$as_ac_var=no"
4473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4474 conftest$ac_exeext conftest.$ac_ext
4476 ac_res=`eval echo '${'$as_ac_var'}'`
4477 { echo "$as_me:$LINENO: result: $ac_res" >&5
4478 echo "${ECHO_T}$ac_res" >&6; }
4479 if test `eval echo '${'$as_ac_var'}'` = yes; then
4480 cat >>confdefs.h <<_ACEOF
4481 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
4488 for ac_func in strstr
4490 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
4491 { echo "$as_me:$LINENO: checking for $ac_func" >&5
4492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4493 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4494 echo $ECHO_N "(cached) $ECHO_C" >&6
4496 cat >conftest.$ac_ext <<_ACEOF
4499 cat confdefs.h >>conftest.$ac_ext
4500 cat >>conftest.$ac_ext <<_ACEOF
4501 /* end confdefs.h. */
4502 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4503 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4504 #define $ac_func innocuous_$ac_func
4506 /* System header to define __stub macros and hopefully few prototypes,
4507 which can conflict with char $ac_func (); below.
4508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4509 <limits.h> exists even on freestanding compilers. */
4512 # include <limits.h>
4514 # include <assert.h>
4519 /* Override any GCC internal prototype to avoid an error.
4520 Use char because int might match the return type of a GCC
4521 builtin and then its argument prototype would still apply. */
4526 /* The GNU C library defines this for functions which it implements
4527 to always fail with ENOSYS. Some functions are actually named
4528 something starting with __ and the normal name is an alias. */
4529 #if defined __stub_$ac_func || defined __stub___$ac_func
4541 rm -f conftest.$ac_objext conftest$ac_exeext
4542 if { (ac_try="$ac_link"
4544 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4545 *) ac_try_echo
=$ac_try;;
4547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4548 (eval "$ac_link") 2>conftest.er1
4550 grep -v '^ *+' conftest.er1
>conftest.err
4552 cat conftest.err
>&5
4553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4554 (exit $ac_status); } && {
4555 test -z "$ac_c_werror_flag" ||
4556 test ! -s conftest.err
4557 } && test -s conftest
$ac_exeext &&
4558 $as_test_x conftest
$ac_exeext; then
4559 eval "$as_ac_var=yes"
4561 echo "$as_me: failed program was:" >&5
4562 sed 's/^/| /' conftest.
$ac_ext >&5
4564 eval "$as_ac_var=no"
4567 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4568 conftest
$ac_exeext conftest.
$ac_ext
4570 ac_res
=`eval echo '${'$as_ac_var'}'`
4571 { echo "$as_me:$LINENO: result: $ac_res" >&5
4572 echo "${ECHO_T}$ac_res" >&6; }
4573 if test `eval echo '${'$as_ac_var'}'` = yes; then
4574 cat >>confdefs.h
<<_ACEOF
4575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4583 for ac_func
in strcasecmp stricmp
4585 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4586 { echo "$as_me:$LINENO: checking for $ac_func" >&5
4587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4588 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4589 echo $ECHO_N "(cached) $ECHO_C" >&6
4591 cat >conftest.
$ac_ext <<_ACEOF
4594 cat confdefs.h
>>conftest.
$ac_ext
4595 cat >>conftest.
$ac_ext <<_ACEOF
4596 /* end confdefs.h. */
4597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4599 #define $ac_func innocuous_$ac_func
4601 /* System header to define __stub macros and hopefully few prototypes,
4602 which can conflict with char $ac_func (); below.
4603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4604 <limits.h> exists even on freestanding compilers. */
4607 # include <limits.h>
4609 # include <assert.h>
4614 /* Override any GCC internal prototype to avoid an error.
4615 Use char because int might match the return type of a GCC
4616 builtin and then its argument prototype would still apply. */
4621 /* The GNU C library defines this for functions which it implements
4622 to always fail with ENOSYS. Some functions are actually named
4623 something starting with __ and the normal name is an alias. */
4624 #if defined __stub_$ac_func || defined __stub___$ac_func
4636 rm -f conftest.
$ac_objext conftest
$ac_exeext
4637 if { (ac_try
="$ac_link"
4639 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4640 *) ac_try_echo=$ac_try;;
4642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4643 (eval "$ac_link") 2>conftest.er1
4645 grep -v '^ *+' conftest.er1 >conftest.err
4647 cat conftest.err >&5
4648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4649 (exit $ac_status); } && {
4650 test -z "$ac_c_werror_flag" ||
4651 test ! -s conftest.err
4652 } && test -s conftest$ac_exeext &&
4653 $as_test_x conftest$ac_exeext; then
4654 eval "$as_ac_var=yes"
4656 echo "$as_me: failed program was:" >&5
4657 sed 's/^/| /' conftest.$ac_ext >&5
4659 eval "$as_ac_var=no"
4662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4663 conftest$ac_exeext conftest.$ac_ext
4665 ac_res=`eval echo '${'$as_ac_var'}'`
4666 { echo "$as_me:$LINENO: result: $ac_res" >&5
4667 echo "${ECHO_T}$ac_res" >&6; }
4668 if test `eval echo '${'$as_ac_var'}'` = yes; then
4669 cat >>confdefs.h <<_ACEOF
4670 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
4678 for ac_func in strncasecmp strnicmp
4680 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
4681 { echo "$as_me:$LINENO: checking for $ac_func" >&5
4682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4683 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4684 echo $ECHO_N "(cached) $ECHO_C" >&6
4686 cat >conftest.$ac_ext <<_ACEOF
4689 cat confdefs.h >>conftest.$ac_ext
4690 cat >>conftest.$ac_ext <<_ACEOF
4691 /* end confdefs.h. */
4692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4694 #define $ac_func innocuous_$ac_func
4696 /* System header to define __stub macros and hopefully few prototypes,
4697 which can conflict with char $ac_func (); below.
4698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4699 <limits.h> exists even on freestanding compilers. */
4702 # include <limits.h>
4704 # include <assert.h>
4709 /* Override any GCC internal prototype to avoid an error.
4710 Use char because int might match the return type of a GCC
4711 builtin and then its argument prototype would still apply. */
4716 /* The GNU C library defines this for functions which it implements
4717 to always fail with ENOSYS. Some functions are actually named
4718 something starting with __ and the normal name is an alias. */
4719 #if defined __stub_$ac_func || defined __stub___$ac_func
4731 rm -f conftest.$ac_objext conftest$ac_exeext
4732 if { (ac_try="$ac_link"
4734 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4735 *) ac_try_echo
=$ac_try;;
4737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4738 (eval "$ac_link") 2>conftest.er1
4740 grep -v '^ *+' conftest.er1
>conftest.err
4742 cat conftest.err
>&5
4743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4744 (exit $ac_status); } && {
4745 test -z "$ac_c_werror_flag" ||
4746 test ! -s conftest.err
4747 } && test -s conftest
$ac_exeext &&
4748 $as_test_x conftest
$ac_exeext; then
4749 eval "$as_ac_var=yes"
4751 echo "$as_me: failed program was:" >&5
4752 sed 's/^/| /' conftest.
$ac_ext >&5
4754 eval "$as_ac_var=no"
4757 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4758 conftest
$ac_exeext conftest.
$ac_ext
4760 ac_res
=`eval echo '${'$as_ac_var'}'`
4761 { echo "$as_me:$LINENO: result: $ac_res" >&5
4762 echo "${ECHO_T}$ac_res" >&6; }
4763 if test `eval echo '${'$as_ac_var'}'` = yes; then
4764 cat >>confdefs.h
<<_ACEOF
4765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4772 for ac_func
in fgetpos
4774 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4775 { echo "$as_me:$LINENO: checking for $ac_func" >&5
4776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4777 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4778 echo $ECHO_N "(cached) $ECHO_C" >&6
4780 cat >conftest.
$ac_ext <<_ACEOF
4783 cat confdefs.h
>>conftest.
$ac_ext
4784 cat >>conftest.
$ac_ext <<_ACEOF
4785 /* end confdefs.h. */
4786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4788 #define $ac_func innocuous_$ac_func
4790 /* System header to define __stub macros and hopefully few prototypes,
4791 which can conflict with char $ac_func (); below.
4792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4793 <limits.h> exists even on freestanding compilers. */
4796 # include <limits.h>
4798 # include <assert.h>
4803 /* Override any GCC internal prototype to avoid an error.
4804 Use char because int might match the return type of a GCC
4805 builtin and then its argument prototype would still apply. */
4810 /* The GNU C library defines this for functions which it implements
4811 to always fail with ENOSYS. Some functions are actually named
4812 something starting with __ and the normal name is an alias. */
4813 #if defined __stub_$ac_func || defined __stub___$ac_func
4825 rm -f conftest.
$ac_objext conftest
$ac_exeext
4826 if { (ac_try
="$ac_link"
4828 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4829 *) ac_try_echo=$ac_try;;
4831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4832 (eval "$ac_link") 2>conftest.er1
4834 grep -v '^ *+' conftest.er1 >conftest.err
4836 cat conftest.err >&5
4837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4838 (exit $ac_status); } && {
4839 test -z "$ac_c_werror_flag" ||
4840 test ! -s conftest.err
4841 } && test -s conftest$ac_exeext &&
4842 $as_test_x conftest$ac_exeext; then
4843 eval "$as_ac_var=yes"
4845 echo "$as_me: failed program was:" >&5
4846 sed 's/^/| /' conftest.$ac_ext >&5
4848 eval "$as_ac_var=no"
4851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4852 conftest$ac_exeext conftest.$ac_ext
4854 ac_res=`eval echo '${'$as_ac_var'}'`
4855 { echo "$as_me:$LINENO: result: $ac_res" >&5
4856 echo "${ECHO_T}$ac_res" >&6; }
4857 if test `eval echo '${'$as_ac_var'}'` = yes; then
4858 cat >>confdefs.h <<_ACEOF
4859 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
4866 # SEEK_SET should be in stdio.h, but may be in unistd.h on SunOS 4.1.x
4867 if test "$have_fgetpos" != yes ; then
4869 { echo "$as_me:$LINENO: checking if SEEK_SET is defined in stdio.h" >&5
4870 echo $ECHO_N "checking if SEEK_SET is defined in stdio.h... $ECHO_C" >&6; }
4871 cat >conftest.$ac_ext <<_ACEOF
4874 cat confdefs.h >>conftest.$ac_ext
4875 cat >>conftest.$ac_ext <<_ACEOF
4876 /* end confdefs.h. */
4883 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4884 $EGREP "yes" >/dev/null 2>&1; then
4886 { echo "$as_me:$LINENO: result: yes" >&5
4887 echo "${ECHO_T}yes" >&6; }
4892 { echo "$as_me:$LINENO: result: no" >&5
4893 echo "${ECHO_T}no" >&6; }
4895 { echo "$as_me:$LINENO: checking if SEEK_SET is defined in unistd.h" >&5
4896 echo $ECHO_N "checking if SEEK_SET is defined in unistd.h... $ECHO_C" >&6; }
4897 cat >conftest.$ac_ext <<_ACEOF
4900 cat confdefs.h >>conftest.$ac_ext
4901 cat >>conftest.$ac_ext <<_ACEOF
4902 /* end confdefs.h. */
4909 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4910 $EGREP "yes" >/dev/null 2>&1; then
4912 { echo "$as_me:$LINENO: result: yes" >&5
4913 echo "${ECHO_T}yes" >&6; }
4918 { echo "$as_me:$LINENO: result: no" >&5
4919 echo "${ECHO_T}no" >&6; }
4920 cat >>confdefs.h <<\_ACEOF
4935 for ac_func in mkstemp
4937 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
4938 { echo "$as_me:$LINENO: checking for $ac_func" >&5
4939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4940 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4941 echo $ECHO_N "(cached) $ECHO_C" >&6
4943 cat >conftest.$ac_ext <<_ACEOF
4946 cat confdefs.h >>conftest.$ac_ext
4947 cat >>conftest.$ac_ext <<_ACEOF
4948 /* end confdefs.h. */
4949 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4951 #define $ac_func innocuous_$ac_func
4953 /* System header to define __stub macros and hopefully few prototypes,
4954 which can conflict with char $ac_func (); below.
4955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4956 <limits.h> exists even on freestanding compilers. */
4959 # include <limits.h>
4961 # include <assert.h>
4966 /* Override any GCC internal prototype to avoid an error.
4967 Use char because int might match the return type of a GCC
4968 builtin and then its argument prototype would still apply. */
4973 /* The GNU C library defines this for functions which it implements
4974 to always fail with ENOSYS. Some functions are actually named
4975 something starting with __ and the normal name is an alias. */
4976 #if defined __stub_$ac_func || defined __stub___$ac_func
4988 rm -f conftest.$ac_objext conftest$ac_exeext
4989 if { (ac_try="$ac_link"
4991 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4992 *) ac_try_echo
=$ac_try;;
4994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4995 (eval "$ac_link") 2>conftest.er1
4997 grep -v '^ *+' conftest.er1
>conftest.err
4999 cat conftest.err
>&5
5000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5001 (exit $ac_status); } && {
5002 test -z "$ac_c_werror_flag" ||
5003 test ! -s conftest.err
5004 } && test -s conftest
$ac_exeext &&
5005 $as_test_x conftest
$ac_exeext; then
5006 eval "$as_ac_var=yes"
5008 echo "$as_me: failed program was:" >&5
5009 sed 's/^/| /' conftest.
$ac_ext >&5
5011 eval "$as_ac_var=no"
5014 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5015 conftest
$ac_exeext conftest.
$ac_ext
5017 ac_res
=`eval echo '${'$as_ac_var'}'`
5018 { echo "$as_me:$LINENO: result: $ac_res" >&5
5019 echo "${ECHO_T}$ac_res" >&6; }
5020 if test `eval echo '${'$as_ac_var'}'` = yes; then
5021 cat >>confdefs.h
<<_ACEOF
5022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5028 if test "$have_mkstemp" != yes ; then
5030 for ac_func
in tempnam
5032 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5033 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5035 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5036 echo $ECHO_N "(cached) $ECHO_C" >&6
5038 cat >conftest.
$ac_ext <<_ACEOF
5041 cat confdefs.h
>>conftest.
$ac_ext
5042 cat >>conftest.
$ac_ext <<_ACEOF
5043 /* end confdefs.h. */
5044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5046 #define $ac_func innocuous_$ac_func
5048 /* System header to define __stub macros and hopefully few prototypes,
5049 which can conflict with char $ac_func (); below.
5050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5051 <limits.h> exists even on freestanding compilers. */
5054 # include <limits.h>
5056 # include <assert.h>
5061 /* Override any GCC internal prototype to avoid an error.
5062 Use char because int might match the return type of a GCC
5063 builtin and then its argument prototype would still apply. */
5068 /* The GNU C library defines this for functions which it implements
5069 to always fail with ENOSYS. Some functions are actually named
5070 something starting with __ and the normal name is an alias. */
5071 #if defined __stub_$ac_func || defined __stub___$ac_func
5083 rm -f conftest.
$ac_objext conftest
$ac_exeext
5084 if { (ac_try
="$ac_link"
5086 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5087 *) ac_try_echo=$ac_try;;
5089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5090 (eval "$ac_link") 2>conftest.er1
5092 grep -v '^ *+' conftest.er1 >conftest.err
5094 cat conftest.err >&5
5095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5096 (exit $ac_status); } && {
5097 test -z "$ac_c_werror_flag" ||
5098 test ! -s conftest.err
5099 } && test -s conftest$ac_exeext &&
5100 $as_test_x conftest$ac_exeext; then
5101 eval "$as_ac_var=yes"
5103 echo "$as_me: failed program was:" >&5
5104 sed 's/^/| /' conftest.$ac_ext >&5
5106 eval "$as_ac_var=no"
5109 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5110 conftest$ac_exeext conftest.$ac_ext
5112 ac_res=`eval echo '${'$as_ac_var'}'`
5113 { echo "$as_me:$LINENO: result: $ac_res" >&5
5114 echo "${ECHO_T}$ac_res" >&6; }
5115 if test `eval echo '${'$as_ac_var'}'` = yes; then
5116 cat >>confdefs.h <<_ACEOF
5117 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
5124 if test "$have_mkstemp" != yes -a "$have_tempnam" != yes; then
5126 for ac_func in chmod
5128 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
5129 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5131 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5132 echo $ECHO_N "(cached) $ECHO_C" >&6
5134 cat >conftest.$ac_ext <<_ACEOF
5137 cat confdefs.h >>conftest.$ac_ext
5138 cat >>conftest.$ac_ext <<_ACEOF
5139 /* end confdefs.h. */
5140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5142 #define $ac_func innocuous_$ac_func
5144 /* System header to define __stub macros and hopefully few prototypes,
5145 which can conflict with char $ac_func (); below.
5146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5147 <limits.h> exists even on freestanding compilers. */
5150 # include <limits.h>
5152 # include <assert.h>
5157 /* Override any GCC internal prototype to avoid an error.
5158 Use char because int might match the return type of a GCC
5159 builtin and then its argument prototype would still apply. */
5164 /* The GNU C library defines this for functions which it implements
5165 to always fail with ENOSYS. Some functions are actually named
5166 something starting with __ and the normal name is an alias. */
5167 #if defined __stub_$ac_func || defined __stub___$ac_func
5179 rm -f conftest.$ac_objext conftest$ac_exeext
5180 if { (ac_try="$ac_link"
5182 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5183 *) ac_try_echo
=$ac_try;;
5185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5186 (eval "$ac_link") 2>conftest.er1
5188 grep -v '^ *+' conftest.er1
>conftest.err
5190 cat conftest.err
>&5
5191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5192 (exit $ac_status); } && {
5193 test -z "$ac_c_werror_flag" ||
5194 test ! -s conftest.err
5195 } && test -s conftest
$ac_exeext &&
5196 $as_test_x conftest
$ac_exeext; then
5197 eval "$as_ac_var=yes"
5199 echo "$as_me: failed program was:" >&5
5200 sed 's/^/| /' conftest.
$ac_ext >&5
5202 eval "$as_ac_var=no"
5205 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5206 conftest
$ac_exeext conftest.
$ac_ext
5208 ac_res
=`eval echo '${'$as_ac_var'}'`
5209 { echo "$as_me:$LINENO: result: $ac_res" >&5
5210 echo "${ECHO_T}$ac_res" >&6; }
5211 if test `eval echo '${'$as_ac_var'}'` = yes; then
5212 cat >>confdefs.h
<<_ACEOF
5213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5219 if test "$tmpdir_specified" = yes ; then
5220 { echo "$as_me:$LINENO: result: use of tmpnam overrides temporary directory selection" >&5
5221 echo "${ECHO_T}use of tmpnam overrides temporary directory selection" >&6; }
5228 for ac_func
in opendir findfirst _findfirst
5230 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5231 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5233 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5234 echo $ECHO_N "(cached) $ECHO_C" >&6
5236 cat >conftest.
$ac_ext <<_ACEOF
5239 cat confdefs.h
>>conftest.
$ac_ext
5240 cat >>conftest.
$ac_ext <<_ACEOF
5241 /* end confdefs.h. */
5242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5243 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5244 #define $ac_func innocuous_$ac_func
5246 /* System header to define __stub macros and hopefully few prototypes,
5247 which can conflict with char $ac_func (); below.
5248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5249 <limits.h> exists even on freestanding compilers. */
5252 # include <limits.h>
5254 # include <assert.h>
5259 /* Override any GCC internal prototype to avoid an error.
5260 Use char because int might match the return type of a GCC
5261 builtin and then its argument prototype would still apply. */
5266 /* The GNU C library defines this for functions which it implements
5267 to always fail with ENOSYS. Some functions are actually named
5268 something starting with __ and the normal name is an alias. */
5269 #if defined __stub_$ac_func || defined __stub___$ac_func
5281 rm -f conftest.
$ac_objext conftest
$ac_exeext
5282 if { (ac_try
="$ac_link"
5284 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5285 *) ac_try_echo=$ac_try;;
5287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5288 (eval "$ac_link") 2>conftest.er1
5290 grep -v '^ *+' conftest.er1 >conftest.err
5292 cat conftest.err >&5
5293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5294 (exit $ac_status); } && {
5295 test -z "$ac_c_werror_flag" ||
5296 test ! -s conftest.err
5297 } && test -s conftest$ac_exeext &&
5298 $as_test_x conftest$ac_exeext; then
5299 eval "$as_ac_var=yes"
5301 echo "$as_me: failed program was:" >&5
5302 sed 's/^/| /' conftest.$ac_ext >&5
5304 eval "$as_ac_var=no"
5307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5308 conftest$ac_exeext conftest.$ac_ext
5310 ac_res=`eval echo '${'$as_ac_var'}'`
5311 { echo "$as_me:$LINENO: result: $ac_res" >&5
5312 echo "${ECHO_T}$ac_res" >&6; }
5313 if test `eval echo '${'$as_ac_var'}'` = yes; then
5314 cat >>confdefs.h <<_ACEOF
5315 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
5322 for ac_func in strerror
5324 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
5325 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5327 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5328 echo $ECHO_N "(cached) $ECHO_C" >&6
5330 cat >conftest.$ac_ext <<_ACEOF
5333 cat confdefs.h >>conftest.$ac_ext
5334 cat >>conftest.$ac_ext <<_ACEOF
5335 /* end confdefs.h. */
5336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5338 #define $ac_func innocuous_$ac_func
5340 /* System header to define __stub macros and hopefully few prototypes,
5341 which can conflict with char $ac_func (); below.
5342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5343 <limits.h> exists even on freestanding compilers. */
5346 # include <limits.h>
5348 # include <assert.h>
5353 /* Override any GCC internal prototype to avoid an error.
5354 Use char because int might match the return type of a GCC
5355 builtin and then its argument prototype would still apply. */
5360 /* The GNU C library defines this for functions which it implements
5361 to always fail with ENOSYS. Some functions are actually named
5362 something starting with __ and the normal name is an alias. */
5363 #if defined __stub_$ac_func || defined __stub___$ac_func
5375 rm -f conftest.$ac_objext conftest$ac_exeext
5376 if { (ac_try="$ac_link"
5378 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5379 *) ac_try_echo
=$ac_try;;
5381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5382 (eval "$ac_link") 2>conftest.er1
5384 grep -v '^ *+' conftest.er1
>conftest.err
5386 cat conftest.err
>&5
5387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5388 (exit $ac_status); } && {
5389 test -z "$ac_c_werror_flag" ||
5390 test ! -s conftest.err
5391 } && test -s conftest
$ac_exeext &&
5392 $as_test_x conftest
$ac_exeext; then
5393 eval "$as_ac_var=yes"
5395 echo "$as_me: failed program was:" >&5
5396 sed 's/^/| /' conftest.
$ac_ext >&5
5398 eval "$as_ac_var=no"
5401 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5402 conftest
$ac_exeext conftest.
$ac_ext
5404 ac_res
=`eval echo '${'$as_ac_var'}'`
5405 { echo "$as_me:$LINENO: result: $ac_res" >&5
5406 echo "${ECHO_T}$ac_res" >&6; }
5407 if test `eval echo '${'$as_ac_var'}'` = yes; then
5408 cat >>confdefs.h
<<_ACEOF
5409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5417 for ac_func
in clock times
5419 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5420 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5422 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5423 echo $ECHO_N "(cached) $ECHO_C" >&6
5425 cat >conftest.
$ac_ext <<_ACEOF
5428 cat confdefs.h
>>conftest.
$ac_ext
5429 cat >>conftest.
$ac_ext <<_ACEOF
5430 /* end confdefs.h. */
5431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5433 #define $ac_func innocuous_$ac_func
5435 /* System header to define __stub macros and hopefully few prototypes,
5436 which can conflict with char $ac_func (); below.
5437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5438 <limits.h> exists even on freestanding compilers. */
5441 # include <limits.h>
5443 # include <assert.h>
5448 /* Override any GCC internal prototype to avoid an error.
5449 Use char because int might match the return type of a GCC
5450 builtin and then its argument prototype would still apply. */
5455 /* The GNU C library defines this for functions which it implements
5456 to always fail with ENOSYS. Some functions are actually named
5457 something starting with __ and the normal name is an alias. */
5458 #if defined __stub_$ac_func || defined __stub___$ac_func
5470 rm -f conftest.
$ac_objext conftest
$ac_exeext
5471 if { (ac_try
="$ac_link"
5473 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5474 *) ac_try_echo=$ac_try;;
5476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5477 (eval "$ac_link") 2>conftest.er1
5479 grep -v '^ *+' conftest.er1 >conftest.err
5481 cat conftest.err >&5
5482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5483 (exit $ac_status); } && {
5484 test -z "$ac_c_werror_flag" ||
5485 test ! -s conftest.err
5486 } && test -s conftest$ac_exeext &&
5487 $as_test_x conftest$ac_exeext; then
5488 eval "$as_ac_var=yes"
5490 echo "$as_me: failed program was:" >&5
5491 sed 's/^/| /' conftest.$ac_ext >&5
5493 eval "$as_ac_var=no"
5496 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5497 conftest$ac_exeext conftest.$ac_ext
5499 ac_res=`eval echo '${'$as_ac_var'}'`
5500 { echo "$as_me:$LINENO: result: $ac_res" >&5
5501 echo "${ECHO_T}$ac_res" >&6; }
5502 if test `eval echo '${'$as_ac_var'}'` = yes; then
5503 cat >>confdefs.h <<_ACEOF
5504 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
5511 for ac_func in remove
5513 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
5514 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5516 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5517 echo $ECHO_N "(cached) $ECHO_C" >&6
5519 cat >conftest.$ac_ext <<_ACEOF
5522 cat confdefs.h >>conftest.$ac_ext
5523 cat >>conftest.$ac_ext <<_ACEOF
5524 /* end confdefs.h. */
5525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5527 #define $ac_func innocuous_$ac_func
5529 /* System header to define __stub macros and hopefully few prototypes,
5530 which can conflict with char $ac_func (); below.
5531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5532 <limits.h> exists even on freestanding compilers. */
5535 # include <limits.h>
5537 # include <assert.h>
5542 /* Override any GCC internal prototype to avoid an error.
5543 Use char because int might match the return type of a GCC
5544 builtin and then its argument prototype would still apply. */
5549 /* The GNU C library defines this for functions which it implements
5550 to always fail with ENOSYS. Some functions are actually named
5551 something starting with __ and the normal name is an alias. */
5552 #if defined __stub_$ac_func || defined __stub___$ac_func
5564 rm -f conftest.$ac_objext conftest$ac_exeext
5565 if { (ac_try="$ac_link"
5567 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5568 *) ac_try_echo
=$ac_try;;
5570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5571 (eval "$ac_link") 2>conftest.er1
5573 grep -v '^ *+' conftest.er1
>conftest.err
5575 cat conftest.err
>&5
5576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5577 (exit $ac_status); } && {
5578 test -z "$ac_c_werror_flag" ||
5579 test ! -s conftest.err
5580 } && test -s conftest
$ac_exeext &&
5581 $as_test_x conftest
$ac_exeext; then
5582 eval "$as_ac_var=yes"
5584 echo "$as_me: failed program was:" >&5
5585 sed 's/^/| /' conftest.
$ac_ext >&5
5587 eval "$as_ac_var=no"
5590 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5591 conftest
$ac_exeext conftest.
$ac_ext
5593 ac_res
=`eval echo '${'$as_ac_var'}'`
5594 { echo "$as_me:$LINENO: result: $ac_res" >&5
5595 echo "${ECHO_T}$ac_res" >&6; }
5596 if test `eval echo '${'$as_ac_var'}'` = yes; then
5597 cat >>confdefs.h
<<_ACEOF
5598 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5603 { echo "$as_me:$LINENO: checking if remove is defined in unistd.h" >&5
5604 echo $ECHO_N "checking if remove is defined in unistd.h... $ECHO_C" >&6; }
5605 cat >conftest.
$ac_ext <<_ACEOF
5608 cat confdefs.h
>>conftest.
$ac_ext
5609 cat >>conftest.
$ac_ext <<_ACEOF
5610 /* end confdefs.h. */
5617 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5618 $EGREP "yes" >/dev
/null
2>&1; then
5620 { echo "$as_me:$LINENO: result: yes" >&5
5621 echo "${ECHO_T}yes" >&6; }
5626 { echo "$as_me:$LINENO: result: no" >&5
5627 echo "${ECHO_T}no" >&6; }
5628 cat >>confdefs.h
<<\_ACEOF
5629 #define remove unlink
5641 for ac_func
in truncate
5643 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5644 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5646 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5647 echo $ECHO_N "(cached) $ECHO_C" >&6
5649 cat >conftest.
$ac_ext <<_ACEOF
5652 cat confdefs.h
>>conftest.
$ac_ext
5653 cat >>conftest.
$ac_ext <<_ACEOF
5654 /* end confdefs.h. */
5655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5657 #define $ac_func innocuous_$ac_func
5659 /* System header to define __stub macros and hopefully few prototypes,
5660 which can conflict with char $ac_func (); below.
5661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5662 <limits.h> exists even on freestanding compilers. */
5665 # include <limits.h>
5667 # include <assert.h>
5672 /* Override any GCC internal prototype to avoid an error.
5673 Use char because int might match the return type of a GCC
5674 builtin and then its argument prototype would still apply. */
5679 /* The GNU C library defines this for functions which it implements
5680 to always fail with ENOSYS. Some functions are actually named
5681 something starting with __ and the normal name is an alias. */
5682 #if defined __stub_$ac_func || defined __stub___$ac_func
5694 rm -f conftest.
$ac_objext conftest
$ac_exeext
5695 if { (ac_try
="$ac_link"
5697 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5698 *) ac_try_echo=$ac_try;;
5700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5701 (eval "$ac_link") 2>conftest.er1
5703 grep -v '^ *+' conftest.er1 >conftest.err
5705 cat conftest.err >&5
5706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5707 (exit $ac_status); } && {
5708 test -z "$ac_c_werror_flag" ||
5709 test ! -s conftest.err
5710 } && test -s conftest$ac_exeext &&
5711 $as_test_x conftest$ac_exeext; then
5712 eval "$as_ac_var=yes"
5714 echo "$as_me: failed program was:" >&5
5715 sed 's/^/| /' conftest.$ac_ext >&5
5717 eval "$as_ac_var=no"
5720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5721 conftest$ac_exeext conftest.$ac_ext
5723 ac_res=`eval echo '${'$as_ac_var'}'`
5724 { echo "$as_me:$LINENO: result: $ac_res" >&5
5725 echo "${ECHO_T}$ac_res" >&6; }
5726 if test `eval echo '${'$as_ac_var'}'` = yes; then
5727 cat >>confdefs.h <<_ACEOF
5728 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
5734 # === Cannot nest AC_CHECK_FUNCS() calls
5735 if test "$have_truncate" != yes ; then
5737 for ac_func in ftruncate
5739 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
5740 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5742 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5743 echo $ECHO_N "(cached) $ECHO_C" >&6
5745 cat >conftest.$ac_ext <<_ACEOF
5748 cat confdefs.h >>conftest.$ac_ext
5749 cat >>conftest.$ac_ext <<_ACEOF
5750 /* end confdefs.h. */
5751 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5752 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5753 #define $ac_func innocuous_$ac_func
5755 /* System header to define __stub macros and hopefully few prototypes,
5756 which can conflict with char $ac_func (); below.
5757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5758 <limits.h> exists even on freestanding compilers. */
5761 # include <limits.h>
5763 # include <assert.h>
5768 /* Override any GCC internal prototype to avoid an error.
5769 Use char because int might match the return type of a GCC
5770 builtin and then its argument prototype would still apply. */
5775 /* The GNU C library defines this for functions which it implements
5776 to always fail with ENOSYS. Some functions are actually named
5777 something starting with __ and the normal name is an alias. */
5778 #if defined __stub_$ac_func || defined __stub___$ac_func
5790 rm -f conftest.$ac_objext conftest$ac_exeext
5791 if { (ac_try="$ac_link"
5793 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5794 *) ac_try_echo
=$ac_try;;
5796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5797 (eval "$ac_link") 2>conftest.er1
5799 grep -v '^ *+' conftest.er1
>conftest.err
5801 cat conftest.err
>&5
5802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5803 (exit $ac_status); } && {
5804 test -z "$ac_c_werror_flag" ||
5805 test ! -s conftest.err
5806 } && test -s conftest
$ac_exeext &&
5807 $as_test_x conftest
$ac_exeext; then
5808 eval "$as_ac_var=yes"
5810 echo "$as_me: failed program was:" >&5
5811 sed 's/^/| /' conftest.
$ac_ext >&5
5813 eval "$as_ac_var=no"
5816 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5817 conftest
$ac_exeext conftest.
$ac_ext
5819 ac_res
=`eval echo '${'$as_ac_var'}'`
5820 { echo "$as_me:$LINENO: result: $ac_res" >&5
5821 echo "${ECHO_T}$ac_res" >&6; }
5822 if test `eval echo '${'$as_ac_var'}'` = yes; then
5823 cat >>confdefs.h
<<_ACEOF
5824 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5830 if test "$have_ftruncate" != yes ; then
5832 for ac_func
in chsize
5834 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5835 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5837 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5838 echo $ECHO_N "(cached) $ECHO_C" >&6
5840 cat >conftest.
$ac_ext <<_ACEOF
5843 cat confdefs.h
>>conftest.
$ac_ext
5844 cat >>conftest.
$ac_ext <<_ACEOF
5845 /* end confdefs.h. */
5846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5848 #define $ac_func innocuous_$ac_func
5850 /* System header to define __stub macros and hopefully few prototypes,
5851 which can conflict with char $ac_func (); below.
5852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5853 <limits.h> exists even on freestanding compilers. */
5856 # include <limits.h>
5858 # include <assert.h>
5863 /* Override any GCC internal prototype to avoid an error.
5864 Use char because int might match the return type of a GCC
5865 builtin and then its argument prototype would still apply. */
5870 /* The GNU C library defines this for functions which it implements
5871 to always fail with ENOSYS. Some functions are actually named
5872 something starting with __ and the normal name is an alias. */
5873 #if defined __stub_$ac_func || defined __stub___$ac_func
5885 rm -f conftest.
$ac_objext conftest
$ac_exeext
5886 if { (ac_try
="$ac_link"
5888 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5889 *) ac_try_echo=$ac_try;;
5891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5892 (eval "$ac_link") 2>conftest.er1
5894 grep -v '^ *+' conftest.er1 >conftest.err
5896 cat conftest.err >&5
5897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5898 (exit $ac_status); } && {
5899 test -z "$ac_c_werror_flag" ||
5900 test ! -s conftest.err
5901 } && test -s conftest$ac_exeext &&
5902 $as_test_x conftest$ac_exeext; then
5903 eval "$as_ac_var=yes"
5905 echo "$as_me: failed program was:" >&5
5906 sed 's/^/| /' conftest.$ac_ext >&5
5908 eval "$as_ac_var=no"
5911 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5912 conftest$ac_exeext conftest.$ac_ext
5914 ac_res=`eval echo '${'$as_ac_var'}'`
5915 { echo "$as_me:$LINENO: result: $ac_res" >&5
5916 echo "${ECHO_T}$ac_res" >&6; }
5917 if test `eval echo '${'$as_ac_var'}'` = yes; then
5918 cat >>confdefs.h <<_ACEOF
5919 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
5929 for ac_func in setenv
5931 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
5932 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5934 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5935 echo $ECHO_N "(cached) $ECHO_C" >&6
5937 cat >conftest.$ac_ext <<_ACEOF
5940 cat confdefs.h >>conftest.$ac_ext
5941 cat >>conftest.$ac_ext <<_ACEOF
5942 /* end confdefs.h. */
5943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5945 #define $ac_func innocuous_$ac_func
5947 /* System header to define __stub macros and hopefully few prototypes,
5948 which can conflict with char $ac_func (); below.
5949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5950 <limits.h> exists even on freestanding compilers. */
5953 # include <limits.h>
5955 # include <assert.h>
5960 /* Override any GCC internal prototype to avoid an error.
5961 Use char because int might match the return type of a GCC
5962 builtin and then its argument prototype would still apply. */
5967 /* The GNU C library defines this for functions which it implements
5968 to always fail with ENOSYS. Some functions are actually named
5969 something starting with __ and the normal name is an alias. */
5970 #if defined __stub_$ac_func || defined __stub___$ac_func
5982 rm -f conftest.$ac_objext conftest$ac_exeext
5983 if { (ac_try="$ac_link"
5985 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5986 *) ac_try_echo
=$ac_try;;
5988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5989 (eval "$ac_link") 2>conftest.er1
5991 grep -v '^ *+' conftest.er1
>conftest.err
5993 cat conftest.err
>&5
5994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5995 (exit $ac_status); } && {
5996 test -z "$ac_c_werror_flag" ||
5997 test ! -s conftest.err
5998 } && test -s conftest
$ac_exeext &&
5999 $as_test_x conftest
$ac_exeext; then
6000 eval "$as_ac_var=yes"
6002 echo "$as_me: failed program was:" >&5
6003 sed 's/^/| /' conftest.
$ac_ext >&5
6005 eval "$as_ac_var=no"
6008 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6009 conftest
$ac_exeext conftest.
$ac_ext
6011 ac_res
=`eval echo '${'$as_ac_var'}'`
6012 { echo "$as_me:$LINENO: result: $ac_res" >&5
6013 echo "${ECHO_T}$ac_res" >&6; }
6014 if test `eval echo '${'$as_ac_var'}'` = yes; then
6015 cat >>confdefs.h
<<_ACEOF
6016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6022 # === Cannot nest AC_CHECK_FUNCS() calls
6023 if test "$have_setenv" != yes ; then
6025 for ac_func
in putenv
6027 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6028 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6030 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6031 echo $ECHO_N "(cached) $ECHO_C" >&6
6033 cat >conftest.
$ac_ext <<_ACEOF
6036 cat confdefs.h
>>conftest.
$ac_ext
6037 cat >>conftest.
$ac_ext <<_ACEOF
6038 /* end confdefs.h. */
6039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6041 #define $ac_func innocuous_$ac_func
6043 /* System header to define __stub macros and hopefully few prototypes,
6044 which can conflict with char $ac_func (); below.
6045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6046 <limits.h> exists even on freestanding compilers. */
6049 # include <limits.h>
6051 # include <assert.h>
6056 /* Override any GCC internal prototype to avoid an error.
6057 Use char because int might match the return type of a GCC
6058 builtin and then its argument prototype would still apply. */
6063 /* The GNU C library defines this for functions which it implements
6064 to always fail with ENOSYS. Some functions are actually named
6065 something starting with __ and the normal name is an alias. */
6066 #if defined __stub_$ac_func || defined __stub___$ac_func
6078 rm -f conftest.
$ac_objext conftest
$ac_exeext
6079 if { (ac_try
="$ac_link"
6081 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6082 *) ac_try_echo=$ac_try;;
6084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6085 (eval "$ac_link") 2>conftest.er1
6087 grep -v '^ *+' conftest.er1 >conftest.err
6089 cat conftest.err >&5
6090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6091 (exit $ac_status); } && {
6092 test -z "$ac_c_werror_flag" ||
6093 test ! -s conftest.err
6094 } && test -s conftest$ac_exeext &&
6095 $as_test_x conftest$ac_exeext; then
6096 eval "$as_ac_var=yes"
6098 echo "$as_me: failed program was:" >&5
6099 sed 's/^/| /' conftest.$ac_ext >&5
6101 eval "$as_ac_var=no"
6104 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6105 conftest$ac_exeext conftest.$ac_ext
6107 ac_res=`eval echo '${'$as_ac_var'}'`
6108 { echo "$as_me:$LINENO: result: $ac_res" >&5
6109 echo "${ECHO_T}$ac_res" >&6; }
6110 if test `eval echo '${'$as_ac_var'}'` = yes; then
6111 cat >>confdefs.h <<_ACEOF
6112 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
6118 if test "$have_putenv" = yes ; then
6119 cat >conftest.$ac_ext <<_ACEOF
6122 cat confdefs.h >>conftest.$ac_ext
6123 cat >>conftest.$ac_ext <<_ACEOF
6124 /* end confdefs.h. */
6128 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6129 $EGREP "putenv" >/dev/null 2>&1; then
6130 have_putenv_prototype=yes
6134 if test "$have_putenv_prototype" = yes ; then
6135 { echo "$as_me:$LINENO: checking putenv prototype" >&5
6136 echo $ECHO_N "checking putenv prototype... $ECHO_C" >&6; }
6137 cat >conftest.$ac_ext <<_ACEOF
6140 cat confdefs.h >>conftest.$ac_ext
6141 cat >>conftest.$ac_ext <<_ACEOF
6142 /* end confdefs.h. */
6146 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6147 $EGREP "[^A-Za-zo-9_]putenv[ ]*\(.*const.*\)[ ]*;" >/dev/null 2>&1; then
6148 { echo "$as_me:$LINENO: result: correct" >&5
6149 echo "${ECHO_T}correct" >&6; }
6152 { echo "$as_me:$LINENO: result: no const" >&5
6153 echo "${ECHO_T}no const" >&6; }
6154 cat >>confdefs.h <<\_ACEOF
6155 #define NON_CONST_PUTENV_PROTOTYPE 1
6167 # if test yes = "$CYGWIN"; then with_posix_regex=no; fi
6168 if test no != "$with_posix_regex"; then
6170 for ac_func in regcomp
6172 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
6173 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6175 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6176 echo $ECHO_N "(cached) $ECHO_C" >&6
6178 cat >conftest.$ac_ext <<_ACEOF
6181 cat confdefs.h >>conftest.$ac_ext
6182 cat >>conftest.$ac_ext <<_ACEOF
6183 /* end confdefs.h. */
6184 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6185 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6186 #define $ac_func innocuous_$ac_func
6188 /* System header to define __stub macros and hopefully few prototypes,
6189 which can conflict with char $ac_func (); below.
6190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6191 <limits.h> exists even on freestanding compilers. */
6194 # include <limits.h>
6196 # include <assert.h>
6201 /* Override any GCC internal prototype to avoid an error.
6202 Use char because int might match the return type of a GCC
6203 builtin and then its argument prototype would still apply. */
6208 /* The GNU C library defines this for functions which it implements
6209 to always fail with ENOSYS. Some functions are actually named
6210 something starting with __ and the normal name is an alias. */
6211 #if defined __stub_$ac_func || defined __stub___$ac_func
6223 rm -f conftest.$ac_objext conftest$ac_exeext
6224 if { (ac_try="$ac_link"
6226 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6227 *) ac_try_echo
=$ac_try;;
6229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6230 (eval "$ac_link") 2>conftest.er1
6232 grep -v '^ *+' conftest.er1
>conftest.err
6234 cat conftest.err
>&5
6235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6236 (exit $ac_status); } && {
6237 test -z "$ac_c_werror_flag" ||
6238 test ! -s conftest.err
6239 } && test -s conftest
$ac_exeext &&
6240 $as_test_x conftest
$ac_exeext; then
6241 eval "$as_ac_var=yes"
6243 echo "$as_me: failed program was:" >&5
6244 sed 's/^/| /' conftest.
$ac_ext >&5
6246 eval "$as_ac_var=no"
6249 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6250 conftest
$ac_exeext conftest.
$ac_ext
6252 ac_res
=`eval echo '${'$as_ac_var'}'`
6253 { echo "$as_me:$LINENO: result: $ac_res" >&5
6254 echo "${ECHO_T}$ac_res" >&6; }
6255 if test `eval echo '${'$as_ac_var'}'` = yes; then
6256 cat >>confdefs.h
<<_ACEOF
6257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6263 { echo "$as_me:$LINENO: checking if regcomp works" >&5
6264 echo $ECHO_N "checking if regcomp works... $ECHO_C" >&6; }
6265 if test "$cross_compiling" = yes; then
6266 cat >>confdefs.h
<<\_ACEOF
6267 #define CHECK_REGCOMP 1
6271 cat >conftest.
$ac_ext <<_ACEOF
6274 cat confdefs.h
>>conftest.
$ac_ext
6275 cat >>conftest.
$ac_ext <<_ACEOF
6276 /* end confdefs.h. */
6278 #include <sys/types.h>
6282 exit (regcomp (&patbuf, "/hello/", 0) != 0);
6285 rm -f conftest
$ac_exeext
6286 if { (ac_try
="$ac_link"
6288 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6289 *) ac_try_echo=$ac_try;;
6291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6292 (eval "$ac_link") 2>&5
6294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6295 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6296 { (case "(($ac_try" in
6297 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6298 *) ac_try_echo
=$ac_try;;
6300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6301 (eval "$ac_try") 2>&5
6303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6304 (exit $ac_status); }; }; then
6307 echo "$as_me: program exited with status $ac_status" >&5
6308 echo "$as_me: failed program was:" >&5
6309 sed 's/^/| /' conftest.
$ac_ext >&5
6314 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6318 { echo "$as_me:$LINENO: result: $regcomp_works" >&5
6319 echo "${ECHO_T}$regcomp_works" >&6; }
6320 if test yes != "$regcomp_works"; then
6321 cat >>confdefs.h
<<\_ACEOF
6322 #define REGCOMP_BROKEN 1
6328 # if test yes = "$with_perl_regex"; then
6329 # AC_MSG_CHECKING(for Perl regex library)
6330 # pcre_candidates="$with_perl_regex $HOME/local/lib* /usr*/local/lib* /usr/lib*"
6331 # for lib in $pcre_candidates; do
6332 # if test -f $lib/libpcreposix.so; then
6333 # pcre_lib="-L$lib -lpcreposix"
6335 # elif test -f $lib/libpcreposix.a; then
6336 # pcre_lib="$lib/libpcreposix.a"
6340 # if test -z "$pcre_lib"; then
6341 # AC_MSG_RESULT(not found)
6343 # AC_MSG_RESULT($lib)
6344 # AC_DEFINE(HAVE_REGCOMP)
6345 # LDFLAGS="$LDFLAGS $pcre_lib"
6351 # Checks for missing prototypes
6352 # -----------------------------
6353 { echo "$as_me:$LINENO: checking for new missing prototypes..." >&5
6354 echo "$as_me: checking for new missing prototypes..." >&6;}
6358 if test "$have_remove" = yes ; then
6360 cat >conftest.
$ac_ext <<_ACEOF
6363 cat confdefs.h
>>conftest.
$ac_ext
6364 cat >>conftest.
$ac_ext <<_ACEOF
6365 /* end confdefs.h. */
6369 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6370 $EGREP "[^A-Za-z0-9_]remove([ ]+[A-Za-z0-9_]*)?[ ]*\(" >/dev
/null
2>&1; then
6374 { echo "$as_me:$LINENO: result: adding prototype for remove" >&5
6375 echo "${ECHO_T}adding prototype for remove" >&6; }
6376 cat >>confdefs.h
<<\_ACEOF
6377 #define NEED_PROTO_REMOVE 1
6386 cat >conftest.
$ac_ext <<_ACEOF
6389 cat confdefs.h
>>conftest.
$ac_ext
6390 cat >>conftest.
$ac_ext <<_ACEOF
6391 /* end confdefs.h. */
6395 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6396 $EGREP "[^A-Za-z0-9_]unlink([ ]+[A-Za-z0-9_]*)?[ ]*\(" >/dev
/null
2>&1; then
6400 { echo "$as_me:$LINENO: result: adding prototype for unlink" >&5
6401 echo "${ECHO_T}adding prototype for unlink" >&6; }
6402 cat >>confdefs.h
<<\_ACEOF
6403 #define NEED_PROTO_UNLINK 1
6412 cat >conftest.
$ac_ext <<_ACEOF
6415 cat confdefs.h
>>conftest.
$ac_ext
6416 cat >>conftest.
$ac_ext <<_ACEOF
6417 /* end confdefs.h. */
6421 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6422 $EGREP "[^A-Za-z0-9_]malloc([ ]+[A-Za-z0-9_]*)?[ ]*\(" >/dev
/null
2>&1; then
6426 { echo "$as_me:$LINENO: result: adding prototype for malloc" >&5
6427 echo "${ECHO_T}adding prototype for malloc" >&6; }
6428 cat >>confdefs.h
<<\_ACEOF
6429 #define NEED_PROTO_MALLOC 1
6437 cat >conftest.
$ac_ext <<_ACEOF
6440 cat confdefs.h
>>conftest.
$ac_ext
6441 cat >>conftest.
$ac_ext <<_ACEOF
6442 /* end confdefs.h. */
6446 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6447 $EGREP "[^A-Za-z0-9_]getenv([ ]+[A-Za-z0-9_]*)?[ ]*\(" >/dev
/null
2>&1; then
6451 { echo "$as_me:$LINENO: result: adding prototype for getenv" >&5
6452 echo "${ECHO_T}adding prototype for getenv" >&6; }
6453 cat >>confdefs.h
<<\_ACEOF
6454 #define NEED_PROTO_GETENV 1
6462 cat >conftest.
$ac_ext <<_ACEOF
6465 cat confdefs.h
>>conftest.
$ac_ext
6466 cat >>conftest.
$ac_ext <<_ACEOF
6467 /* end confdefs.h. */
6468 #include <sys/stat.h>
6471 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6472 $EGREP "[^A-Za-z0-9_]stat([ ]+[A-Za-z0-9_]*)?[ ]*\(" >/dev
/null
2>&1; then
6476 { echo "$as_me:$LINENO: result: adding prototype for stat" >&5
6477 echo "${ECHO_T}adding prototype for stat" >&6; }
6478 cat >>confdefs.h
<<\_ACEOF
6479 #define NEED_PROTO_STAT 1
6487 cat >conftest.
$ac_ext <<_ACEOF
6490 cat confdefs.h
>>conftest.
$ac_ext
6491 cat >>conftest.
$ac_ext <<_ACEOF
6492 /* end confdefs.h. */
6493 #include <sys/stat.h>
6496 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6497 $EGREP "[^A-Za-z0-9_]lstat([ ]+[A-Za-z0-9_]*)?[ ]*\(" >/dev
/null
2>&1; then
6501 { echo "$as_me:$LINENO: result: adding prototype for lstat" >&5
6502 echo "${ECHO_T}adding prototype for lstat" >&6; }
6503 cat >>confdefs.h
<<\_ACEOF
6504 #define NEED_PROTO_LSTAT 1
6511 if test "$have_fgetpos" = yes ; then
6513 cat >conftest.
$ac_ext <<_ACEOF
6516 cat confdefs.h
>>conftest.
$ac_ext
6517 cat >>conftest.
$ac_ext <<_ACEOF
6518 /* end confdefs.h. */
6522 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6523 $EGREP "[^A-Za-z0-9_]fgetpos([ ]+[A-Za-z0-9_]*)?[ ]*\(" >/dev
/null
2>&1; then
6527 { echo "$as_me:$LINENO: result: adding prototype for fgetpos" >&5
6528 echo "${ECHO_T}adding prototype for fgetpos" >&6; }
6529 cat >>confdefs.h
<<\_ACEOF
6530 #define NEED_PROTO_FGETPOS 1
6538 if test "$have_truncate" = yes ; then
6540 cat >conftest.
$ac_ext <<_ACEOF
6543 cat confdefs.h
>>conftest.
$ac_ext
6544 cat >>conftest.
$ac_ext <<_ACEOF
6545 /* end confdefs.h. */
6549 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6550 $EGREP "[^A-Za-z0-9_]truncate([ ]+[A-Za-z0-9_]*)?[ ]*\(" >/dev
/null
2>&1; then
6554 { echo "$as_me:$LINENO: result: adding prototype for truncate" >&5
6555 echo "${ECHO_T}adding prototype for truncate" >&6; }
6556 cat >>confdefs.h
<<\_ACEOF
6557 #define NEED_PROTO_TRUNCATE 1
6565 if test "$have_ftruncate" = yes ; then
6567 cat >conftest.
$ac_ext <<_ACEOF
6570 cat confdefs.h
>>conftest.
$ac_ext
6571 cat >>conftest.
$ac_ext <<_ACEOF
6572 /* end confdefs.h. */
6576 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6577 $EGREP "[^A-Za-z0-9_]ftruncate([ ]+[A-Za-z0-9_]*)?[ ]*\(" >/dev
/null
2>&1; then
6581 { echo "$as_me:$LINENO: result: adding prototype for ftruncate" >&5
6582 echo "${ECHO_T}adding prototype for ftruncate" >&6; }
6583 cat >>confdefs.h
<<\_ACEOF
6584 #define NEED_PROTO_FTRUNCATE 1
6599 if test "$enable_maintainer_mode" = yes ; then
6600 { echo "$as_me:$LINENO: result: creating maintainer Makefile" >&5
6601 echo "${ECHO_T}creating maintainer Makefile" >&6; }
6602 ln -s maintainer.mak Makefile
6605 makefile_out
=Makefile
6607 ac_config_files
="$ac_config_files $makefile_out"
6609 cat >confcache
<<\_ACEOF
6610 # This file is a shell script that caches the results of configure
6611 # tests run on this system so they can be shared between configure
6612 # scripts and configure runs, see configure's option --config-cache.
6613 # It is not useful on other systems. If it contains results you don't
6614 # want to keep, you may remove or edit it.
6616 # config.status only pays attention to the cache file if you give it
6617 # the --recheck option to rerun configure.
6619 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6620 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6625 # The following way of writing the cache mishandles newlines in values,
6626 # but we know of no workaround that is simple, portable, and efficient.
6627 # So, we kill variables containing newlines.
6628 # Ultrix sh set writes to stderr and can't be redirected directly,
6629 # and sets the high bit in the cache file unless we assign to the vars.
6631 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6632 eval ac_val
=\$
$ac_var
6636 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
6637 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
6640 _ | IFS | as_nl
) ;; #(
6641 *) $as_unset $ac_var ;;
6647 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6648 *${as_nl}ac_space
=\
*)
6649 # `set' does not quote correctly, so add quotes (double-quote
6650 # substitution turns \\\\ into \\, and sed turns \\ into \).
6653 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6656 # `set' quotes correctly as required by POSIX, so do not add quotes.
6657 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6666 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6668 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6670 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
6671 if test -w "$cache_file"; then
6672 test "x$cache_file" != "x/dev/null" &&
6673 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
6674 echo "$as_me: updating cache $cache_file" >&6;}
6675 cat confcache
>$cache_file
6677 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
6678 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6683 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6684 # Let make expand exec_prefix.
6685 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6687 DEFS
=-DHAVE_CONFIG_H
6691 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6692 # 1. Remove the extension, and $U if already installed.
6693 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
6694 ac_i
=`echo "$ac_i" | sed "$ac_script"`
6695 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6696 # will be set to the directory where LIBOBJS objects are built.
6697 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6698 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
6702 LTLIBOBJS
=$ac_ltlibobjs
6706 : ${CONFIG_STATUS=./config.status}
6707 ac_clean_files_save
=$ac_clean_files
6708 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6709 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6710 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6711 cat >$CONFIG_STATUS <<_ACEOF
6713 # Generated by $as_me.
6714 # Run this file to recreate the current configuration.
6715 # Compiler output produced by configure, useful for debugging
6716 # configure, is in config.log if it exists.
6721 SHELL=\${CONFIG_SHELL-$SHELL}
6724 cat >>$CONFIG_STATUS <<\_ACEOF
6725 ## --------------------- ##
6726 ## M4sh Initialization. ##
6727 ## --------------------- ##
6729 # Be more Bourne compatible
6730 DUALCASE
=1; export DUALCASE
# for MKS sh
6731 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6734 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6735 # is contrary to our usage. Disable this feature.
6736 alias -g '${1+"$@"}'='"$@"'
6737 setopt NO_GLOB_SUBST
6739 case `(set -o) 2>/dev/null` in
6740 *posix
*) set -o posix
;;
6749 # Avoid depending upon Character Ranges.
6750 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6751 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6752 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6753 as_cr_digits
='0123456789'
6754 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6756 # The user is always right.
6757 if test "${PATH_SEPARATOR+set}" != set; then
6758 echo "#! /bin/sh" >conf$$.sh
6759 echo "exit 0" >>conf$$.sh
6761 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6769 # Support unset when possible.
6770 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6778 # We need space, tab and new line, in precisely that order. Quoting is
6779 # there to prevent editors from complaining about space-tab.
6780 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6781 # splitting by setting IFS to empty value.)
6786 # Find who we are. Look in the path if we contain no directory separator.
6788 *[\\/]* ) as_myself
=$0 ;;
6789 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6793 test -z "$as_dir" && as_dir
=.
6794 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
6800 # We did not find ourselves, most probably we were run as `sh COMMAND'
6801 # in which case we are not to be found in the path.
6802 if test "x$as_myself" = x
; then
6805 if test ! -f "$as_myself"; then
6806 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6807 { (exit 1); exit 1; }
6810 # Work around bugs in pre-3.0 UWIN ksh.
6811 for as_var
in ENV MAIL MAILPATH
6812 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
6820 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6821 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6822 LC_TELEPHONE LC_TIME
6824 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6825 eval $as_var=C
; export $as_var
6827 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
6831 # Required to use basename.
6832 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
6833 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6839 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6840 as_basename
=basename
6846 # Name of the executable.
6847 as_me
=`$as_basename -- "$0" ||
6848 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6849 X"$0" : 'X\(//\)$' \| \
6850 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6852 sed '/^.*\/\([^/][^/]*\)\/*$/{
6873 test "x$as_lineno_1" != "x$as_lineno_2" &&
6874 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
6876 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6877 # uniformly replaced by the line number. The first 'sed' inserts a
6878 # line-number line after each line using $LINENO; the second 'sed'
6879 # does the real work. The second script uses 'N' to pair each
6880 # line-number line with the line containing $LINENO, and appends
6881 # trailing '-' during substitution so that $LINENO is not a special
6883 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6884 # scripts with optimization help from Paolo Bonzini. Blame Lee
6885 # E. McMahon (1931-1989) for sed's syntax. :-)
6897 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6901 chmod +x
"$as_me.lineno" ||
6902 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6903 { (exit 1); exit 1; }; }
6905 # Don't try to exec as it changes $[0], causing all sort of problems
6906 # (the dirname of $[0] is not the place where we might find the
6907 # original and so on. Autoconf is especially sensitive to this).
6909 # Exit status is that of the last command.
6914 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
6920 ECHO_C
= ECHO_N
= ECHO_T
=
6923 case `echo 'x\c'` in
6924 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
6931 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
6932 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6938 rm -f conf$$ conf$$.exe conf$$.
file
6939 if test -d conf$$.dir
; then
6940 rm -f conf$$.dir
/conf$$.
file
6946 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6948 # ... but there are two gotchas:
6949 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6950 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6951 # In both cases, we have to default to `cp -p'.
6952 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
6954 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6959 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
6960 rmdir conf$$.dir
2>/dev
/null
6962 if mkdir
-p .
2>/dev
/null
; then
6965 test -d .
/-p && rmdir .
/-p
6969 if test -x / >/dev
/null
2>&1; then
6972 if ls -dL / >/dev
/null
2>&1; then
6979 if test -d "$1"; then
6985 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6986 ???[sx]*):;;*)false;;esac;fi
6990 as_executable_p
=$as_test_x
6992 # Sed expression to map a string onto a valid CPP name.
6993 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6995 # Sed expression to map a string onto a valid variable name.
6996 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7001 # Save the log message, to keep $[0] and so on meaningful, and to
7002 # report actual input values of CONFIG_FILES etc. instead of their
7003 # values after options handling.
7005 This file was extended by $as_me, which was
7006 generated by GNU Autoconf 2.61. Invocation command line was
7008 CONFIG_FILES = $CONFIG_FILES
7009 CONFIG_HEADERS = $CONFIG_HEADERS
7010 CONFIG_LINKS = $CONFIG_LINKS
7011 CONFIG_COMMANDS = $CONFIG_COMMANDS
7014 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7019 cat >>$CONFIG_STATUS <<_ACEOF
7020 # Files that config.status was made for.
7021 config_files="$ac_config_files"
7022 config_headers="$ac_config_headers"
7026 cat >>$CONFIG_STATUS <<\_ACEOF
7028 \`$as_me' instantiates files from templates according to the
7029 current configuration.
7031 Usage: $0 [OPTIONS] [FILE]...
7033 -h, --help print this help, then exit
7034 -V, --version print version number and configuration settings, then exit
7035 -q, --quiet do not print progress messages
7036 -d, --debug don't remove temporary files
7037 --recheck update $as_me by reconfiguring in the same conditions
7038 --file=FILE[:TEMPLATE]
7039 instantiate the configuration file FILE
7040 --header=FILE[:TEMPLATE]
7041 instantiate the configuration header FILE
7043 Configuration files:
7046 Configuration headers:
7049 Report bugs to <bug-autoconf@gnu.org>."
7052 cat >>$CONFIG_STATUS <<_ACEOF
7055 configured by $0, generated by GNU Autoconf 2.61,
7056 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
7058 Copyright (C) 2006 Free Software Foundation, Inc.
7059 This config.status script is free software; the Free Software Foundation
7060 gives unlimited permission to copy, distribute and modify it."
7066 cat >>$CONFIG_STATUS <<\_ACEOF
7067 # If no file are specified by the user, then we need to provide default
7068 # value. By we need to know if files were specified by the user.
7074 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7075 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7086 # Handling of the options.
7087 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7089 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7090 echo "$ac_cs_version"; exit ;;
7091 --debug |
--debu |
--deb |
--de |
--d |
-d )
7093 --file |
--fil |
--fi |
--f )
7095 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7096 ac_need_defaults
=false
;;
7097 --header |
--heade |
--head |
--hea )
7099 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7100 ac_need_defaults
=false
;;
7102 # Conflict between --help and --header
7103 { echo "$as_me: error: ambiguous option: $1
7104 Try \`$0 --help' for more information." >&2
7105 { (exit 1); exit 1; }; };;
7106 --help |
--hel |
-h )
7107 echo "$ac_cs_usage"; exit ;;
7108 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7109 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7113 -*) { echo "$as_me: error: unrecognized option: $1
7114 Try \`$0 --help' for more information." >&2
7115 { (exit 1); exit 1; }; } ;;
7117 *) ac_config_targets
="$ac_config_targets $1"
7118 ac_need_defaults
=false
;;
7124 ac_configure_extra_args
=
7126 if $ac_cs_silent; then
7128 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7132 cat >>$CONFIG_STATUS <<_ACEOF
7133 if \$ac_cs_recheck; then
7134 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7137 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7141 cat >>$CONFIG_STATUS <<\_ACEOF
7145 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7146 ## Running $as_me. ##
7152 cat >>$CONFIG_STATUS <<_ACEOF
7155 cat >>$CONFIG_STATUS <<\_ACEOF
7157 # Handling of arguments.
7158 for ac_config_target
in $ac_config_targets
7160 case $ac_config_target in
7161 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7162 "$makefile_out") CONFIG_FILES
="$CONFIG_FILES $makefile_out" ;;
7164 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7165 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7166 { (exit 1); exit 1; }; };;
7171 # If the user did not use the arguments to specify the items to instantiate,
7172 # then the envvar interface is used. Set only those that are not.
7173 # We use the long form for the default assignment because of an extremely
7174 # bizarre bug on SunOS 4.1.3.
7175 if $ac_need_defaults; then
7176 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7177 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7180 # Have a temporary directory for convenience. Make it in the build tree
7181 # simply because there is no reason against having it here, and in addition,
7182 # creating and moving files from /tmp can sometimes cause problems.
7183 # Hook for its removal unless debugging.
7184 # Note that there is a small window in which the directory will not be cleaned:
7185 # after its creation but before its name has been assigned to `$tmp'.
7189 trap 'exit_status=$?
7190 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7192 trap '{ (exit 1); exit 1; }' 1 2 13 15
7194 # Create a (secure) tmp directory for tmp files.
7197 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7198 test -n "$tmp" && test -d "$tmp"
7201 tmp
=.
/conf$$
-$RANDOM
7202 (umask 077 && mkdir
"$tmp")
7205 echo "$me: cannot create a temporary directory in ." >&2
7206 { (exit 1); exit 1; }
7210 # Set up the sed scripts for CONFIG_FILES section.
7213 # No need to generate the scripts if there are no CONFIG_FILES.
7214 # This happens for instance when ./config.status config.h
7215 if test -n "$CONFIG_FILES"; then
7222 for ac_last_try
in false false false false false
:; do
7223 cat >conf$
$subs.
sed <<_ACEOF
7224 SHELL!$SHELL$ac_delim
7225 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
7226 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
7227 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
7228 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
7229 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
7230 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
7231 exec_prefix!$exec_prefix$ac_delim
7232 prefix!$prefix$ac_delim
7233 program_transform_name!$program_transform_name$ac_delim
7234 bindir!$bindir$ac_delim
7235 sbindir!$sbindir$ac_delim
7236 libexecdir!$libexecdir$ac_delim
7237 datarootdir!$datarootdir$ac_delim
7238 datadir!$datadir$ac_delim
7239 sysconfdir!$sysconfdir$ac_delim
7240 sharedstatedir!$sharedstatedir$ac_delim
7241 localstatedir!$localstatedir$ac_delim
7242 includedir!$includedir$ac_delim
7243 oldincludedir!$oldincludedir$ac_delim
7244 docdir!$docdir$ac_delim
7245 infodir!$infodir$ac_delim
7246 htmldir!$htmldir$ac_delim
7247 dvidir!$dvidir$ac_delim
7248 pdfdir!$pdfdir$ac_delim
7249 psdir!$psdir$ac_delim
7250 libdir!$libdir$ac_delim
7251 localedir!$localedir$ac_delim
7252 mandir!$mandir$ac_delim
7254 ECHO_C!$ECHO_C$ac_delim
7255 ECHO_N!$ECHO_N$ac_delim
7256 ECHO_T!$ECHO_T$ac_delim
7258 build_alias!$build_alias$ac_delim
7259 host_alias!$host_alias$ac_delim
7260 target_alias!$target_alias$ac_delim
7261 install_targets!$install_targets$ac_delim
7263 CFLAGS!$CFLAGS$ac_delim
7264 LDFLAGS!$LDFLAGS$ac_delim
7265 CPPFLAGS!$CPPFLAGS$ac_delim
7266 ac_ct_CC!$ac_ct_CC$ac_delim
7267 EXEEXT!$EXEEXT$ac_delim
7268 OBJEXT!$OBJEXT$ac_delim
7270 STRIP!$STRIP$ac_delim
7271 sort_found!$sort_found$ac_delim
7274 EGREP!$EGREP$ac_delim
7275 LIBOBJS!$LIBOBJS$ac_delim
7276 LTLIBOBJS!$LTLIBOBJS$ac_delim
7279 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 53; then
7281 elif $ac_last_try; then
7282 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7283 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7284 { (exit 1); exit 1; }; }
7286 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
7290 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
7291 if test -n "$ac_eof"; then
7292 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
7293 ac_eof
=`expr $ac_eof + 1`
7296 cat >>$CONFIG_STATUS <<_ACEOF
7297 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
7298 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
7301 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
7302 s/^/s,@/; s/!/@,|#_!!_#|/
7305 s/'"$ac_delim"'$/,g/; t
7307 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
7308 ' >>$CONFIG_STATUS <conf$
$subs.
sed
7309 rm -f conf$
$subs.
sed
7310 cat >>$CONFIG_STATUS <<_ACEOF
7317 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7318 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7319 # trailing colons and then remove the whole line if VPATH becomes empty
7320 # (actually we leave an empty line to preserve line numbers).
7321 if test "x$srcdir" = x.
; then
7322 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
7326 s/^\([^=]*=[ ]*\):*/\1/
7332 cat >>$CONFIG_STATUS <<\_ACEOF
7333 fi # test -n "$CONFIG_FILES"
7336 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS
7339 :[FHLC
]) ac_mode
=$ac_tag; continue;;
7341 case $ac_mode$ac_tag in
7343 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
7344 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
7345 { (exit 1); exit 1; }; };;
7346 :[FH
]-) ac_tag
=-:-;;
7347 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
7364 -) ac_f
="$tmp/stdin";;
7365 *) # Look for the file first in the build tree, then in the source tree
7366 # (if the path is not absolute). The absolute path cannot be DOS-style,
7367 # because $ac_f cannot contain `:'.
7371 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
7373 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
7374 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
7375 { (exit 1); exit 1; }; };;
7377 ac_file_inputs
="$ac_file_inputs $ac_f"
7380 # Let's still pretend it is `configure' which instantiates (i.e., don't
7381 # use $as_me), people would be surprised to read:
7382 # /* config.h. Generated by config.status. */
7383 configure_input
="Generated from "`IFS=:
7384 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
7385 if test x
"$ac_file" != x-
; then
7386 configure_input
="$ac_file. $configure_input"
7387 { echo "$as_me:$LINENO: creating $ac_file" >&5
7388 echo "$as_me: creating $ac_file" >&6;}
7392 *:-:* |
*:-) cat >"$tmp/stdin";;
7397 ac_dir
=`$as_dirname -- "$ac_file" ||
7398 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7399 X"$ac_file" : 'X\(//\)[^/]' \| \
7400 X"$ac_file" : 'X\(//\)$' \| \
7401 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7403 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7422 -*) as_dir
=.
/$as_dir;;
7424 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
7428 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
7429 *) as_qdir
=$as_dir;;
7431 as_dirs
="'$as_qdir' $as_dirs"
7432 as_dir
=`$as_dirname -- "$as_dir" ||
7433 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7434 X"$as_dir" : 'X\(//\)[^/]' \| \
7435 X"$as_dir" : 'X\(//\)$' \| \
7436 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7438 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7455 test -d "$as_dir" && break
7457 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7458 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7459 echo "$as_me: error: cannot create directory $as_dir" >&2;}
7460 { (exit 1); exit 1; }; }; }
7464 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7466 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7467 # A ".." for each directory in $ac_dir_suffix.
7468 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
7469 case $ac_top_builddir_sub in
7470 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7471 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
7474 ac_abs_top_builddir
=$ac_pwd
7475 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
7476 # for backward compatibility:
7477 ac_top_builddir
=$ac_top_build_prefix
7480 .
) # We are building in place.
7482 ac_top_srcdir
=$ac_top_builddir_sub
7483 ac_abs_top_srcdir
=$ac_pwd ;;
7484 [\\/]* | ?
:[\\/]* ) # Absolute name.
7485 ac_srcdir
=$srcdir$ac_dir_suffix;
7486 ac_top_srcdir
=$srcdir
7487 ac_abs_top_srcdir
=$srcdir ;;
7489 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
7490 ac_top_srcdir
=$ac_top_build_prefix$srcdir
7491 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
7493 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
7504 cat >>$CONFIG_STATUS <<\_ACEOF
7505 # If the template does not know about datarootdir, expand it.
7506 # FIXME: This hack should be removed a few years after 2.60.
7507 ac_datarootdir_hack
=; ac_datarootdir_seen
=
7509 case `sed -n '/datarootdir/ {
7518 ' $ac_file_inputs` in
7519 *datarootdir
*) ac_datarootdir_seen
=yes;;
7520 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
7521 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7522 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7524 cat >>$CONFIG_STATUS <<_ACEOF
7525 ac_datarootdir_hack='
7526 s&@datadir@&$datadir&g
7527 s&@docdir@&$docdir&g
7528 s&@infodir@&$infodir&g
7529 s&@localedir@&$localedir&g
7530 s&@mandir@&$mandir&g
7531 s&\\\${datarootdir}&$datarootdir&g' ;;
7535 # Neutralize VPATH when `$srcdir' = `.'.
7536 # Shell code in configure.ac might set extrasub.
7537 # FIXME: do we really want to maintain this feature?
7538 cat >>$CONFIG_STATUS <<_ACEOF
7542 cat >>$CONFIG_STATUS <<\_ACEOF
7544 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7545 s
&@configure_input@
&$configure_input&;t t
7546 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
7547 s
&@srcdir@
&$ac_srcdir&;t t
7548 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
7549 s
&@top_srcdir@
&$ac_top_srcdir&;t t
7550 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
7551 s
&@builddir@
&$ac_builddir&;t t
7552 s
&@abs_builddir@
&$ac_abs_builddir&;t t
7553 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
7554 $ac_datarootdir_hack
7555 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" >$tmp/out
7557 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7558 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
7559 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
7560 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
7561 which seems to be undefined. Please make sure it is defined." >&5
7562 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
7563 which seems to be undefined. Please make sure it is defined." >&2;}
7567 -) cat "$tmp/out"; rm -f "$tmp/out";;
7568 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
7577 # Transform confdefs.h into a sed script `conftest.defines', that
7578 # substitutes the proper values into config.h.in to produce config.h.
7579 rm -f conftest.defines conftest.
tail
7580 # First, append a space to every undef/define line, to ease matching.
7581 echo 's/$/ /' >conftest.defines
7582 # Then, protect against being on the right side of a sed subst, or in
7583 # an unquoted here document, in config.status. If some macros were
7584 # called several times there might be several #defines for the same
7585 # symbol, which is useless. But do not sort them, since the last
7586 # AC_DEFINE must be honored.
7587 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
7588 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
7589 # NAME is the cpp macro being defined, VALUE is the value it is being given.
7590 # PARAMS is the parameter list in the macro definition--in most cases, it's
7591 # just an empty string.
7592 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
7593 ac_dB
='\\)[ (].*,\\1define\\2'
7601 s/^[ ]*#[ ]*define[ ][ ]*//
7606 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
7607 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
7608 ' >>conftest.defines
7610 # Remove the space that was appended to ease matching.
7611 # Then replace #undef with comments. This is necessary, for
7612 # example, in the case of _POSIX_SOURCE, which is predefined and required
7613 # on some systems where configure will not decide to define it.
7614 # (The regexp can be short, since the line contains either #define or #undef.)
7616 s,^[ #]*u.*,/* & */,' >>conftest.defines
7618 # Break up conftest.defines:
7621 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
7622 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
7623 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
7625 ac_in
='$ac_file_inputs'
7626 ac_out
='"$tmp/out1"'
7627 ac_nxt
='"$tmp/out2"'
7631 # Write a here document:
7632 cat >>$CONFIG_STATUS <<_ACEOF
7633 # First, check the format of the line:
7634 cat >"\$tmp/defines.sed" <<\\CEOF
7635 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
7636 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
7640 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
7642 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
7643 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
7644 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
7645 grep . conftest.
tail >/dev
/null ||
break
7646 rm -f conftest.defines
7647 mv conftest.
tail conftest.defines
7649 rm -f conftest.defines conftest.
tail
7651 echo "ac_result=$ac_in" >>$CONFIG_STATUS
7652 cat >>$CONFIG_STATUS <<\_ACEOF
7653 if test x
"$ac_file" != x-
; then
7654 echo "/* $configure_input */" >"$tmp/config.h"
7655 cat "$ac_result" >>"$tmp/config.h"
7656 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
7657 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7658 echo "$as_me: $ac_file is unchanged" >&6;}
7661 mv "$tmp/config.h" $ac_file
7664 echo "/* $configure_input */"
7676 { (exit 0); exit 0; }
7678 chmod +x
$CONFIG_STATUS
7679 ac_clean_files
=$ac_clean_files_save
7682 # configure is writing to config.log, and then calls config.status.
7683 # config.status does its own redirection, appending to config.log.
7684 # Unfortunately, on DOS this fails, as config.log is still kept open
7685 # by configure, so config.status won't be able to write to it; its
7686 # output is simply discarded. So we exec the FD to /dev/null,
7687 # effectively closing config.log, so it can be properly (re)opened and
7688 # appended to by config.status. When coming back to configure, we
7689 # need to make the FD available again.
7690 if test "$no_create" != yes; then
7692 ac_config_status_args
=
7693 test "$silent" = yes &&
7694 ac_config_status_args
="$ac_config_status_args --quiet"
7696 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7698 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7699 # would make configure fail if this is the last instruction.
7700 $ac_cs_success ||
{ (exit 1); exit 1; }