Text (MM+errata): At the beginning of your end step, if you didn't play a land this turn, you may draw a card. [Oracle 2009/07/08]
It only checks if you played a land. Putting a land into play by using an effect of another card does not count as "playing a land". [MM FAQ 1999/09/22]