Changed HAVE_LPT_PORT to HAVE_PCSTYLE_LPT_CONTROL

This commit is contained in:
gfk
2002-05-04 14:20:22 +00:00
parent 3f385754b0
commit 26a63f7d81
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ AC_CACHE_CHECK([for a parallel port], ac_cv_port_have_lpt,
if test "$ac_cv_port_have_lpt" = yes
then
AC_DEFINE([HAVE_LPT_PORT],[1],[Define if you have a parallel port and LCDproc knows how to talk to it.])
AC_DEFINE([HAVE_PCSTYLE_LPT_CONTROL],[1],[Define if you have a parallel port and LCDproc knows how to talk to it.])
else
AC_MSG_WARN([Can't talk to the parallel port, disabling drivers that use it.])
fi
+1 -1
View File
@@ -66,7 +66,7 @@
#if defined DELAY_GETTIMEOFDAY
# undef DELAY_NANOSLEEP
# undef DELAY_IOCALLS
#elif defined DELAY_IOCALLS && defined HAVE_LPT_PORT
#elif defined DELAY_IOCALLS && defined HAVE_PCSTYLE_LPT_CONTROL
# undef DELAY_GETTIMEOFDAY
# undef DELAY_NANOSLEEP
# include "port.h"