summaryrefslogtreecommitdiff
path: root/devel/newt/files/patch-configure.ac
blob: 0aa883a8777a84039a1771012f174a4a5799f953 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- configure.ac.orig	2019-05-27 12:57:40 UTC
+++ configure.ac
@@ -23,7 +23,7 @@ AC_CHECK_SIZEOF([void *])
 AC_MSG_CHECKING([for GNU ld])
 LD=`$CC -print-prog-name=ld 2>&5`
 
-if test `$LD -v 2>&1 | $ac_cv_path_GREP -c "GNU ld"` = 0; then
+if test `$LD -v 2>&1 | $ac_cv_path_GREP -c -E "GNU ld|compatible with GNU linkers"` = 0; then
   # Not
   GNU_LD=""
   AC_MSG_RESULT([no])
@@ -107,7 +107,7 @@ else
     AC_SUBST([TCL_LIB_FLAG])
     WHIPTCLLIB=whiptcl
     # needed with tcl8.6
-    CPPFLAGS="$CPPFLAGS -DUSE_INTERP_RESULT"
+    CPPFLAGS="$CPPFLAGS "
   else
     AC_MSG_RESULT([NOT found])
   fi