260 Commits

Author SHA1 Message Date
Peter Powell
1b475afbe5 Expose compiler name to make.
- Convert ICC detection to use new variable.
2013-07-05 07:12:02 +01:00
Peter Powell
90a068af71 Rename configuration variable to CXX to match everything else. 2013-07-05 07:12:02 +01:00
Peter Powell
77a08e490c Correctly detect the compiler version and whether it is acceptable. 2013-07-05 07:12:02 +01:00
Peter Powell
2677d12f20 Automatically detect the compiler which the user has installed. 2013-07-05 07:12:02 +01:00
Peter Powell
f52123b1ed Purge --with-cc in favour of the CXX environment variable. 2013-07-05 07:12:02 +01:00
Peter Powell
240f34086a Rename CXXFLAGS to CORECXXFLAGS to respect users enviroment. 2013-07-04 17:55:23 +01:00
Peter Powell
8aff5d15d3 Use CXX instead of CC.
CXX is the correct variable to use as CC is the C compiler.
2013-07-04 17:51:33 +01:00
Peter Powell
0b4a12dc5f Add IFNEQ Makefile template macro.
- Use template macro for ICC check.
- Don't link against pthread on Darwin.
2013-07-04 17:51:33 +01:00
Peter Powell
b37dfc9341 Remove 'make squeakyclean'.
This was a non-standard alias for make distclean.
2013-07-04 17:51:33 +01:00
Peter Powell
450e94945e Tidy up CXXFLAGS and LDFLAGS.
- Add -Iinclude at declaration instead of doing it later on.
- Add -Wextra -Wfatal-errors and -Wno-unused-parameter.
- Enable -Wall and -Wshadow on ICC.
- Remove -DPIC (useless).
- Remove empty declaration of LDFLAGS.
- Remove unneeded CXXFLAGS on Darwin.
2013-07-04 17:51:33 +01:00
Peter Powell
414d9f0b30 Remove support for Interix and SunOS from the Makefile.
- SunOS was replaced with Solaris in 1992(!).
- We have a native Windows port so Interix is not needed.
2013-07-04 17:51:33 +01:00
Peter Powell
8283b56440 Remove detection of deprecated backticks which was added in 1.1b9. 2013-07-04 15:51:10 +01:00
Daniel Vassdal
68462dad3f Made the launch script aware of --runasroot, so it does not drop privs if this is specified. 2013-06-28 12:50:09 +02:00
Peter Powell
7dfcffd685 Start to replace MAXBUF with <limits:maxline>. 2013-06-06 00:41:06 +01:00
attilamolnar
d9d99cd02d Merge insp20 2013-06-06 01:07:22 +02:00
Daniel Vassdal
263c2efd96 Added option for using TCP_DEFER_ACCEPT. Prevents the connection from being handed over to the daemon before data is ready from the client. 2013-06-03 18:45:46 +02:00
Peter Powell
d9c1809b26 Remove unused code from configure. 2013-06-01 20:33:13 +01:00
Peter Powell
f393534da7 Fix kqueue test on non-Apple BSDs. 2013-05-16 15:10:26 +01:00
Peter Powell
a9ca786a6a Improve feature detection in configure. 2013-05-16 14:34:07 +01:00
Peter Powell
63c1695d77 Fix a few minor issues with make distclean.
- Only remove the base directory for in-source installs.
- Use full paths to the source directory.
- Update the help message to be more accurate.
2013-04-27 23:09:20 +01:00
Peter Powell
362f3009ac Merge inspircd_{config,version}.h into a single header file. 2013-04-05 16:39:40 +01:00
Peter Powell
448c50fa4d Extract SSL generation to a tool which can be shipped by distros. 2013-04-02 16:34:28 +01:00
Peter Powell
5f6372b2f0 Reorganise configuration files:
- Example config files now end with .conf.example.
- Example text files now end with .txt.example.
- Removed 'inspircd' from the name of multiple example files.
- Added missing oper motd example file.
2013-03-02 15:50:09 +00:00
Peter Powell
0e56edffa3 Use GNU install on Solaris. 2013-01-27 16:54:22 +01:00
Peter Powell
a0eeadff23 Replace a GNUmake idiom with the portable equivalent. 2012-12-25 18:39:04 +01:00
Peter Powell
092f9d7ec1 Fix property list arguments. 2012-12-21 01:47:12 +01:00
Peter Powell
0a0aa94537 Fix #380 on BSD make. 2012-12-07 18:38:34 +01:00
Peter Powell
c468e9b368 Fix invalid argument warnings on clang. 2012-12-07 03:32:50 +00:00
Peter Powell
66652af628 Fix the list of files to be removed by make. 2012-12-02 17:58:13 +00:00
Peter Powell
56cde817e0 Fix GnuTLS certificate generation on OS X. 2012-11-28 17:10:22 +01:00
Peter Powell
999ba802d6 Fix ModuleManager failing when:
- LWP::Simple is not installed.
- Crypt::SSLeay or IO::Socket::SSL are not installed.

