This is a bug: A block of AC_DEFINE's resets HAVE_STRUCT_ETHER_ADDR and other 
variables to zero regardless of tests above. Alternative fix is also possible: moving the
checks down.