summaryrefslogtreecommitdiff
path: root/gst-autogen.sh
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2002-05-27 14:16:22 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2002-05-27 14:16:22 +0000
commitdfec6e486dfe4c10d7e25b0ff283b666824caa88 (patch)
treee7d3dcf24493c0b55e25f86bf576727e6289dd26 /gst-autogen.sh
parent48e8bb063303c8663b9d95d35242415ad2a5ca19 (diff)
helps when not specifying tools
Original commit message from CVS: helps when not specifying tools
Diffstat (limited to 'gst-autogen.sh')
-rw-r--r--gst-autogen.sh4
1 files 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