patchGNU Autoconf Archive - Patches: patch #8195, Add AX_PROG_SCALAC

 
 

patch #8195: Add AX_PROG_SCALAC

Submitted by:  Sveinung Kvilhaugsvik <sveinung>
Submitted on:  Mon 30 Sep 2013 01:14:13 PM UTC  
 
Priority: 5 - NormalStatus: Done
Assigned to: Peter Simons <simons>Open/Closed: Closed

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 11 Oct 2013 06:25:18 PM UTC, comment #4:

Sorry for the slow response.

> What is required before it is considered support?


To be honest, I don't know. I do know the Erlang community went gungho several years back to get Erlang support in (see, e.g., http://www.gnu.org/software/autoconf/manual/autoconf.html#Erlang-Compiler-and-Interpreter).

> What are the requirements for something to go into mainline autoconf?


Similarly no idea.

This is totally unfamiliar stuff to me. I was noticing that you'd spent some time on all-things-Scala and wondered if a concerted effort at getting Scala support into Autoconf might be a better investment of time instead of getting it into the Macro archive.

> Please note that the Scala support uses the Java support in the autoconf archive.


I suspect that this is a deal breaker on pushing things towards Autoconf if managing a Scala build/runtime environment depends on Java build/runtime that Autoconf currently lacks.

Anyhow, sorry to throw a wrench in things. Thanks for the contributions.

Rhys Ulerich <rhysu>
Project Member
Thu 03 Oct 2013 06:53:37 PM UTC, comment #3:

Peter Simons <simons>: Thank you for committing my patches.

Rhys Ulerich <rhysu>: I'm new to Autotools so before I can answer I need to know a bit more.

> Is this the beginnings of Scala support?

What is required before it is considered support? In patch #8197 support for detecting the Scala Standard Library is added. By adding it to Java's classpath Java can run Scala programs. I also plan to add support for detecting Scala installed in a single folder (common when not installed via a distro package) and the scala binary (that can run compiled Scala classes without adding the Scala Standard Libray to the classpath.

> Could this better go into mainline autoconf as Erlang has?

I have no idea. What are the requirements for something to go into mainline autoconf? Please note that the Scala support uses the Java support in the autoconf archive.

Sveinung Kvilhaugsvik <sveinung>
Thu 03 Oct 2013 05:41:55 PM UTC, comment #2:

Is this the beginnings of Scala support? Could this better go into mainline autoconf as Erlang has?

Rhys Ulerich <rhysu>
Project Member
Thu 03 Oct 2013 05:14:28 PM UTC, comment #1:

Pushed in commit 311b2e6. Thank you very much for the patch!

Peter Simons <simons>
Project AdministratorIn charge of this item.
Mon 30 Sep 2013 01:14:13 PM UTC, original submission:

AX_PROG_SCALAC will check that a scala compiler is available, that it works and set SCALAC for the Makefile. It will search the path for a Scala compiler. To choose another compiler use the environment variable SCALAC.

Author: Sveinung Kvilhaugsvik <sveinung84@users.sourceforge.net>
License: Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.

PS! I'm currently trying to learn autoconf and would like feed back. If you find an issue, even if it is so small you normally would ignore it, please let me know.

Sveinung Kvilhaugsvik <sveinung>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rhysu (Posted a comment)
  • -unavailable- added by simons (Posted a comment)
  • -unavailable- added by sveinung (Submitted the item)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 27 Oct 2013 10:30:29 AM UTCsimonsStatusReady For Test=>Done
      Open/ClosedOpen=>Closed
    Thu 03 Oct 2013 05:14:28 PM UTCsimonsStatusNone=>Ready For Test
      Assigned toNone=>simons
    Mon 30 Sep 2013 01:14:13 PM UTCsveinungAttached File-=>Added 0004-Add-support-for-detecting-a-Scala-compiler.patch, #29267

    Back to the top


    Powered by Savane 3.1-cleanup