diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2012-04-18 16:59:11 +0100 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2012-04-18 13:01:36 -0400 |
commit | b792258e1f76c04a5bb61f60e7121a362b38a00b (patch) | |
tree | ec78a9a16b42b28a9041dc3ccdc389c41bb99007 | |
parent | d234ccf15a897024bb004d0f3a9a2f3b8d0976e6 (diff) | |
download | linux-user-chroot-b792258e1f76c04a5bb61f60e7121a362b38a00b.tar.gz |
autogen: remove dependency on which
Signed-off-by: Colin Walters <walters@verbum.org>
-rwxr-xr-x | autogen.sh | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -6,9 +6,8 @@ test -n "$srcdir" || srcdir=. olddir=`pwd` cd $srcdir -AUTORECONF=`which autoreconf` -if test -z $AUTORECONF; then - echo "*** No autoreconf found, please intall it ***" +if ! (autoreconf --version >/dev/null 2>&1); then + echo "*** No autoreconf found, please install it ***" exit 1 fi |