mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-27 12:02:10 -05:00
This commit updates and simplifies the checks for the readline support
in nslookup and nsupdate:
* Change the autoconf checks to pkg-config only, all supported
libraries have accompanying .pc files now.
* Add editline support in addition to libedit and GNU readline
* Add isc/readline.h shim header that defines dummy readline()
function when no readline library is available
29 lines
501 B
Makefile
29 lines
501 B
Makefile
include $(top_srcdir)/Makefile.top
|
|
|
|
AM_CPPFLAGS += \
|
|
$(LIBISC_CFLAGS) \
|
|
$(LIBDNS_CFLAGS) \
|
|
$(LIBISCCFG_CFLAGS) \
|
|
$(LIBIRS_CFLAGS) \
|
|
$(LIBBIND9_CFLAGS) \
|
|
$(GSSAPI_CFLAGS) \
|
|
$(KRB5_CFLAGS)
|
|
|
|
AM_CPPFLAGS += \
|
|
-DSESSION_KEYFILE=\"${localstatedir}/run/named/session.key\"
|
|
|
|
LDADD = \
|
|
$(LIBISC_LIBS) \
|
|
$(LIBDNS_LIBS) \
|
|
$(LIBISCCFG_LIBS) \
|
|
$(LIBIRS_LIBS) \
|
|
$(LIBBIND9_LIBS) \
|
|
$(GSSAPI_LIBS) \
|
|
$(KRB5_LIBS)
|
|
|
|
if HAVE_READLINE
|
|
LDADD += \
|
|
$(READLINE_LIBS)
|
|
endif
|
|
|
|
bin_PROGRAMS = nsupdate
|