diff --git a/configure.in b/configure.in index e240051..f8a6b06 100644 --- a/configure.in +++ b/configure.in @@ -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 diff --git a/server/drivers/timing.h b/server/drivers/timing.h index 07f574d..3222b71 100644 --- a/server/drivers/timing.h +++ b/server/drivers/timing.h @@ -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"