- install missing files
[enigma2.git] / configure.ac
index 1cae1aa..ebdd897 100644 (file)
@@ -18,7 +18,6 @@ AC_ARG_WITH(libsdl,
        [[withsdl=$withval]],
        [[withsdl=yes]]
 )
-AC_DEFINE_UNQUOTED([WITH_SDL],[$withsdl],[With SDL])
                
 TUXBOX_APPS_DVB
 #TUXBOX_APPS_DRIVER
@@ -33,7 +32,8 @@ TUXBOX_APPS_LIB_PKGCONFIG(SIGC,sigc++-1.2)
 #TUXBOX_APPS_LIB_PKGCONFIG(XMLTREE,tuxbox-xmltree)
 
 if test "$withsdl" = "yes" ; then
-       TUXBOX_APPS_LIB_PKGCONFIG(SDL,sdl-config)
+       TUXBOX_APPS_LIB_CONFIG(SDL,sdl-config)
+       AC_DEFINE_UNQUOTED([WITH_SDL],[$withsdl],[With SDL])
 fi
 
 # fixme: decent python stuff