534 Commits

Author SHA1 Message Date
Peter Powell
a5d110282a Update wiki links to use HTTPS and point to the correct pages.
When we release 3.0 these links will break as they will point to
the pages for 3.0 rather than 2.0.
2017-10-15 12:23:10 +01:00
Peter Powell
e413076207 Tell OpenBSD users that they need to use a different make command. 2017-05-19 10:45:49 +01:00
Peter Powell
f15e2ca435 Fix compiler version parsing on GCC 7.
GCC 7 may optionally omit the MINOR version number in dumpversion
depending on the compiler flags it was built with.
2017-04-14 14:24:43 +01:00
Peter Powell
756c89cfcc Fix some compiler warnings.
warning: macro name is a reserved identifier [-Wreserved-id-macro]
warning: extra ';' after member function definition [-Wextra-semi]
2017-03-20 10:24:01 +00:00
Peter Powell
cb993a43a6 Use clock_gettime() on macOS 10.12. 2016-12-26 07:01:03 +00:00
Peter Powell
63a00a858c Workaround modern Perls not adding . to @INC. 2016-11-08 08:15:25 +00:00
Peter Powell
9401f1fbc3 GCC should never assume that this can not be null. 2016-06-27 15:41:27 +01:00
Peter Powell
4c751dbbe8 Switch <stdint.h> test to use a test file too. 2015-07-21 23:30:54 +01:00
Peter Powell
e5cfa9c0c2 Switch strlcpy test to use a test file too. 2015-07-21 23:22:17 +01:00
Peter Powell
3fbba606c3 Fix checking whether kqueue is available.
It seems like the newer OS X versions don't put headers into the
system include directories. Switch to using a test file instead.
2015-07-21 23:22:09 +01:00
Attila Molnar
baccf1eba4 Merge pull request #1061 from SaberUK/insp20+fix-fbsd
[2.0] Fix mistakenly using Clang instead of GCC on older FreeBSD versions.
2015-06-15 22:00:36 +02:00
Peter Powell
68211809ee Fix mistakenly using Clang instead of GCC on older FreeBSD versions. 2015-06-14 23:41:33 +01:00
Peter Powell
2ad8a6791b Fix system-wide installation of the data and log directories.
The existing method works fine when building with the default
paths but breaks when you are doing a system-wide installation.
2015-06-14 19:39:15 +01:00
Peter Powell
92dceac40c Fix configure overwriting the cache settings on startup. 2015-05-12 12:37:37 +01:00
Peter Powell
9f4038f620 Fix erroneous error messages in configure. 2015-02-12 22:12:54 +00:00
Peter Powell
d4b7746ef2 Don't load Data::Dumper in the configure script.
This is not used and apparently there are some distros which do
not include it as part of the system Perl.
2015-01-11 04:29:50 +00:00
Peter Powell
92e84bea61 Use clang++ on FreeBSD 10 instead of g++. 2014-10-24 23:35:00 +01:00
Peter Powell
bc7a3fba08 Fix pkg-config not being used for OpenSSL on non-FreeBSD systems. 2014-08-19 15:26:06 +01:00
Attila Molnar
957676efd8 Fix typos and update text in the configure script
Some of these were picked from #448
2014-04-04 18:17:00 +02:00
attilamolnar
f4d8359382 Report the full GnuTLS version in configure
Fix incorrect version being reported when the minor version is longer than one digit (2.10.x)
2013-06-05 22:40:09 +02:00
Peter Powell
2e04480f21 Use the preprocessor to detect whether hash_map is available. 2013-01-28 21:38:03 +00:00
Peter Powell
b4d6e0bf2a Fix OpenSSL detection on distributions which modify the version number. 2013-01-22 10:52:56 +00:00
Steven Van Acker
98b4025af9 unhook --uid from --system in configure script
Specifying --uid allows the ircd to run as a specific user, while
--system fixes the install directories to be spread all over the system.
Specifying --uid shouldn't imply --system. This fix allows a uid to be set
while not interfering with --prefix
2012-11-15 17:54:41 +01:00
Peter Powell
e74da8e6e9 Temporary fix for HASHMAP_DEPRECATED on clang. 2012-11-07 16:19:56 +01:00
Peter Powell
3f4349f54a Fix configure system loading cache file too late. 2012-10-26 15:23:58 +02:00
ChrisTX
c2f7fc047c Replace hardcoded paths with configurable ones
This patchset aims to ease the packaging of InspIRCd for a system-wide installation scenario.

