1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
Commit Graph

718 Commits

Author SHA1 Message Date
Reid Spencer
feb41c9080 Change the assertions defaults:
1. Assertions now default to on for all builds
2. If you want them disabled you must (a) --disable-assertions to configure
   or DISABLE_ASSERTIONS=1 to make.

llvm-svn: 27548
2006-04-09 20:42:14 +00:00
Reid Spencer
cfc429b2e8 Ensure that the automatic "CVS build" detection works for both
objdir == srcdir and objdir != srcdir.

llvm-svn: 27516
2006-04-08 01:41:26 +00:00
Reid Spencer
24021a2c49 For PR723:
Support detection of a "CVS" directory at configure time to distinguish
whether this is a release build or a "from tree" build. This knowledge is
used to set the defaults for --enable-optimzied and --enable-assertions
options.

llvm-svn: 27487
2006-04-07 16:01:51 +00:00
Reid Spencer
750a186e86 For support of new GCC v4, obtain the full and major versions of the
llvm-gcc command. This will help distinguish which version is being used
so the makefiles can accommodate.

llvm-svn: 27461
2006-04-06 22:00:36 +00:00
Reid Spencer
fa5014e918 Update to llvm-config tool, by Erik Kidd:
1. Check for Perl and only build llvm-config if its available.
2. Add some virtual components
3. Don't depend on "standard" location for Perl, but configured location
4. Document the tool with a POD file.

This version is now ready for testing by users.

llvm-svn: 27005
2006-03-23 23:21:29 +00:00
Reid Spencer
5b747af8e1 These changes are necessary to support the new llvm-config tool. llvm-config
is a handy tool for users of LLVM who want to be able to quickly get
information about LLVM's configuration. It is intended to be used in the
command line of other tools. Documentation will be forthcoming in a
subsequent patch.

llvm-svn: 26952
2006-03-22 15:59:55 +00:00
Chris Lattner
c306a9bed9 Use -emit-llvm -S to get .ll file output from llvm-gcc
llvm-svn: 26397
2006-02-27 05:39:00 +00:00
Chris Lattner
70d21494ed remove skeleton target
llvm-svn: 26239
2006-02-16 21:12:54 +00:00
Duraid Madina
b510fdd272 reverting previous change, will add support for other compilers later
llvm-svn: 26211
2006-02-15 07:57:42 +00:00
Duraid Madina
97b493eb7d zap
llvm-svn: 26199
2006-02-15 03:16:52 +00:00
Chris Lattner
ec37ba5968 SparcV8 -> Sparc
llvm-svn: 25989
2006-02-05 06:26:43 +00:00
Reid Spencer
a8aebf9192 Update for including additional function tests.
llvm-svn: 25542
2006-01-23 08:15:53 +00:00
Reid Spencer
ae31d4858b Make sure that libm is used during config tests so that ceil, floor, and
friends are actually detected.

llvm-svn: 25454
2006-01-19 08:31:08 +00:00
Reid Spencer
effe3e54e4 For PR696:
Add checks for ceil, ceilf, floor, and floorf

llvm-svn: 25453
2006-01-19 08:22:40 +00:00
Reid Spencer
d37f3c16f5 Implement fix for PR471:
* Add --enable-debug-runtime option, defaults to disabled
* Pass the new config var, DEBUG_RUNTIME, to Makefiles
* Don't use -Wa,-strip-debug if debug-runtime is enabled

llvm-svn: 24891
2005-12-21 03:31:53 +00:00
John Criswell
53c898b638 Added the llvm-kernel project to the list of automatically configured
projects.

llvm-svn: 24865
2005-12-19 20:27:24 +00:00
Chris Lattner
787eb5e3ef regenearte
llvm-svn: 24351
2005-11-14 07:25:50 +00:00
Chris Lattner
7e7018b3dc regenerate
llvm-svn: 24348
2005-11-14 06:57:34 +00:00
John Criswell
1f5cc9af81 Updated version to 1.7cvs.
llvm-svn: 24244
2005-11-08 21:13:01 +00:00
John Criswell
8f29899aa3 Merged from RELEASE_16.
llvm-svn: 24243
2005-11-08 21:11:33 +00:00
Misha Brukman
81c5982f0f Re-generated to fix copy-paste typo noticed by Marco Matthies.
llvm-svn: 24143
2005-11-01 21:00:49 +00:00
Reid Spencer
a1470f81ae For PR616:
These patches make threading optional in LLVM. The configuration scripts are now
modified to accept a --disable-threads switch. If this is used, the Mutex class
will be implemented with all functions as no-op. Furthermore, linking against
libpthread will not be done. Finally, the ParallelJIT example needs libpthread
so its makefile was changed to always add -lpthread to the link line.

llvm-svn: 23003
2005-08-24 10:07:20 +00:00
Reid Spencer
e82a9e2218 Fix PR608:
Previously the script assumed the version number was the last field, now
it assumes it is the first sequence of digits.

llvm-svn: 22527
2005-07-27 21:58:38 +00:00
Andrew Lenharth
b77c3f2f18 Alpha has JIT
llvm-svn: 22501
2005-07-22 20:54:01 +00:00
Reid Spencer
d390dabdd5 * Correct the AC_DEFINE for LLVM_PATH_GRAPHVIZ to use AC_DEFINE_UNQUOTED so
we actually get the path and not $GRAPHVIZ as the value.
* Add a #define for the gv program (HAVE_GV) and its value LLVM_PATH_GV.

