summaryrefslogtreecommitdiff
path: root/pcr/apertium/apertium-en-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-en-ca/configure.ac.patch
parent1e4284afcc1c32026ff03c8919ec8328b8f06bf9 (diff)
import more apertium files
Diffstat (limited to 'pcr/apertium/apertium-en-ca/configure.ac.patch')
-rw-r--r--pcr/apertium/apertium-en-ca/configure.ac.patch50
1 files changed, 50 insertions, 0 deletions
diff --git a/pcr/apertium/apertium-en-ca/configure.ac.patch b/pcr/apertium/apertium-en-ca/configure.ac.patch
new file mode 100644
index 000000000..a98d5fd31
--- /dev/null
+++ b/pcr/apertium/apertium-en-ca/configure.ac.patch
@@ -0,0 +1,50 @@
+--- src/apertium-en-ca-0.9.3/configure.ac.old 2014-10-06 08:20:42.497145582 +0200
++++ src/apertium-en-ca-0.9.3/configure.ac 2014-10-06 08:20:54.236332341 +0200
+@@ -12,39 +12,8 @@
+ AC_PROG_AWK
+ AC_CONFIG_HEADER([config])
+
++PKG_CHECK_MODULES(APERTIUM, apertium >= required_apertium_version, [], [PKG_CHECK_MODULES(APERTIUM, apertium-3.2 >= required_apertium_version)])
+
+-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
+
+ AC_PATH_PROG(XSLTPROC, xsltproc, no)
+ if test x$ac_cv_path_XSLTPROC = x
+@@ -55,5 +24,5 @@
+ then
+ AC_MSG_ERROR([You don't have xsltproc installed.])
+ fi
+-
++
+ AC_OUTPUT([Makefile])