1 /* This file is part of
2 * ======================================================
4 * LyX, The Document Processor
6 * Copyright 1995 Matthias Ettrich
7 * Copyright 1995-2000 The LyX Team.
9 * ====================================================== */
12 #include FORMS_H_LOCATION
16 #include "support/filetools.h"
18 // I keep these here so that it will be processed as early in
19 // the compilation process as possible.
20 #if !defined(FL_REVISION) || FL_REVISION < 88 || FL_VERSION != 0
21 #error LyX will not compile with this version of XForms.\
22 Please get version 0.89.\
23 If you want to try to compile anyway, delete this test in src/main.C.
27 int main(int argc, char *argv[]) {
28 // lyx_localedir is used by gettext_init() is we have
29 // i18n support built-in
30 string lyx_localedir = GetEnvPath("LYX_LOCALEDIR");
31 if (lyx_localedir.empty())
32 lyx_localedir = LOCALEDIR;
34 // initialize for internationalized version *EK*
39 _wildcard(&argc, &argv);