From 93a536656b32580851ff1d46a4299e9ba9004ee3 Mon Sep 17 00:00:00 2001 From: Christian Hohnstaedt Date: Tue, 11 Aug 2020 07:39:23 +0200 Subject: [PATCH] Close #213: configure.ac: add description to AC_DEFINE_UNQUOTED Some distributions use the autoheader command to generate and overwrite the local.h file. In contrast to autoconf, autoheader insists on the "description" argument in AC_DEFINE_UNQUOTED(), so add it. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 9a541b4a..90aa95b9 100644 --- a/configure.ac +++ b/configure.ac @@ -5,7 +5,7 @@ AC_INIT([X Certificate and Key management], [http://xca.hohnstaedt.de]) ITERATION="$(cd "$srcdir" && git describe 2>/dev/null | sed -n 's/.*-\(@<:@0-9@:>@*\)-g.*/.\1/p')" AC_SUBST([ITERATION]) -AC_DEFINE_UNQUOTED([VERSION_ITERATION], ["${ITERATION}"]) +AC_DEFINE_UNQUOTED([VERSION_ITERATION], ["${ITERATION}"], [Development iteration]) AC_MSG_NOTICE([ ***************************************************]) AC_MSG_NOTICE([ * ${PACKAGE_NAME} ${PACKAGE_VERSION}${ITERATION}]) AC_MSG_NOTICE([ ***************************************************])