]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
configure: check for utime.h and utime()
authorJason Ish <ish@unx.ca>
Mon, 8 Jan 2018 21:11:54 +0000 (15:11 -0600)
committerJason Ish <ish@unx.ca>
Thu, 18 Jan 2018 13:26:29 +0000 (07:26 -0600)
configure.ac

index fbc7020a10da8ed4351bf80588cf309171673e2f..85ce982440cf8e65e281c647c4db158fe1c69b35 100644 (file)
     AC_CHECK_HEADERS([dirent.h fnmatch.h])
     AC_CHECK_HEADERS([sys/resource.h sys/types.h sys/un.h])
     AC_CHECK_HEADERS([sys/random.h])
+    AC_CHECK_HEADERS([utime.h])
 
     AC_CHECK_HEADERS([sys/socket.h net/if.h sys/mman.h linux/if_arp.h], [], [],
     [[#ifdef HAVE_SYS_SOCKET_H
             #include <sys/random.h> 
             ])
 
+    AC_CHECK_FUNCS([utime])
+
     OCFLAGS=$CFLAGS
     CFLAGS=""
     AC_CHECK_FUNCS([strlcpy strlcat])