debian: Don't always try to run dpkg-query command.
[febootstrap.git] / autogen.sh
index 32f085b..fce31bb 100755 (executable)
@@ -1,5 +1,12 @@
 #!/bin/sh -
 
+if [ -z "$(ls gnulib 2>/dev/null)" ]
+then
+    git clone git://git.savannah.gnu.org/gnulib.git
+fi
+
+./gnulib/gnulib-tool --update
+
 export AUTOMAKE='automake --foreign --add-missing'
 autoreconf
 ./configure "$@"