When I first did it with my Macbook, it was set to extend the desktop by default. However, I still had to go into the display preferences and change the positioning of the extra monitor- IIRC, it assumes the external monitor is to the left of the main monitor by default.