ac-archive-maintainers
[Top][All Lists]
Advanced

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

"not enough arguments for AC_CONFIG_HEADERS" with AX_PREFIX_CONFIG_H


From: Joao Luis Pinto
Subject: "not enough arguments for AC_CONFIG_HEADERS" with AX_PREFIX_CONFIG_H
Date: Thu, 25 Nov 2004 23:10:18 +0000
User-agent: Mozilla Thunderbird 0.8 (X11/20040926)

Dear all:

While using the mentioned macro with autoconf 2.59 and automake 1.9.3, I get the above error.

configure.ac snip:

AC_INIT([My Project],[1.0.0],address@hidden,[project])
AC_CONFIG_HEADERS([config/config-h:config/config-h.in])
AC_CONFIG_SRCDIR([project/src/interface.cpp])
AC_CONFIG_AUX_DIR([config])
AC_REVISION([$Revision: 1.5 $])
AM_INIT_AUTOMAKE
AX_PREFIX_CONFIG_H([project/include/project/config.hpp],,[config/config-h])

[...]

First line of the macro reads:

AC_DEFUN([AX_PREFIX_CONFIG_H],[AC_REQUIRE([AC_CONFIG_HEADER])

Shouldn't it be AC_CONFIG_HEADERS instead?

If I make the change, the error vanishes and everything still looks OK.

Any comments/ideas?

João Luís




reply via email to

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