From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19454 invoked by alias); 30 Jul 2013 15:33:56 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 19445 invoked by uid 89); 30 Jul 2013 15:33:55 -0000 X-Spam-SWARE-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_05,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RDNS_NONE,SPF_SOFTFAIL autolearn=no version=3.3.1 Received: from Unknown (HELO mtaout20.012.net.il) (80.179.55.166) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 30 Jul 2013 15:33:54 +0000 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MQR00H009U6QA00@a-mtaout20.012.net.il> for gdb-patches@sourceware.org; Tue, 30 Jul 2013 18:33:45 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MQR00HC99W8GK40@a-mtaout20.012.net.il>; Tue, 30 Jul 2013 18:33:45 +0300 (IDT) Date: Tue, 30 Jul 2013 15:33:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH 1/3] Detect GDB is in cygwin In-reply-to: <51F786CB.3020700@codesourcery.com> To: Yao Qi Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83a9l4xdst.fsf@gnu.org> References: <1375087546-22591-1-git-send-email-yao@codesourcery.com> <1375087546-22591-2-git-send-email-yao@codesourcery.com> <83txjdxtpd.fsf@gnu.org> <51F786CB.3020700@codesourcery.com> X-SW-Source: 2013-07/txt/msg00772.txt.bz2 > Date: Tue, 30 Jul 2013 17:26:35 +0800 > From: Yao Qi > CC: > > I am using AC_TRY_COMPILE to compile the code which probes > NtQueryInformationFile, to make sure the code can be compiled > successfully. There's no need to probe that at configure time: this code can always be compiled on any MS-Windows system. The compiler doesn't care and doesn't check at compile time whether there is in fact NtQueryInformationFile function inside the DLL.