summaryrefslogtreecommitdiff
path: root/aclocal.m4
Commit message (Collapse)AuthorAgeFilesLines
* Fix some m4/shell syntax in aclocal.m4, spotted by Jan StolarekIan Lynagh2013-02-281-1/+1
| | | | [ ] is m4 syntax, so we need to use 'test foo' rather than '[ foo ]'.
* Split SettingsCCompilerFlags into non-link and link portionsGabor Greif2013-02-251-1/+3
| | | | | | | | | This fixes certain older GCCs which do not accept link options when assembling or compiling: ppc_85xx-gcc: --hash-size=31: linker input file unused because linking not done ppc_85xx-gcc: --reduce-memory-overheads: linker input file unused because linking not done and diagnose this to stderr.
* Fix autoconf code to find LLVM tools.Geoffrey Mainland2013-02-251-4/+6
| | | | | | | The loop exit condition was testing ${LLC} instead of $1, which was incorrect. While I'm here, quote the path being tested since it may contain spaces (e.g. on Windows), and don't search paths that don't exist, which eliminates un-useful error messages from find.
* Better handling of find llvm tools. Use IFS as opposed to more hacky trDavid Terei2013-02-201-3/+10
| | | | approach. This way can handle spaces in paths.
* Remove the MACOSX_DEPLOYMENT stuff; fixes #7559Ian Lynagh2013-02-171-29/+0
| | | | | If anyone wants to do this in the future, they should just set appropriate CC_OPTS/LD_OPTS variables instead.
* Whitespace onlyIan Lynagh2013-02-171-25/+25
|
* Add missing ;; in aclocal.m4Ian Lynagh2013-02-171-0/+1
|
* iOS patch no 1: Select operating system; from StephenBlackheathIan Lynagh2013-02-171-13/+23
|
* Fix issues with finding llvm tools again (#7661).David Terei2013-02-141-2/+2
| | | | Patch modified from one by Karel Gardas <karel.gardas@centrum.cz>.
* Remove dead darcs handling from configure.David Terei2013-02-141-11/+1
|
* Find LLVM tools when version number at end (e.g., llc-3.0) (#7661)David Terei2013-02-141-0/+37
|
* Gentoo calls 'w64' a mingw flavour with mingw-w64 runtime.Sergei Trofimovich2013-02-121-1/+1
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* Make sure ./configure tests valid C99 programs. Issue #7678.Austin Seipp2013-02-101-3/+3
| | | | | | | Clang gives a big fat warning that there's no return value for the statement, since the prototype defaults to 'int'. Signed-off-by: Austin Seipp <aseipp@pobox.com>
* Better detection of clang in ./configure. Issue #7678.Austin Seipp2013-02-101-4/+15
| | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
* Unify interfae of both variants FP_ARG_WITH_PATH... in aclocal.m4 andDavid Terei2013-02-061-4/+12
| | | | document them.
* Detect hard/soft float in the same way as other ARM featuresSimon Marlow2013-01-301-2/+31
|
* ARM: infer VFPv2 presence from the C compilerSimon Marlow2013-01-291-4/+16
|
* Added support to cross-compile to androidNathan2013-01-241-0/+6
| | | | Signed-off-by: David Terei <davidterei@gmail.com>
* Add support for nto-qnx (BlackBerry 10)Simon Marlow2013-01-231-0/+6
| | | | Submitted by: Stephen Paul Weber <singpolyma@singpolyma.net>
* Tidy up cross-compilingSimon Marlow2013-01-171-9/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have two cases: 1. building a cross-compiler 2. compiling GHC to run on a foreign platform These two are done with almost the same setup: (1) is the stage 1 compiler, and (2) is the stage 2 compiler, when CrossCompiling=YES. The only difference between (1) and (2) is that you if you set up the build for (1), then it stops before stage 2 and you can 'make install' to install stage 1. Unfortunately, (2) didn't work, and the build system code needed some tidying up. Change to the way the build is set up: Before ------ To build a cross-compiler: ./configure --target=<..> To compile a foreign GHC: ./configure --host=<..> --target=<..> Now --- To build a cross-compiler: ./configure --target=<..> And set "Stage1Only=YES" in mk/build.mk To compile a foreign GHC: ./configure --target=<..>
* In FP_GCC_VERSION, test $CC not $GCCIan Lynagh2012-12-051-1/+1
| | | | | | $GCC is empty when autoreconf 2.56 or 2.59 is used, although it works with 2.67. If testing $GCC with 2.5* worked in the past then I'm not sure when/why it broke.
* add embedded vendorGabor Greif2012-11-231-1/+1
|
* Fix FP_CHECK_TIMER_CREATE when cross-compilingIan Lynagh2012-11-131-3/+13
| | | | | If we are cross-compiling, we assume that if timer_create exists then it works.
* Remove unused FPTOOLS_SHEBANG_PERLIan Lynagh2012-11-131-19/+0
|
* Remove unused FP_PROG_SORT / SortCmd / SORTIan Lynagh2012-11-131-19/+0
|
* Simplify BOOTSTRAPPING_GHC_INFO_FIELDIan Lynagh2012-11-131-13/+6
| | | | | All supported bootstrapping compilers now have --info output, so we can use that unconditionally.
* Remove unused FP_GEN_FO and FP_PROG_FOP configure macrosIan Lynagh2012-11-131-53/+0
|
* Remove unused FP_EVAL_STDERR configure macroIan Lynagh2012-11-131-13/+0
|
* Remove unused FPTOOLS_GREENCARD configure macroIan Lynagh2012-11-131-22/+0
|
* Tell the compiler about alpha, mipseb and mipsel again; fixes #7339Ian Lynagh2012-11-131-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts the compiler parts of commit 7b594a5d7ac29972db39228e9c8b7f384313f39b Author: David Terei <davidterei@gmail.com> Date: Mon Nov 21 12:05:18 2011 -0800 Remove registerised code for dead architectures: mips, ia64, alpha, hppa1, m68k In particular, we want to know whether bewareLoadStoreAlignment should return True or False for them. It also reverts commit 3fc68b5c356b39b2b52a86d953367d0021c13262 Author: Simon Marlow <marlowsd@gmail.com> Date: Wed Jan 4 11:44:02 2012 +0000 Remove missing archs (mipseb, mipsel, alpha) (#5734) It doesn't hurt to map these to ArchUnknown since we don't need to know anything specific about them, and adding them would be a pain (there are a bunch of places where we have to case-match on all the arches to avoid warnings).
* Make it possible to build with only way dynIan Lynagh2012-10-241-1/+1
|
* Remove some more CPPIan Lynagh2012-09-101-1/+4
|
* Remove LD_X; it's no longer usedIan Lynagh2012-08-051-11/+0
|
* Move linker flags into the settings file; fixes #4862Ian Lynagh2012-08-051-2/+3
| | | | They were getting baked into Config.hs before.
* Switch to using the 'rubenvb' mingw buildsIan Lynagh2012-06-171-10/+5
|
* Fix ar detectionIan Lynagh2012-05-201-9/+8
|
* Fix dblatex and xml* tool detection on WindowsIan Lynagh2012-05-201-32/+22
| | | | | | | | We now normalise their paths, so that native Windows paths rather than cygwin paths. This means that we are able to execute them from Cabal or python. I've also abstracted out the normalisation code into an m4 function.
* Rename package-conf flags to package-db.Paolo Capriotti2012-05-151-1/+1
| | | | | | | | Rename package database flags in both GHC and ghc-pkg so that they are consistent with Cabal nomenclature. Add a version check to the build system so that the correct set of package db flags are used when the bootstrapping GHC has version < 7.5.
* add support for ARM hard-float ABI (fixes #5914)Karel Gardas2012-04-271-1/+1
| | | | | | | This patch enhances Platform's ArchARM to include ARM ABI value. It also tweaks configure machinery to detect hard-float ABI and to set it wherever needed. Finally when hard-float ABI is in use, pass appropriate compiler option to the LLVM's llc. Fixes #5914.
* Fix another copy/paste-o in aclocal.m4Ian Lynagh2012-03-151-1/+1
|
* More Win64 aclocal fixesIan Lynagh2012-03-151-6/+6
|
* More aclocal fixes for Win64Ian Lynagh2012-03-151-4/+10
|
* Some configure/aclocal fixes for Win64Ian Lynagh2012-03-151-1/+2
|
* Add Haiku platform (#5828)Paolo Capriotti2012-03-071-1/+4
|
* some small correctionsGabor Greif2012-02-271-2/+2
|
* Improve FreeBSD support in configureIan Lynagh2012-02-111-1/+3
| | | | Patch from Sergei Trofimovich.
* Add dragonfly support; based on a patch from Goetz IsenmannIan Lynagh2012-02-111-0/+3
|
* Fix the build on WindowsIan Lynagh2012-02-101-0/+3
| | | | | WhatGccIsCalled was no longer being defined on Windows. Spotted by Niklas Larsson.
* message tweakSimon Marlow2012-01-301-1/+1
|
* Improve support for cross-compilationSimon Marlow2012-01-301-9/+18
| | | | Patchset from Stephen Blackheath <stephen.blackheath@ipwnstudios.com>