possibly undefined macro: AC_DEFINE
Markus Dolze
bsdfan at nurfuerspam.de
Tue Aug 19 20:59:01 UTC 2008
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
More information about the freebsd-ports
mailing list