[prev in list] [next in list] [prev in thread] [next in thread] 

List:       geos-commits
Subject:    [geos-commits] r2241 - trunk
From:       svn_geos () osgeo ! org
Date:       2009-01-18 21:30:30
Message-ID: 20090118213030.3C908E00B7E () lists ! osgeo ! org
[Download RAW message or body]

Author: pramsey
Date: 2009-01-18 16:30:30 -0500 (Sun, 18 Jan 2009)
New Revision: 2241

Modified:
   trunk/autogen.sh
Log:
Add version test for aclocal and automake to allow OpenSolaris to work.


Modified: trunk/autogen.sh
===================================================================
--- trunk/autogen.sh	2009-01-18 20:34:09 UTC (rev 2240)
+++ trunk/autogen.sh	2009-01-18 21:30:30 UTC (rev 2241)
@@ -14,6 +14,21 @@
 
 OSTYPE=`uname -s`
 
+for aclocal in aclocal aclocal-1.10 aclocal-1.9; do
+    ACLOCAL=`which $aclocal 2>/dev/null`
+    if test -x "${ACLOCAL}"; then
+        break;
+    fi
+done
+
+for automake in automake automake-1.10 automake-1.9; do
+    AUTOMAKE=`which $automake 2>/dev/null`
+    if test -x "${AUTOMAKE}"; then
+        break;
+    fi
+done
+
+
 for libtoolize in glibtoolize libtoolize; do
     LIBTOOLIZE=`which $libtoolize 2>/dev/null`
     if test -x "${LIBTOOLIZE}"; then
@@ -28,13 +43,13 @@
 fi
 
 echo "Running aclocal -I macros"
-aclocal -I macros || giveup
+$ACLOCAL -I macros || giveup
 echo "Running autoheader"
 autoheader || giveup
 echo "Running libtoolize"
 $LIBTOOLIZE --force --copy || giveup
 echo "Running automake"
-automake $AMFLAGS # || giveup
+$AUTOMAKE $AMFLAGS # || giveup
 echo "Running autoconf"
 autoconf || giveup
 

_______________________________________________
geos-commits mailing list
geos-commits@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/geos-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic