1 /* This file is part of
2 * ======================================================
4 * LyX, The Document Processor
6 * Copyright 1995 Matthias Ettrich
7 * Copyright 1995-1999 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_REVISION != 89) \
22 #error LyX will not compile with this version of XForms.\
23 Please get version 0.89.\
24 If you want to try to compile anyway, delete this test in src/main.C.
28 int main(int argc, char *argv[]) {
29 // lyx_localedir is used by gettext_init() is we have
30 // i18n support built-in
31 string lyx_localedir = GetEnvPath("LYX_LOCALEDIR");
32 if (lyx_localedir.empty())
33 lyx_localedir = LOCALEDIR;
35 // initialize for internationalized version *EK*
40 _wildcard(&argc, &argv);