summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2012-11-30 23:42:36 +0200
committerTor Lillqvist <tlillqvist@suse.com>2012-12-01 08:35:04 +0200
commitb8f3214f5ce0c6ac3eaab30abf2d281dbd1f6fd7 (patch)
tree7d2a306bcaa1425a5828befbbc578e499406af43 /autogen.sh
parenta1c05acd19482b5da1f71ac03071d70277568766 (diff)
Don't require configure to appear executable
Makes autogen.sh work on Cygwin when the build directory is on a vmware Shared Folder volume.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index 8884d5f978ed..04d87c0ea903 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -157,7 +157,7 @@ $ENV{AUTOMAKE_EXTRA_FLAGS} = '--warnings=no-portability' if (!($system eq 'Darwi
system ("$aclocal $aclocal_flags") && die "Failed to run aclocal";
unlink ("configure");
system ("autoconf") && die "Failed to run autoconf";
-die "failed to generate configure" if (! -x "configure");
+die "failed to generate configure" if (! -f "configure");
if (defined $ENV{NOCONFIGURE}) {
print "Skipping configure process.";