Changes in detail:
configure: Add the options --log-path and --data-path
m_ssl_gnutls, openssl: Change the hardcoded "conf/" to the existent CONFIG_PATH macro
m_xline_db: Make the location of xline.db configurable. It will use --data-path as default value, but this can be
changed using the configuration files.
2012-10-04 15:14:04 +02:00
Peter Powell
746932587a Don't hard code the branch version. 2012-07-27 00:14:43 +02:00
attilamolnar
9b66dd6c29 Don't hardcode conf/inspircd.conf as the config file, allow the configure script to override it (configure asked for the path but the ircd used the hardcoded path regardless)
Fixes #264 reported by @ampt
2012-07-21 16:01:39 +02:00
Peter Powell
464c71752f GnuTLS requires pkg-config as well. 2012-07-05 05:28:03 +01:00
Robby-
5e8f135c6a Headers: update remaining scripts too 2012-04-20 18:33:52 +02:00
Kyle Fuller
0e57436816 Use xcrun clang++ on OS X as the compiler 2012-03-22 14:40:05 +00:00
Peter Powell
2e266c880c Typo fixes. 2012-03-21 19:33:16 +00:00
Peter Powell
b0ca1c921f Switch configure script to use clang on OS X as Apple no longer maintain their fork of GCC. 2012-03-21 17:02:24 +00:00
Daniel De Graaf
bdf42d6125 Add gettimeofday() fallback for systems without clock_gettime 2010-09-08 20:21:15 -04:00
Daniel De Graaf
78453e4fa7 Remove references to svn from configure 2010-03-25 16:09:36 -05:00
danieldg
73d9ee96e1 Clean up the Makefile a bit, add DESTDIR
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12620 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-11 17:00:21 +00:00
danieldg
ebaaf39a06 Enable POSIX extra modules in UNIX configure
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12612 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-07 15:56:16 +00:00
danieldg
03a1bf15b1 Replace #define IPV6 with <config defaultbind="ipv6">, and autodetect if not specified
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12550 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-23 18:45:26 +00:00
danieldg
bd64961912 Improve support for NetBSD
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12438 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-12 00:03:44 +00:00
danieldg
5de7651ebe Make a ./configure --system to support system-wide installation of inspircd
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12275 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-17 00:29:28 +00:00
danieldg
e2b57026ef Remove launchd references (incomplete pieces of a system-wide installation setup)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12251 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-14 00:09:30 +00:00
brain
cd712c40e1 ...because every now and again, i have to do a massive commit.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-11 03:07:32 +00:00
danieldg
3396bbbcb0 Fix makefile remake target to work in BSD make and avoid looping when .config.cache is updated
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12242 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-04 18:59:57 +00:00
danieldg
9e110fbd1d Ask before running modulemanager update
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11983 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-30 23:21:23 +00:00
danieldg
43ea75c0b3 Move ugly .*.inc files into make/template/ where they can be more easily found
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11929 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-20 01:17:04 +00:00
danieldg
d1ddbd62f9 Change to new execution directory structure
Don't change CWD into bin/
Remove path-resolution hacks from configuration
Store pidfile and xline DBs in data, logs in logs.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11866 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-13 01:44:22 +00:00
danieldg
7aa5e059a8 Remove include/inspircd_se_config.h and socketengine-specific headers
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11784 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-30 18:31:05 +00:00
danieldg
c7e9032358 Add directory change to unit-cc, to fix the immensely stupid BSD make behavior of changing directories
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11772 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-28 01:43:47 +00:00
danieldg
c8026bc2d7 Move configuration filename specification to start script, to reduce hardcoded paths in executable
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11759 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-24 01:44:29 +00:00
danieldg
05b111d6a2 Update make help, configure, and fix build of empty m_* directories
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11739 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-17 14:13:17 +00:00