I had the same problem, using 'autoreconf -vif -I m4' on a Fedora 12. It seems the '-I m4' option is not passed to aclocal command line:
$ autoreconf --version autoreconf (GNU Autoconf) 2.63 [...] $ autoreconf -vif -I m4 autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force autoreconf: running: /usr/bin/autoconf --include=m4 --force configure.ac:15: error: possibly undefined macro: AC_C___ATTRIBUTE__ If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. autoreconf: /usr/bin/autoconf failed with exit status: 1 # Forcing the -I m4 option to aclocal: $ ACLOCAL='aclocal -I m4' autoreconf -vif -I m4 autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal -I m4 --force autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force autoreconf: running: /usr/bin/autoconf --include=m4 --force autoreconf: running: /usr/bin/autoheader --include=m4 --force autoreconf: running: automake --add-missing --copy --force-missing autoreconf: Leaving directory `.' Adding 'ACLOCAL_AMFLAGS = -I m4' to Makefile.am works too, and seems to be the preferred solution. Cheers Lionel On Mon, Mar 19, 2012 at 2:50 PM, patrick chevalier <patrick.cheval...@openwide.fr> wrote: > You used ./configure -vif -I m4 ? > > -- > CHEVALIER Patrick > Open Wide Ingénierie > > ----- Original Message ----- >> From: "Guillaume Friloux" <guillaume.fril...@asp64.com> >> To: enlightenment-devel@lists.sourceforge.net >> Sent: Monday, 19 March, 2012 2:45:39 PM >> Subject: Re: [E-devel] [ELEGANCE] Source code available on git-hub >> >> On 19/03/2012 14:09, patrick chevalier wrote: >> > Hi everybody, >> > >> > Just a little mail to inform all of you that I upload my code/work >> > on Elegance. >> > Reminder: Elegance is an EFL based application that enables anyone >> > to design a GUI easily on a tablet. >> > All sources are available on github >> > (https://github.com/pchevalier/Elegance.git). >> > >> > Regards, >> > >> > >> Here on archlinux with libtool 2.4.2-4 : >> libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in >> Makefile.am. >> configure.ac:14: error: possibly undefined macro: AC_C___ATTRIBUTE__ >> If this token and others are legitimate, please use >> m4_pattern_allow. >> See the Autoconf documentation. >> autoreconf: /usr/bin/autoconf failed with exit status: 1 >> >> If i dont use this macro, i get : >> checking for ELEMENTARY... yes >> ./configure: line 13773: syntax error near unexpected token `eet,' >> ./configure: line 13773: `EFL_WITH_BIN(eet, eet-eet, eet)' >> >> Is it just me ? >> >> ------------------------------------------------------------------------------ >> This SF email is sponsosred by: >> Try Windows Azure free for 90 days Click Here >> http://p.sf.net/sfu/sfd2d-msazure >> _______________________________________________ >> enlightenment-devel mailing list >> enlightenment-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel >> > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel