aboutsummaryrefslogtreecommitdiffstats
path: root/make
Commit message (Expand)AuthorAgeFilesLines
...
* | Remove a workaround for a compiler which is no longer supported.Gravatar Peter Powell2015-02-182-5/+5
* | Add the <type_traits> header to the compiler test file.Gravatar Peter Powell2015-02-182-1/+3
* | Improve compiler detection in configure.•••- 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. Gravatar Peter Powell2015-02-181-7/+13
* | Making init-script exit codes compliant with LSB 4.1Gravatar Steven Van Acker2015-02-051-18/+35
* | Disable RTTI in release builds (compile with -fno-rtti)Gravatar Attila Molnar2015-01-221-3/+3
* | Fix some oversights from #895.•••- 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. Gravatar Peter Powell2014-12-181-6/+3
* | Fix builds on OpenBSD spamming the console with warnings.Gravatar Peter Powell2014-12-071-1/+4
* | Move common code to make::common from make::utilities.•••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. Gravatar Peter Powell2014-12-073-55/+93
* | Implement support for distribution specific version labels.•••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. Gravatar Peter Powell2014-12-071-8/+10
* | Improve build system compiler detection.•••- 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. Gravatar Peter Powell2014-12-071-57/+41
* | Improve configure cache file handling.•••- 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. Gravatar Peter Powell2014-12-072-14/+23
* | Miscellaneous improvements to configure.•••- 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. Gravatar Peter Powell2014-12-074-34/+69
* | Add Perl module for console related code.•••- 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. Gravatar Peter Powell2014-12-073-47/+123
* | Merge insp20Gravatar Attila Molnar2014-10-271-0/+16
|\|
| * Use gnutls_rnd instead of gcry_randomize on newer GnuTLS versions.•••This is a modified version of 690c372. Fixes #905. Gravatar Peter Powell2014-10-251-0/+9
| * Fix some small bugs in the makefile template.•••- GCC in C++ mode should be called g++ not gcc. - ICC in C++ mode should be called icpc not icc. Gravatar Peter Powell2014-10-241-2/+2
| * Add a workaround for compiling modules with Windows line endings.Gravatar Peter Powell2014-10-131-4/+4
| * Fix unit-cc not loading configure cache when building files.Gravatar Peter Powell2014-08-271-0/+16
| * Add a work around for trampling over PKG_CONFIG_PATH.•••The extend_pkg_path method will be removed in 2.2 as it causes problems with non-standard pkg-config paths. This commit adds a workaround until that happens. Gravatar Peter Powell2014-08-191-0/+1
* | Updated inspircd init script template to make it chkconfig compatible.Gravatar Dan Parsons2014-08-311-0/+6
* | Merge insp20Gravatar Attila Molnar2014-07-252-5/+7
|\|
| * Fix various small problems with configure.•••- Fix temporary files not being deleted after use. - Fix the option for disabling rpath. - Fix the help message: * Fix indentation of some help options. * Fix default paths not containing 'run'. * Remove documentation for --disable-ipv6 (exists but does nothing). * Remove documentation for --library-dir (does not exist). - Fix some minor errors in messages. Gravatar Peter Powell2014-06-262-12/+12
| * Replace deprecated entry in launchd config with the modern equivalent.Gravatar Peter Powell2014-05-181-2/+2
| * Backport questions from master's genssl tool.Gravatar Peter Powell2014-04-162-19/+19
* | Add man pages.Gravatar Peter Powell2014-06-283-0/+152
* | Add systemd service file.Gravatar Peter Powell2014-06-282-0/+38
* | Prefix all definitions in config.h to avoid potential collisions.Gravatar Peter Powell2014-05-231-8/+8
* | Replace the configure templating system with something better.•••A large amount of this code can be removed when buildtool is done as we will not need to worry about the differences between BSD and GNU Make. Gravatar Peter Powell2014-05-237-42/+290
* | Remove various broken/useless features from the build system.•••- Removed support for changing the build directory using configure. This can still be set using make BUILDPATH=foo. - Removed support for SPLIT_CC builds. This is not documented anywhere and is quite useless as it doesn't work. - Remove STARTSCRIPT from configure; always install the perl helper. Gravatar Peter Powell2014-04-113-12/+7
* | Merge insp20Gravatar Attila Molnar2014-04-071-4/+5
|\|
| * Merge pull request #784 from ShutterQuick/patch-1•••Fix build problem on SolarisGravatar Attila Molnar2014-02-281-2/+1
| |\
| | * Fix build problem on Solaris•••-rpath only takes one dash Fixes the Solaris build \o/ ''' <fraggeln> SaberUK: http://m.theo.nu/jenkins/job/InspIRCd-2.0/435/label=solaris/console <-- <fraggeln> do you have any clue on why? <@Shutter> Hmm. Where did that extra - come from. <fraggeln> Shutter: no idea :) [...] <fraggeln> Shutter: sub make_rpath($;$) <-- in make/utilities.pm <fraggeln> thats where that extra - is''' Gravatar ShutterQuick2014-02-271-2/+1
| * | Fix Solaris not being able to find modules without pkg-config.Gravatar Peter Powell2014-02-271-2/+4
| |/
* | Integrate coremods into the build systemGravatar Attila Molnar2014-03-052-18/+26
* | Don't force a rebuild after doing a Git commit.•••Thanks to w00t for pointing out the cause of this. Gravatar Peter Powell2014-02-061-3/+1
* | Add a tool for running test builds.Gravatar Peter Powell2013-12-161-1/+16
* | Use gnutls_rnd instead of gcry_randomize on newer GnuTLS versions.•••Also, fix a bug where eval() caused compile errors. Gravatar Peter Powell2013-11-181-0/+1
* | Hide all symbols that aren't exported explicitly•••In addition to reducing the sizes of all binaries this also helps the optimizer Gravatar attilamolnar2013-09-081-1/+5
* | Clean up and move various subroutines.•••- Fix indentation of get_compiler_info and clean up slightly. - Move module_installed to make::utilities. - Remove promptnumeric (unused). - Rename clean to cmd_clean and rewrite. - Rename dir_check to prompt_bool and rewrite. - Rename dumphash to dump_hash. - Rename getcache to read_configure_cache and rewrite. - Rename getrevision to get_revision. - Rename makecache to write_configure_cache and rewrite. - Rename promptstring_s to prompt_string and rewrite. - Rename showhelp to cmd_help and rewrite. - Rename update to cmd_update and rewrite. - Rename yesno to prompt_bool and rewrite. - Replace getmodules with a <src/modules/m_*.cpp> glob. Gravatar Peter Powell2013-08-183-179/+213
* | Clean up the build system properties and related code.•••- Deduplicate getcompilerflags, getdependancies, getlinkerflags. - Remove $NoPedantic (add -Wno-pedantic to $CompileFlags instead). - Remove --enable-freebsd-ports-openssl and all related code (this will be replaced with --no-pkg-config=[name] in the future). - Remove some unused build system properties. - Remove support for caching third party include and library paths (can cause unexpected problems when they change). Gravatar Peter Powell2013-08-163-84/+19
* | Refactor duplicate test code into a run_test subroutine.Gravatar Peter Powell2013-08-041-1/+8
* | Change modules to use the MODNAME constant when logging.•••The majority of modules were logging with their module name as the log type. There was a few places which were logging to a non-name type but, with the exception of CONFIG, those messages are so uncommon that it doesn't make sense to use a seperate type for them. Gravatar Peter Powell2013-08-041-1/+1
* | Remove a ton of duplicate and obsolete code from configure.•••- Add the data and log paths to dumphash. - Always exit with EXIT_FAILURE on error. - Always replace the old config.h with our new one. - Clean up the ./configure --help message slightly. - Install dhparams.pem into the conf directory on GnuTLS as well as OpenSSL. - Only show the users InspIRCd Git revision when building from Git. - Remove a check for MinGW (we have proper Windows builds). - Remove a check for FreeBSD 4 (released in 2000). - Remove a ton of pointless tab-indented comments. - Remove a ton of duplicate or unused variables. - Remove the check for stdint.h (always available on TR1 compilers). - Remove the $writeheader argument from writefiles (always 1). - Remove the following %config options: - DESTINATION (not used, always set to BASE). - EXECUTABLE (always set to inspircd). - OSNAME (duplicate of SYSTEM). - Remove support for checking whether -extra modules are up to date (if the user is installing they won't have any -extra modules installed). - Remove SSL generation messages (genssl provides these). - Replace inappropriate uses of printf with print. - Replace is_dir with -d from the Perl stdlib. - Replace resolve_directory with rel2abs from the Perl stdlib. - Rewrite getrevision to be more compact, cache the revision and return 'release' on non-Git builds. - Use consistent messages for all tests. - Use tput to clear the screen in a portable way. Gravatar Peter Powell2013-07-292-54/+12
* | Use the preprocessor to check for TCP deferring support.Gravatar Peter Powell2013-07-162-54/+0
* | Replace arguments for toggling socketengines with --socketengine.Gravatar Peter Powell2013-07-072-16/+17
* | Expose compiler name to make.•••- Convert ICC detection to use new variable. Gravatar Peter Powell2013-07-051-2/+3
* | Rename configuration variable to CXX to match everything else.Gravatar Peter Powell2013-07-051-1/+1
* | Correctly detect the compiler version and whether it is acceptable.Gravatar Peter Powell2013-07-051-3/+25
* | Automatically detect the compiler which the user has installed.Gravatar Peter Powell2013-07-051-1/+11
* | Purge --with-cc in favour of the CXX environment variable.Gravatar Peter Powell2013-07-051-2/+0