git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: What's cooking in git.git (Nov 2012, #03; Tue, 13)

From
Mark Levedahl <mlevedahl@gmail.com>
Date
Nov 15, 2012, 01:50 UTC
Message-ID
<50A44A73.8020007@gmail.com>
In-Reply-To
<20121115001635.GA17370@sigill.intra.peff.net>
On 11/14/2012 07:16 PM, Jeff King wrote:
Show 21 quoted lines
> On Wed, Nov 14, 2012 at 10:13:28PM +0100, Torsten Bögershausen wrote:
> b) Autodetection:
>    (Just loud thinking), running
> $grep mingw /usr/include/w32api/winsock2.h
>   * This file is part of the mingw-w64 runtime package.
> #include <_mingw_unicode.h>
>
> on cygwin 1.7.17 indicates that we can use grep in the Makefile to
> autodetect the "mingw headers"
> Hmm. Can we rely on the /usr/include bit, though?
>
> I assume a test-compile would be sufficient, but currently we do not do
> anything more magic than "uname" in the Makefile itself to determine
> defaults.  Maybe it would be better to do the detection in the configure
> script? And then eventually flip the default in the Makefile once
> sufficient time has passed for most people to want the new format (which
> would not be necessary for people using autoconf, but would help people
> who do not).
>
> -Peff
>

Cygwin changed the win32api implementation, and the old is not just no longer supported for the current release series, but virtually impossible to even install (several new packages are now installed, the old package is in the "obsolete" category, i.e., not available). The older cygwin 1.5 dll + utilities can be installed afresh, so that is why I set up to switch based upon dll version - the proposed test(s) and configuration would be to have git maintain compatibility with an unsupported Cygwin configuration. I just don't think this is worth the maintenance burden, but of course I am not the maintainer, just expressing my opinion.

I have no trouble renaming the macro to whatever seems to clarify things.
Mark
Previous: Junio C HamanoNext: Jeff King
Message 10 of 18 in “What's cooking in git.git (Nov 2012, #03; Tue, 13)”
  1. Jeff KingNov 13, 2012
  2. Junio C HamanoNov 13, 2012
  3. Torsten BögershausenNov 13, 2012
  4. Pyeron, Jason J CTR (US)Nov 13, 2012
  5. Mark LevedahlNov 14, 2012
  6. Jeff KingNov 14, 2012
  7. Torsten BögershausenNov 14, 2012
  8. Jeff KingNov 15, 2012
  9. Junio C HamanoNov 15, 2012
  10. Mark LevedahlNov 15, 2012
  11. Jeff KingNov 15, 2012
  12. Torsten BögershausenNov 15, 2012
  13. Junio C HamanoNov 16, 2012
  14. Torsten BögershausenNov 17, 2012
  15. Ramsay JonesNov 15, 2012
  16. Torsten BögershausenNov 15, 2012
  17. Mark LevedahlNov 15, 2012
  18. Junio C HamanoNov 13, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.