From: Zbigniew Jędrzejewski-Szmek Date: Sat, 22 Feb 2020 20:19:26 +0000 (+0100) Subject: build-sys: rename automake variable to match define name X-Git-Tag: v2.36-rc1~186 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ac660b80fd50cddbfb8605ed18a8229b76a9858e;p=thirdparty%2Futil-linux.git build-sys: rename automake variable to match define name Just to make things a bit more consistent. Signed-off-by: Karel Zak --- 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