From ac660b80fd50cddbfb8605ed18a8229b76a9858e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sat, 22 Feb 2020 21:19:26 +0100 Subject: [PATCH] build-sys: rename automake variable to match define name Just to make things a bit more consistent. Signed-off-by: Karel Zak --- configure.ac | 4 ++-- lib/Makemodule.am | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 28852e6d94..ef4e3746be 100644 --- a/configure.ac +++ b/configure.ac @@ -329,8 +329,8 @@ AC_CHECK_HEADERS([security/openpam.h], [], [], [ ]) AC_CHECK_HEADERS([langinfo.h], - [AM_CONDITIONAL([HAVE_LANGINFO], [true])], - [AM_CONDITIONAL([HAVE_LANGINFO], [false])]) + [AM_CONDITIONAL([HAVE_LANGINFO_H], [true])], + [AM_CONDITIONAL([HAVE_LANGINFO_H], [false])]) AC_MSG_CHECKING([whether langinfo.h defines ALTMON_x constants]) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ diff --git a/lib/Makemodule.am b/lib/Makemodule.am index 16a77e3b4a..c9adf3faa0 100644 --- a/lib/Makemodule.am +++ b/lib/Makemodule.am @@ -40,7 +40,7 @@ if USE_PLYMOUTH_SUPPORT libcommon_la_SOURCES += lib/plymouth-ctrl.c endif -if !HAVE_LANGINFO +if !HAVE_LANGINFO_H libcommon_la_SOURCES += lib/langinfo.c endif -- 2.47.3