summaryrefslogtreecommitdiffstats
path: root/configure.in.in
blob: bfccd1eee796bc9ffe022691f93c24b49bbad0b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#MIN_CONFIG(3.1.0)

AM_INIT_AUTOMAKE(qalculate_tde, 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.6
	])
AC_SUBST(QALCULATE_CFLAGS)
AC_SUBST(QALCULATE_LIBS)

LIBS="$LIBS $QALCULATE_LIBS"
CFLAGS="$CFLAGS $QALCULATE_CFLAGS"
CPPFLAGS="$CPPFLAGS $QALCULATE_CFLAGS"
CXXFLAGS="$CXXFLAGS $USE_EXCEPTIONS"