Support for the ARM 64 bit CPU architecture (aarch64) was introduced in autoconf 2.69. 389-dsgw appears to use an earlier version of autoconf, preventing its being built. This can be fixed in of three ways (In order of preference): 1. Work with upstream to migrate the package to autoconf 2.69. 2. Rerun autoconf or autoreconf in %prep or %build prior to running configure. 3. Apply the patch at http://ausil.fedorapeople.org/aarch64/389-dsgw/389-dsgw-aarch64.patch which updates config.guess and config.sub to recognize aarch64.
Upstream ticket: https://fedorahosted.org/389/ticket/47344
This was fixed in 389-dsgw 1.1.11-1.