summaryrefslogtreecommitdiff
path: root/make
AgeCommit message (Collapse)Author
2015-11-16Refuse to link modules to the core binary in dynamic buildsAttila Molnar
Fixes issue #912
2015-11-12Remove the PKG_CONFIG_PATH extension code from the build system.Peter Powell
2015-10-24Generate a 2048-bit dhparams unless explicitly specified.Peter Powell
2015-09-23Fix detection of the Apple variant of Clang.Peter Powell
This splitting of compiler names mirrors the change implemented by other build systems like cmake.
2015-07-29Fix "make -jX debug install" causing linker errors.Peter Powell
2015-07-23Merge pull request #1076 from SaberUK/insp20+kqueueAttila Molnar
[2.0] Fix checking whether kqueue/stdint/strlcpy are available.
2015-07-22Replace deprecated tmpnam() callRichard Bradfield
From Perl 5.22 onwards, POSIX::tmpnam() has been deprecated (without the usual 2 year deprecation cycle), using the File::Temp module instead preserves compatibility while allowing compilation on 5.22 and later.
2015-07-21Add missing copyright headers to test files.Peter Powell
2015-07-21Switch <stdint.h> test to use a test file too.Peter Powell
2015-07-21Switch strlcpy test to use a test file too.Peter Powell
2015-07-21Fix checking whether kqueue is available.Peter Powell
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-06-26Merge pull request #1063 from SaberUK/insp20+cert-warningAttila Molnar
[2.0] Show a better warning when certtool/openssl are missing.
2015-06-24Log STDOUT and STDERR in the launchd script.Peter Powell
2015-06-15Show a better warning when certtool/openssl are missing.Peter Powell
2015-06-14Fix system-wide installation of the data and log directories.Peter Powell
The existing method works fine when building with the default paths but breaks when you are doing a system-wide installation.
2015-06-03Fix modules with 2+ files not having their LinkerFlags parsed.Peter Powell
2015-05-19Increase entries in valgrind stack traces to 30 (--num-callers)Attila Molnar
2015-05-13Remove run-cc.pl and all associated code.Peter Powell
As far as I can tell this only worked with older versions of GCC and there is no value in fixing it as diagnostics have improved since then and it makes errors hard to search for anyway. This also shaves off an average of five seconds on each build on my hardware. Neat!
2015-05-13unit-cc: Remove workaround which existed for 2.0.x only.Peter Powell
2015-05-13unit-cc: Use the same preamble as other Perl tools.Peter Powell
2015-05-13calcdep: Unify coremod and module building code.Peter Powell
2015-05-13calcdep: Clean up some unused/duplicate variables.Peter Powell
2015-05-13calcdep: Use the same preamble as other Perl tools.Peter Powell
2015-05-13calcdep: Remove a workaround for a very old version of BSD Make.Peter Powell
2015-04-20Merge insp20Attila Molnar
2015-03-25Convert the build system to Perl 5.10.Peter Powell
Thanks to Kross for the heads up on "use feature".
2015-03-09Fix building when VERBOSE is already set in the environment.Peter Powell
This is a workaround for now. In 2.2 we should prefix all of the environment variables with INSPIRCD_ to avoid collisions.
2015-03-06Change server name in `./configure --help` to use the alias.Peter Powell
Requested by @attilamolnar.
2015-03-06Create installation directories with make install not configure.Peter Powell
This fixes system-wide installations requiring root in order to create directories.
2015-02-20Fix oversight which caused problems with Clang on OSX.Peter Powell
2015-02-20Change all occurrences of Inspire to InspIRCdAttila Molnar
2015-02-18Remove a workaround for a compiler which is no longer supported.Peter Powell
2015-02-18Add the <type_traits> header to the compiler test file.Peter Powell
2015-02-18Improve compiler detection in configure.Peter Powell
- Split the detection and compatibility checks into two different steps (previously it was confusing as it would say the compiler was not available when it was really not compatible). - Fix a minor bug where compilers detected using xcrun on Darwin would not have xcrun returned as part of the compiler name from find_compiler.
2015-02-05Making init-script exit codes compliant with LSB 4.1Steven Van Acker
2015-01-22Disable RTTI in release builds (compile with -fno-rtti)Attila Molnar
2014-12-18Fix some oversights from #895.Peter Powell
- Always write the configure cache file as it is needed for updating the makefile when --update is called. - List the modules which have been enabled in the "configuration complete" message. - Silence some harmless warnings about installing PEM files which don't exist.
2014-12-07Fix builds on OpenBSD spamming the console with warnings.Peter Powell
2014-12-07Move common code to make::common from make::utilities.Peter Powell
The other code in that file will be removed very soon so it has been left alone to avoid merge conflicts. This will help prevent insp20 merge conflicts in the future.
2014-12-07Implement support for distribution specific version labels.Peter Powell
This will help us determine whether a version has been packaged by a downstream distribution who quite often make arbitrary changes which are a pain to provide support for. Debian, we're looking at you.
2014-12-07Improve build system compiler detection.Peter Powell
- Check the CXX environment variable inside find_compiler instead of doing it separately. - Use a test file instead of checking for version output. This ensures we are using a working compiler. - Pipe the output through run_test which makes debugging problems considerably easier. - Detect Xcode versions of Clang properly by returning the LLVM version number instead of the Xcode one.
2014-12-07Improve configure cache file handling.Peter Powell
- Add a version number to the configure cache file. - Disable configure cache file in non-interactive mode. - Rename configure cache file to .configure.cache to avoid 2.0 files. - Use run_test to produce the "reading .configure.cache" message.
2014-12-07Miscellaneous improvements to configure.Peter Powell
- Clean up various minor sections of the code. - Remove OpenSSL and GnuTLS detection plumbing. - This will soon be the job of modulemanager. - This did not work in non-interactive mode unlike --enable-extras. - Rework runas user handling. - Add the --gid configure option. - Accept either an id or a name in --gid and --uid. - Rework the question flow in interactive mode. - User is no longer asked detailed questions unless they want them. - Socket engine questions have been removed. - Automatically enable non-interactive mode if STDIN or STDOUT are not a tty.
2014-12-07Add Perl module for console related code.Peter Powell
- Move prompt_* methods to this module. - Add methods for printing errors and warnings easily. - Add colour code helpers and switch all code to use them.
2014-11-12Updated inspircd init script template to make it chkconfig compatible.Dan Parsons
Backported from master, PR #901
2014-10-27Merge insp20Attila Molnar
2014-10-25Use gnutls_rnd instead of gcry_randomize on newer GnuTLS versions.Peter Powell
This is a modified version of 690c372. Fixes #905.
2014-10-24Fix some small bugs in the makefile template.Peter Powell
- GCC in C++ mode should be called g++ not gcc. - ICC in C++ mode should be called icpc not icc.
2014-10-13Add a workaround for compiling modules with Windows line endings.Peter Powell
2014-08-31Updated inspircd init script template to make it chkconfig compatible.Dan Parsons