Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 May 2013 01:00:18 -0500
From:      Scot Hetzel <swhetzel@gmail.com>
To:        "O. Hartmann" <ohartman@zedat.fu-berlin.de>
Cc:        FreeBSD ports <freebsd-ports@freebsd.org>
Subject:   Re: how to include m4 macros stored in m4 folder of port's sources?
Message-ID:  <CACdU%2Bf_yTY=55L2ir9MgTgaqmE4Nb65jJozGRXsKimXM4Fppyg@mail.gmail.com>
In-Reply-To: <1369421501.33742.104.camel@thor.walstatt.dyndns.org>
References:  <1369421501.33742.104.camel@thor.walstatt.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 24, 2013 at 1:51 PM, O. Hartmann
<ohartman@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

-- 
DISCLAIMER:

No electrons were maimed while sending this message. Only slightly bruised.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACdU%2Bf_yTY=55L2ir9MgTgaqmE4Nb65jJozGRXsKimXM4Fppyg>