Changeset 22083

Show
Ignore:
Timestamp:
13.05.2010 17:21:16 (10 years ago)
Author:
sjm84
Message:

Improved error reporting about detection (or not) of Apache httpd

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gs2-extensions/video/trunk/CASCADE-MAKE.sh

    r21173 r22083  
    1717  # This is because the entension needs to add mod_flvx to the web server 
    1818 
    19   echo "Warning: Could not find the directory \"$APACHE_HTTPD_HOME\"" 
    20   echo "         Has the main Greenstone been configure for this? " 
    21   echo "         e.g. ./configure --enable-apache-httpd [... other options]" 
    22   echo "" 
    23   echo "=> Only the build-time code for the extension will be compiled" 
     19  if [ -z $GSDL3SRCHOME  ] ; then 
     20    # Greenstone 2 
     21    echo "Warning: Did not find the directory \"$APACHE_HTTPD_HOME\"" 
     22    echo "         Has the main Greenstone been configured for this? " 
     23    echo "         e.g. ./configure --enable-apache-httpd [... other options]" 
     24    echo "" 
     25    echo "=> Only the build-time code for the extension will be compiled" 
     26  else  
     27    # Greenstone 3 
     28    echo "  Compiling build-time video extension for Greenstone3 use" 
     29  fi 
    2430  export APACHE_HTTPD_HOME= 
    2531fi