patchGNU Octave - Patches: patch #9410, general autoconf macro for...

 
 

patch #9410: general autoconf macro for alternative symbols in Octave

Submitted by:  Olaf Till <i7tiol>
Submitted on:  Mon 17 Jul 2017 02:14:05 PM UTC  
 
Category:  Forge : new feature Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Wed 19 Jul 2017 07:27:30 AM UTC, comment #2:

Related thread on the mailing list:
http://octave.1599824.n4.nabble.com/macro-for-building-packages-with-different-Octave-versions-td4684137.html

Julien Bect <jbect>
Mon 17 Jul 2017 02:50:10 PM UTC, comment #1:

For using autoheader with a package, for older Octave versions this line should be in src/configure.ac to avoid warnings for redefinitions of autoheader-generated preprocessor symbols:

AH_TOP([#include "undef-ah-octave.h"])

undef-ah-octave.h is attached.

(file #41224)

Olaf Till <i7tiol>
Project Member
Mon 17 Jul 2017 02:14:05 PM UTC, original submission:

The attached autoconf macro simplifies using symbol alternatives of different Octave versions. An explanation is contained in the file.

The second attachment contains an example call to the macro.

The files are meant to be published at Octave Forge as utilities for package maintainers.

Comments and improvements are welcome.

Olaf Till <i7tiol>
Project Member

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #41224:  undef-ah-octave.h added by i7tiol (454B - text/x-chdr)
file #41221:  octave-forge.m4 added by i7tiol (3KiB - application/x-m4)
file #41222:  example-OF_OCTAVE_LIST_ALT_SYMS added by i7tiol (2KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jbect (Posted a comment)
  • -email is unavailable- added by i7tiol (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-07-17 i7tiol Attached File- => Added undef-ah-octave.h, #41224
    2017-07-17 i7tiol Attached File- => Added octave-forge.m4, #41221
        Attached File- => Added example-OF_OCTAVE_LIST_ALT_SYMS, #41222

    Back to the top


    Powered by Savane 3.3