aboutsummaryrefslogtreecommitdiffstats
path: root/autoconf
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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