forked from community-ssu/calendar-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
40 lines (32 loc) · 847 Bytes
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
AC_PREREQ([2.59])
#Package name
AC_INIT(calendar-backend, CALENDAR_BACKEND_VERSION, 0, 0, 5, 0, WERROR="no", WERROR="yes")
AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
AM_PROG_LIBTOOL
AM_CONFIG_HEADER(config.h)
AC_PROG_CC
AC_PROG_CC_STDC
AC_PROG_CXX
AM_PROG_AS
AC_SUBST(ERROR_CFLAGS)
AC_HEADER_STDC([])
AC_C_INLINE
pkg_modules="sqlite3 libical alarm dbus-1 "
PKG_CHECK_MODULES(PACKAGE, [$pkg_modules])
AC_SUBST(PACKAGE_CFLAGS)
AC_SUBST(PACKAGE_LIBS)
AC_DEFINE(NO_DEBUG_MESSAGES_PLEASE,1,[always defined])
dnl checking check
#AM_PATH_CHECK(,[have_check="yes"],
# AC_MSG_WARN([Check not found; cannot run unit tests!])
# [have_check="no"])
#AM_CONDITIONAL(HAVE_CHECK, test x"$have_check" = "xyes")
#Generate Makefile
AC_OUTPUT( calendar-backend.pc
Makefile \
src/Makefile \
caltest/Makefile \
tools/Makefile \
docs/Makefile \
include/Makefile
)