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


patch #7587: Enhanced checking for Curses

Submitted by:  John Zaitseff <zaitseff>
Submitted on:  Thu 28 Jul 2011 01:12:53 PM UTC  
Priority: 5 - NormalStatus: Done
Assigned to: Peter Simons <simons>Open/Closed: Closed

Add a New Comment(Rich Markup)

You are not logged in

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


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>
Project AdministratorIn charge of this item.
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 File(s):

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
  • -unavailable- added by simons (Posted a comment)
  • -unavailable- added by simons
  • -unavailable- added by simons
  • -unavailable- added by zaitseff (Submitted the item)
  • -unavailable- added by zaitseff

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



    Follow 10 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 14 Aug 2011 11:31:16 AM UTCsimonsStatusReady For Test=>Done
    Thu 28 Jul 2011 05:35:51 PM UTCsimonsStatusNone=>Ready For Test
      Assigned toNone=>simons
      Carbon-Copy-=>Added mark pulford
      Carbon-Copy-=>Added damian pietras
    Thu 28 Jul 2011 01:12:53 PM UTCzaitseffAttached 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.1-cleanup1