12.10. Including C Code

A PEAR package may include C or C++ code as well as PHP code. The PEAR Installer will run the extension build process if there are one or more files with the role=src.

12.10.1. Element: <configureoptions>

Element name:configureoptions
Attributes:none
May occur in:release (optional)

This is a wrapper element for one or more <configureoption> elements.

12.10.2. Element: <configureoption>

Element name:configureoption
Attributes:name (required)

default (optional)

prompt (required)
May occur in:configureoptions (required)

This element is for collecting build parameters on UNIX when building extension binaries. Typically, each extension has one or more configure options that may be specified here.

12.10.2.1. name Attribute

The ...

Get PHP 5 Power Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.