1) Download the Gaim source code from
gaim.sourceforge.net.
2) Download the AutoProfile source from the above link.
3) Unpack the Gaim code and copy the AutoProfile source into the resulting
gaim-<version>/plugins directory.
4) Run
./configure within the main Gaim directory. If you are on Windows, don't worry about failed dependencies.
5) Type
make autoprofile.so or
make -f Makefile.mingw autoprofile.dll
in the plugins directory, depending if you're compiling on a Unix or Windows
system, respectively.
6) Copy the resulting .so/.dll file to the proper directory as instructed by
the binary installs.
Directions for
setting up the build environment in Windows can be found on the Gaim website.