- merge both patches and add proper history - run autogen.sh to avoid hardcoding stuff - add a configure case for haiku although it doesn't seem to have any effect - still run libtoolize -fci just in case.