diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-06-09 03:15:38 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-06-09 03:15:38 +0000 |
commit | c8c89c7af098ad8825309dea4e118413b368a1d6 (patch) | |
tree | a8432404f803c55999255ee6dff0d6f2bd38c5d6 | |
parent | 9ff6ed2430ed87014846b39456b31b7aba231e48 (diff) |
Remove events.h, should have been deleted in earlier patch to replace events system with the new one.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2315 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r-- | CMakeLists.txt | 5 | ||||
-rw-r--r-- | include/events.h | 0 |
2 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 85e19d190..96a3e1d30 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -275,6 +275,11 @@ if(NOT MSVC) if(HAVE_SOCKET_LIB) set(LDFLAGS "${LDFLAGS} -lsocket") endif(HAVE_SOCKET_LIB) + # Check if inet_addr is within the nsl library (if the library exists), and add it to the linker flags if needed + check_library_exists(nsl inet_addr "" HAVE_NSL_LIB) + if(HAVE_NSL_LIB) + set(LDFLAGS "${LDFLAGS} -lnsl") + endif(HAVE_NSL_LIB) endif(NOT WIN32) endif(NOT MSVC) diff --git a/include/events.h b/include/events.h deleted file mode 100644 index e69de29bb..000000000 --- a/include/events.h +++ /dev/null |