Skip to content
This repository has been archived by the owner on Mar 10, 2019. It is now read-only.

Commit

Permalink
autogen: fail noisily if yelp-tools can't be found
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Matthew committed Jun 3, 2013
1 parent 1d5d9c9 commit 67899c2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ if test -z `which autopoint`; then
exit 1
fi


ACDIR=`${ACLOCAL:-aclocal} --print-ac-dir`
if ! test -f $ACDIR/yelp.m4; then
echo "*** No yelp-tools found, please install it ***"
exit 1
fi

# Need to mkdir -p the m4 directory in case it doesn't exist, to prevent
# gtkdocize from failing.
mkdir -p m4
Expand Down

0 comments on commit 67899c2

Please sign in to comment.