From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?=E7=99=BD=E4=BA=95=E5=BD=B0?= Newsgroups: gmane.emacs.bugs Subject: bug#20332: 24.5; With jpeg-6b configure says "WARNING: libjpeg found, but not version 6b or later" Date: Fri, 17 Apr 2015 01:42:36 +0900 Message-ID: <16ED6729-0CC5-4030-AC5E-8FA593A40B75@gmail.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1429202604 30333 80.91.229.3 (16 Apr 2015 16:43:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Apr 2015 16:43:24 +0000 (UTC) Cc: Akira Shirai , 20332@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 16 18:43:13 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1Yimsh-0007U7-7v for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Apr 2015 18:43:11 +0200 Original-Received: from localhost ([::1]:37830 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yimsg-0005ob-E7 for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Apr 2015 12:43:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34513) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yimsc-0005oS-Kq for bug-gnu-emacs@gnu.org; Thu, 16 Apr 2015 12:43:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YimsY-0000eD-7t for bug-gnu-emacs@gnu.org; Thu, 16 Apr 2015 12:43:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40275) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YimsY-0000e6-4Y for bug-gnu-emacs@gnu.org; Thu, 16 Apr 2015 12:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YimsX-00064C-TM for bug-gnu-emacs@gnu.org; Thu, 16 Apr 2015 12:43:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=E7=99=BD=E4=BA=95=E5=BD=B0?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 Apr 2015 16:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20332 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20332-submit@debbugs.gnu.org id=B20332.142920256723294 (code B ref 20332); Thu, 16 Apr 2015 16:43:01 +0000 Original-Received: (at 20332) by debbugs.gnu.org; 16 Apr 2015 16:42:47 +0000 Original-Received: from localhost ([127.0.0.1]:58284 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YimsJ-00063e-El for submit@debbugs.gnu.org; Thu, 16 Apr 2015 12:42:47 -0400 Original-Received: from mail-pd0-f175.google.com ([209.85.192.175]:35918) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YimsH-00063P-Vx for 20332@debbugs.gnu.org; Thu, 16 Apr 2015 12:42:46 -0400 Original-Received: by pdea3 with SMTP id a3so97773877pde.3 for <20332@debbugs.gnu.org>; Thu, 16 Apr 2015 09:42:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=xfQaHBH4i2ozUaJNGQJp+ozAdOgCCCbulRDWZHJ5KeM=; b=ZktRVRBwYvkO3wpQBzbauQsd504A52yDhYtT0eO5lL044WHe6ks+ASwpVts/v0Z/F0 K0nA4W25ibW75drVN/hfAZe8MdS6E1MLGgZ/NnQMcLEvY9ptJwuyL1WQCDH4yjxgPb1d yHcljiTBd7qvZOdbNO3BmbSTL+ZTB3ja7vJiyyMbMvEZZGLS+3pdYDx5Z3sJevdqjErw H11xlYG9OdkONsKyMuvviJcT7OOVkEtuN0L1WL6BWtuYeBV+NcXXpbW3UJ4fkmrgCypi wQIULLKNOB4it72tg9PvaP7D155ZhXobl4CWGDr3uNLBzQSJiwk8y+TnyBK41djnAc+b 81bg== X-Received: by 10.66.137.98 with SMTP id qh2mr57468594pab.76.1429202560185; Thu, 16 Apr 2015 09:42:40 -0700 (PDT) Original-Received: from [172.20.10.11] (pw126253200172.6.panda-world.ne.jp. [126.253.200.172]) by mx.google.com with ESMTPSA id rx3sm7605003pbc.78.2015.04.16.09.42.37 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 16 Apr 2015 09:42:39 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.2098) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:101592 Archived-At: Adding -Xs works. Thanks. $ cc -V cc: Sun C 5.9 SunOS_i386 Patch 124868-01 2007/07/12 usage: cc [ options] files. Use 'cc -flags' for details $ cc -flags | egrep '^-E|^-Xs' -E Compile source through preprocessor only, output to = stdout -Xs Compile assuming (pre-ANSI) K & R C style code $ echo 'version 6b or later' > aaa_emacs-24.5.c; cc -E -Xs = aaa_emacs-24.5.c # 1 "aaa_emacs-24.5.c" version 6b or later $ echo $? 0 > 2015/04/16 2:59=E3=80=81Glenn Morris =E3=81=AE=E3=83=A1=E3= =83=BC=E3=83=AB=EF=BC=9A >=20 >=20 >> $ echo 'version 6b or later' > aaa_emacs-24.5.c; cc -E = aaa_emacs-24.5.c >> # 1 "aaa_emacs-24.5.c" >> "aaa_emacs-24.5.c", line 1: invalid input token: 6b >> version 6b or later >> #ident "acomp: Sun C 5.9 SunOS_i386 Patch 124868-01 2007/07/12" >> cc: acomp failed for aaa_emacs-24.5.c >> $ echo $? >> 2 >=20 > Funnily enough, our own etc/PROBLEMS file used to contain a solution = for > this very issue: >=20 > *** `configure' fails with ``"junk.c", line 660: invalid input = token: 8.elc'' >=20 > The final stage of the Emacs configure process uses the C = preprocessor > to generate the Makefiles. Errors of this form can occur if the C > preprocessor inserts extra whitespace into its output. The = solution > is to find the switches that stop your preprocessor from inserting = extra > whitespace, add them to CPPFLAGS, and re-run configure. For = example, > this error can occur on Solaris 10 when using the Sun Studio = compiler > ``Sun C 5.8'' with its preprocessor CPP=3D"/opt/SUNWspro/bin/cc = -E". > The relevant switch in this case is "-Xs" (``compile assuming > (pre-ANSI) K & R C style code''). >=20 > And indeed adding -Xs seems to avoid the issue. >=20 > I don't think this is a real solution to this case, > just a historical curiosity. :)