Updated configure scripts, et al, to use and recognize the
SVGAlib driver and an upcoming Toshiba T6963 driver...
This commit is contained in:
@@ -11,6 +11,9 @@
|
|||||||
* ignoring punctuation (such as underscores). Although this order
|
* ignoring punctuation (such as underscores). Although this order
|
||||||
* can split up related entries, it makes it easier to check whether
|
* can split up related entries, it makes it easier to check whether
|
||||||
* a given entry is in the file.
|
* a given entry is in the file.
|
||||||
|
*
|
||||||
|
* To add a new driver, insert the appropriate variable into
|
||||||
|
* this list alphabetically.
|
||||||
*/
|
*/
|
||||||
/* Leave the following blank line there!! Autoheader needs it. */
|
/* Leave the following blank line there!! Autoheader needs it. */
|
||||||
|
|
||||||
@@ -81,8 +84,12 @@
|
|||||||
/* Define if you have the statvfs function */
|
/* Define if you have the statvfs function */
|
||||||
#undef STAT_STATVFS
|
#undef STAT_STATVFS
|
||||||
|
|
||||||
|
#undef SVGALIB_DRV
|
||||||
|
|
||||||
#undef TEXT_DRV
|
#undef TEXT_DRV
|
||||||
|
|
||||||
|
#undef T6963_DRV
|
||||||
|
|
||||||
/* Define the package version */
|
/* Define the package version */
|
||||||
#undef VERSION
|
#undef VERSION
|
||||||
|
|
||||||
|
|||||||
+19
-1
@@ -9,7 +9,14 @@ AC_ARG_ENABLE(drivers,
|
|||||||
drivers=[mtxorb,cfontz,curses,text,lb216,bayrad,glk])
|
drivers=[mtxorb,cfontz,curses,text,lb216,bayrad,glk])
|
||||||
|
|
||||||
if test "$drivers" = "all"; then
|
if test "$drivers" = "all"; then
|
||||||
drivers=[mtxorb,cfontz,curses,text,lb216,hd44780,joy,irman,lircin,bayrad,glk,stv5730,sed1520]
|
case "$host" in
|
||||||
|
*-*-*linux*)
|
||||||
|
drivers=[mtxorb,cfontz,curses,text,lb216,hd44780,joy,irman,lircin,bayrad,glk,stv5730,sed1520,svgalib]
|
||||||
|
;;
|
||||||
|
*-*-*solaris*)
|
||||||
|
drivers=[mtxorb,cfontz,curses,text,lb216,bayrad,glk]
|
||||||
|
;;
|
||||||
|
esac
|
||||||
AC_MSG_RESULT(all)
|
AC_MSG_RESULT(all)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -81,6 +88,16 @@ fi
|
|||||||
DRIVERS="$DRIVERS stv5730.o"
|
DRIVERS="$DRIVERS stv5730.o"
|
||||||
AC_DEFINE(STV5730_DRV)
|
AC_DEFINE(STV5730_DRV)
|
||||||
;;
|
;;
|
||||||
|
svgalib)
|
||||||
|
AC_CHECK_LIB(vga, main, LIBSVGA="-lvga -lvgagl",
|
||||||
|
AC_MSG_ERROR([The svgalib driver needs the vga library]))
|
||||||
|
DRIVERS="$DRIVERS svgalib_drv.o"
|
||||||
|
AC_DEFINE(SVGALIB_DRV)
|
||||||
|
;;
|
||||||
|
t6963)
|
||||||
|
DRIVERS="$DRIVERS t6963.o"
|
||||||
|
AC_DEFINE(T6963_DRV)
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
AC_MSG_ERROR([Unknown driver $driver])
|
AC_MSG_ERROR([Unknown driver $driver])
|
||||||
;;
|
;;
|
||||||
@@ -90,6 +107,7 @@ fi
|
|||||||
AC_SUBST(LIBCURSES)
|
AC_SUBST(LIBCURSES)
|
||||||
AC_SUBST(LIBIRMAN)
|
AC_SUBST(LIBIRMAN)
|
||||||
AC_SUBST(LIBLIRC_CLIENT)
|
AC_SUBST(LIBLIRC_CLIENT)
|
||||||
|
AC_SUBST(LIBSVGA)
|
||||||
AC_SUBST(DRIVERS)
|
AC_SUBST(DRIVERS)
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
SUBDIRS=drivers
|
SUBDIRS=drivers
|
||||||
sbin_PROGRAMS=LCDd
|
sbin_PROGRAMS=LCDd
|
||||||
LCDd_SOURCES= client_data.c client_data.h client_functions.c client_functions.h client_menu.h clients.c clients.h input.c input.h main.c main.h menu.c menu.h menus.c menus.h parse.c parse.h render.c render.h screen.c screen.h screenlist.c screenlist.h serverscreens.c serverscreens.h sock.c sock.h widget.c widget.h
|
LCDd_SOURCES= client_data.c client_data.h client_functions.c client_functions.h client_menu.h clients.c clients.h input.c input.h main.c main.h menu.c menu.h menus.c menus.h parse.c parse.h render.c render.h screen.c screen.h screenlist.c screenlist.h serverscreens.c serverscreens.h sock.c sock.h widget.c widget.h
|
||||||
LCDd_LDADD = drivers/libLCDdrivers.a ../shared/libLCDstuff.a @LIBCURSES@ @LIBIRMAN@ @LIBLIRC_CLIENT@
|
LCDd_LDADD = drivers/libLCDdrivers.a ../shared/libLCDstuff.a @LIBCURSES@ @LIBIRMAN@ @LIBLIRC_CLIENT@ @LIBSVGA@
|
||||||
INCLUDES = -I$(top_srcdir)
|
INCLUDES = -I$(top_srcdir)
|
||||||
|
|||||||
@@ -13,7 +13,9 @@ EXTRA_libLCDdrivers_a_SOURCES = MtxOrb.c MtxOrb.h text.c text.h \
|
|||||||
port.h joy.c joy.h irmanin.c irmanin.h \
|
port.h joy.c joy.h irmanin.c irmanin.h \
|
||||||
bayrad.h bayrad.c \
|
bayrad.h bayrad.c \
|
||||||
CFontz.c CFontz.h lircin.c lircin.h debug.h \
|
CFontz.c CFontz.h lircin.c lircin.h debug.h \
|
||||||
glk.c glk.h glkproto.c glkproto.h
|
glk.c glk.h glkproto.c glkproto.h \
|
||||||
|
svgalib_drv.c svgalib_drv.h \
|
||||||
|
t6963.c t6963.h t6963_font.h
|
||||||
libLCDdrivers_a_DEPENDENCIES = @DRIVERS@
|
libLCDdrivers_a_DEPENDENCIES = @DRIVERS@
|
||||||
libLCDdrivers_a_LIBADD = @DRIVERS@
|
libLCDdrivers_a_LIBADD = @DRIVERS@
|
||||||
# NOTE: $(srcdir)/.. is to get .h files from the server directory
|
# NOTE: $(srcdir)/.. is to get .h files from the server directory
|
||||||
|
|||||||
Reference in New Issue
Block a user