Commit graph

298 commits

Author SHA1 Message Date
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
Nicola Pero
1b6aaf38e0 Disable precompiled headers on gcc 4.1
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@26977 72102866-910b-0410-8b05-ffd578937521
2008-10-27 15:53:43 +00:00
Nicola Pero
e86b337250 Fixed typo in last change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@26974 72102866-910b-0410-8b05-ffd578937521
2008-10-27 14:06:22 +00:00
Nicola Pero
be804b53cf Rewritten code that checks for threading libraries on Apple OS X; implicitly fixing --enable-native-objc-exceptions on Apple.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@26973 72102866-910b-0410-8b05-ffd578937521
2008-10-27 14:03:08 +00:00
Nicola Pero
f23afbca3f Fixed regular expression used to parse GCC version; it was failing, causing ./configure not to detect that the compiler supported auto-dependencies
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@26570 72102866-910b-0410-8b05-ffd578937521
2008-05-25 11:16:03 +00:00
Blake Nicholson
6c884cb4fa Added the --enable-absolute-install-paths option to configure on darwin. Pass
this option on to config.make and updated library.make and framework.make to
make the install_name absolute, if requested.

* configure.ac

  (--enable-absolute-install-paths): Added this option on darwin.  This is
  used to modify the dynamic library linking process so the install_name
  stored within the dynamic library is absolute.

  Also added a warning if a user specifies a filesystem other than 'apple' and
  does not enable absolute install paths to let the user know they need to set
  DYLD_LIBRARY_PATH and DYLD_FRAMEWORK_PATH.

* config.make.in

  (GNUSTEP_ABSOLUTE_INSTALL_PATHS): Added.

* Instance/library.make, Instance/framework.make

  (LIB_LINK_INSTALL_NAME): Change to an absolute path if on darwin and
  GNUSTEP_ABSOLUTE_INSTALL_PATHS is 'yes'.

* Documentation/releasenotes.texi

  Updated to reflect these changes.

* configure, RELEASENOTES

  Regenerated.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@26552 72102866-910b-0410-8b05-ffd578937521
2008-05-22 13:16:43 +00:00
Nicola Pero
96ef618a99 Install in /etc/GNUstep/GNUstep.conf on all systems except for Apple with apple-apple-apple
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@26538 72102866-910b-0410-8b05-ffd578937521
2008-05-18 18:13:34 +00:00
Nicola Pero
7f2a73decd Updated C++ and ObjC++ support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@26186 72102866-910b-0410-8b05-ffd578937521
2008-03-03 23:24:48 +00:00
Nicola Pero
245feb51ab Updated apple-apple-apple support to automatically choose a reasonable filesystem and config file on Apple Mac OS X
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@26176 72102866-910b-0410-8b05-ffd578937521
2008-03-02 18:37:50 +00:00
Nicola Pero
692208efe8 Install strict v2 GNUstep.conf file when running in strict v2 mode; improved a little the GNUmakefile.in messages
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@25950 72102866-910b-0410-8b05-ffd578937521
2008-01-15 14:35:36 +00:00
Nicola Pero
c0c25231f6 Implemented ./configure --enable-strict-v2-mode and a few other minor upgrades/changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@25949 72102866-910b-0410-8b05-ffd578937521
2008-01-14 15:22:14 +00:00