autoconf
[Top][All Lists]
Advanced

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

macro reuse


From: Familie Porschberg
Subject: macro reuse
Date: Sun, 21 May 2006 07:42:46 +0200

Hi,

I want reuse an existing macro but for this purpose I have to pass
an argument (the version number of the library).

The macro which already exist(say M1) checks the existence of the
library and the version number.
The new macro which wants reuse the M1 macro will do something more
but it has also first to check existence and version number of the lib.

My idea was to call AC_REQUIRE([M1([$version_number])]) but it does
not work.

How can I reuse the M1 macro in the new macro without code duplication ?

Thomas





reply via email to

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