[Top][All Lists]

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

Re: Idiom for setting defines

From: Harlan Stenn
Subject: Re: Idiom for setting defines
Date: Thu, 17 Jul 2003 19:24:04 -0400
User-agent: EMH/1.10.0 SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) XEmacs/21.1 (patch 12) (Channel Islands) (i386--freebsd)

Russ wrote:

> if test x"$enableval" != xno ; then
>     AC_DEFINE([MEM_DEBUG], 1, [Define to 1 to enable memory debugging])
> fi

I do that using a case statement, as it's often faster (test is not always a
shell builtin).


reply via email to

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