I'm working on a patch for the ISC dhcp server to allow it to run correctly with Solaris 11 / Illumos NIC vanity names and Crossbow VNIC's.
By default, the tokens "__sun" and "_SVR4" are defined, but this applies to all versions of Solaris. I want to define "__SunOS_5_11" only if uname returns Solaris 11, because this patch only applies to Solaris 11. I believe the correct way to do this is in the configure script.
I've spent the past couple of days trying to decipher the configure script to no avail, it's quite large. I can gather that it generates a "config.h" file that contains token definitions though.
I believe they are using autoconf and automake, which i don't have a ton of experience with. If anyone has any experience with this, any help would be greatly appreciated!
As pointed out by nos, i should be looking in configure.ac
i was able to pull this off with the following code.