Re: [PATCH 1/3] Detect GDB is in cygwin

Eli Zaretskii
2013-07-30T15:33:56Z

> Date: Tue, 30 Jul 2013 17:26:35 +0800
> From: Yao Qi <yao@codesourcery.com>
> CC: <gdb-patches@sourceware.org>
>
> 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.