Mercurial > audlegacy-plugins
comparison configure.ac @ 411:78a5e9c37469 trunk
[svn] - Rework and clean up code
- Add generic support for /sys/class/leds/ LEDs, used for Apple PMU and SMU
- Make rocklight configurable in configure
author | hansmi |
---|---|
date | Sat, 06 Jan 2007 07:40:46 -0800 |
parents | 290588854a9d |
children | 37a183b4ce60 |
comparison
equal
deleted
inserted
replaced
410:4333f0bbcc55 | 411:78a5e9c37469 |
---|---|
318 AC_SUBST(LIBNMS_SRC) | 318 AC_SUBST(LIBNMS_SRC) |
319 fi | 319 fi |
320 | 320 |
321 dnl *** Rocklight | 321 dnl *** Rocklight |
322 | 322 |
323 AC_CHECK_FILE([/proc/acpi/ibm/light], [VISUALIZATION_PLUGINS="$VISUALIZATION_PLUGINS rocklight" | 323 AC_ARG_ENABLE(rocklight, |
324 LEDCODE=thinklight.c]) | 324 AS_HELP_STRING([--disable-rocklight], [disable Rocklight vis plugin (default=enabled)]), |
325 AC_CHECK_FILE([/sys/class/leds/pmu-front-led/brightness], [VISUALIZATION_PLUGINS="$VISUALIZATION_PLUGINS rocklight" | 325 [enable_rocklight="$enableval"], |
326 LEDCODE=apple_pmu.c]) | 326 [enable_rocklight="yes"] |
327 AC_SUBST(LEDCODE) | 327 ) |
328 | |
329 if test "$enable_rocklight" = "yes"; then | |
330 VISUALIZATION_PLUGINS="$VISUALIZATION_PLUGINS rocklight" | |
331 fi | |
328 | 332 |
329 dnl *** LIRC client libraries | 333 dnl *** LIRC client libraries |
330 | 334 |
331 AC_ARG_ENABLE(lirc, | 335 AC_ARG_ENABLE(lirc, |
332 [ --disable-lirc disable LIRC plugin (default=enabled)], | 336 [ --disable-lirc disable LIRC plugin (default=enabled)], |