summaryrefslogtreecommitdiff
path: root/legacy/heimdal/only-build-libedit-when-necessary.patch
blob: 105c7019d0f04ec75a46e065ab0e17dc3d41ab12 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- 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)