-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathconfigure.ac
More file actions
36 lines (26 loc) · 741 Bytes
/
configure.ac
File metadata and controls
36 lines (26 loc) · 741 Bytes
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
AC_INIT([liboauth2-sts],[4.1.0dev],[hans.zandbelt@openidc.com])
AM_INIT_AUTOMAKE([foreign no-define subdir-objects])
AC_CONFIG_MACRO_DIRS([m4])
LT_INIT([dlopen])
AC_PROG_CC
AX_CODE_COVERAGE
PKG_CHECK_MODULES(XML, libxml-2.0 >= 2.4)
AC_SUBST(XML_CFLAGS)
AC_SUBST(XML_LIBS)
PKG_CHECK_MODULES(OAUTH2, liboauth2 >= 2.1.0)
AC_SUBST(OAUTH2_CFLAGS)
AC_SUBST(OAUTH2_LIBS)
PKG_CHECK_MODULES([CHECK],
[check >= 0.9.4],
[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")
AC_SUBST(CHECK_CFLAGS)
AC_SUBST(CHECK_LIBS)
# Create Makefile from Makefile.in
AC_CONFIG_FILES([
Makefile
])
AC_OUTPUT