--- a/configure.orig 2020-06-11 10:25:02.853487027 -0400
+++ b/configure 2020-06-11 10:25:12.149398946 -0400
@@ -3269,8 +3269,8 @@
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for motd_d support" >&5
$as_echo_n "checking for motd_d support... " >&6; }
have_motdd=no
-if test -f /usr/lib64/security/pam_motd.so; then
- $STRINGS /usr/lib64/security/pam_motd.so | grep -q "motd_dir="
+if test -f $libdir/security/pam_motd.so; then
+ $STRINGS $libdir/security/pam_motd.so | grep -q "motd_dir="
if test $? -eq 0; then
have_motdd=yes
fi