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

@@ -10,7 +10,7 @@ AM_CXXFLAGS = -I../../lib $(TT_VERSION_DEFINE)
LDADD = $(LIBTT) $(TIRPCLIB) $(XTOOLLIB)
if SOLARIS
LDADD += -ldl -lintl -lsocket -lnsl
LDADD += -lintl -lsocket -lnsl
endif
ttmv_SOURCES = ttmv.C mover.C

View File

@@ -21,7 +21,7 @@ tt_type_comp_SOURCES = mp_type_comp.C mp_types_table.C \
tt_type_comp_LDADD = ../../slib/libstt.a $(LIBTT) $(TIRPCLIB) $(XTOOLLIB)
if SOLARIS
tt_type_comp_LDADD += $(XTOOLLIB) -ldl -lintl -lsocket -lnsl
tt_type_comp_LDADD += $(XTOOLLIB) -lintl -lsocket -lnsl
endif
frozen.mp_types_lex.o: frozen.mp_types_gram.h

View File

@@ -11,7 +11,7 @@ ttauth_LDADD += $(TIRPCLIB) $(XTOOLLIB)
endif
if SOLARIS
ttauth_LDADD += $(XTOOLLIB) -ldl -lintl -lsocket -lnsl
ttauth_LDADD += $(XTOOLLIB) -lintl -lsocket -lnsl
endif
if BSD

View File

@@ -16,7 +16,7 @@ rpc_ttdbserver_LDADD += $(TIRPCLIB) $(XTOOLLIB)
endif
if SOLARIS
rpc_ttdbserver_LDADD += $(XTOOLLIB) -ldl -lintl -lsocket -lnsl
rpc_ttdbserver_LDADD += $(XTOOLLIB) -lintl -lsocket -lnsl
endif
if BSD

View File

@@ -14,7 +14,7 @@ ttsession_LDADD += $(TIRPCLIB) $(XTOOLLIB)
endif
if SOLARIS
ttsession_LDADD += $(XTOOLLIB) -ldl -lintl -lsocket -lnsl
ttsession_LDADD += $(XTOOLLIB) -lintl -lsocket -lnsl
endif
if BSD

View File

@@ -11,7 +11,7 @@ tttar_LDADD = ../../slib/libstt.a ../../mini_isam/libisam.a \
$(LIBTT) $(TIRPCLIB) $(XTOOLLIB)
if SOLARIS
tttar_LDADD += -ldl -lintl -lsocket -lnsl
tttar_LDADD += -lintl -lsocket -lnsl
endif
tttar_SOURCES = tttar.C \

View File

@@ -7,7 +7,7 @@ tttrace_CXXFLAGS = -I../../lib
tttrace_LDADD = $(LIBTT) $(TIRPCLIB) $(XTOOLLIB)
if SOLARIS
tttrace_LDADD += -ldl -lintl -lsocket -lnsl
tttrace_LDADD += -lintl -lsocket -lnsl
endif
tttrace_SOURCES = tttrace.C tttrace_objs.C