Singularly perturbed elliptic problems with nonautonomous asymptotically linear nonlinearities. (April 2015)