aboutsummaryrefslogtreecommitdiffstats
path: root/autoconf/m4
Commit message (Collapse)AuthorAgeFilesLines
* Revert r66765 and r66766. These were causing build failures on Darwin.Bill Wendling2009-03-121-17/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66770 91177308-0d34-0410-b5e6-96231b3b80d8
* Set ARCH to x86 on mixed 32/64-bit Linux systems.Nick Lewycky2009-03-121-0/+17
| | | | | | | Remove the explicit if OS = Darwin test around the setting of -m32/-m64. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66765 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove configurey-fu to autodetect hash_map and hash_set now that they areNick Lewycky2009-03-092-119/+0
| | | | | | | no longer used in LLVM. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66406 91177308-0d34-0410-b5e6-96231b3b80d8
* Autodetect the availability of -export-dynamic in the linker.Nick Lewycky2009-03-052-19/+41
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66156 91177308-0d34-0410-b5e6-96231b3b80d8
* When looking for executable extensions, ignore .dSYM, as that's the debug ↵Jim Grosbach2008-09-261-1/+1
| | | | | | info directory on Darwin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56667 91177308-0d34-0410-b5e6-96231b3b80d8
* Reapply majority of r55557 but with the changes to compilation flagsDaniel Dunbar2008-09-021-0/+22
| | | | | | | disabled until issues with gcc 4.1 on linux 32-bit are resolved. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55636 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert r55557, it is causing linking failures on 32bit linux.Matthijs Kooijman2008-09-021-22/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55628 91177308-0d34-0410-b5e6-96231b3b80d8
* Enable -fvisibility-inlines-hidden by default for compilers whichDaniel Dunbar2008-08-301-0/+22
| | | | | | | support it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55557 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix broken default help strings for enable-shared, enable-static, and ↵Tanya Lattner2007-09-171-3/+3
| | | | | | enable-fast-install. Regenerate configure script. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42066 91177308-0d34-0410-b5e6-96231b3b80d8
* Hack the shared library extension for dylib. The existing code just looksReid Spencer2007-04-111-1/+1
| | | | | | | | plain wrong since $module was never defined so we always get .so which is broken on Darwin. Just force it to .dylib. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35873 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a configure warning noticed by Duncan Sands.Reid Spencer2007-01-031-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32844 91177308-0d34-0410-b5e6-96231b3b80d8
* Expose the sanity.Reid Spencer2006-12-041-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32193 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the huge_val test run a C++ program not CReid Spencer2006-11-031-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31422 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a check to see if HUGE_VAL is sane or not.Reid Spencer2006-11-031-0/+18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31416 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR738:Reid Spencer2006-08-241-2/+3
| | | | | | | | Demote check for bison from error to warning and make sure that the makefile can handle an empty definition for BISON variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29861 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR876:Reid Spencer2006-08-141-1/+1
| | | | | | | | | Fix problem setting the USE_{program} variable. It should be set to a Makefile variable definition line, not just "1". Problem noted by Kenneth Hoste. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29682 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR876:Reid Spencer2006-08-141-1/+1
| | | | | | | | Fix problem noticed by Kenneth Hoste. The wrong name for a variable was being set and subsequently uses of the correct name were empty. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29681 91177308-0d34-0410-b5e6-96231b3b80d8
* Recover the lost diff between 1.5 and 1.6.Evan Cheng2006-08-091-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29577 91177308-0d34-0410-b5e6-96231b3b80d8
* Update the auto* tools: autoconf 2.60, libtool 1.5.22, automake 1.9.6.Reid Spencer2006-08-042-515/+894
| | | | | | | | | | Update ltld.[ch] to version 1.5.22. Correct the notes about updating these tools (autoconf/README.TXT) Add configure options for getting the correct option for including a whole archive when linking. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29529 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove an extraneous use of ${ac_exeext}. Patch by Anton Korobeynikov.Reid Spencer2006-07-261-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29306 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR814:Reid Spencer2006-07-261-0/+42
| | | | | | | | Add a macro for getting the build host extension for executable. Patch contributed by Anton Korobeynikov. Thanks! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29304 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
* Update to llvm-config tool, by Erik Kidd:Reid Spencer2006-03-231-0/+16
| | | | | | | | | | | | 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
* 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
* 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
* 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
* 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
* 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
* 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
* Provide a value for HAVE_MMAP_ANONYMOUS variable, for consistency withReid Spencer2004-12-271-1/+1
| | | | | | | other #define's. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19145 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor syntactical change to make this a little easier to comprehend.Reid Spencer2004-12-131-5/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18888 91177308-0d34-0410-b5e6-96231b3b80d8
* Search for tclsh last so we don't find the FreeBSD warning script.Reid Spencer2004-12-021-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18420 91177308-0d34-0410-b5e6-96231b3b80d8
* * Make sure the cache variable gets cachedReid Spencer2004-12-021-33/+16
| | | | | | | | | | * Don't search a bunch of .. directories for something we'd never find, because we don't imbed tclsh into LLVM. * Look for various tclsh versions because some platforms don't install the tclsh link but just have tclsh8.3 or tclsh8.4 or some such. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18414 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a check for the tclsh program needed by dejagnu. This can have weirdReid Spencer2004-11-301-0/+56
| | | | | | | | | names that have version numbers in it so this macro, DJ_AC_PATH_TCLSH will make the necessary checks. The makefile variable TCLSH is set to the path found. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18382 91177308-0d34-0410-b5e6-96231b3b80d8
* Converted with autoupdate for autoconf 2.50 -> 2.59 differences.Reid Spencer2004-11-291-12/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18343 91177308-0d34-0410-b5e6-96231b3b80d8
* This file contains macros that allow us to incorporate the ltdl source intoReid Spencer2004-11-291-0/+430
| | | | | | | | our own library so that it is magically hidden and we don't have to depend on linking with -lltdl option. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18342 91177308-0d34-0410-b5e6-96231b3b80d8
* Get the cache variable name right.Reid Spencer2004-11-271-5/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18288 91177308-0d34-0410-b5e6-96231b3b80d8
* Cache the value of this test.Reid Spencer2004-11-252-16/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18231 91177308-0d34-0410-b5e6-96231b3b80d8
* Tidy up the indentation. Give the cache variable a proper name.Reid Spencer2004-11-251-19/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18230 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate duplicate "checking" message.Reid Spencer2004-11-251-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18229 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the check print something, give the cache var an llvm specific name.Reid Spencer2004-11-251-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18224 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure we test the right variable for the AC_DEFINEReid Spencer2004-10-281-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17302 91177308-0d34-0410-b5e6-96231b3b80d8
* It's spelled IEEEFPBrian Gaeke2004-10-281-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17301 91177308-0d34-0410-b5e6-96231b3b80d8
* Changes to support rand48 testsReid Spencer2004-10-274-32/+61
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17284 91177308-0d34-0410-b5e6-96231b3b80d8
* Changes for libtool 1.5.10Reid Spencer2004-10-131-63/+64
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16945 91177308-0d34-0410-b5e6-96231b3b80d8
* Updated the last two header files so that they are configured withJohn Criswell2004-09-243-9/+12
| | | | | | | | AC_CONFIG_HEADERS. This should prevent LLVM from needlessly re-compiling on a re-configure. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16510 91177308-0d34-0410-b5e6-96231b3b80d8