+if [ "$need_libpicofe" = "yes" ]; then
+ if ! test -f "frontend/libpicofe/README"; then
+ fail "libpicofe is missing, please run 'git submodule init && git submodule update'"
+ fi
+fi
+
+if [ "$need_warm" = "yes" ]; then
+ if ! test -f "frontend/warm/README"; then
+ fail "wARM is missing, please run 'git submodule init && git submodule update'"
+ fi
+fi
+
+# basic compiler test
+cat > $TMPC <<EOF
+#include <zlib.h>
+int main(void) { return 0; }
+EOF
+if ! compile_binary; then
+ fail "compiler test failed, please check config.log"
+fi
+