Method to detect 4.6 or 4.7.

Chris Johns chrisj at rtems.org
Sun May 15 02:30:34 UTC 2005


Hello,

I need to detect if code is being built for 4.6 or 4.7. For example the 
new "rtems/bsdnet/servers.h" file is needed for 4.7 but not 4.6.

What is the preferred method of detecting the difference ?

An autoconf test would be fine.

Regards

-- 
  Chris Johns



More information about the users mailing list