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

@@ -5,24 +5,15 @@ MAINTAINERCLEANFILES = Makefile.in
lib_LTLIBRARIES = libcsa.la
libcsa_la_CFLAGS = -DRFC_MIME -DLINE_COUNT -DV2 -DOW_I18N \
@CSA_INCDIR@
$(CSA_INCDIR)
libcsa_la_LIBADD = -lXt $(TIRPCLIB)
libcsa_la_LIBADD = $(XTOOLLIB) $(TIRPCLIB)
libcsa_la_LDFLAGS = -version-info 3:0:1
if SOLARIS
libcsa_la_LDFLAGS += -G -z text -z defs
libcsa_la_CFLAGS += -v
endif
if HPUX
libcsa_la_CFLAGS += -DHPUX
endif
if LINUX
else
libcsa_la_LIBADD += $(LIBSVC) -lXm
libcsa_la_LIBADD += $(LIBSVC) $(XTOOLLIB)
endif
AM_YFLAGS = -d