aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2010-12-09 23:06:30 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2010-12-09 23:06:30 -0500
commit659a5bde39aaf66c564d74f26764d9cad14744da (patch)
treed0553460ad95e44373e01db45cc3cabcad8d2f4c /configure.in
parent4d123d9e3253a08166d0d1924b86d6b63336f0e9 (diff)
parent09996f0b3127f75644172de75547a4dae22cb4f7 (diff)
downloadNetNuke2-659a5bde39aaf66c564d74f26764d9cad14744da.tar.gz
Merge branch 'ncurses' of http://github.com/phenex/NetNuke into ncurses
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 4d79e8d..e8bd7ef 100644
--- a/configure.in
+++ b/configure.in
@@ -26,9 +26,12 @@ AC_CHECK_LIB([pthread], [pthread_create], [],
AC_CHECK_LIB([ncurses], [initscr], [],
[AC_MSG_ERROR([required library ncurses missing])])
+
+AC_CHECK_LIB([ssl], [SSL_library_init], [],
+ [AC_MSG_ERROR([required library openssl missing])])
# Checks for header files.
-AC_CHECK_HEADERS_ONCE([fcntl.h ncurses.h stddef.h stdlib.h string.h sys/ioctl.h unistd.h])
+AC_CHECK_HEADERS_ONCE([errno.h fcntl.h linux/fs.h ncurses.h openssl/ssl.h stddef.h stdlib.h string.h sys/ioctl.h sys/syslog.h unistd.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_C_INLINE
@@ -51,7 +54,7 @@ fi
AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK
AC_FUNC_MALLOC
AC_FUNC_REALLOC
-AC_CHECK_FUNCS_ONCE([getpagesize memmove memset strchr strerror strncasecmp strrchr strstr])
+AC_CHECK_FUNCS_ONCE([getpagesize memmove memset strchr strerror strncasecmp strrchr strstr usleep])
AC_CONFIG_FILES([Makefile libsysfs/Makefile src/Makefile])