Switch to side-by-side view

--- a/src/configure.ac
+++ b/src/configure.ac
@@ -320,6 +320,21 @@
 #echo LIBXAPIANDIR: $LIBXAPIANDIR
 #echo LIBXAPIANSTATICEXTRA: $LIBXAPIANSTATICEXTRA
 #echo XAPIANCXXFLAGS: $XAPIANCXXFLAGS
+
+
+XSLT_CONFIG=${XSLT_CONFIG:-no}
+if test "$XSLT_CONFIG" = "no"; then 
+    AC_PATH_PROG(XSLT_CONFIG0, [xslt-config], no)
+    XSLT_CONFIG=$XSLT_CONFIG0
+fi
+if test "$XSLT_CONFIG" = "no" ; then
+   AC_MSG_ERROR([Cannot find xslt-config command in $PATH. Is
+libxslt installed ?])
+   exit 1
+fi
+
+XSLT_CFLAGS=`xslt-config --cflags`
+XSLT_LINKADD=`xslt-config --libs`
 
 AC_ARG_ENABLE(xadump, 
     AC_HELP_STRING([--enable-xadump],
@@ -527,6 +542,8 @@
 AC_SUBST(LIBQZEITGEIST)
 AC_SUBST(RCLVERSION)
 AC_SUBST(RCLLIBVERSION)
+AC_SUBST(XSLT_CFLAGS)
+AC_SUBST(XSLT_LINKADD)
 
 # All object files depend on localdefs which has the cc flags. Avoid
 # changing it unless necessary