expat configure.in,1.36,1.37
"Fred L. Drake" <[email protected]> Wed, 15 Oct 2003 21:32:41 -0700
| Newsgroups | gmane.text.xml.expat.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/expat/expat
In directory sc8-pr-cvs1:/tmp/cvs-serv31658
Modified Files:
configure.in
Log Message:
- reorganize by the components that need what we're checking for
- remove the check for memcmp(); we didn't use the result of the check
(though we do use memcmp())
Index: configure.in
===================================================================
RCS file: /cvsroot/expat/expat/configure.in,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- configure.in 9 Oct 2003 21:32:28 -0000 1.36
+++ configure.in 16 Oct 2003 04:32:39 -0000 1.37
@@ -80,7 +80,6 @@
dnl Checks for header files.
AC_HEADER_STDC
-AC_CHECK_HEADERS(fcntl.h unistd.h)
dnl Checks for typedefs, structures, and compiler characteristics.
@@ -89,12 +88,12 @@
AC_C_BIGENDIAN_CROSS
AC_C_CONST
-AC_TYPE_OFF_T
AC_TYPE_SIZE_T
+AC_CHECK_FUNCS(memmove bcopy)
-dnl Checks for library functions.
-
-AC_FUNC_MEMCMP
+dnl Only needed for xmlwf:
+AC_CHECK_HEADERS(fcntl.h unistd.h)
+AC_TYPE_OFF_T
AC_FUNC_MMAP
if test "$ac_cv_func_mmap_fixed_mapped" = "yes"; then
@@ -104,10 +103,10 @@
fi
AC_SUBST(FILEMAP)
-AC_CHECK_FUNCS(memmove bcopy)
+dnl Only needed for regression tests:
AC_CHECK_HEADERS(check.h)
-dnl some basic configuration
+dnl Some basic configuration:
AC_DEFINE([XML_NS], 1,
[Define to make XML Namespaces functionality available.])
AC_DEFINE([XML_DTD], 1,