Switch to side-by-side view

--- a/src/configure.ac
+++ b/src/configure.ac
@@ -109,6 +109,8 @@
 else
    AC_MSG_NOTICE([inotify monitoring disabled])
 fi
+
+AC_CHECK_FUNCS(mkdtemp)
 
 ##### Look for iconv. We first look for libiconv in /usr/local/lib:/usr/lib
 ##    then in libc (Linux, solaris)
@@ -306,7 +308,7 @@
 AC_SUBST(QTGUI)
 AC_SUBST(QTRECOLL_DATADIR)
 AC_SUBST(XAPIANCXXFLAGS)
-
+AC_SUBST(HAVE_MKDTEMP)
 AC_CONFIG_FILES(mk/localdefs)
 AC_CONFIG_FILES(recollinstall)
 AC_CONFIG_FILES(Makefile)