Showing
1 changed file
with
6 additions
and
3 deletions
@@ -17,9 +17,12 @@ AC_PROG_LIBTOOL | @@ -17,9 +17,12 @@ AC_PROG_LIBTOOL | ||
17 | AM_PROG_CC_C_O | 17 | AM_PROG_CC_C_O |
18 | 18 | ||
19 | # Checks for libraries. | 19 | # Checks for libraries. |
20 | -AC_CHECK_LIB([mcrypt], [mcrypt_module_open]) | ||
21 | -AC_CHECK_LIB([mhash], [mhash_keygen]) | ||
22 | -AC_CHECK_LIB([json], [json_object_new_object]) | 20 | +AC_CHECK_LIB([mcrypt], [mcrypt_module_open], [], |
21 | + [AC_MSG_ERROR([libmcrypt not found], [1])]) | ||
22 | +AC_CHECK_LIB([mhash], [mhash_keygen], [], | ||
23 | + [AC_MSG_ERROR([libmhash not found], [1])]) | ||
24 | +AC_CHECK_LIB([json], [json_object_new_object], [], | ||
25 | + [AC_MSG_ERROR([json-c library not found], [1])]) | ||
23 | 26 | ||
24 | # Checks for header files. | 27 | # Checks for header files. |
25 | AC_CHECK_HEADERS([fcntl.h limits.h stddef.h stdlib.h string.h]) | 28 | AC_CHECK_HEADERS([fcntl.h limits.h stddef.h stdlib.h string.h]) |
Please
register
or
login
to post a comment