OSDN Git Service

configure: Fix wrong preprocessor statement
authorStefan Weil <sw@weilnetz.de>
Fri, 6 Apr 2012 19:33:20 +0000 (21:33 +0200)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Thu, 12 Apr 2012 08:51:54 +0000 (09:51 +0100)
#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 <sw@weilnetz.de>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
configure

index 5aaafa1..b392c6f 100755 (executable)
--- 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