configure.in
changeset 3173 510e3f36c04a
parent 3170 b7a48f533966
child 3180 77d6336711fc
--- 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"