On Fri, 2011-09-16 at 12:01 +0100, Peter Robinson wrote:
> Hi Patrick,
> 
> I'm getting some syntax errors in the configure script when compiling
> this on Fedora rawhide. Build log here
> http://koji.fedoraproject.org/koji/getfile?taskID=3355044&name=build.log

I could reproduce that myself now and tracked it down to a missing "-I
m4-repo" in the libsynthesis Makefile.am. Patch will be in SyncEvolution
1.2:

commit c630da7a6c92e6bc1576803fb13e3cabc55ffad0
Author: Patrick Ohly <[email protected]>
Date:   Thu Oct 13 13:46:37 2011 +0200

    autotools: must include m4-repo in ACLOCAL_AMFLAGS
    
    Without it, "./config.status --recheck" will not find dk-warn.m4,
    leading to:
    
    syntax error near unexpected token `SYNTHESIS_WFLAGS,'
    `DK_ARG_ENABLE_WARNINGS(SYNTHESIS_WFLAGS,'

diff --git a/Makefile.am b/Makefile.am
index 9ae6ac1..961c5d7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -8,7 +8,8 @@ EXTRA_DIST =
 # extra files which need to be removed during "make distclean"
 MAINTAINERCLEANFILES = Makefile.in config.guess config.sub configure depcomp 
install-sh ltmain.sh missing mkinstalld
 
-ACLOCAL_AMFLAGS = -I m4
+# required for rebuilding autotools files via make
+ACLOCAL_AMFLAGS = -I m4 -I m4-repo ${ACLOCAL_FLAGS}
 
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = synthesis.pc synthesis-sdk.pc


-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.


_______________________________________________
SyncEvolution mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution

Reply via email to