AC_ARG_WITH([winsock],
[AS_HELP_STRING([--with-winsock], [use winsock (WIN32 systems)])],
- [WINSOCK_LIBS='-lws2_32'],
- [WINSOCK_LIBS=''])
-AC_SUBST([WINSOCK_LIBS])
+ [SYSTEM_LIBS='-lws2_32'],
+ [SYSTEM_LIBS='-ldl'])
+AC_SUBST([SYSTEM_LIBS])
do_have_ssl="no";
AC_CHECK_LIB(ssl, SSL_read, [
AC_FUNC_MALLOC
AC_CHECK_FUNCS([gethostbyname memset select socket strchr strdup strstr])
-MY_SUBDIRS="src"
-AC_SUBST(MY_SUBDIRS)
-AC_CONFIG_FILES(Makefile src/Makefile src/modules/Makefile)
+AC_CONFIG_FILES(Makefile)
AC_OUTPUT
\ No newline at end of file