[gimp] Require libtool >= 2.2 on Microsoft Windows



commit 2396ecb91ac521b11ec679aea17269332afb6cb5
Author: Michael Schumacher <schumaml gmx de>
Date:   Tue Aug 11 00:00:22 2009 +0200

    Require libtool >= 2.2 on Microsoft Windows
    
    This is needed for the -shrext command line option, which will be used for e.g. pygimp.

 autogen.sh |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 813bed5..82f02d2 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -19,6 +19,7 @@ AUTOCONF_REQUIRED_VERSION=2.54
 AUTOMAKE_REQUIRED_VERSION=1.9.6
 INTLTOOL_REQUIRED_VERSION=0.40.1
 LIBTOOL_REQUIRED_VERSION=1.5
+LIBTOOL_WIN32_REQUIRED_VERSION=2.2
 
 
 PROJECT="GNU Image Manipulation Program"
@@ -79,6 +80,14 @@ echo
 
 DIE=0
 
+OS=`uname -s`
+case $OS in
+    *YGWIN* | *INGW*)
+	echo "Looks like Win32, you will need libtool $LIBTOOL_WIN32_REQUIRED_VERSION or newer."
+	echo
+	LIBTOOL_REQUIRED_VERSION=$LIBTOOL_WIN32_REQUIRED_VERSION
+	;;
+esac
 
 echo -n "checking for libtool >= $LIBTOOL_REQUIRED_VERSION ... "
 if ($LIBTOOLIZE --version) < /dev/null > /dev/null 2>&1; then



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]