version 1.4, 2008/07/02 16:49:05
|
version 1.5, 2008/07/02 17:38:45
|
|
|
disable_oop=1 | disable_oop=1 |
;; | ;; |
| |
--disable-provider-user-context) |
--enable-pam) |
disable_provider_user_context=1 |
enable_pam=1 |
;; |
|
|
|
--disable-pam) |
|
disable_pam=1 |
|
;; | ;; |
| |
--with-pam=*) | --with-pam=*) |
|
|
enable_ssl=1 | enable_ssl=1 |
;; | ;; |
| |
|
--enable-slp) |
|
enable_slp=1 |
|
;; |
|
|
|
--enable-openslp) |
|
enable_openslp=1 |
|
;; |
|
|
|
--with-openslp=*) |
|
with_openslp=$optarg |
|
;; |
|
|
|
--disable-cmpi) |
|
disable_cmpi=1 |
|
;; |
|
|
--with-ssl=*) | --with-ssl=*) |
with_ssl=$optarg | with_ssl=$optarg |
;; | ;; |
|
|
Build for debug. | Build for debug. |
--disable-oop | --disable-oop |
Disable out-of-process providers. | Disable out-of-process providers. |
--disable-provider-user-context |
--enable-pam |
Disable provider user context feature. |
Enable PAM authentication (fall back on password-file authentication). |
--disable-pam |
|
Disable PAM authentication (fall back on password-file authentication). |
|
--with-pam=DIR | --with-pam=DIR |
Specify an alternative PAM directory location (defaults to /etc/pam.d). | Specify an alternative PAM directory location (defaults to /etc/pam.d). |
--with-pam-mod=FILE | --with-pam-mod=FILE |
|
|
inova-pegasus). | inova-pegasus). |
--enable-ssl | --enable-ssl |
Enable SSL feature | Enable SSL feature |
|
--enable-slp |
|
Enable SLP feature |
|
--enable-openslp |
|
Enable OpenSLP feature |
|
--with-openslp=DIR |
|
Find OpenSLP installation under DIR (e.g., --with-openslp=/usr). |
|
--disable-cmpi |
|
Disable CMPI provider support |
--with-ssl=DIR | --with-ssl=DIR |
Find SSL under DIR (e.g., --with-ssl=/usr). | Find SSL under DIR (e.g., --with-ssl=/usr). |
--enable-binary-repository | --enable-binary-repository |
|
|
| |
##============================================================================== | ##============================================================================== |
## | ## |
## Guess the platform using the ./config.guess script. |
## Guess the platform. |
## | ## |
##============================================================================== | ##============================================================================== |
| |
|
|
host=ppc-unknown-linux-gnu | host=ppc-unknown-linux-gnu |
;; | ;; |
| |
|
sun*:SunOS:*:*) |
|
host=sparc-sun-solaris |
|
;; |
|
|
*) | *) |
echo "$0: Failed to guess host" | echo "$0: Failed to guess host" |
echo " machine=$machine" | echo " machine=$machine" |
|
|
enable_static=1 | enable_static=1 |
;; | ;; |
| |
|
sparc-sun-solaris) |
|
platform=SOLARIS_SPARC_64_CC |
|
libbase=lib/64 |
|
;; |
|
|
*) | *) |
echo "$0: unknown host: $host" | echo "$0: unknown host: $host" |
exit 1 | exit 1 |
|
|
if [ "$disable_oop" = "1" ] | if [ "$disable_oop" = "1" ] |
then | then |
echo "export PEGASUS_DEFAULT_ENABLE_OOP=false" >> $options | echo "export PEGASUS_DEFAULT_ENABLE_OOP=false" >> $options |
else |
|
echo "export PEGASUS_DEFAULT_ENABLE_OOP=true" >> $options |
|
fi |
|
|
|
if [ "$disable_provider_user_context" = "1" ] |
|
then |
|
echo "export PEGASUS_DISABLE_PROV_USERCTXT=1" >> $options | echo "export PEGASUS_DISABLE_PROV_USERCTXT=1" >> $options |
|
echo "export PEGASUS_DISABLE_PRIVILEGED_TESTS=true" >> $options |
fi | fi |
| |
if [ "$enable_debug" = 1 ] | if [ "$enable_debug" = 1 ] |
|
|
echo "export PEGASUS_DEBUG=1" >> $options | echo "export PEGASUS_DEBUG=1" >> $options |
fi | fi |
| |
if [ "$disable_pam" != "1" ]; then |
if [ "$enable_pam" = "1" ]; then |
echo "export PEGASUS_PAM_AUTHENTICATION=true" >> $options | echo "export PEGASUS_PAM_AUTHENTICATION=true" >> $options |
echo "export PEGASUS_USE_PAM_STANDALONE_PROC=true" >> $options | echo "export PEGASUS_USE_PAM_STANDALONE_PROC=true" >> $options |
fi | fi |
|
|
| |
if [ "$enable_ssl" = "1" ]; then | if [ "$enable_ssl" = "1" ]; then |
echo "export PEGASUS_HAS_SSL=true" >> $options | echo "export PEGASUS_HAS_SSL=true" >> $options |
|
fi |
|
|
|
if [ "$enable_slp" = "1" ]; then |
|
echo "export PEGASUS_ENABLE_SLP=true" >> $options |
|
fi |
|
|
|
if [ "$enable_openslp" = "1" ]; then |
|
echo "export PEGASUS_ENABLE_SLP=true" >> $options |
|
echo "export PEGASUS_USE_OPENSLP=true" >> $options |
|
fi |
|
|
|
if [ ! -z "$with_openslp" ]; then |
|
if [ ! -d "$with_openslp" ]; then |
|
echo "$0: Error: No such directory: --with-openslp=$with_openslp" |
|
echo |
|
exit 1; |
|
fi |
|
echo "export PEGASUS_OPENSLP_HOME=$with_openslp" >> $options |
|
fi |
|
|
|
if [ "$disable_cmpi" != "1" ]; then |
|
echo "export PEGASUS_ENABLE_CMPI_PROVIDER_MANAGER=true" >> $options |
|
fi |
|
|
|
if [ -z "$with_ssl" ]; then |
echo "export OPENSSL_HOME=$with_ssl" >> $options | echo "export OPENSSL_HOME=$with_ssl" >> $options |
echo "export PEGASUS_USE_SSL_RANDOMFILE=false" >> $options |
|
fi | fi |
| |
if [ "$enable_binary_repository" = "1" ]; then | if [ "$enable_binary_repository" = "1" ]; then |