Hey All,

I'm using Debian Sid and have autoconf 2.52 installed:

$ autoconf --version
autoconf (GNU Autoconf) 2.52

I've been trying to insall the new gnome 2.0 modules from source, but I
keep getting a strange error:

~/cvs/gnome2/pango$ autoconf
autoconf: Undefined macros:
configure.in:28:AC_LIBTOOL_WIN32_DLL

but I don't think it's undefined because of the following:

$ grep -H "AC_LIBTOOL_WIN32_DLL" /usr/share/aclocal/aclocal.m4 
...
/usr/share/aclocal/aclocal.m4:2922:AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
[AC_BEFORE([$0], [AC_LIBTOOL_SETUP])])

so I thought I'd read the autoconf info pages and build my own
configure.ac (attached), and I get errors there as well:

$ autoconf
configure.ac:3: error: possibly undefined macro: AM_INIT_AUTOMAKE
configure.ac:5: error: possibly undefined macro: AM_CONFIG_HEADER

Which is just silly, as these are most probably installed, if I've got
automake installed.  (Which, of course, I do)

and /usr/share/aclocal/header.m4, which does define AM_CONFIG_HEADER,
exists as well as /usr/share/aclocal/init.m4, which does define
AC_INIT_AUTOMAKE

Is there a file which I need to modify to show that these macros are
installed?  Is there something I should have gotten from the info files
that I have missed?

Thanks in advance for your help and patience,

C.J. Collier
# Process this file with autoconf to produce a configure script.
AC_INIT([jenkara], [0.1], [[EMAIL PROTECTED]])
AM_INIT_AUTOMAKE([jenkara], [0.1], [[EMAIL PROTECTED]])
AC_CONFIG_SRCDIR([jenkara.c])
AM_CONFIG_HEADER(config.h)

# Checks for programs.
AC_PROG_CC
AC_PROG_MAKE_SET

# Checks for libraries.
AC_CHECK_LIB([GL], [glBegin])
AC_CHECK_LIB([glut], [gluNewQuadric])
AC_CHECK_LIB([gtkgl], [gtk_gl_area_get_type])

# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([stdlib.h string.h GL/glut.h GL/gl.h gtk/gtk.h gtkgl/gtkglarea.h])

# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_TYPE_SIZE_T

# Checks for library functions.
AC_FUNC_MALLOC
AC_CHECK_FUNCS([memset sqrt strdup strerror strrchr])

AC_CONFIG_FILES([Makefile
                 md3/Makefile
                 mdl/Makefile])
AC_OUTPUT

Reply via email to