discover: Reimplement native-parser as a Bison parser
[petitboot] / bootstrap
index e72dad67c279f3b3e4b174311ae66c67a26fa15d..4653877932dca2cb3c63d976938b1e8f3d950058 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -1,3 +1,14 @@
 #!/bin/sh
 
+progs="autoconf automake autopoint libtoolize pkg-config"
+
+for p in ${progs}; do
+       if test -z "$(${p} --version 2>/dev/null)"; then
+               echo "Please install ${p}"
+               result=1
+       fi
+done
+
+[ -z ${result} ] || exit 1
+
 exec autoreconf -f -i