Commits

Harald Klimach  committed f35bd22

Added a check for ISO_C_Binding support by the compiler

  • Participants
  • Parent commits 7d9ff99

Comments (0)

Files changed (1)

                   uselib_store='POPEN', mandatory=False)
 
     conf.check_fc(fragment = '''
+       program check_iso_c
+         use, intrinsic :: iso_c_binding
+         implicit none
+         write(*,*) c_int
+       end program check_iso_c''',
+                  msg = "Checking for ISO_C_Binding support",
+                  mandatory = 'true')
+
+    conf.check_fc(fragment = '''
        program checkquad
          implicit none
          integer, parameter :: quad_k = selected_real_kind(33)