use POLLPRI for (HUP suckz - not maskable)
[enigma2.git] / configure.ac
index 1cae1aa43df7f44880b880d9c1207c0870efdf0a..ebdd8974a95ee2c145037c4d1e57f195c4df1954 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