--- configure.ac.orig	2019-09-17 03:34:23.400011000 +0200
+++ configure.ac	2019-09-17 03:37:09.541500000 +0200
@@ -58,7 +58,7 @@
 fi
 
 # get comma separated list of MPI datatypes for static datatype array initialization in src/dtpools.c
-DTP_DATATYPES=$(types=""; while read -r line; do types+="$line"; done < $DTP_DATATYPE_FILE; echo "$types")
+DTP_DATATYPES=`sed -e ':a' -e 'N;$bb' -e ba -e ':b' -e 's/\n//g' "$DTP_DATATYPE_FILE"`
 AC_SUBST([DTP_DATATYPES])
 # end of framework initialization
 
