projects
/
trust_router.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c17a2b7
)
Emit error message in configure for more missing libraries
author
Jennifer Richards
<jennifer@painless-security.com>
Fri, 1 Jun 2018 21:03:20 +0000
(21:03 +0000)
committer
Jennifer Richards
<jennifer@painless-security.com>
Fri, 1 Jun 2018 21:03:37 +0000
(21:03 +0000)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
c27cf5e
..
b3d9b27
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-20,13
+20,13
@@
AC_PROG_CC
AM_CONDITIONAL(HAVE_SYSTEMD, [test -n "$with_systemdsystemunitdir" -a "x$with_systemdsystemunitdir" != xno ])
PKG_CHECK_MODULES([GLIB], [glib-2.0])
AM_CONDITIONAL(HAVE_SYSTEMD, [test -n "$with_systemdsystemunitdir" -a "x$with_systemdsystemunitdir" != xno ])
PKG_CHECK_MODULES([GLIB], [glib-2.0])
-AC_CHECK_LIB([gssapi_krb5], [gss_init_sec_context])
+AC_CHECK_LIB([gssapi_krb5], [gss_init_sec_context]
,,[AC_MSG_ERROR([Please install libkrb5 development])]
)
AC_CHECK_LIB([com_err], [error_message])
AC_CHECK_LIB(talloc, talloc_init,,
[AC_MSG_ERROR([Please install talloc development])])
AC_CHECK_LIB([sqlite3], [sqlite3_open],,
[AC_MSG_ERROR([Please install sqlite3 development])])
AC_CHECK_LIB([com_err], [error_message])
AC_CHECK_LIB(talloc, talloc_init,,
[AC_MSG_ERROR([Please install talloc development])])
AC_CHECK_LIB([sqlite3], [sqlite3_open],,
[AC_MSG_ERROR([Please install sqlite3 development])])
-AC_CHECK_LIB([jansson], [json_object])
+AC_CHECK_LIB([jansson], [json_object]
,,[AC_MSG_ERROR([Please install libjansson development])]
)
AC_CHECK_LIB([crypto], [DH_new])
AC_CHECK_LIB([event], [event_base_new],,[AC_MSG_ERROR([Please install libevent development])])
AC_CHECK_HEADERS(gssapi.h gssapi_ext.h jansson.h talloc.h openssl/dh.h openssl/bn.h syslog.h event2/event.h)
AC_CHECK_LIB([crypto], [DH_new])
AC_CHECK_LIB([event], [event_base_new],,[AC_MSG_ERROR([Please install libevent development])])
AC_CHECK_HEADERS(gssapi.h gssapi_ext.h jansson.h talloc.h openssl/dh.h openssl/bn.h syslog.h event2/event.h)