Rework configure logic to build with Gtk+3 by default

Use --enable-gtk2 if you still want to build with the older toolkit, but
the corresponding code might go away at some point....
This commit is contained in:
Landry Breuil
2018-06-03 18:29:53 +02:00
parent cd7b6e2d51
commit 13c78d9738
2 changed files with 15 additions and 15 deletions

View File

@@ -36,12 +36,12 @@ xfce4_taskmanager_SOURCES = \
task-manager.c task-manager.h \
$(NULL)
if USE_GTK3
if USE_GTK2
xfce4_taskmanager_LDADD += $(GTK2_LIBS) $(WNCK_LIBS)
xfce4_taskmanager_CFLAGS += $(GTK2_CFLAGS) $(WNCK_CFLAGS)
else
xfce4_taskmanager_LDADD += $(GTK3_LIBS) $(WNCK_LIBS)
xfce4_taskmanager_CFLAGS += $(GTK3_CFLAGS) $(WNCK_CFLAGS)
else
xfce4_taskmanager_LDADD += $(GTK_LIBS) $(WNCK_LIBS)
xfce4_taskmanager_CFLAGS += $(GTK_CFLAGS) $(WNCK_CFLAGS)
endif
if HAVE_WNCK