summaryrefslogtreecommitdiff
path: root/configure.in
Commit message (Collapse)AuthorAgeFilesLines
...
* [project @ 2002-05-14 08:09:07 by matthewc]matthewc2002-05-141-1/+16
| | | | | | | * Add ia64-*-linux* as a recognised system type * Standardise capitalisation of YES and NO in HaveLibGmp * Error out if user tries to use in-tree GMP on IA64 (results in hangs and segfaults - it probably needs an upgrade sometime)
* [project @ 2002-05-01 22:17:29 by sof]sof2002-05-011-1/+1
| | | | check for <sys/uio.h>
* [project @ 2002-04-01 15:32:46 by panne]panne2002-04-011-12/+10
| | | | | | | | | | | | | | | | | | Sigbjorn's last optimization (checking for -mno-cygwin only for mingw32 targets) kicked out -O from the default SRC_CC_OPTS. Apart from a minor performance hit for some parts of GHC, it yields a GHCi which can't load HSbase_cbits.o because `lstat' is unknown, at least on SuSE 7.3. A little investigation showed the rather arcane reason: lstat and friends are inline functions and therefore not in libc.so, only in its static counterpart. Normally this is not a problem at all, but the CPP INLINE trickery in fptools/libraries/base/cbits/PrelIOUtils.c manages to get a reference to lstat into PrelIOUtils.o if -O is not given. %-} A similar problem exists for fstat, too. Simple solution: Re-add -O to SRC_CC_OPTS, simplifying configure.in a bit on the way.
* [project @ 2002-03-28 08:39:33 by stolz]stolz2002-03-281-0/+18
| | | | posix/DLPrim now uses configure to check for RTLD_LOCAL.
* [project @ 2002-03-26 20:14:38 by sof]sof2002-03-261-6/+11
| | | | only test for -mno-cygwin if the target is mingw32
* [project @ 2002-03-26 16:36:09 by stolz]stolz2002-03-261-0/+20
| | | | | | Add dlopen() and friends to package 'posix'. A configure-test for RTLD_NEXT is required. Record if -ldl is required in posix.conf.
* [project @ 2002-03-01 14:20:06 by simonmar]simonmar2002-03-011-1/+0
| | | | remove redundant check for size_t
* [project @ 2002-02-17 14:03:10 by panne]panne2002-02-171-0/+2
| | | | | | | Automagically determine the flags for compiling/linking OpenGL programs at configuration time, and stuff the relevant info into OpenGL's package configuration file. This still mixes up compilation time vs. installation time, but it's much better than hardcoded flags.
* [project @ 2002-02-15 08:10:44 by sof]sof2002-02-151-2/+1
| | | | mingw: drop the use of -mwin32 in CC_OPTS; no longer needed
* [project @ 2002-02-13 19:42:38 by sof]sof2002-02-131-0/+3
| | | | | FPTOOLS_DOCBOOK_CATALOG: check whether the SGML_CATALOG_FILES env var is defined. If it is, treat it as gospel.
* [project @ 2002-02-13 11:51:40 by simonmar]simonmar2002-02-131-0/+5
| | | | | | | | | - Detect presence of a POSIX-compatible regex interface in configure, and omit Text.Regex.Posix (and hence Text.Regex) if it is missing. ToDo: pull in a suitably-licensed implementation of POSIX regex to be used in the event that the system doesn't supply one. - Rename old HaveRegex to HaveGNURegex.
* [project @ 2002-01-31 10:42:27 by sof]sof2002-01-311-1/+12
| | | | | | | - new option --enable-threaded-rts, which turns on RTS support for better interop with native threads. - check for pthread.h - new config.mk variable, GhcRtsThreaded (={YES,NO})
* [project @ 2002-01-17 09:52:18 by sof]sof2002-01-171-2/+8
| | | | | For AR and LD, transform "/cygdrive/<drive>/..." paths to "<drive>:\..." -- enables the use of mingw-based GNU Make.
* [project @ 2002-01-07 20:24:22 by sof]sof2002-01-071-0/+13
| | | | added feature tests for a bunch of C types we need to know the Haskell equiv. of
* [project @ 2002-01-04 10:54:20 by sof]sof2002-01-041-1/+1
| | | | add feature test for readdir_r()
* [project @ 2001-12-13 09:23:22 by sof]sof2001-12-131-0/+7
| | | | new option, --enable-src-tree-happy, which forces the use of happy/src/happy-inplace as HAPPY
* [project @ 2001-12-10 01:27:59 by sebc]sebc2001-12-101-9/+9
| | | | MacOS X 10.1 identifies as "darwin"
* [project @ 2001-11-27 14:58:44 by sof]sof2001-11-271-1/+1
| | | | | Just in case, constrain /cygdrive/<foo>/ hardtop transformation to only apply at the root of the path.
* [project @ 2001-11-27 07:49:15 by sof]sof2001-11-271-2/+4
| | | | | | | | hardtop: newer versions of bash (and ash) have 'pwd' return paths of the following form: /cygdrive/<drive>/<rest> Transform these into <drive>:/<rest>, as that format is easier to work with under mingw.
* [project @ 2001-11-08 18:51:03 by sof]sof2001-11-081-6/+3
| | | | hardtop_plat: escape those backslashes (exponentially so).
* [project @ 2001-11-08 17:39:14 by sof]sof2001-11-081-9/+13
| | | | | Prev. commit upset world order - revert back to printing out build tree loc. first.
* [project @ 2001-11-07 20:14:21 by sof]sof2001-11-071-11/+24
| | | | subst new variable hardtop_plat - platform-specific version of hardtop
* [project @ 2001-11-07 19:31:58 by sof]sof2001-11-071-1/+1
| | | | Test for stddef.h
* [project @ 2001-11-07 08:34:45 by sof]sof2001-11-071-2/+0
| | | | | Nuke feature testing for misc error code values + its corresponding CCONST_XXXX #defines.
* [project @ 2001-10-24 09:43:47 by simonmar]simonmar2001-10-241-0/+3
| | | | | Detect whether the local 'ld' command supports -x, and only use the flag if it does.
* [project @ 2001-10-13 20:26:13 by sof]sof2001-10-131-1/+1
| | | | | | | | Added FPTOOLS_FIND_FIND. On Win32 boxes, rejects the MS 'find' utility and continues searching for GNU find. On non-Win32 boxes, equal to AC_PATH_PROG(FindCmd, find)
* [project @ 2001-09-18 08:53:01 by simonmar]simonmar2001-09-181-5/+7
| | | | | Don't check for an installed GHC if the user said --with-ghc=... or GHC=... ./configure.
* [project @ 2001-08-20 13:15:04 by simonmar]simonmar2001-08-201-1/+1
| | | | check for lstat()
* [project @ 2001-08-14 21:49:00 by sof]sof2001-08-141-7/+10
| | | | DocBook catalog: Only prefix hardtop if we end up using a glafp-utils/docbook CATALOG
* [project @ 2001-08-14 13:40:07 by sewardj]sewardj2001-08-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change the story about POSIX headers in C compilation. Until now, all C code in the RTS and library cbits has by default been compiled with settings for POSIXness enabled, that is: #define _POSIX_SOURCE 1 #define _POSIX_C_SOURCE 199309L #define _ISOC9X_SOURCE If you wanted to negate this, you'd have to define NON_POSIX_SOURCE before including headers. This scheme has some bad effects: * It means that ccall-unfoldings exported via interfaces from a module compiled with -DNON_POSIX_SOURCE may not compile when imported into a module which does not -DNON_POSIX_SOURCE. * It overlaps with the feature tests we do with autoconf. * It seems to have caused borkage in the Solaris builds for some considerable period of time. The New Way is: * The default changes to not-being-in-Posix mode. * If you want to force a C file into Posix mode, #include as the **first** include the new file ghc/includes/PosixSource.h. Most of the RTS C sources have this include now. * NON_POSIX_SOURCE is almost totally expunged. Unfortunately we have to retain some vestiges of it in ghc/compiler so that modules compiled via C on Solaris using older compilers don't break.
* [project @ 2001-07-24 04:39:31 by ken]ken2001-07-241-1/+1
| | | | | | | | | Make the Time module thread-safe by calling the reentrant functions gmtime_r and localtime_r instead of gmtime and localtime wherever they are available. (This is necessary to make Time work at all on our Alpha machine -- perhaps GHC tickles the reentrancy of the C library or something?)
* [project @ 2001-07-23 22:33:52 by ken]ken2001-07-231-0/+19
| | | | | Added "--enable-hc-boot-unregisterised" option to configure, for bootstrapping from unregisterised HC files.
* [project @ 2001-07-23 22:26:18 by ken]ken2001-07-231-4/+4
| | | | | Teach configure.in to canonicalise new-fangled Alpha system names, such as alphaev67-dec-osf5.0, to alpha-dec-osf3.
* [project @ 2001-07-19 09:03:24 by simonmar]simonmar2001-07-191-1/+3
| | | | | Fix a number of bugs in the autoconf setup, thanks to Gregory Wright <gwright@packetstorm.com>.
* [project @ 2001-07-10 11:21:05 by rrt]rrt2001-07-101-1/+8
| | | | Fix jade detection on Windows for jades that don't understand Unix paths
* [project @ 2001-07-06 15:39:47 by rrt]rrt2001-07-061-1/+2
| | | | Fix path for Windows jade
* [project @ 2001-07-04 10:58:37 by rrt]rrt2001-07-041-3/+0
| | | | gcc-2.95.3-4 for mingw accepts -mwin32, so allow it
* [project @ 2001-07-03 17:07:52 by rrt]rrt2001-07-031-14/+3
| | | | | Kill --enable-minimal-unix-deps (now == mingw32) and emit an error if a Cygwin compiler is detected.
* [project @ 2001-07-03 16:57:03 by sewardj]sewardj2001-07-031-1/+2
| | | | Plumb top-level --with-gcc=... value around the place.
* [project @ 2001-06-30 00:00:49 by sof]sof2001-06-301-22/+8
| | | | Tidy up the handling of -mno-cygwin.
* [project @ 2001-06-28 18:05:48 by rrt]rrt2001-06-281-1/+6
| | | | Split up win32 tests so CPP is only updated after cpp is found
* [project @ 2001-06-28 17:56:10 by rrt]rrt2001-06-281-14/+13
| | | | Set C and CPP flags before finding gcc
* [project @ 2001-06-26 23:22:37 by sof]sof2001-06-261-1/+1
| | | | wibble
* [project @ 2001-06-26 23:12:19 by sof]sof2001-06-261-8/+16
| | | | Test whether $(CC) supports -mwin32 + have configure script set SRC_CC_OPTS
* [project @ 2001-06-26 08:13:04 by reid]reid2001-06-261-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NOTE: new configure.in - remember to autoconf and reconfig I'm moving X.gc and Xlib.gc from hslibs/graphics/lib/x11 to hslibs/xlib and integrating them into the hslibs maketree. This lib now lives at the same place in the hierarchy as win32 - probably not perfect for the new library story but good enough for the old hslibs I think. I'm not converting them from GreenCard to hsc2hs but I think that would be a good medium term goal. I'd like to do it myself because I'd like to try using hsc2hs but I can't imagine when I'll get the time so if someone feels like doing it, go right ahead. (The HGL (hslibs/graphics/lib/x11) is probably the only code that depends on the Xlib interface - so mild changes to the Xlib API would be fairly easy to fix up.) It all seems to build and compile (not sure about linking yet) but, for the life of me, I can't figure out what part of the makefile calls ghc-pkg -a so that isn't quite working yet. (I _think_ the makefile does this - but could be wrong.) If someone could either point me at the relevant part of the makefile docs or just fix it for me, I could move onto getting the graphics lib integrated into the hslibs maketree - which would leave me with just the Hugs part of the HGL distribution to fix before the next Hugs release. (If I was a good Haggis, I'd beat up on Hugs' ffi too - but I'm a very overworked Haggis at the moment so I'm not sure I'll get that far.)
* [project @ 2001-05-31 17:13:30 by sof]sof2001-05-311-2/+0
| | | | perl config: Remove bogus test I introduced
* [project @ 2001-05-31 09:00:28 by rrt]rrt2001-05-311-0/+1
| | | | Add -mwin32 -mno-cygwin to CPPFLAGS.
* [project @ 2001-05-27 23:53:47 by sof]sof2001-05-271-6/+21
| | | | | | | New configure script option, --enable-minimal-unix-deps, a Win32-specific option which lets you build a compiler that doesn't depend on cygwin tools to run. Well, you still need tools such as gcc and perl in the backend, but these don't have to be cygwin ports.
* [project @ 2001-05-27 05:00:08 by sof]sof2001-05-271-4/+4
| | | | | | | | | | | 'flex' or 'lex' is required to compile up fptools/ (e.g., reqd in glafp-utils/sgmlverb). autoconf's standard macro AC_PROG_LEX just defaults to 'lex' if 'flex' isn't found, but doesn't actually check whether 'lex' is available along PATH. Added AC_PROG_LEX_STRICT, which extends AC_PROG_LEX by checking for the presence of 'lex' if 'flex' isn't found. It bails out with an error message if 'lex' cannot be found.
* [project @ 2001-05-25 13:49:35 by simonmar]simonmar2001-05-251-9/+0
| | | | we're only supporting NetBSD/ELF now, not a.out (Lennart's suggestion)