Wireshark-commits: [Wireshark-commits] rev 44986: /trunk/ /trunk/: CMakeLists.txt cmakeconfig.h.in
Date: Tue, 18 Sep 2012 21:42:13 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=44986

User: morriss
Date: 2012/09/18 02:42 PM

Log:
 *NIX (autofoo and cmake) part of the fix for
 https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6134 :
 
 Make VERSION_MAJOR, VERSION_MINOR, and VERSION_MICRO available in config.h so
 (e.g.) dissector writers can #if around them as necessary to make a piece of
 code compile with different versions of Wireshark.  (Hopefully VERSION_MICRO
 is not important in this respect!)
 
 Windows also defines VERSION_EXTRA which can be used to help identify custom
 builds; this is not done for these build methods (yet?).

Directory: /trunk/
  Changes    Path                Action
  +41 -30    CMakeLists.txt      Modified
  +3 -0      cmakeconfig.h.in    Modified
  +11 -1     configure.ac        Modified