llvm-svn: 22433
2005-07-14 05:19:12 +00:00
Reid Spencer
878f3f051f Put the path to the Graphviz program in the #defines so it can be used.
llvm-svn: 22430
2005-07-14 02:25:12 +00:00
Reid Spencer
4ca34a740e Implement a test for the Graphviz program for Chris Lattner. The symbol
GRAPHVIZ will contain the path to the program if its found (or "echo Graphviz"
if not) and the #define HAVE_GRAPHVIZ will be defined if its found.

llvm-svn: 22424
2005-07-13 03:20:14 +00:00
Reid Spencer
78910545f0 For PR540:
This patch completes the changes for making lli thread-safe. Here's the list
of changes:
* The Support/ThreadSupport* files were removed and replaced with the
  MutexGuard.h file since all ThreadSupport* declared was a Mutex Guard.
  The implementation of MutexGuard.h is now based on sys::Mutex which hides
  its implementation and makes it unnecessary to have the -NoSupport.h and
  -PThreads.h versions of ThreadSupport.

* All places in ExecutionEngine that previously referred to "Mutex" now
  refer to sys::Mutex

* All places in ExecutionEngine that previously referred to "MutexLocker"
  now refer to MutexGuard (this is frivolous but I believe the technically
  correct name for such a class is "Guard" not a "Locker").

These changes passed all of llvm-test. All we need now are some test cases
that actually use multiple threads.

llvm-svn: 22404
2005-07-12 15:51:55 +00:00
Reid Spencer
373e553223 For PR540:
* Add check for pthread.h
* Make sure -lpthread gets added to LIBS if its available

llvm-svn: 22402
2005-07-12 15:24:20 +00:00
Reid Spencer
ba5ae90ec8 Fix the definitions of LLVMGCC and LLVMGXX to include the EXEEXT (the
.exe extension) on Cygwin. This fixes the last few remaining Cygwin
issues. Thanks to Aaron Gray for tracking this down.

llvm-svn: 22191
2005-06-02 22:34:49 +00:00
Reid Spencer
2596a5df4f For PR514: Do not configure removed files
llvm-svn: 22138
2005-05-19 08:31:55 +00:00
John Criswell
e660df6b94 Updated version to LLVM 1.6 CVS.
llvm-svn: 22122
2005-05-18 20:18:40 +00:00
John Criswell
b3bc86be38 Merged in release_15.
llvm-svn: 22120
2005-05-18 19:43:33 +00:00
Duraid Madina
49c8521b6e pretty tiny change (looks like adding the HP-UX detection and line number
changes to me)

- not committing autoconf/configure.ac (oops, already committed that!)
- not committing include/llvm/Config/config.h.in (it remains unchanged)

llvm-svn: 22085
2005-05-16 16:33:34 +00:00
Reid Spencer
a9e52c8caf Remove the check for the ffsll function. Its no longer needed by the
simplify-libcalls pass (pass now computes it without a call to ffsll).

llvm-svn: 22074
2005-05-15 22:15:11 +00:00
Reid Spencer
9cd1000c52 Changes for ffs lib call simplification:
* Check for availability of ffsll call in configure script
* Support ffs, ffsl, and ffsll conversion to constant value if the argument
  is constant.

llvm-svn: 22027
2005-05-14 16:42:52 +00:00
Reid Spencer
1ae4c38124 Fix the "stacker doesn't build without llvm-gcc" problem. The configure
script was defaulting the LLVMGCC variable to "llvm-gcc" if it couldn't
find llvm-gcc and --with-llvmgccdir was not specified. In this case, there
is no llvm-gcc available on the system so we shouldn't assume that the
user's path will find it any better than configure could. The fix is to
default it to an empty string. If LLVMGCC is empty, the makefiles will
avoid building things that depend on llvm-gcc and give a nice warning
message to that effect.

llvm-svn: 21953
2005-05-13 18:30:13 +00:00
Misha Brukman
a18398e5cd * Remove reference to llvm-fefw
* Fix copyright line

