summaryrefslogtreecommitdiff
path: root/libgfortran/m4/product.m4
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/m4/product.m4')
-rw-r--r--libgfortran/m4/product.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/libgfortran/m4/product.m4 b/libgfortran/m4/product.m4
index 6e9581d6fba..df77372e8b0 100644
--- a/libgfortran/m4/product.m4
+++ b/libgfortran/m4/product.m4
@@ -35,6 +35,9 @@ Boston, MA 02110-1301, USA. */
include(iparm.m4)dnl
include(ifunction.m4)dnl
+
+`#if defined (HAVE_'atype_name`) && defined (HAVE_'rtype_name`)'
+
ARRAY_FUNCTION(1,
` result = 1;',
` result *= *src;')
@@ -44,3 +47,4 @@ MASKED_ARRAY_FUNCTION(1,
` if (*msrc)
result *= *src;')
+#endif