Commit graph

308 commits

Author SHA1 Message Date
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
Nicola Pero
349d50e31d Make threading configure test more robust
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@31292 72102866-910b-0410-8b05-ffd578937521
2010-09-10 11:33:49 +00:00
Nicola Pero
30c32c1b4d Updated test for native ObjC exceptions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@31242 72102866-910b-0410-8b05-ffd578937521
2010-09-06 23:28:03 +00:00
Nicola Pero
740c4a7f56 Enable ObjC exceptions by default
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@31239 72102866-910b-0410-8b05-ffd578937521
2010-09-05 23:58:03 +00:00
Richard Frith-MacDonald
a723322164 Add option to enable nonfragile abi for clang
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@29928 72102866-910b-0410-8b05-ffd578937521
2010-03-13 19:41:20 +00:00
Nicola Pero
21162acb26 Fixed typo in configure
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@29860 72102866-910b-0410-8b05-ffd578937521
2010-03-06 16:50:14 +00:00
Nicola Pero
292e009638 GNU make < 3.79.1 is no longer officially supported; parallel building does not work in older versions due to the lack of .NOTPARALLEL. Fixed typo in configure check
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@29856 72102866-910b-0410-8b05-ffd578937521
2010-03-06 15:48:40 +00:00
Nicola Pero
d0b27be8cc Turn off autodependencies on cygwin to fix building on cygwin
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@28744 72102866-910b-0410-8b05-ffd578937521
2009-09-27 09:09:54 +00:00
Nicola Pero
12d2b6d9b8 Reorganized debug flags
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@28717 72102866-910b-0410-8b05-ffd578937521
2009-09-20 10:34:39 +00:00
Nicola Pero
34aba0d7bf Fixed gnustep-make to use -lobjc_gc when GNU Objective-C garbage collection is being used
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@28154 72102866-910b-0410-8b05-ffd578937521
2009-03-30 08:12:10 +00:00
Nicola Pero
44e3a6e5cd Added --with-objc-lib-flag=xxx option to gnustep-make's configure
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@28152 72102866-910b-0410-8b05-ffd578937521
2009-03-30 07:52:37 +00:00
Nicola Pero
0d761979c2 Enable parallel building support by default. Added internal compile targets to .PHONY
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@27959 72102866-910b-0410-8b05-ffd578937521
2009-02-23 11:12:11 +00:00
Nicola Pero
17d81326f5 Implemented experimental parallel building support for tools and libraries
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@27823 72102866-910b-0410-8b05-ffd578937521
2009-02-09 11:23:24 +00:00
Nicola Pero
f3707d57c7 Use full path for install on MinGW. On all platforms, check if 'install -p' works, and use it if available. Added configure option to disable it
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@27757 72102866-910b-0410-8b05-ffd578937521
2009-02-02 16:35:21 +00:00
Adam Fedor
cd1af94aee configure.ac: Add PATH to custom objc library on MinGW (Fix for Bug #25394)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@27691 72102866-910b-0410-8b05-ffd578937521
2009-01-25 17:17:38 +00:00
Richard Frith-MacDonald
e5730cce2a Tidy and add more explanation of --enable-objc-garbage-collection
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@27576 72102866-910b-0410-8b05-ffd578937521
2009-01-12 10:58:04 +00:00
Richard Frith-MacDonald
1d2ac39fe3 Simplify an reorganise GC changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@27574 72102866-910b-0410-8b05-ffd578937521
2009-01-11 08:41:17 +00:00
Richard Frith-MacDonald
2cb8c7c2ea move towards getting gc working once more.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@27572 72102866-910b-0410-8b05-ffd578937521
2009-01-10 10:45:33 +00:00
Nicola Pero
316373cfd6 Reverted last change. New installation-domains.conf file that allows you to customize the installation domain of each piece of software in a centralized way
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@27345 72102866-910b-0410-8b05-ffd578937521
2008-12-19 12:48:59 +00:00
Nicola Pero
ef00408a11 Added new option --disable-packages to gnustep-make's configure. It allows you to change the default installation domain for core pacakages to SYSTEM
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@27332 72102866-910b-0410-8b05-ffd578937521
2008-12-18 18:37:09 +00:00