llvm-svn: 21910
2005-05-12 22:15:34 +00:00
Misha Brukman
c165d15194 Build the `Skeleton' target when building "all" targets
llvm-svn: 21455
2005-04-22 18:00:34 +00:00
Reid Spencer
85a9424fa6 Make sure the CBackend is always a target that is built.
llvm-svn: 21448
2005-04-22 17:06:18 +00:00
Reid Spencer
0fb6e414da Consolidate the target selection options into a single option,
--enable-target which can take values "all", "host-only" or a comma
separated list of target names (alpha,ia64,powerpc,skeleton,sparc,x86)

llvm-svn: 21447
2005-04-22 17:02:18 +00:00
Reid Spencer
0b329c6e16 First step in avoiding compilation/usage of non-relevant targets. New
options have been added to the configure script that control which targets
will be used. The options are:

--enable-target-this (default=disabled)
  This will specify that the target corresponding to the build host is
  the target that will be compiled/used. You can't use this with any of
  the other options (they'll be ignored). This is what most people want.

--disable-target-x86 (default=enabled)
  This will prevent the X86 target(s) from being compiled/used.

--disable-target-sparc (default=enabled)
  This will prevent both SparcV8 and SparcV9 from being compiled/used.

--disable-target-powerpc (default=enabled)
  This will prevent the PowerPC target from being compiled/used.

--disable-target-alpha (default=enabled)
  This will prevent the Alpha target from being compiled/used.

--disable-target-ia64 (default=enabled)
  This will prevent the IA64 target from being compiled/used.

Note that without any of these options, the default behavior is to build
all targets, as is the current practice.

All these options do is set up the substititution variable TARGETS_TO_BUILD
which contains the targets that should be compiled/used. The variable is
intended to be used in the makefiles. Those changes will come later.

llvm-svn: 21445
2005-04-22 07:27:28 +00:00
Misha Brukman
9851f41670 Recognize an IA64 when we see one
llvm-svn: 20666
2005-03-17 20:56:22 +00:00
Reid Spencer
c124fa0906 Adjust to changes needed to more easily support projects via the new
LLVM_CONFIG_PROJECT macro.

llvm-svn: 20313
2005-02-24 19:05:19 +00:00
Reid Spencer
8dc0034dc0 Remove the "pax" program from the list of those needed to support LLVM.
The install target in Makefile.rules no longer uses pax but just uses find
and "install" instead.

llvm-svn: 20216
2005-02-16 16:21:00 +00:00
Chris Lattner
fb25a0eab0 The pool allocator is now the llvm-poolalloc module in public CVS
llvm-svn: 20116
2005-02-11 04:46:58 +00:00
Andrew Lenharth
ca8c8001ab let configure recognize Alphas
llvm-svn: 19810
2005-01-24 17:25:41 +00:00
Alkis Evlogimenos
5d7bd7411a Fix llvm-java project autconfiguration.
llvm-svn: 19616
2005-01-16 09:44:58 +00:00
Reid Spencer
5d058e0ec8 Provide support for HP/UX aCC compiler's variant of hash_map and hash_set
(RogueWave). These are implemented in rw/stdex/hash_map.h and
rw/stdex/hash_set.h on HP/UX.

llvm-svn: 19600
2005-01-16 02:58:39 +00:00
Alkis Evlogimenos
20daa541d7 Correctly update configure to configure the llvm-java project
llvm-svn: 19546
2005-01-14 07:52:28 +00:00
Alkis Evlogimenos
a6640aee30 The Java project now lives under projects/llvm-java.
llvm-svn: 19295
2005-01-05 17:57:28 +00:00
Reid Spencer
734b581c5b For PR351:
Make LLVM_ON_UNIX and LLVM_ON_WIN32 available in the makefiles

llvm-svn: 19205
2004-12-31 22:54:28 +00:00
Reid Spencer
e5034a35e0 For PR351:
* lib/System depends on sbrk(3), make sure we check for it.

llvm-svn: 19200
2004-12-31 05:49:15 +00:00
Reid Spencer
53cfb14270 * Fix a bug in an m4 macro that used an incorrect test operator
* Add CAN_DLOPEN_SELF so we can determine if dlopen(0) will open the
  program or not.
* Correct a warning messages to be a little more specific on what it checks

llvm-svn: 19184
2004-12-29 07:07:57 +00:00
Reid Spencer
2201286c2d Make the x86_64 target names match between def and use. Thanks Misha.
llvm-svn: 19170
2004-12-28 07:56:14 +00:00
Reid Spencer
76de36d644 Make the 64-bit x86 target named "x86_64" instead of "AMD64".
llvm-svn: 19169
2004-12-28 06:34:11 +00:00
Reid Spencer
727a291b4e Don't create symbolic links for lib/System any more. It doesn't need them.
llvm-svn: 19166
2004-12-27 09:33:46 +00:00
Reid Spencer
38f6b8a1bd For PR351:
* Add checks for sterror and strerror_r functions
* Add check to determine if /dev/zero is needed for allocating RWX memory.

llvm-svn: 19148
2004-12-27 06:15:02 +00:00
Reid Spencer
ff28563c07 For PR351:
* Make sure all headers used by lib/System have checks
* Use "standard" autoconf checks for certain problematic headers
For PR432:
* Resurrect --with-llvmgccdir so a specific llvm-gcc/llvm-g++ installation
  can be specified.

llvm-svn: 19142
2004-12-25 07:31:29 +00:00
Reid Spencer
e53f845baf Make the symbolic link using the correct variable!
llvm-svn: 19136
2004-12-24 06:49:16 +00:00
Reid Spencer
27dbe5c161 For PR351:
Create new variables LLVM_ON_UNIX and LLVM_ON_WIN32 so we can start getting
rid of reliance upon a symbolic link to switch implementations in lib/System

llvm-svn: 19131
2004-12-24 06:29:05 +00:00
Reid Spencer
077d626627 Update the amd64 target detection checks.
Patch contributed by Markus F.X.J. Oberhumer.

llvm-svn: 19118
2004-12-23 21:08:52 +00:00
Reid Spencer
1459fcc234 Added support for detection of amd64 targets.
llvm-svn: 19113
2004-12-23 06:22:33 +00:00
Reid Spencer
e1c1a05294 For PR432:
* Remove --with-llvmgccdir, not needed any more
* Search path for llvm-gcc and llvm-gxx
* Compute LLVMGCCDIR based on install path of llvm-gcc

llvm-svn: 19093
2004-12-22 05:56:56 +00:00
Reid Spencer
1770903f32 For PR351:
* Add checks for sbrk and getpagesize functions
* Alphebetize the checks for functions

llvm-svn: 19052
2004-12-20 00:59:04 +00:00
Reid Spencer
dba2f4028c Add CMP and CP configuration variables for the unix cmp and cp programs.
llvm-svn: 18990
2004-12-16 17:48:14 +00:00
Reid Spencer
97a0d127e2 Remove LLVMGCCDIR from the set of defines.
llvm-svn: 18970
2004-12-15 22:27:51 +00:00
Reid Spencer
e77564ce28 Don't put newlines in AC macros that can't handle them!
llvm-svn: 18952
2004-12-15 04:01:48 +00:00
Reid Spencer
8461ddd8c9 Add some system specific functions we use
llvm-svn: 18945
2004-12-15 01:41:56 +00:00
Reid Spencer
f7877f291c Get LLVMGCCDIR into the #defines
llvm-svn: 18845
2004-12-13 02:16:51 +00:00
Reid Spencer
dee4922007 More QMTest cruft gone!
llvm-svn: 18694
2004-12-09 07:43:06 +00:00
Reid Spencer
2181077443 Remove last remnants of Python/QMTest support
llvm-svn: 18672
2004-12-08 23:07:27 +00:00
Reid Spencer
5a392ee4cc Search for tclsh last so we don't find the FreeBSD warning script too early
llvm-svn: 18421
2004-12-02 07:31:22 +00:00
Reid Spencer
c0170de384 Fix the tclsh test to find tclsh8.[34] and tclsh8.[34].X as well.
llvm-svn: 18415
2004-12-02 04:17:20 +00:00
Reid Spencer
45597809e6 Add a check for the tclsh program needed by dejagnu. This can have weird
names that have version numbers in it so this macro, DJ_AC_PATH_TCLSH will
make the necessary checks. The makefile variable TCLSH is set to the path
found.

llvm-svn: 18382
2004-11-30 08:11:54 +00:00
Reid Spencer
a4b17dc498 * Implement embedding libltdl into LLVM which required some rearranging.
llvm-svn: 18349
2004-11-29 12:29:58 +00:00
Reid Spencer
d1b9824b3d * 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
d2222232e9 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
6bfb910955 Remove HAVE_BZLIB and HAVE_BZIP2. We always have bzip2 now.
llvm-svn: 18254
2004-11-25 20:21:53 +00:00
Reid Spencer
7daa0ae9b4 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
070d268ca9 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
ed544cbfa8 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
b48e284ed5 Add the configurable configuration files for llvmc.
llvm-svn: 18190
2004-11-23 23:48:45 +00:00
Reid Spencer
7f2645dbe0 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
9de1e70c0b 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
187ce075d3 Added the poolalloc module to the list of projects to configure, if present.
llvm-svn: 17319
2004-10-28 13:35:00 +00:00
Brian Gaeke
e2b2076b46 Regenerated after fixing typo.
llvm-svn: 17303
2004-10-28 05:06:45 +00:00
Reid Spencer
1a344dfd95 Changes to support rand48 tests
llvm-svn: 17284
2004-10-27 23:03:44 +00:00
Reid Spencer
b1858d52b5 Add a check for the tar program.
llvm-svn: 17208
2004-10-25 08:18:47 +00:00
Misha Brukman
6dcdc0f8a3 Add Makefile.JIT to the list of Makefiles transferred to the build dir to give
tools and examples a simple way to JIT-enable themselves

llvm-svn: 16991
2004-10-14 18:59:42 +00:00
Reid Spencer
350c4299cf Resolution to PR451.
llvm-svn: 16946
2004-10-13 01:01:03 +00:00
Reid Spencer
010dec5772 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
ab7aea0879 Provide support for auto-detection and use of compression libraries.
llvm-svn: 16643
2004-10-04 07:05:07 +00:00
Reid Spencer
43e2f0492a 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
404855c98b Improve warning
llvm-svn: 16520
2004-09-27 07:35:19 +00:00
John Criswell
8e633294c2 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
bd7cfd3d74 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
52263072bc 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
645c405a6d Fix a problem where the mmap_file test was generating an incorrect test
program that always failed (wouldn't compile).

llvm-svn: 16465
2004-09-21 17:14:44 +00:00
Reid Spencer
cfb05261bc Change the name of the "known" module for Java from llvm-java to Java.
llvm-svn: 16453
2004-09-20 22:14:56 +00:00
Reid Spencer
028111e37d Fix problems with AC_FUNC_MMAP_FILE and AC_LINK_USE_R that caused problems
with correctly recognizing mmap of files and the linker's support of -r.

llvm-svn: 16427
2004-09-20 04:09:56 +00:00
Reid Spencer
1fe303c95c Allow the suffix for shared libraries to be obtained correctly so we can
build them again.

llvm-svn: 16425
2004-09-20 03:06:28 +00:00
Reid Spencer
61be2ebab7 Change to support creation of "mklib" instead of "libtool" in builddir.
llvm-svn: 16422
2004-09-20 01:42:32 +00:00
Reid Spencer
a889e9e1df Adjust the libtool macros so that libtool's name is "mklib". Also, tidy up
the use of obsolete macros, hopefully making us more compliant on more sys.

llvm-svn: 16420
2004-09-19 23:53:36 +00:00
Brian Gaeke
2e74716697 Regenerated, to recognize mingw.
llvm-svn: 16255
2004-09-08 20:38:05 +00:00
Reid Spencer
61fcdc6b62 Remove PAPIDIR, per brg
llvm-svn: 16240
2004-09-07 18:04:45 +00:00
Reid Spencer
e50fae6613 Remove variables and tests that were specific to the now defunct
test/Programs. These have been moved to llvm-test/autoconf/configure.ac and
llvm-test/Makefile.config.in

llvm-svn: 16231
2004-09-07 16:35:45 +00:00
Reid Spencer
2a1f79ec76 Remove configuration of test/Programs/* Makefiles.
llvm-svn: 16186
2004-09-05 17:48:32 +00:00
Misha Brukman
698c88d445 Regenerated after Reid's change for uint64_t/u_int64_t (patch by Bill Wendling)
llvm-svn: 16151
2004-09-02 23:02:30 +00:00
John Criswell
2fd0348ad9 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
c4abcbefb1 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
6e79910f16 Add support for Interix and FreeBSD
llvm-svn: 16126
2004-08-31 18:03:23 +00:00
Reid Spencer
bfa1a19d22 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
9ebc2640d4 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
2b13eda9f3 Updated to create a link needed for correct lib/System compilation.
llvm-svn: 16096
2004-08-29 19:35:28 +00:00
Reid Spencer
345346cc64 Include the "examples" directory as optional.
Update configure script to configure the examples/Makefile

llvm-svn: 16028
2004-08-24 16:32:21 +00:00
Reid Spencer
44c2ab48ef Changes resulting from change in autoconf/configure.in (rename a #define)
llvm-svn: 15946
2004-08-20 09:10:31 +00:00
Reid Spencer
bc656f1dc4 Update after change to autoconf/configure.ac
llvm-svn: 15943
2004-08-20 09:03:57 +00:00
Reid Spencer
406cde6259 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
940e80d54e 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
8c0fb92856 Regenerated using autoconf-2.57.
llvm-svn: 15061
2004-07-21 03:50:25 +00:00
Brian Gaeke
2a45315ad0 Regenerated with autoconf/autoheader 2.57
llvm-svn: 15059
2004-07-21 03:33:58 +00:00
Brian Gaeke
cb31d835ed Regenerated with autoconf-2.57.
Patch contributed by Bill Wendling.

llvm-svn: 15051
2004-07-21 03:14:12 +00:00
John Criswell
bc9b933fb9 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
f463965229 Regenerated.
llvm-svn: 14336
2004-06-22 23:47:13 +00:00
John Criswell
43a84d337d 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
aac17e9e83 Regenerated with autoconf-2.57 for AIX detection support.
llvm-svn: 14320
2004-06-22 15:35:32 +00:00
John Criswell
ed7b25499c Added checks for mkstemp and getrusage.
llvm-svn: 14047
2004-06-07 14:26:24 +00:00
Chris Lattner
a8e931aa4b Recognize cygwin
llvm-svn: 13976
2004-06-02 23:32:17 +00:00
John Criswell
4b96ba79aa 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
f19f77bd57 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
decd864ee4 Regenerated using autoconf-2.57.
llvm-svn: 12995
2004-04-16 17:13:44 +00:00
Chris Lattner
36e43498f9 Regenerated
llvm-svn: 12946
2004-04-14 16:32:09 +00:00
Brian Gaeke
c4bd98ab79 Regenerated using autoconf-2.57.
llvm-svn: 12915
2004-04-13 19:03:49 +00:00
Brian Gaeke
cafcc6b677 Regenerated using autoconf-2.57.
llvm-svn: 12636
2004-04-02 21:26:02 +00:00
John Criswell
e6381015bb Modified the default pathname for Povray.
llvm-svn: 11881
2004-02-26 20:22:59 +00:00
Alkis Evlogimenos
dbac382e2a 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
bca40014e2 Complete the SPEC_ROOT and USE_SPEC to SPEC2000_ROOT and USE_SPEC200 rename.
llvm-svn: 11853
2004-02-25 23:41:32 +00:00
John Criswell
0158db84e0 Added the VTune tests.
llvm-svn: 11809
2004-02-24 21:43:38 +00:00
Brian Gaeke
e018bc5909 Regenerated with autoconf-2.57.
llvm-svn: 11776
2004-02-23 22:07:00 +00:00
Brian Gaeke
56c59bf770 Regenerated with autoconf-2.57.
llvm-svn: 11772
2004-02-23 21:30:37 +00:00
Brian Gaeke
845d76139a Regenerated using autoconf-2.57.
llvm-svn: 11760
2004-02-23 18:56:02 +00:00
Brian Gaeke
7bee706526 Regenerated with autoconf-2.57.
llvm-svn: 11749
2004-02-23 18:16:06 +00:00
John Criswell
ca86cefb56 Added an option for configuring Povray. By default, it should find my local
installation of Povray (and not do anything for people who don't have it).

llvm-svn: 11680
2004-02-20 22:30:22 +00:00
Brian Gaeke
42db400d19 Regenerated using autoconf-2.57.
llvm-svn: 11656
2004-02-20 06:40:57 +00:00
John Criswell
8bdfa4356d Adjusted the default pathname to the SPEC95 benchmarks. The new directory
has source code corrections and some input files pre-filtered for use
with the LLVM test suite.

llvm-svn: 11498
2004-02-16 14:55:18 +00:00
John Criswell
b13b431a6e Added check for target machine endian-ness and put the result into
Makefile.config (ENDIAN variable is set to big or little).

llvm-svn: 11398
2004-02-13 21:57:29 +00:00
John Criswell
87777351b2 Updated to handle the new SPEC95 configuration options.
llvm-svn: 11298
2004-02-10 22:36:35 +00:00
Brian Gaeke
5d66f2baa9 Regenerated using autoconf-2.57.
llvm-svn: 10962
2004-01-22 21:55:02 +00:00
Brian Gaeke
4838716cc4 Regenerated using autoconf-2.57 and autoheader-2.57.
llvm-svn: 10934
2004-01-21 19:39:29 +00:00
Brian Gaeke
155c7ebe11 Regenerated using autoconf-2.57.
llvm-svn: 10900
2004-01-16 21:31:21 +00:00
Brian Gaeke
1c65ca3a84 Remove configure support for endianness checking, the need for which
Chris has helpfully expunged.

llvm-svn: 10873
2004-01-15 06:22:37 +00:00
Brian Gaeke
0866dd77d1 Whoopsie. I should remember to use aclocal next time.
llvm-svn: 10815
2004-01-13 06:52:10 +00:00
Brian Gaeke
2f083850ae Remove and/or shorten many comments in configure.ac.
Remove checks for many common Unix programs. Our build process currently
assumes they are there and makes no provisions for any other world-views.
(We can add some of these checks back at some later time if it should prove
useful, but right now, we do not need to check to see whether "rm" exists.)

Remove checks for many common standard C headers and functions. We assume
ISO/ANSI C++, and we always use the <cfoo> versions of ANSI C's <foo.h>
headers, so these checks will not help anything.

Edit configure's warning messages for clarity and content.

Change checks for "optional" programs to default to using "true" instead of
"false", so that a failure to find, e.g., etags, will be less likely to result
in make failing.

No longer shall we check for --enable-purify or --with-purify options.
No longer shall we propagate these to the Makefiles.

configure regenerated using autoconf-2.57.

Please feel free to send me any questions or comments you have. :-)

llvm-svn: 10814
2004-01-13 06:43:16 +00:00
John Criswell
572ea1a080 Modified the configure script so that it defines BISON as the bison
binary and YACC as bison -y.

llvm-svn: 10776
2004-01-12 16:18:21 +00:00
John Criswell
9bc1af23c1 Updated from files in llvm/autoconf. This was done immediently following
the renaming of aclocal.m4 to acinclude.m4.

llvm-svn: 10656
2003-12-30 17:55:05 +00:00
Alkis Evlogimenos
1ee3f839f8 Fix help string for --enable-spec2000 option
llvm-svn: 10564
2003-12-20 21:35:15 +00:00
John Criswell
0659bb0c4a Merged in RELEASE_11.
llvm-svn: 10516
2003-12-18 16:43:17 +00:00
John Criswell
9ac70a5057 Updated configure script so that it does not configure llvm/project
directories that do not contain a configure script.

llvm-svn: 10437
2003-12-12 20:15:23 +00:00
Brian Gaeke
35bc966ddd Add check for pthread_mutex_lock() in -lpthread (or otherwise).
Regenerated configure w/ autoconf-2.57.

llvm-svn: 10293
2003-12-05 19:29:01 +00:00
John Criswell
5cd87ea6e5 Configure all project directories contained in llvm/projects.
The autoconf program will generate a warning about how we should use a
literal in AC_CONFIG_SUBDIRS.  This warning can be ignored.

llvm-svn: 10222
2003-11-25 20:36:46 +00:00
John Criswell
d863a27b67 Added a pseudo-hack: The Makefile now copies Makefiles from source tree to
object tree if it is missing.  This means that new Makefiles should get
picked up automagically, requiring less bothersome re-configuring after
updates.

llvm-svn: 10209
2003-11-25 17:49:22 +00:00
Brian Gaeke
9ebed2d758 Regenerated using autoconf-2.57
llvm-svn: 10191
2003-11-24 02:54:57 +00:00
Brian Gaeke
3eccfbd90f Regenerated using autoconf-2.57
llvm-svn: 10063
2003-11-18 06:20:41 +00:00
John Criswell
76cc76b529 Added a check for the -R linker option.
llvm-svn: 10056
2003-11-17 19:46:02 +00:00
Brian Gaeke
6456cc0a39 Regenerated using autoconf-2.57.
llvm-svn: 10048
2003-11-17 00:31:43 +00:00
Brian Gaeke
3d3c0a3db1 Regenerated with autoconf-2.57.
llvm-svn: 10025
2003-11-16 18:38:14 +00:00
Misha Brukman
c6f62c903b Regenerated `configure' for adding Makefiles and test.in to FreeBench
benchmarks.

