aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2012-04-06 21:33:20 +0200
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2012-04-12 09:51:54 +0100
commite172fe1177ffa14f6d13cc539dd80d2a2705aa73 (patch)
tree580d3e4423f7aa3c5a157a172e9fb203d76f1200
parent8fb03151651cc61f68f8032374c9c08dc129b9d9 (diff)
configure: Fix wrong preprocessor statement
#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>
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 5aaafa1912..b392c6f390 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