X-Git-Url: http://git.pk910.de/?p=NeonServV5.git;a=blobdiff_plain;f=configure.ac;h=ad949f64cf9beac6629c7abd5a17d1f27d63c88f;hp=e75bc48a9bcb19ff480853ff11a681f5e7959252;hb=0def65a9df6d9a295c064cba58af229b326f39fe;hpb=d2f5566813cad3f8e9e5d05bd1a4f768ec079050 diff --git a/configure.ac b/configure.ac index e75bc48..ad949f6 100644 --- a/configure.ac +++ b/configure.ac @@ -30,9 +30,9 @@ AC_SUBST([MYSQL_LIBS]) 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, [ @@ -88,7 +88,5 @@ AC_CHECK_HEADERS([arpa/inet.h netdb.h netinet/in.h stdlib.h string.h sys/socket. 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