From 89e5e2b2946de11c6e75ea8653bd410757dcbc6d Mon Sep 17 00:00:00 2001 From: me_desk Date: Sun, 2 Sep 2012 12:23:13 +0000 Subject: fail in configure script if OpenSSL libraries are not found git-svn-id: svn://localhost/project_picapica/trunk@197 fb96df88-216d-11de-830c-f3023f12d8ac --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 5734374..b8c5c12 100644 --- a/configure.ac +++ b/configure.ac @@ -12,8 +12,8 @@ AC_PROG_CXX AC_PROG_INSTALL # Checks for common libraries, required by both pica-node and pica-client -AC_CHECK_LIB([crypto], [RAND_add],[],[],[ -ldl -lz ]) -AC_CHECK_LIB([ssl], [SSL_library_init],[],[], [ -lcrypto -ldl -lz ]) +AC_CHECK_LIB([crypto], [RAND_add],[],[AC_MSG_ERROR(["libcrypto from OpenSSL package not found"])],[ -ldl -lz ]) +AC_CHECK_LIB([ssl], [SSL_library_init],[],[AC_MSG_ERROR(["libssl from OpenSSL package not found"])], [ -lcrypto -ldl -lz ]) #checking if pica-node is disabled -- cgit v1.2.1