aboutsummaryrefslogtreecommitdiff
path: root/configure
Commit message (Expand)AuthorAgeFilesLines
* Don't clear the screen when running in interactive mode.•••This hides potentially useful information. Gravatar Peter Powell2019-01-291-3/+0
* Improve setting the gid/uid which will own files.•••- Consistently set the gid/uid for all directories and files. - Replace the obnoxious warning about root on `make install` with a friendlier warning whilst running configure. - Always install the inspircd executable and modules. Gravatar Peter Powell2019-01-291-0/+28
* Release v3.0.0 release candidate 1. v3.0.0rc1Gravatar Peter Powell2019-01-071-1/+1
* Enable as many extra modules as possible when running configure.Gravatar Peter Powell2018-10-271-3/+19
* Tell the user to check out the latest tag rather than the branch.•••When the InspIRCd 3.x branch forks this will tell the user to go back to the latest tag on the branch. Gravatar Peter Powell2018-10-261-1/+2
* Use arc4random_buf() instead of random() when available.Gravatar Peter Powell2018-07-201-0/+1
* Improve the message shown to the admin when generating SSL certs.•••Self-signed SSL certificates are intended for testing purposes. A production server should be using a CA-signed certificate instead. Gravatar Peter Powell2018-03-011-1/+9
* Remove support for the Solaris IOCP socket engine.•••After discussing this with Adam we have decided that there is very little point in keeping this now that Solaris has been killed. Any legacy Solaris users will have to make do with poll. This change does not affect users of Solaris forks like Illumos as they have support for epoll which will have already been selected over Solaris IOCP by configure. Gravatar Peter Powell2017-10-221-1/+0
* Fix SCRIPT_DIR directory change•••SCRIPT_DIR didn't automatically change directory if the user specified a non-default directory Gravatar emerson2017-09-251-1/+1
* Allow the script directory to be set in interactive mode.Gravatar Peter Powell2017-09-241-0/+2
* Move the init scripts out of the prefix into the new script dir.•••The previous directory was okay for home directory installs but was problematic for system wide installs. Gravatar Peter Powell2017-09-211-0/+6
* Merge pull request #1338 from SaberUK/master+openvz•••Warn the user about clock drifting when running on OpenVZ.Gravatar Attila Molnar2017-07-091-0/+9
|\
| * Warn the user about clock drifting when running on OpenVZ.Gravatar Peter Powell2017-05-201-0/+9
* | Tidy up the socket engine selection code.Gravatar Peter Powell2017-05-191-32/+13
|/
* Rename read_configure_cache to read_config_file and move to common.Gravatar Peter Powell2017-03-251-1/+2
* Merge pull request #1273 from SaberUK/master+bs•••Fix the clock_gettime() test on macOS SierraGravatar Attila Molnar2016-12-291-1/+1
|\
| * Fix the clock_gettime() test on macOS Sierra.•••macOS now supports clock_gettime() but it is part of libSystem rather than librt which does not exist on macOS. Gravatar Peter Powell2016-12-261-1/+1
* | Add interactive-mode support for setting the compiler binary.Gravatar Peter Powell2016-12-261-3/+9
|/
* Fix the distribution label not showing up since b8d85c6251.Gravatar Peter Powell2016-11-181-7/+4
* Update build system for the removal of . from @INC.Gravatar Peter Powell2016-11-081-0/+2
* Rewrite the build system directive parser.Gravatar Peter Powell2016-09-161-3/+4
* Update stuff for the new versioning system.Gravatar Peter Powell2016-09-021-1/+1
* Add mbedTLS SSL moduleGravatar Attila Molnar2016-06-151-0/+1
* Fix the temporary fix for finding SSL libraries.Gravatar Peter Powell2016-02-191-2/+2
* Convert the build system to Perl 5.10.•••Thanks to Kross for the heads up on "use feature". Gravatar Peter Powell2015-03-251-26/+27
* Fix dodgy indentation in configure.Gravatar Peter Powell2015-03-081-3/+3
* Add development version checks to non-interactive mode.Gravatar Peter Powell2015-03-061-3/+8
* 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-5/+10
* 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-071-1/+1
* 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-13/+22
* 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-10/+4
* 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-071-5/+12
* 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-071-282/+176
* 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-071-2/+3
* 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-231-114/+4
* 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-111-10/+2
* Merge insp20Gravatar Attila Molnar2014-04-071-5/+5
|\
| * Fix typos and update text in the configure script•••Some of these were picked from #448 Gravatar Attila Molnar2014-04-041-18/+16
* | Replace SocketEngine::GetName() with INSPIRCD_SOCKETENGINE_NAME defineGravatar Attila Molnar2014-02-081-0/+1
* | Fix $config{UID} being set incorrectly•••Fixes issue #697 reported by @Nowaker Gravatar Peter Powell2013-12-151-2/+2
* | Add a warning that the user is using a development version.Gravatar Peter Powell2013-12-131-0/+15
* | Fix a few problems•••- Fix configuration issue on systems without both GnuTLS and OpenSSL. (@SaberUK) - Do not set Membership::modes in ForceJoin() incorrectly to privs - Fix crash when spanningtree detects a configuration error on load Gravatar attilamolnar2013-08-221-2/+2
* | 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-181-210/+53
* | 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-161-63/+10
* | Refactor duplicate test code into a run_test subroutine.Gravatar Peter Powell2013-08-041-34/+15
* | 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-291-216/+82
* | Use the preprocessor to check for TCP deferring support.Gravatar Peter Powell2013-07-161-17/+0
* | Replace arguments for toggling socketengines with --socketengine.Gravatar Peter Powell2013-07-071-115/+61
* | Expose compiler name to make.•••- Convert ICC detection to use new variable. Gravatar Peter Powell2013-07-051-1/+2
* | Rename configuration variable to CXX to match everything else.Gravatar Peter Powell2013-07-051-12/+12