Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Aug 2008 22:32:18 +0200
From:      "Markus Dolze" <bsdfan@nurfuerspam.de>
To:        freebsd-ports@freebsd.org
Subject:   possibly undefined macro: AC_DEFINE
Message-ID:  <20080819203218.208670@gmx.net>

next in thread | raw e-mail | index | archive | help
Hello,

I am currently trying to update my development port of sysutils/lcdproc. I am using a locally managed port named Custom/lcdproc-devel for this (you can get it from http://mdolze.gmxhome.de/files/lcdproc-devel.tgz).

If I try to configure it, I get this:

lcdproc-devel> make configure
===>  Found saved configuration for lcdproc-devel-20071024
===>  Extracting for lcdproc-devel-20080805
=> MD5 Checksum OK for lcdproc-CVS-current-20080805.tar.gz.
=> SHA256 Checksum OK for lcdproc-CVS-current-20080805.tar.gz.
===>  Patching for lcdproc-devel-20080805
===>  Applying FreeBSD patches for lcdproc-devel-20080805
===>   lcdproc-devel-20080805 depends on file: /usr/local/bin/automake-1.9 - found
===>   lcdproc-devel-20080805 depends on file: /usr/local/bin/autoconf-2.61 - found
===>   lcdproc-devel-20080805 depends on executable: pkg-config - found
===>   lcdproc-devel-20080805 depends on shared library: usb-0.1.8 - found
===>  Configuring for lcdproc-devel-20080805
configure.in:13: error: possibly undefined macro: AC_DEFINE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
*** Error code 1

Stop in /tmp/lcdproc-devel.
*** Error code 1


This is strange to me as AC_DEFINE is be a very basic thing. After some fiddling around with bsd.*.mk files I found that

make ACLOCAL_ARGS="" configure

works fine. By default ACLOCAL_ARGS is set to '--acdir=/usr/local/share/aclocal-19'. I guess that this contains some FreeBSD specific macros. But how does it interfere with my port?

Regards
Markus



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080819203218.208670>