Commit Graph

606 Commits

Author SHA1 Message Date
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 efc94f5e72 Updated to create a link needed for correct lib/System compilation.
llvm-svn: 16096
2004-08-29 19:35:28 +00:00
Reid Spencer b1a014f786 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 288adf1a3f Changes resulting from change in autoconf/configure.in (rename a #define)
llvm-svn: 15946
2004-08-20 09:10:31 +00:00
Reid Spencer 4d5c2a98d3 Update after change to autoconf/configure.ac
llvm-svn: 15943
2004-08-20 09:03:57 +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 cd4ae3a3fd Regenerated using autoconf-2.57.
llvm-svn: 15061
2004-07-21 03:50:25 +00:00
Brian Gaeke a87044523f Regenerated with autoconf/autoheader 2.57
llvm-svn: 15059
2004-07-21 03:33:58 +00:00
Brian Gaeke 2698a6cb8e Regenerated with autoconf-2.57.
Patch contributed by Bill Wendling.

llvm-svn: 15051
2004-07-21 03:14:12 +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 c77683ce1a Regenerated.
llvm-svn: 14336
2004-06-22 23:47:13 +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 c403338007 Regenerated with autoconf-2.57 for AIX detection support.
llvm-svn: 14320
2004-06-22 15:35:32 +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 efe9105979 Regenerated using autoconf-2.57.
llvm-svn: 12995
2004-04-16 17:13:44 +00:00
Chris Lattner 6d06918ef0 Regenerated
llvm-svn: 12946
2004-04-14 16:32:09 +00:00
Brian Gaeke 9a79ed7b89 Regenerated using autoconf-2.57.
llvm-svn: 12915
2004-04-13 19:03:49 +00:00
Brian Gaeke 8bdbb3d7eb Regenerated using autoconf-2.57.
llvm-svn: 12636
2004-04-02 21:26:02 +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 2cf83d3401 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 47c5459cec Added the VTune tests.
llvm-svn: 11809
2004-02-24 21:43:38 +00:00
Brian Gaeke 4eea32f37a Regenerated with autoconf-2.57.
llvm-svn: 11776
2004-02-23 22:07:00 +00:00
Brian Gaeke d3de6c0d30 Regenerated with autoconf-2.57.
llvm-svn: 11772
2004-02-23 21:30:37 +00:00
Brian Gaeke 8588355552 Regenerated using autoconf-2.57.
llvm-svn: 11760
2004-02-23 18:56:02 +00:00
Brian Gaeke 10e9315126 Regenerated with autoconf-2.57.
llvm-svn: 11749
2004-02-23 18:16:06 +00:00
John Criswell acbd6572fd 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 6afc698fe9 Regenerated using autoconf-2.57.
llvm-svn: 11656
2004-02-20 06:40:57 +00:00
John Criswell 62c832c68c 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 3b4195f344 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 0606da9572 Updated to handle the new SPEC95 configuration options.
llvm-svn: 11298
2004-02-10 22:36:35 +00:00
Brian Gaeke 740515afa2 Regenerated using autoconf-2.57.
llvm-svn: 10962
2004-01-22 21:55:02 +00:00
Brian Gaeke a2404521d5 Regenerated using autoconf-2.57 and autoheader-2.57.
llvm-svn: 10934
2004-01-21 19:39:29 +00:00
Brian Gaeke 6073c44a7f Regenerated using autoconf-2.57.
llvm-svn: 10900
2004-01-16 21:31:21 +00:00
Brian Gaeke 456f9a502b 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 07e46214d0 Whoopsie. I should remember to use aclocal next time.
llvm-svn: 10815
2004-01-13 06:52:10 +00:00
Brian Gaeke 2abe7ae3b6 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 42967349be 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 ceea5ad8c8 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 2406ca8d71 Fix help string for --enable-spec2000 option
llvm-svn: 10564
2003-12-20 21:35:15 +00:00
John Criswell 86a3a48697 Merged in RELEASE_11.
llvm-svn: 10516
2003-12-18 16:43:17 +00:00
John Criswell 8cc89ca6bc 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 7ee7b40af5 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 297baed1ec 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 e8eab29899 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 cd52465b70 Regenerated using autoconf-2.57
llvm-svn: 10191
2003-11-24 02:54:57 +00:00
Brian Gaeke 3f6b856c7d Regenerated using autoconf-2.57
llvm-svn: 10063
2003-11-18 06:20:41 +00:00
John Criswell 6ee0ed5745 Added a check for the -R linker option.
llvm-svn: 10056
2003-11-17 19:46:02 +00:00
Brian Gaeke 3589140eb7 Regenerated using autoconf-2.57.
llvm-svn: 10048
2003-11-17 00:31:43 +00:00
Brian Gaeke 27b10bc781 Regenerated with autoconf-2.57.
llvm-svn: 10025
2003-11-16 18:38:14 +00:00
Misha Brukman bca83f4a47 Regenerated `configure' for adding Makefiles and test.in to FreeBench
benchmarks.

llvm-svn: 9942
2003-11-12 22:16:51 +00:00
Brian Gaeke 59c321782f Regenerated.
llvm-svn: 9850
2003-11-10 03:06:28 +00:00
John Criswell c3ee97dc76 Generated autoconf script for Chris.
llvm-svn: 9554
2003-10-28 19:21:11 +00:00
John Criswell dae507c903 Updated configure script.
llvm-svn: 9438
2003-10-23 19:16:12 +00:00
Alkis Evlogimenos 6e8a4b7c6a 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 fa322d1f92 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 42859559f2 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 fc3d20d142 Added the eon and perlbmk benchmarks.
llvm-svn: 8995
2003-10-10 01:11:54 +00:00
John Criswell e3a9bd8531 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 abd3f80121 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 e078b436f1 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 16448fce42 regenerated using autoconf-2.57.
llvm-svn: 8917
2003-10-07 06:01:34 +00:00
Chris Lattner 13c2c689a1 Hand update the configure script for moved directories
llvm-svn: 8886
2003-10-06 02:13:00 +00:00
John Criswell 50e150757f 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 48a334a76e 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 ee7ebdc6b2 Added conditional configuration of poolalloc.
llvm-svn: 8765
2003-09-30 16:31:48 +00:00
John Criswell 2b3771ee46 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 a327eae898 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 6780a6e3f2 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 b438fd7a7a 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 f7dc0f4a66 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 4c157a41cc Added llvm/test/Programs/SingleSource/Regression/Makefile.
llvm-svn: 8721
2003-09-26 14:53:17 +00:00
John Criswell 8d5d13d69c 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 3149448caa 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 c513f695a4 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 e84478afd9 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 609e61b389 Removed llvm/tools/as, llvm/tools/dis, and runtime/GCCLibraries/libexception.
llvm-svn: 8546
2003-09-15 20:12:48 +00:00
John Criswell f6778b68c2 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 22107a75d6 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 697c409660 Re-generated for recent changes.
llvm-svn: 8526
2003-09-15 14:25:08 +00:00
Chris Lattner c0f9858706 manually add the llvm-ar stuff. this should be regenerated
llvm-svn: 8507
2003-09-13 03:29:53 +00:00
John Criswell 3487a86ece Caught a few misses in the last modification.
llvm-svn: 8500
2003-09-12 16:36:17 +00:00
John Criswell 1868b4e330 Updated for the re-organization of llvm/test/Programs/MultiSource.
llvm-svn: 8499
2003-09-12 16:31:43 +00:00
John Criswell 3c172b4331 Added the SetjmpLongjmp Makefile.
llvm-svn: 8486
2003-09-11 20:53:48 +00:00
John Criswell 1e8c7b7ed1 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 6f7d8a2c0a Updated to reflect the new locations of SingleSource tests.
llvm-svn: 8447
2003-09-10 18:38:44 +00:00
John Criswell 3eaf0b4e4c Regenerated for Chris's updates, which adds several runtime library
directories.

llvm-svn: 8439
2003-09-10 15:17:25 +00:00
John Criswell 9f60a1326c Removed Makefiles for directories that no longer exist.
llvm-svn: 8423
2003-09-09 20:52:17 +00:00
John Criswell 3bac9bcaa8 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 6a47a970c1 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 7e54f8f3bf 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 4f37692a80 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 8d3a83cef7 Renamed libtool to mklib for your tab completion pleasure.
llvm-svn: 7255
2003-07-23 16:52:50 +00:00
John Criswell b65ddad4f4 Repaired the --enable and --disable options.
llvm-svn: 7239
2003-07-22 21:00:24 +00:00
John Criswell cc0e805844 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 c933eeb12b 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 ae648fa032 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 61471078af Removed the --enable-profiling option (again).
llvm-svn: 7078
2003-07-02 20:49:38 +00:00
John Criswell 29eafac9ff 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 61efc69ce3 Removed the --enable-verbose option.
llvm-svn: 7019
2003-06-30 22:16:39 +00:00
John Criswell 3ef61afb76 Merged in autoconf branch. This provides configuration via the autoconf
system.

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