summaryrefslogtreecommitdiff
path: root/make/configure.pm
AgeCommit message (Collapse)Author
2021-03-05Remove some todo comments which are outdated or misleading.Sadie Powell
2021-02-28Fix running configure on systems with old versions of Perl.Sadie Powell
Closes #1852.
2021-02-26Update copyright headers.InspIRCd Robot
2021-01-29Fix some minor oversights introduced in 859a799 and 3e557e8.Sadie Powell
2021-01-29Improve the `./configure --help` outputSadie Powell
- Document --portable, --runtime-dir, and INSPIRCD_VERBOSE. - Make the output coloured on supporting terminals. - Fix the description of --data-dir. - Wrap all lines at 80 charactrs. - Upper case the value names and wrap in <> not [].
2021-01-29Always use for in Perl modules.Sadie Powell
2021-01-29Purge all remaining uses of print_format.Sadie Powell
2021-01-25Fix unnecessary begin blocks in Perl source files.Sadie Powell
2021-01-18Add a new runtime directory and move the pid file to it.Sadie Powell
The data directory is intended for persistent files whereas the pid file is ephemeral. This distinction doesn't matter by default but on system-wide installs ephemeral runtime files go in /var/run or /run instead.
2021-01-18Fix `./configure --update` with cache files generated before v3.2.Sadie Powell
2020-12-09Make people aware that they can get support on GitHub now.Sadie Powell
2020-10-30Update copyright headers.InspIRCd Robot
2020-10-15More consistently show modules without the file prefix and suffix.Sadie Powell
2020-09-26Store generated SSL certificates in the .configure directory.Sadie Powell
Co-Authored-By: Nicole Kleinhoff <ilbelkyr@shalture.org>
2020-08-25Add a link to the packaging advice to the configure help.Sadie Powell
2020-07-30Update copyright headers.InspIRCd Robot
2020-07-07Various improvements to the build system.Sadie Powell
- Fix running configure where configure is not in the PWD. - Only show relative paths when generating files from templates.
2020-05-16Implement support for portable installations.Sadie Powell
2020-01-11Update copyright headers.InspIRCd Robot
2019-12-31Update my name and email address.Sadie Powell
2019-09-07Respect indentation in configure template declarations.Peter Powell
2019-07-05Document the --example-dir option.Peter Powell
2019-05-15Document the --disable-auto-extras configure option.Peter Powell
2019-01-24Remove trailing whitespace from various source files.Peter Powell
2018-10-04Avoid using relative paths in make::configure.Peter Powell
2017-10-15Remove INSPIRCD_SOCKETENGINE_NAME and INSPIRCD_SYSTEM.Peter Powell
- INSPIRCD_SOCKETENGINE_NAME is not really something that needs to be user facing. If opers want to know this kind of internal info then they can look at the build configuration. - INSPIRCD_SYSTEM causes problems for reproducible builds and is only accurate for the state of the system when InspIRCd is built which is not useful in the slightest.
2017-09-21Move the init scripts out of the prefix into the new script dir.Peter Powell
The previous directory was okay for home directory installs but was problematic for system wide installs.
2017-07-24Remove support for building with BSD Make.Peter Powell
BSD users should install GNU Make to build InspIRCd.
2017-07-11Remove use of global barewords in most file handling code.Peter Powell
This is not considered good practise in modern Perl code. A few cases of this still remain in code which is due to be rewritten anyway.
2017-04-14Switch compiler detection to use a more reliable method.Peter Powell
Its clear that parsing version output is not reliable enough so switch to using a method which is less likely to break.
2017-03-25Extract core logic of write_configure_cache to write_config_file.Peter Powell
2017-03-25Rename read_configure_cache to read_config_file and move to common.Peter Powell
2016-12-26Don't suppress error output when INSPIRCD_VERBOSE is set.Peter Powell
2016-11-18Fix the distribution label not showing up since b8d85c6251.Peter Powell
2016-09-16Rewrite the build system directive parser.Peter Powell
2016-04-04Fix "use of uninitialized value $key in hash element" error.Peter Powell
2016-03-22Simplify the configure cache file format.Peter Powell
This prevents the need to implement escaping of values which was a bug in the previous format.
2016-03-22Move the configure cache to the .configure directory too.Peter Powell
2016-03-22Write generated templates to the .configure directory.Peter Powell
2016-03-22Fix a typo in parse_templates.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-03-25Convert the build system to Perl 5.10.Peter Powell
Thanks to Kross for the heads up on "use feature".
2015-03-06Change server name in `./configure --help` to use the alias.Peter Powell
Requested by @attilamolnar.
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.
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.