summaryrefslogtreecommitdiff
path: root/pcr/apertium/apertium-en-es/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-en-es/configure.ac.patch
parent1e4284afcc1c32026ff03c8919ec8328b8f06bf9 (diff)
import more apertium files
Diffstat (limited to 'pcr/apertium/apertium-en-es/configure.ac.patch')
-rw-r--r--pcr/apertium/apertium-en-es/configure.ac.patch49
1 files changed, 49 insertions, 0 deletions
diff --git a/pcr/apertium/apertium-en-es/configure.ac.patch b/pcr/apertium/apertium-en-es/configure.ac.patch
new file mode 100644
index 000000000..38219b361
--- /dev/null
+++ b/pcr/apertium/apertium-en-es/configure.ac.patch
@@ -0,0 +1,49 @@
+--- src/apertium-en-es-0.8.0/configure.ac.old 2014-10-06 10:34:40.274729186 +0200
++++ src/apertium-en-es-0.8.0/configure.ac 2014-10-06 10:34:47.024262162 +0200
+@@ -10,38 +10,7 @@
+ AC_PROG_AWK
+ AC_CONFIG_HEADER([config])
+
+-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)
+-])
+-
+-PKG_CHECK_APERTIUM
++PKG_CHECK_MODULES(APERTIUM, apertium >= required_apertium_version, [], [PKG_CHECK_MODULES(APERTIUM, apertium-3.2 >= required_apertium_version)])
+
+ if test $APERTIUM_VER = 10;
+ then MODES="";
+@@ -53,5 +22,5 @@
+ AC_SUBST(MODES)
+ AC_SUBST(ALTXSL)
+
+-
++
+ AC_OUTPUT([Makefile])