From 181270305768928c15fa4356417a2563d4fb2369 Mon Sep 17 00:00:00 2001 From: Dima Pasechnik Date: Sun, 15 Jun 2025 23:28:18 -0500 Subject: [PATCH] ensure autoconf 2.69 compatiblity in configure.ac As reported by @jeriedel24 [here](https://github.com/sagemath/sage/commit/7f6dd7547ecf8c4d23099842f4ad4ace5f2f3072#commitcomment-160100961) old autoconf does not correctly deal with `test` clauses split across the lines. So we fix it here --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index fb6425bdb98..e29102d7aad 100644 --- a/configure.ac +++ b/configure.ac @@ -310,8 +310,8 @@ fi AC_CHECK_HEADER(bzlib.h, [ AC_SEARCH_LIBS([BZ2_bzCompress], [bz2], [ AC_PATH_PROG([bzip2_prog], [bzip2]) - AS_IF([test x$bzip2_prog = x - ], [AC_MSG_ERROR([could not find bzip2 executable. Cf. https://doc.sagemath.org/html/en/reference/spkg/_prereq.html])]) + AS_IF([test x$bzip2_prog = x], + [AC_MSG_ERROR([could not find bzip2 executable. Cf. https://doc.sagemath.org/html/en/reference/spkg/_prereq.html])]) ], [AC_MSG_ERROR([could not find libbz2 library. Cf. https://doc.sagemath.org/html/en/reference/spkg/_prereq.html])]) ], [AC_MSG_ERROR([could not find bzlib.h - the header of libbz2 library. Cf. https://doc.sagemath.org/html/en/reference/spkg/_prereq.html]) ])