| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This happens when the build tree is a link-tree to the source tree,
because lndir will normally omit the _darcs directory.
|
|
|
|
|
| |
Instead of asking for the last 100 patches, we just get the first 500
lines of output from darcs changes (ugh, better ideas welcome).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For non-release builds, we want to append a date to the version number
(e.g. 6.7.20070206). Previously this was done by the nightly build
script, this new method figures out the snapshot version by querying
the darcs repository and finding the date of the most recent patch
(actually it finds the most recent of the last 100 patches, but that
should be good enough). This is done by the configure script.
To handle source distributions, we create a file VERSION in the
top-level directory that contains the version number, and ship this in
the source distribution. The configure script picks up the version
from this file if it doesn't see a _darcs directory.
|
|
|
|
|
| |
Fixes trac #952: Haskell requires consistent overflow behaviour, which
gcc doesn't give without this flag.
|
|
|
|
| |
Basic -fvia-C code generation is there, not much testing.
|
| |
|
|
|
|
|
|
| |
the fop bundle contains fop.bat and fop.sh, but not fop;
let configuration find the latter.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Happy, Alex and Haddock are built separately using Cabal now.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Most of the other users of the fptools build system have migrated to
Cabal, and with the move to darcs we can now flatten the source tree
without losing history, so here goes.
The main change is that the ghc/ subdir is gone, and most of what it
contained is now at the top level. The build system now makes no
pretense at being multi-project, it is just the GHC build system.
No doubt this will break many things, and there will be a period of
instability while we fix the dependencies. A straightforward build
should work, but I haven't yet fixed binary/source distributions.
Changes to the Building Guide will follow, too.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[mingw/msys only]
Undo long-standing workaround for buggy GNU ld's on mingw/msys; i.e.,
the linker wasn't correctly generating relocatable object files when
the number of relocs exceeded 2^16. Worked around the issue by
hackily splitting up the GHCi object file for the larger packages
('base', 'ObjectIO' and 'win32') into a handful of object files,
each with a manageable number of relocs. Tiresome and error-prone
(but the hack has served us well!)
This commit imposes a restriction on the 'ld' you use to compile
up GHC with; it now has to be ld-2.15.x or later (something GHC
binary dists have shipped with since 6.2.2)
|
|
|
|
|
|
|
| |
FPTOOLS_CHECK_HTYPE: correctly scope the resetting of CPPFLAGS; as was,
it got blown away if the value was cached.
Merge to STABLE.
|
|
|
|
|
|
|
| |
Synched all FPTOOLS_CHECK_HTYPE definitions with the latest changes in
libraries/OpenAL/aclocal.m4. Although it is not strictly necessary, keeping
things identical is good for consistency. At some point in time we should
really find a way to eliminate all this redundancy... *sigh*
|
|
|
|
| |
Fixed a few underquoted definitions.
|
|
|
|
| |
Require Perl >= 5.6
|
|
|
|
| |
Fixed & simplified previous commit.
|
|
|
|
| |
Silence the error message when ld doesn't understand the -x option.
|
|
|
|
|
| |
Solaris' sed obviously doesn't like nested \(\), so do the gcc version
detection magic in two steps instead of one.
|
|
|
|
| |
FPTOOLS_HAPPY, FPTOOLS_ALEX: cope with version.mk:ProjectVersion 'x.y.z' formats (ignoring the 'z' patchlevel). Merge to STABLE (I suppose)
|
|
|
|
|
|
|
|
| |
aclocal.m4:FP_PROG_SORT: locate unix-like sort utility; on success, substituted as SortCmd.
-configure.ac: use FP_PROG_SORT
-mk/config.mk.in: added SORT setting..only used by libraries/Makefile
Merge to STABLE
|
|
|
|
| |
Detect and substitue $(GccVersion) properly
|
|
|
|
|
|
|
|
|
| |
Add a special case for Mac OS X to FP_PROG_AR_NEEDS_RANLIB.
On Mac OS X, we need to run ranlib after installing .a files because
they contain a timestamp which will be outdated after installing.
We could do a proper test for that, but it would contain the command
'sleep 6' and still apply only to one platform.
|
|
|
|
| |
Happy 1.15 is now required
|
|
|
|
|
| |
Try again: Complain if --enable-src-tree-{happy,alex,haddock} is
given, but the relevant sources don't exist.
|
|
|
|
| |
Revert previous, used wrong version of aclocal.m4
|
|
|
|
|
| |
Complain if --enable-src-tree-{happy,alex,haddock} is given, but the
relevant sources don't exist.
|
|
|
|
| |
Refactored and cleaned up ld-related tests. Only tested mildly under Linux.
|
|
|
|
|
|
|
|
|
|
| |
Work around problems caused by limit on the length of the command line
in ld, which shows up when building OpenGL on Windows with SplitObjs=YES.
We now pass the names of the input files to ld via a linker script.
This is (probably) only supported by GNU ld, so we now have to detect
GNU ld in the configure script (yawn) and back off to the old method
if we don't have it.
|
|
|
|
|
| |
Sanity check when configuring for mingw32: make sure that $CC is a
mingw gcc before proceeding.
|
|
|
|
|
|
|
| |
Pushed down OpenGL/GLUT/OpenAL autoconf stuff to the respective directories.
All packages are now built automatically if possible and if they are not
explicitly disabled. NOTE: The "--enable-hopengl" option is now split into
"--enable-opengl" and "--enable-glut".
|
|
|
|
| |
Pushed -fomit-frame-pointer test down to ghc subdir + cleanup
|
|
|
|
| |
Pushed "ghc has readline" check down to ghc subdir
|
|
|
|
|
| |
Get rid of SUPPORTS_EMPTY_STRUCTS, and just avoid using empty struct
definitions.
|
|
|
|
| |
move CONST_O_BINARY detection down to libraries/base
|
|
|
|
| |
Detect whether $(GHC) supports the readline package.
|
|
|
|
|
|
| |
* Replace obsolete macro AC_TRY_RUN with AC_RUN_IFELSE
* Same for AC_TRY_LINK and AC_LINK_IFELSE
* Minor cleanup
|
|
|
|
|
|
|
|
| |
Make autoupdate 2.52 happy, mainly by using the new formats of AC_INIT and
AC_OUTPUT. This has the nice side effect that all "packages" have now a name, a
version, a bug-report address, and a tar name, yielding better output with
"configure --help=recursive". Nuked an unused AC_STRUCT_ST_BLKSIZE test on the
way.
|
|
|
|
| |
Improve fop detection now that SuSE has fixed their broken /usr/bin/fop
|
|
|
|
|
| |
Fixed FP_LEADING_UNDERSCORE macro, removing the need for a special handling
of Mac OS X again.
|
|
|
|
| |
Added case to FP_LEADING_UNDERSCORE macro for darwin platform.
|
|
|
|
|
| |
Check for exit code *and* stderr when testing for "-input" in
FP_PROG_AR_SUPPORTS_INPUTS macro.
|
|
|
|
| |
devolve the recently added dirent checks to a new libraries/base/configure.ac
|
|
|
|
|
| |
Cleaned up FPTOOLS_UNDERSCORE (changequote is evil!) and renamed it to
FP_LEADING_UNDERSCORE
|