]> git.lyx.org Git - lyx.git/blobdiff - src/lyx_cb.C
zlib stuff
[lyx.git] / src / lyx_cb.C
index dab4e37d65bb9ea72d33cf152c420df579201514..1b49bafece967b5478bbdd34e9879653aab738ce 100644 (file)
@@ -35,6 +35,7 @@
 #include "support/filetools.h"
 #include "support/forkedcall.h"
 #include "support/path.h"
+#include "support/path_defines.h"
 #include "support/systemcall.h"
 #include "support/lstrings.h"
 
@@ -453,10 +454,10 @@ void Reconfigure(BufferView * bv)
        bv->owner()->message(_("Running configure..."));
 
        // Run configure in user lyx directory
-       Path p(user_lyxdir);
+       Path p(user_lyxdir());
        Systemcall one;
        one.startscript(Systemcall::Wait,
-                       AddName(system_lyxdir, "configure"));
+                       AddName(system_lyxdir(), "configure"));
        p.pop();
        bv->owner()->message(_("Reloading configuration..."));
        lyxrc.read(LibFileSearch(string(), "lyxrc.defaults"));