[Libreoffice-commits] .: autogen.sh

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Nov 30 22:38:00 PST 2012


 autogen.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b8f3214f5ce0c6ac3eaab30abf2d281dbd1f6fd7
Author: Tor Lillqvist <tlillqvist at suse.com>
Date:   Fri Nov 30 23:42:36 2012 +0200

    Don't require configure to appear executable
    
    Makes autogen.sh work on Cygwin when the build directory is on a
    vmware Shared Folder volume.

diff --git a/autogen.sh b/autogen.sh
index 8884d5f..04d87c0 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.";


More information about the Libreoffice-commits mailing list