aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2023-01-02 17:05:07 +0200
committerJia Tan <jiat0218@gmail.com>2023-01-05 00:29:52 +0800
commitbfba3394aed03311fe9a746d3141b2e16d8b9325 (patch)
tree1d8c59caeb1a7cad0a96443e98ac65cf2e06f68b
parentBuild: Only define HAVE_PROGRAM_INVOCATION_NAME if it is set to 1. (diff)
downloadxz-bfba3394aed03311fe9a746d3141b2e16d8b9325.tar.xz
Build: Fix config.h comments.
Diffstat (limited to '')
-rw-r--r--configure.ac2
-rw-r--r--m4/tuklib_progname.m42
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index a16031b5..a595cd98 100644
--- a/configure.ac
+++ b/configure.ac
@@ -640,7 +640,7 @@ case $enable_threads in
AC_CHECK_FUNCS([clock_gettime pthread_condattr_setclock])
AC_CHECK_DECL([CLOCK_MONOTONIC], [AC_DEFINE(
[HAVE_CLOCK_MONOTONIC], [1], [Define to 1 if
- CLOCK_MONOTONIC is declared in <time.h>])], [],
+ `CLOCK_MONOTONIC' is declared in <time.h>.])], [],
[[#include <time.h>]])
CFLAGS=$OLD_CFLAGS
;;
diff --git a/m4/tuklib_progname.m4 b/m4/tuklib_progname.m4
index 2133e327..7685d068 100644
--- a/m4/tuklib_progname.m4
+++ b/m4/tuklib_progname.m4
@@ -23,6 +23,6 @@ AC_DEFUN_ONCE([TUKLIB_PROGNAME], [
AC_REQUIRE([TUKLIB_COMMON])
AC_CHECK_DECL([program_invocation_name], [AC_DEFINE(
[HAVE_PROGRAM_INVOCATION_NAME], [1],
- [Define to 1 if PROGRAM_INVOCATION_NAME is declared in <errno.h>])],
+ [Define to 1 if `program_invocation_name' is declared in <errno.h>.])],
[], [#include <errno.h>])
])dnl