You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-libs/newt/files/newt-0.52.21-fix-non-POSIX-...

28 lines
794 B

From a37a8c15f4653b4edea414f42a0d76f3b1f5652c Mon Sep 17 00:00:00 2001
From: Sam James <sam@gentoo.org>
Date: Wed, 14 Jul 2021 05:19:25 +0100
Subject: [PATCH] Fix non-POSIX backticks
---
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index cb2b940..9ba4c64 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,8 +23,8 @@ 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 -a \
- test `$LD -v 2>&1 | $ac_cv_path_GREP -c "GNU gold"` = 0; then
+if test $($LD -v 2>&1 | $ac_cv_path_GREP -c "GNU ld") = 0 -a \
+ $($LD -v 2>&1 | $ac_cv_path_GREP -c "GNU gold") = 0; then
# Not
GNU_LD=""
AC_MSG_RESULT([no])
--
2.32.0