Compile of PDCurses fails on Leap 15.1

I’m trying to compile PDCurses

for use in building The Hessling Editor on my Leap 15.1 system. ./configure --enable-force-utf8 fails with this message:

which: no **dpkg-architecture** in (/home/leslie/bin/rexx:/home/leslie/bin/NetRexx:/home/leslie/bin:/home/leslie/.local/bin:/usr/local/bin:/opt/trinity/bin:/opt/trinity/lib64:/bin:/usr/bin:/usr/local/sbin:/sbin:/usr/sbin:/usr/local/lib64:/usr/local/lib)

from which I conclude that PDCurses thinks my system is Debian based!

The first line of output from ./configure is

configure: loading site script /usr/share/site/x86_64-**unknown**-linux-gnu

which surprises me; I would expect to see something about OpenSuSE in there instead of ‘unknown’.

How can I get PDCurses to recognize my system as RPM-based?

You could try my rpm?

Thanks, but I think I’ve gotten past this, by installing dpkg.