Commit 9ac1eb94 authored by Matteo Quintiliani's avatar Matteo Quintiliani

Minor change for some AC_CHECK_LIB and added check for function memmove

git-svn-id: file:///home/quintiliani/svncopy/nmxptool/trunk@1393 3cd66e75-5955-46cb-a940-c26e5fc5497d
parent 748ab82c
......@@ -58,18 +58,13 @@ AC_PROG_MAKE_SET
# Checks for libraries.
AC_SEARCH_LIBS(socket, socket, ,
[AC_CHECK_LIB(nsl, socket, LIBS="$LIBS -lsocket -lnsl", , -lsocket)])
AC_CHECK_LIB(nsl, socket, LIBS="$LIBS -lsocket -lnsl", , -lsocket)
AC_SEARCH_LIBS(rt, nanosleep, ,
[AC_CHECK_LIB(rt, nanosleep, LIBS="$LIBS -lrt", , -lrt)])
AC_CHECK_LIB(rt, nanosleep, LIBS="$LIBS -lrt", , -lrt)
AC_SEARCH_LIBS(m, fabs, ,
[AC_CHECK_LIB(m, fabs, LIBS="$LIBS -lm", , -lm)])
AC_CHECK_LIB(m, fabs, LIBS="$LIBS -lm", , -lm)
AC_SEARCH_LIBS(ws2_32, puts, ,
[AC_CHECK_LIB(ws2_32, puts, LIBS="$LIBS -lws2_32", , -lws2_32)])
AC_CHECK_LIB(ws2_32, puts, LIBS="$LIBS -lws2_32", , -lws2_32)
[AS_HELP_STRING([--enable-memdebug], [compile nmxptool for debugging memory leaks])],
......@@ -273,7 +268,7 @@ AC_FUNC_MKTIME
AC_CHECK_FUNCS([getcwd gethostbyname gettimeofday inet_ntoa memset mkdir select socket strcasecmp strchr strdup strerror strstr strtol])
AC_CHECK_FUNCS([getcwd gethostbyname gettimeofday inet_ntoa memmove memset mkdir select setenv socket strcasecmp strchr strerror strstr strtol])
AC_CHECK_FUNCS([timegm], [], [
AC_CHECK_FUNCS([getenv setenv unsetenv tzset],
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment