aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)AuthorLines
2016-11-30build: remove autotools based buildAvatar Saleem Abdulrasool -1298/+0
There can be only one!
2016-06-06build: Use configured ruby executable instead of `ruby`Avatar Marvin Schmidt -1/+1
Otherwise configure will fail if `ruby` does not point to the same ruby binary as specified by --with-ruby-version: $ readlink -f `which ruby` /usr/x86_64-pc-linux-gnu/bin/ruby2.3 $ ./configure --enable-ruby --with-ruby-version=2.2 --enable-ruby-doc [...] checking for RUBY... yes checking for Ruby installation dir... /usr/x86_64-pc-linux-gnu/lib/ruby/site_ruby/2.2/x86_64-linux checking whether to build the Ruby documentation... yes checking for syntax... configure: error: syntax (http://syntax.rubyforge.org) is needed to build Ruby documentation Change-Id: Idf9edae157b8e442a2d63c0a71097fd01374a9fc
2016-06-06build-sys: update supported ruby versionsAvatar Marc-Antoine Perennou -3/+3
add ruby 2.3 default to ruby 2.3 drop 2.0 and 1.9 which are dead Change-Id: If910a27595e3e92477ce54dec9216293abd6a5df Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2016-05-03Preparation for 2.6.02.6.0Avatar Bo Ørsted Andresen -1/+1
Change-Id: I33504f64d52c5d9f6dbdd5ca607d1363cbb0c49d
2016-02-27clean up custom endian detectionAvatar Saleem Abdulrasool -8/+0
Use compiler provided infrastructure for detecting the endian. This has been supported in GCC since 4.6.
2016-02-14switch TLS to C++11 TLS semanticsAvatar Saleem Abdulrasool -11/+0
Rather than using the compiler specific `__thread` mechanism for TLS, use the C++11 standard `thread_local` keyword. This removes the check for the `__thread` keyword and the `PALUDIS_TLS` macro in the single usage site. Take advantage of the fact that `thread_local` can be applied to non-POD types to avoid the heap allocation of the context buffer and letting the loader perform the allocation. This has a slight penalty (an extra function call) on thread construction. However, given that the heap allocation would likely be performed, this will be largely offset by the loss of the allocation.
2016-01-31build: forget about -std=c++0xAvatar Saleem Abdulrasool -3/+0
GCC 4.7 added support for `-std=c++11` which represents the final specification of what was originally known as C++0x. clang supports this standard since 3.4 (~1.5 years old). Let `-std=c++0x' fall to the annals of history.
2016-01-28build: don't bother with the old spellingAvatar Saleem Abdulrasool -3/+0
`-Wextra` has been supported for some time now (and was present in at least GCC 4.3 and clang 3.7). We now need at least GCC 4.8 for C++11 support. Lets go ahead and forget that `-Wextra` was ever spelt `-W`.
2016-01-28build: remove unnecessary warning optionAvatar Saleem Abdulrasool -1/+0
-Wunused-function is implied by -Wall. Remove the unnecessary option.
2016-01-17build: cleanup and simplify flags handlingAvatar Saleem Abdulrasool -35/+13
The ruby headers use some idioms which generate warnings when building paludis. Rather than assuming that the associated -Wno-* flags are supported by the compiler frontend, explicitly check for the support when necessary (building the Ruby bindings). This slightly speeds up the build when ruby is disabled, but more importantly, will prevent the accidental usage of these flags more broadly.
2016-01-17build: unconditionally use visibility flagsAvatar Saleem Abdulrasool -26/+2
Remove the last remnants of icc support as the current released versions do not support C++11 and we intend to use clang as the alternate compiler. This cleans up the compile flags to remove the now obsoleted definition (-DPALUDIS_USE_VISIBILITY), the unnecessary compile time checks, and the handling for ICC in the macros.
2016-01-17build: eradicate PALUDIS_CXXFLAGS_WITHOUT_PEDANTICAvatar Saleem Abdulrasool -3/+0
This variable was meant to home the CXXFLAGS without the warning options. However, this has not been the case for some time now as CHECK_CXXFLAG will implicitly modify PALUDIS_CXXFLAGS, resulting in the flags being pushed down anyways and duplicating a set of warning flags. Simply use PALUDIS_CXXFLAGS instead.
2015-11-05Add stub for EAPI 6Avatar David Leverton -0/+1
2015-04-01Preparation for 2.4.02.4.0Avatar Ciaran McCreesh -1/+1
2015-03-16configure.ac: Use ${PKG_CONFIG} instead of hard coding itAvatar Heiko Becker -2/+2
Change-Id: Iad987d4168bc9315415d075fb083e213f2007950
2015-03-07build: modernise use of AM_INIT_AUTOMAKEAvatar Saleem Abdulrasool -14/+16
The two and three argument forms of AM_INIT_AUTOMAKE are deprecated. Update the invocation as recommended. See: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation In order to keep the previous functionality of only defining the version once, resort to some acrobatics with m4 macros. The AC_INIT parameter for the package version (AC_PACKAGE_VERSION) must be a literal (known at autoconf time). As a result, we need to use m4 macros instead of shell values. The strings cannot be named the same since the substitution would become value=value rather than name=value.
2015-01-19ruby: allow specifying versionAvatar Marc-Antoine Perennou -4/+17
Change-Id: Iccfc68ed4168fa0288745ceef258d09561293e8e Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2015-01-19ruby: always use pkg-configAvatar Marc-Antoine Perennou -52/+4
Change-Id: I505d2936573494dadeec81fd090cf72613b664a1 Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2014-10-01Preparation for 2.2.02.2.0Avatar Ciaran McCreesh -1/+1
2014-09-17master is 2.1Avatar Ciaran McCreesh -1/+1
2014-08-28Remove --enable-visibilityAvatar David Leverton -19/+19
Always enable for GCC (versions that don't have it are way too old anyway). Disable for clang for now because of http://llvm.org/bugs/show_bug.cgi?id=20521
2014-06-07Preparation for 2.0.02.0.0Avatar Ciaran McCreesh -2/+2
2014-06-07Remove some useless configure checksAvatar Ciaran McCreesh -162/+2
2014-05-06build: tweak build flag selectionAvatar Saleem Abdulrasool -41/+6
Use the standard C++ compiler flag support check mechanism for -fno-deduce-init-list and -Wno-non-virtual-dtors. Both of them are supported by the minimum supported version of GCC (4.7).
2014-05-06build: be more lenient about compiler versioningAvatar Saleem Abdulrasool -20/+5
paludis does not use GNU extensions to C++, use the ISO standard C++11 mode. Attempt to use the -std=c++11 flag that GNU compatible C++ compilers support. Fallback to -std=c++0x in case the compiler is older and does not support the -std=c++11 flag. This makes the check more resilient to newer compilers as well as different compilers (e.g. clang).
2014-04-06build: fix cross compilation checkAvatar Saleem Abdulrasool -2/+4
Target is the code-generation target used for cross-compiling toolchain components. Build is the build host, and host is the target host. Because paludis is not generating code for a different target, the proper cross-compilation invocation would set host (and possibly build, although that is merely for completeness rather than as a need). Fix the check for cross-compilation: if the target host does not match the build host, then we are cross-compiling. The use of $build and $host should also invoke AC_CANONICAL_{BUILD,HOST} to ensure that the values are the canonical triples.
2014-02-04sphinx: Fix linkAvatar Ingmar Vanhassel -1/+1
2013-12-29Use `sphinx` (which is Pythons 2 and 3 compatible) to build Python API ↵Avatar zaufi -12/+4
documentation instead of Python 2 only `epydoc`.
2013-12-29Make it Python3 compatibleAvatar zaufi -2/+2
2013-12-15build: assume full C++11 supportAvatar Saleem Abdulrasool -271/+0
paludis requires C++11 support. Remove checks and compatibility code to permit building with partial C++11 support. This mostly removes the configure checks for support for C++11 features. noexcept and std::next (part of the C++11 standard library) had compatibility code which is no longer exercised and should be safe to excise. Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org>
2013-12-15build: add additional folds in configure.acAvatar Saleem Abdulrasool -2/+8
Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org>
2013-10-26Sensible error messageAvatar Ciaran McCreesh -1/+1
2013-10-26Remove explicit prebuilt-documentation optionAvatar Ciaran McCreesh -23/+15
2013-05-22Kill old virtuals repo codeAvatar Ciaran McCreesh -6/+4
2013-05-22Use std::threadAvatar Ciaran McCreesh -0/+14
2013-05-22master is 1.99, in preparation for C++11ificationAvatar Ciaran McCreesh -1/+1
2013-05-22We need pipe2Avatar Ciaran McCreesh -0/+1
2013-05-16Preparation for 1.4.01.4.0Avatar Ciaran McCreesh -1/+1
2013-05-03Version 1.3.0Avatar Wouter van Kesteren -1/+1
2013-04-28Mark ~RunningProcessHandle() as noexcept(false)Avatar Wouter van Kesteren -0/+14
2013-03-25Preparation for 1.2.01.2.0Avatar Ciaran McCreesh -1/+1
2013-03-25Allow gcc-4.8 in configure.acAvatar Philipp Reh -2/+2
2013-03-08Master is 1.1.0Avatar Ciaran McCreesh -1/+1
2013-03-02disambiguate declarationAvatar Saleem Abdulrasool -1/+1
paludis is a namespace as well as a type. This raises a warning when compiled with clang due to the ambiguity. Disambiguate via namespace qualification of the type.
2013-02-02Preparation for 1.0.01.0.0Avatar Ciaran McCreesh -2/+2
2012-12-05master is 0.83Avatar Ciaran McCreesh -1/+1
2012-11-16Preparation for 0.82.00.82.0Avatar Ciaran McCreesh -1/+1
2012-11-16master is now 0.81Avatar David Leverton -2/+2
2012-10-19Preparation for 0.80.20.80.2Avatar Ciaran McCreesh -1/+1
2012-10-13Preparation for 0.80.10.80.1Avatar Ciaran McCreesh -1/+1