summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2009-11-26 10:18:36 -0800
committerKaz Kylheku <kaz@kylheku.com>2009-11-26 10:18:36 -0800
commit2b9b28c61abcc907e3166deaddc5461515406d53 (patch)
tree451136f9f8c0940fb955be501fb801d841f61437 /configure
parentfd5de54fa1df41dbb46b8869901541987cbdc427 (diff)
downloadtxr-2b9b28c61abcc907e3166deaddc5461515406d53.tar.gz
txr-2b9b28c61abcc907e3166deaddc5461515406d53.tar.bz2
txr-2b9b28c61abcc907e3166deaddc5461515406d53.zip
Check for user's specified yacc program.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index 58a13760..d3fe7ccb 100755
--- a/configure
+++ b/configure
@@ -730,6 +730,10 @@ else
exit 1
;;
* )
+ if ! command -v "$yaccpath" > /dev/null ; then
+ printf "not found\n\n"
+ exit 1
+ fi
printf "given\n"
;;
esac