]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
autotools: fix librtas check
authorKarel Zak <kzak@redhat.com>
Mon, 9 Oct 2023 10:15:20 +0000 (12:15 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 9 Oct 2023 10:15:20 +0000 (12:15 +0200)
Fixes: https://github.com/util-linux/util-linux/discussions/2527
Signed-off-by: Karel Zak <kzak@redhat.com>
configure.ac

index 615639c1cdb4bc34e4522cc7897f7be8a71f5d3f..a32ce7dcacf1d4e4e96bd69a938ea466a01f0de4 100644 (file)
@@ -716,7 +716,7 @@ AS_IF([test x"$have_timer" = xno], [
 
 AC_CHECK_LIB([rtas], [rtas_get_sysparm], [
        RTAS_LIBS="-lrtas"
-       AC_DEFINE_UNQUOTED([HAVE_LIBRTAS], [1], [Define if librtas exists]), [],
+       AC_DEFINE_UNQUOTED([HAVE_LIBRTAS], [1], [Define if librtas exists])
 ])
 AC_SUBST([RTAS_LIBS])