build: check guess-rev.sh can be found/executed
authorSpencer Oliver <ntfreak@users.sourceforge.net>
Tue, 16 Aug 2011 11:06:57 +0000 (12:06 +0100)
committerSpencer Oliver <ntfreak@users.sourceforge.net>
Tue, 16 Aug 2011 11:06:57 +0000 (12:06 +0100)
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
configure.ac

index 3c0056c..1bbc976 100644 (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