On Wed, Aug 26, 2009 at 02:57:10PM +0200, Geert Uytterhoeven wrote:
> When trying to autoconfigure current LTP on YDL, I get:
> 
>     # make autotools 
>     touch config.mk
>     aclocal -I m4
>     m4/ltp-unshare.m4:2: error: m4_defn: undefined macro: _m4_divert_diversion
>     m4/ltp-unshare.m4:2: the top level
>     autom4te: /usr/local/bin/m4 failed with exit status: 1
>     aclocal: autom4te failed with exit status: 1
>     make: *** [aclocal.m4] Error 1
>     #
[...]

This is a quoting problem ... The following patch should fix it.

Index: m4/ltp-unshare.m4
===================================================================
RCS file: /cvsroot/ltp/ltp/m4/ltp-unshare.m4,v
retrieving revision 1.1
diff -u -p -r1.1 ltp-unshare.m4
--- m4/ltp-unshare.m4   25 Aug 2009 07:37:46 -0000      1.1
+++ m4/ltp-unshare.m4   26 Aug 2009 13:04:03 -0000
@@ -1,2 +1,2 @@
 AC_DEFUN([LTP_CHECK_SYSCALL_UNSHARE],
-AC_CHECK_FUNCS_ONCE(unshare))
+[AC_CHECK_FUNCS_ONCE([unshare])])

Signed-off-by: Nicolas Joly <[email protected]>

-- 
Nicolas Joly

Biological Software and Databanks.
Institut Pasteur, Paris.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to