further updates to the build system, generate enigma2.sh
[enigma2.git] / lib / gdi / Makefile.am
index f1f69ef5e452994d7a75e1da141aa93cb0dd48c5..5f2aee9b0c7ded90df5132321bb8bb132ff21186 100644 (file)
@@ -4,6 +4,9 @@ AM_CPPFLAGS = \
        -include Python.h \
        -include $(top_builddir)/enigma2_config.h
 
+AM_CXXFLAGS = \
+       $(LIBSDL_CFLAGS)
+
 noinst_LTLIBRARIES = libenigma_gdi.la
 
 libenigma_gdi_la_SOURCES = \
@@ -42,7 +45,7 @@ libenigma_gdi_la_SOURCES = \
        region.cpp \
        region.h
 
-if WITH_SDL
+if HAVE_LIBSDL
 libenigma_gdi_la_SOURCES += \
        sdl.cpp \
        sdl.h