Code

Fixing autogen for OS X.
authorJon A. Cruz <jon@joncruz.org>
Thu, 25 Feb 2010 03:02:24 +0000 (19:02 -0800)
committerJon A. Cruz <jon@joncruz.org>
Thu, 25 Feb 2010 03:02:24 +0000 (19:02 -0800)
autogen.sh

index 6a7c6317b2b2e0d373fafe9ba4466f51c4efec7f..c1e8ad42cd62e61ee367fdd71b1cc0af52b0f5bb 100755 (executable)
@@ -86,7 +86,10 @@ fi
 
 echo -n "checking for automake >= $AUTOMAKE_REQUIRED_VERSION ... "
 # Prefer earlier versions just so that the earliest supported version gets test coverage by developers.
-if (automake-1.10 --version) < /dev/null > /dev/null 2>&1; then
+if (automake-1.11 --version) < /dev/null > /dev/null 2>&1; then
+   AUTOMAKE=automake-1.11
+   ACLOCAL=aclocal-1.11
+elif (automake-1.10 --version) < /dev/null > /dev/null 2>&1; then
    AUTOMAKE=automake-1.10
    ACLOCAL=aclocal-1.10
 elif (automake --version) < /dev/null > /dev/null 2>&1; then