fix commit https://github.com/OpenPLi/enigma2/commit/0237136ce955899bca6fc5837b6d71a...
[openblackhole/openblackhole-enigma2.git] / configure.ac
index b8b8353..9782627 100644 (file)
@@ -173,6 +173,24 @@ if test x"$with_alsamixer" != xno ; then
        AC_DEFINE_UNQUOTED(ALSA_VOLUME_MIXER, "$withval",[Defines which alsa mixer to use for volume control])
 fi
 
+AC_ARG_WITH(fbdev,
+       AC_HELP_STRING([--with-fbdev=devicename], [use devicename for framebuffer device, e.g. /dev/fb0 ]),
+       [[with_fbdev=$withval]],
+       [[with_fbdev=no]]
+)
+if test x"$with_fbdev" != xno ; then
+       AC_DEFINE_UNQUOTED(FB_DEV, "$withval", [Defines which device to use for main framebuffer (e.g. /dev/fb0)])
+fi
+
+AC_ARG_WITH(lcddev,
+       AC_HELP_STRING([--with-lcddev=devicename], [use devicename for lcd framebuffer device, e.g. /dev/fb1 ]),
+       [[with_lcddev=$withval]],
+       [[with_lcddev=no]]
+)
+if test x"$with_lcddev" != xno ; then
+       AC_DEFINE_UNQUOTED(LCD_DEV, "$withval", [Defines which device to use for lcd (e.g. /dev/fb1)])
+fi
+
 ENIGMA2_CFLAGS="-fno-rtti -fno-exceptions"
 AC_SUBST(ENIGMA2_CFLAGS)