--- configure.ac~1	2005-04-08 09:27:48.000000000 +0000
+++ configure.ac	2005-04-17 13:50:48.000000000 +0000
@@ -306,4 +306,17 @@
 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
 ]])
 
+# For DJGPP there should not be more than 1 dot. Therefore edit
+# version in case of DJGPP
+[case $build in
+	i?86-*-msdosdjgpp*)
+		gcc_version_dir='$(shell echo $(gcc_version) | sed -e "s:\.::2g")'
+		;;
+
+	* )
+		gcc_version_dir='$(gcc_version)'
+		;;
+esac]
+AC_SUBST(gcc_version_dir)
+
 AC_OUTPUT


syntax highlighted by Code2HTML, v. 0.9.1