summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorRene Engelhard <rene@debian.org>2018-05-03 23:55:25 +0200
committerRene Engelhard <rene@debian.org>2018-05-03 23:55:25 +0200
commit887481755949e6313e12d6e9ab04c95f84884830 (patch)
tree99390248c561c26acd583ce069286456926684d7 /configure.ac
parentf8f65d88ede1db197c35be7b0db117c321b0d180 (diff)
fix system-libnumbertext build
actually export SYSTEM_LIBNUMBERTEXT Change-Id: I758ef7ee868c5b06fc4e8ae43e6f2091925232aa
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index eda8f07c0df3..a840bed74350 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9657,6 +9657,7 @@ LIBNUMBERTEXT_CFLAGS="-DENABLE_LIBNUMBERTEXT"
libo_CHECK_SYSTEM_MODULE([libnumbertext],[LIBNUMBERTEXT],[libnumbertext >= 1.0.0])
if test "$with_system_libnumbertext" = "yes"; then
SYSTEM_LIBNUMBERTEXT_DATA=file://`$PKG_CONFIG --variable=pkgdatadir libnumbertext`
+ SYSTEM_LIBNUMBERTEXT=YES
else
AC_LANG_PUSH([C++])
save_CXXFLAGS=$CXXFLAGS
@@ -9671,6 +9672,7 @@ else
CXXFLAGS=$save_CXXFLAGS
AC_LANG_POP([C++])
fi
+AC_SUBST(SYSTEM_LIBNUMBERTEXT)
AC_SUBST(SYSTEM_LIBNUMBERTEXT_DATA)
AC_SUBST(ENABLE_LIBNUMBERTEXT)
AC_SUBST(LIBNUMBERTEXT_CFLAGS)