Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jul 2001 16:01:18 +0300
From:      Peter Pentchev <roam@orbitel.bg>
To:        Nicolas Souchu <nsouch@fr.alcove.com>
Cc:        torstenb@FreeBSD.org, freebsd-hackers@freebsd.org
Subject:   Re: autoconf undefined macros
Message-ID:  <20010702160118.A15691@ringworld.oblivion.bg>
In-Reply-To: <20010702135807.D8795@avon.alcove-fr>; from nsouch@fr.alcove.com on Mon, Jul 02, 2001 at 01:58:08PM %2B0200
References:  <20010702083035.C8011@avon.alcove-fr> <20010702112111.B10345@ringworld.oblivion.bg> <20010702135807.D8795@avon.alcove-fr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 02, 2001 at 01:58:08PM +0200, Nicolas Souchu wrote:
> On Mon, Jul 02, 2001 at 11:21:11AM +0300, Peter Pentchev wrote:
> > On Mon, Jul 02, 2001 at 08:30:35AM +0200, Nicolas Souchu wrote:
> > > Hi,
> > > 
> > > The 2.13_1 complains about this:
> > > 
> > > ladoga:/usr/home/admin/nsouch/ggi-core/libgii>autoconf 
> > > configure.in:157: warning: AC_TRY_RUN called without default to allow cross compiling
> > > autoconf: Undefined macros:
> > > configure.in:247:AC_CHECK_WINFUNCS(gettimeofday strdup nanosleep usleep _exit \
> > > configure.in:39:AC_LIBTOOL_DLOPEN
> > > configure.in:40:AC_LIBTOOL_WIN32_DLL
> > > ladoga:/usr/home/admin/nsouch/ggi-core/libgii>
> > > 
> > > And autoconf-2.50 gives me:
> > > 
> > > ladoga:/home/admin/nsouch/ggi-core/libgii>autoconf
> > > configure.in:8: error: possibly undefined macro: AM_INIT_AUTOMAKE
> > > configure.in:10: error: possibly undefined macro: AM_MAINTAINER_MODE
> > > configure.in:11: error: possibly undefined macro: AM_DISABLE_STATIC
> > > configure.in:39: error: possibly undefined macro: AC_LIBTOOL_DLOPEN
> > > configure.in:40: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
> > > configure.in:41: error: possibly undefined macro: AM_PROG_LIBTOOL
> > > configure.in:247: error: possibly undefined macro: AC_CHECK_WINFUNCS
> > > configure.in:397: error: possibly undefined macro: AM_CONDITIONAL
> > > configure.in:665: error: possibly undefined macro: AM_CONFIG_HEADER
> > > 
> > > Do you have any clue?
> > 
> > Have you tried this with a newer automake, too?  AFAIK, the newer
> 
> Newer than 2.50?

I meant the automake version, not autoconf.

> > versions of autoconf and automake are totally in-backwards-compatible :(
> 
> So the 2.13_1 version seems to be the closest to my configure.in file.
> Then, could it be some missing macros in the FreeBSD installation?

If the configure.in and Makefile.am files (and similar) are created
for autoconf-2.50 *and* automake > 1.4 (e.g. 1.4d), they won't work
with any combination of autoconf <= 2.50 and automake 1.4.
Trust me, I've tried.

The only thing I *haven't* tried so far is actually try to update
my automake to 1.4d or similar.

G'luck,
Peter

-- 
If there were no counterfactuals, this sentence would not have been paradoxical.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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