Author: ivanovic
Date: Sat Apr 25 14:43:13 2009
New Revision: 35190

URL: http://svn.gna.org/viewcvs/wesnoth?rev=35190&view=rev
Log:
make sure that sendfile *only* from sys/sendfile.h is accepted

Modified:
    branches/1.6/cmake/SearchForStuff.cmake

Modified: branches/1.6/cmake/SearchForStuff.cmake
URL: 
http://svn.gna.org/viewcvs/wesnoth/branches/1.6/cmake/SearchForStuff.cmake?rev=35190&r1=35189&r2=35190&view=diff
==============================================================================
--- branches/1.6/cmake/SearchForStuff.cmake (original)
+++ branches/1.6/cmake/SearchForStuff.cmake Sat Apr 25 14:43:13 2009
@@ -17,9 +17,9 @@
 CHECK_INCLUDE_FILES(sys/poll.h HAVE_SYS_POLL_H)
 CHECK_INCLUDE_FILES(sys/select.h HAVE_SYS_SELECT_H)
 CHECK_INCLUDE_FILES(sys/sendfile.h HAVE_SYS_SENDFILE_H)
-if(HAVE_POLL_H OR HAVE_SYS_POLL_H OR HAVE_SYS_SELECT_H OR HAVE_SYS_SENDFILE_H)
+if(HAVE_SYS_SENDFILE_H)
   CHECK_FUNCTION_EXISTS(sendfile HAVE_SENDFILE)
-endif(HAVE_POLL_H OR HAVE_SYS_POLL_H OR HAVE_SYS_SELECT_H OR 
HAVE_SYS_SENDFILE_H)
+endif(HAVE_SYS_SENDFILE_H)
 
 #in configure.ac it is not explicitly tested, if it is in 'm', instead the 
first
 #test is if "floor" is available in m and later on it is checked if round,


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to