Skip to content

Commit

Permalink
Fixed the DirectFB renderer not being enabled in autoconf builds
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Aug 27, 2018
1 parent a1ca844 commit 044b00d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions configure
Expand Up @@ -21501,6 +21501,9 @@ fi

$as_echo "#define SDL_VIDEO_DRIVER_DIRECTFB 1" >>confdefs.h


$as_echo "#define SDL_VIDEO_RENDER_DIRECTFB 1" >>confdefs.h

SOURCES="$SOURCES $srcdir/src/video/directfb/*.c"
EXTRA_CFLAGS="$EXTRA_CFLAGS $DIRECTFB_CFLAGS"

Expand Down
1 change: 1 addition & 0 deletions configure.in
Expand Up @@ -2163,6 +2163,7 @@ AC_HELP_STRING([--enable-directfb-shared], [dynamically load directfb support [[
, enable_directfb_shared=yes)

AC_DEFINE(SDL_VIDEO_DRIVER_DIRECTFB, 1, [ ])
AC_DEFINE(SDL_VIDEO_RENDER_DIRECTFB, 1, [ ])
SOURCES="$SOURCES $srcdir/src/video/directfb/*.c"
EXTRA_CFLAGS="$EXTRA_CFLAGS $DIRECTFB_CFLAGS"

Expand Down

0 comments on commit 044b00d

Please sign in to comment.