torsdagen den 1 december 2005 16.01 skrev Nick Kew: > On Thursday 01 December 2005 14:47, Oden Eriksson wrote: > > I added mysql support in apr-util-1.2.2 as per INSTALL.MySQL as a > > conditional build switch in our rpm package, that was only possible after > > doing a lot of hacks. > > Are those hacks anything we/I should know about and fix, or are they > specific to your packaging?
Well if you want to fix it it would be great. basically what I had to do was to install these in the apr installbuilddir (in our apr-1.2.2 binary rpm): apr_common.m4 apr_hints.m4 apr_network.m4 apr_threads.m4 find_apr.m4 gen-build.py (I'm not sure all those *.m4 files was required) After that mimic buildconf by copying them to the apr-util-1.2.2/build/ directory, followed by libtoolize --copy --force; aclocal; autoconf --force; python build/gen-build.py make. After that apr-util-1.2.2 recognized the added apr_dbd_mysql.c source. Of course this was done at rpm build time for apr-util-1.2.2. Cheers. -- Regards // Oden Eriksson Mandriva: http://www.mandriva.com NUX: http://li.nux.se