#
# $Id: INSTALL.src 655 2012-02-15 13:26:31Z coelho $
#

Installing the mod_macro 1.2.1 module with apache 2.4 is simple,
especially if you use mod_so for dynamic linking.

Here is a sample installation with apache 2.4 and mod_macro 1.2.1:


(0) Get the latest mod_macro release:

    prompt> wget http://people.apache.org/~fabien/mod_macro/mod_macro-1.2.1.tar.gz


(1) Extract the distribution tar file.

    prompt> tar xzvf mod_macro-latest.tar.gz


(2) Compile and install mod macro as a dynamic shared object library
    ready to be loaded into apache.

    prompt> apxs -cia mod_macro-1.2.1/mod_macro.c

    Under MacOS X, try something like:

    macos> sudo apxs -cia -Wc,'-arch x86_64' -Wl,'-arch x86_64' mod_macro.c


(3) You may also want to install the html documentation.

    prompt> cp mod_macro-1.2.1/mod_macro.html \
               apache_2.4/htdocs/manual/mod/

    and maybe update apache_2.4/htdocs/manual/mod/index.html to
    add a reference to the mod_macro.html file.

(4) Enjoy!