This fixes #154.
2012-11-08 01:07:38 +01:00
Adam
a1f823fdab Fix c2f7fc047c2e5bbb899c820590ce07fee593b28f 2012-10-06 18:25:58 -04: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
Adam
6735f2da27 Fixed Windows build, int32_t is already defined in stdint.h.
Add GnuTLS support for Windows.
Made NSIS script include extra DLL files if supplied and
include the conf/aliases and conf/modules example configuration files.
Added make_gnutls_cert.bat to generate GnuTLS certificates on Windows.
Fixed typo in gnutlscert.pm.
2012-07-09 01:53:07 -04:00
Peter Powell
a528d8ddb0 Install example alias and module configuration files as well. 2012-06-12 18:53:50 +01:00
attilamolnar
79fd90ebe0 Fix build on Debian GNU/Hurd platforms, thanks to Jonathan Wiltshire <jmw@debian.org> for the patch
Fixes issue #98 reported by @guikcd
2012-06-12 22:49:28 -07:00
Peter Powell
f4e2332421 Update 'make install' to inform the user about the example config files. 2012-05-04 20:54:30 +01:00
Peter Powell
d219516b43 Install example configuration files into their own directory. 2012-05-01 14:10:35 +01:00
Robby-
5e8f135c6a Headers: update remaining scripts too 2012-04-20 18:33:52 +02:00
Robby-
46a3904619 Replace copyright headers with headers granting specific authors copyright 2012-04-19 20:58:29 +02:00
Christoph Egger
234aabf36c fix build on kfreebsd
fixes #64
2012-04-16 08:29:41 +02:00
Peter Powell
4c3e9dc529 Minor style tweaks. 2012-04-12 07:38:20 +01:00
Peter Powell
fdd335625e Remove references to old configure commands. 2012-04-12 07:25:05 +01:00
Peter Powell
451e8befa7 Remove outdated references to SVN. 2012-04-09 14:10:05 +01:00
William Pitcock
0ea875369c configure: fix check for eventfd support.
InspIRCd uses eventfd_read() which was not introduced until after eventfd was first
added to glibc.  uClibc, for example, still does not have support for eventfd_read().
2012-03-29 19:52:11 -05:00
DjSlash
0c23190956 Fix for bug 116, in addition an improvement of the regex is made 2011-03-18 16:04:17 +01:00
Peter Powell
9aa4102cfd Fix "-bundle not allowed with -dynamiclib" issue on OS X 2011-02-27 00:21:45 -05:00
Daniel De Graaf
dd49cf696c Fix taint mode execution 2010-10-20 21:16:10 -04:00
Daniel De Graaf
3dc56e3425 Work around old GNU make's inability to use "else if" 2010-09-28 11:16:34 -04:00
Daniel De Graaf
1570b13174 Build fixes for darwin 2010-09-10 18:38:42 -04:00