Commit Graph

268 Commits

Author SHA1 Message Date
Brian Gaeke
2f50a045fc Regenerated using autoconf-2.57.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10900 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-16 21:31:21 +00:00
Brian Gaeke
f69d76fd3b Remove configure support for endianness checking, the need for which
Chris has helpfully expunged.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10873 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-15 06:22:37 +00:00
Brian Gaeke
1281063da2 Whoopsie. I should remember to use aclocal next time.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10815 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-13 06:52:10 +00:00
Brian Gaeke
26be9c5350 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. :-)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10814 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-13 06:43:16 +00:00
John Criswell
12e9b4f1e5 Modified the configure script so that it defines BISON as the bison
binary and YACC as bison -y.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10776 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-12 16:18:21 +00:00
John Criswell
35fce0bc5a Updated from files in llvm/autoconf. This was done immediently following
the renaming of aclocal.m4 to acinclude.m4.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10656 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-30 17:55:05 +00:00
Alkis Evlogimenos
3e58e48d20 Fix help string for --enable-spec2000 option
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10564 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-20 21:35:15 +00:00
John Criswell
d000e1dc2f Merged in RELEASE_11.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10516 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-18 16:43:17 +00:00
John Criswell
2f2741bfa8 Updated configure script so that it does not configure llvm/project
directories that do not contain a configure script.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10437 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-12 20:15:23 +00:00
Brian Gaeke
5f268f7760 Add check for pthread_mutex_lock() in -lpthread (or otherwise).
Regenerated configure w/ autoconf-2.57.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10293 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-05 19:29:01 +00:00
John Criswell
33a911a5c6 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10222 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-25 20:36:46 +00:00
John Criswell
6057760793 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10209 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-25 17:49:22 +00:00
Brian Gaeke
866f10c493 Regenerated using autoconf-2.57
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10191 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-24 02:54:57 +00:00
Brian Gaeke
f91a15cf0d Regenerated using autoconf-2.57
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10063 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-18 06:20:41 +00:00
John Criswell
cb7a1eba45 Added a check for the -R linker option.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10056 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-17 19:46:02 +00:00
Brian Gaeke
7fe1d1607e Regenerated using autoconf-2.57.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10048 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-17 00:31:43 +00:00
Brian Gaeke
f3b2410bc4 Regenerated with autoconf-2.57.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10025 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-16 18:38:14 +00:00
Misha Brukman
811ce9f4ca Regenerated `configure' for adding Makefiles and test.in to FreeBench
benchmarks.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9942 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-12 22:16:51 +00:00
Brian Gaeke
9058349aa4 Regenerated.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9850 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-10 03:06:28 +00:00
John Criswell
759c3ed4d6 Generated autoconf script for Chris.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9554 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-28 19:21:11 +00:00
John Criswell
e8a63eb78f Updated configure script.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9438 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 19:16:12 +00:00
Alkis Evlogimenos
e7d4022f36 Someone forgot to commit an updated configure after adding tools/llvm-nm to configure.ac :-)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9189 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-17 00:50:38 +00:00
John Criswell
7ec78aa645 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9151 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-16 01:49:00 +00:00
John Criswell
a0137d3d82 Added a macro and code that checks for the %a format string in sprintf().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9089 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-13 16:22:01 +00:00
John Criswell
987e49c6d0 Added the eon and perlbmk benchmarks.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8995 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-10 01:11:54 +00:00
John Criswell
5ab73460f5 Added 177.mesa to the list of Makefiles to propogate to the object root.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8981 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-09 15:44:28 +00:00
John Criswell
5512659f36 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8949 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 21:57:39 +00:00
John Criswell
f424d7481e 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8945 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 21:13:47 +00:00
Brian Gaeke
c45be043e3 regenerated using autoconf-2.57.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8917 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 06:01:34 +00:00
Chris Lattner
9bf6239a1f Hand update the configure script for moved directories
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8886 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-06 02:13:00 +00:00
John Criswell
ce2141f3de Removed the check for purify as we don't support its use at present.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8824 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-02 19:02:30 +00:00
John Criswell
7822759482 Removed Makefile for CompileFail tests. They are now run by QMTest and are
located under llvm/test/Regression/C++Frontend.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8791 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-30 19:41:15 +00:00
John Criswell
559a6c136d Added conditional configuration of poolalloc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8765 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-30 16:31:48 +00:00
John Criswell
12399a13c8 Added the ability to conditionally configure the reopt project if it is checked
out under projects/reopt.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8762 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-30 15:55:44 +00:00
John Criswell
f5b55656c0 Removed the utils/Makefile file from being copied to the object root tree.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8759 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-30 13:52:11 +00:00
John Criswell
c66bbd565b Added Makefiles to llvm/test/Programs/SingleSource/Regression/C++/EH and
llvm/test/Programs/SingleSource/Regression/C++/CompileFail.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8746 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-29 21:35:32 +00:00
John Criswell
4e0797835f Moved llvm/lib/Support to llvm/support/lib/Support.
Moved llvm/utils/Burg and llvm/utils/TableGen to llvm/support/tools.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8733 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-29 14:52:28 +00:00
John Criswell
68886d44b1 Moved llvm/test/Programs/SingleSource/Regression around a bit to support
multiple languages.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8727 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-26 19:51:42 +00:00
John Criswell
67181ca7f6 Added llvm/test/Programs/SingleSource/Regression/Makefile.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8721 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-26 14:53:17 +00:00
John Criswell
61095987cc 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8691 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-23 20:46:32 +00:00
John Criswell
39827c866d Added code that stops the configure script if a needed program is not found.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8680 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-23 15:28:52 +00:00
John Criswell
ddb7b4ed73 Regenerated configure with Misha's changes.
Now link is llvm-link and things are alphabetized.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8565 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-16 15:54:19 +00:00
John Criswell
08acb9b87f 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8551 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-16 02:12:45 +00:00
John Criswell
1070840eda Removed llvm/tools/as, llvm/tools/dis, and runtime/GCCLibraries/libexception.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8546 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-15 20:12:48 +00:00
John Criswell
1b82432a83 Modified the checks slightly so that one can re-configure LLVM without
having to do a "make distclean" when building in the source directory.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8540 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-15 17:19:42 +00:00
John Criswell
93e1c72ec0 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8539 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-15 17:04:06 +00:00
John Criswell
3b19552e64 Re-generated for recent changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8526 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-15 14:25:08 +00:00
Chris Lattner
ebd703096b manually add the llvm-ar stuff. this should be regenerated
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8507 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-13 03:29:53 +00:00
John Criswell
39e8389ba8 Caught a few misses in the last modification.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8500 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-12 16:36:17 +00:00
John Criswell
48e3cb940a Updated for the re-organization of llvm/test/Programs/MultiSource.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8499 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-12 16:31:43 +00:00
John Criswell
0afe825983 Added the SetjmpLongjmp Makefile.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8486 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-11 20:53:48 +00:00
John Criswell
613758d55d 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8475 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-11 18:03:50 +00:00
John Criswell
ffaaf3b8db Updated to reflect the new locations of SingleSource tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8447 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-10 18:38:44 +00:00
John Criswell
0c38eaf695 Regenerated for Chris's updates, which adds several runtime library
directories.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8439 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-10 15:17:25 +00:00
John Criswell
d9cd14440d Removed Makefiles for directories that no longer exist.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8423 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-09 20:52:17 +00:00
John Criswell
c764fbc788 Checkin of autoconf-style object root.
Copies Makefiles into the new object root directory from the source directory.
Removed the --with-objroot option.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8384 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-06 15:17:13 +00:00
John Criswell
de00db210c Added code to check for python and qmtest.
Added code that verifies that GCC is version 3.0 or higher.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8141 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-25 16:49:54 +00:00
John Criswell
54ac8b11a1 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7451 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-31 16:45:37 +00:00
John Criswell
c78022ed07 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7383 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-29 19:11:58 +00:00
John Criswell
8d4221eeaa Renamed libtool to mklib for your tab completion pleasure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7255 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-23 16:52:50 +00:00
John Criswell
b13092b053 Repaired the --enable and --disable options.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7239 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-22 21:00:24 +00:00
John Criswell
f02dbf0f22 Made some corrections to the enable-llc_diffs option.
This should keep it from breaking for now.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7236 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-22 20:07:49 +00:00
John Criswell
392aaa3be8 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7235 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-22 19:18:09 +00:00
John Criswell
47fdd83b16 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().


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7171 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-14 16:52:07 +00:00
John Criswell
badcc9a404 Removed the --enable-profiling option (again).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7078 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-02 20:49:38 +00:00
John Criswell
7659545cee 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).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7050 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-01 22:07:39 +00:00
John Criswell
90ee0adfd7 Removed the --enable-verbose option.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7019 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-30 22:16:39 +00:00
John Criswell
7a73b80b90 Merged in autoconf branch. This provides configuration via the autoconf
system.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7014 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-30 21:59:07 +00:00