From ab4628e756ab73d8193ed62b591417dad561b298 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sat, 17 Feb 2024 21:13:24 +0100 Subject: Fix optional compilation of lzo compressors - Simple fixup in autoconf.ac - Make compilation of jffsX-utils compr_lzo.c optional. Simply don't compile it if we built without LZO and remove the place holders. They are not used anyway if we build without LZO. Signed-off-by: David Oberhollenzer --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index fdd9c3c..0751b3b 100644 --- a/configure.ac +++ b/configure.ac @@ -198,7 +198,7 @@ AS_IF([test -z "$LZO_LIBS" -a "x$with_lzo" != "xno"], [ ) ], []) -AS_IF([test -z "$LZO_LIBS"], [AS_IF([test "x$with_lzo" != "xcheck"], +AS_IF([test -z "$LZO_LIBS"], [AS_IF([test "x$with_lzo" = "xyes"], [AC_MSG_ERROR([cannot find liblzo])], [with_lzo="no"])], [with_lzo="yes"]) -- cgit v1.2.3