Bug #4510: allowing -ansi for arpa/nameser.h in configure.ac

Joel Parker jjk3 at msstate.edu
Fri Sep 8 23:39:57 CDT 2006


This patch fixes bug #4510. It allows the use of -ansi when
running ./configure.


-- 
Joel Parker
-------------- next part --------------
Subject: allowing -ansi for nameser.h

---

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

25568db53027391666e07173f786e8593d2ed588
diff --git a/configure.ac b/configure.ac
index d3b1182..3e4d34a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -155,7 +155,6 @@ AC_CHECK_HEADERS(\
 	IOKit/IOKitLib.h \
 	alsa/asoundlib.h \
 	arpa/inet.h \
-	arpa/nameser.h \
 	asm/types.h \
 	capi20.h \
 	cups/cups.h \
@@ -257,6 +256,7 @@ AC_CHECK_HEADERS(\
 	utime.h \
 	valgrind/memcheck.h
 )
+AC_CHECK_HEADERS([arpa/nameser.h], [], [], [#define _BSD_SOURCE])
 AC_HEADER_STAT()
 
 dnl **** Checks for headers that depend on other ones ****
-- 
1.1.3


More information about the wine-patches mailing list