--- 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";
