diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-06-07 14:29:44 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-06-07 08:35:33 +0200 |
commit | 0dd4363bb2d7d6dd361f859c38c0611b4c98a71d (patch) | |
tree | cb641643d43312a23fe9c73bcbb4a5f23ed27515 /source3/configure.in | |
parent | 06c90cb6f55701effa4cbafaf189a4de8471949b (diff) | |
download | samba-0dd4363bb2d7d6dd361f859c38c0611b4c98a71d.tar.gz samba-0dd4363bb2d7d6dd361f859c38c0611b4c98a71d.tar.bz2 samba-0dd4363bb2d7d6dd361f859c38c0611b4c98a71d.zip |
build: Tidy up broken posix_fallocate tests
This makes the code and output for in waf and autoconf identical.
Andrew Bartlett
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu Jun 7 08:35:33 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/configure.in')
-rw-r--r-- | source3/configure.in | 4 |
1 files changed, 2 insertions, 2 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 |