Updated configure scripts, et al, to use and recognize the

SVGAlib driver and an upcoming Toshiba T6963 driver...
This commit is contained in:
ddouthitt
2001-09-26 22:29:00 +00:00
parent 46003178df
commit d67120f519
4 changed files with 30 additions and 3 deletions
+7
View File
@@ -11,6 +11,9 @@
* ignoring punctuation (such as underscores). Although this order
* can split up related entries, it makes it easier to check whether
* 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. */
@@ -81,8 +84,12 @@
/* Define if you have the statvfs function */
#undef STAT_STATVFS
#undef SVGALIB_DRV
#undef TEXT_DRV
#undef T6963_DRV
/* Define the package version */
#undef VERSION
+19 -1
View File
@@ -9,7 +9,14 @@ AC_ARG_ENABLE(drivers,
drivers=[mtxorb,cfontz,curses,text,lb216,bayrad,glk])
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)
fi
@@ -81,6 +88,16 @@ fi
DRIVERS="$DRIVERS stv5730.o"
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])
;;
@@ -90,6 +107,7 @@ fi
AC_SUBST(LIBCURSES)
AC_SUBST(LIBIRMAN)
AC_SUBST(LIBLIRC_CLIENT)
AC_SUBST(LIBSVGA)
AC_SUBST(DRIVERS)
])
+1 -1
View File
@@ -1,5 +1,5 @@
SUBDIRS=drivers
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_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)
+3 -1
View File
@@ -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 \
bayrad.h bayrad.c \
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_LIBADD = @DRIVERS@
# NOTE: $(srcdir)/.. is to get .h files from the server directory