mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-26 19:41:04 -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
34 lines
555 B
Makefile
34 lines
555 B
Makefile
include $(top_srcdir)/Makefile.top
|
|
|
|
AM_CPPFLAGS += \
|
|
$(LIBISC_CFLAGS) \
|
|
$(LIBDNS_CFLAGS) \
|
|
$(LIBISCCFG_CFLAGS) \
|
|
$(LIBIRS_CFLAGS) \
|
|
$(LIBBIND9_CFLAGS) \
|
|
$(LIBIDN2_CFLAGS)
|
|
|
|
LDADD = \
|
|
libdighost.la \
|
|
$(LIBISC_LIBS) \
|
|
$(LIBDNS_LIBS) \
|
|
$(LIBISCCFG_LIBS) \
|
|
$(LIBIRS_LIBS) \
|
|
$(LIBBIND9_LIBS) \
|
|
$(LIBIDN2_LIBS)
|
|
|
|
noinst_LTLIBRARIES = libdighost.la
|
|
|
|
libdighost_la_SOURCES = \
|
|
dighost.h \
|
|
dighost.c
|
|
|
|
bin_PROGRAMS = dig host nslookup
|
|
|
|
nslookup_LDADD = \
|
|
$(LDADD)
|
|
|
|
if HAVE_READLINE
|
|
nslookup_LDADD += \
|
|
$(READLINE_LIBS)
|
|
endif HAVE_READLINE
|