From a7b8a9668d0f570da0d30f2f09a2f620082071c2 Mon Sep 17 00:00:00 2001 From: reinelt <> Date: Fri, 4 Nov 2005 04:44:52 +0000 Subject: [lcd4linux @ 2005-11-04 04:44:52 by reinelt] LPH7508 driver (not yet finished) --- configure | 53 +++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 37 insertions(+), 16 deletions(-) (limited to 'configure') diff --git a/configure b/configure index ffc51eb..b3f4344 100755 --- a/configure +++ b/configure @@ -869,10 +869,10 @@ Optional Packages: (try 'all,\!' if your shell complains...) possible drivers are: BeckmannEgle, BWCT, CrystalFontz, Curses, Cwlinux, - HD44780, LCDLinux, LCDTerm, M50530, MatrixOrbital, - MilfordInstruments, Noritake, NULL, PNG, PPM, - RouterBoard, serdisplib, SimpleLCD, T6963, Trefon, - USBLCD, WincorNixdorf, X11 + HD44780, LCDLinux, LCDTerm, LPH7508, M50530, + MatrixOrbital, MilfordInstruments, Noritake, NULL, + PNG, PPM, RouterBoard, serdisplib, SimpleLCD, T6963, + Trefon, USBLCD, WincorNixdorf, X11 --with-plugins= choose which plugins to compile. type --with-plugins=list for a list of avaible plugins @@ -6039,6 +6039,7 @@ for driver in $drivers; do HD44780="yes" LCDLINUX="yes" LCDTERM="yes" + LPH7508="yes" M50530="yes" MATRIXORBITAL="yes" MILINST="yes" @@ -6079,6 +6080,9 @@ for driver in $drivers; do LCDTerm) LCDTERM=$val ;; + LPH7508) + LPH7508=$val + ;; M50530) M50530=$val ;; @@ -6251,6 +6255,17 @@ _ACEOF fi +if test "$LPH7508" = "yes"; then + GRAPHICS="yes" + PARPORT="yes" + DRIVERS="$DRIVERS drv_LPH7508.o" + +cat >>confdefs.h <<\_ACEOF +#define WITH_LPH7508 1 +_ACEOF + +fi + if test "$M50530" = "yes"; then TEXT="yes" PARPORT="yes" @@ -9491,18 +9506,24 @@ else ac_cv_func_fork_works=cross else cat >conftest.$ac_ext <<_ACEOF -/* By Ruediger Kuhlmann. */ - #include - #if HAVE_UNISTD_H - # include - #endif - /* Some systems only have a dummy stub for fork() */ - int main () - { - if (fork() < 0) - exit (1); - exit (0); - } +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ + + /* By Ruediger Kuhlmann. */ + if (fork() < 0) + exit (1); + exit (0); + + ; + return 0; +} _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 -- cgit v1.2.3