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:
@@ -18,7 +18,7 @@ dtfile_CPPFLAGS = -I./dtcopy -DSHAPE -D_ILS_MACROS -DSUN_PERF \
|
||||
|
||||
dtfile_LDADD = dtcopy/sharedFuncs.o \
|
||||
dtcopy/fsrtns.o \
|
||||
$(DTCLIENTLIBS) $(TIRPCLIB) -lXm -lXext $(XTOOLLIB)
|
||||
$(DTCLIENTLIBS) $(TIRPCLIB) $(XTOOLLIB)
|
||||
|
||||
if OPENBSD
|
||||
dtfile_CPPFLAGS += -DFILE_MAP_OPTIMIZE
|
||||
@@ -29,7 +29,6 @@ dtfile_CPPFLAGS += -DFILE_MAP_OPTIMIZE
|
||||
endif
|
||||
|
||||
if SOLARIS
|
||||
dtfile_CFLAGS = -xF
|
||||
dtfile_LDADD += -lintl -lresolv
|
||||
endif
|
||||
|
||||
|
||||
@@ -4,11 +4,7 @@ bin_PROGRAMS = dtfile_copy
|
||||
|
||||
dtfile_copy_CFLAGS = -DSHAPE
|
||||
|
||||
if SOLARIS
|
||||
dtfile_copy_CFLAGS += -xF
|
||||
endif
|
||||
|
||||
dtfile_copy_LDADD = @DTCLIENTLIBS@ -lXm $(TIRPCLIB) $(XTOOLLIB)
|
||||
dtfile_copy_LDADD = $(DTCLIENTLIBS) $(XTOOLLIB) $(TIRPCLIB)
|
||||
|
||||
dtfile_copy_SOURCES = main_dtcopy.c copydialog.c overwrtdialog.c dosync.c \
|
||||
fsrtns.c utils.c errordialog.c sharedFuncs.c
|
||||
|
||||
Reference in New Issue
Block a user