]> git.sesse.net Git - betaftpd/blobdiff - configure.in
The check for sys/sendfile.h is no longer done twice.
[betaftpd] / configure.in
index b280bc10d2b52fae3faf32226dc99e3a2e89635d..763e05dd6b83a3d2ac4cdb9a9becf3e44014ff07 100644 (file)
@@ -194,12 +194,7 @@ dnl
 dnl sendfile() is not standard -- we'll have to check the different
 dnl versions one by one :-)
 dnl
-AC_CHECK_HEADER(sys/sendfile.h,result=yes,result=no)
-
-dnl
-dnl For some reason, we have to check it AGAIN... Otherwise it's never defined!
-dnl
-AC_CHECK_HEADERS(sys/sendfile.h)
+AC_CHECK_HEADERS(sys/sendfile.h,result=yes,result=no)
 
 if test "$result" = "yes"; then
        AC_MSG_CHECKING([for Linux sendfile()])