This module is EXPERIMENTAL. Use at your own risk!!

Build instructions:
------------------

1. Enter the Hastymail2 top level directory

    cd /<webserver document root>/hastymail2

2. Move the php module code somewhere else for building

    mv utils_module ~

3. Enter the utils_module direcotry you just move

    cd ~/utils_module

4. Run the phpize command to create the build files

    phpize

5. Configure the module (no args needed unless PHP is in a non-standard
   location, in which case use the --with-php-config to point to your
   php-config executable

    ./configure

6. Build the module

    make

7. Copy the compiled module somewhere

    cp modules/hm_utils.so /<path to module>/

8. Add the module to your php.ini

    edit php.ini:
        extension=/<path to module>/hm_utils.so

9. Enable the module in hastymail by editing the index.php file:

   line 538: $hm_utils_mod = true; 

10. Restart apache

    /etc/init.d/apache2 restart
