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
|