Search for magnetic fields in normal upper--main-sequence stars