blob: b927a4c918c3a5235e48aeab0446f8c3cc93520e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# DP: Use the GCC base version for the D include dir name
Index: b/src/libphobos/configure.ac
===================================================================
--- a/src/libphobos/configure.ac
+++ b/src/libphobos/configure.ac
@@ -125,7 +125,7 @@ fi
AC_SUBST(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)
phobos_toolexecdir=no
|