summaryrefslogtreecommitdiff
path: root/devel/newt/files/patch-configure.ac
blob: f9ca86903e13e1dc4ee43ee54728e8af9f0da4eb (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	2022-11-21 13:58:11 UTC
+++ configure.ac
@@ -24,7 +24,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])
@@ -108,7 +108,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