configure
changeset 91 ed2612282988
parent 81 9ea761516104
child 93 16c8ceea8f18
--- a/configure	Fri Feb 09 09:36:19 2007 +0100
+++ b/configure	Tue Feb 13 16:36:44 2007 +0100
@@ -638,6 +638,19 @@
 fi
 done	
 echo "" >> include/config.h
+
+for i in \
+ SDO_MAX_SIMULTANEOUS_TRANSFERTS\
+ NMT_MAX_NODE_ID; do
+	echo "#define REPEAT_"$i"_TIMES(repeat)\\">> include/config.h
+	times=${!i}
+	result=""
+	for (( j=0; j<times; j++ ));do
+		result="$result repeat"
+	done
+	echo $result >> include/config.h
+done
+
 echo "#endif /* _CONFIG_H_ */" >> include/config.h
 
 ###########################################################################