emacs-devel
[Top][All Lists]
Advanced

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

Re: MS-Windows build using Posix configury


From: Glenn Morris
Subject: Re: MS-Windows build using Posix configury
Date: Wed, 17 Apr 2013 02:24:25 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Eli Zaretskii wrote:

>> With things like this, I think it is better to have a single
>> unconditional AH_TEMPLATE that gives the doc string, then as many
>> AC_DEFINEs as needed that just set the value and don't duplicate the doc.
>
> Sorry, I don't follow: what doc is duplicated?  (I'm an autoconf
> newbie.)  Could you show an example of what you suggest?

AH_TEMPLATE(NULL_DEVICE, [Name of the file to open to get
  a null file, or a data sink.])

if test "${opsys}" = "mingw32"; then
  AC_DEFINE(NULL_DEVICE, ["NUL:"])
else
  AC_DEFINE(NULL_DEVICE, ["/dev/null"])
fi



reply via email to

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