Hello All,

        Attached is a patch to check the automake minor version.

        Yes, I'm sure there are more versions that need checking, but
this tripped me, and apparently cantona up.. so it's probably worth the
check.

        Tested against automake 1.4, 1.9 and 1.10 (debian).

        Regards,
        nash


On Tue, 13 Oct 2009 11:25:46 +0800
cantona <cant...@cantona.no-ip.org> wrote:

> Hi all,
> 
> Eina is broken...I attached a patch which fixed the problem.
> 
> - cantona
> ---
> cd . && /bin/sh /home/cantona/e17_src/eina/missing --run autoheader
> rm -f stamp-h1
> touch config.h.in
> cd . && /bin/sh ./config.status config.h
> config.status: creating config.h
> config.status: config.h is unchanged
> make  all-recursive
> make[1]: Entering directory `/home/cantona/e17_src/eina'
> Making all in src
> make[2]: Entering directory `/home/cantona/e17_src/eina/src'
> Making all in lib
> make[3]: Entering directory `/home/cantona/e17_src/eina/src/lib'
> rm -f /eina_amalgamation.c
> /bin/sh: /eina_amalgamation.c: Permission denied
> make[3]: *** [eina_amalgamation.c] Error 1
> make[3]: Leaving directory `/home/cantona/e17_src/eina/src/lib'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/cantona/e17_src/eina/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/cantona/e17_src/eina'
> make: *** [all] Error 2
> 
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart
> your developing skills, take BlackBerry mobile applications to market
> and stay ahead of the curve. Join us from November 9 - 12, 2009.
> Register now! http://p.sf.net/sfu/devconference
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________
Index: autogen.sh
===================================================================
--- autogen.sh	(revision 42995)
+++ autogen.sh	(working copy)
@@ -3,6 +3,16 @@
 rm -rf autom4te.cache
 rm -f aclocal.m4 ltmain.sh
 
+# Ignore the major version for now
+AUTOMAKE_MINOR_NEEDED=10
+
+AUTOMAKE_MINOR_VER=`automake --version |
+	sed -n 's,^automake (GNU automake) 1\.\([0-9]*\).*,\1,p'`
+if [ "$AUTOMAKE_MINOR_VER" -lt  "$AUTOMAKE_MINOR_NEEDED" ]; then
+	echo "Need automake 1.10 or later";
+	exit 1
+fi
+
 echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS -I m4 || exit 1
 echo "Running autoheader..." ; autoheader || exit 1
 echo "Running autoconf..." ; autoconf || exit 1
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to