RHEL5: Make use of 'futimens' function optional.
[libguestfs.git] / configure.ac
index a5d704a..6a808ff 100644 (file)
@@ -18,7 +18,7 @@
 # major/minor/release must be numbers
 m4_define([libguestfs_major],   [1])
 m4_define([libguestfs_minor],   [9])
-m4_define([libguestfs_release], [6])
+m4_define([libguestfs_release], [10])
 # extra can be any string
 m4_define([libguestfs_extra],   [])
 
@@ -158,7 +158,7 @@ dnl Headers.
 AC_CHECK_HEADERS([errno.h sys/types.h sys/un.h sys/wait.h sys/socket.h endian.h byteswap.h])
 
 dnl Functions.
-AC_CHECK_FUNCS([posix_fallocate])
+AC_CHECK_FUNCS([futimens posix_fallocate])
 
 dnl Build the daemon?
 AC_MSG_CHECKING([if we should build the daemon])
@@ -793,7 +793,7 @@ AC_CONFIG_FILES([Makefile
                  regressions/Makefile
                  test-tool/Makefile
                  ocaml/Makefile ocaml/examples/Makefile
-                 perl/Makefile
+                 perl/Makefile perl/examples/Makefile
                  python/Makefile python/examples/Makefile
                  ruby/Makefile ruby/Rakefile ruby/examples/Makefile
                  java/Makefile