how to include m4 macros stored in m4 folder of port's sources?

O. Hartmann ohartman at zedat.fu-berlin.de
Sat May 25 07:35:31 UTC 2013


On Sat, 2013-05-25 at 01:00 -0500, Scot Hetzel wrote:
> On Fri, May 24, 2013 at 1:51 PM, O. Hartmann
> <ohartman at zedat.fu-berlin.de> wrote:
> > The sources of of port provide their own m4 macros (i.e. AX_PTHREAD,
> > AX_BOOST) store in ax_boost.m4 in m4 of the toplevel dir of the sources.
> >
> > I have to issue USE_AUTOTOOLS= aclocal autoheader libtoolize libtool
> > autoconf automake to create the proper configure file.
> >
> > The configure file fails with an error of a missing macro, in particular
> > AX_BOOST([]) which is present in the m4 folder and as far as I know, it
> > should be addressed with libtool.
> >
> > I can not find any useful information within the porter's handbook about
> > this very common case of having pristine autotool environments and how
> > to handle them.
> >
> > My question in specific is: what is the tag/sequence in the toplevel
> > Makefile to endure that macros stored in the m4-folder of the sources
> > are loaded automatically? When issuing the
> > aclocal-autoheader-libtoolize-autoconf-automake chain in the source
> > folder, everything works fine except the fact that the FreeBSD specific
> > environment variables are not set.
> >
> > Please CC me, I do not subscribe this list.
> >
> > Regards and thanks in advance,
> > Oliver
> 
> Have a look at Mk/bsd.autotools.mk for the variables that you can define:
> 
> http://svnweb.freebsd.org/ports/head/Mk/bsd.autotools.mk
> 



Thank you very much. Found the knob.

Oliver
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20130525/beb87026/attachment.sig>


More information about the freebsd-ports mailing list