[MPlayer-cvslog] r32243 - trunk/configure
diego
subversion at mplayerhq.hu
Tue Sep 14 15:37:47 CEST 2010
Author: diego
Date: Tue Sep 14 15:37:47 2010
New Revision: 32243
Log:
Add inline_asm_check function to simplify configure checks.
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure Tue Sep 14 15:21:05 2010 (r32242)
+++ trunk/configure Tue Sep 14 15:37:47 2010 (r32243)
@@ -107,6 +107,14 @@ EOF
compile_check $TMPC $@
}
+inline_asm_check() {
+ cat > $TMPC << EOF
+int main(void) { __asm__ volatile ($1); return 0; }
+EOF
+ shift
+ compile_check $TMPC $@
+}
+
# this is a special check only to be
# used for broken headers that do not
# include all dependencies
More information about the MPlayer-cvslog
mailing list