cabal check will fail on -fprof-auto passed as a ghc-option
cabal check will fail on -fprof-auto passed as a ghc-option

This is consistent with the the current -auto-all behavior.

This fixes #2479.

(cherry picked from commit f1d525287512895101aca183996351797274a2d6)

typelead/epm,typelead/epm