Commit graph

327 commits

Author SHA1 Message Date
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
Nicola Pero
b1bf46c277 Make --enable-absolute-install-paths the default on Darwin with gnu-gnu-gnu library-combo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@32649 72102866-910b-0410-8b05-ffd578937521
2011-03-18 21:28:24 +00:00
Nicola Pero
42ba690826 Removed obsolete gnustep-make configure options after 4 years of obsoletion/deprecation. This unclutters considerably gnustep-make's configure help
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@32572 72102866-910b-0410-8b05-ffd578937521
2011-03-14 10:34:47 +00:00
Nicola Pero
b7179b739f Updated default location of configuration file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@32571 72102866-910b-0410-8b05-ffd578937521
2011-03-14 10:16:15 +00:00
Nicola Pero
69649c1526 Tidied up filesystem layout change to use 'fhs' as default. Updated documentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@32550 72102866-910b-0410-8b05-ffd578937521
2011-03-13 14:38:12 +00:00
Richard Frith-MacDonald
96d0dc4295 bash and test portability improvment.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@32284 72102866-910b-0410-8b05-ffd578937521
2011-02-22 10:24:10 +00:00
David Chisnall
edc5a311d7 Don't depend on the existence of Object class for checking whether exceptions work.
Nicola: this test passes, but then configure decides to override the result because it thinks that my gcc won't work, even after testing that it does.  My autoconf-fu is weak, so maybe you could fix this?  I'm pretty sure the test is wrong anyway, since I was using native exceptions with the GCC runtime that shipped with 4.2.1 (the last GPLv2 version), which is <4.3, before I started working on libobjc2...



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@32043 72102866-910b-0410-8b05-ffd578937521
2011-02-10 19:06:30 +00:00
Nicola Pero
97600a0e82 Tidied up a couple of messages in configure
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@31753 72102866-910b-0410-8b05-ffd578937521
2010-12-22 16:03:52 +00:00
Richard Frith-MacDonald
14275127c9 revert recent changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@31362 72102866-910b-0410-8b05-ffd578937521
2010-09-16 14:08:16 +00:00
Richard Frith-MacDonald
6cc1db1712 bugfix, improved comments, and set native layout for darwin to be apple.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@31361 72102866-910b-0410-8b05-ffd578937521
2010-09-16 08:12:55 +00:00
Richard Frith-MacDonald
f197ef366a fix error in last commit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@31323 72102866-910b-0410-8b05-ffd578937521
2010-09-10 21:18:53 +00:00
Richard Frith-MacDonald
57e1789caa Change to more sane default filesystem layout
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@31321 72102866-910b-0410-8b05-ffd578937521
2010-09-10 16:10:10 +00:00