]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
build-sys: rename automake variable to match define name
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 22 Feb 2020 20:19:26 +0000 (21:19 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 10 Mar 2020 09:53:15 +0000 (10:53 +0100)
Just to make things a bit more consistent.

Signed-off-by: Karel Zak <kzak@redhat.com>
configure.ac
lib/Makemodule.am

index 28852e6d946436f46f13ab3c9a2f45c10be3fb9f..ef4e3746be0b21475d7dd42196b4cfab4f2bf490 100644 (file)
@@ -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([[
index 16a77e3b4ab117fa9be992575454217896b6ab2f..c9adf3faa0b36f218bd02e06720760971b5571fa 100644 (file)
@@ -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