Skip to content

Commit 1812703

Browse files
authored
ensure autoconf 2.69 compatiblity in configure.ac
As reported by @jeriedel24 [here](7f6dd75#commitcomment-160100961) old autoconf does not correctly deal with `test` clauses split across the lines. So we fix it here
1 parent 11baeed commit 1812703

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,8 +310,8 @@ fi
310310
AC_CHECK_HEADER(bzlib.h, [
311311
AC_SEARCH_LIBS([BZ2_bzCompress], [bz2], [
312312
AC_PATH_PROG([bzip2_prog], [bzip2])
313-
AS_IF([test x$bzip2_prog = x
314-
], [AC_MSG_ERROR([could not find bzip2 executable. Cf. https://doc.sagemath.org/html/en/reference/spkg/_prereq.html])])
313+
AS_IF([test x$bzip2_prog = x],
314+
[AC_MSG_ERROR([could not find bzip2 executable. Cf. https://doc.sagemath.org/html/en/reference/spkg/_prereq.html])])
315315
], [AC_MSG_ERROR([could not find libbz2 library. Cf. https://doc.sagemath.org/html/en/reference/spkg/_prereq.html])])
316316
], [AC_MSG_ERROR([could not find bzlib.h - the header of libbz2 library. Cf. https://doc.sagemath.org/html/en/reference/spkg/_prereq.html])
317317
])

0 commit comments

Comments
 (0)