--- configure.ac~ 2005-07-16 14:17:50.000000000 +0000 +++ configure.ac 2006-02-20 19:43:04.000000000 +0000 @@ -106,6 +106,19 @@ fi AC_SUBST(MAINT) +# For DJGPP there should not be more than 1 dot. Therefore edit +# version in case of DJGPP +[case $host 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_CONFIG_HEADERS(config.h, [echo timestamp > stamp-h]) AC_CONFIG_FILES(Makefile mkheaders.almost:mkheaders.in) AC_OUTPUT