(file) Return to configure CVS log (file) (dir) Up to [Pegasus] / pegasus_unsupported / config

Diff for /pegasus_unsupported/config/configure between version 1.9 and 1.10

version 1.9, 2008/07/02 18:42:30 version 1.10, 2008/07/03 03:08:28
Line 388 
Line 388 
   datadir=$prefix/share   datadir=$prefix/share
 fi fi
  
 if [ -z "$with_ssl" ]; then  
   with_ssl=/usr  
 fi  
   
 if [ -z "$with_pam" ]; then if [ -z "$with_pam" ]; then
   with_pam=/etc/pam.d   with_pam=/etc/pam.d
 fi fi
  
 ##============================================================================== ##==============================================================================
 ## ##
 ## Verify existence of SSL files and directories.  ## Verify --with-ssl directory.
 ## ##
 ##============================================================================== ##==============================================================================
  
 if [ "$enable_ssl" = "1" ]; then  if [ ! -z "$with_ssl" ]; then
   
   # Verify that SSL base directory exists (e.g., /usr).  
  
   if [ ! -d "$with_ssl" ]; then   if [ ! -d "$with_ssl" ]; then
     echo "$0: Error: No such directory: --with-ssl=$with_ssl"     echo "$0: Error: No such directory: --with-ssl=$with_ssl"
     echo  
     exit 1;     exit 1;
   fi   fi
  
   # Verify that "ssl.h" exists.    if [ ! -f "$with_ssl/include/openssl/ssl.h" ]; then
       echo "$0: missing dependency: \$with_ssl/include/openssl/ssl.h"
       missing=1
     fi
  
   missing=    if [ ! -f "$with_ssl/bin/openssl" ]; then
       echo "$0: missing dependency: \$with_ssl/bin/openssl"
       missing=1
     fi
  
   if [ ! -f "$with_ssl/include/openssl/ssl.h" ]; then    if [ ! -f "$with_ssl/$libbase/libssl.so" ]; then
     missing=include/openssl/ssl.h      echo "$0: missing dependency: \$with_ssl/$libbase/libss.so"
       missing=1
   fi   fi
  
   # Verify that "openssl" program exists.    if [ "$missing" = "1" ]; then
       echo "$0: where --with-ssl=$with_ssl"
       exit 1;
     fi
  
   if [ ! -f "$with_ssl/bin/openssl" ]; then  
     missing=bin/openssl  
   fi   fi
  
   # Verify that "libssl.a" or "libssl.so" exist.  ##==============================================================================
   ##
   ## Verify --with-slp directory.
   ##
   ##==============================================================================
   
   if [ ! -z "$with_openslp" ]; then
  
   if [ ! -f "$with_ssl/$libbase/libssl.a" -a ! -f "$with_ssl/$libbase/libssl.so" ]; then    if [ ! -d "$with_openslp" ]; then
       missing="$libbase/libssl.so"      echo "$0: Error: No such directory: --with-openslp=$with_openslp"
       exit 1;
   fi   fi
  
   # Print error if any of the above components are missing.    if [ ! -f "$with_openslp/include/slp.h" ]; then
       echo "$0: missing dependency: \$with_openslp/include/slp.h"
       missing=1
     fi
  
   if [ ! -z $missing ]; then    if [ ! -f "$with_openslp/$libbase/libslp.so" ]; then
     echo -n "$0: Error: SSL component not found: $with_ssl/$missing. "      echo "$0: missing dependency: \$with_openslp/$libbase/libslp.so"
     echo -n "Specify location of SSL with the --with-ssl=DIR option."      missing=1
     echo    fi
   
     if [ "$missing" = "1" ]; then
       echo "$0: where --with-openslp=$with_openslp"
     exit 1;     exit 1;
   fi   fi
  
Line 539 
Line 553 
   echo "export PEGASUS_HAS_SSL=true" >> $options   echo "export PEGASUS_HAS_SSL=true" >> $options
 fi fi
  
   if [ ! -z "$with_ssl" ]; then
     echo "export OPENSSL_HOME=$with_ssl" >> $options
   fi
   
 if [ "$enable_slp" = "1" ]; then if [ "$enable_slp" = "1" ]; then
     echo "export PEGASUS_ENABLE_SLP=true" >> $options     echo "export PEGASUS_ENABLE_SLP=true" >> $options
 fi fi
Line 549 
Line 567 
 fi fi
  
 if [ ! -z "$with_openslp" ]; then 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   echo "export PEGASUS_OPENSLP_HOME=$with_openslp" >> $options
 fi fi
  
Line 561 
Line 574 
   echo "export PEGASUS_ENABLE_CMPI_PROVIDER_MANAGER=true" >> $options   echo "export PEGASUS_ENABLE_CMPI_PROVIDER_MANAGER=true" >> $options
 fi fi
  
 if [ -z "$with_ssl" ]; then  
   echo "export OPENSSL_HOME=$with_ssl" >> $options  
 fi  
   
 if [ "$enable_binary_repository" = "1" ]; then if [ "$enable_binary_repository" = "1" ]; then
   echo "export PEGASUS_REPOSITORY_MODE=BIN" >> $options   echo "export PEGASUS_REPOSITORY_MODE=BIN" >> $options
 fi fi


Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2