1 --- ../apertium-cy-en-0.1.0/configure.ac 2008-08-01 10:21:25.000000000 +0200
2 +++ apertium-cy-en-0.1.0/configure.ac 2010-09-15 17:34:36.000000000 +0200
5 AC_CONFIG_HEADER([config])
7 -PKG_CHECK_MODULES(LTTOOLBOX, lttoolbox-3.0 >= 3.0.3)
8 -PKG_CHECK_MODULES(APERTIUM, apertium-3.0 >= 3.0.9)
9 +m4_define([required_apertium_version], [3.0.3])
10 +m4_define([required_lttolbox_version], [3.0.9])
12 +AC_DEFUN([PKG_CHECK_APERTIUM], [
14 + PKG_CHECK_MODULES(APERTIUM, apertium-1.0 >= 1.0.0,
19 + PKG_CHECK_MODULES(APERTIUM, apertium-2.0 >= 2.0.0,
24 + PKG_CHECK_MODULES(APERTIUM, apertium-3.0 >= 3.0.0,
29 + PKG_CHECK_MODULES(APERTIUM, apertium-3.1 >= 3.1.0,
34 + PKG_CHECK_MODULES(APERTIUM, apertium-3.2 >= 3.2.0)
40 + AC_SUBST(APERTIUM_VER)
42 +AC_DEFUN([PKG_CHECK_LTTOOLBOX], [
44 + PKG_CHECK_MODULES(LTTOOLBOX, lttoolbox-3.0 >= 3.0.0,
49 + PKG_CHECK_MODULES(LTTOOLBOX, lttoolbox-3.1 >= 3.1.0,
54 + PKG_CHECK_MODULES(LTTOOLBOX, lttoolbox-3.2 >= 3.2.0)
58 + AC_SUBST(LTTOOLBOX_VER)