Mercurial > audlegacy-plugins
diff configure.ac @ 433:38fe08dff5cd trunk
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
| author | giacomo |
|---|---|
| date | Mon, 15 Jan 2007 11:54:32 -0800 |
| parents | 74b23aec578d |
| children | fe2c60ca8c98 |
line wrap: on
line diff
--- a/configure.ac Mon Jan 15 08:33:07 2007 -0800 +++ b/configure.ac Mon Jan 15 11:54:32 2007 -0800 @@ -381,6 +381,26 @@ GENERAL_PLUGINS="$GENERAL_PLUGINS evdev-plug" fi +dnl *** Status Icon plugin (for X11 only) + +AC_ARG_ENABLE(statusicon, + [ --disable-statusicon disable X11 Status Icon plugin (default=enabled)], + [enable_statusicon=$enableval], + [enable_statusicon="yes"] +) + +if test "x$enable_statusicon" = "xyes"; then + have_statusicon="yes" + PKG_CHECK_MODULES(GDKX11,[gdk-x11-2.0 >= 2.6.0],,[have_statusicon="no"]) +else + AC_MSG_RESULT([*** X11 Status Icon plugin disabled per user request ***]) + have_statusicon="yes" +fi + +if test "x$have_statusicon" = "xyes"; then + GENERAL_PLUGINS="$GENERAL_PLUGINS statusicon" +fi + dnl *** AdPlug requirement (libbinio) AC_ARG_ENABLE(adplug, @@ -1175,6 +1195,7 @@ echo " -------" echo " Alarm: yes" echo " Song Change: yes" +echo " Status Icon: $have_statusicon" echo " Control via event device (evdev-plug): $have_evdevplug" echo " LIRC: $have_lirc" echo " AudioScrobbler Client: $scrobbler"
