Changeset 18484 for gsdl


Ignore:
Timestamp:
2009-02-10T10:07:47+13:00 (15 years ago)
Author:
davidb
Message:

Addition of Apache's httpd web server (version 2.x) into runtime-src packages; plus changes to configure and Makefile.in scripts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/runtime-src/packages/configure

    r16568 r18484  
    3131USE_CORBA=false
    3232MICO_DIR=default
     33# Apache's httpd (web server) enabled by default
     34USE_APACHE_HTTPD=true
    3335
    3436# parse any arguments given from toplevel configure
     
    6769        MICO_DIR=$1
    6870        ;;       
     71    --enable-apache-httpd)
     72        USE_APACHE_HTTPD=false
     73        ;;
    6974    --prefix=*)
    7075        prefix=`echo $1 | sed s/--prefix=//`
     
    176181fi
    177182
     183
     184# Apache's HTTPD web server
     185echo ""
     186echo "Configuring Apache httpd"
     187if test x$USE_APACHE_HTTPD = xtrue ;
     188then
     189  echo "Apache httpd support enabled"
     190  echo "add --disable-apache-httpd to the configure command to disable this"
     191  echo ""
     192  cd "$PACKAGES/apache-httpd"
     193  gzip -dc httpd-2.2.11.tar.gz | tar -xf -
     194  cd httpd-2.2.11&& \
     195    ./configure $CACHE_FILE --with-layout=Apache --enable-most --prefix="${prefix}/apache-httpd" --eprefix="${prefix}/apache-httpd/bin/${GSDLOS}" $HOSTTARGETFLAGS
     196else
     197  echo "Apache httpd support disabled"
     198  echo ""
     199fi
     200
     201
Note: See TracChangeset for help on using the changeset viewer.