llvm-svn: 9942
2003-11-12 22:16:51 +00:00
Brian Gaeke
ebdebb3a5d Regenerated.
llvm-svn: 9850
2003-11-10 03:06:28 +00:00
John Criswell
3d949ca785 Generated autoconf script for Chris.
llvm-svn: 9554
2003-10-28 19:21:11 +00:00
John Criswell
98a09e64b0 Updated configure script.
llvm-svn: 9438
2003-10-23 19:16:12 +00:00
Alkis Evlogimenos
b13247db8c Someone forgot to commit an updated configure after adding tools/llvm-nm to configure.ac :-)
llvm-svn: 9189
2003-10-17 00:50:38 +00:00
John Criswell
27f6878d71 Added autoconf support for the sample project.
Fixed the header comment in Makefile.rules
Changed all references to the echo program in Makefile.rules to the value
found by autoconf.

llvm-svn: 9151
2003-10-16 01:49:00 +00:00
John Criswell
ff4e11b823 Added a macro and code that checks for the %a format string in sprintf().
llvm-svn: 9089
2003-10-13 16:22:01 +00:00
John Criswell
3b63013cd0 Added the eon and perlbmk benchmarks.
llvm-svn: 8995
2003-10-10 01:11:54 +00:00
John Criswell
a43819053c Added 177.mesa to the list of Makefiles to propogate to the object root.
llvm-svn: 8981
2003-10-09 15:44:28 +00:00
John Criswell
fb5c9bdf58 Renamed -use-spec to -use-spec2000.
The pathname to SPEC2000 is now given with the -use-spec2000 option.
On our machines, SPEC2000 will be enabled by default.

