--- a/configure.ac
+++ b/configure.ac
@@ -46,7 +46,7 @@
 AC_STRUCT_TM
 
 # Checks for library functions.
-AC_CHECK_FUNCS([gethostname ftruncate fgetpos mkstemp strerror strstr])
+AC_CHECK_FUNCS([ftruncate fgetpos mkstemp strerror strstr])
 
 # autoscan end