Commit Graph

174 Commits

Author SHA1 Message Date
Reid Spencer
17795971fc Changes for testing presence of ltdl.h and lt_dlopen(), libtool functions
for cross-platform dynamic loading of shared objects.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17950 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-18 09:47:37 +00:00
Reid Spencer
4b8f82fbe6 Add the RUNTEST autoconf onfiguration variable for Deja-gnu support. This
tool runs Deja-gnu test suites. The 'make' variable RUNTEST is now set
automatically in the Makefile.config file.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17599 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-07 23:29:39 +00:00
John Criswell
e96aa1ca3c Added the poolalloc module to the list of projects to configure, if present.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17319 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-28 13:35:00 +00:00
Reid Spencer
cd9bbdd3ea Make sure we test the right variable for the AC_DEFINE
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17302 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-28 05:04:20 +00:00
Brian Gaeke
1d460f96c7 It's spelled IEEEFP
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17301 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-28 04:17:05 +00:00
Reid Spencer
abec8f96e3 Changes to support rand48 tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17284 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-27 23:03:44 +00:00
Reid Spencer
608624b58f Really get mkinstalldirs to shut up about what its doing .. who cares?
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17242 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-26 05:49:38 +00:00
Reid Spencer
b9f40c090f Teach mkinstalldirs how to shut up about making directories.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17209 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-25 08:21:09 +00:00
Reid Spencer
ad354c93c5 Add a check for the tar program.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17208 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-25 08:18:47 +00:00
Reid Spencer
514b4b0a1f Remove automake support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17156 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-22 03:39:08 +00:00
Reid Spencer
cac731ecbe We won't use automake
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17155 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-22 03:35:04 +00:00
Reid Spencer
e6ffb3eda1 Add runtime directories
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17086 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-17 14:58:49 +00:00
Misha Brukman
824e83d5ed Transfer Makefile.JIT into the build tree for JIT-enabling tools and examples
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16990 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-14 18:59:09 +00:00
Reid Spencer
09252e970e Set up BUILD_MODE based on the configuration so the default build mode
is established from configuration. Also, don't make the ENABLE_ options
AM_CONDITIONALs.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16952 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-13 11:53:12 +00:00
Misha Brukman
b3a734a534 Save Reid's notes from bugzilla on the proper procedure to upgrade libtool
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16947 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-13 01:07:55 +00:00
Reid Spencer
38bfee4ba1 Changes for libtool 1.5.10
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16945 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-13 00:51:45 +00:00
Reid Spencer
04c2144f90 Update for libtool 1.5.10
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16944 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-13 00:19:25 +00:00
Reid Spencer
6bc488beef Harden the version requirements to the set that actually works after three
days of trying to figure it out. Despite some developer's penchant for
relaxing the tool versions, this just isn't possible. Only certain versions
work with certain other versions.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16943 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-13 00:18:58 +00:00
Reid Spencer
ed0fdf9b02 Directory changes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16891 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-10 22:17:02 +00:00
Reid Spencer
2b6c038a5e Ensure timestamp on saved contents of configure.ac is not changed.
Use correct options to automake.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16879 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-10 19:09:33 +00:00
Reid Spencer
6843e38cb1 Add the --with-automake option to AutoRegen.sh and provide the automake
version of the configure script. This is an early commit of the automake
support so that automake support can be tested on multiple platforms. Many
additional Makefile.am need to be added to LLVM before this is of any use.
Please wait until automake support is announced on llvmdev list before
using the --with-automake option.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16837 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-08 05:33:35 +00:00
Reid Spencer
0d98aede69 Add checks for the ZLIB and BZIP2 header files, not just the libraries.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16669 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-04 22:05:53 +00:00
Reid Spencer
5cb99fbd67 Move the warning about no compression library down to the bottom, away
from the fray, so it gets noticed. This commit is made without the
corresponding configure script commit because it doesn't affect
functionality and we don't want to force everyone into another reconfigure


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16657 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-04 18:02:55 +00:00
Reid Spencer
37130d2b5e Provide support for auto-detection and use of compression libraries.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16643 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-04 07:05:07 +00:00
Reid Spencer
c28d7ad257 Add checks for bzip2 and libz for use with the Compression concept for
lib/System and the compressing llvm archiver.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16634 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-02 08:50:58 +00:00
Alkis Evlogimenos
a281b6fa64 Improve warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16520 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-27 07:35:19 +00:00
John Criswell
4046846d2c Updated the last two header files so that they are configured with
AC_CONFIG_HEADERS.  This should prevent LLVM from needlessly re-compiling
on a re-configure.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16510 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-24 21:19:06 +00:00
John Criswell
9f011866e9 Modified hash_map and hash_set configuration so that they are not
regenerated on every run of configure.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16509 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-24 18:28:00 +00:00
John Criswell
5fbb1f8fcc Configure Datatypes.h.in with AC_CONFIG_HEADERS. This should prevent it
from being re-generated if the new version is identical to the old version.
Hence, it should save us some recompiling after re-configures.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16506 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-24 13:28:51 +00:00
Reid Spencer
5d6c4a5581 Change the warning text so that NO warnings are permitted. This is now the
case since the AC_CONFIG_SUBDIRS problem has been fixed.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16464 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-21 17:13:23 +00:00
Reid Spencer
c2186e23b6 Don't attempt to (illegally) configure a subdir if we don't recognize it.
Instead just create a warning message that says the directory cannot be
configured because it isn't recognized. This also gets rid of a bunch of
warning messages from the auto* tools.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16463 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-21 17:12:35 +00:00
Reid Spencer
91b538024a Fix the program passed to AC_LANG_PROGRAM to be only the BODY of the main
function, not the whole main function. This problem resulted during
conversion of scripts to the new autoconf standard. The effect was that
the mmap_file test would fail and if it does there is currently an
#ifdef'd #error that causes compilation to fail. Bad, bad, bad.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16462 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-21 17:10:52 +00:00
Alkis Evlogimenos
7e2315e987 Use the right directory for the Java frontend
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16448 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-20 15:45:36 +00:00
Reid Spencer
a42b525ea8 Correct the use AC_RUN_IFELSE to ensure it builds programs correctly by
using the AC_LANG_PROGRAM macro.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16426 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-20 04:08:22 +00:00
Reid Spencer
2650835b68 The problem with depending on the internal implementation of third party
tools is that you break when they change. This is a case in point.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16424 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-20 03:05:46 +00:00
Reid Spencer
dad130f510 Update the script to generate mklib instead of libtool.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16421 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-20 01:41:24 +00:00
Reid Spencer
c1b0d49e61 Various minor cleanups and replacement of obsoleted macro names.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16419 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-19 23:43:52 +00:00
Reid Spencer
a8bcc120d4 Numerous fixes to convert ~ into ; that (probably) occurred during data
transmission.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16418 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-19 23:42:55 +00:00
Reid Spencer
12de17db02 Bring the script out of the dark ages and into modern autoconfness.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16415 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-19 22:31:49 +00:00
Reid Spencer
8eacb0c3a7 Make the "Warning" notice a LOT more prominent.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16414 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-19 22:30:53 +00:00
Reid Spencer
b03adb8cab Add in version dependency checks on all the tools we depend on. This is
necessary to ensure that a consistent configuration is created on each
platform. Certain definitions we use (like m4/libtool.m4) require certain
versions of the tools and we can no longer be slack about this or we'll
have problems with mis-configured builds.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16412 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-19 22:14:24 +00:00
Reid Spencer
ed8624d58e Add our own version of libtool.m4 instead of relying on the installed one.
This is a potential version mismatch problem because this file came from
libtool 1.5.10. If you're running a different version of libtool, the
checks in this file may not be quite right. Having our own version of this
file violates the spirit of libtool and is only provided to change the name
of "libtool" to "mklib". This is done so that the name "libtool" does not
conflict with the "lib" directory when doing tab completion and your
$objdir == $srcdir.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16411 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-19 21:47:47 +00:00
Brian Gaeke
8bb825067f Update to latest versions of config.guess and config.sub from
http://savannah.gnu.org/projects/config


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16268 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-10 19:20:06 +00:00
Brian Gaeke
2f686dbc56 recognize MinGW
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16254 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-08 20:32:11 +00:00
Brian Gaeke
19ee52a3d7 PAPI check has been moved to projects/reopt.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16237 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-07 17:35:16 +00:00
Reid Spencer
ad1eb207cb Removed this file as its contents are now in the m4 directory.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16234 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-07 16:50:22 +00:00
Reid Spencer
f7b2de5d57 - Handle AC_CONFIG_SUBDIRS properly for existing "well known" projects
while still retaining the ability to configure unknown ones.
- Excise crud left over from when test/Projects was still part of the main
  LLVM module. These removed tests are now all in
  llvm-test/autoconf/configure.ac


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16230 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-07 16:26:18 +00:00
Reid Spencer
dcd3875053 - Perform all validity checks before doing anything.
- Use the -I parameter to aclocal to tell it where the autoconf/m4
  directory is located so it can find needed autoconf functions


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16225 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-07 16:00:48 +00:00
Reid Spencer
53ecd51d97 move AC_FUNC_ISINF and AC_FUNC_ISNAN to their own files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16224 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-07 14:23:53 +00:00
Reid Spencer
491f6812ef Individual autoconf function broken out of acincludes.m4. This change
per the recommended style guide for autoconf and so that individual
autoconf functions can more easily be shared across projects.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16223 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-07 06:56:14 +00:00