#!/bin/bash cd /usr/src # SSL_BASE=SYSTEM # --enable-module=log_referer \ #OPTIM='-O2 -mcpu=i686' ./configure \ cd httpd CHOST="i686-pc-linux-gnu" \ CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" \ CXXFLAGS="${CFLAGS}" \ ./configure \ --prefix=/usr/local/apache2 \ --with-mpm=prefork \ --enable-rewrite \ --enable-ssl \ --with-included-apr make echo "^D to finish install OR ^C to stop before install." cat > /dev/null /etc/init.d/httpd2 stop make install sleep 3 /etc/init.d/httpd2 start cd ..