Author: silene
Date: Thu Apr 23 23:46:19 2009
New Revision: 35145

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

Modified:
    branches/1.6/configure.ac

Modified: branches/1.6/configure.ac
URL: 
http://svn.gna.org/viewcvs/wesnoth/branches/1.6/configure.ac?rev=35145&r1=35144&r2=35145&view=diff
==============================================================================
--- branches/1.6/configure.ac (original)
+++ branches/1.6/configure.ac Thu Apr 23 23:46:19 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