1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-24 13:33:37 +02:00
Commit Graph

149 Commits

Author SHA1 Message Date
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
c8ea59b3c7 Change the warning text so that NO warnings are permitted. This is now the
case since the AC_CONFIG_SUBDIRS problem has been fixed.

llvm-svn: 16464
2004-09-21 17:13:23 +00:00
Reid Spencer
5c162ec83c Don't attempt to (illegally) configure a subdir if we don't recognize it.
Instead just create a warning message that says the directory cannot be
configured because it isn't recognized. This also gets rid of a bunch of
warning messages from the auto* tools.

llvm-svn: 16463
2004-09-21 17:12:35 +00:00
Reid Spencer
c90eff97f7 Fix the program passed to AC_LANG_PROGRAM to be only the BODY of the main
function, not the whole main function. This problem resulted during
conversion of scripts to the new autoconf standard. The effect was that
the mmap_file test would fail and if it does there is currently an
#ifdef'd #error that causes compilation to fail. Bad, bad, bad.

llvm-svn: 16462
2004-09-21 17:10:52 +00:00
Alkis Evlogimenos
09eb7928db Use the right directory for the Java frontend
llvm-svn: 16448
2004-09-20 15:45:36 +00:00
Reid Spencer
5fd27c9428 Correct the use AC_RUN_IFELSE to ensure it builds programs correctly by
using the AC_LANG_PROGRAM macro.

llvm-svn: 16426
2004-09-20 04:08:22 +00:00
Reid Spencer
cdfc10207e The problem with depending on the internal implementation of third party
tools is that you break when they change. This is a case in point.

llvm-svn: 16424
2004-09-20 03:05:46 +00:00
Reid Spencer
d16796d37b Update the script to generate mklib instead of libtool.
llvm-svn: 16421
2004-09-20 01:41:24 +00:00
Reid Spencer
94bae39edc Various minor cleanups and replacement of obsoleted macro names.
llvm-svn: 16419
2004-09-19 23:43:52 +00:00
Reid Spencer
dd0df28d37 Numerous fixes to convert ~ into ; that (probably) occurred during data
transmission.

llvm-svn: 16418
2004-09-19 23:42:55 +00:00
Reid Spencer
1b4e38a275 Bring the script out of the dark ages and into modern autoconfness.
llvm-svn: 16415
2004-09-19 22:31:49 +00:00
Reid Spencer
4ae326c323 Make the "Warning" notice a LOT more prominent.
llvm-svn: 16414
2004-09-19 22:30:53 +00:00
Reid Spencer
6f04a51925 Add in version dependency checks on all the tools we depend on. This is
necessary to ensure that a consistent configuration is created on each
platform. Certain definitions we use (like m4/libtool.m4) require certain
versions of the tools and we can no longer be slack about this or we'll
have problems with mis-configured builds.

llvm-svn: 16412
2004-09-19 22:14:24 +00:00
Reid Spencer
8d7bab5e63 Add our own version of libtool.m4 instead of relying on the installed one.
This is a potential version mismatch problem because this file came from
libtool 1.5.10. If you're running a different version of libtool, the
checks in this file may not be quite right. Having our own version of this
file violates the spirit of libtool and is only provided to change the name
of "libtool" to "mklib". This is done so that the name "libtool" does not
conflict with the "lib" directory when doing tab completion and your
$objdir == $srcdir.

llvm-svn: 16411
2004-09-19 21:47:47 +00:00
Brian Gaeke
d859599e04 Update to latest versions of config.guess and config.sub from
http://savannah.gnu.org/projects/config

llvm-svn: 16268
2004-09-10 19:20:06 +00:00
Brian Gaeke
3b2cd46802 recognize MinGW
llvm-svn: 16254
2004-09-08 20:32:11 +00:00
Brian Gaeke
7ca8e3d80e PAPI check has been moved to projects/reopt.
llvm-svn: 16237
2004-09-07 17:35:16 +00:00
Reid Spencer
a7519536f5 Removed this file as its contents are now in the m4 directory.
llvm-svn: 16234
2004-09-07 16:50:22 +00:00
Reid Spencer
a15aa624a5 - Handle AC_CONFIG_SUBDIRS properly for existing "well known" projects
while still retaining the ability to configure unknown ones.
- Excise crud left over from when test/Projects was still part of the main
  LLVM module. These removed tests are now all in
  llvm-test/autoconf/configure.ac

llvm-svn: 16230
2004-09-07 16:26:18 +00:00
Reid Spencer
bf0ee956dc - Perform all validity checks before doing anything.
- Use the -I parameter to aclocal to tell it where the autoconf/m4
  directory is located so it can find needed autoconf functions

llvm-svn: 16225
2004-09-07 16:00:48 +00:00
Reid Spencer
5b79dff868 move AC_FUNC_ISINF and AC_FUNC_ISNAN to their own files.
llvm-svn: 16224
2004-09-07 14:23:53 +00:00
Reid Spencer
f19a222b69 Individual autoconf function broken out of acincludes.m4. This change
per the recommended style guide for autoconf and so that individual
autoconf functions can more easily be shared across projects.

llvm-svn: 16223
2004-09-07 06:56:14 +00:00
Reid Spencer
2a1f79ec76 Remove configuration of test/Programs/* Makefiles.
llvm-svn: 16186
2004-09-05 17:48:32 +00:00
Reid Spencer
4295e81138 Don't just assume that either uint64_t or u_int64_t is available. Instead,
give preference to uint64_t if it exists. If not, check for u_int64_t. If
that doesn't exist either, then error out.

llvm-svn: 16149
2004-09-02 21:38:24 +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
52fa73cde2 Create a link from $BUILD_OBJ_ROOT/lib/System/platform to
$BUILD_SRC_ROOT/lib/System/$build which gives us the ability to
configure the lib/System for the current type of operating system.
Also cleaned up some indentation.

llvm-svn: 16082
2004-08-29 19:18:05 +00:00
Reid Spencer
06b526f91b Ensure that the examples get built.
llvm-svn: 16027
2004-08-24 16:31:01 +00:00
Reid Spencer
850e32dfe7 Actually name the #define correctly.
llvm-svn: 15945
2004-08-20 09:08:57 +00:00
Reid Spencer
255ea3eccb 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
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
d907fb65db 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
853c525672 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
07582185fc Add call to check for isinf().
Patch contributed by Bill Wendling.

llvm-svn: 15053
2004-07-21 03:14:51 +00:00
Brian Gaeke
b29aef7a08 Add support for checking for isinf().
Patch contributed by Bill Wendling.

llvm-svn: 15052
2004-07-21 03:14:39 +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
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