cURL / Mailing Lists / curl-library / Single Mail


Re: [PROPOSAL] simplify gnu makefiles

From: Guenter Knauf <>
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.
- I replace every '#include </arpa/nameser.h>' with following to make it conditional:
#include "nameser.h"
#include </arpa/nameser.h>

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...

Received on 2004-07-03