fredkiefer
eb7c5d8df3
* configure.ac: Increase AC version number and use OBJCXX directly.
...
* configure: Regenerate.
2020-08-30 20:42:33 +02:00
Niels Grewe
95bd45fb7b
chore: regenerate configure
2020-06-08 09:27:10 +02:00
fredkiefer
c0d40bdf8a
* gs_gcc_version.m4: Add -dumpfullversion to the version
...
extraction. Versions of gcc > 7.0 require this parameter to output
the full version number. Older versions should just ignore this option.
* configure: Regenerate. This remove the runstatedir option as my version
of autoconfig does not include it.
2020-06-07 21:39:38 +02:00
Niels Grewe
9b27e65659
simplify runtime type detection
...
also add some documentation about why this is so complicated
2019-12-23 07:13:23 +01:00
Niels Grewe
02f47ebb01
honour the library combo of an existing installation
2019-12-22 23:59:07 +01:00
Niels Grewe
29dbe2bc76
seamlessly upgrade library combo to ng-gnu-gnu if supported
2019-12-22 23:01:57 +01:00
Niels Grewe
94b77396ce
If the gnustep-2.0 ABI is used, emit a warning if a suspicious linker is found.
2019-12-06 22:29:31 +01:00
Niels Grewe
b458b0eb87
automatically upgrade to gnustep-2.0 abi if supported by compiler and runtime
2019-12-04 08:52:22 +01:00
Niels Grewe
02e014a5f1
move runtime lib check into m4 module
2019-12-04 07:18:35 +01:00
Niels Grewe
4536e16cc7
wip: start improving runtime detection for gnustep-2.0
2019-12-04 02:17:39 +01:00
Niels Grewe
95c97b6690
increase portability of variable splitting
2019-12-03 23:29:26 +01:00
Niels Grewe
98a6b0135d
allow specifing the runtime abi to use
2019-12-03 22:49:26 +01:00
Niels Grewe
21c5b37cc9
move library combo into m4/
2019-12-03 22:09:00 +01:00
Niels Grewe
114faf5cd8
move some autoconf macros into separate m4 dir
2019-12-03 20:15:42 +01:00
Richard Frith-Macdonald
14a1d33b46
Use -fobjec-runtime=gcc for targetting the gnu/gcc runtime ABI
2018-07-10 10:46:40 +01:00
Richard Frith-Macdonald
4e4a202511
Changes to make sure that nonfragile ABI settings are implied by gnu/ng runtime
2018-07-09 15:17:49 +01:00
Paul Landers
16b7c94490
revert change to use objc exceptions
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@40160 72102866-910b-0410-8b05-ffd578937521
2016-10-18 22:35:33 +00:00
Paul Landers
b678fa706b
do use clangs exceptions on windows, since we have them.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@40144 72102866-910b-0410-8b05-ffd578937521
2016-10-12 16:23:10 +00:00
Niels Grewe
b3c4eb94ca
Preliminary support for installing and resolving pkg-config files
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@39968 72102866-910b-0410-8b05-ffd578937521
2016-07-08 13:09:17 +00:00
Richard Frith-MacDonald
4f1263e9be
Fixups for mingw64
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@39940 72102866-910b-0410-8b05-ffd578937521
2016-06-28 11:17:49 +00:00
Richard Frith-MacDonald
c5a8a00a7a
Minor tweaks and define USE_ARC if the compiler supports it
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@39751 72102866-910b-0410-8b05-ffd578937521
2016-05-13 09:53:44 +00:00
Richard Frith-MacDonald
1a4df24526
remove garbage collection support
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@39605 72102866-910b-0410-8b05-ffd578937521
2016-03-25 10:02:54 +00:00
Richard Frith-MacDonald
e7378fcb12
Fix order of checks to know we are on darwin before setting library combo
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@39497 72102866-910b-0410-8b05-ffd578937521
2016-03-09 13:52:32 +00:00
Richard Frith-MacDonald
733b21e237
Changes for next release
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@39451 72102866-910b-0410-8b05-ffd578937521
2016-03-04 13:44:13 +00:00
Richard Frith-MacDonald
6aff5f9ab9
mprove compiler selection and add mechanism for turning on ARC for a build
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@39442 72102866-910b-0410-8b05-ffd578937521
2016-03-02 13:16:22 +00:00
Richard Frith-MacDonald
9f66a4dab1
If ng runtime is selected, we need clang
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@39439 72102866-910b-0410-8b05-ffd578937521
2016-03-02 12:05:34 +00:00
Wolfgang Lux
9a7d1681d0
Fix previous change, which had broken the autoconf tests for Objective
...
C++, the fragile API and native exception support, by using the
correct autoconf macros.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@38898 72102866-910b-0410-8b05-ffd578937521
2015-08-17 12:48:41 +00:00
Richard Frith-MacDonald
4a420f7278
autoconf updates
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@38887 72102866-910b-0410-8b05-ffd578937521
2015-08-16 10:07:45 +00:00
Riccardo Mottola
b31da7bdb6
Check for nm and gnm as gnu nm, use a $(NM) variable instead of hard-coding the binary name of nm
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@38605 72102866-910b-0410-8b05-ffd578937521
2015-06-09 08:39:35 +00:00
Ivan Vučica
8ef9b0927d
Debian packaging support, which should now correctly support building source packages.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@37834 72102866-910b-0410-8b05-ffd578937521
2014-05-05 00:47:20 +00:00
Wolfgang Lux
cb7c6b74d5
Really fix the test whether the compiler uses the non-fragile ABI by
...
default. It should now work on all platforms with either gcc or clang.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@36938 72102866-910b-0410-8b05-ffd578937521
2013-07-27 13:39:26 +00:00
Richard Frith-MacDonald
fdf53a9743
revert to working configure script
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@36937 72102866-910b-0410-8b05-ffd578937521
2013-07-27 08:55:09 +00:00
Wolfgang Lux
3500c55b55
Rewrite test whether the compiler supports the non-fragile ABI once
...
more, so that it now reports the correct result.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@36936 72102866-910b-0410-8b05-ffd578937521
2013-07-26 18:52:25 +00:00
Wolfgang Lux
e5b37b9aa1
Rewrite test whether the compiler supports the non-fragile ABI with
...
portable code that does not rely on a BSD compatible echo command.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@36884 72102866-910b-0410-8b05-ffd578937521
2013-07-14 14:59:55 +00:00
Richard Frith-MacDonald
f31bc1f9a8
regenerate
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@36259 72102866-910b-0410-8b05-ffd578937521
2013-03-04 11:22:28 +00:00
Niels Grewe
3511ce32d0
Improve last change based on suggestions by David Chisnall.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@35602 72102866-910b-0410-8b05-ffd578937521
2012-09-24 10:35:19 +00:00
Niels Grewe
3221812e13
Also try to detect whether the nonfragile ABI is enabled by default by the
...
compiler.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@35599 72102866-910b-0410-8b05-ffd578937521
2012-09-24 09:12:38 +00:00
Quentin Mathe
695f80a68f
Fixed native exception detection when using --enable-objc-nonfragile-abi.
...
Based on a patch by Christopher Armstrong, see bug report #36186
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@35259 72102866-910b-0410-8b05-ffd578937521
2012-07-05 14:31:35 +00:00
Nicola Pero
a621b2aabc
Attempt at fixing problem detecting clang when configuring gnustep-make
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@32973 72102866-910b-0410-8b05-ffd578937521
2011-05-03 15:28:07 +00:00
Wolfgang Lux
3795c60175
Use configure time check for Objective-C runtime header directory
...
workaround on Darwin/OS X.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@32956 72102866-910b-0410-8b05-ffd578937521
2011-04-30 07:43:56 +00:00
Nicola Pero
a70a23a808
Use -Wl,-r to do partial linking with clang, and -r to do partial linking with GCC. Hopefully this fixes building with GCC 4.6.0 while still working with GCC on sparc, and with clang on all platforms
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@32835 72102866-910b-0410-8b05-ffd578937521
2011-04-11 20:23:50 +00:00
Nicola Pero
2a8870194a
Reverted checking for -fblocks. Apparently no longer needed.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@32828 72102866-910b-0410-8b05-ffd578937521
2011-04-10 14:49:04 +00:00
Nicola Pero
2063f0887a
Detect -fblocks in the compiler when running configure, and if available, use it.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@32827 72102866-910b-0410-8b05-ffd578937521
2011-04-10 14:24:08 +00:00
Nicola Pero
d431fc8780
Updated comments and configure
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@32822 72102866-910b-0410-8b05-ffd578937521
2011-04-09 14:09:30 +00:00
Nicola Pero
5c1dbeaa7d
Updated check for ObjC native exceptions - only compile code, do not try to run it, and ignore compiler type and version - only check that it can actually compile @try etc.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@32819 72102866-910b-0410-8b05-ffd578937521
2011-04-09 12:20:48 +00:00
Nicola Pero
8fe523795e
Use AC_COMPILE_IFELSE, not AC_RUN_IFELSE, when checking for -fobjc-nonfragile-abi
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@32818 72102866-910b-0410-8b05-ffd578937521
2011-04-09 12:04:23 +00:00
Nicola Pero
94dd631867
When checking for an ObjC++ compiler in gnustep-make, try compiling - but not linking or executing.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@32817 72102866-910b-0410-8b05-ffd578937521
2011-04-09 11:54:17 +00:00
Nicola Pero
30d30eb201
Fixed 'gnustep-config --variable=OBJCXX'
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@32812 72102866-910b-0410-8b05-ffd578937521
2011-04-08 22:59:25 +00:00
Richard Frith-MacDonald
cfb737fda4
hack to fake OBJCXX checks on systems without new autoconf
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@32770 72102866-910b-0410-8b05-ffd578937521
2011-04-04 11:33:46 +00:00
Richard Frith-MacDonald
0c71986c07
try to wor around faulty autoconf macro.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@32684 72102866-910b-0410-8b05-ffd578937521
2011-03-22 19:25:36 +00:00