summaryrefslogtreecommitdiffstats
path: root/jit-test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'jit-test.sh')
-rwxr-xr-xjit-test.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/jit-test.sh b/jit-test.sh
new file mode 100755
index 0000000..bcdfc27
--- /dev/null
+++ b/jit-test.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+if ${CC} -c -o/dev/null "${0%.sh}.c"; then
+ printf '--enable-jit\n'
+fi
+exit 0