Commit Graph

106 Commits

Author SHA1 Message Date
Brian Gaeke
bde04ebba3 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
1d0fe5571f 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
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
80f287724f Add AIX to the list of recognized operating systems.
llvm-svn: 14319
2004-06-22 15:32:08 +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
66f747098a 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
6e00f5b3dc 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
4d774ffc6d Rewrite POV-Ray check as per PR301
llvm-svn: 12914
2004-04-13 19:02:51 +00:00
Brian Gaeke
49d8340cb8 check for isatty function
llvm-svn: 12635
2004-04-02 21:06:44 +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
af42cbf42f 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
8bf1c4c026 small portability fix.
llvm-svn: 11814
2004-02-24 22:58:31 +00:00
John Criswell
0158db84e0 Added the VTune tests.
llvm-svn: 11809
2004-02-24 21:43:38 +00:00
Brian Gaeke
bee6716069 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
a6f54c5933 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
3918efe30b Remove check for slist
llvm-svn: 11769
2004-02-23 21:12:58 +00:00
Brian Gaeke
df2b904403 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
dc1f8bbbb1 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
3d8b2af8a7 Add include/Support/iterator as an AC_OUTPUT file.
llvm-svn: 11751
2004-02-23 18:16:08 +00:00
Brian Gaeke
6385dd7b00 Make all iterator checks use AC_SUBST instead of AC_DEFINE.
llvm-svn: 11750
2004-02-23 18:16:07 +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
16a18d203e Add checks for <execinfo.h> and backtrace().
llvm-svn: 11660
2004-02-20 06:41:59 +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
bb53985f14 Added support for configuring SPEC95.
llvm-svn: 11295
2004-02-10 22:29:06 +00:00
Brian Gaeke
ac67b5f439 Move rules for regenerating autoconf files into this shell script.
llvm-svn: 11186
2004-02-08 07:44:48 +00:00
Brian Gaeke
a034c6e129 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
87ef646f73 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
deffc81af0 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
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
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
e6439708ea 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
848114f89b 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
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
5c3d9dc749 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
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
abf9671ce8 Add Stacker directories.
llvm-svn: 10190
2003-11-24 02:54:17 +00:00
Brian Gaeke
233a71f1a9 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
76cc76b529 Added a check for the -R linker option.
llvm-svn: 10056
2003-11-17 19:46:02 +00:00
Brian Gaeke
b439de997b 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
736942d3b2 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
f7ad9bb6c5 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
75d39570c7 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