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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user