* configure.ac: Add -I$top_srcdir_absolute to 'CPPFLAGS'. Fixes
out-of-source-tree compilation of lib/regex.c. Reported at
<https://lists.gnu.org/archive/html/guile-devel/2014-03/msg00022.html>.
top_srcdir_absolute=`(cd $srcdir && pwd)`
AC_SUBST(top_srcdir_absolute)
+dnl Add -I flag so that lib/glthread/lock.h finds <libguile/threads.h>.
+CPPFLAGS="-I$top_srcdir_absolute $CPPFLAGS"
+
dnl `sitedir' goes into libpath.h and the pkg-config file.
pkgdatadir="$datadir/$PACKAGE_TARNAME"
sitedir="$pkgdatadir/site/$GUILE_EFFECTIVE_VERSION"