summaryrefslogtreecommitdiffstats
path: root/llvm/projects/sample/autoconf/m4
Commit message (Collapse)AuthorAgeFilesLines
* Remove projects/sample.Rafael Espindola2014-03-1220-631/+0
| | | | | | | | | | | | | | | As an example that was not actually being used, it suffered from a slow bitrot. The two main issues with it were that it had no cmake support and included a copy of the autoconf directory. The reality is that autoconf is not easily composable. The lack of composabilty is why we have clang options in llvm's configure. Suggesting that users include a copy of autoconf/ in their projects seems a bad idea. We are also in the process of switching to cmake, so pushing autoconf to new project is probably not what we want. llvm-svn: 203728
* Drop libtool from llvm.Rafael Espindola2014-02-282-6792/+0
| | | | | | | We were only using it so find the shared library extension and nm. There are simpler ways to do those things :-) llvm-svn: 202524
* Link with -rdynamic instead of -Wl,-export-dynamic.Bob Wilson2013-08-021-4/+5
| | | | | | | | | | | | | | | Recent versions of the OS X linker support this but follow the existing OS X linker convention of using an underscore in the option name, i.e., -export_dynamic. Rather than changing our configure scripts to check for that alternate spelling, it is simpler to just use the compiler's -rdynamic option and let it deal with translating that to the appropriate linker option. One potential disadvantage of this approach is that the compiler will typically ignore -rdynamic on platforms where it is not supported, so the HAVE_LINK_EXPORT_DYNAMIC in config.h will not necessarily show whether that option has any effect or not. I don't see any in-tree uses of that macro, so I'm assuming it is OK. llvm-svn: 187686
* [PowerPC] Support powerpc64le as a syntax-checking target.Bill Schmidt2013-07-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | This patch provides basic support for powerpc64le as an LLVM target. However, use of this target will not actually generate little-endian code. Instead, use of the target will cause the correct little-endian built-in defines to be generated, so that code that tests for __LITTLE_ENDIAN__, for example, will be correctly parsed for syntax-only testing. Code generation will otherwise be the same as powerpc64 (big-endian), for now. The patch leaves open the possibility of creating a little-endian PowerPC64 back end, but there is no immediate intent to create such a thing. The LLVM portions of this patch simply add ppc64le coverage everywhere that ppc64 coverage currently exists. There is nothing of any import worth testing until such time as little-endian code generation is implemented. In the corresponding Clang patch, there is a new test case variant to ensure that correct built-in defines for little-endian code are generated. llvm-svn: 187179
* Don't define LTDL_SHLIBPATH_VAR.Rafael Espindola2013-06-111-15/+0
| | | | llvm-svn: 183771
* Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. ↵Sylvestre Ledru2012-09-271-1/+1
| | | | | | See: http://en.wikipedia.org/wiki/If_and_only_if Commit 164767 llvm-svn: 164768
* Fix a typo 'iff' => 'if'Sylvestre Ledru2012-09-271-1/+1
| | | | llvm-svn: 164767
* Fix a typo (the the => the)Sylvestre Ledru2012-07-233-3/+3
| | | | llvm-svn: 160621
* Update all outdated autoconf files in the sample project.Benjamin Kramer2012-05-054-6/+8
| | | | | | We might just use symlinks here, but I'm afraid of possible portability issues. llvm-svn: 156235
* Add some fixes to the configure script for isInf and addEric Christopher2012-03-262-2/+2
| | | | | | | | --enable-libcpp to projects/sample. Patch by Dmitri Shubin with additional fixes by me. llvm-svn: 153425
* configure: Don't require a perl interpreter to be present, LLVM's ↵Benjamin Kramer2012-03-071-16/+0
| | | | | | buildsystem doesn't depend on perl anymore. llvm-svn: 152234
* Enable -Wcovered-switch-default again, but add -Werror to the checks to makeRafael Espindola2012-02-281-1/+1
| | | | | | sure we don't use it with compilers that don't support it. llvm-svn: 151665
* Handle newer cases for freebsd which is approaching 10.0 and not 1.0.Eric Christopher2011-10-261-6/+6
| | | | | | Patch by Dimitry Andric! llvm-svn: 142995
* projects/sample: Import adapted form of current LLVM autoconf/Makefile setup ↵Daniel Dunbar2011-10-1823-0/+7451
so that projects/sample is standalone and not tied to the LLVM build setup. - This currently just moves over all of the behavior from LLVM. Eventually all of the configure checks that are directly needed by the LLVM build setup should probably go away, and the project should manage their own configuration checks if necessary. - This is the 1st half of this work, the actual Makefile.common hasn't moved over yet. I've tried to stage this in such a way that incremental builds will properly reconfigure for most active developers (the Makefiles don't handle reconfiguring in a perfectly reliable way, and I haven't found an easy way to make them do so). llvm-svn: 142456
OpenPOWER on IntegriCloud