aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorreinelt <>2005-11-04 04:44:52 +0000
committerreinelt <>2005-11-04 04:44:52 +0000
commita7b8a9668d0f570da0d30f2f09a2f620082071c2 (patch)
treea0e2199800aa6b138e7460374a1443e330afb7b3 /configure
parent68f725de21b5f053d4d05fda2a0d66ffd9cc830b (diff)
downloadlcd4linux-a7b8a9668d0f570da0d30f2f09a2f620082071c2.tar.gz
[lcd4linux @ 2005-11-04 04:44:52 by reinelt]
LPH7508 driver (not yet finished)
Diffstat (limited to '')
-rwxr-xr-xconfigure53
1 files changed, 37 insertions, 16 deletions
diff --git a/configure b/configure
index ffc51eb..b3f4344 100755
--- a/configure
+++ b/configure
@@ -869,10 +869,10 @@ Optional Packages:
(try 'all,\!<driver>' 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=<list> 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 <sys/types.h>
- #if HAVE_UNISTD_H
- # include <unistd.h>
- #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