summaryrefslogtreecommitdiff
path: root/autoconf
Commit message (Collapse)AuthorAge
* Missing file from previous commmit (127341) for InitializeTargetAsmParser ↵Jan Sjödin2011-03-09
| | | | | | function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127345 91177308-0d34-0410-b5e6-96231b3b80d8
* Change the next release number to 3.0svn.Bill Wendling2011-03-08
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127213 91177308-0d34-0410-b5e6-96231b3b80d8
* lib/Support/Errno.cpp: Check strerror_s() with HAVE_DECL_STRERROR_S in ↵NAKAMURA Takumi2011-02-09
| | | | | | | | | | | config.h.*. AC_CHECK_FUNCS seeks a symbol only in libs. We should check the declaration in string.h. FIXME: I have never seen mingw(s) have strerror_s() (not _strerror_s()). FIXME: Autoconf/CMake may seek strerror_s() with the definition MINGW_HAS_SECURE_API in future. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125172 91177308-0d34-0410-b5e6-96231b3b80d8
* Windows/DynamicLibrary.inc: Split explicit symbols into explicit_symbols.inc.NAKAMURA Takumi2011-02-05
| | | | | | | config.h.* have conditions whether each symbol is defined or not. Autoconf and CMake may check symbols in libgcc.a for JIT on Mingw. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124950 91177308-0d34-0410-b5e6-96231b3b80d8
* configure: Add checks for <sys/uio.h> and writev().Daniel Dunbar2011-02-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124769 91177308-0d34-0410-b5e6-96231b3b80d8
* autoconf: Add --disable-embed-stdcxx to suppress linking libstdc++.a into ↵NAKAMURA Takumi2010-12-29
| | | | | | | | llvm.dll with --enable-shared on Cygming. Cygwin has stdc++.dll in it's distribution, and we can assume distro's stdc++.dll might be available. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122622 91177308-0d34-0410-b5e6-96231b3b80d8
* autoconf: [PR7874] Add --disable-pthreads to suppress detecting pthreads on ↵NAKAMURA Takumi2010-12-29
| | | | | | | | certain hosts. This would be needed to build pthread*.dll-free distribution on recent MinGW-MSYS distros. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122621 91177308-0d34-0410-b5e6-96231b3b80d8
* Use GZIPBIN instead of GZIP. Apparently gzip uses GZIP as an environmentEric Christopher2010-12-10
| | | | | | | | | | | variable for args you want to default pass to gzip. Patch based on one by asau@inbox.ru. Fixes PR8758. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121449 91177308-0d34-0410-b5e6-96231b3b80d8
* autoconf: Stop lying to me.Daniel Dunbar2010-12-08
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121222 91177308-0d34-0410-b5e6-96231b3b80d8
* Two things: Fix testcase to use extern - otherwise the link will alwaysEric Christopher2010-12-07
| | | | | | | | succeed. Also make the testcase clearer as to what we're doing and emit a checking notification to the log. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121101 91177308-0d34-0410-b5e6-96231b3b80d8
* Apparently OS X 10.4 doesn't have __crashreporter_info__.Eric Christopher2010-12-03
| | | | | | | Try to fix building on the wayback machine. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120801 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge System into Support.Michael J. Spencer2010-11-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120298 91177308-0d34-0410-b5e6-96231b3b80d8
* It seems inconsistent to have LLVMCC_EMITIR_FLAG andDuncan Sands2010-11-25
| | | | | | | | | LLVMGCC_DISABLEOPT_FLAGS, one with CC in it, the other with GCC. Rename LLVMGCC_DISABLEOPT_FLAGS to LLVMCC_DISABLEOPT_FLAGS. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120151 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial support for being able to specify the llvm-gcc to use like this:Duncan Sands2010-11-25
| | | | | | | --with-llvmgcc="gcc-4.5 -fplugin=dragonegg.so" git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120149 91177308-0d34-0410-b5e6-96231b3b80d8
* fix the autoconf script to detect "has asmprinter"ness of a target byChris Lattner2010-11-14
| | | | | | | | looking for lib/Target/*AsmPrinter.cpp. Fix llvm-config to handle targets that don't have an explicit AsmPrinter library. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119057 91177308-0d34-0410-b5e6-96231b3b80d8
* remove JIT support from the Alpha backend. The JIT will be moving to MC, Chris Lattner2010-11-14
| | | | | | | and the Alpha backend isn't MCized yet. Approved by Andrew. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119051 91177308-0d34-0410-b5e6-96231b3b80d8
* Add --enable-docs. Patch by NAKAMURA Takumi.Rafael Espindola2010-11-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118918 91177308-0d34-0410-b5e6-96231b3b80d8
* Detect if llvm-gcc is built on dragonegg.Tobias Grosser2010-11-10
| | | | | | | Store the flags needed to disable optimizations and to emit LLVM-IR depending on the version of llvm-gcc used. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118684 91177308-0d34-0410-b5e6-96231b3b80d8
* Add polly support to the build system.Tobias Grosser2010-10-30
| | | | | | | | | | | | | Update the cmake and autoconf build system to compile polly as a shared library if it is checked out into tools/polly. In case polly is not checked out, nothing changes. This models the way clang can be added to llvm if checked out to tools/clang. Also rebuild configure. Patch contributed by ether. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117755 91177308-0d34-0410-b5e6-96231b3b80d8
* First step to allowing the resource directory of Clang to be adjusted forChandler Carruth2010-10-19
| | | | | | | | | | | strange packaging environments. The primary result of this is to expose a (normally empty) CLANG_RESOURCE_DIR string in the autoconf and CMake builds. This will in turn be used by a subsequent commit to Clang. Regenerated configure and config.h.in thanks to Nick. =D git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116802 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix the last two commits to configure - configure is a generated file.Eric Christopher2010-10-12
| | | | | | | Made necessary edits to configure.ac and regenerated. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116291 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for viewing graphviz graphs with xdot.py.Dan Gohman2010-09-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114832 91177308-0d34-0410-b5e6-96231b3b80d8
* Attempt to support platforms which don't have fenv.h.Dan Gohman2010-09-17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114196 91177308-0d34-0410-b5e6-96231b3b80d8
* Create PTX backend. Patch by Che-Liang Chiou!Nick Lewycky2010-09-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113235 91177308-0d34-0410-b5e6-96231b3b80d8
* Update to 2.9 post-2.8 branch.Eric Christopher2010-09-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113159 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix LLVM target initialization to deal with sociopathic outside projectsEric Christopher2010-08-30
| | | | | | | | | | | | that like to randomly define things like "X86", regenerate autoconf bits and update cmake. Fixes PR7852. Patch by Xerxes Rånby! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112499 91177308-0d34-0410-b5e6-96231b3b80d8
* remove the MSIL backend. It isn't maintained, is buggy, has no testcasesChris Lattner2010-08-28
| | | | | | | and hasn't kept up with ToT. Approved by Anton. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112375 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove getsect checks, the result is unused and is broken anyhow.Eric Christopher2010-08-25
| | | | | | | | | Fixes PR7967. Owen: You added these, any reason? git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112041 91177308-0d34-0410-b5e6-96231b3b80d8
* llvmc: remove dynamic plugins.Mikhail Glushenkov2010-08-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111094 91177308-0d34-0410-b5e6-96231b3b80d8
* configure: Add detection of the linker version string.Daniel Dunbar2010-08-11
| | | | | | | - Review appreciated, as long as you understand that I understand that this is a horrible hack. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110883 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a bit of a hack to avoid multiple defines of variables inEric Christopher2010-08-08
| | | | | | | config.h and llvm-config.h. This could probably be improved. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110547 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix PR7809 by creating a header for just llvm variables that can beEric Christopher2010-08-08
| | | | | | | included in exported interfaces. Update a couple of exported interfaces. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110532 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a typo in a comment.Dan Gohman2010-08-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110211 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove CVS artifacts.Dan Gohman2010-08-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110207 91177308-0d34-0410-b5e6-96231b3b80d8
* build: Add LLVM_NATIVE_ARCHNAME, which has the sensible value, without "Target"Daniel Dunbar2010-08-03
| | | | | | appended. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110109 91177308-0d34-0410-b5e6-96231b3b80d8
* Use a C++ compiler for the atomic builtin check since we'llEric Christopher2010-07-28
| | | | | | | | | be using a C++ compiler to build. Patch by Török Edwin! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109646 91177308-0d34-0410-b5e6-96231b3b80d8
* Try to work around the relative install-sh path problem.Eric Christopher2010-07-22
| | | | | | | Patch from Eli. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109163 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove extraneous character.Owen Anderson2010-07-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108739 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for detecting <mach-o/getsect.h> and the getsect() function.Owen Anderson2010-07-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108737 91177308-0d34-0410-b5e6-96231b3b80d8
* Pull in the libCrashReporterClient.a information with a warning comment.Eric Christopher2010-06-28
| | | | | | | Remove library check and regenerate configure. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107028 91177308-0d34-0410-b5e6-96231b3b80d8
* Look for and use a different darwin crash reporter library.Eric Christopher2010-06-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106576 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a spello affecting platforms where the configure check fails.Dan Gohman2010-06-01
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105273 91177308-0d34-0410-b5e6-96231b3b80d8
* -retain-symbols-file is not what it seems. Update the makefilesDan Gohman2010-06-01
| | | | | | | and configury to use --version-script. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105271 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new configure option, --disable-timestamps, intended to turn off ↵Daniel Dunbar2010-05-10
| | | | | | | | | anything which would mess up binary/object comparisons. Currently: - Disables 'Built on ...' in 'foo --version'. - Disables timestamps from being embedded into .dir files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103423 91177308-0d34-0410-b5e6-96231b3b80d8
* Overhauled llvm/clang docs builds. Closes PR6613.mike-m2010-05-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NOTE: 2nd part changeset for cfe trunk to follow. *** PRE-PATCH ISSUES ADDRESSED - clang api docs fail build from objdir - clang/llvm api docs collide in install PREFIX/ - clang/llvm main docs collide in install - clang/llvm main docs have full of hard coded destination assumptions and make use of absolute root in static html files; namely CommandGuide tools hard codes a website destination for cross references and some html cross references assume website root paths *** IMPROVEMENTS - bumped Doxygen from 1.4.x -> 1.6.3 - splits llvm/clang docs into 'main' and 'api' (doxygen) build trees - provide consistent, reliable doc builds for both main+api docs - support buid vs. install vs. website intentions - support objdir builds - document targets with 'make help' - correct clean and uninstall operations - use recursive dir delete only where absolutely necessary - added call function fn.RMRF which safeguards against botched 'rm -rf'; if any target (or any variable is evaluated) which attempts to remove any dirs which match a hard-coded 'safelist', a verbose error will be printed and make will error-stop. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103213 91177308-0d34-0410-b5e6-96231b3b80d8
* Default OPTIMIZE_OPTION to -O2 on FreeBSD, at the request of the Clang/FreeBSDDaniel Dunbar2010-04-30
| | | | | | folks. LLVM/Clang is miscompiled by the standard GCC at -O3. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102719 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix an autoconf bug: The second argument to AC_LANG_PROGRAM is code thatDan Gohman2010-04-25
| | | | | | | | | | | | | | | | | gets placed inside a main function, and should not itself be a main function. This is silently hidden in GCC-hosted builds because the inner main looks like a nested function declaration, which GCC supports. In builds with compilers which do not support nested functions (by default), this was causing an error, which caused these autoconf checks to fail, leaving their options disabled. This fixes test/Feature/load_module.ll on x86_64-unknown-linux-gnu llvm-gcc selfhost builds, among other things. This also includes a regenerated configure, as the diff is small and telling. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102288 91177308-0d34-0410-b5e6-96231b3b80d8
* Add an autoconf check for -retain-symbols-file and conditionalizeDan Gohman2010-04-16
| | | | | | | | use of that option with it. This eliminates an imprecise "Linux" test, and should help support old versions of gold. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101560 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a check for posix_spawn.Eric Christopher2010-04-16
| | | | | | | Regenerate configure and other autoconf files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101444 91177308-0d34-0410-b5e6-96231b3b80d8
* configure: Fix default value for optimize_option, I messed up the test conditionDaniel Dunbar2010-04-10
| | | | | | | | | | | | | | | | | in r86005 and unintentionally changed the default from -O3 to -O2. - It's odd the things automated perf testing turns up! :) - Also, the configure diff is messed up slightly. It looks like someone either didn't regenerate configure correctly (or I didn't), or autoconf has some funnyness in it. Eric, any ideas? This has been at -O2 for so long, that I am slightly nervous that this change will uncover miscompiles of LLVM on other systems. If that is the case, I think we should just set the default universally at -O3, and let developers/vendors use -O3 if they want it and have tested it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100941 91177308-0d34-0410-b5e6-96231b3b80d8