Skip to content

Instantly share code, notes, and snippets.

@tsertkov
Last active December 22, 2015 15:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tsertkov/6495024 to your computer and use it in GitHub Desktop.
Save tsertkov/6495024 to your computer and use it in GitHub Desktop.
Script for executing "configure" from apache source directory with predefined configuration and compiler options.
export CHOST="x86_64-pc-linux-gnu"
export CFLAGS="-O2 -march=native -pipe"
export CXXFLAGS="${CFLAGS}"
./configure \
--prefix=/opt/apache-dev \
--disable-filter \
--disable-version \
--disable-asis \
--disable-negotiation \
--disable-actions \
--disable-userdir \
--disable-include \
--disable-cgid \
--disable-cgi \
--enable-info \
--enable-rewrite \
--enable-expires \
--enable-headers \
--enable-auth-digest \
--enable-deflate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment