From patchwork Fri Apr 13 09:39:12 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [2/6] configure: Fix wrong preprocessor statement Date: Thu, 12 Apr 2012 23:39:12 -0000 From: Stefan Hajnoczi X-Patchwork-Id: 152274 Message-Id: <1334309956-31827-3-git-send-email-stefanha@linux.vnet.ibm.com> To: Anthony Liguori Cc: Stefan Weil , qemu-devel@nongnu.org, Stefan Hajnoczi From: Stefan Weil #abort is not a preprocessor statement. It aborts, but the preprocessor statement #error is more common to abort a compilation. Signed-off-by: Stefan Weil Signed-off-by: Stefan Hajnoczi --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 5aaafa1..b392c6f 100755 --- a/configure +++ b/configure @@ -2624,7 +2624,7 @@ int main(void) { #if defined(_POSIX_SYNCHRONIZED_IO) && _POSIX_SYNCHRONIZED_IO > 0 return fdatasync(0); #else -#abort Not supported +#error Not supported #endif } EOF