You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#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.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"
|