build: check guess-rev.sh can be found/executed

Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
This commit is contained in:
Spencer Oliver 2011-08-16 12:06:57 +01:00
parent b72af9dbfc
commit 42b85f76f7
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ is_darwin=no
# guess-rev.sh only exists in the repository, not in the released archives
AC_MSG_CHECKING([whether to build a release])
if test -f $srcdir/guess-rev.sh ; then
if test -x $srcdir/guess-rev.sh ; then
build_release=no
else
build_release=yes