Author: ivanovic
Date: Sat Apr 25 14:43:20 2009
New Revision: 35191
URL: http://svn.gna.org/viewcvs/wesnoth?rev=35191&view=rev
Log:
make sure that sendfile *only* from sys/sendfile.h is accepted
Modified:
trunk/cmake/SearchForStuff.cmake
Modified: trunk/cmake/SearchForStuff.cmake
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/cmake/SearchForStuff.cmake?rev=35191&r1=35190&r2=35191&view=diff
==============================================================================
--- trunk/cmake/SearchForStuff.cmake (original)
+++ trunk/cmake/SearchForStuff.cmake Sat Apr 25 14:43:20 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