summaryrefslogtreecommitdiff
path: root/devel/concurrencykit/files/patch-configure
blob: 2cf00f620c0c201b6a1573600120a517b3923a2b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- configure.orig	2020-10-01 21:52:28 UTC
+++ configure
@@ -464,7 +464,7 @@ case $PLATFORM in
 				;;
 		esac
 		;;
-	"ppc64"|"ppc64le"|"powerpc64")
+	"ppc64"|"ppc64le"|"powerpc64"|"powerpc64le")
 		RTM_ENABLE="CK_MD_RTM_DISABLE"
 		LSE_ENABLE="CK_MD_LSE_DISABLE"
 		MM="${MM:-"CK_MD_RMO"}"
@@ -522,6 +522,10 @@ pathsearch()
 	what=$1
 	oldFS="$IFS"
 	IFS=":"
+	if test -x "$what" ; then
+		echo "$what";
+		return
+	fi
 	for d in $PATH ; do
 		if test -x "$d/$what" ; then
 			echo "$d/$what";