--- heimdal-7.5.0/configure.ac.old	2017-12-08 01:36:46.000000000 -0600
+++ heimdal-7.5.0/configure.ac	2018-07-04 18:50:45.720000000 -0500
@@ -309,8 +309,6 @@
 #endif
 ],-ledit,,, READLINE,, [readline.h readline/readline.h editline/readline.h])
 
-AC_CONFIG_SUBDIRS([lib/libedit])
-
 KRB_C_BIGENDIAN
 AC_C_INLINE
 
--- heimdal-7.5.0/cf/krb-readline.m4.old	2016-12-20 08:23:06.000000000 -0600
+++ heimdal-7.5.0/cf/krb-readline.m4	2018-07-04 18:50:04.140000000 -0500
@@ -19,6 +19,7 @@
 	:
 else
 	build_libedit=yes
+	AC_CONFIG_SUBDIRS([lib/libedit])
 	LIB_readline="\$(top_builddir)/lib/libedit/src/libheimedit.la \$(LIB_tgetent)"
 fi
 AM_CONDITIONAL(LIBEDIT, test "$build_libedit" = yes)