With judy 1.0.4 and previous releases that used autoconf/automake configure, you couldn't do something like ``mkdir orb ; cd orb ; ../configure'' in the Judy source tree because it would complain about missing some common Judy header files.
With this patch the above now configures and compiles and you can also for examples ``cd /tmp ; mkdir tmporb ; cd tmporb ; $JUDYSRC/configure'' to do a compile too.
Some notes what this patch does:
An AC_CONFIG_SRCDIR line is added to configure.ac, which points to a single file in the Judy src/ subdirectory. This is to help ensure that the configure script can verify where the source code really is.
JudyL/Makefile.am, Judy1/Makefile.am, etc, have -I$(top_srcdir)/src style statements added to the INCLUDES line. In some cases also -I$(srcdir) is added so that when the compiler directory enters the JudyL source directory for example, it will find headers also present in that directory.
How to apply the patch:
tar xzvf Judy-1.0.4.tar.gz
patch -p1 < ../Judy-1.0.4-configure-patch-out-of-directory.patch