configure: detect libdl
This commit is contained in:
@@ -18,7 +18,7 @@ libDtTerm_la_LIBADD += -lutil
|
||||
endif
|
||||
|
||||
if SOLARIS
|
||||
libDtTerm_la_LIBADD += -ldl -lgen
|
||||
libDtTerm_la_LIBADD += -lgen
|
||||
endif
|
||||
|
||||
if HAS_UTEMPTER_LIBRARY
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,47 +0,0 @@
|
||||
# %% (c) Copyright 1993, 1994 Hewlett-Packard Company
|
||||
# %% (c) Copyright 1993, 1994 International Business Machines Corp.
|
||||
# %% (c) Copyright 1993, 1994 Sun Microsystems, Inc.
|
||||
# %% (c) Copyright 1993, 1994 Novell, Inc.
|
||||
# %% $XConsortium: IMakeFile /main/3 1995/10/20 17:04:55 rswiston $
|
||||
#ifdef HideFromImake
|
||||
#
|
||||
# IMakeFile 1.7 17 Nov 1994
|
||||
#
|
||||
# This preamble turns this imakefile into a shell script which will
|
||||
# create/update this directory's makefile when invoked as follows:
|
||||
# % sh IMakeFile [[GNU]MakeFile]
|
||||
#
|
||||
IMAKEDIR=../../../imake; export IMAKEDIR
|
||||
exec make -f $IMAKEDIR/Boot.mk ${1+"$@"}
|
||||
#endif HideFromImake
|
||||
|
||||
TT_DIR = ../../..
|
||||
|
||||
include $(TT_DIR)/Make.macros
|
||||
|
||||
.KEEP_STATE:
|
||||
|
||||
default: all
|
||||
|
||||
All:: $(MAKEFILE)s all
|
||||
all: DynamicDebugProg(CoEd)
|
||||
|
||||
CoEd_SOURCES.C = CoEdTextBuffer.C CoEditor.C CoEd.C
|
||||
|
||||
RUN_PATH = -R /tt/proto/lib:/usr/dt/lib:$(OPENWINHOME)/lib:/opt/SUNWspro/lib
|
||||
|
||||
ProgramDynamicOptimized(CoEd)
|
||||
ProgramDynamicDebug(CoEd)
|
||||
SourceHygiene(CoEd)
|
||||
|
||||
SaberProg(CoEd)
|
||||
|
||||
AppendVal(CPPFLAGS,-I../../../proto/include -I/usr/dt/include -I$(OPENWINHOME)/include -I../libCoEd)
|
||||
|
||||
AppendVal(LDFLAGS,-L../../../proto/lib -L/usr/dt/lib -L$(OPENWINHOME)/lib -L../libCoEd/$(OEUVRE)/pdc/O)
|
||||
|
||||
#AppendVal(LDLIBS,-ltt-g -lXm -lXt -lX11 -Bstatic -lCoEd -Bdynamic)
|
||||
AppendVal(LDLIBS,-ltt -lXm -lXt -lX11 -Bstatic -lCoEd -Bdynamic)
|
||||
loc_LDLIBS_SunOS4 = -lce -lX -lI18N -ldl
|
||||
loc_LDLIBS_SunOS5 = -lnsl -lsocket -lintl -lgen
|
||||
AppendVal(LDLIBS,$(loc_LDLIBS_$(OS)))
|
||||
@@ -18,7 +18,7 @@ libtt_la_LIBADD = api/c/libapi.la api/dnd/libdnd.la db/libdb.la mp/libmp.la \
|
||||
|
||||
if SOLARIS
|
||||
# This stuff should be figured out by configure
|
||||
libtt_la_LIBADD += -lnsl -lsocket -lintl -ldl -lc -lw
|
||||
libtt_la_LIBADD += -lnsl -lsocket -lintl -lc -lw
|
||||
endif
|
||||
|
||||
if LINUX
|
||||
|
||||
Reference in New Issue
Block a user