summaryrefslogtreecommitdiff
path: root/pcr/apertium/apertium-oc-ca/configure.ac.patch
diff options
context:
space:
mode:
authorGaming4JC <g4jc@openmailbox.org>2016-06-02 18:31:49 -0400
committerGaming4JC <g4jc@openmailbox.org>2016-06-02 18:31:49 -0400
commitb5b9c72ea9fc05600bfcab6569ce89ca2185d19d (patch)
treefc92b97e871bd08979ef19467f61df82944823a9 /pcr/apertium/apertium-oc-ca/configure.ac.patch
parent1e4284afcc1c32026ff03c8919ec8328b8f06bf9 (diff)
downloadabslibre-b5b9c72ea9fc05600bfcab6569ce89ca2185d19d.tar.gz
abslibre-b5b9c72ea9fc05600bfcab6569ce89ca2185d19d.tar.bz2
abslibre-b5b9c72ea9fc05600bfcab6569ce89ca2185d19d.zip
import more apertium files
Diffstat (limited to 'pcr/apertium/apertium-oc-ca/configure.ac.patch')
-rw-r--r--pcr/apertium/apertium-oc-ca/configure.ac.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/pcr/apertium/apertium-oc-ca/configure.ac.patch b/pcr/apertium/apertium-oc-ca/configure.ac.patch
new file mode 100644
index 000000000..54847cb1b
--- /dev/null
+++ b/pcr/apertium/apertium-oc-ca/configure.ac.patch
@@ -0,0 +1,34 @@
+--- ../apertium-oc-ca-1.0.5/configure.ac 2008-07-21 13:02:56.000000000 +0200
++++ apertium-oc-ca-1.0.5/configure.ac 2010-09-15 16:41:22.000000000 +0200
+@@ -11,7 +11,7 @@
+ AC_PROG_AWK
+ AC_CONFIG_HEADER([config])
+
+-AC_DEFUN(PKG_CHECK_APERTIUM, [
++AC_DEFUN([PKG_CHECK_APERTIUM], [
+ APERTIUM_VER=0
+ PKG_CHECK_MODULES(APERTIUM, apertium-1.0 >= 1.0.0,
+ [
+@@ -23,8 +23,20 @@
+ APERTIUM_VER=20
+ ],
+ [
+- PKG_CHECK_MODULES(APERTIUM, apertium-3.0 >= 3.0.0)
+- APERTIUM_VER=30
++ 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)