wmmisc: Don't link against X11 libs; unnecessary.

This commit is contained in:
Doug Torrance 2018-07-11 22:12:46 -04:00 committed by Carlos R. Mafra
parent 036c25fcb5
commit ced470da36
2 changed files with 2 additions and 5 deletions

View file

@ -4,5 +4,5 @@ wmmisc_SOURCES = src/dockapp_draw.c src/dockapp_draw.h \
src/dockapp_utils.c src/dockapp_utils.h \ src/dockapp_utils.c src/dockapp_utils.h \
src/wmmisc-master.xpm src/wmmisc-master.xpm
AM_CFLAGS = $(X11_CFLAGS) $(XEXT_CFLAGS) $(XPM_CFLAGS) $(DOCKAPP_CFLAGS) AM_CFLAGS = $(DOCKAPP_CFLAGS)
LIBS += $(X11_LIBS) $(XEXT_LIBS) $(XPM_LIBS) $(DOCKAPP_LIBS) LIBS += $(DOCKAPP_LIBS)

View file

@ -5,9 +5,6 @@ AC_PROG_CC
AC_SEARCH_LIBS([nearbyintf], [m], [], [ AC_SEARCH_LIBS([nearbyintf], [m], [], [
AC_MSG_ERROR([unable to find the nearbyintf() function]) AC_MSG_ERROR([unable to find the nearbyintf() function])
]) ])
PKG_CHECK_MODULES([X11], [x11])
PKG_CHECK_MODULES([XEXT], [xext])
PKG_CHECK_MODULES([XPM], [xpm])
PKG_CHECK_MODULES([DOCKAPP], [dockapp]) PKG_CHECK_MODULES([DOCKAPP], [dockapp])
AC_CONFIG_FILES([Makefile]) AC_CONFIG_FILES([Makefile])
AC_OUTPUT AC_OUTPUT