patchGNU Autoconf Archive - Patches: patch #7587, Enhanced checking for Curses

 
 

patch #7587: Enhanced checking for Curses

Submitter:  John Zaitseff <zaitseff>
Submitted:  Thu 28 Jul 2011 01:12:53 PM UTC
   
 
Priority:  5 - Normal Status:  Done
Assigned to:  simons Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 28 Jul 2011 05:35:51 PM UTC, comment #1: 

Your patch has been applied in 61c0c244e11d22ed5dc9a03895771309a515e482. Thank you very much!

Peter Simons <simons>
Group administrator
Thu 28 Jul 2011 01:12:53 PM UTC, original submission:  

I have completely rewritten the AX_WITH_CURSES macro, and added the macros AX_WITH_CURSES_PANEL, AX_WITH_CURSES_MENU and AX_WITH_CURSES_FORM, for the following reasons:

  • The checks are far more rigorous and now work with many more systems.  In particular, Debian Sid, Debian 6.0 (Squeeze), Ubuntu 11.04 (Natty), Ubuntu 10.04 (Lucid), Fedora 15, FreeBSD 8.2 and Cygwin have all been confirmed as working.
  • The old version required Ncurses to be present even when linking with NcursesW.  This has been fixed.
  • Multiple header filenames are checked for each library as these seem to be different in every system.  The old version did not do these checks and hence failed on many systems (eg, FreeBSD and Cygwin).
  • A number of feature checks have been added: X/Open Enhanced functionality checks, colour function checks, obsolete function checks, etc.
  • The additional macros check for auxiliary libraries associated with Curses: Panel, Menu and Form, again with checks against NcursesW, Ncurses and plain Curses.
  • Extensive documentation has been added, particularly useful for the beginner (ie, exactly what needs to be put where for a working Curses check).


Given this list of features and bug-fixes, please accept the new versions into the Autoconf Archive.  I have included a diff against the current git HEAD, as well as the full files.  I am already using these macros in one of my own projects, so I can verify that they do work :-)  Thanks!

Yours truly,

John Zaitseff

John Zaitseff <zaitseff>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #23709:  ax_with_curses.m4 added by zaitseff (24KiB - application/x-m4)
file #23710:  ax_with_curses_extra.m4 added by zaitseff (9KiB - application/x-m4)

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Follow 10 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-08-14 simons StatusReady For Test Done
        Open/ClosedOpen Closed
    2011-07-28 simons StatusNone Ready For Test
        Assigned toNone simons
        Carbon-Copy- Added mark pulford <mark@kyne.com.au>
        Carbon-Copy- Added damian pietras <daper@daper.net>
    2011-07-28 zaitseff Attached File- Added autoconf-archive-JNZ-1.diff, #23708
        Attached File- Added ax_with_curses.m4, #23709
        Attached File- Added ax_with_curses_extra.m4, #23710
        Carbon-Copy- Added zaitseff

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code