configure: detect libdl

This commit is contained in:
Chase
2022-07-30 20:33:24 -05:00
committed by Jon Trulson
parent 4370a95a84
commit 9a9d586e87
34 changed files with 33 additions and 104 deletions

View File

@@ -1,6 +1,6 @@
MAINTAINERCLEANFILES = Makefile.in
CLEANFILES = init.c FEATURE DtFuncs.dtsh
CLEANFILES = init.c DtFuncs.dtsh
SUBDIRS = examples
@@ -31,10 +31,6 @@ dtksh_LDADD = $(DTCLIENTLIBS) ksh93/src/cmd/ksh93/pmain.o $(XTOOLLIB) \
libshell.a $(KSH93SRC)/lib/libcmd.a $(KSH93SRC)/lib/libast.a \
$(KSH93SRC)/lib/libdll.a
if LINUX
dtksh_LDADD += -ldl
endif
if SOLARIS
dtksh_LDADD += -lsecdb -lsocket -lnsl
endif