Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
smpi build without F2C was broken since 58ea5966
[simgrid.git] / include / smpi / smpif.h.in
index bbcb661..e558101 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2007, 2008, 2009, 2010. The SimGrid Team.
+/* Copyright (c) 2007-2013. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -7,11 +7,9 @@
 #ifndef SMPIF_H
 #define SMPIF_H
 
-#cmakedefine HAVE_F2C_H @HAVE_SMPI_F2C_H@
+#cmakedefine SMPI_F2C @SMPI_F2C@
 
-#ifndef HAVE_F2C_H
-#error F2C is mandatory
-#endif
+#ifdef SMPI_F2C
 
 #include <xbt/misc.h>
 #include <smpi/smpi.h>
@@ -45,3 +43,5 @@ XBT_PUBLIC(int) smpi_global_size(void);
 
 
 #endif
+
+#endif // SMPI_F2C