diff --git a/configure.ac b/configure.ac
index f7b999354cde98dbda14b950cf2cea0c8a3f29fb..52d87e38c0966666a18703dcbe20890868b15c34 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1244,8 +1244,6 @@ AC_ARG_WITH([velociraptor],
     [with_velociraptor="no"]
 )
 if test "x$with_velociraptor" != "xno"; then
-   AC_PROG_FC
-   AC_FC_LIBRARY_LDFLAGS
    if test "x$with_velociraptor" != "xyes" -a "x$with_velociraptor" != "x"; then
       VELOCIRAPTOR_LIBS="-L$with_velociraptor -lvelociraptor -lmpi -lstdc++ -lhdf5"
       CFLAGS="$CFLAGS -fopenmp"