aboutsummaryrefslogtreecommitdiffstats
path: root/autoconf
Commit message (Collapse)AuthorAgeFilesLines
* For PR747:Reid Spencer2006-04-271-10/+10
| | | | | | | | | If we fail to find a required program, simply set that program to echo out something that tells the user the situation. That is, instead of just "true runtest" we now get "echo 'Skipped: runtest not found'". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27990 91177308-0d34-0410-b5e6-96231b3b80d8
* Configure llvm-config in tools, not utils.Reid Spencer2006-04-201-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27919 91177308-0d34-0410-b5e6-96231b3b80d8
* Never build SparcV9Chris Lattner2006-04-201-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27883 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow OpenBSD to be recognized as a UNIX platform.Reid Spencer2006-04-191-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27848 91177308-0d34-0410-b5e6-96231b3b80d8
* When on darwin, compiler_flags need to be percolated down to the 'gcc -r'Chris Lattner2006-04-191-1/+1
| | | | | | | command line so that relinked .o files can be built universal. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27837 91177308-0d34-0410-b5e6-96231b3b80d8
* Make it possible to default the llvm_src and llvm_obj variables based onReid Spencer2006-04-181-2/+2
| | | | | | | | the arguments to the macro. This better supports the AutoRegen.sh script in projects/sample/autoconf. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27797 91177308-0d34-0410-b5e6-96231b3b80d8
* Ahem. HEAD -> 1.8cvs not 1.7 (I'm an idiot).Reid Spencer2006-04-141-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27687 91177308-0d34-0410-b5e6-96231b3b80d8
* remove the "cvs" part of the version number for the release branch.Reid Spencer2006-04-141-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27686 91177308-0d34-0410-b5e6-96231b3b80d8
* Change the assertions defaults:Reid Spencer2006-04-091-6/+4
| | | | | | | | | 1. Assertions now default to on for all builds 2. If you want them disabled you must (a) --disable-assertions to configure or DISABLE_ASSERTIONS=1 to make. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27548 91177308-0d34-0410-b5e6-96231b3b80d8
* Ensure that the automatic "CVS build" detection works for bothReid Spencer2006-04-081-1/+1
| | | | | | | objdir == srcdir and objdir != srcdir. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27516 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR723:Reid Spencer2006-04-071-2/+28
| | | | | | | | | | Support detection of a "CVS" directory at configure time to distinguish whether this is a release build or a "from tree" build. This knowledge is used to set the defaults for --enable-optimzied and --enable-assertions options. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27487 91177308-0d34-0410-b5e6-96231b3b80d8
* For support of new GCC v4, obtain the full and major versions of theReid Spencer2006-04-061-0/+4
| | | | | | | | llvm-gcc command. This will help distinguish which version is being used so the makefiles can accommodate. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27461 91177308-0d34-0410-b5e6-96231b3b80d8
* Update to llvm-config tool, by Erik Kidd:Reid Spencer2006-03-232-7/+32
| | | | | | | | | | | | 1. Check for Perl and only build llvm-config if its available. 2. Add some virtual components 3. Don't depend on "standard" location for Perl, but configured location 4. Document the tool with a POD file. This version is now ready for testing by users. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27005 91177308-0d34-0410-b5e6-96231b3b80d8
* These changes are necessary to support the new llvm-config tool. llvm-configReid Spencer2006-03-221-0/+3
| | | | | | | | | | is a handy tool for users of LLVM who want to be able to quickly get information about LLVM's configuration. It is intended to be used in the command line of other tools. Documentation will be forthcoming in a subsequent patch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26952 91177308-0d34-0410-b5e6-96231b3b80d8
* Use -emit-llvm -S to get .ll file output from llvm-gccChris Lattner2006-02-271-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26397 91177308-0d34-0410-b5e6-96231b3b80d8
* don't build the skeleton targetChris Lattner2006-02-161-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26237 91177308-0d34-0410-b5e6-96231b3b80d8
* reverting previous change, will add support for other compilers laterDuraid Madina2006-02-151-0/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26211 91177308-0d34-0410-b5e6-96231b3b80d8
* previously, configure would die if GCC or ICC was not found. Now it'llDuraid Madina2006-02-151-11/+0
| | | | | | | | | go through, but we do want to know if we're using GCC/ICC since they share certain funky command line options (for dependency generation stuff) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26198 91177308-0d34-0410-b5e6-96231b3b80d8
* SparcV8 -> SparcChris Lattner2006-02-051-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25988 91177308-0d34-0410-b5e6-96231b3b80d8
* don't need this any more; the "#define hashes to trees" hack is comingDuraid Madina2006-01-231-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25531 91177308-0d34-0410-b5e6-96231b3b80d8
* add checks for new functions. I'd appreciate it if someone could regenChris Lattner2006-01-231-3/+3
| | | | | | | the configure script :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25528 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure that libm is used during config tests so that ceil, floor, andReid Spencer2006-01-191-1/+1
| | | | | | | friends are actually detected. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25454 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR696:Reid Spencer2006-01-191-2/+2
| | | | | | | Add checks for ceil, ceilf, floor, and floorf git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25453 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR678:Reid Spencer2005-12-221-2/+8
| | | | | | | | | * Make it possible to pass a fourth argument to the CHECK_PROGRAM_SANITY macro that controls whether a non-sane program generates an error or a warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24931 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement fix for PR471:Reid Spencer2005-12-211-0/+9
| | | | | | | | | * Add --enable-debug-runtime option, defaults to disabled * Pass the new config var, DEBUG_RUNTIME, to Makefiles * Don't use -Wa,-strip-debug if debug-runtime is enabled git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24891 91177308-0d34-0410-b5e6-96231b3b80d8
* Added the llvm-kernel project to the list of automatically configuredJohn Criswell2005-12-191-0/+1
| | | | | | | projects. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24865 91177308-0d34-0410-b5e6-96231b3b80d8
* add malloc_zone_statistics, remove mstatsChris Lattner2005-11-141-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24350 91177308-0d34-0410-b5e6-96231b3b80d8
* add some stuff for mstats on darwinChris Lattner2005-11-141-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24347 91177308-0d34-0410-b5e6-96231b3b80d8
* Updated version to 1.7cvs.John Criswell2005-11-081-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24244 91177308-0d34-0410-b5e6-96231b3b80d8
* Merged from RELEASE_16.John Criswell2005-11-081-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24243 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed copy-paste typo, patch by Marco Matthies.Misha Brukman2005-11-011-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24142 91177308-0d34-0410-b5e6-96231b3b80d8
* 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