[PATCH 1/2] configure: Check for the getattrlist() function and the <sys/attr.h> header. (resend)

Charles Davis cdavis at mymail.mines.edu
Tue Oct 26 17:26:12 CDT 2010


From: Charles Davis <cdavis at mines.edu>

---
 configure           |    2 ++
 configure.ac        |    2 ++
 include/config.h.in |    6 ++++++
 3 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/configure b/configure
index 32efe7f..0a0621d 100755
--- a/configure
+++ b/configure
@@ -5842,6 +5842,7 @@ for ac_header in \
 	strings.h \
 	stropts.h \
 	sys/asoundlib.h \
+	sys/attr.h \
 	sys/cdio.h \
 	sys/elf32.h \
 	sys/epoll.h \
@@ -12516,6 +12517,7 @@ for ac_func in \
 	ftruncate \
 	futimes \
 	futimesat \
+    getattrlist \
 	getdirentries \
 	getopt_long \
 	getpagesize \
diff --git a/configure.ac b/configure.ac
index 7b6818b..f5f986b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -453,6 +453,7 @@ AC_CHECK_HEADERS(\
 	strings.h \
 	stropts.h \
 	sys/asoundlib.h \
+	sys/attr.h \
 	sys/cdio.h \
 	sys/elf32.h \
 	sys/epoll.h \
@@ -1866,6 +1867,7 @@ AC_CHECK_FUNCS(\
 	ftruncate \
 	futimes \
 	futimesat \
+    getattrlist \
 	getdirentries \
 	getopt_long \
 	getpagesize \
diff --git a/include/config.h.in b/include/config.h.in
index 0bb6be2..611077c 100644
--- a/include/config.h.in
+++ b/include/config.h.in
@@ -193,6 +193,9 @@
 /* Define to 1 if you have the `getaddrinfo' function. */
 #undef HAVE_GETADDRINFO
 
+/* Define to 1 if you have the `getattrlist' function. */
+#undef HAVE_GETATTRLIST
+
 /* Define to 1 if you have the `getdirentries' function. */
 #undef HAVE_GETDIRENTRIES
 
@@ -868,6 +871,9 @@
 /* Define to 1 if you have the <sys/asoundlib.h> header file. */
 #undef HAVE_SYS_ASOUNDLIB_H
 
+/* Define to 1 if you have the <sys/attr.h> header file. */
+#undef HAVE_SYS_ATTR_H
+
 /* Define to 1 if you have the <sys/cdio.h> header file. */
 #undef HAVE_SYS_CDIO_H
 
-- 
1.7.3.2




More information about the wine-patches mailing list