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

Re: git on HP-UX

From
PRPavel Roskin <proski@gnu.org>
Date
Jul 6, 2006, 14:53 UTC
Message-ID
<1152197629.7720.10.camel@dv>
In-Reply-To
<200607060950.34558.michal.rokos@nextsoft.cz>
Hello!
On Thu, 2006-07-06 at 09:50 +0200, Michal Rokos wrote:
Show 6 quoted lines
> Hello,
> 
> I needed following changes in order to make git compile on HP-UX:
> +ifeq ($(uname_S),HP-UX)
> +	NO_IPV6 = YesPlease
> +	NO_CURL = YesPlease

Is there any fundamental problem with curl and IPv6 on HP-UX? I don't think so.

Sorry for using your path as a bad example, but the appearance of such patches is a perfect argument for a real configure script. If we continue patching Makefile, we'll drown in such conditionals. And the worst thing is, nobody without access to an HP-UX system will know why IPv6 isn't working there. Makefile will become a pile of code that cannot be easily verified for correctness.

Autoconf based tests can actually test if certain code can be compiled and linked. If HP-UX fixed IPv6, the test would enable it. If some genius manages to compile curl on HP-UX, http support will be enabled on that machine with no manual changes in Makefile.

I hope the Autoconf based configure is on its way to git, but I don't see in in the "pu" branch yet. I'm not very keen about reinventing Autoconf and hacking a hand-made configure script.

-- 
Regards,
Pavel Roskin
Previous: Michal RokosNext: Junio C Hamano
Message 2 of 5 in “git on HP-UX”
  1. Michal RokosJul 6, 2006
  2. Pavel RoskinJul 6, 2006
  3. Junio C HamanoJul 7, 2006
  4. Pavel RoskinJul 8, 2006
  5. Petr BaudisJul 9, 2006

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.