[MPlayer-cvslog] r34139 - trunk/configure

diego subversion at mplayerhq.hu
Mon Sep 26 19:25:46 CEST 2011


Author: diego
Date: Mon Sep 26 19:25:45 2011
New Revision: 34139

Log:
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.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Mon Sep 26 18:30:22 2011	(r34138)
+++ trunk/configure	Mon Sep 26 19:25:45 2011	(r34139)
@@ -95,6 +95,7 @@ cpp_condition_check() {
 #if !($2)
 #error condition not true: $2
 #endif
+int main(void) { return 0; }
 EOF
   shift 2
   compile_check $TMPC $@


More information about the MPlayer-cvslog mailing list