From c8c89c7af098ad8825309dea4e118413b368a1d6 Mon Sep 17 00:00:00 2001 From: cyberbotx Date: Tue, 9 Jun 2009 03:15:38 +0000 Subject: 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 --- CMakeLists.txt | 5 +++++ include/events.h | 0 2 files changed, 5 insertions(+) delete mode 100644 include/events.h 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 -- cgit