mirror of
https://github.com/sshlien/abcmidi.git
synced 2026-05-30 20:09:29 +00:00
- abc2midi 5.03 (April 2026): bumped #define VERSION in store.c to reflect this branch's accumulated fixes (error exit status, missing C:/R:/X: header emission, %%MIDIdef macros allowed anywhere) plus the build-system additions. - Single source of truth for the package release date: the VERSION file is now consumed by both build paths. - CMakeLists.txt reads it via file(STRINGS VERSION ABCMIDI_VERSION ...); the previously hard-coded project(VERSION 2026.02.24) (an unused PROJECT_VERSION) is dropped because the date format isn't MAJOR.MINOR.PATCH. - configure.ac uses m4_esyscmd_s([cat VERSION]) in AC_INIT, replacing the very stale hard-coded 2011-08-03. - The two build paths remain independent — no cross-generation between CMake and autoconf. - Test normalization fix (tests/run_test.cmake): the version-banner regex now requires a capitalized month and accepts a date with or without a day number. The previous regex was lowercase-permissive and silently ate PostScript lines like 0.5 setlinewidth 0 0 moveto in yaps output — tests/golden/yaps_coleraine.txt is regenerated to reflect the now-correctly-preserved PostScript. - Docs: - doc/CHANGES: April 25 2026 entry covering the version bump and VERSION-file unification. - doc/readme.txt: per-tool listing updated (abc2midi 5.03 April 2026, midistats 1.03 February 20 2026 synced to source). - doc/abc2midi.1: header label bumped to 5.03 April 2026 (content not audited). - README.md: new Maintainers / releasing section documenting the release procedure, including the requirement to run autoreconf -f so the committed configure picks up the new AC_INIT arguments.
46 lines
1.2 KiB
Plaintext
46 lines
1.2 KiB
Plaintext
# -*- Autoconf -*-
|
|
# Process this file with autoconf to produce a configure script.
|
|
|
|
AC_PREREQ([2.67])
|
|
dnl Version is read from the VERSION file at the project root — single
|
|
dnl source of truth, also consumed by CMakeLists.txt and installed as a
|
|
dnl doc file. m4_esyscmd_s strips the trailing newline.
|
|
AC_INIT([abcmidi], m4_esyscmd_s([cat VERSION]), [seymour.shlien@crc.ca])
|
|
AC_CONFIG_SRCDIR([abc.h])
|
|
AC_CONFIG_HEADERS([config.h])
|
|
|
|
# Checks for programs.
|
|
cflags_save="$CFLAGS"
|
|
AC_PROG_CC
|
|
CFLAGS="$cflags_save"
|
|
|
|
dnl This mechanism allows one to enable debug compilations...
|
|
AC_ARG_ENABLE(debug,
|
|
[ --enable-debug Enable debugging information],
|
|
USE_DEBUG="$enableval", USE_DEBUG="no")
|
|
if test $USE_DEBUG = yes ; then
|
|
CFLAGS="$CFLAGS -g"
|
|
else
|
|
CFLAGS="$CFLAGS -O2"
|
|
fi
|
|
|
|
AC_PROG_INSTALL
|
|
|
|
# Checks for libraries.
|
|
# FIXME: Replace `main' with a function in `-lm':
|
|
AC_CHECK_LIB([m], [main])
|
|
|
|
# Checks for header files.
|
|
AC_CHECK_HEADERS([stdlib.h string.h])
|
|
|
|
# Checks for typedefs, structures, and compiler characteristics.
|
|
AC_TYPE_SIZE_T
|
|
|
|
# Checks for library functions.
|
|
AC_FUNC_ERROR_AT_LINE
|
|
AC_FUNC_MALLOC
|
|
AC_CHECK_FUNCS([strcasecmp strchr])
|
|
|
|
AC_CONFIG_FILES([Makefile])
|
|
AC_OUTPUT
|