Skip to content

Commit d149d30

Browse files
committed
require xylib == 1.6
because I plan to modify API (to use C++11) in the next xylib version
1 parent e9e06c2 commit d149d30

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

configure.ac

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,11 @@ AC_CHECK_HEADER([xylib/xylib.h], [], [AC_MSG_ERROR(
9999

100100
AC_COMPILE_IFELSE(
101101
[AC_LANG_PROGRAM([@%:@include <xylib/xylib.h>], [
102-
#if XYLIB_VERSION < 10000
103-
# error "xylib >= 1.0 is required"
102+
#if XYLIB_VERSION < 10600 || XYLIB_VERSION >= 10700
103+
# error "xylib 1.6 is required"
104104
#endif
105105
])],
106-
[], [AC_MSG_ERROR([xylib >= 1.0 is not installed])])
106+
[], [AC_MSG_ERROR([xylib != 1.6 is not installed])])
107107

108108
AS_IF([test x"$LUA52_FROM_SOURCE" = xyes], [
109109
LUA_INCLUDE='-I$(top_srcdir)/fityk/lua52/src'

0 commit comments

Comments
 (0)