]> git.ipfire.org Git - thirdparty/sarg.git/commitdiff
Check for winsock.h
authorFrederic Marchal <fmarchal@users.sourceforge.net>
Fri, 25 Jan 2013 19:10:12 +0000 (20:10 +0100)
committerFrederic Marchal <fmarchal@users.sourceforge.net>
Fri, 25 Jan 2013 19:10:12 +0000 (20:10 +0100)
The header file is required to compile sarg on windows but its
availability was not checked in the configuration script.

configure.in

index 44eb2cee8943b6ce6dcc5951c0f858f9c3c6d333..eb6ccb4ce34aff33ae4720b74ecf0ffef81b411c 100644 (file)
@@ -76,7 +76,8 @@ AC_HEADER_STDC
 AC_CHECK_HEADERS(stdio.h stdlib.h string.h strings.h sys/time.h time.h unistd.h sys/dirent.h \
                dirent.h sys/types.h sys/socket.h netdb.h arpa/inet.h netinet/in.h sys/stat.h \
                ctype.h errno.h sys/resource.h sys/wait.h stdarg.h inttypes.h limits.h locale.h \
-               execinfo.h math.h libintl.h libgen.h stdbool.h getopt.h fcntl.h fnmatch.h)
+               execinfo.h math.h libintl.h libgen.h stdbool.h getopt.h fcntl.h fnmatch.h \
+               winsock.h)
 
 if test $ac_cv_header_getopt_h = "no" ; then
    AC_MSG_ERROR("getopt.h is required to compile sarg")