summaryrefslogtreecommitdiff
path: root/libgfortran/m4/minloc0.m4
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/m4/minloc0.m4')
-rw-r--r--libgfortran/m4/minloc0.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/libgfortran/m4/minloc0.m4 b/libgfortran/m4/minloc0.m4
index d2186679cf5..10fb3a9119d 100644
--- a/libgfortran/m4/minloc0.m4
+++ b/libgfortran/m4/minloc0.m4
@@ -38,6 +38,8 @@ Boston, MA 02110-1301, USA. */
include(iparm.m4)dnl
include(iforeach.m4)dnl
+`#if defined (HAVE_'atype_name`) && defined (HAVE_'rtype_name`)'
+
FOREACH_FUNCTION(
` atype_name minval;
@@ -61,3 +63,5 @@ MASKED_FOREACH_FUNCTION(
for (n = 0; n < rank; n++)
dest[n * dstride] = count[n] + 1;
}')
+
+#endif