Switch to side-by-side view

--- a/src/mk/localdefs.in
+++ b/src/mk/localdefs.in
@@ -7,11 +7,16 @@
 
 LIBFAM = @LIBFAM@
 
+X_CFLAGS=@X_CFLAGS@
+X_PRE_LIBS=@X_PRE_LIBS@
+X_LIBS=@X_LIBS@
+X_EXTRA_LIBS=@X_EXTRA_LIBS@
+
 prefix = @prefix@
 datadir = @datadir@
 RECOLL_DATADIR = ${datadir}/recoll
 
-LOCALCXXFLAGS = $(INCICONV) $(XAPIANCXXFLAGS) \
+LOCALCXXFLAGS = $(INCICONV) $(XAPIANCXXFLAGS) $(X_CFLAGS) \
 	      -DRECOLL_DATADIR=\"$(RECOLL_DATADIR)\" @DEFS@
 
 CXXFLAGS = -g -O2 -Wall -Wno-unused