fi
if test "$LEDMATRIX" = "yes"; then
- GRAPHICS="yes"
+ GRAPHIC="yes"
DRIVERS="$DRIVERS drv_LEDMatrix.o"
cat >>confdefs.h <<\_ACEOF
fi
if test "$LPH7508" = "yes"; then
- GRAPHICS="yes"
+ GRAPHIC="yes"
GPIO="yes"
PARPORT="yes"
DRIVERS="$DRIVERS drv_LPH7508.o"
fi
+# Image driver
+if test "$IMAGE" = "yes"; then
+ GRAPHIC="yes"
+ DRIVERS="$DRIVERS drv_Image.o"
+fi
+
if test "$DRIVERS" = ""; then
{ { echo "$as_me:$LINENO: error: You should activate at least one driver..." >&5
echo "$as_me: error: You should activate at least one driver..." >&2;}
DRIVERS="$DRIVERS drv_generic_text.o"
fi
-# Image driver
-if test "$IMAGE" = "yes"; then
- GRAPHIC="yes"
- DRIVERS="$DRIVERS drv_Image.o"
-fi
-
# generic graphic driver
if test "$GRAPHIC" = "yes"; then
DRIVERS="$DRIVERS drv_generic_graphic.o"
fi
if test "$LEDMATRIX" = "yes"; then
- GRAPHICS="yes"
+ GRAPHIC="yes"
DRIVERS="$DRIVERS drv_LEDMatrix.o"
AC_DEFINE(WITH_LEDMATRIX,1,[LEDMatrix driver])
fi
if test "$LPH7508" = "yes"; then
- GRAPHICS="yes"
+ GRAPHIC="yes"
GPIO="yes"
PARPORT="yes"
DRIVERS="$DRIVERS drv_LPH7508.o"
fi
+# Image driver
+if test "$IMAGE" = "yes"; then
+ GRAPHIC="yes"
+ DRIVERS="$DRIVERS drv_Image.o"
+fi
+
if test "$DRIVERS" = ""; then
AC_MSG_ERROR([You should activate at least one driver...])
fi
DRIVERS="$DRIVERS drv_generic_text.o"
fi
-# Image driver
-if test "$IMAGE" = "yes"; then
- GRAPHIC="yes"
- DRIVERS="$DRIVERS drv_Image.o"
-fi
-
# generic graphic driver
if test "$GRAPHIC" = "yes"; then
DRIVERS="$DRIVERS drv_generic_graphic.o"