diff --git a/stepmania/configure.ac b/stepmania/configure.ac index 85c31cc0be..d8412fb81d 100644 --- a/stepmania/configure.ac +++ b/stepmania/configure.ac @@ -79,9 +79,10 @@ x86_64-*) ;; powerpc-*) AC_DEFINE(CPU_PPC, 1, [PPC]) + have_parallel_port=no ;; esac - +AM_CONDITIONAL(HAVE_PARALLEL_PORT, test "${have_parallel_port-yes}" = "yes") AC_C_BIGENDIAN( AC_DEFINE(ENDIAN_BIG, 1, [Big endian]), diff --git a/stepmania/src/Makefile.am b/stepmania/src/Makefile.am index 0364a6cdc4..e09dd00d24 100644 --- a/stepmania/src/Makefile.am +++ b/stepmania/src/Makefile.am @@ -207,7 +207,9 @@ if UNIX ArchHooks += arch/ArchHooks/ArchHooks_Unix.cpp arch/ArchHooks/ArchHooks_Unix.h Threads += arch/Threads/Threads_Pthreads.cpp arch/Threads/Threads_Pthreads.h Lights += arch/Lights/LightsDriver_LinuxWeedTech.cpp arch/Lights/LightsDriver_LinuxWeedTech.h +if HAVE_PARALLEL_PORT Lights += arch/Lights/LightsDriver_LinuxParallel.cpp arch/Lights/LightsDriver_LinuxParallel.h +endif ArchUtils += archutils/Unix/AssertionHandler.cpp \ archutils/Unix/GetSysInfo.cpp archutils/Unix/GetSysInfo.h \