Code

Makefile: HPUX11 portability fixes
authorGary V. Vaughan <git@mlists.thewrittenword.com>
Fri, 14 May 2010 09:31:47 +0000 (09:31 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 Jun 2010 17:24:27 +0000 (10:24 -0700)
There is no nanosecond field on HPUX, the inline keyword is
spelled "__inline", and there are no inet_ntop/inet_pton definitions
on HP-UX 11.00

Signed-off-by: Gary V. Vaughan <gary@thewrittenword.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile

index f29ff8599154bf3c4fe5dcc8a6b5562f23903cb1..638ca2f8aa1f3584645a62c42ddc40a1948b2b04 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -971,6 +971,7 @@ ifeq ($(uname_S),IRIX64)
        NEEDS_LIBGEN = YesPlease
 endif
 ifeq ($(uname_S),HP-UX)
+       INLINE = __inline
        NO_IPV6=YesPlease
        NO_SETENV=YesPlease
        NO_STRCASESTR=YesPlease
@@ -982,6 +983,11 @@ ifeq ($(uname_S),HP-UX)
        NO_HSTRERROR = YesPlease
        NO_SYS_SELECT_H = YesPlease
        SNPRINTF_RETURNS_BOGUS = YesPlease
+       NO_NSEC = YesPlease
+       ifeq ($(uname_R),B.11.00)
+               NO_INET_NTOP = YesPlease
+               NO_INET_PTON = YesPlease
+       endif
        GIT_TEST_CMP = cmp
 endif
 ifeq ($(uname_S),Windows)