summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2007-12-13 17:21:01 +0000
committerColin Watson <cjwatson@debian.org>2007-12-13 17:21:01 +0000
commit7170a6480cd4128be898e0b04f657cb8b44c7b6a (patch)
tree26178a4f68df5d093d23d5f11a268311aa89c2a0 /autogen.sh
parent4ff30791b6fe2c2a13c1d5a77a17013e7a931317 (diff)
* autogen.sh: Permit gnulib-tool to be missing; in that case, just
run autoreconf.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/autogen.sh b/autogen.sh
index 61695223..32af5b07 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,5 +1,7 @@
#! /bin/sh -e
-gnulib-tool --update >/dev/null
-patch -s -p0 < gnulib/lib/xmalloc.patch
+if type gnulib-tool >/dev/null 2>&1; then
+ gnulib-tool --update >/dev/null
+ patch -s -p0 < gnulib/lib/xmalloc.patch
+fi
autoreconf -i "$@"