Age | Commit message (Collapse) | Author |
|
- 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.
|
|
|
|
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.
|
|
|
|
Also, fix a bug where eval() caused compile errors.
|
|
In addition to reducing the sizes of all binaries this also helps the optimizer
|
|
- 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.
|
|
- 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).
|
|
|
|
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.
|
|
- 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.
|
|
|
|
|
|
- Convert ICC detection to use new variable.
|
|
|
|
|
|
|
|
|
|
|
|
CXX is the correct variable to use as CC is the C compiler.
|
|
- Use template macro for ICC check.
- Don't link against pthread on Darwin.
|
|
This was a non-standard alias for make distclean.
|
|
- Add -Iinclude at declaration instead of doing it later on.
- Add -Wextra -Wfatal-errors and -Wno-unused-parameter.
- Enable -Wall and -Wshadow on ICC.
- Remove -DPIC (useless).
- Remove empty declaration of LDFLAGS.
- Remove unneeded CXXFLAGS on Darwin.
|
|
- SunOS was replaced with Solaris in 1992(!).
- We have a native Windows port so Interix is not needed.
|
|
|
|
this is specified.
|
|
|
|
|
|
handed over to the daemon before data is ready from the client.
|