Add PW_COMPACT to CFLAGS, if PW_COMPACT environment variable exists
It is part of changes to make PW_COMPACT an option
PROG= pwd_mkdb
SRCS= pw_scan.c pwd_mkdb.c
MAN8= pwd_mkdb.8
PROG= pwd_mkdb
SRCS= pw_scan.c pwd_mkdb.c
MAN8= pwd_mkdb.8
+.if defined (PW_COMPACT)
+CFLAGS+=-DPW_COMPACT
+.endif
#include <string.h>
#include <stdlib.h>
#include <string.h>
#include <stdlib.h>
+/* #define PW_COMPACT */
/* Compact pwd.db/spwd.db structure by Alex G. Bulushev, bag@demos.su */
#ifdef PW_COMPACT
# define HI_BSIZE 1024
/* Compact pwd.db/spwd.db structure by Alex G. Bulushev, bag@demos.su */
#ifdef PW_COMPACT
# define HI_BSIZE 1024