Reid Spencer
a40c687fe8
* Implement embedding libltdl into LLVM which required some rearranging.
...
llvm-svn: 18349
2004-11-29 12:29:58 +00:00
Reid Spencer
7905a70840
* Update instructions about upgrading libtool
...
* Add instructions about upgrading autoconf
llvm-svn: 18348
2004-11-29 12:28:47 +00:00
Reid Spencer
2c7c2a0774
Converted with autoupdate for autoconf 2.50 -> 2.59 differences.
...
llvm-svn: 18343
2004-11-29 11:27:12 +00:00
Reid Spencer
8b3fd7639e
This file contains macros that allow us to incorporate the ltdl source into
...
our own library so that it is magically hidden and we don't have to depend
on linking with -lltdl option.
llvm-svn: 18342
2004-11-29 10:56:45 +00:00
Reid Spencer
0194c9a64c
* allow doxygen documentation to be enabled/disabled (default off)
...
* organize programs we test for properly
* add new programs needed for documentation generation
* Adjust install paths so llvm stuff doesn't muck up /usr/local or /usr if
$prefix is set to those.
llvm-svn: 18327
2004-11-29 04:56:35 +00:00
Reid Spencer
8de460528b
Remove a dead check at the end of the configure script that was a left over
...
from the bzip2 support. This dead check produced the error:
test: -ne: unary operator expected
llvm-svn: 18289
2004-11-27 22:01:43 +00:00
Reid Spencer
ff6110ebff
Get the cache variable name right.
...
llvm-svn: 18288
2004-11-27 21:59:57 +00:00
Reid Spencer
550df1bbef
Remove HAVE_BZLIB and HAVE_BZIP2. We always have bzip2 now.
...
llvm-svn: 18254
2004-11-25 20:21:53 +00:00
Reid Spencer
9dc4ba54dc
Gack. Actually use the correct variable name in setting the JIT support.
...
llvm-svn: 18240
2004-11-25 07:28:19 +00:00
Reid Spencer
3d50017178
Fix the lib/System/platform link by using proper cached variable name.
...
llvm-svn: 18233
2004-11-25 06:03:14 +00:00
Reid Spencer
0241e38ef7
For PR256:
...
* cache more values
* standardize cache value names
* organize configure script per autoconf recommendations (10 sections)
* Eliminate some redundancies and complexities in the script
* Provide better documentation in the script.
llvm-svn: 18232
2004-11-25 04:51:04 +00:00
Reid Spencer
7c93739bc5
Cache the value of this test.
...
llvm-svn: 18231
2004-11-25 04:44:46 +00:00
Reid Spencer
0388846f25
Tidy up the indentation. Give the cache variable a proper name.
...
llvm-svn: 18230
2004-11-25 04:43:54 +00:00
Reid Spencer
026eda3ec8
Eliminate duplicate "checking" message.
...
llvm-svn: 18229
2004-11-25 04:42:25 +00:00
Reid Spencer
58a9fe55fa
Make the check print something, give the cache var an llvm specific name.
...
llvm-svn: 18224
2004-11-25 03:33:03 +00:00
Reid Spencer
a61edd8e92
Add the configurable configuration files for llvmc.
...
llvm-svn: 18190
2004-11-23 23:48:45 +00:00
Reid Spencer
c4b5cfc602
Changes for testing presence of ltdl.h and lt_dlopen(), libtool functions
...
for cross-platform dynamic loading of shared objects.
llvm-svn: 17950
2004-11-18 09:47:37 +00:00
Reid Spencer
6bf36bdefb
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.
llvm-svn: 17599
2004-11-07 23:29:39 +00:00
John Criswell
033d215ccb
Added the poolalloc module to the list of projects to configure, if present.
...
llvm-svn: 17319
2004-10-28 13:35:00 +00:00
Reid Spencer
cae2d8a951
Make sure we test the right variable for the AC_DEFINE
...
llvm-svn: 17302
2004-10-28 05:04:20 +00:00
Brian Gaeke
591f5d6622
It's spelled IEEEFP
...
llvm-svn: 17301
2004-10-28 04:17:05 +00:00
Reid Spencer
f9676539bb
Changes to support rand48 tests
...
llvm-svn: 17284
2004-10-27 23:03:44 +00:00
Reid Spencer
e7d8dff1f7
Really get mkinstalldirs to shut up about what its doing .. who cares?
...
llvm-svn: 17242
2004-10-26 05:49:38 +00:00
Reid Spencer
65cb53fe2f
Teach mkinstalldirs how to shut up about making directories.
...
llvm-svn: 17209
2004-10-25 08:21:09 +00:00
Reid Spencer
8d0d005998
Add a check for the tar program.
...
llvm-svn: 17208
2004-10-25 08:18:47 +00:00
Reid Spencer
35572eb6f9
Remove automake support.
...
llvm-svn: 17156
2004-10-22 03:39:08 +00:00
Reid Spencer
c1c320c335
We won't use automake
...
llvm-svn: 17155
2004-10-22 03:35:04 +00:00
Reid Spencer
85f1cd7893
Add runtime directories
...
llvm-svn: 17086
2004-10-17 14:58:49 +00:00
Misha Brukman
e62f4dd7b9
Transfer Makefile.JIT into the build tree for JIT-enabling tools and examples
...
llvm-svn: 16990
2004-10-14 18:59:09 +00:00
Reid Spencer
d385a67c44
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.
llvm-svn: 16952
2004-10-13 11:53:12 +00:00
Misha Brukman
ac00eb4eb6
Save Reid's notes from bugzilla on the proper procedure to upgrade libtool
...
llvm-svn: 16947
2004-10-13 01:07:55 +00:00
Reid Spencer
5fcd5c70ca
Changes for libtool 1.5.10
...
llvm-svn: 16945
2004-10-13 00:51:45 +00:00
Reid Spencer
2c1c1c46a9
Update for libtool 1.5.10
...
llvm-svn: 16944
2004-10-13 00:19:25 +00:00
Reid Spencer
d65d4d0b14
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.
llvm-svn: 16943
2004-10-13 00:18:58 +00:00
Reid Spencer
42ea4fcb35
Directory changes
...
llvm-svn: 16891
2004-10-10 22:17:02 +00:00
Reid Spencer
1d98d2c4b7
Ensure timestamp on saved contents of configure.ac is not changed.
...
Use correct options to automake.
llvm-svn: 16879
2004-10-10 19:09:33 +00:00
Reid Spencer
f9fdfa7aa5
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.
llvm-svn: 16837
2004-10-08 05:33:35 +00:00
Reid Spencer
defd9699e6
Add checks for the ZLIB and BZIP2 header files, not just the libraries.
...
llvm-svn: 16669
2004-10-04 22:05:53 +00:00
Reid Spencer
38b846c8e1
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
llvm-svn: 16657
2004-10-04 18:02:55 +00:00
Reid Spencer
4e181e731a
Provide support for auto-detection and use of compression libraries.
...
llvm-svn: 16643
2004-10-04 07:05:07 +00:00
Reid Spencer
4874120154
Add checks for bzip2 and libz for use with the Compression concept for
...
lib/System and the compressing llvm archiver.
llvm-svn: 16634
2004-10-02 08:50:58 +00:00
Alkis Evlogimenos
2622728248
Improve warning
...
llvm-svn: 16520
2004-09-27 07:35:19 +00:00
John Criswell
71c8d5eae9
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.
llvm-svn: 16510
2004-09-24 21:19:06 +00:00
John Criswell
08e722647a
Modified hash_map and hash_set configuration so that they are not
...
regenerated on every run of configure.
llvm-svn: 16509
2004-09-24 18:28:00 +00:00
John Criswell
3ed86d7540
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.
llvm-svn: 16506
2004-09-24 13:28:51 +00:00
Reid Spencer
d057f2bc56
Change the warning text so that NO warnings are permitted. This is now the
...
case since the AC_CONFIG_SUBDIRS problem has been fixed.
llvm-svn: 16464
2004-09-21 17:13:23 +00:00
Reid Spencer
c6f9e0f512
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.
llvm-svn: 16463
2004-09-21 17:12:35 +00:00
Reid Spencer
7c3d8c0af8
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.
llvm-svn: 16462
2004-09-21 17:10:52 +00:00
Alkis Evlogimenos
dc62cada7d
Use the right directory for the Java frontend
...
llvm-svn: 16448
2004-09-20 15:45:36 +00:00
Reid Spencer
57f1c0e0a6
Correct the use AC_RUN_IFELSE to ensure it builds programs correctly by
...
using the AC_LANG_PROGRAM macro.
llvm-svn: 16426
2004-09-20 04:08:22 +00:00
Reid Spencer
a9317d68b6
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.
llvm-svn: 16424
2004-09-20 03:05:46 +00:00
Reid Spencer
3ed4d9f7e9
Update the script to generate mklib instead of libtool.
...
llvm-svn: 16421
2004-09-20 01:41:24 +00:00
Reid Spencer
2024d0ed5a
Various minor cleanups and replacement of obsoleted macro names.
...
llvm-svn: 16419
2004-09-19 23:43:52 +00:00
Reid Spencer
200dcd9e68
Numerous fixes to convert ~ into ; that (probably) occurred during data
...
transmission.
llvm-svn: 16418
2004-09-19 23:42:55 +00:00
Reid Spencer
70eca35170
Bring the script out of the dark ages and into modern autoconfness.
...
llvm-svn: 16415
2004-09-19 22:31:49 +00:00
Reid Spencer
eb61eb2e32
Make the "Warning" notice a LOT more prominent.
...
llvm-svn: 16414
2004-09-19 22:30:53 +00:00
Reid Spencer
2aeccd0f1c
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.
llvm-svn: 16412
2004-09-19 22:14:24 +00:00
Reid Spencer
dc6f5680f3
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.
llvm-svn: 16411
2004-09-19 21:47:47 +00:00
Brian Gaeke
c722311fb5
Update to latest versions of config.guess and config.sub from
...
http://savannah.gnu.org/projects/config
llvm-svn: 16268
2004-09-10 19:20:06 +00:00
Brian Gaeke
f8d86008c5
recognize MinGW
...
llvm-svn: 16254
2004-09-08 20:32:11 +00:00
Brian Gaeke
64a0630d72
PAPI check has been moved to projects/reopt.
...
llvm-svn: 16237
2004-09-07 17:35:16 +00:00
Reid Spencer
edd0b5b653
Removed this file as its contents are now in the m4 directory.
...
llvm-svn: 16234
2004-09-07 16:50:22 +00:00
Reid Spencer
90de7fbb3e
- 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
llvm-svn: 16230
2004-09-07 16:26:18 +00:00
Reid Spencer
d7eeb3ae28
- 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
llvm-svn: 16225
2004-09-07 16:00:48 +00:00
Reid Spencer
8118dba3e6
move AC_FUNC_ISINF and AC_FUNC_ISNAN to their own files.
...
llvm-svn: 16224
2004-09-07 14:23:53 +00:00
Reid Spencer
b15e69a09b
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.
llvm-svn: 16223
2004-09-07 06:56:14 +00:00
Reid Spencer
7433dcdc0f
Remove configuration of test/Programs/* Makefiles.
...
llvm-svn: 16186
2004-09-05 17:48:32 +00:00
Reid Spencer
ab2228ad7e
Don't just assume that either uint64_t or u_int64_t is available. Instead,
...
give preference to uint64_t if it exists. If not, check for u_int64_t. If
that doesn't exist either, then error out.
llvm-svn: 16149
2004-09-02 21:38:24 +00:00
John Criswell
d672a3dbe3
Added a check for u_int64_t, which is used by Interix.
...
llvm-svn: 16145
2004-09-02 18:44:44 +00:00
Reid Spencer
7c16caa336
Changes For Bug 352
...
Move include/Config and include/Support into include/llvm/Config,
include/llvm/ADT and include/llvm/Support. From here on out, all LLVM
public header files must be under include/llvm/.
llvm-svn: 16137
2004-09-01 22:55:40 +00:00
Reid Spencer
f2531a1568
Add support for Interix and FreeBSD
...
llvm-svn: 16126
2004-08-31 18:03:23 +00:00
Reid Spencer
67be17afbe
Fix a "test" botch.
...
Alphabetize the platform list
Install some AC_MSG_CHECKING/AC_MSG_RESULT pairs.
llvm-svn: 16122
2004-08-31 14:20:36 +00:00
Reid Spencer
1daffa57c1
Recognize Interix systems as if they were SunOS and make sure we don't
...
attempt to configure for "Unknown" system types.
llvm-svn: 16120
2004-08-31 01:34:10 +00:00
Reid Spencer
a872cbe3bd
Create a link from $BUILD_OBJ_ROOT/lib/System/platform to
...
$BUILD_SRC_ROOT/lib/System/$build which gives us the ability to
configure the lib/System for the current type of operating system.
Also cleaned up some indentation.
llvm-svn: 16082
2004-08-29 19:18:05 +00:00
Reid Spencer
a407007e07
Ensure that the examples get built.
...
llvm-svn: 16027
2004-08-24 16:31:01 +00:00
Reid Spencer
3b65b0a67a
Actually name the #define correctly.
...
llvm-svn: 15945
2004-08-20 09:08:57 +00:00
Reid Spencer
cf05c1256b
Change version 1.3 -> 1.4
...
Add basic installation directories as AC_DEFINES and AC_SUBST so they can
be used by llvm programs with a simple #include <Config/config.h>
llvm-svn: 15942
2004-08-20 09:03:12 +00:00
Reid Spencer
a0e01ae3f7
Change the package identification to use one less level of quoting so that
...
PACKAGE_VERSION = "1.3" instead of "[1.3]". Rebuild configure script.
llvm-svn: 15453
2004-08-04 00:34:49 +00:00
John Criswell
9537b0455f
Revised the generation of files so that they follow the newer autoconf
...
standards. This is in hopes of fixing configuration problems on
Windows Services for Unix.
llvm-svn: 15132
2004-07-23 15:40:57 +00:00
Brian Gaeke
b1ea500aa1
Add AC_MSG_CHECKING and AC_MSG_RESULT statements which were missing
...
from two of our custom checks.
llvm-svn: 15060
2004-07-21 03:50:01 +00:00
Brian Gaeke
a5adf7948c
Add check for finite(). Solaris doesn't have isinf, but it has finite...go
...
figure!
llvm-svn: 15057
2004-07-21 03:30:27 +00:00
Brian Gaeke
499b01d29d
Add call to check for isinf().
...
Patch contributed by Bill Wendling.
llvm-svn: 15053
2004-07-21 03:14:51 +00:00
Brian Gaeke
25318b1381
Add support for checking for isinf().
...
Patch contributed by Bill Wendling.
llvm-svn: 15052
2004-07-21 03:14:39 +00:00
John Criswell
b92c7c2270
Added support for stdint.h. It is now automatically included by
...
DataTypes.h. So far, it doesn't seem to break Linux, Solaris, or MacOS X.
This should automatically include it for those people who need it.
llvm-svn: 15006
2004-07-19 16:12:29 +00:00
Brian Gaeke
bc9bff960a
Call custom check (AC_FUNC_ISNAN) instead of using the generic function check.
...
llvm-svn: 14335
2004-06-22 23:43:04 +00:00
Brian Gaeke
ba798f12d7
Implement isnan check (AC_FUNC_ISNAN) in terms of three calls to a fairly
...
generic macro AC_SINGLE_CXX_CHECK.
llvm-svn: 14334
2004-06-22 23:42:49 +00:00
John Criswell
3c99d0cc85
Added the llvm/test/Programs/Makefile.test Makefile.
...
Added a check for isnan() while I was at it.
llvm-svn: 14333
2004-06-22 21:35:10 +00:00
Misha Brukman
fe16ae23c9
Add AIX to the list of recognized operating systems.
...
llvm-svn: 14319
2004-06-22 15:32:08 +00:00
John Criswell
b0a352c94f
Added checks for mkstemp and getrusage.
...
llvm-svn: 14047
2004-06-07 14:26:24 +00:00
Chris Lattner
f55aa9c49c
Recognize cygwin
...
llvm-svn: 13976
2004-06-02 23:32:17 +00:00
John Criswell
1cd5f920e3
Added a check for a new header file.
...
My apologies for changing config.h.in. Now you will all have to
re-configure.
llvm-svn: 13846
2004-05-27 20:40:39 +00:00
John Criswell
b82cbbfc70
Only give warnings if the user doesn't have mmap(). This is pretty much
...
a hack that allows users to fight through a build if they don't have mmap().
When I get into the office, I'll make something better.
llvm-svn: 13801
2004-05-27 00:57:50 +00:00
Brian Gaeke
fe766057a9
Refactor external benchmark checking stuff into one hairy
...
macro-to-bind-them-all, called EXTERNAL_BENCHMARK().
llvm-svn: 12994
2004-04-16 17:13:33 +00:00
Chris Lattner
cea7f660bc
We are now on LLVM 1.3
...
Make autoconf default to checking to look to see if our funny directory exists
llvm-svn: 12947
2004-04-14 16:32:34 +00:00
Brian Gaeke
fca4720590
Rewrite POV-Ray check as per PR301
...
llvm-svn: 12914
2004-04-13 19:02:51 +00:00
Brian Gaeke
c6dba95bbc
check for isatty function
...
llvm-svn: 12635
2004-04-02 21:06:44 +00:00
John Criswell
44cf9fadcb
Modified the default pathname for Povray.
...
llvm-svn: 11881
2004-02-26 20:22:59 +00:00
Alkis Evlogimenos
e008a4b28f
Remove .micro references as those files no longer exist and add some more recent Makefile additions to the list
...
llvm-svn: 11866
2004-02-26 04:14:10 +00:00
Alkis Evlogimenos
e62ddd405d
Fix bugs found with recent addition of assertions in
...
MRegisterInfo::is{Physical,Virtual}Register.
llvm-svn: 11849
2004-02-25 23:21:52 +00:00
Brian Gaeke
01d9231855
small portability fix.
...
llvm-svn: 11814
2004-02-24 22:58:31 +00:00