parameters: (self, prefix = None)
docstring: Find and create a configuration for Boost.
  
          prefix -- Where to find curl, should contain
                    include/curl/curl.h.
docstring_summary: Find and create a configuration for Boost.
docstring_tokens: Find and create a configuration for Boost .
function: def __init__(self, prefix = None):
          """Find and create a configuration for Boost.
  
          prefix -- Where to find curl, should contain
                    include/curl/curl.h.
          """
          # Compute the search path.
          if prefix is None:
              test = [Path('/usr'), Path('/usr/local')]
          else:
              test = [Path(prefix)]
          for i in range(len(test)):
              if not test[i].absolute:
                  test[i] = srctree() / test[i]
          self.__prefix = self._search_all('include/curl/curl.h', test)[0]
          self.__config = drake.cxx.Config()
          self.__config.add_system_include_path(self.__prefix / 'include')
          self.__config.lib_path(self.__prefix / 'lib')
function_tokens: def __init__ ( self , prefix = None ) : # Compute the search path. if prefix is None : test = [ Path ( '/usr' ) , Path ( '/usr/local' ) ] else : test = [ Path ( prefix ) ] for i in range ( len ( test ) ) : if not test [ i ] . absolute : test [ i ] = srctree ( ) / test [ i ] self . __prefix = self . _search_all ( 'include/curl/curl.h' , test ) [ 0 ] self . __config = drake . cxx . Config ( ) self . __config . add_system_include_path ( self . __prefix / 'include' ) self . __config . lib_path ( self . __prefix / 'lib' )