Commit Graph

135 Commits

Author SHA1 Message Date
Georg Baum
ad63374e26 Require at least gcc 4.3
This is a prerequisite for mandatory C++11 support.
I could not find a cmake gcc version check btw.
2016-06-05 15:40:00 +02:00
Jean-Marc Lasgouttes
e1938aa240 Fix some compilation problems in C++11 mode
Only enable std::regex when the header <regex> is present (fix Mac OS X issue).

Remove support for concept checks. The page
  https://gcc.gnu.org/onlinedocs/libstdc++/manual/concept_checking.html
says about concept checking:

  Please note that the checks are based on the requirements in the
  original C++ standard, many of which were relaxed in the C++11
  standard and so valid C++11 code may be incorrectly rejected by the
  concept checks. Additionally, some correct C++03 code might be
  rejected by the concept checks, for example template argument types
  may need to be complete when used in a template definition, rather
  than at the point of instantiation. There are no plans to address
  these shortcomings.

Therefore it seems reasonable to remove our support for this.
2015-09-25 14:12:30 +02:00
Jean-Marc Lasgouttes
d95c187b5a Give a warning when system boost and stdlib-debug are used together
In general this would lead to an immediate runtime crash because the
runtime checks of libstdc++ change the layout of some STL objects.
Therefore, this will only work when the boost libraries have been
compiled with this same flag. At this time, it is not known whether
any linux distribution contains such libraries.

Fixes bug #9736.
2015-09-22 14:38:31 +02:00
Jean-Marc Lasgouttes
893ae612e4 Use C++11 by default when possible
Compiler that are known to support C++11 (gcc >= 4.3 and clang) are
now used in this mode by default. It is still possible to override
this choice using --(en|dis)able-cxx11.

Moreover, c++11 mode is detected from the compiler itself, not from
the use of --enable-cxx11. This allows to support compilers other
than gcc or clang.

Update INSTALL file accordingly and clean it a little bit.
2015-09-07 11:42:39 +02:00
José Matos
631bbab889 First step to support python 2(.7) and 3(.3+)
When the work is finished the moniker "work in progress" should be removed.
2015-03-10 13:55:59 +00:00
Jean-Marc Lasgouttes
d33f4c91f2 Allow automake 1.15. 2015-03-03 10:59:11 +01:00
Scott Kostyshak
6773042d0c Typo 2015-01-20 22:08:00 -05:00
Enrico Forestieri
4bdeae2733 Update autotools for building with Qt5.
The option --enable-qt5 allows configuring for Qt5. The default is Qt4.
Nothing special is done with respect to Qt4, apart from pulling in the
correct libraries. Indeed, other than the core and gui libraries, now
also the concurrent and widgets libraries are needed.
2014-07-19 03:34:28 +02:00
Vincent van Ravesteijn
7511bcf39f INSTALL: Update INSTALL
- adjust the supported versions for autotools
- add a note about the adviced Qt version
- remove gettext as a hard requirement and adjust the note
2014-04-13 16:20:55 +02:00
Vincent van Ravesteijn
7ab58d5d9e Revert "Update INSTALL"
This reverts commit 30d1cf47c1.
2014-04-12 14:01:11 +02:00
Vincent van Ravesteijn
30d1cf47c1 Update INSTALL 2014-04-10 22:35:32 +02:00
Pavel Sanda
c51b091e09 * INSTALL - Solaris build should work now. 2013-09-09 02:52:01 -07:00
Pavel Sanda
778cff1cff Comment from bug #8783. 2013-08-25 21:30:04 -07:00
Jean-Marc Lasgouttes
d7e2705228 Get rid of all traces of libintl.
This requires to re-add some tests in configure.ac.

Note that the code to generate a Makefile in po/ has been kept.
2013-05-30 22:10:01 +02:00
Jean-Marc Lasgouttes
3ef4db2ce4 Continue pre-spring cleaning of configure script
* build-type=profiling implies -fno-omit-frame-pointer in gcc. This allows sysprof to yield proper call trees
 * remove --enable-grpof option (the build type is enough)
 * remove --with-frontend option since we have only one frontend. Move stuff around and generally simplify the Qt detection code
 * do not check for bc anymore.
 * Update README.
