a single -DHAVE_GETLINE will suffice.