Hi list! (especialy autoconf developers ;)
I'm trying to write some macro with ability to change its default behaviour
via redefine 'global' variable. My acinclude.m4 contain my macro definition
like this:
AC_DEFUN([AX_MEGA],
[m4_ifdef([AC_DEFAULT_MEGA_ARG], [AC_DEFAULT_MEGA_ARG], [default v
Oops! I'm stupid lamo :) -- example is incorrect... and actualy works :)
actually I'm on autoconf hacking and described macro should be in autoconf
package (not in acinclude.m4), but I still want to change it behaviour from
configure.ac in described way... and it is really wont work :((
On Frid
Hi Zaufi,
* [EMAIL PROTECTED] wrote on Thu, Nov 17, 2005 at 10:59:35PM CET:
>
> I'm trying to write some macro with ability to change its default behaviour
> via redefine 'global' variable. My acinclude.m4 contain my macro definition
> like this:
>
> AC_DEFUN([AX_MEGA],
> [m4_ifdef([AC_DEFAU
On Friday 18 November 2005 01:12, Ralf Wildenhues wrote:
> > AC_DEFUN([AX_MEGA],
> > [m4_ifdef([AC_DEFAULT_MEGA_ARG], [AC_DEFAULT_MEGA_ARG], [default
> > value])])
>
> ^
>
> > dnl Redefine default value hardcoded in macro
> > m4_define([AS_DEFAULT_MEGA_ARG], [from configure script