cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PROPOSAL] simplify gnu makefiles

From: Guenter Knauf <eflash_at_gmx.net>
Date: Sat, 3 Jul 2004 20:31:40 +0200

Hi Daniel,
> On Fri, 2 Jul 2004, Guenter Knauf wrote:

> Yes, that's what I had in mind. That file could also setup other macros,
> if we think of useful ones other makefiles would like.
ok, I've started and checked the new files in...

> I've currently enabled vacation-mode. I won't be doing much for a few
> weeks ahead.
ok; I'm also just looking at the ares lib and got it compiled; unfortunately I've no nameser.h yet on NetWare, so I used your one and that went fine; however this would require a couple of fixes in the files so that this nameser.h is included instead of arpa/nameser.h but everything else like Unix;

so two ways would be possible, or probably three:
- I ifdef everything with NETWARE so that there's no problem.
or:
- I replace every '#include </arpa/nameser.h>' with following to make it conditional:
#ifdef NO_ARPA_NAMESER_H
#include "nameser.h"
#else
#include </arpa/nameser.h>
#endif

and third:
- move nameser.h to a subdir missing/arpa
  then every platform which needs it can simply pick it up with a -I./missing in the INCLUDES,
  and no further changes to the sources needed;
  well perhaps some Win32 cleanups for the new location of the file...

Guenter.
Received on 2004-07-03