From: Erik M. <er...@us...> - 2001-09-18 19:55:31
|
Update of /cvsroot/blob/blob In directory usw-pr-cvs1:/tmp/cvs-serv15081 Modified Files: configure.in Log Message: This patch really shows the elegancy of the new command line system: clock.c is conditionally compiled and it doesn't need any #ifdef in the rest of the code. The changes: - make clock.c compile conditionally - get rid of clock.h, it's no longer needed - cleanup the codestyle in clock.c - large cleanup in clock.c getting rid of MyIsXDigit() - remove Johan from the startup messages, his code is now conditionally Index: configure.in =================================================================== RCS file: /cvsroot/blob/blob/configure.in,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- configure.in 2001/09/16 15:44:00 1.7 +++ configure.in 2001/09/18 19:55:29 1.8 @@ -75,13 +75,13 @@ AC_DEFINE(USE_SDRAM) AC_DEFINE(USE_SERIAL1) ;; - brutus) AC_MSG_RESULT(Brutus) AC_DEFINE(BRUTUS) AC_DEFINE(USE_SA1100) AC_DEFINE(USE_EDODRAM) AC_DEFINE(USE_SERIAL3) + CLOCK="clock.o" ;; creditlart) AC_MSG_RESULT(CreditLART) @@ -96,6 +96,7 @@ AC_DEFINE(USE_SA1100) AC_DEFINE(USE_EDODRAM) AC_DEFINE(USE_SERIAL3) + CLOCK="clock.o" ;; nesa) AC_MSG_RESULT(NESA) @@ -103,6 +104,7 @@ AC_DEFINE(USE_SA1100) AC_DEFINE(USE_EDODRAM) AC_DEFINE(USE_SERIAL3) + CLOCK="clock.o" ;; pleb) AC_MSG_RESULT(PLEB) @@ -110,6 +112,7 @@ AC_DEFINE(USE_SA1100) AC_DEFINE(USE_EDODRAM) AC_DEFINE(USE_SERIAL3) + CLOCK="clock.o" ;; shannon) AC_MSG_RESULT(SHANNON) @@ -117,6 +120,7 @@ AC_DEFINE(USE_SA1100) AC_DEFINE(USE_EDODRAM) AC_DEFINE(USE_SERIAL3) + CLOCK="clock.o" ;; *) AC_MSG_RESULT(unknown) @@ -124,9 +128,10 @@ AC_DEFINE(USE_SA1100) AC_DEFINE(USE_EDODRAM) AC_DEFINE(USE_SERIAL3) + CLOCK="clock.o" ;; esac - +AC_SUBST(CLOCK) dnl Find out where the Linux headers are AC_ARG_WITH(linux-prefix,[ --with-linux-prefix=PFX Prefix where the ArmLinux sources live], |