From 359718fa6c7ff177ef3413552f57a174d7205102 Mon Sep 17 00:00:00 2001 From: Erik Nolte Date: Thu, 6 Oct 2011 14:29:54 -0600 Subject: [PATCH] Checkout gnulib if the directory is empty. --- autogen.sh | 5 +++++ 1 file changed, 5 insertions(+) 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' -- 1.8.3.1