# DP: Use the GCC base version for the D include dir name Index: b/src/libphobos/m4/druntime.m4 =================================================================== --- a/src/libphobos/m4/druntime.m4 +++ b/src/libphobos/m4/druntime.m4 @@ -43,7 +43,7 @@ AC_DEFUN([DRUNTIME_INSTALL_DIRECTORIES], AC_REQUIRE([AC_PROG_GDC]) AC_MSG_CHECKING([D GCC version]) - d_gcc_ver=`$GDC -dumpversion` + d_gcc_ver=`$GDC -dumpversion | sed 's/^\(@<:@0-9@:>@*\).*/\1/'` AC_MSG_RESULT($d_gcc_ver) AC_ARG_WITH([cross-host], AC_HELP_STRING([--with-cross-host=HOST], Index: b/src/libphobos/configure.ac =================================================================== --- a/src/libphobos/configure.ac +++ b/src/libphobos/configure.ac @@ -53,6 +53,7 @@ m4_rename([_AC_ARG_VAR_PRECIOUS],[glibd_ m4_define([_AC_ARG_VAR_PRECIOUS],[]) AM_PROG_AS AC_PROG_CC +dnl dummy change to run autoreconf in this directory AC_PROG_GDC WITH_LOCAL_DRUNTIME([GDC_CHECK_COMPILE], [])