The --with configure option is used to enable extensions that require external libraries. --with takes the installation prefix for that library as an optional argument.

The <with> tag takes three attributes:

name and defaults are set to the extension base name and "/usr:/usr/local" if no values are given. The testfile attribute is mandatory.

Textual data enclosed by the <with> is used to describe the "with" option in the output of configure --help calls.

<with defaults='/usr:/usr/local' testfile='include/sample.h'>sample install</with>