From dfec6e486dfe4c10d7e25b0ff283b666824caa88 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Mon, 27 May 2002 14:16:22 +0000 Subject: [PATCH] helps when not specifying tools Original commit message from CVS: helps when not specifying tools --- gst-autogen.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst-autogen.sh b/gst-autogen.sh index 7062242..b8354e5 100644 --- a/gst-autogen.sh +++ b/gst-autogen.sh @@ -131,7 +131,7 @@ aclocal_check () then CONFIGURE_DEF_OPT="$CONFIGURE_DEF_OPT --with-aclocal=$aclocal" fi - if [ ! -x $aclocal ]; then + if [ ! -x `which $aclocal` ]; then echo "Error: cannot execute $aclocal !" return 1 fi @@ -152,7 +152,7 @@ autoheader_check () then CONFIGURE_DEF_OPT="$CONFIGURE_DEF_OPT --with-autoheader=$autoheader" fi - if [ ! -x $autoheader ]; then + if [ ! -x `which $autoheader` ]; then echo "Error: cannot execute $autoheader !" return 1 fi -- 2.7.4