]> git.lyx.org Git - lyx.git/blobdiff - src/callback.cpp
Assertion fix.
[lyx.git] / src / callback.cpp
index 2a41494be6f48791f17427a676d0799f278fc0ef..bde105b61644680248e2446065e2efed6212522d 100644 (file)
@@ -436,14 +436,15 @@ docstring const getContentsOfPlaintextFile(BufferView * bv, string const & f,
 
 // This function runs "configure" and then rereads lyx.defaults to
 // reconfigure the automatic settings.
-void reconfigure(LyXView & lv)
+void reconfigure(LyXView & lv, string const & option)
 {
        // emit message signal.
        lv.message(_("Running configure..."));
 
        // Run configure in user lyx directory
        support::Path p(package().user_support());
-       string const configure_command = package().configure_command();
+       string configure_command = package().configure_command();
+       configure_command += option;
        Systemcall one;
        one.startscript(Systemcall::Wait, configure_command);
        p.pop();