summaryrefslogtreecommitdiffstats
path: root/libgfortran/m4/sum.m4
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/m4/sum.m4')
-rw-r--r--libgfortran/m4/sum.m45
1 files changed, 5 insertions, 0 deletions
diff --git a/libgfortran/m4/sum.m4 b/libgfortran/m4/sum.m4
index 8dcc7aac242..1d91c0d5100 100644
--- a/libgfortran/m4/sum.m4
+++ b/libgfortran/m4/sum.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(0,
` result = 0;',
` result += *src;')
@@ -43,3 +46,5 @@ MASKED_ARRAY_FUNCTION(0,
` result = 0;',
` if (*msrc)
result += *src;')
+
+#endif
OpenPOWER on IntegriCloud