automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems with KDE cvs auto* scripts


From: Gioele Barabucci
Subject: Problems with KDE cvs auto* scripts
Date: Tue, 14 Aug 2001 13:14:45 +0200

Hi,

I have problems with the KDE makefile cvs creation process.
A bit of backgroud: KDE uses a common "admin" dir with standardized 
scripts and macro to create Makefile for all the various modules and their 
subdirs. Those scripts are called from a Makefile.common that creates 
(merging similar files from subdirs) acinclude.m4, configure.in, 
aclocal.m4 and sends them to autoconf.

Everthing works fine with autconf 2.{13,14,14.1}. Now I've upgraded to 
autoconf 2.52 (it is the latest stable, isn't it?), automake 1.4-p5, 
libtool 1.4 and m4 1.4 (1.4ppre2 does not compile here...) and this 
process is broke.

Autoconf complains:
./aclocal.m4:2508: error: m4_defn: undefined macro: _m4_divert_diversion
acfunctions.m4:1108: AM_FUNC_OBSTACK is expanded from...
./aclocal.m4:2508: the top level

in aclocal.m4 
AC_DEFUN(AM_FUNC_OBSTACK,
[AC_CACHE_CHECK([for obstacks], am_cv_func_obstack,
 [AC_TRY_LINK([#include "obstack.h"],
              [struct obstack *mem;obstack_free(mem,(char *) 0)],
              am_cv_func_obstack=yes,
              am_cv_func_obstack=no)])
 if test $am_cv_func_obstack = yes; then
   AC_DEFINE(HAVE_OBSTACK)
 else
   LIBOBJS="$LIBOBJS obstack.o"
 fi
])

any ideas?

-- 
Gioele Barabucci (Gb])
) mailto:address@hidden
) http://www.gioelebarabucci.com
) ) I've been and now I've gone
) )          /Magic Pie^Oasis




reply via email to

[Prev in Thread] Current Thread [Next in Thread]