autoconf
[Top][All Lists]
Advanced

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

Re: macros which define macros


From: Eric Blake
Subject: Re: macros which define macros
Date: Thu, 29 May 2008 17:26:07 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Andreas Schwab <schwab <at> suse.de> writes:

> 
> Missing quotes.  Remember that m4 always expands the arguments before
> exanding the macro itself.  Also, you can use $@ to forward all
> arguments.
> 
> AC_DEFUN([CL_COMPILE_CHECK],
> [CL_CHECK([AC_COMPILE_IFELSE],address@hidden)])
> AC_DEFUN([CL_LINK_CHECK],
> [CL_CHECK([AC_LINK_IFELSE],address@hidden)])

But your correction is now overquoted - $@ already provides quotes by itself.  
You meant:

AC_DEFUN([CL_COMPILE_CHECK], [CL_CHECK([AC_COMPILE_IFELSE], $@)])

-- 
Eric Blake







reply via email to

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