./configure --enable-raw support

This commit is contained in:
fishwaldo 2002-11-18 13:57:54 +00:00
parent b992701464
commit 6e638b35d8
2 changed files with 19 additions and 0 deletions

View file

@ -128,4 +128,9 @@
/* Define to `unsigned' if <sys/types.h> does not define. */
#undef size_t
/* define if you have Backtrace */
#undef HAVE_BACKTRACE
/* define if you want to enable Raw */
#undef USE_RAW

View file

@ -224,6 +224,20 @@ AC_DEFINE(IRCDAUTH)
AC_MSG_RESULT(IRCD)
)
AC_MSG_CHECKING(To Enable Raw command?)
AC_ARG_ENABLE(raw, [ --enable-raw - Enable Raw command],
[ case "$enableval" in
yes)
AC_DEFINE(USE_RAW, 1, 'Use Raw command')
AC_MSG_RESULT(yes)
;;
*)
AC_MSG_RESULT(no)
;;
esac],
AC_MSG_RESULT(no)
)
dnl Lets see what Modules to Compile
AC_MSG_CHECKING(Any other modules to compile?)
AC_ARG_ENABLE(modules, [ --enable-modules="MODULES" - space seperated list of modules to compile],