The airspeed is not affected in any way by having a headwind. The groundspeed is though... but I have yet to see any flight deck automation which will try to follow a set groundspeed. IAS is the target variable set.
If there are such systems out there, I'd be very interested in hearing about them though!
Cheers,
Fred