summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorRene Engelhard <rene@debian.org>2018-05-04 10:55:42 +0200
committerRene Engelhard <rene@debian.org>2018-05-04 10:56:16 +0200
commit672501c91feab21824e77f3087dc3e69a14f5f0b (patch)
tree5b31f6abd2007c6c0f4d688e92aa9b731dc9f4e2 /configure.ac
parente046c36776503f2dc934891412a8019c62530e03 (diff)
set -DENABLE_LIBNJUMBERTEXT after pkg-config
so that we don't "loose" the pkg-config --cflags info. That also makes the #ifdef in lingucomponent/source/numbertext/numbertext.cxx not needed anymore Change-Id: Ia5771859a4a181f1a8a450d9ad4130b1e53abf8e
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index a840bed74350..657c11001367 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9653,8 +9653,8 @@ dnl ===================================================================
dnl Checking for libnumbertext
dnl ===================================================================
ENABLE_LIBNUMBERTEXT=TRUE
-LIBNUMBERTEXT_CFLAGS="-DENABLE_LIBNUMBERTEXT"
libo_CHECK_SYSTEM_MODULE([libnumbertext],[LIBNUMBERTEXT],[libnumbertext >= 1.0.0])
+LIBNUMBERTEXT_CFLAGS="$LIBNUMBERTEXT_CFLAGS -DENABLE_LIBNUMBERTEXT"
if test "$with_system_libnumbertext" = "yes"; then
SYSTEM_LIBNUMBERTEXT_DATA=file://`$PKG_CONFIG --variable=pkgdatadir libnumbertext`
SYSTEM_LIBNUMBERTEXT=YES