summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index 0afb7ed..fce31bb 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,5 +1,10 @@
#!/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'