diff configure.in @ 3173:510e3f36c04a

BeOS support for power subsystem.
author Ryan C. Gordon <icculus@icculus.org>
date Sun, 07 Jun 2009 22:44:59 +0000
parents b7a48f533966
children 77d6336711fc
line wrap: on
line diff
--- a/configure.in	Sun Jun 07 06:49:01 2009 +0000
+++ b/configure.in	Sun Jun 07 22:44:59 2009 +0000
@@ -2804,6 +2804,12 @@
             SOURCES="$SOURCES $srcdir/src/loadso/beos/*.c"
             have_loadso=yes
         fi
+        # Set up files for the system power library
+        if test x$enable_power = xyes; then
+            AC_DEFINE(SDL_POWER_BEOS)
+            SOURCES="$SOURCES $srcdir/src/power/beos/*.c"
+            have_power=yes
+        fi
         # The BeOS platform requires special setup.
         SOURCES="$srcdir/src/main/beos/*.cc $SOURCES"
         EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lroot -lbe -lmedia -lgame -ldevice -ltextencoding"