ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/include/defaults.h
(Generate patch)

Comparing ircd-hybrid-7.2/include/defaults.h (file contents):
Revision 876 by michael, Wed Oct 24 21:51:21 2007 UTC vs.
Revision 897 by db, Sat Nov 3 17:13:32 2007 UTC

# Line 50 | Line 50
50   /* dirs */
51   #define DPATH       IRCD_PREFIX                                                    
52   #define BINPATH     IRCD_PREFIX "/bin/"
53 < #define MSGPATH     IRCD_PREFIX "/messages/"
54 < #define ETCPATH     IRCD_PREFIX "/etc"
55 < #define LOGPATH     IRCD_PREFIX "/logs"
56 < #define MODPATH     IRCD_PREFIX "/modules/"
57 < #define AUTOMODPATH IRCD_PREFIX "/modules/autoload/"
53 > #ifdef  IRCD_DATADIR
54 >        #define MSGPATH         IRCD_DATADIR "/messages"
55 >        #define MODPATH         IRCD_DATADIR "/modules/"
56 >        #define HPATH           IRCD_DATADIR "/help/opers"
57 >        #define UHPATH          IRCD_DATADIR "/help/users"
58 > #else
59 >        #define MSGPATH         IRCD_PREFIX "/messages/"
60 >        #define MODPATH         IRCD_PREFIX "/modules/"
61 >        #define HPATH           IRCD_PREFIX "/help/opers"
62 >        #define UHPATH          IRCD_PREFIX "/help/users"
63 > #endif
64 > #define AUTOMODPATH             MODPATH "/autoload/"
65 > #ifdef  IRCD_SYSCONFDIR
66 >        #define ETCPATH     IRCD_SYSCONFDIR
67 > #else
68 >        #define ETCPATH     IRCD_PREFIX "/etc"
69 > #endif
70 > #ifdef  IRCD_LOCALSTATEDIR
71 >        #define LOGPATH         IRCD_LOCALSTATEDIR "/logs"
72 > #else
73 >        #define LOGPATH         IRCD_PREFIX "/logs"
74 > #endif
75  
76   /* files */
77   #define SPATH   BINPATH "/ircd"                 /* ircd executable */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines