debian: Ignore other secondary architectures, not just :i386.
[febootstrap.git] / autogen.sh
index 0ab1868..fce31bb 100755 (executable)
@@ -1,9 +1,12 @@
 #!/bin/sh -
 
-if [ -d ../gnulib ]; then
-    ../gnulib/gnulib-tool --update
+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 "$@"