Forgot to add a spiky comment :)
Autoconf is evil. The sysconfdir and similar variables are unusable inC includes as they contain substitutions specific to make.
Worked around by creating sysconf/paths.h which is created fromthe Makefile instead of by the configure script.
Dropped CPU_NEEDS_ALIGN_* as unaligned.h no longer uses them.
The CLI I/O functions work as desired.
Configure PATH_CONTROL_SOCKET.autoconf.h is now written to obj/sysdep, the source tree is hopefullycompletely read-only now.
Include "config.h" instead of "autoconf.h" in all Modules lists to make definesin the static portion of configuration includes available as well.
First step of "autoconfization". Created a configure script whichguesses most system-dependent parameters and determines name of systemconfiguration file (sysdep/cf/...) with the remaining ones.
To compile BIRD, you now need to do:
autoconf # Create configure from configure.in...
Renamed `DEBUG' symbol to `DEBUGGING' to prevent collisions with tokennames and include files.
Added path to config file.
Implemented timers. Using bird_clock_t for absolute time from now...
BIRD library: The story continues.
Complete resource manages and IP address handling.
Changed #include <x/y> to #include "x/y" for our local includes, so thatgcc -MM can be used to separate them from the system ones.
Added automatic generation of dependencies.
First look at data structures. More to come tomorrow...