[MPlayer-cvslog] r31436 - trunk/configure
diego
subversion at mplayerhq.hu
Wed Jun 16 21:09:06 CEST 2010
Author: diego
Date: Wed Jun 16 21:09:06 2010
New Revision: 31436
Log:
Add header_check convenience function to check for header availability.
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure Wed Jun 16 20:59:59 2010 (r31435)
+++ trunk/configure Wed Jun 16 21:09:06 2010 (r31436)
@@ -81,6 +81,15 @@ cxx_check() {
compile_check $TMPCPP $@ -lstdc++
}
+header_check() {
+ cat > $TMPC << EOF
+#include <$1>
+int main(void) { return 0; }
+EOF
+ shift
+ compile_check $TMPC $@
+}
+
yasm_check() {
echo >> "$TMPLOG"
cat "$TMPS" >> "$TMPLOG"
More information about the MPlayer-cvslog
mailing list