--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,6 @@
 # StarPU --- Runtime system for heterogeneous multicore architectures.
 #
-# Copyright (C) 2009-2015  Université de Bordeaux
+# Copyright (C) 2009-2016  Université de Bordeaux
 # Copyright (C) 2010, 2011, 2012, 2013, 2014, 2015  Centre National de la Recherche Scientifique
 # Copyright (C) 2011  Télécom-SudParis
 # Copyright (C) 2011, 2012  Institut National de Recherche en Informatique et Automatique
@@ -33,7 +33,7 @@
 STARPU_MINOR_VERSION="`echo $PACKAGE_VERSION | cut -d . -f 2`"
 STARPU_RELEASE_VERSION="`echo $PACKAGE_VERSION | cut -d . -f 3`"
 STARPU_RELEASE_VERSION="`echo $PACKAGE_VERSION | cut -d . -f 3| sed 's/rc.*//'`"
-dnl we do not want the rcXX in the release version. we would like to use sed -r 's/[a-z]+.*//' to remove any string but the -r option is not portable
+dnl we do not want the rcXX in Drop actually-unused libcnf-dev dependencythe release version. we would like to use sed -r 's/[a-z]+.*//' to remove any string but the -r option is not portable
 AC_SUBST([STARPU_MAJOR_VERSION])
 AC_SUBST([STARPU_MINOR_VERSION])
 AC_SUBST([STARPU_RELEASE_VERSION])
@@ -1924,14 +1924,6 @@
 AC_MSG_RESULT($have_valid_hwloc)
 AC_SUBST(HWLOC_REQUIRES)
 
-# is the header file f77.h available ?
-AC_CHECK_HEADER([f77.h], [have_f77_h=yes], [have_f77_h=no])
-AC_SUBST(STARPU_HAVE_F77_H, $have_f77_h)
-AM_CONDITIONAL(STARPU_HAVE_F77_H, test x$have_f77_h = xyes)
-if test x$have_f77_h = xyes; then
-        AC_DEFINE([STARPU_HAVE_F77_H], [1], [Define to 1 if you have the <f77.h> header file.])
-fi
-
 # Check if icc is available
 AC_CHECK_PROGS([ICC], [icc])
 
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -1,6 +1,6 @@
 # StarPU --- Runtime system for heterogeneous multicore architectures.
 #
-# Copyright (C) 2009-2013, 2015  Université de Bordeaux
+# Copyright (C) 2009-2013, 2016  Université de Bordeaux
 # Copyright (C) 2010, 2011, 2012, 2013, 2015  Centre National de la Recherche Scientifique
 # Copyright (C) 2011  Télécom-SudParis
 # Copyright (C) 2011-2012  INRIA
@@ -191,10 +191,8 @@
 examplebin_PROGRAMS +=				\
 	scheduler/dummy_sched
 
-if STARPU_HAVE_F77_H
 examplebin_PROGRAMS +=				\
 	basic_examples/vector_scal_fortran
-endif
 
 if STARPU_HAVE_FC
 if !STARPU_SANITIZE
@@ -267,10 +265,8 @@
 	reductions/dot_product			\
 	reductions/minmax_reduction
 
-if STARPU_HAVE_F77_H
 STARPU_EXAMPLES +=				\
 	basic_examples/vector_scal_fortran
-endif
 
 if !NO_BLAS_LIB
 STARPU_EXAMPLES +=				\
@@ -333,7 +329,6 @@
 	basic_examples/vector_scal_opencl_kernel.cl
 endif
 
-if STARPU_HAVE_F77_H
 basic_examples_vector_scal_fortran_SOURCES =	\
 	basic_examples/vector_scal_fortran.F	\
 	basic_examples/vector_scal_c.c		\
@@ -345,7 +340,6 @@
 basic_examples_vector_scal_fortran_LDADD =	\
 	$(STARPU_CUDA_FORTRAN_LDFLAGS)
 endif
-endif
 
 if STARPU_HAVE_FC
 fortran90_f90_example_SOURCES =	\
