diff options
author | Gaming4JC <g4jc@openmailbox.org> | 2016-06-02 18:31:49 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@openmailbox.org> | 2016-06-02 18:31:49 -0400 |
commit | b5b9c72ea9fc05600bfcab6569ce89ca2185d19d (patch) | |
tree | fc92b97e871bd08979ef19467f61df82944823a9 /pcr/apertium/apertium-cy-en/configure.ac.patch | |
parent | 1e4284afcc1c32026ff03c8919ec8328b8f06bf9 (diff) |
import more apertium files
Diffstat (limited to 'pcr/apertium/apertium-cy-en/configure.ac.patch')
-rw-r--r-- | pcr/apertium/apertium-cy-en/configure.ac.patch | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/pcr/apertium/apertium-cy-en/configure.ac.patch b/pcr/apertium/apertium-cy-en/configure.ac.patch new file mode 100644 index 000000000..a3bde0a18 --- /dev/null +++ b/pcr/apertium/apertium-cy-en/configure.ac.patch @@ -0,0 +1,65 @@ +--- ../apertium-cy-en-0.1.0/configure.ac 2008-08-01 10:21:25.000000000 +0200 ++++ apertium-cy-en-0.1.0/configure.ac 2010-09-15 17:34:36.000000000 +0200 +@@ -10,8 +10,60 @@ + AC_PROG_AWK + AC_CONFIG_HEADER([config]) + +-PKG_CHECK_MODULES(LTTOOLBOX, lttoolbox-3.0 >= 3.0.3) +-PKG_CHECK_MODULES(APERTIUM, apertium-3.0 >= 3.0.9) ++m4_define([required_apertium_version], [3.0.3]) ++m4_define([required_lttolbox_version], [3.0.9]) ++ ++AC_DEFUN([PKG_CHECK_APERTIUM], [ ++ APERTIUM_VER=0 ++ PKG_CHECK_MODULES(APERTIUM, apertium-1.0 >= 1.0.0, ++ [ ++ APERTIUM_VER=10 ++ ], ++ [ ++ PKG_CHECK_MODULES(APERTIUM, apertium-2.0 >= 2.0.0, ++ [ ++ APERTIUM_VER=20 ++ ], ++ [ ++ PKG_CHECK_MODULES(APERTIUM, apertium-3.0 >= 3.0.0, ++ [ ++ APERTIUM_VER=30 ++ ], ++ [ ++ PKG_CHECK_MODULES(APERTIUM, apertium-3.1 >= 3.1.0, ++ [ ++ APERTIUM_VER=31 ++ ], ++ [ ++ PKG_CHECK_MODULES(APERTIUM, apertium-3.2 >= 3.2.0) ++ APERTIUM_VER=32 ++ ]) ++ ]) ++ ]) ++ ]) ++ AC_SUBST(APERTIUM_VER) ++]) ++AC_DEFUN([PKG_CHECK_LTTOOLBOX], [ ++ LTTOOLBOX_VER=0 ++ PKG_CHECK_MODULES(LTTOOLBOX, lttoolbox-3.0 >= 3.0.0, ++ [ ++ LTTOOLBOX_VER=30 ++ ], ++ [ ++ PKG_CHECK_MODULES(LTTOOLBOX, lttoolbox-3.1 >= 3.1.0, ++ [ ++ LTTOOLBOX_VER=31 ++ ], ++ [ ++ PKG_CHECK_MODULES(LTTOOLBOX, lttoolbox-3.2 >= 3.2.0) ++ LTTOOLBOX_VER=32 ++ ]) ++ ]) ++ AC_SUBST(LTTOOLBOX_VER) ++]) ++ ++PKG_CHECK_APERTIUM ++PKG_CHECK_LTTOOLBOX + + APERTIUM_VER=30 + |