aboutsummaryrefslogtreecommitdiffstats
path: root/autoconf
Commit message (Collapse)AuthorAgeFilesLines
* For PR619:Reid Spencer2005-08-241-0/+4
| | | | | | | | | | | | | Make any header files that are automatically generated be preconditions of the compilation. This ensures that if a *.h.in file is changed then its corresponding *.h file gets updated on the next rebuild. Note that this can lead to confusing (but correct) results if the *.h.in file changed unsubstantially so that autoheader doesn't update the *.h file. In that case, manually touch the *.h file in question to restore order. Moral of the story, if you're going to "touch" a *.in file then modify it substantially. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23006 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR616:Reid Spencer2005-08-241-6/+22
| | | | | | | | | | | These patches make threading optional in LLVM. The configuration scripts are now modified to accept a --disable-threads switch. If this is used, the Mutex class will be implemented with all functions as no-op. Furthermore, linking against libpthread will not be done. Finally, the ParallelJIT example needs libpthread so its makefile was changed to always add -lpthread to the link line. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23003 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix PR608:Reid Spencer2005-07-271-1/+1
| | | | | | | | Previously the script assumed the version number was the last field, now it assumes it is the first sequence of digits. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22527 91177308-0d34-0410-b5e6-96231b3b80d8
* Get rid of bash specific syntax for variable dereferencing, replacing itReid Spencer2005-07-251-22/+22
| | | | | | | with the more crufty (but more widely available) "eval" command. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22509 91177308-0d34-0410-b5e6-96231b3b80d8
* Alpha has JITAndrew Lenharth2005-07-221-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22501 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a parameter to the FIND_STD_PROGRAM macro that allows an alternate nameReid Spencer2005-07-171-7/+13
| | | | | | | | | for the command line options. This helps with situations where the executable name sought is too generic and a more meaningful name needs to be used for the command line options. It also helps satisfy picky project leaders. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22461 91177308-0d34-0410-b5e6-96231b3b80d8
* Add two new checks for use in LLVM configuration files:Reid Spencer2005-07-172-0/+134
| | | | | | | | | | | | | | | | * FIND_STD_PROGRAM will find a program in the path or using --with options and verify that the path/bin/program is executable. Also allows checking for include files and libraries. If found, USE_PROGRAM is set, otherwise its not set. Also sets PROGRAM_BIN (bin directory), and PROGRAM_DIR (top level directory). If headers are found, sets PROGRAM_INC. If libraries are found, sets PROGRAM_LIB. * CHECK_PROGRAM_SANITY can be used to run a program with some option that only produces information output and requires no input. If the output matches a regular expression, the program passes the sanity check. Otherwise, an error occurs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22458 91177308-0d34-0410-b5e6-96231b3b80d8
* * Correct the AC_DEFINE for LLVM_PATH_GRAPHVIZ to use AC_DEFINE_UNQUOTED soReid Spencer2005-07-141-1/+7
| | | | | | | | we actually get the path and not $GRAPHVIZ as the value. * Add a #define for the gv program (HAVE_GV) and its value LLVM_PATH_GV. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22433 91177308-0d34-0410-b5e6-96231b3b80d8
* Put the path to the Graphviz program in the #defines so it can be used.Reid Spencer2005-07-141-2/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22430 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement a test for the Graphviz program for Chris Lattner. The symbolReid Spencer2005-07-131-0/+4
| | | | | | | | GRAPHVIZ will contain the path to the program if its found (or "echo Graphviz" if not) and the #define HAVE_GRAPHVIZ will be defined if its found. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22424 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR540:Reid Spencer2005-07-121-3/+1
| | | | | | | | | | | | | | | | | | | | | | | This patch completes the changes for making lli thread-safe. Here's the list of changes: * The Support/ThreadSupport* files were removed and replaced with the MutexGuard.h file since all ThreadSupport* declared was a Mutex Guard. The implementation of MutexGuard.h is now based on sys::Mutex which hides its implementation and makes it unnecessary to have the -NoSupport.h and -PThreads.h versions of ThreadSupport. * All places in ExecutionEngine that previously referred to "Mutex" now refer to sys::Mutex * All places in ExecutionEngine that previously referred to "MutexLocker" now refer to MutexGuard (this is frivolous but I believe the technically correct name for such a class is "Guard" not a "Locker"). These changes passed all of llvm-test. All we need now are some test cases that actually use multiple threads. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22404 91177308-0d34-0410-b5e6-96231b3b80d8
* In support of PR418:Reid Spencer2005-07-121-1/+4
| | | | | | | | | | Make sure that -lpthread gets added to LIBS variable which puts it at the end of the tools' link commands, if libpthread.a is found. Add a test for pthread.h so we can use #ifdef HAVE_PTHREAD_H git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22401 91177308-0d34-0410-b5e6-96231b3b80d8
* We also have V8, so do not force every Sparc to be treated like a V9. It isMisha Brukman2005-06-061-8/+0
| | | | | | | | still possible to force V9 (even if configure doesn't think it's one) via ``./configure --target=sparcv9-sun-solaris2.8'' so nothing is lost. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22198 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix the definitions of LLVMGCC and LLVMGXX to include the EXEEXT (theReid Spencer2005-06-021-4/+6
| | | | | | | | .exe extension) on Cygwin. This fixes the last few remaining Cygwin issues. Thanks to Aaron Gray for tracking this down. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22191 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR514: Do not configure removed filesReid Spencer2005-05-191-3/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22139 91177308-0d34-0410-b5e6-96231b3b80d8
* Updated version to LLVM 1.6 CVS.John Criswell2005-05-181-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22122 91177308-0d34-0410-b5e6-96231b3b80d8
* Merged in release_15.John Criswell2005-05-181-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22120 91177308-0d34-0410-b5e6-96231b3b80d8
* detect HP-UX when configuringDuraid Madina2005-05-161-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22077 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove the check for the ffsll function. Its no longer needed by theReid Spencer2005-05-151-1/+1
| | | | | | | simplify-libcalls pass (pass now computes it without a call to ffsll). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22074 91177308-0d34-0410-b5e6-96231b3b80d8
* Changes for ffs lib call simplification:Reid Spencer2005-05-141-2/+2
| | | | | | | | | * Check for availability of ffsll call in configure script * Support ffs, ffsl, and ffsll conversion to constant value if the argument is constant. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22027 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix the "stacker doesn't build without llvm-gcc" problem. The configureReid Spencer2005-05-131-2/+2
| | | | | | | | | | | | | script was defaulting the LLVMGCC variable to "llvm-gcc" if it couldn't find llvm-gcc and --with-llvmgccdir was not specified. In this case, there is no llvm-gcc available on the system so we shouldn't assume that the user's path will find it any better than configure could. The fix is to default it to an empty string. If LLVMGCC is empty, the makefiles will avoid building things that depend on llvm-gcc and give a nice warning message to that effect. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21953 91177308-0d34-0410-b5e6-96231b3b80d8
* llvm-fefw doesn't exist (yet)Misha Brukman2005-05-121-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21907 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove extraneous `U ' in copyright lineMisha Brukman2005-05-121-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21906 91177308-0d34-0410-b5e6-96231b3b80d8
* Build the `Skeleton' target when building "all" targetsMisha Brukman2005-04-221-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21455 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure the CBackend is always a target that is built.Reid Spencer2005-04-221-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21448 91177308-0d34-0410-b5e6-96231b3b80d8
* Consolidate the target selection options into a single option,Reid Spencer2005-04-221-43/+30
| | | | | | | | --enable-target which can take values "all", "host-only" or a comma separated list of target names (alpha,ia64,powerpc,skeleton,sparc,x86) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21447 91177308-0d34-0410-b5e6-96231b3b80d8
* First step in avoiding compilation/usage of non-relevant targets. NewReid Spencer2005-04-221-0/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | options have been added to the configure script that control which targets will be used. The options are: --enable-target-this (default=disabled) This will specify that the target corresponding to the build host is the target that will be compiled/used. You can't use this with any of the other options (they'll be ignored). This is what most people want. --disable-target-x86 (default=enabled) This will prevent the X86 target(s) from being compiled/used. --disable-target-sparc (default=enabled) This will prevent both SparcV8 and SparcV9 from being compiled/used. --disable-target-powerpc (default=enabled) This will prevent the PowerPC target from being compiled/used. --disable-target-alpha (default=enabled) This will prevent the Alpha target from being compiled/used. --disable-target-ia64 (default=enabled) This will prevent the IA64 target from being compiled/used. Note that without any of these options, the default behavior is to build all targets, as is the current practice. All these options do is set up the substititution variable TARGETS_TO_BUILD which contains the targets that should be compiled/used. The variable is intended to be used in the makefiles. Those changes will come later. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21445 91177308-0d34-0410-b5e6-96231b3b80d8
* Recognize an IA64 when we see oneMisha Brukman2005-03-171-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20666 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a call to AC_CONFIG_COMMANDS to ensure that llvm_src is set properlyReid Spencer2005-02-241-0/+1
| | | | | | | | in the config.status script. This allows the AC_CONFIG_MAKEFILE macro to work properly after it was changed to support sub-projects. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20305 91177308-0d34-0410-b5e6-96231b3b80d8
* This macro cannot assume that the location of install-sh and mkinstalldirsReid Spencer2005-02-241-1/+3
| | | | | | | | | | | | is in ${srcdir}/autoconf because that is only true if the project is LLVM. For other projects (e.g. sample), we don't want to have to distribute the mkinstalldirs or install-sh programs because it opens a window of breakage for projects. So, this change requires that the llvm_src variable be set up via another AC_CONFIG_COMMANDS call. For LLVM this is done in the configure.ac. For projects its done in the LLVM_CONFIG_PROJECT macro. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20304 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a new macro for configuring projects, LLVM_CONFIG_PROJECT. This macroReid Spencer2005-02-241-0/+14
| | | | | | | | | | takes care of the --with-llvmsrc and --with-llvmobj options for the project It was moved here from the project's configure.ac file because there is some tricky handling of the llvm_src variable to tell the project where the llvm source tree is (for mkinstalldirs and install-sh commands). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20303 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove the "pax" program from the list of those needed to support LLVM.Reid Spencer2005-02-161-1/+0
| | | | | | | | The install target in Makefile.rules no longer uses pax but just uses find and "install" instead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20216 91177308-0d34-0410-b5e6-96231b3b80d8
* The pool allocator is now the llvm-poolalloc module in public CVSChris Lattner2005-02-111-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20116 91177308-0d34-0410-b5e6-96231b3b80d8
* let configure recognize AlphasAndrew Lenharth2005-01-241-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19811 91177308-0d34-0410-b5e6-96231b3b80d8
* Mark CVS versions different from releasesMisha Brukman2005-01-241-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19809 91177308-0d34-0410-b5e6-96231b3b80d8
* We're working towards LLVM 1.5 now so bump the version number. This changeReid Spencer2005-01-221-1/+1
| | | | | | | | won't be propagated to the configure script until there's a need to change configure.ac for some larger purpose. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19762 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix llvm-java project autconfiguration.Alkis Evlogimenos2005-01-161-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19616 91177308-0d34-0410-b5e6-96231b3b80d8
* Provide support for HP/UX aCC compiler's variant of hash_map and hash_setReid Spencer2005-01-161-0/+1
| | | | | | | | (RogueWave). These are implemented in rw/stdex/hash_map.h and rw/stdex/hash_set.h on HP/UX. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19600 91177308-0d34-0410-b5e6-96231b3b80d8
* The Java project now lives under projects/llvm-java.Alkis Evlogimenos2005-01-051-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19295 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR351:Reid Spencer2004-12-311-0/+4
| | | | | | | Make LLVM_ON_UNIX and LLVM_ON_WIN32 available in the makefiles git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19205 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR351:Reid Spencer2004-12-311-2/+2
| | | | | | | * lib/System depends on sbrk(3), make sure we check for it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19200 91177308-0d34-0410-b5e6-96231b3b80d8
* * Fix a bug in an m4 macro that used an incorrect test operatorReid Spencer2004-12-291-1/+6
| | | | | | | | | * Add CAN_DLOPEN_SELF so we can determine if dlopen(0) will open the program or not. * Correct a warning messages to be a little more specific on what it checks git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19184 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a Bourne Shell syntax error in a testReid Spencer2004-12-291-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19183 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix one of the names to not have a . in front of it.Reid Spencer2004-12-291-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19182 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the x86_64 target names match between def and use. Thanks Misha.Reid Spencer2004-12-281-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19170 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the 64-bit x86 target named "x86_64" instead of "AMD64".Reid Spencer2004-12-281-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19169 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't create symbolic links for lib/System any more. It doesn't need them.Reid Spencer2004-12-271-5/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19166 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR351:Reid Spencer2004-12-271-2/+5
| | | | | | | | * Add checks for sterror and strerror_r functions * Add check to determine if /dev/zero is needed for allocating RWX memory. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19148 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR351:Reid Spencer2004-12-271-0/+17
| | | | | | | Provide a check to determine if /dev/zero is needed for AllocateRWX function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19147 91177308-0d34-0410-b5e6-96231b3b80d8
* Oops, reverse the logic on a test for WITH_LLVMGCCDIR to make it defineReid Spencer2004-12-271-1/+1
| | | | | | | the path names correctly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19146 91177308-0d34-0410-b5e6-96231b3b80d8