summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure b/configure
index cc687907b2..2648bbd126 100755
--- a/configure
+++ b/configure
@@ -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"