From ced470da36f59301d5f6a650c2db47e33d223e54 Mon Sep 17 00:00:00 2001 From: Doug Torrance Date: Wed, 11 Jul 2018 22:12:46 -0400 Subject: [PATCH] wmmisc: Don't link against X11 libs; unnecessary. --- wmmisc/Makefile.am | 4 ++-- wmmisc/configure.ac | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/wmmisc/Makefile.am b/wmmisc/Makefile.am index 3760730..e4c3e24 100644 --- a/wmmisc/Makefile.am +++ b/wmmisc/Makefile.am @@ -4,5 +4,5 @@ wmmisc_SOURCES = src/dockapp_draw.c src/dockapp_draw.h \ src/dockapp_utils.c src/dockapp_utils.h \ src/wmmisc-master.xpm -AM_CFLAGS = $(X11_CFLAGS) $(XEXT_CFLAGS) $(XPM_CFLAGS) $(DOCKAPP_CFLAGS) -LIBS += $(X11_LIBS) $(XEXT_LIBS) $(XPM_LIBS) $(DOCKAPP_LIBS) +AM_CFLAGS = $(DOCKAPP_CFLAGS) +LIBS += $(DOCKAPP_LIBS) diff --git a/wmmisc/configure.ac b/wmmisc/configure.ac index 992c7f7..fd576a8 100644 --- a/wmmisc/configure.ac +++ b/wmmisc/configure.ac @@ -5,9 +5,6 @@ AC_PROG_CC AC_SEARCH_LIBS([nearbyintf], [m], [], [ 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]) AC_CONFIG_FILES([Makefile]) AC_OUTPUT