From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: MS-Windows build using Posix configury Date: Wed, 17 Apr 2013 02:24:25 -0400 Message-ID: References: <83d2tu49lu.fsf@gnu.org> <2zip3mhtrl.fsf@fencepost.gnu.org> <83y5ch3luu.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1366179870 24457 80.91.229.3 (17 Apr 2013 06:24:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Apr 2013 06:24:30 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 17 08:24:34 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1USLnF-0006Rt-1o for ged-emacs-devel@m.gmane.org; Wed, 17 Apr 2013 08:24:33 +0200 Original-Received: from localhost ([::1]:46761 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1USLnD-0006V0-Pu for ged-emacs-devel@m.gmane.org; Wed, 17 Apr 2013 02:24:31 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42054) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1USLnB-0006Ur-Jl for emacs-devel@gnu.org; Wed, 17 Apr 2013 02:24:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1USLnA-0001N0-Os for emacs-devel@gnu.org; Wed, 17 Apr 2013 02:24:29 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57203) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1USLnA-0001Mw-Lj for emacs-devel@gnu.org; Wed, 17 Apr 2013 02:24:28 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1USLn8-0005dq-0k; Wed, 17 Apr 2013 02:24:26 -0400 X-Spook: Hugo Chavez Pine Gap Peking Security Council colonel X-Ran: RkUe.87O|2x)*Vqj5R)wl[Big`8R{yr2 (Eli Zaretskii's message of "Wed, 17 Apr 2013 05:57:29 +0300") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:158972 Archived-At: 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