PEAR Manual
Prev |  | Next

# PEAR_PackageFileManager::addConfigureOption()

PEAR_PackageFileManager::addConfigureOption() -- Add an install-time configuration option for building of source

## Synopsis

    require_once 'PEAR/PackageFileManager.php';

``void|PEAR_Error PEAR_PackageFileManager::addConfigureOption` (string $name, string $prompt [, string $default = `NULL`])`

## Description

This option is only useful to PECL projects that are built upon installation

## Parameter

string `$name`

  name of the option

string `$prompt`

  prompt to display to the user

string `$default`

  default value

## Throws

throws PEAR_PACKAGEFILEMANAGER_RUN_SETOPTIONS

## Note

This function can not be called statically.

Prev | Home | Next
constructor PEAR_PackageFileManager::PEAR_PackageFileManager() | Up | PEAR_PackageFileManager::addDependency()