llvm-svn: 8949
2003-10-07 21:57:39 +00:00
John Criswell
80a765254b Switching over to the new test database.
Adding new qmt files should no longer be necessary.
QMTest should know just "magically" know what sort of test each file is.

llvm-svn: 8945
2003-10-07 21:13:47 +00:00
Brian Gaeke
6d3c51e732 regenerated using autoconf-2.57.
llvm-svn: 8917
2003-10-07 06:01:34 +00:00
Chris Lattner
1f8cc072e4 Hand update the configure script for moved directories
llvm-svn: 8886
2003-10-06 02:13:00 +00:00
John Criswell
fd787906e4 Removed the check for purify as we don't support its use at present.
llvm-svn: 8824
2003-10-02 19:02:30 +00:00
John Criswell
20f94778fe Removed Makefile for CompileFail tests. They are now run by QMTest and are
located under llvm/test/Regression/C++Frontend.

llvm-svn: 8791
2003-09-30 19:41:15 +00:00
John Criswell
2ff9680cfc Added conditional configuration of poolalloc.
llvm-svn: 8765
2003-09-30 16:31:48 +00:00
John Criswell
c36a2b324e Added the ability to conditionally configure the reopt project if it is checked
out under projects/reopt.

llvm-svn: 8762
2003-09-30 15:55:44 +00:00
John Criswell
55e08dd846 Removed the utils/Makefile file from being copied to the object root tree.
llvm-svn: 8759
2003-09-30 13:52:11 +00:00
John Criswell
b4541326ab Added Makefiles to llvm/test/Programs/SingleSource/Regression/C++/EH and
llvm/test/Programs/SingleSource/Regression/C++/CompileFail.

