summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
Diffstat (limited to 'make')
-rw-r--r--make/configure.pm15
-rw-r--r--make/template/main.mk3
2 files changed, 9 insertions, 9 deletions
diff --git a/make/configure.pm b/make/configure.pm
index 526f39d29..230bd3934 100644
--- a/make/configure.pm
+++ b/make/configure.pm
@@ -228,7 +228,8 @@ sub is_dir
sub showhelp
{
chomp(my $PWD = `pwd`);
- print "Usage: configure [options]
+ print <<EOH;
+Usage: configure [options]
*** NOTE: NON-INTERACTIVE CONFIGURE IS *NOT* SUPPORTED BY THE ***
*** INSPIRCD DEVELOPMENT TEAM. DO NOT ASK FOR HELP REGARDING ***
@@ -247,29 +248,25 @@ InspIRCd 1.0.x, are also allowed.
--disable-interactive Sets no options itself, but
will disable any interactive prompting.
- --disable-rpath Disable runtime paths. DO NOT USE UNLESS
- YOU KNOW WHAT YOU ARE DOING!
--update Update makefiles and dependencies
- --modupdate Detect new modules and write makefiles
--clean Remove .config.cache file and go interactive
--enable-gnutls Enable GnuTLS module [no]
--enable-openssl Enable OpenSSL module [no]
- --enable-optimization=[n] Optimize using -O[n] gcc flag
--enable-epoll Enable epoll() where supported [set]
--enable-kqueue Enable kqueue() where supported [set]
--disable-epoll Do not enable epoll(), fall back
to select() [not set]
--disable-kqueue Do not enable kqueue(), fall back
to select() [not set]
- --disable-ipv6 Do not build ipv6 native InspIRCd [not set]
- --with-cc=[filename] Use an alternative g++ binary to
+ --disable-ipv6 Do not build IPv6 native InspIRCd [not set]
+ --with-cc=[filename] Use an alternative compiler to
build InspIRCd [g++]
--with-maxbuf=[n] Change the per message buffer size [512]
DO NOT ALTER THIS OPTION WITHOUT GOOD REASON
AS IT *WILL* BREAK CLIENTS!!!
--prefix=[directory] Base directory to install into (if defined,
can automatically define config, module, bin
- and library dirs as subdirectories of prefix)
+ and library dirs as subdirectories of prefix)
[$PWD]
--config-dir=[directory] Config file directory for config and SSL certs
[$PWD/conf]
@@ -284,7 +281,7 @@ InspIRCd 1.0.x, are also allowed.
--disable-extras=[extras] Disable the specified list of extras
--help Show this help text and exit
-";
+EOH
exit(0);
}
diff --git a/make/template/main.mk b/make/template/main.mk
index 317941df4..ff6d1e11c 100644
--- a/make/template/main.mk
+++ b/make/template/main.mk
@@ -38,6 +38,9 @@ INSTMODE_LIB = 0644
@IFEQ $(SYSTEM) linux
LDLIBS += -ldl -lrt
@ENDIF
+@IFEQ $(SYSTEM) gnukfreebsd
+ LDLIBS += -ldl -lrt
+@ENDIF
@IFEQ $(SYSTEM) solaris
LDLIBS += -lsocket -lnsl -lrt -lresolv
@ENDIF