patchGNU Octave - Patches: patch #9972, m4 script to check for functions...

 
 

patch #9972: m4 script to check for functions in the octave

Submitter:  John Donoghue <lostbard>
Submitted:  Fri 11 Sep 2020 03:44:40 PM UTC
   
 
Category:  Forge : other Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 11 Sep 2020 03:44:40 PM UTC, original submission:  

m4 script to allow checking in configure for octave functions withut the need to use octave - mainly to provide the ability to check from a cross built target

For normal names, it looks for a matching .m and .oct file before seeing if it can match the name in PKG_ADD files and lastly as a built-in function.

For names with a '.' in them, it assumes it is a namespace or package path to a valid .m file such as +containers.Map or @ftp.mget


examples:

OCTAVE_HAS_FUNCTION([help])

OCTAVE_HAS_FUNCTION([+containers.Map])

OCTAVE_HAS_FUNCTION([@ftp.mget])

John Donoghue <lostbard>
Group Member

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #49785:  octave-funcs.m4 added by lostbard (4KiB - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by lostbard (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-09-11 lostbard Attached File- Added octave-funcs.m4, #49785

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code