Porting to a new platform
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 10, 2012, 16:20 UTC
- Message-ID
- <7v1ujelnvm.fsf_-_@alter.siamese.dyndns.org>
- In-Reply-To
- <003901cd7708$fa482c10$eed88430$@schmitz-digital.de>
"Joachim Schmitz" <jojo@schmitz-digital.de> writes:
> - HP NonStop is lacking poll(),... > - HP NonStop is lacking getrlimit(), fsync(), setitimer()...
I would check compat/win32 and friends and see what other platforms that lack this and that do, if I were you.
> so telling configure to search for c99 should help here.
In general, the top-level Makefile is designed to be usable without ever worrying about "configure" mess. Just define CC for the platform section there, and optionally add a support to flip the same in configure.ac. This applies equally to other conditional compilation options you may have to add to support your platform.