configure/Makefiles: add checks for Xmu, Xext, and Xdmcp

We also remove sun pro specific options, and do some general cleanup
as well as remove hardcoded library refs like -lXm, -lXext, etc...
This commit is contained in:
Jon Trulson
2021-12-21 11:50:20 -07:00
parent 8875a12366
commit e10d06f210
35 changed files with 45 additions and 130 deletions

View File

@@ -7,10 +7,6 @@ AM_CFLAGS = $(DT_INCDIR) $(CSA_INCDIR) -I../../../lib/csa \
LDADD = ../libDtCmP/libDtCmP.a $(LIBCSA) $(DTCLIENTLIBS) $(XTOOLLIB)
if SOLARIS
AM_CFLAGS += -xstrconst -Xc -v
endif
if FREEBSD
LDADD += -lcompat
endif

View File

@@ -5,10 +5,6 @@ noinst_LIBRARIES = libDtCmP.a
libDtCmP_a_CFLAGS = $(CSA_INCDIR) -I../../../lib/csa -DRFC_MIME \
-DLINE_COUNT -DV2 -DOW_I18N
if SOLARIS
libDtCmP_a_CFLAGS += -xstrconst -Xc -v
endif
libDtCmP_a_SOURCES = cm_tty.c cmfns.c dtfns.c props.c resource.c \
timeops.c util.c getdate.y

View File

@@ -7,7 +7,6 @@ rpc_cmsd_CFLAGS = -I../../../lib/csa $(DT_INCDIR) $(CSA_INCDIR)
rpc_cmsd_LDADD = $(LIBCSA) $(DTCLIENTLIBS) $(TIRPCLIB) $(XTOOLLIB)
if SOLARIS
rpc_cmsd_CFLAGS += -xstrconst -Xc -v
rpc_cmsd_LDADD += -lsocket -lnsl -lintl -lm -ldl
endif