From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#9713: stdint.h in emacs Date: Wed, 12 Oct 2011 00:07:26 -0700 Organization: UCLA Computer Science Department Message-ID: <4E953CAE.60400@cs.ucla.edu> References: <201110112352.p9BNqJ6L012458@freefriends.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1318403271 10304 80.91.229.12 (12 Oct 2011 07:07:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 12 Oct 2011 07:07:51 +0000 (UTC) Cc: 9713@debbugs.gnu.org To: Karl Berry Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 12 09:07:47 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RDsuo-0001J0-RY for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Oct 2011 09:07:46 +0200 Original-Received: from localhost ([::1]:55603 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDsuo-0001Vt-9p for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Oct 2011 03:07:46 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:56432) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDsul-0001VW-D7 for bug-gnu-emacs@gnu.org; Wed, 12 Oct 2011 03:07:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RDsuj-0002xz-Mt for bug-gnu-emacs@gnu.org; Wed, 12 Oct 2011 03:07:43 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58203) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDsuj-0002xt-Gv for bug-gnu-emacs@gnu.org; Wed, 12 Oct 2011 03:07:41 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RDsv3-00080i-PQ for bug-gnu-emacs@gnu.org; Wed, 12 Oct 2011 03:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Oct 2011 07:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9713 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9713-submit@debbugs.gnu.org id=B9713.131840328030785 (code B ref 9713); Wed, 12 Oct 2011 07:08:01 +0000 Original-Received: (at 9713) by debbugs.gnu.org; 12 Oct 2011 07:08:00 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RDsuz-00080R-Pz for submit@debbugs.gnu.org; Wed, 12 Oct 2011 03:08:00 -0400 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RDsuw-00080D-R4 for 9713@debbugs.gnu.org; Wed, 12 Oct 2011 03:07:56 -0400 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 87C08A60003; Wed, 12 Oct 2011 00:07:27 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tG4y920bCe8i; Wed, 12 Oct 2011 00:07:26 -0700 (PDT) Original-Received: from [192.168.1.10] (pool-71-189-109-235.lsanca.fios.verizon.net [71.189.109.235]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id D6094A60002; Wed, 12 Oct 2011 00:07:26 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.23) Gecko/20110922 Thunderbird/3.1.15 In-Reply-To: <201110112352.p9BNqJ6L012458@freefriends.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 12 Oct 2011 03:08:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:52573 Archived-At: On 10/11/11 16:52, Karl Berry wrote: > I surmise gnulib thinks my system stdint.h is insufficient due to: > checking whether stdint.h conforms to C99... no Yes. But I think Glenn found the underlying problem: the addition of -lintl was causing lots of later 'configure' tests to mess up, including the test for stdint.h and the test for ptrdiff_t. > Does Emacs require C99 now? I didn't think so. That's right. Emacs uses a few C99 features if available, but does not require them. I installed the following patch into the trunk as bzr 106063. You can try it now if you use the trunk directly, or can try it with the next pretest snapshot when that becomes available, or if you're adventurous you can apply it to your pretest copy and run "autoreconf -I m4" to propagate it into 'configure'. Please let us know how it goes. And thanks for reporting the problem. === modified file 'ChangeLog' --- ChangeLog 2011-10-07 21:15:00 +0000 +++ ChangeLog 2011-10-12 06:56:23 +0000 @@ -1,3 +1,12 @@ +2011-10-12 Paul Eggert + + * configure.in: Remove check for -lintl (Bug#9713). + The check breaks 'configure' in some CentOS 5.7 x86 configurations. + The check was helpful but not essential in Solaris 2.6 (1997), + and is no longer needed in Solaris 8 (2000). Solaris 2.6 is + obsolete -- Sun dropped support for it in 2006 -- and without + access to that Silurian platform we can't maintain the code anyway. + 2011-10-07 Paul Eggert Merge from gnulib, fixing some 'configure' typos (Bug#9696). === modified file 'configure.in' --- configure.in 2011-10-07 07:23:44 +0000 +++ configure.in 2011-10-12 06:56:23 +0000 @@ -3008,10 +3008,6 @@ AC_SUBST(DESLIB) AC_SUBST(KRB4LIB) -# Solaris requires -lintl if you want strerror (which calls dgettext) -# to return localized messages. -AC_CHECK_LIB(intl, dgettext) - AC_MSG_CHECKING(whether localtime caches TZ) AC_CACHE_VAL(emacs_cv_localtime_cache, [if test x$ac_cv_func_tzset = xyes; then