From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Karoly.Lorentey@cern.ch (=?utf-8?q?L=C5=91rentey_K=C3=A1roly?=) Newsgroups: gmane.emacs.devel Subject: Re: Double slashes in config.h Date: Mon, 21 Mar 2005 18:12:52 +0100 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1300136744==" X-Trace: sea.gmane.org 1111425481 919 80.91.229.2 (21 Mar 2005 17:18:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 21 Mar 2005 17:18:01 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 21 18:18:01 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DDQTs-00086I-Uw for ged-emacs-devel@m.gmane.org; Mon, 21 Mar 2005 18:14:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DDQl1-0003xw-0q for ged-emacs-devel@m.gmane.org; Mon, 21 Mar 2005 12:32:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DDQjT-0003Wm-2l for emacs-devel@gnu.org; Mon, 21 Mar 2005 12:30:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DDQjQ-0003WB-U6 for emacs-devel@gnu.org; Mon, 21 Mar 2005 12:30:26 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DDQjQ-0003Vy-NO for emacs-devel@gnu.org; Mon, 21 Mar 2005 12:30:24 -0500 Original-Received: from [212.92.23.158] (helo=chatsubo.ninsei.hu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DDQSU-0002cA-J0; Mon, 21 Mar 2005 12:12:54 -0500 Original-Received: from walrus (pcitislory.cern.ch [137.138.41.46]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by chatsubo.ninsei.hu (Postfix) with ESMTP id D1C971AD9E; Mon, 21 Mar 2005 18:12:53 +0100 (CET) Original-Received: by walrus (Postfix, from userid 1000) id B3A442347E; Mon, 21 Mar 2005 18:12:52 +0100 (CET) Original-To: rms@gnu.org X-Face: 'En&2832W(@ewy5g1U"#y@9QIA5Ko, -nD`s[9D+/5g^PSGLTyV&be8/lc-aTc&JPpgbJ-8f 2f*2:@kvpQ:"H^R*;0f1.$ In-Reply-To: (Richard Stallman's message of "Sun, 20 Mar 2005 13:01:29 -0500") User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: news.gmane.org gmane.emacs.devel:34901 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34901 --===============1300136744== Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Richard Stallman writes: > --ansi may have other consequences, and I don't trust it. -traditional also works, and is already used for a similar purpose in configure.in. How about this patch? --=-=-= Content-Type: text/x-patch Content-Disposition: attachment --- orig/configure.in +++ mod/configure.in @@ -3126,6 +3126,14 @@ CPP_NEED_TRADITIONAL=no, CPP_NEED_TRADITIONAL=yes) +## New-fangled C preprocessors consider `//' to start a one-line comment. +## The -ansi option forces GCC's cpp to ignore this syntax. + +AC_EGREP_CPP(yes//yes, + [yes//yes], + :, + CPP_NEED_TRADITIONAL=yes) + AC_OUTPUT(Makefile lib-src/Makefile.c:lib-src/Makefile.in oldXMenu/Makefile \ man/Makefile lwlib/Makefile src/Makefile.c:src/Makefile.in \ lisp/Makefile lispref/Makefile lispintro/Makefile leim/Makefile, [ --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable =2D-=20 K=C3=A1roly --=-=-=-- --==-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQBCPwCU6eoyqA+yej8RAkt5AKCEfHwHMYATVzxUbifxjKgjrt0yTwCfaGOY wa9/6xNq1X7Jk73n/PdqfkY= =ov+R -----END PGP SIGNATURE----- --==-=-=-- --===============1300136744== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel --===============1300136744==--