Fix build issues on CentOS master origin/HEAD origin/master
authorRyan Jud Hughes <ryan@linuxbox.com>
Tue, 4 Aug 2009 18:18:58 +0000 (11:18 -0700)
committerAdam Megacz <megacz@hcoop.net>
Tue, 4 Aug 2009 18:18:58 +0000 (11:18 -0700)
commit3cb7bdb7c0ee5ae67ff85cc1d98134353d037553
tree399731890b7f904fa8ed31bd30cca4064b53083b
parent5f53e76deb396baffc73b922b44f85cfaa7ca234
Fix build issues on CentOS

Hi.  I had problems compiling modwaklog using CentOS and the latest
openafs from git.

I managed to work out generally-useful solutions to the problems, so I
thought I'd send this patch on.

1. I added a configuration option to tell it where to find the apr
   headers.

2. The afs headers to include have changed.  It was complaining that
   afs_int32 was undefined.  I now include <afs/param.h>, which is
   apparently the accepted thing to do for afs programs.

3. When my build was completed, I found the .so file not in the main
   directory, but in .libs/mod_waklog.so.  I updated the documentation to
   say to look for it there.

I attached a patch that fixed these problems for me.

Thanks.
--Ryan
INSTALL
Makefile.am
README
configure.in
debian/rules [changed mode: 0644->0755]
mod_waklog.c
regen.sh [changed mode: 0644->0755]