Using autoconf check to detect if there's a parallel port.

This commit is contained in:
gfk
2002-05-02 01:17:28 +00:00
parent 77b73505ec
commit 8cff8dbf77
4 changed files with 51 additions and 16 deletions
+5 -5
View File
@@ -66,14 +66,14 @@
#if defined DELAY_GETTIMEOFDAY
# undef DELAY_NANOSLEEP
# undef DELAY_IOCALLS
#elif defined DELAY_NANOSLEEP
# undef DELAY_GETTIMEOFDAY
# undef DELAY_IOCALLS
# include <sched.h>
#else // assume DELAY_IOCALLS
#elif defined DELAY_IOCALLS && defined HAVE_LPT_PORT
# undef DELAY_GETTIMEOFDAY
# undef DELAY_NANOSLEEP
# include "port.h"
#else // assume DELAY_NANOSLEEP
# undef DELAY_GETTIMEOFDAY
# undef DELAY_IOCALLS
# include <sched.h>
#endif
/////////////////////////////////////////////////////////////////