llvm-svn: 8746
2003-09-29 21:35:32 +00:00
John Criswell
48da4c1fc5 Moved llvm/lib/Support to llvm/support/lib/Support.
Moved llvm/utils/Burg and llvm/utils/TableGen to llvm/support/tools.

llvm-svn: 8733
2003-09-29 14:52:28 +00:00
John Criswell
62eccd2ea6 Moved llvm/test/Programs/SingleSource/Regression around a bit to support
multiple languages.

llvm-svn: 8727
2003-09-26 19:51:42 +00:00
John Criswell
0f53b9d85c Added llvm/test/Programs/SingleSource/Regression/Makefile.
llvm-svn: 8721
2003-09-26 14:53:17 +00:00
John Criswell
b5fbb312d0 If we fail to find python or qmtest, give a warning message instead of an
error message.  This should hopefully allow our nightly tester to run, which
does not run the QMTest tests at present.

llvm-svn: 8691
2003-09-23 20:46:32 +00:00
John Criswell
604c96d888 Added code that stops the configure script if a needed program is not found.
llvm-svn: 8680
2003-09-23 15:28:52 +00:00
John Criswell
a8c1910084 Regenerated configure with Misha's changes.
Now link is llvm-link and things are alphabetized.

llvm-svn: 8565
2003-09-16 15:54:19 +00:00
John Criswell
cb6d27aaa0 Have the configure script put llvm.py into the object root.
The QMTest program can then use that as the location for loading test and
resource class, thus compiling the Python code into the object root as
desired.

