Ticket #522 (closed defect: worksforme)

Opened 3 years ago

Last modified 5 months ago

Undefined macro in configure.in breaks configure

Reported by: rasmus at flajm dot se Owned by: jan
Priority: normal Milestone:
Component: core Version: 1.4.19
Severity: major Keywords: autoconf autogen svn 1.4
Cc: Blocked By:
Need User Feedback: no Blocking:

Description

Problem

Getting a warning from autoconf when running first ./autogen.sh on a freshly checked out svn copy.

This breaks the construction of ./configure, right after PKG_CHECK_MODULES(FAM, gamin >= 0.1.0,

Setup

debian sarge x86 libtool 1.5.22 automake 1.9.6 autoconf 2.59

Reproducing the error

root@n2kdb:~/lighttpd svn co svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x

root@n2kdb:~/lighttpd cd lighttpd-merge-1.4.x

root@n2kdb:~/lighttpd/lighttpd-merge-1.4.x ./autogen.sh ./autogen.sh: running `libtoolize --copy --force' You should add the contents of /usr/share/aclocal/libtool.m4' to aclocal.m4'. ./autogen.sh: running `aclocal' ./autogen.sh: running `autoheader' ./autogen.sh: running `automake --add-missing --copy' configure.in: installing `./install-sh' configure.in: installing `./missing' src/Makefile.am: installing `./compile' src/Makefile.am: installing `./depcomp' ./autogen.sh: running `autoconf' configure.in:69: error: possibly undefined macro: AC_DEFINE

If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation.

root@n2kdb:~/lighttpd ./configure ... checking for FAM... no ./configure: line 24491: syntax error near unexpected token `FAM,' ./configure: line 24491: ` PKG_CHECK_MODULES(FAM, gamin >= 0.1.0,'

root@n2kdb:~/lighttpd

Attachments

Change History

Changed 3 years ago by jan

  • status changed from new to closed
  • resolution set to fixed

your pkg-config is too old. pkg-config 0.15.0 is fine.

Changed 6 months ago by anonymous

  • status changed from closed to reopened
  • version changed from 1.4.x to 1.4.19
  • resolution fixed deleted
  • pending unset

This is not fixed. I have the same trouble with centos 4X pkgconfig is latest version.

Changed 5 months ago by stbuehler

  • status changed from reopened to closed
  • resolution set to worksforme

Just update autoconf and automake too.
If someone wants to reopen this again, please give us all version numbers (and not just "latest version").

I guess you need at least autoconf 2.50

Add/Change #522 (Undefined macro in configure.in breaks configure)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.