diff options
-rw-r--r-- | source3/configure.in | 4 | ||||
-rwxr-xr-x | source3/wscript | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/configure.in b/source3/configure.in index cf4e13e4fa..f2885d2ef4 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -2800,13 +2800,13 @@ AC_TRY_COMPILE([ #define _XOPEN_SOURCE 600 #include <stdlib.h> #if defined(__GLIBC__) && ((__GLIBC__ < 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 4)) - probably broken posix_fallocate + #error probably broken posix_fallocate #endif ], [ ], samba_cv_HAVE_BROKEN_POSIX_FALLOCATE=no,samba_cv_HAVE_BROKEN_POSIX_FALLOCATE=yes)]) if test x"$samba_cv_HAVE_BROKEN_POSIX_FALLOCATE" = xyes; then - AC_DEFINE(HAVE_BROKEN_POSIX_FALLOCATE,, Whether we have a broken posix_fallocate) + AC_DEFINE(HAVE_BROKEN_POSIX_FALLOCATE, 1, Whether we have a broken posix_fallocate) fi diff --git a/source3/wscript b/source3/wscript index ccedb6947f..a9368b284c 100755 --- a/source3/wscript +++ b/source3/wscript @@ -812,7 +812,7 @@ int i; i = PAM_RADIO_TYPE; #endif ''', '_HAVE_UNBROKEN_POSIX_FALLOCATE', - msg='for broken posix_fallocate'): + msg='Checking for broken posix_fallocate'): conf.DEFINE('HAVE_BROKEN_POSIX_FALLOCATE', '1') |