llvm-svn: 8551
2003-09-16 02:12:45 +00:00
John Criswell
d344d4f53b Removed llvm/tools/as, llvm/tools/dis, and runtime/GCCLibraries/libexception.
llvm-svn: 8546
2003-09-15 20:12:48 +00:00
John Criswell
37932c8b93 Modified the checks slightly so that one can re-configure LLVM without
having to do a "make distclean" when building in the source directory.

llvm-svn: 8540
2003-09-15 17:19:42 +00:00
John Criswell
99ab7d7b41 Added code that verifies that the source directory has not been configured
already.  This should help prevent strange errors from happening, but will
make re-configuring the source directory more difficult when it is shared with
the object directory.

llvm-svn: 8539
2003-09-15 17:04:06 +00:00
John Criswell
fd289a78fe Re-generated for recent changes.
llvm-svn: 8526
2003-09-15 14:25:08 +00:00
Chris Lattner
fdb3c00ac9 manually add the llvm-ar stuff. this should be regenerated
llvm-svn: 8507
2003-09-13 03:29:53 +00:00
John Criswell
3b696a256e Caught a few misses in the last modification.
llvm-svn: 8500
2003-09-12 16:36:17 +00:00
John Criswell
f7cedd4187 Updated for the re-organization of llvm/test/Programs/MultiSource.
llvm-svn: 8499
2003-09-12 16:31:43 +00:00
John Criswell
6ef0328039 Added the SetjmpLongjmp Makefile.
llvm-svn: 8486
2003-09-11 20:53:48 +00:00
John Criswell
fd9221eff3 Fixed SPEC so that it would run correctly with the new autoconf-style object
directory.
Added Makefile.spec to the list of files to copy to the object directory.
Moved the configuration of $SourceDir to Makefile.config and corrected the
conditional that surrounds it.  This allows SPEC to reset it and get the correct
VPATH.

