From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Rosin Newsgroups: gmane.emacs.bugs Subject: bug#14830: [PATCH] * configure.ac (HAVE_W32): Avoid nested functions Date: Tue, 09 Jul 2013 00:49:43 +0200 Message-ID: <51DB4207.6080204@lysator.liu.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1373323868 28789 80.91.229.3 (8 Jul 2013 22:51:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Jul 2013 22:51:08 +0000 (UTC) To: 14830@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 09 00:51:09 2013 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 1UwKGy-0004Tp-Nw for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Jul 2013 00:51:08 +0200 Original-Received: from localhost ([::1]:53097 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwKGx-0005S6-Vz for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Jul 2013 18:51:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32936) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwKGu-0005Rr-HO for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2013 18:51:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UwKGt-0001XF-43 for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2013 18:51:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46092) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwKGt-0001XB-0k for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2013 18:51:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UwKGs-0006wm-Mb for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2013 18:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Peter Rosin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Jul 2013 22:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14830 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.137332380926609 (code B ref -1); Mon, 08 Jul 2013 22:51:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Jul 2013 22:50:09 +0000 Original-Received: from localhost ([127.0.0.1]:40408 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UwKG0-0006v4-8l for submit@debbugs.gnu.org; Mon, 08 Jul 2013 18:50:08 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59255) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UwKFw-0006uL-Bs for submit@debbugs.gnu.org; Mon, 08 Jul 2013 18:50:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UwKFn-0000rE-Mx for submit@debbugs.gnu.org; Mon, 08 Jul 2013 18:49:59 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:52361) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwKFn-0000r7-J6 for submit@debbugs.gnu.org; Mon, 08 Jul 2013 18:49:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60924) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwKFm-0005Fr-LS for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2013 18:49:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UwKFl-0000pI-8t for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2013 18:49:54 -0400 Original-Received: from mail.lysator.liu.se ([2001:6b0:17:f0a0::3]:53814) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwKFl-0000o7-2B for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2013 18:49:53 -0400 Original-Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id 0BBD140011 for ; Tue, 9 Jul 2013 00:49:48 +0200 (CEST) Original-Received: from [192.168.0.64] (90-227-119-137-no95.business.telia.com [90.227.119.137]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id E4C2040005 for ; Tue, 9 Jul 2013 00:49:47 +0200 (CEST) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 X-Virus-Scanned: ClamAV using ClamSMTP X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:76098 Archived-At: diff --git a/ChangeLog b/ChangeLog index 220cffb..03011cf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-07-09 Peter Rosin (tiny change> + + * configure.ac (HAVE_W32): Avoid nested functions (the second + argument of AC_LANG_PROGRAM is expanded inside a function). + 2013-07-08 Magnus Henoch (tiny change) * configure.ac (HAVE_IMAGEMAGICK): Check on NS also (Bug#14798). diff --git a/configure.ac b/configure.ac index 3830ee3..1188f1b 100644 --- a/configure.ac +++ b/configure.ac @@ -1632,10 +1632,10 @@ fi if test "${opsys}" = "mingw32"; then AC_MSG_CHECKING([whether Windows API headers are recent enough]) - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ + AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ #include - #include ]], - [[void test(PIMAGE_NT_HEADERS pHeader) + #include + void test(PIMAGE_NT_HEADERS pHeader) {PIMAGE_SECTION_HEADER pSection = IMAGE_FIRST_SECTION(pHeader);}]])], [emacs_cv_w32api=yes HAVE_W32=yes], -- 1.7.9