bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error: NEED_LIBOPTS does not appear in AM_CONDITIONAL


From: Bruce Korb
Subject: Re: error: NEED_LIBOPTS does not appear in AM_CONDITIONAL
Date: Wed, 11 Jul 2018 13:19:34 -0700

On Wed, Jul 11, 2018 at 11:11 AM Bruce Korb <address@hidden> wrote:
>
> Hi,
>
> "NEED_LIBOPTS" *does* appear in an AM_CONDITIONAL:
>
> >  AM_CONDITIONAL([NEED_LIBOPTS], [test -n "${NEED_LIBOPTS_DIR}"])

After reconf-ing with -vvvv, I have found:

autoreconf -vvvv reveals:

aclocal: found macro LIBOPTS_CHECK_COMMON in sntp/libopts/m4/libopts.m4: 481

aclocal: saw macro LIBOPTS_CHECK_COMMON

and yet:

Makefile.am:49: error: NEED_LIBOPTS does not appear in AM_CONDITIONAL

Since LIBOPTS_CHECK_COMMON contains an AM_CONDITIONAL for NEED_LIBOPTS

and since aclocal sees the use of LIBOPTS_CHECK_COMMON and its definition,

the error message leaves me baffled.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]