Mkmf and quoting -L and -I paths

It seems that there are multiple versions of mkmf around, and they have
different behavior when it comes to quoting the -L and -I paths.

What is the preferred way to write an extconf.rb such that paths
supplied to dir_config are properly quoted throughout the Makefile (i.e.
so that the paths may contain spaces, etc.)?

Jeff D.