changeset 34051:1be07d02d453

configure: add missing C program body to cpp_condition_check() Since cpp_condition_check() wraps compile_check(), which compiles and links a binary, a C main() function must exist for those steps to succeed.
author diego
date Mon, 26 Sep 2011 17:25:45 +0000
parents e94b4b7a09fe
children 9f19a87d2062
files configure
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Mon Sep 26 16:30:22 2011 +0000
+++ b/configure	Mon Sep 26 17:25:45 2011 +0000
@@ -95,6 +95,7 @@
 #if !($2)
 #error condition not true: $2
 #endif
+int main(void) { return 0; }
 EOF
   shift 2
   compile_check $TMPC $@