projects
/
collection4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
f163530
)
configure.ac: Check for yajl.
author
Florian Forster
<ff@octo.it>
Wed, 21 Jul 2010 08:51:45 +0000
(10:51 +0200)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Wed, 21 Jul 2010 08:51:45 +0000
(10:51 +0200)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
125f37b
..
ebbc6c6
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-22,12
+22,14
@@
AM_CONDITIONAL(COMPILER_IS_GCC, test "x$GCC" = "xyes")
AC_HEADER_STDC
AC_CHECK_HEADERS(stdbool.h sys/types.h sys/socket.h netdb.h)
AC_HEADER_STDC
AC_CHECK_HEADERS(stdbool.h sys/types.h sys/socket.h netdb.h)
-AC_CHECK_HEADERS(fcgiapp.h fcgi_stdio.h rrd.h, [],
+AC_CHECK_HEADERS(fcgiapp.h fcgi_stdio.h rrd.h
yajl/yajl_gen.h
, [],
[AC_MSG_ERROR(a required header file cannot be found.)])
AC_CHECK_LIB(fcgi, FCGI_Accept, [],
[AC_MSG_ERROR(cannot find libfcgi.)])
AC_CHECK_LIB(rrd_th, rrd_graph_v, [],
[AC_MSG_ERROR(cannot find librrd_th.)], [-lm])
[AC_MSG_ERROR(a required header file cannot be found.)])
AC_CHECK_LIB(fcgi, FCGI_Accept, [],
[AC_MSG_ERROR(cannot find libfcgi.)])
AC_CHECK_LIB(rrd_th, rrd_graph_v, [],
[AC_MSG_ERROR(cannot find librrd_th.)], [-lm])
+AC_CHECK_LIB(yajl, yajl_gen_alloc, [],
+ [AC_MSG_ERROR(cannot find libyajl.)])
AC_OUTPUT(Makefile share/Makefile src/Makefile)
AC_OUTPUT(Makefile share/Makefile src/Makefile)