Author: rfm
Date: Wed Mar  2 14:16:22 2016
New Revision: 39442

URL: http://svn.gna.org/viewcvs/gnustep?rev=39442&view=rev
Log:
mprove compiler selection and add mechanism for turning on ARC for a build

Modified:
    tools/make/trunk/ChangeLog
    tools/make/trunk/configure
    tools/make/trunk/configure.ac
    tools/make/trunk/library-combo.make

Modified: tools/make/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/tools/make/trunk/ChangeLog?rev=39442&r1=39441&r2=39442&view=diff
==============================================================================
--- tools/make/trunk/ChangeLog  (original)
+++ tools/make/trunk/ChangeLog  Wed Mar  2 14:16:22 2016
@@ -1,9 +1,19 @@
+2016-03-02 Richard Frith-Macdonald <[email protected]>
+
+       * configure.ac: Improve selection of clang when 'ng' runtime library
+       is selected.
+       * configure: Regenerate.
+       * library-combo.make: Add support for ARC with the 'ng' runtime
+       setting.  Enabled by defining GS_WITH_ARC=1 at the start of the
+       GNUmakefile or in the environment or in the 'make' arguments.
+
 2016-03-02 Niels Grewe <[email protected]>
+
        * Master/documentation.make:
-       Support skipping the documentation build if skip_documentation=yes
+       Support skipping the documentation build if documentation=no
        is supplied
        * Documentation/gnustep-make.texi:
-       Document the new skip_documentation feature (and messages=yes, which
+       Document the new documentation=no feature (and messages=yes, which
        as also missing).
 
 2015-12-11 23:34-EST Gregory John Casamento <[email protected]>

Modified: tools/make/trunk/configure
URL: 
http://svn.gna.org/viewcvs/gnustep/tools/make/trunk/configure?rev=39442&r1=39441&r2=39442&view=diff
==============================================================================
--- tools/make/trunk/configure  (original)
+++ tools/make/trunk/configure  Wed Mar  2 14:16:22 2016
@@ -1588,6 +1588,8 @@
    binaries that support multiple library combos.  In that case,
    this flag will only configure the default one, but you can still
    use other ones at run-time.
+   Please use 'ng-gnu-gnu' to build with 'next generation' cutting edge
+   runtime and compile time featured (requires a recent version of clang).
 
 
 --with-tar

Modified: tools/make/trunk/configure.ac
URL: 
http://svn.gna.org/viewcvs/gnustep/tools/make/trunk/configure.ac?rev=39442&r1=39441&r2=39442&view=diff
==============================================================================
--- tools/make/trunk/configure.ac       (original)
+++ tools/make/trunk/configure.ac       Wed Mar  2 14:16:22 2016
@@ -89,6 +89,8 @@
    binaries that support multiple library combos.  In that case,
    this flag will only configure the default one, but you can still
    use other ones at run-time.
+   Please use 'ng-gnu-gnu' to build with 'next generation' cutting edge
+   runtime and compile time featured (requires a recent version of clang).
 ],
 ac_cv_library_combo=$withval,
 ac_cv_library_combo=$ac_cv_library_combo

Modified: tools/make/trunk/library-combo.make
URL: 
http://svn.gna.org/viewcvs/gnustep/tools/make/trunk/library-combo.make?rev=39442&r1=39441&r2=39442&view=diff
==============================================================================
--- tools/make/trunk/library-combo.make (original)
+++ tools/make/trunk/library-combo.make Wed Mar  2 14:16:22 2016
@@ -110,10 +110,16 @@
   OBJC_LIBS = $(OBJC_LIB_FLAG) -fobjc-nonfragile-abi
   RUNTIME_FLAG = -fobjc-runtime=gnustep-1.8 -fblocks -fno-objc-legacy-dispatch
   RUNTIME_DEFINE = -DGNUSTEP_RUNTIME=1 -D_NONFRAGILE_ABI=1
-  # By default we enable ARC for ng code, but projects may disable it
-  # by defining GS_WITH_ARC=0 at the start of their GNUmakefile
+  # Projects may control the use of ARC by defining GS_WITH_ARC=1
+  # or GS_WITH_ARC=0 at the start of their GNUmakefile, or in the environment,
+  # or as an argument to the 'make' command.
+  # The default behavior is not to use ARC, unless GNUSTEP_NG_ARC is
+  # set to 1 (perhaps in the GNUstep config file; GNUstep.conf).
+  #
   ifeq ($(GS_WITH_ARC),)
-    GS_WITH_ARC = 1
+    ifeq ($(GNUSTEP_NG_ARC), 1)
+      GS_WITH_ARC=1
+    endif
   endif
   ifeq ($(GS_WITH_ARC), 1)
     RUNTIME_FLAG += -fobjc-arc


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to