diff options
author | Colin Watson <cjwatson@debian.org> | 2007-12-13 17:21:01 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2007-12-13 17:21:01 +0000 |
commit | 7170a6480cd4128be898e0b04f657cb8b44c7b6a (patch) | |
tree | 26178a4f68df5d093d23d5f11a268311aa89c2a0 /autogen.sh | |
parent | 4ff30791b6fe2c2a13c1d5a77a17013e7a931317 (diff) |
* autogen.sh: Permit gnulib-tool to be missing; in that case, just
run autoreconf.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 "$@" |