Age | Commit message (Collapse) | Author |
|
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!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Thanks to Kross for the heads up on "use feature".
|
|
This is a workaround for now. In 2.2 we should prefix all of the
environment variables with INSPIRCD_ to avoid collisions.
|
|
Requested by @attilamolnar.
|
|
This fixes system-wide installations requiring root in order to
create directories.
|
|
|
|
|
|
|
|
|
|
- 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.
|
|
|
|
|
|
- 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.
|
|
|
|
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.
|
|
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.
|
|
- 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.
|
|
- 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.
|
|
- 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.
|
|
- 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.
|
|
Backported from master, PR #901
|
|
|
|
This is a modified version of 690c372. Fixes #905.
|
|
- GCC in C++ mode should be called g++ not gcc.
- ICC in C++ mode should be called icpc not icc.
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
- 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.
|
|
|
|
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.
|
|
|
|
|
|
- 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.
|
|
|
|
|
|
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'''
|
|
|
|
Thanks to w00t for pointing out the cause of this.
|