Rename all feature flags to HAVE_* and move out of makefiles into a configure

script which must be run before building.

Still two makefiles but they are a hell of a lot simpler.

HAVE_* also will make it easier to move to $buildsystem if necessary later.
This commit is contained in:
Nicholas Marriott
2009-05-13 23:27:00 +00:00
parent e1b4a37722
commit c8cf438d44
12 changed files with 259 additions and 274 deletions

View File

@ -1,4 +1,4 @@
/* $Id: client.c,v 1.47 2009-05-04 17:58:25 nicm Exp $ */
/* $Id: client.c,v 1.48 2009-05-13 23:27:00 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -135,7 +135,7 @@ client_main(struct client_ctx *cctx)
siginit();
logfile("client");
#ifndef NO_SETPROCTITLE
#ifdef HAVE_SETPROCTITLE
setproctitle("client");
#endif