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

Comparing ircd-hybrid-7.2/configure.ac (file contents):
Revision 875 by michael, Tue Oct 23 11:40:09 2007 UTC vs.
Revision 897 by db, Sat Nov 3 17:13:32 2007 UTC

# Line 1089 | Line 1089 | dnl a custom prefix with a trailing slas
1089  
1090          prefix=`echo $prefix | sed 's/\/$//'`
1091          AC_DEFINE_UNQUOTED(IRCD_PREFIX, "$prefix", [Prefix where the ircd is installed.])
1092 <        
1092 >
1093 > fi
1094 >
1095 > if test "$datadir" != "NONE"; then
1096 >        AC_DEFINE_UNQUOTED(IRCD_DATADIR, "$datadir", [Prefix where the help files and modules go.])
1097 >        AC_SUBST(MODULEDIR, "${datadir}/modules")
1098 >        AC_SUBST(AUTOMODULEDIR, "${datadir}/modules/autoload")
1099 > else
1100 >        AC_SUBST(MODULEDIR, "${prefix}/modules")
1101 >        AC_SUBST(AUTOMODULEDIR, "${prefix}/modules/autoload")
1102 > fi
1103 >
1104 >        AC_DEFINE_UNQUOTED(IRCD_LOCALSTATEDIR, "$localstatedir", [Prefix where logs and pidfile go.])
1105 >
1106 > if test "$sysconfdir" != "NONE"; then
1107 >        AC_DEFINE_UNQUOTED(IRCD_SYSCONFDIR, "$sysconfdir", [Prefix where etc files go i.e. ircd.conf.])
1108   fi
1109  
1110   AC_CONFIG_FILES(                \
1111          Makefile                \
1112          etc/Makefile            \
1113 +        etc/example.conf        \
1114 +        etc/example.conf.quick  \
1115          servlink/Makefile       \
1116          contrib/Makefile        \
1117          contrib/help/Makefile   \

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines