threads / discuss / 35204

git 1.8.4.1 configure should ship TYPE_SOCKLEN_T source macro

Subject: git 1.8.4.1 configure should ship TYPE_SOCKLEN_T source macro

## tl;dr

2 messages between Oct 25, 2013 and Oct 26, 2013.

replies: 1people: 2as markdown or json

Tim Mooney· Oct 25, 2013, 23:26 UTC · lore

[git-scm.com/community doesn't say whether the address for bug reports allows posting by non-list members, so hopefully this makes it through the moderation process]

I'm building git 1.8.4.1 on x86_64-pc-solaris2.11 (OpenIndiana 151a8, one of the opensource distributions that came out of the OpenSolaris project).

Although git is quite portable, there are a couple of long-standing issues with configure when building on Solaris (what libraries are needed for socket() and related network functions, and how to get gettext()). When patching configure.ac for these issues, it's necessary to rebuild configure from configure.ac.

Unfortunately, git doesn't include the one non-standard m4 macro it depends on, TYPE_SOCKLEN_T. This makes it impossible to completely rebuild configure from configure.ac.

It would be nice if git would do what other packages do in this situation: ship (probably in a "m4" or "build-aux" directory) all the non-standard m4 macros that the package requires.

Note also that TYPE_SOCKLEN_T is the deprecated name of that macro, the current version appears to be AX_TYPE_SOCKLEN_T. See:

 	http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_type_socklen_t.m4

If possible, please consider including this macro in future versions of the git releases.

Thanks!
Tim
-- 
Tim Mooney                                             Tim.Mooney@ndsu.edu
Enterprise Computing & Infrastructure                  701-231-1076 (Voice)
Room 242-J6, IACC Building                             701-231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164
Thomas Rast· Oct 26, 2013, 09:22 UTC · re: Tim Mooney · lore

Improving git-scm.com/community [Re: git 1.8.4.1 configure should ship TYPE_SOCKLEN_T source macro]

Tim Mooney <Tim.Mooney@ndsu.edu> writes:
> [git-scm.com/community doesn't say whether the address for bug reports
> allows posting by non-list members, so hopefully this makes it through
> the moderation process]
The text is here:
  https://github.com/github/gitscm-next
So we can actively improve such things.  I just sent this pull request:
  https://github.com/github/gitscm-next/pull/318
-- 
Thomas Rast
tr@thomasrast.ch

← back to recent threads