#!/bin/sh
PATH_APACHE='/home2/apache'
HERE=`pwd`
APACHE_DIR='apache_1.3.14'
APACHE_TGZ="$APACHE_DIR.tar.gz"
APACHE_FLAGS="--prefix=$PATH_APACHE
--enable-module=so
--enable-module=most
--enable-shared=max"
rm -rfv $APACHE_DIR
tar xvzf $APACHE_TGZ
cd $APACHE_DIR
LDFLAGS=-lpthread ./configure $APACHE_FLAGS
make
make install
cd $HERE

