version 1.19, 2008/08/05 21:09:59
|
version 1.20, 2008/08/14 14:27:53
|
|
|
with_openslp=$optarg | with_openslp=$optarg |
;; | ;; |
| |
|
--with-external-slp=*) |
|
with_external_slp=$optarg |
|
;; |
|
|
|
--with-external-slp-dir=*) |
|
with_external_slp-dir=$optarg |
|
;; |
|
|
--disable-cmpi) | --disable-cmpi) |
disable_cmpi=1 | disable_cmpi=1 |
;; | ;; |
|
|
with_solaris_defaults=1 | with_solaris_defaults=1 |
;; | ;; |
| |
|
--with-solaris-nevada-defaults) |
|
with_solaris_nevada_defaults=1 |
|
;; |
--solaris) | --solaris) |
with_solaris_defaults=1 | with_solaris_defaults=1 |
;; | ;; |
|
|
Enable OpenSLP feature (implies --enable-slp). | Enable OpenSLP feature (implies --enable-slp). |
--with-openslp=DIR | --with-openslp=DIR |
Find OpenSLP installation under DIR (e.g., --with-openslp=/usr). | Find OpenSLP installation under DIR (e.g., --with-openslp=/usr). |
|
--with-external-slp=TYPE |
|
Use external slp defined by keyword (e.g., --with-external-slp=openslp). |
|
Superceedes --enable-openslp. |
|
--with-external-slp-dir=DIR |
|
Find external SLP include and lib directories under DIR |
|
(e.g., --with-external-slp=/usr). Default is /usr |
--disable-cmpi | --disable-cmpi |
Disable CMPI provider support | Disable CMPI provider support |
--enable-binary-repository | --enable-binary-repository |
Enable the binary repository feature, resulting in a smaller CIM | Enable the binary repository feature, resulting in a smaller CIM |
repository disk footprint. | repository disk footprint. |
--with-solaris-defaults | --with-solaris-defaults |
Enables reasonable defaults for the Solaris Nevada platform. These |
Enables reasonable defaults for the Solaris platform. These |
includes: | includes: |
--enable-ssl | --enable-ssl |
--enable-openslp | --enable-openslp |
--enable-pam-standalone | --enable-pam-standalone |
|
--with-solaris-nevada-defaults |
|
Enables reasonable defaults for the Solaris Nevada platform. These |
|
includes: |
|
--enable-ssl |
|
--with-external-slp=solarisslp |
|
--enable-pam-standalone |
--with-vxworks-xscale-defaults | --with-vxworks-xscale-defaults |
Enables reasonable defaults for the VXWorks/XScale platform. | Enables reasonable defaults for the VXWorks/XScale platform. |
includes: | includes: |
|
|
enable_openslp=1 | enable_openslp=1 |
enable_pam_standalone=1 | enable_pam_standalone=1 |
fi | fi |
|
if [ "$with_solaris_nevada_defaults" = 1 ]; then |
|
enable_ssl=1 |
|
with_external_slp=solarisslp |
|
enable_pam_standalone=1 |
|
fi |
if [ "$with_vxworks_xscale_defaults" = 1 ]; then | if [ "$with_vxworks_xscale_defaults" = 1 ]; then |
platform=VXWORKS_XSCALE_GNU | platform=VXWORKS_XSCALE_GNU |
disable_oop=1 | disable_oop=1 |
|
|
| |
##============================================================================== | ##============================================================================== |
## | ## |
## Verify --with-slp directory. |
## Verify --with-openslp directory. |
## | ## |
##============================================================================== | ##============================================================================== |
| |
|
|
fi | fi |
| |
fi | fi |
|
##============================================================================== |
|
## |
|
## Verify --with-external-slp - Test for valid keyword and no openslp option |
|
## |
|
##============================================================================== |
|
##if [ ! -z "$with_external_slp" ]; then |
|
|
|
## if [ "$with_external_slp" = "openslp ]; then |
|
## echo "$0: Error: No such directory: --with-openslp=$with_external_slp_dir" |
|
## exit 1; |
|
## fi |
|
|
|
##fi |
|
##============================================================================== |
|
## |
|
## Verify --with-external-slp-dir directory. |
|
## |
|
##============================================================================== |
|
|
|
if [ ! -z "$with_external_slp_dir" ]; then |
|
|
|
if [ ! -d "$with_external_slp_dir" ]; then |
|
echo "$0: Error: No such directory: --with-openslp=$with_external_slp_dir" |
|
exit 1; |
|
fi |
|
|
|
if [ ! -f "$with_external_slp_dir/include/slp.h" ]; then |
|
echo "$0: missing dependency: \$with_external_slp_dir/include/slp.h" |
|
missing=1 |
|
fi |
|
|
|
if [ ! -f "$with_external_slp_dir/$libbase/libslp.so" ]; then |
|
echo "$0: missing dependency: \$with_external_slp_dir/$libbase/libslp.so" |
|
missing=1 |
|
fi |
|
|
|
if [ "$missing" = "1" ]; then |
|
echo "$0: where --with-external-slp-dir=$with_external_slp_dir" |
|
exit 1; |
|
fi |
| |
|
fi |
##============================================================================== | ##============================================================================== |
## | ## |
## These options (if non-empty) must denote absolute directory names. | ## These options (if non-empty) must denote absolute directory names. |
|
|
echo "export PEGASUS_USE_OPENSLP=true" >> $options | echo "export PEGASUS_USE_OPENSLP=true" >> $options |
fi | fi |
| |
|
if [ ! -z "$with_external_slp" ]; then |
|
echo "export PEGASUS_ENABLE_SLP=true" >> $options |
|
echo "export PEGASUS_USE_EXTERNAL_SLP=$with_external_slp" >> $options |
|
fi |
|
|
|
if [ ! -z "$with_external_slp_dir" ]; then |
|
echo "export PEGASUS_EXTERNAL_SLP_HOME=$with_external_slp_dir" >> $options |
|
fi |
|
|
if [ ! -z "$with_openslp" ]; then | if [ ! -z "$with_openslp" ]; then |
echo "export PEGASUS_OPENSLP_HOME=$with_openslp" >> $options | echo "export PEGASUS_OPENSLP_HOME=$with_openslp" >> $options |
fi | fi |