summaryrefslogtreecommitdiffstats
path: root/configure.in.in
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-04-09 15:59:57 +0200
committerSlávek Banko <slavek.banko@axis.cz>2016-04-09 15:59:57 +0200
commitee0c9d4bc3e25a409b3127be2876079f69719978 (patch)
tree04d895b486c04df1fe2e5dedb7cd5705eff06a9b /configure.in.in
downloadqalculate-tde-ee0c9d4bc3e25a409b3127be2876079f69719978.tar.gz
qalculate-tde-ee0c9d4bc3e25a409b3127be2876079f69719978.zip
Initial import of qalculate-kde 0.9.7
Diffstat (limited to 'configure.in.in')
-rw-r--r--configure.in.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/configure.in.in b/configure.in.in
new file mode 100644
index 0000000..e44a80c
--- /dev/null
+++ b/configure.in.in
@@ -0,0 +1,20 @@
+#MIN_CONFIG(3.1.0)
+
+AM_INIT_AUTOMAKE(qalculate_kde, 0.9.7)
+AC_C_BIGENDIAN
+AC_CHECK_KDEMAXPATHLEN
+
+AC_CHECK_LIB(pthread, pthread_create, [LIBS="$LIBS -lpthread"])
+
+AC_LANG([C++])
+
+PKG_CHECK_MODULES(QALCULATE, [
+ libqalculate >= 0.9.7
+ ])
+AC_SUBST(QALCULATE_CFLAGS)
+AC_SUBST(QALCULATE_LIBS)
+
+LIBS="$LIBS $QALCULATE_LIBS"
+CFLAGS="$CFLAGS $QALCULATE_CFLAGS"
+CPPFLAGS="$CPPFLAGS $QALCULATE_CFLAGS"
+CXXFLAGS="$CXXFLAGS $USE_EXCEPTIONS"