Author: silene
Date: Thu Apr 23 23:43:29 2009
New Revision: 35144

URL: http://svn.gna.org/viewcvs/wesnoth?rev=35144&view=rev
Log:
Conditionalized sendfile support on the presence of sys/sendfile.h, since 
FreeBSD version is slightly different.

Modified:
    trunk/configure.ac

Modified: trunk/configure.ac
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/configure.ac?rev=35144&r1=35143&r2=35144&view=diff
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Thu Apr 23 23:43:29 2009
@@ -740,7 +740,8 @@
 AC_FUNC_STAT
 AC_FUNC_STRFTIME
 AC_CHECK_LIB(m, floor)
-AC_CHECK_FUNCS([round socket strtoul sendfile])
+AC_CHECK_FUNCS([round socket strtoul])
+AC_CHECK_HEADER([sys/sendfile.h], [AC_CHECK_FUNCS([sendfile])], [])
 
 
 #######################################################################


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

Reply via email to