Fix compile (but not link--see list) on PPC linux.
This commit is contained in:
@@ -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]),
|
||||
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user