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

@@ -2,10 +2,8 @@ MAINTAINERCLEANFILES = Makefile.in
noinst_LTLIBRARIES = libraima.la
libraima_la_LIBADD = -lc -lm
libraima_la_CFLAGS = -DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" \
@DT_INCDIR@ -I$(top_srcdir)/include \
$(DT_INCDIR) -I$(top_srcdir)/include \
-DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\" \
-DNO_TRANS -DUNIX -D_POSIX_SOURCE -DMULTIBYTE
@@ -21,10 +19,6 @@ if SOLARIS
libraima_la_CFLAGS += -D_XOPEN_SOURCE=500 -DNO_REGCOMP
endif
if HPUX
libraima_la_CFLAGS += -DMESSAGE_CAT
endif
libraima_la_SOURCES = alloc.c cmtype.c connect.c \
cotype.c crget.c crread.c crset.c \