--- 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
@@ -1899,14 +1899,6 @@ AC_MSG_CHECKING(whether hwloc should be
 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  Université de Bordeaux
+# Copyright (C) 2009-2013, 2016  Université de Bordeaux
 # Copyright (C) 2010, 2011, 2012, 2013  Centre National de la Recherche Scientifique
 # Copyright (C) 2011  Télécom-SudParis
 # Copyright (C) 2011-2012  INRIA
@@ -191,11 +191,9 @@ if !STARPU_SIMGRID
 examplebin_PROGRAMS +=				\
 	scheduler/dummy_sched
 
-if STARPU_HAVE_F77_H
 examplebin_PROGRAMS +=				\
 	basic_examples/vector_scal_fortran
 endif
-endif
 
 if !NO_BLAS_LIB
 examplebin_PROGRAMS +=				\
@@ -260,10 +258,8 @@ STARPU_EXAMPLES +=				\
 	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 +=				\
@@ -321,7 +317,6 @@ nobase_STARPU_OPENCL_DATA_DATA += \
 	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		\
@@ -333,7 +328,6 @@ basic_examples_vector_scal_fortran_SOURC
 basic_examples_vector_scal_fortran_LDADD =	\
 	$(STARPU_CUDA_FORTRAN_LDFLAGS)
 endif
-endif
 
 #######################
 # Multiformat example #
