summaryrefslogtreecommitdiff
path: root/configure
AgeCommit message (Collapse)Author
2013-08-22Fix a few problemsattilamolnar
- 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
2013-08-18Clean up and move various subroutines.Peter Powell
- 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.
2013-08-16Clean up the build system properties and related code.Peter Powell
- 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).
2013-08-04Refactor duplicate test code into a run_test subroutine.Peter Powell
2013-07-29Remove a ton of duplicate and obsolete code from configure.Peter Powell
- 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.
2013-07-16Use the preprocessor to check for TCP deferring support.Peter Powell
2013-07-07Replace arguments for toggling socketengines with --socketengine.Peter Powell
2013-07-05Expose compiler name to make.Peter Powell
- Convert ICC detection to use new variable.
2013-07-05Rename configuration variable to CXX to match everything else.Peter Powell
2013-07-05Correctly detect the compiler version and whether it is acceptable.Peter Powell
2013-07-05Automatically detect the compiler which the user has installed.Peter Powell
2013-07-05Purge --with-cc in favour of the CXX environment variable.Peter Powell
2013-07-04Add IFNEQ Makefile template macro.Peter Powell
- Use template macro for ICC check. - Don't link against pthread on Darwin.
2013-07-04Fix some missing newlines in the config header generator.Peter Powell
2013-07-04Fix $ModDep failing to find application-wide include files.Peter Powell
2013-06-06Remove hardcoded MAXBUF constant.Peter Powell
2013-06-06Start to replace MAXBUF with <limits:maxline>.Peter Powell
2013-06-06Merge insp20attilamolnar
2013-06-05Report the full GnuTLS version in configureattilamolnar
Fix incorrect version being reported when the minor version is longer than one digit (2.10.x)
2013-06-03Added option for using TCP_DEFER_ACCEPT. Prevents the connection from being ↵Daniel Vassdal
handed over to the daemon before data is ready from the client.
2013-06-01Remove unused code from configure.Peter Powell
2013-05-16Improve feature detection in configure.Peter Powell
2013-04-12Tidy up source files:Peter Powell
- Use #pragma once instead of include guards. - Move header files in src/modules to include/modules. - Fixed various spacing issues.
2013-04-05Merge inspircd_{config,version}.h into a single header file.Peter Powell
2013-04-02Extract SSL generation to a tool which can be shipped by distros.Peter Powell
2013-01-28Use the preprocessor to detect whether hash_map is available.Peter Powell
2013-01-22Fix OpenSSL detection on distributions which modify the version number.Peter Powell
2012-11-15unhook --uid from --system in configure scriptSteven Van Acker
Specifying --uid allows the ircd to run as a specific user, while --system fixes the install directories to be spread all over the system. Specifying --uid shouldn't imply --system. This fix allows a uid to be set while not interfering with --prefix
2012-11-07Temporary fix for HASHMAP_DEPRECATED on clang.Peter Powell
2012-10-26Fix configure system loading cache file too late.Peter Powell
2012-10-04Replace hardcoded paths with configurable onesChrisTX
This patchset aims to ease the packaging of InspIRCd for a system-wide installation scenario. Changes in detail: configure: Add the options --log-path and --data-path m_ssl_gnutls, openssl: Change the hardcoded "conf/" to the existent CONFIG_PATH macro m_xline_db: Make the location of xline.db configurable. It will use --data-path as default value, but this can be changed using the configuration files.
2012-07-27Don't hard code the branch version.Peter Powell
2012-07-21Don't hardcode conf/inspircd.conf as the config file, allow the configure ↵attilamolnar
script to override it (configure asked for the path but the ircd used the hardcoded path regardless) Fixes #264 reported by @ampt
2012-07-05GnuTLS requires pkg-config as well.Peter Powell
2012-04-20Headers: update remaining scripts tooRobby-
2012-03-22Use `xcrun clang++` on OS X as the compilerKyle Fuller
2012-03-21Typo fixes.Peter Powell
2012-03-21Switch configure script to use clang on OS X as Apple no longer maintain ↵Peter Powell
their fork of GCC.
2010-09-08Add gettimeofday() fallback for systems without clock_gettimeDaniel De Graaf
2010-03-25Remove references to svn from configureDaniel De Graaf
2010-03-11Clean up the Makefile a bit, add DESTDIRdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12620 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-07Enable POSIX extra modules in UNIX configuredanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12612 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-23Replace #define IPV6 with <config defaultbind="ipv6">, and autodetect if not ↵danieldg
specified git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12550 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-12Improve support for NetBSDdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12438 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-17Make a ./configure --system to support system-wide installation of inspircddanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12275 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-14Remove launchd references (incomplete pieces of a system-wide installation ↵danieldg
setup) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12251 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-11...because every now and again, i have to do a massive commit.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-04Fix makefile remake target to work in BSD make and avoid looping when ↵danieldg
.config.cache is updated git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12242 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-30Ask before running modulemanager updatedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11983 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-20Move ugly .*.inc files into make/template/ where they can be more easily founddanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11929 e03df62e-2008-0410-955e-edbf42e46eb7