newsGNU Autoconf Archive - News

 
 

Noteworthy changes in release 2016.09.16 [stable]

Item posted by Peter Simons <simons> on Fri 16 Sep 2016 10:12:44 AM UTC.

The following macros were added: AX_BUILD_DATE_EPOCH, AX_CHECK_X86_FEATURES, AX_GCC_X86_CPU_SUPPORTS, AX_OPEN62541_CHECK_H, AX_OPEN62541_CHECK_LIB, and AX_LUAROCKS_ROCK.

While updating AX_CODE_COVERAGE, the variable CODE_COVERAGE_LDFLAGS was renamed to CODE_COVERAGE_LIBS.

AX_VALGRIND_CHECK has been extended considerably. In this process. the undocumented internal rule check-valgrind-tool was removed.

It checks if the host cpu supports various instruction set: mmx, sse, popcnt, avx, avx2, etc. If the instruction were supported, it would export HAVE_XXX_INSTRUCTIONS C preprocessor macros and add the instruction set flag to X86_FEATURES_CFLAGS variable. By default it would also set CFLAGS, but this can be disabled by the ACTION-IF-FOUND hook.

AX_WITH_CURSES and AX_WITH_CURSES_* macros have been modernized, in line with PKG_CHECK_MODULES's style. This change breaks the interface, but makes AX_WITH_CURSES compatible and even completely replaceable with the interface of PKG_CHECK_MODULES. Ultimately, these macros should be replaced in the future by calls to PKG_CHECK_MODULES. Variables in AX_WITH_CURSES have been renamed

  CURSES_LIB -> CURSES_LIBS CURSES_CPPFLAGS -> CURSES_CFLAGS

and for the AX_WITH_CURSES_* macros

  PANEL_LIB -> PANEL_LIBS MENU_LIB -> MENU_LIBS FORM_LIB -> FORM_LIBS

such that once the variables have been renamed in configure.ac and Makefile.am, the calls AX_WITH_CURSES and PKG_CHECK_MODULES([CURSES], [ncurses]) are completely interchangeable.

Back to the top

Powered by Savane 3.13-4448.
Corresponding source code