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
John Criswell
47c5459cec
Added the VTune tests.
...
llvm-svn: 11809
2004-02-24 21:43:38 +00:00
Brian Gaeke
090ed13063
Add SUBSTing checks for sys/types.h and inttypes.h; add DataTypes.h to AC_OUTPUT.
...
llvm-svn: 11777
2004-02-23 22:07:01 +00:00
Brian Gaeke
01cc3d876f
Change test for pthreads to use AC_SUBST; add ThreadSupport.h as an AC_OUTPUT.
...
llvm-svn: 11771
2004-02-23 21:30:36 +00:00
Brian Gaeke
d97a1201c2
Remove check for slist
...
llvm-svn: 11769
2004-02-23 21:12:58 +00:00
Brian Gaeke
cc2b8b78bf
Add include/Support/hash_map and include/Support/hash_set as AC_OUTPUT files.
...
llvm-svn: 11763
2004-02-23 18:56:05 +00:00
Brian Gaeke
37205b099b
Move HASH_* checks to using AC_SUBST instead of AC_DEFINE. Tighten up some whitespace and comments.
...
llvm-svn: 11761
2004-02-23 18:56:03 +00:00
Brian Gaeke
29bb0e93af
Add include/Support/iterator as an AC_OUTPUT file.
...
llvm-svn: 11751
2004-02-23 18:16:08 +00:00
Brian Gaeke
d4754adbcf
Make all iterator checks use AC_SUBST instead of AC_DEFINE.
...
llvm-svn: 11750
2004-02-23 18:16:07 +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
efe8a37506
Add checks for <execinfo.h> and backtrace().
...
llvm-svn: 11660
2004-02-20 06:41:59 +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
43fc5c18f6
Added support for configuring SPEC95.
...
llvm-svn: 11295
2004-02-10 22:29:06 +00:00
Brian Gaeke
b921039ee9
Move rules for regenerating autoconf files into this shell script.
...
llvm-svn: 11186
2004-02-08 07:44:48 +00:00
Brian Gaeke
3f58a875f1
Add autoconf check for the version of etags we have detected, and select
...
appropriate "force C++" command-line option.
llvm-svn: 10963
2004-01-22 21:55:15 +00:00
Brian Gaeke
cc3676b0b2
Get the shlib suffix from Libtool, and define it both in config.h and Makefile.config as SHLIBEXT.
...
llvm-svn: 10932
2004-01-21 19:38:56 +00:00
Brian Gaeke
423cecaded
Get paths to cc1 and cc1plus by asking llvm-gcc, and AC_SUBST them.
...
llvm-svn: 10901
2004-01-16 21:31:22 +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
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
cd08e2815f
The configure script now defines BISON as the name of the bison program and
...
YACC as bison -y. In this way, we ensure that bison is being used, but
the Makefiles have macros for using bison itself and for getting bison to
act like it is traditional yacc.
llvm-svn: 10774
2004-01-12 16:14:54 +00:00
John Criswell
7775323801
Moved aclocal.m4 to acinclude.m4. To re-generate the configure script,
...
do the following:
% cd llvm/autoconf
% aclocal
% autoconf -o ../configure
This changes facilitaties the following:
1) It should be easier to incorporate new autoconf macros.
2) It allows for conversion to Automake (should we ever desire it).
llvm-svn: 10655
2003-12-30 17:50:54 +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
6f73d28adf
Don't configure directories that don't have a configure script (i.e Stacker).
...
llvm-svn: 10436
2003-12-12 20:09:33 +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
afa30637ec
Add Stacker directories.
...
llvm-svn: 10190
2003-11-24 02:54:17 +00:00
Brian Gaeke
3ed17192d0
Fix breakage caused by typos. Use 3-arg form of AC_DEFINE.
...
llvm-svn: 10062
2003-11-18 06:19:27 +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
7027ed8cd8
Edit some comments slightly.
...
Set OS (build OS) and ARCH (target arch) based on the proper elements (SYSTEM,
and CPU, respectively) of the CPU-COMPANY-SYSTEM tuples.
Add OS and ARCH settings for PowerPC/Darwin (Mac OS X).
llvm-svn: 10047
2003-11-17 00:30:48 +00:00
Brian Gaeke
dfbd3d466a
Only default to the llvm-gcc in ~lattner if that directory exists.
...
Only warn if python version is not right; don't abort.
Add sanity checks for --with-llvmgccdir, with a big warning message at the end.
llvm-svn: 10024
2003-11-16 18:37:46 +00:00
Misha Brukman
77a8be8016
OK, scratch my last post, this actually *does* work, those syntax errors were
...
imaginary.
llvm-svn: 9941
2003-11-12 22:16:23 +00:00
Misha Brukman
902cd7689c
Apparently adding these entries and regenerating llvm/configure results in
...
syntax errors. Reverting the patch until I can figure out what's going on.
llvm-svn: 9939
2003-11-12 21:51:44 +00:00
Misha Brukman
3a9abb84c1
Some programs actually require an input to run. The nerve!
...
llvm-svn: 9938
2003-11-12 21:45:04 +00:00
Misha Brukman
dc6863ad64
Add FreeBench benchmarks to our test suite -- they weren't available by default
...
before when one didn't build in his source root.
llvm-svn: 9924
2003-11-12 19:39:10 +00:00
Brian Gaeke
81545ad1f5
I don't think this was supposed to have gotten into the namespaceify patch, but
...
it did. Oops!
llvm-svn: 9908
2003-11-12 01:11:54 +00:00
Brian Gaeke
960707c335
Put all LLVM code into the llvm namespace, as per bug 109.
...
llvm-svn: 9903
2003-11-11 22:41:34 +00:00
Brian Gaeke
b621857f01
Patch to fix PR102, contributed by Reid Spencer.
...
llvm-svn: 9849
2003-11-10 03:06:09 +00:00
Chris Lattner
cccd090942
Add profiling runtime and llvm-prof tools. Would someone please regen the
...
configure script for me? :)
llvm-svn: 9553
2003-10-28 19:17:11 +00:00
Brian Gaeke
663fba3997
Do not check for strings.h. This is an old, old, old pre-C89 header that
...
absolutely nothing should be using (and it looks like nothing IS using it).
llvm-svn: 9381
2003-10-22 17:52:56 +00:00
Misha Brukman
8b6823883f
Added an entry for `llvm-nm'.
...
llvm-svn: 9154
2003-10-16 16:12:04 +00:00
John Criswell
a4d32ad1d2
Added autoconf support for the sample project.
...
llvm-svn: 9152
2003-10-16 01:49:07 +00:00
John Criswell
49a9b67858
Adding additional license information to these files.
...
llvm-svn: 9102
2003-10-13 20:34:27 +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
Brian Gaeke
db363a0d12
The code that called strsignal is toast.
...
llvm-svn: 9015
2003-10-10 17:04:43 +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
Brian Gaeke
bb5bf31e53
test/Programs/NoSource and www are gone from the tree; don't try to configure
...
their Makefiles.
llvm-svn: 8975
2003-10-08 21:48:26 +00:00
Brian Gaeke
ce76fe8022
Use 3-arg form of AC_DEFINE.
...
llvm-svn: 8974
2003-10-08 21:45:58 +00:00
Brian Gaeke
d7a702d40d
Use 3-arg form of AC_DEFINE.
...
Check for strsignal(), which isn't found everywhere, and sys_siglist,
which can be used to implement it.
llvm-svn: 8973
2003-10-08 21:44:07 +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
Brian Gaeke
bdf295cb6e
Fix bugs in mmap()-of-files test program on Mac OS X:
...
1) MAP_FAILED is declared to be a pointer
2) can't include sys/mman.h before sys/types.h without getting an error :-(
llvm-svn: 8947
2003-10-07 21:33:27 +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
25f2a37f87
Don't abort if dlopen cannot be found; it's not like it's going to break
...
everything.
llvm-svn: 8916
2003-10-07 05:03:36 +00:00
Brian Gaeke
133bb529d3
Check for functions: strtoq, strtoll.
...
llvm-svn: 8915
2003-10-07 03:56:29 +00:00
Chris Lattner
672edbc995
Changes for the move of the support directory back into utils
...
llvm-svn: 8885
2003-10-06 02:09:25 +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
Misha Brukman
145e176d2f
`link' is now `llvm-link'. Also alphabetized the tools for easy reference.
...
llvm-svn: 8557
2003-09-16 15:22:55 +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
Chris Lattner
4777f035eb
Configure the llvm-ar directory
...
llvm-svn: 8504
2003-09-13 02:35:56 +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
7e0a65db53
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.
llvm-svn: 8476
2003-09-11 18:04:00 +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
Chris Lattner
ce165f0c86
Add missing runtime directories
...
llvm-svn: 8438
2003-09-10 15:13:21 +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
2970d520a1
Checkin of autoconf-style object root.
...
Added the AC_CONFIG_MAKEFILE macro to configure akefiles which don't need .in
templates.
Removed the --with-objroot option.
Added commands to configure.ac to configure all of the LLVM Makefiles. Oof.
llvm-svn: 8378
2003-09-06 14:46:19 +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
Chris Lattner
0064550636
I just moved papi to a new directory
...
llvm-svn: 7846
2003-08-14 18:59:53 +00:00
John Criswell
02b513c78c
Removed the -only-static option as it is no longer required (and didn't work
...
with the newer version of libtool anyway).
llvm-svn: 7459
2003-07-31 20:59:32 +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
5ec24d8733
Fixed the enable/disable options. The AC_ARG_ENABLE macro does not perform
...
the *action-if-not-given* code when the --disable option is used.
Rather, the AC_ARG_ENABLE macro sets the $enableval variable, which then needs
to be checked to determine if --enable, --disable, or neither was specified.
llvm-svn: 7238
2003-07-22 20:59:52 +00:00
John Criswell
7a3334d518
These are the autoconf files in their new home.
...
llvm-svn: 7233
2003-07-22 19:13:20 +00:00