| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
The autoconf docs talk about "configure.ac" instead of the misnomer
"configure.in" for more than two years now, so let's do the same.
|
|
|
|
| |
Add canonical form for sparc-*-openbsd*
|
|
|
|
| |
Sparc Linux configure and mangler
|
|
|
|
| |
Detect Alex, and add --use-src-tree-alex option to configure.
|
|
|
|
| |
disable --enable-win32-dlls, feature not currently on offer
|
|
|
|
|
|
|
|
|
|
|
| |
OpenGL support for Mac OS X:
"./configure --enable-hopengl" on Mac OS X now uses the OpenGL libs that come
with Apple's "Quartz" display system.
"./configure --enable-hopengl=x11" looks for an X11 implementation of OpenGL
(which is an optional install on Mac OS X).
Added a corresponding "USE_QUARTZ_OPENGL" flag to config.h
|
|
|
|
| |
alpha*-unknown-linux ==> alpha*-unknown-linux* (from Ian Lynagh)
|
|
|
|
| |
autoconf probably knows best about vfork()
|
|
|
|
| |
Tweaked help strings for --enable-objectio and --enable-hopengl options.
|
|
|
|
|
| |
More intelligent test for ghc-pkg: if there was a --with-ghc option
to configure, then we now use that as a hint for which ghc-pkg to use.
|
|
|
|
| |
hardtop{mingw32}: for now, stick with 'cygpath -w' instead of 'cygpath -m'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tidy up the $hardtop test:
- use cygpath -m to calculate $hardtop on Windows, rather than
our own partial solution. Fixes building under c:/cygwin
on Windows.
- remove some old stuff dealing with paths we used to use at
Glasgow.
- use proper AC_MSG macros instead of explicit echo.
MERGE TO STABLE
|
|
|
|
|
| |
Always check for X Window System, otherwise $no_x is not set to "yes"
when there is no X11. Confusing...
|
|
|
|
| |
Don't unconditionally define WANT_DOTNET_SUPPORT.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Support for interop'ing with .NET via FFI declarations along the
lines of what Hugs98.NET offers, see
http://haskell.org/pipermail/cvs-hugs/2003-March/001723.html
for FFI decl details.
To enable, configure with --enable-dotnet + have a look
in ghc/rts/dotnet/Makefile for details of what tools are needed to
build the .NET interop layer (tools from VS.NET / Framework SDK.)
The commit doesn't include some library additions + wider-scale
testing is required before this extension can be regarded as available
for general use. 'foreign import dotnet' is currently only supported
by the C backend.
|
|
|
|
|
| |
Use AC_PREREQ to ensure that we have at least autoconf 2.52, and
remove some old messages about version 2.13.
|
|
|
|
|
|
|
|
| |
Enable large-file support using AC_SYS_LARGEFILE.
HEADS UP: autoconf 2.5 is now needed to process configure.in. I
figured this was preferable to copying the AC_SYS_LARGEFILE macro from
the autoconf sources and trying to make it work with autoconf 2.13.
|
|
|
|
|
|
|
| |
Fixed tests for _SC_GETGR_R_SIZE_MAX and _SC_GETPW_R_SIZE_MAX.
Whitespace is sometimes important in autconf scripts. :-P
MERGE TO STABLE
|
|
|
|
| |
No (un)setenv until SUSv3 (e.g. Solaris 2.9). (fallback untested)
|
|
|
|
|
|
| |
Solaris2 needs _POSIX_PTHREAD_SEMANTICS for the getpw*_r() prototypes.
Make libraries/unix/Makefile use a new variable unix_SRC_HSC2HS_OPTS
which we configure in mk/config.mk.
|
|
|
|
| |
--with-gcc=<path>: for mingw32 plat, canonicalise path using cygpath
|
|
|
|
| |
Add checks for ghc-pkg and green-card 3.00 (used in x11 lib)
|
|
|
|
| |
Check for the rlim_t type
|
|
|
|
| |
Correct error in MacOS-specific configure code.
|
|
|
|
|
| |
* Nuked unused --with-glut-api and --with-glut-xlib arguments
* Only check for OpenGL headers and libs when --enable-hopengl is given
|
|
|
|
| |
Emit an error if we're trying to build GHC from source without GHC installed.
|
|
|
|
|
|
| |
- Add sendfile-API for pumping out data via sendfile(2)
Currently supported are Linux (tested) & FreeBSD (not tested yet), others
will throw a runtime error until I get around to implement a fallback.
|
|
|
|
|
|
|
|
|
|
| |
- Detect whether we have a recent GCC that might need
-mno-omit-leaf-fram-pointer.
- Add missing HAVE_SC_GETGR_R_SIZE_MAX and HAVE_SC_GETPW_R_SIZE_MAX
templates to acconfig.h.
- Regen mk/config.h.in.
|
|
|
|
| |
Mac OS X doesn't have the sysconfig constants _SC_GETPW_R_SIZE_MAX and _SC_GETGR_R_SIZE_MAX, so add a configure check
|
|
|
|
| |
Add more M4 quoting (required by autoconf 2.57)
|
|
|
|
|
| |
Using AC_CHECK_FUNCS rather than AC_CHECK_FUNC seems to allow
autoheader to pick up HAVE_LCHOWN. Don't know why.
|
|
|
|
| |
Remove tests for text/data section boundary symbols.
|
|
|
|
| |
config.guess says "m68k-apple-netbsd1.6", and that's fine.
|
|
|
|
| |
* typo (dl -> dnl)
|
|
|
|
| |
Retro Police: There are hosts w/o in_addr_t (e.g. SuSE 7.0)
|
|
|
|
| |
Make the Mac OS X build use the HaskellSupport.framework (a MacOS-style "framework" that includes the required libraries libgmp and dlcompat) if it is present. The HaskellSupport.framework is not yet in CVS, but is available from me.
|
|
|
|
| |
'usleep' nightmare: Sometimes return type is void, sometimes int.
|
|
|
|
| |
partial undo of prev commit (AC_CHECK_HEADERS([foo],..) isn't equal to AC_CHECK_HEADER([foo],..). Fixes HEAD breakage (cf. _SC_CLK_TCK undefinedness)
|
|
|
|
|
|
|
|
|
| |
Make the new Posix bindings compile on Mac OS X.
Most notable, Mac OS X lacks
*) lchown
*) SIGPOLL
I don't know of a replacement of either, so they are just left out when
they are not detected by configure.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Re-instate the checking for the values of errno constants at configure
time. The problem with doing it using foreign calls is simply that
this tickles a bad case in the code gen machinery, which in this case
results in an extra 10-20k of goop ending up in pretty much every
binary, and it impacts GC performance too.
This has some portability implications, but the situation is no worse
than before. To reliably cross-compile for a new platform you need to
build a set of .hc files for the libraries using a config.h generated on
the *target* machine. (at some point we'll formalise the
cross-compilation story, but that's another thing on the todo list...)
|
|
|
|
| |
Tentative fix for the recent blkcnt_t trouble
|
|
|
|
|
|
|
|
| |
Nuke the unsupported hslibs version of HOpenGL on the HEAD, too. Now
we are only left with two versions, which I think is OK: A stable one
(not in the fptools repository, but on my web site) and a cool, but
*very* incomplete one (currently only GLUT) for bleeding edge people
in the hierarchical libraries parts of the repository.
|
|
|
|
| |
Detect Python (any version).
|
|
|
|
| |
add --enable-objectio configuration option
|
|
|
|
|
| |
- Invoke FPTOOLS_HADDOCK to find an installed Haddock
- Add an option --use-src-tree-haddock to mirror --use-src-tree-happy
|
|
|
|
|
|
|
| |
The <dlfcn.h> constants RTLD_NOW, RTLD_GLOBAL, RTLD_LOCAL
are not defined in the OpenBSD implementation of the dl library.
dons@cse.unsw.edu.au (Donald Bruce Stewart)
|
|
|
|
|
| |
Let `configure' know about the "m68k-unknown-openbsd" architecture.
Patch contributed by Donald Stewart <dons@cse.unsw.edu.au>.
|
|
|
|
|
| |
Added DocBook catalog location for OpenBSD as suggested by
Donald Stewart <dons@cse.unsw.edu.au>
|
|
|
|
|
| |
Latest Mingw32 needs libmingwex, but for now not when installing as
bundled gcc is out of date.
|
|
|
|
| |
added struct msghdr feature tests
|