[MPlayer-cvslog] r34166 - trunk/configure
reimar
subversion at mplayerhq.hu
Fri Sep 30 23:20:08 CEST 2011
Author: reimar
Date: Fri Sep 30 23:20:07 2011
New Revision: 34166
Log:
Fix cpp_condition_check to work for empty header.
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure Fri Sep 30 17:28:01 2011 (r34165)
+++ trunk/configure Fri Sep 30 23:20:07 2011 (r34166)
@@ -90,8 +90,12 @@ cxx_check() {
}
cpp_condition_check() {
+ inc=""
+ if test -n "$1" ; then
+ inc="#include <$1>"
+ fi
cat > $TMPC << EOF
-#include <$1>
+$inc
#if !($2)
#error condition not true: $2
#endif
More information about the MPlayer-cvslog
mailing list