2013-03-19 16:41:14 +01:00
Scott Kostyshak
66dcc7f62c INSTALL: typos and grammar 2013-01-30 04:54:23 -05:00
Jean-Marc Lasgouttes
d5e0e21ba0 Fix compatibility with automake 1.13
Do not use AM_PROG_MKDIR_P, which is obsolete. We use  the AC_* version
now, which requires autoconf>=2.59d. This also mean that we need to use
the variable MKDIR_P instead of mkdir_p.
2013-01-21 10:15:27 +01:00
Pavel Sanda
1bd1fe7121 * INSTALL, README 2012-11-04 02:02:16 +01:00
Pavel Sanda
15001b0354 * INSTALL few leftovers in trunk as well. 2012-11-01 18:06:26 +01:00
Pavel Sanda
f1be85dec7 * INSTALL 2012-06-21 11:14:18 +02:00
Julien Rioux
a082cfac69 Update the python requirements after r39553 and r39554. The subprocess module,
now used in configure.py, requires python >= 2.4. See the mailing list thread:
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg170511.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39559 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-29 14:36:37 +00:00
Jean-Marc Lasgouttes
05a604c554 clarify a bit installation instructions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38964 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-06 10:32:16 +00:00
Jean-Marc Lasgouttes
4055006f43 there is no need to install new fonts for LyX
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37419 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-02 15:10:03 +00:00
Jean-Marc Lasgouttes
98b48a4969 Add and document build types profinling and gprof. Some clean up of build_type code in configure
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37323 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-25 13:49:49 +00:00
Jean-Marc Lasgouttes
3b316bc83f better fix to #7239. Actually the whole switch and kaboodle (see r37229) is needed (otherwise sweave is broken)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37322 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-25 11:22:47 +00:00
Jean-Marc Lasgouttes
eb18b4e835 Rename --enable-profiling to --enable-gprof to pave the way for a configure option for normal profiling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37245 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-18 09:57:03 +00:00
Stephan Witt
82e8d0e297 add a note about the required development packages for spell checker support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36280 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-13 12:09:23 +00:00
Pavel Sanda
d0a2ff824d Back to Qt 4.2, thanks Enrico.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36236 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-10 15:54:54 +00:00
Pavel Sanda
8327b58835 Update docs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36170 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-06 23:24:50 +00:00
Pavel Sanda
8d66bb07c4 Aiksaurus has been killed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36168 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-06 22:55:00 +00:00
Pavel Sanda
f7bb05a35c From what I read Qt 4.2 is dead because of new threads code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36167 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-06 22:53:12 +00:00
Pavel Sanda
68386c6521 Arrgh
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35547 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-30 16:32:12 +00:00
Pavel Sanda
53d746f513 Spotted by Jose.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35546 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-30 16:31:20 +00:00
Pavel Sanda
7396ce7948 * INSTALL. Patch from Liviu Andronic.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35545 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-30 14:09:53 +00:00
Richard Heck
2361cefca1 Remove some obsolete "if you're using Qt" language.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35052 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-05 15:18:18 +00:00
Pavel Sanda
20d528aa98 Bring the old automake deps back and wait some more time.
For future reference, in this patch dep for autoconf 2.60 was missing.

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg159235.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34069 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-07 10:59:57 +00:00
Pavel Sanda
6b0683d8e9 Bump automake deps.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34068 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-06 15:25:12 +00:00
Jean-Marc Lasgouttes
c9f1c6cf5f small cleanup, now that we require automake 1.8
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31431 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-21 12:16:42 +00:00
Uwe Stöhr
43db6966b3 revert r30406
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30440 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-09 22:51:34 +00:00
Uwe Stöhr
4fba1a5643 INSTALL: require Qt 4.4 for LyX 2.0
(Qt 4.2 is 3 years old and requiring at least a one year old release of Qt should be acceptable for a new major release.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30406 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-07 18:22:57 +00:00
Jean-Marc Lasgouttes
f227016f3d updates to --enable-monolithic-build code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29160 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-09 16:25:26 +00:00
Jean-Marc Lasgouttes
ac62d4ef94 get rid of old --enable-monolithic-foo options; document new option
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29055 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-03 14:32:40 +00:00
Pavel Sanda
d694a215d5 Suggestion from users list.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27435 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 10:46:24 +00:00
Pavel Sanda
932ef468ed * INSTALL
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27015 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-21 21:07:16 +00:00
Jean-Marc Lasgouttes
622555235b rephrase a bit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26611 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-29 08:58:24 +00:00
Uwe Stöhr
55b2f50262 INSTALL: fix typo, fixes http://bugzilla.lyx.org/show_bug.cgi?id=5292
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26605 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-28 23:27:23 +00:00
Jean-Marc Lasgouttes
9bda5aa44d we require at least autoconf 2.59c (objc support for mac os x)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26116 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-11 21:46:38 +00:00
Pavel Sanda
2d38a28a4f Add comment to INSTALL procedure.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25474 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 14:18:44 +00:00
Jürgen Spitzmüller
ff711ed4bc * INSTALL: clarify description of --with-version-suffix (bug 4890).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24971 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-27 20:13:48 +00:00
Pavel Sanda
68d577f082 * INSTALL
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22984 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-13 20:30:31 +00:00