llvm-svn: 8475
2003-09-11 18:03:50 +00:00
John Criswell
71e2dadc44 Updated to reflect the new locations of SingleSource tests.
llvm-svn: 8447
2003-09-10 18:38:44 +00:00
John Criswell
1d78a59be9 Regenerated for Chris's updates, which adds several runtime library
directories.

llvm-svn: 8439
2003-09-10 15:17:25 +00:00
John Criswell
e77dd4d7a8 Removed Makefiles for directories that no longer exist.
llvm-svn: 8423
2003-09-09 20:52:17 +00:00
John Criswell
e21fe62d3c Checkin of autoconf-style object root.
Copies Makefiles into the new object root directory from the source directory.
Removed the --with-objroot option.

llvm-svn: 8384
2003-09-06 15:17:13 +00:00
John Criswell
4869e5833b Added code to check for python and qmtest.
Added code that verifies that GCC is version 3.0 or higher.

llvm-svn: 8141
2003-08-25 16:49:54 +00:00
John Criswell
697dd6e48e Changed the default location of OBJ_ROOT to follow these rules:
1. If USER is defined and localhome/$USER is a directory, set OBJ_ROOT
	   to /localhome/$USER
	2. Otherwise, set OBJ_ROOT to .
This should hopefully fix the nightly tester.

llvm-svn: 7451
2003-07-31 16:45:37 +00:00
John Criswell
b3b18df383 Enable JIT when the platform supports it.
Select /localhome/$USER when it exists.
Fix the checks for bidirectional and forward iterators so that they work with
version of GCC prior to 3.x.

llvm-svn: 7383
2003-07-29 19:11:58 +00:00
John Criswell
8a92405de7 Renamed libtool to mklib for your tab completion pleasure.
llvm-svn: 7255
2003-07-23 16:52:50 +00:00
John Criswell
9d03ea2e11 Repaired the --enable and --disable options.
llvm-svn: 7239
2003-07-22 21:00:24 +00:00
John Criswell
dc0ddfbbb0 Made some corrections to the enable-llc_diffs option.
This should keep it from breaking for now.

llvm-svn: 7236
2003-07-22 20:07:49 +00:00
John Criswell
84b1b5a35a Generated a new configure script.
This script uses files within the new autoconf subdirectory and includes
changes from Brian Gaeke's recent changes to configure.ac.

llvm-svn: 7235
2003-07-22 19:18:09 +00:00
John Criswell
229141e1db Merged in changes from PRE101 in the prerelease branch.
Specifically, this updates libtool to version 1.5 and adds the following:
	- Added the -only-static option that we added in our previous libtool.
	- Modified the autoconf macros so that libtool uses the -G option when
	  linking on Solaris.  This allows libraries with global variables with
	  constructors to automatically run those constructors when the
	  library is dlopened().

llvm-svn: 7171
2003-07-14 16:52:07 +00:00
John Criswell
f7bac57e58 Removed the --enable-profiling option (again).
llvm-svn: 7078
2003-07-02 20:49:38 +00:00
John Criswell
8a5fe65c81 Added the ARCH variable so that some of the Makefiles can perform actions based
upon the target hardware architecture (as opposed to always checking the OS).

llvm-svn: 7050
2003-07-01 22:07:39 +00:00
John Criswell
827a2dff2b Removed the --enable-verbose option.
llvm-svn: 7019
2003-06-30 22:16:39 +00:00
John Criswell
258dfc0319 Merged in autoconf branch. This provides configuration via the autoconf
system.

llvm-svn: 7014
2003-06-30 21:59:07 +00:00