--- a/configure.ac
+++ b/configure.ac
@@ -12,6 +12,7 @@
 
 # Checks for programs.
 AC_PROG_CC
+AC_PROG_RANLIB
 AC_SUBST(WIDL_BIN_NAME,[widl])
 AC_SUBST(WIDL_CFLAGS,[-Wno-pendatic-ms-format])