Mercurial > audlegacy-plugins
comparison configure.ac @ 908:8b4b381b4399 trunk
[svn] aosd: added compile option in configure for composite support; this way, if support is compiled in, we can safely check if the composite module is loaded
author | giacomo |
---|---|
date | Mon, 02 Apr 2007 04:03:06 -0700 |
parents | d985f0dcdeb0 |
children | 7e14701aef54 |
comparison
equal
deleted
inserted
replaced
907:f20ca9b8cd7d | 908:8b4b381b4399 |
---|---|
357 fi | 357 fi |
358 | 358 |
359 dnl *** Audacious OSD plugin (pangocairo-based) | 359 dnl *** Audacious OSD plugin (pangocairo-based) |
360 | 360 |
361 AC_ARG_ENABLE(aosd, | 361 AC_ARG_ENABLE(aosd, |
362 [ --disable-aosd disable X11 Audacious OSD plugin (default=enabled)], | 362 [ --disable-aosd disable Audacious OSD plugin (default=enabled)], |
363 [enable_aosd=$enableval], | 363 [enable_aosd=$enableval], |
364 [enable_aosd="yes"] | 364 [enable_aosd="yes"] |
365 ) | |
366 | |
367 AC_ARG_ENABLE(aosd_xcomp, | |
368 [ --disable-aosd-xcomp disable Audacious OSD X Composite Support (default=enabled)], | |
369 [enable_aosd_xcomp=$enableval], | |
370 [enable_aosd_xcomp="yes"] | |
365 ) | 371 ) |
366 | 372 |
367 if test "x$enable_aosd" = "xyes"; then | 373 if test "x$enable_aosd" = "xyes"; then |
368 have_aosd="yes" | 374 have_aosd="yes" |
369 PKG_CHECK_MODULES(PANGO,[pango >= 1.14.7],, | 375 PKG_CHECK_MODULES(PANGO,[pango >= 1.14.7],, |
376 ) | 382 ) |
377 PKG_CHECK_MODULES(PANGOCAIRO,[pangocairo >= 1.14.7],, | 383 PKG_CHECK_MODULES(PANGOCAIRO,[pangocairo >= 1.14.7],, |
378 [have_aosd="no" | 384 [have_aosd="no" |
379 AC_MSG_RESULT([*** pangocairo >= 1.14.7 is required for Audacious OSD plugin ***])] | 385 AC_MSG_RESULT([*** pangocairo >= 1.14.7 is required for Audacious OSD plugin ***])] |
380 ) | 386 ) |
387 PKG_CHECK_MODULES(XRENDER, xrender,, | |
388 [have_aosd="no" | |
389 AC_MSG_RESULT([*** X Render extension is required for Audacious OSD plugin ***])] | |
390 ) | |
391 if test "x$enable_aosd_xcomp" = "xyes"; then | |
392 have_aosd_xcomp="yes" | |
393 PKG_CHECK_MODULES(XCOMPOSITE, xcomposite, | |
394 [AC_DEFINE([HAVE_XCOMPOSITE],[],[X Composite extension available])], | |
395 [have_aosd_xcomp="no" | |
396 AC_MSG_RESULT([*** X Composite extension not found, composite support for Audacious OSD will not be compiled ***])] | |
397 ) | |
398 else | |
399 AC_MSG_RESULT([*** X Composite support for Audacious OSD plugin disabled per user request ***]) | |
400 have_aosd_xcomp="no" | |
401 fi | |
381 else | 402 else |
382 AC_MSG_RESULT([*** Audacious OSD plugin disabled per user request ***]) | 403 AC_MSG_RESULT([*** Audacious OSD plugin disabled per user request ***]) |
383 have_aosd="no" | 404 have_aosd="no" |
384 fi | 405 fi |
385 | 406 |
1236 echo " -------" | 1257 echo " -------" |
1237 echo " Alarm: yes" | 1258 echo " Alarm: yes" |
1238 echo " Song Change: yes" | 1259 echo " Song Change: yes" |
1239 echo " Status Icon: $have_statusicon" | 1260 echo " Status Icon: $have_statusicon" |
1240 echo " Audacious OSD: $have_aosd" | 1261 echo " Audacious OSD: $have_aosd" |
1262 echo " -> X Composite support: $have_aosd_xcomp" | |
1241 echo " Control via event device (evdev-plug): $have_evdevplug" | 1263 echo " Control via event device (evdev-plug): $have_evdevplug" |
1242 echo " LIRC: $have_lirc" | 1264 echo " LIRC: $have_lirc" |
1243 echo " AudioScrobbler Client: $scrobbler" | 1265 echo " AudioScrobbler Client: $scrobbler" |
1244 echo | 1266 echo |
1245 echo " Effect" | 1267 echo " Effect" |