From ef3b0ff8f11db1e1dddb3047dee8e2a313247395 Mon Sep 17 00:00:00 2001 From: Alan Brault Date: Mon, 2 May 2011 14:49:17 -0400 Subject: Move CFG_PATH out of duser.h and put into configure via --with-config-path --- include/duser.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/duser.h') diff --git a/include/duser.h b/include/duser.h index 2101e4b..c70eda5 100644 --- a/include/duser.h +++ b/include/duser.h @@ -23,7 +23,6 @@ #include #define REGEX_MAX 255 -#define CFG_PATH "/usr/local/etc/duser" #define SELF __FUNCTION__ #ifndef _NLINUX_ # define FMTLIST "%20s\t%5d%23s\n" -- cgit From 36ce621c0cb28d58913f2d1a84f5125f4a9db285 Mon Sep 17 00:00:00 2001 From: Alan Brault Date: Mon, 2 May 2011 14:54:39 -0400 Subject: Forgot to define ifdef for HAVE_CONFIG_H sigh --- include/duser.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/duser.h') diff --git a/include/duser.h b/include/duser.h index c70eda5..06cdf84 100644 --- a/include/duser.h +++ b/include/duser.h @@ -21,6 +21,10 @@ #ifndef DUSER_H #define DUSER_H +#ifdef HAVE_CONFIG_H + #include "config.h" +#endif + #include #define REGEX_MAX 255 #define SELF __FUNCTION__ -- cgit