autoconf
[Top][All Lists]
Advanced

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

AC_PACKAGE_VERSION left unexpanded


From: Pavel Roskin
Subject: AC_PACKAGE_VERSION left unexpanded
Date: Mon, 16 Apr 2001 10:14:03 -0400 (EDT)

Hello!

The CVS version of GNU Autoconf fails almost all tests. In fact, it cannot
even process a trivial

AC_INIT
AC_OUTPUT

It reports two unexpanded macros:

configure:1123: error: undefined macro: AC_PACKAGE_VERSION
configure:1123: error: undefined macro: AC_PACKAGE_NAME

>From looking into acgeneral.m4 I see that AC_PACKAGE_VERSION is defined
unconditionally in _AC_INIT_PACKAGE, but _AC_INIT_PACKAGE is only called
from AC_INIT is the second argument is given to AC_INIT.

_AC_INIT_VERSION and _AC_OUTPUT_CONFIG_STATUS use AC_PACKAGE_VERSION
without `m4_ifdef', as in _AC_INIT_PARSE_ARGS, or `m4_ifset', as in
_AC_INIT_CONFIG_LOG

-- 
Regards,
Pavel Roskin




reply via email to

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