autoconf-patches
[Top][All Lists]
Advanced

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

Re: Clean up AC_ARG_ENABLE and AC_ARG_WITH


From: Noah Misch
Subject: Re: Clean up AC_ARG_ENABLE and AC_ARG_WITH
Date: Wed, 17 Aug 2005 14:29:05 -0700
User-agent: Mutt/1.5.6i

On Wed, Aug 17, 2005 at 07:46:54PM +0200, Stepan Kasal wrote:
> +m4_define([_AC_ENABLE_IF_ACTION],
> +[if test "${$1_$2+set}" = set; then
> +  $1val=$$1_$2
> +  $3
> +m4_ifvaln([$4], [else
> +  $4])dnl
> +fi[]dnl
> +])

This can use AS_IF.  Otherwise, looks great.




reply via email to

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