Commit Graph

291 Commits

Author SHA1 Message Date
Georg Baum
7796ad3a36 Improve llvm libc++ detection
The old detection did only work if CFLAGS contained -std=c++11, since ciso646
was only included for __cplusplus > 199711.
Thanks to Koernel for the cmake part.
2014-12-21 17:26:21 +01:00
Jean-Marc Lasgouttes
385f3e8abd Check for string COW by checking for library, not compiler
Note in particular that clang++ uses libstdc++ (GNU) by default, and not libc++.
Therefore, it suffers from the string COW bug too.
2014-12-19 08:54:07 +01:00
Jean-Marc Lasgouttes
dd2be1777f Detect whether the C++ compiler is clang
This does not have a real effect for now.
2014-12-17 12:11:10 +01:00
Georg Baum
83bee109db Make trivstring class ready for use
The interface is now 100% unit tested, and the typedefs depend on the new
STD_STRING_USES_COW configuration variable. The only missing bit is to detect
clang and disable STD_STRING_USES_COW for clang.
2014-12-07 13:14:17 +01:00
Jean-Marc Lasgouttes
0b09424017 Autotools: read git commit hash at compile time
Also do as cmake to avoid full recompilation when the hash changes.
2014-11-24 22:00:21 +01:00
Jean-Marc Lasgouttes
dc7ef3c81f Implement "callstack printing" checking for autotools
Contrary to cmake, we do not rely on platform/compiler check, but on the
availability of the reauired API.
2014-11-04 23:48:03 +01:00
Jean-Marc Lasgouttes
8ecb96c09a Add the git commit (if applicable) to LyX version
This only works for autotools right now, but adding that to cmake is trivial
2014-10-10 12:12:17 +02:00
Jean-Marc Lasgouttes
3cbd343a55 Cleanup the code for boost configuration 2014-05-05 10:11:18 +02:00
Jean-Marc Lasgouttes
5ff8a01cb6 Fix oversight in autotools packaging selection
The only consequence of this thinko is that the lyx.desktop and the svg icons were installed on Mac OS and Windows platform, whereas they are useless.
2014-04-21 11:51:59 -04:00
Jean-Marc Lasgouttes
aaacbe579b Update our documentation to mention git instead of svn.
Note that some mentions of svn remain in
* development/cmake/LyxPackaging.cmake
* development/LyX-Mac-binary-release.sh
* development/Win32/packaging/installer/settings.nsh
2013-05-27 18:19:59 +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
Jean-Marc Lasgouttes
04a8db4af8 Get rid of LYX_ERROR in our configure file.
We use the standard AC_MSG_ERROR instead, which just stops the configure process where the problem happens.
2013-03-19 15:15:56 +01:00
Jean-Marc Lasgouttes
1d08d5232d Add a test to configure for minimal Qt version
* use AS_COMPARE_VERSION to check whether the Qt version is correct.
* upgrade minimal requirement for autoconf to version 2.60 (released in 2006!).
2013-03-19 12:59:38 +01:00
Lars Gullik Bjønnes
393ade85ec config/lyxinclude.m4: add support for --enable-cxx11
Using --enable-cxx11 turns on C++11 mode in gcc.
2012-10-24 23:46:48 +02:00
Kornel Benko
20359572ed Patch from Benjamin Piwowarski
Just some comments on the patch:

- The executable name has to match the information in Info.plist (development/MacOSX/Info.plist.in and CMakeLists.txt).  The autoconf config/lyxinclude.m4 file has been modified to make it work with autotools.

- The process to build OS X bundle is to first add all the files to be included to the bundle when calling add_executable (src/CMakeLists.txt) and then by calling setting the source file property of each of these files (development/cmake/Install.cmake, l.14) so that the files are properly located into the bundle. This is also why Install.cmake has to be included two times in src/CMakeLists.txt (once to build the list of files, once to set the location of the list of files).

- in CMakeLists.txt there is a line
install(CODE "set(BU_CHMOD_BUNDLE_ITEMS 1)")
What it does is to fix the owner permissions within the bundle - this is necessary because some libraries are copied within the bundle and might be owned by root

- An empty qt.conf is included in the bundle so that QT does not try to link to other QT libraries (which will not be included in the bundle)

- In development/cmake/Install.cmake, some OS X specific files (*.sdef, qt.conf, *.icns) have to be included in the bundle

Benjamin
2012-10-13 09:53:20 +02:00
Jean-Marc Lasgouttes
51cc826961 Fix detection of system boost
Using LDFLAGS is not a good idea since it is not at the end of the link command. LIBS is better.

Some additional cleanup.
2012-10-08 10:58:45 +02:00
Jean-Marc Lasgouttes
4471e65fa1 Handle version numbers like 2.0.5dev in LYX_CHECK_VERSION 2012-07-04 12:18:15 +02:00
Stephan Witt
a86893a84c #7927 apply patch from mft to support posix packageing on Mac for the Gentoo prefix project
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40573 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-05 19:50:18 +00:00
Jean-Marc Lasgouttes
2bf021ee73 Improve support for distributing desktop files and icons
* add proper INSTALL_POSIX conditional for makefiles
* move all the code to Makefile.am
* rename lyx.desktop to lyx.desptop.in and add proper tags to allow handling of program_suffix.
* add code to install desktop entry and icons under the proper name.

I did not touch scons and cmake, I hope it was not necessary.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40531 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-20 13:11:03 +00:00
Julien Rioux
e8daa48bc1 Provide our own patched AM_PYTHON_CHECK_VERSION that requires python <3.0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39890 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-19 20:50:58 +00:00
Richard Heck
cf4ddb2ed5 Patch from Raphael Kubo de Costa to fix build on FreeBSD.
http://marc.info/?l=lyx-devel&m=131586604331711&w=2

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39768 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-26 15:51:28 +00:00
Georg Baum
f792fe8037 fix bug #7288: add configure option for external mythes library
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37585 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-10 20:31:07 +00:00
Jean-Marc Lasgouttes
0299c0be49 fix --disable-debug in configure; more cleanups to build_type handling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37386 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-31 10:19: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
Enrico Forestieri
6d9763d413 Fix typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35467 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-20 22:52:13 +00:00
Enrico Forestieri
4a2243135c Instead of specifically addressing glibc, use NULL as second argument
of realpath() when PATH_MAX is not defined in limits.h.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35466 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-20 17:53:40 +00:00
Jean-Marc Lasgouttes
8acb4ba22d wrong syntax for command "test"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32218 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-27 09:59:50 +00:00
Jean-Marc Lasgouttes
06a229faf8 remove traces of libtool and of obsolete autoconf macros
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31544 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-06 15:13:20 +00:00
Jean-Marc Lasgouttes
84880b5842 cleanup the help messages of the configure script; now --with-version-suffix shows what the default suffix is
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31542 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-06 14:05:57 +00:00
Enrico Forestieri
fc97861803 Implement the LyXServer on Windows.
Only for autotools, I don't know how to update cmake and scons, sorry.
For cmake and scons, you should make sure that moc is called on Server.h
using the -D_WIN32 option.

In order to enable the server, specify the LyXServer pipe in
Tools->Preferences->Paths. The path to be entered there must have the
form "\\.\pipe\nameofyourchoice" (without quotes). After that, you can
send commands to LyX. For example, if the pipe path is \\.\pipe\lyxpipe,
typing the following in a terminal:

echo LYXCMD:test:file-open > \\.\pipe\lyxpipe.in
type \\.\pipe\lyxpipe.out

brings up the file dialog and returns the acknowledgment from LyX.
Beware of spaces when using cmd.exe. For example, the following:
echo LYXCMD:test:file-open:foo.lyx> \\.\pipe\lyxpipe.in
will correctly load the document named foo.lyx, but
echo LYXCMD:test:file-open:foo.lyx > \\.\pipe\lyxpipe.in
(notice the space before the redirection) will try to load a
document whose name is "foo.lyx .lyx" because cmd.exe will also
pass the space (sigh).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31189 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-21 22:58:38 +00:00
Enrico Forestieri
68d936250e Add some cygwin stuff.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30327 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-30 23:28:48 +00:00
Georg Baum
65ef3251a8 partial fix for external boost detection
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29856 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-26 19:50:37 +00:00
Jean-Marc Lasgouttes
68b291c62f Fix the following annoying problem: when
using --with-version-suffix (without value), config.status will be
written wrongly and try to run
  ./configure--with-qt4-lib= [...]

This is because the code that adds automatically the version number eats
the leading space.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27151 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-27 14:32:18 +00:00
Enrico Forestieri
9e5b5746e4 Spare a few cpu cycles
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26118 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-12 09:02:46 +00:00
Enrico Forestieri
bc72d3fc58 Automate setting of LYX_DIR_XXx and LYX_USERDIR_XXx environment variable names.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25898 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-26 10:45:38 +00:00
Jean-Marc Lasgouttes
86e6c73946 fix translation of manus on the mac
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25585 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-13 20:44:10 +00:00
José Matox
6998b9a47c Fix the usage report of included boost library
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23833 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-19 18:00:25 +00:00
Jean-Marc Lasgouttes
b6f210f4fa * config/lyxinclude.m4 (LYX_CHECK_VERSION): add new configure option
--enable-build-type=(rel*,pre*,dev*) that allows to override the 
	automatic setting of optimization, debugging and others.

	* INSTALL: document new option and remove a lot of cruft.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22945 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-11 15:11:15 +00:00
André Pönitz
95fed8bed6 disable pre-compiled headers for autotools. they slow down things rather
then speeding up. maybe our usage is wrong, though.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20586 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-29 14:01:44 +00:00
Enrico Forestieri
9e8f0b9d91 Compile all minizip sources also on *nix platforms, as platform
specific code is #ifdef'd out.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19782 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-24 18:02:14 +00:00
Enrico Forestieri
468d29423e Compile fix for mingw
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19713 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-22 04:52:40 +00:00
Jean-Marc Lasgouttes
626a5b5f96 make sure that the C++ preprocessor is set up
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19618 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-17 08:53:27 +00:00
Enrico Forestieri
60c73c05a3 Add version information to the lyx executable on Windows.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19537 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-14 01:34:26 +00:00
André Pönitz
c534500a9b more verbose message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19473 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-12 19:24:05 +00:00
Jean-Marc Lasgouttes
121b80a227 small tweak of configure help messages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19466 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-12 18:31:25 +00:00
Jean-Marc Lasgouttes
691a1be431 Remove cruft from config.h
* src/support/tempname.cpp: move code about HAVE_MKSTEMP here (only user)

	* src/pch.h:
	* src/Buffer.cpp:
	* configure.ac: remove all traces of utime.h and HAVE_UTIME

	* config/lyxinclude.m4: remove WITH_WARNING define (which be rendered useless in 
	a future commit from christian)

	* development/scons/SConstruct: try to update.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19395 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-10 09:04:41 +00:00
Jean-Marc Lasgouttes
3463ce7c4a * config/lyxinclude (LYX_VERSION_SUFFIX): make $with_version available
* development/MacOSX/lyxrc.dist.in: use it here instead of program_suffix


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19392 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-10 08:34:29 +00:00
José Matox
fbd205e70d Allow rc as suffix for releases
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18610 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-31 23:41:30 +00:00
Jean-Marc Lasgouttes
00cd32985a stupid typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17989 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 14:56:41 +00:00
Jean-Marc Lasgouttes
8d0e191aa3 * config/lyxinclude.m4 (LYX_USE_PACKAGING): define automake conditional
INSTALL_MACOSX when packaging is macosx.

	* development/Makefile.am: only install MacOSX when needed.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17988 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 14:33:54 +00:00
Jean-Marc Lasgouttes
5971c1a9f1 * config/qt.m4: remove (unused)
* config/lyxinclude25x.m4: remove (move contents to lyxinclude.m4)

	* autogen.sh:
	* config/Makefile.am: adapt.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17980 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 10:40:50 +00:00
José Matox
958458d6f0 Add test for beta release
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17249 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-18 22:41:19 +00:00
Jean-Marc Lasgouttes
23c3ed57f1 --with-frontend=qt4 is not required anymore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16202 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-07 16:17:40 +00:00
José Matox
8bc788c598 Remove usage from egrep, cleaner code (Jean-Marc)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15939 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-15 23:10:24 +00:00
José Matox
288775e945 Fix typo (fix by Jean-Marc).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15938 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-15 21:47:55 +00:00
José Matox
6e22254244 Allow alpha as suffix for development releases
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15934 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-15 15:46:45 +00:00
Lars Gullik Bjønnes
8f261b1529 The Gtk removal from trunk.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15488 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-22 18:05:16 +00:00
Michael Schmitt
83c80a051c * lyxinclude.m4: qt3 isn't a valid frontend any longer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15434 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-21 08:57:32 +00:00
Jean-Marc Lasgouttes
f8a5da9048 * configure.ac: add LYX_DATE variable for release date.
* config/lyxinclude.m4: reset release date for development versions.

	* src/version.C.in: make lyx_release_date a placeholder.

	* src/lyx_main.C (parse_version): 
	* src/frontends/controllers/ControlAboutlyx.C (getVersion): change a 
	bit the display of LyX release date.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14712 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-16 21:54:55 +00:00
Jean-Marc Lasgouttes
8d3ef3a4ca LYX_CHECK_ERRORS: exit with status 1 if there is an error
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14680 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-14 20:14:41 +00:00
Georg Baum
104a09f014 Set CPPFLAGS only if not already set by the user (and ignore CXXFLAGS for
setting CPPFLAGS)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14516 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-30 14:56:01 +00:00
Lars Gullik Bjønnes
d291109ec3 Let gcc 4.x be handled.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14515 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-30 13:58:10 +00:00
Michael Schmitt
131f9b0b62 * configure.ac: qt becomes qt3
* INSTALL: remove xforms description; update
        --with-frontend args
        * config/lyxinclude.m4: update possible values
        of --with-frontend


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14373 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-08 11:16:17 +00:00
Michael Schmitt
0be696bff0 * remove various xforms relicts, in particular:
* src/frontends/controllers/ControlPreamble.[Ch]:
        remove files, since this controller was only used
        by the xforms frontend


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14352 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-06 19:28:59 +00:00
Jean-Marc Lasgouttes
5352cfa1b5 * config/lyxinclude.m4 (LYX_USE_PACKAGING): do not set program_suffix for
windows packaging.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13758 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-27 12:55:04 +00:00
Georg Baum
d732249e2b Fix bug 2285 (tex2lyx is not found by lib/configure when compiling with
--with-version-suffix):

	* src/lyx_cb.C
	(reconfigure): get the configure command from package()

	* src/lyx_main.C
	(showFileError): ditto

	* src/support/package.[Ch]
	(configure_command): new, return the configure command

	* src/support/package.C.in
	(with_version_suffix): new, return the version suffix argument
	of the configure command

	* src/support/Makefile.am
	(package.C.in): substitute %PROGRAM_SUFFIX% in package.C.in

	* config/lyxinclude.m4: substitute program_suffix


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13710 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-22 11:58:02 +00:00
Lars Gullik Bjønnes
6d3939b030 compile with exceptions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13302 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-06 06:44:16 +00:00
Lars Gullik Bjønnes
3f103ffaa7 remove support for older gccs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13296 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-05 17:42:41 +00:00
Jean-Marc Lasgouttes
33381332fc move and update preference file in LyX.app bundle; do not append version suffix to binaries for osx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13231 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-13 21:54:04 +00:00
Jean-Marc Lasgouttes
0328dd98ca fix behaviour of --with-version-suffix (bug 2237)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13219 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-12 20:29:52 +00:00
Lars Gullik Bjønnes
27b4472dfd Change to 'svn' as the development tag
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13210 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-11 19:49:00 +00:00
Lars Gullik Bjønnes
a5b1022b9f Changes to make distcheck work, slight cleanup of autoconf/make initialization
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10680 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-23 18:16:18 +00:00
Jean-Marc Lasgouttes
a7714398d9 fix PACKAGE handling for MacOS and Windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10550 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-13 14:45:12 +00:00
Angus Leeming
6ce7fa27f1 Portable hard-coded paths on Windows.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10496 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-29 13:26:41 +00:00
Jean-Marc Lasgouttes
90ff250486 do not enable stdlib-debug for prereleases.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10481 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-26 09:08:41 +00:00
Jean-Marc Lasgouttes
df6d16e689 use "LyX" as package name for windows and mac packaging
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10325 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 14:24:27 +00:00
Jean-Marc Lasgouttes
73b86ad30c make the use of --with-frontend mandatory; update README and INSTALL
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10318 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 09:42:42 +00:00
Lars Gullik Bjønnes
56fa1ed954 make releases and prereleases have optimization set to -O2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10300 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-17 23:32:58 +00:00
Jean-Marc Lasgouttes
6ee9bbab04 set profiling to false by default
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10232 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-15 23:30:20 +00:00
Lars Gullik Bjønnes
12ed18b1bd add profiling switch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10192 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-14 23:02:31 +00:00
Angus Leeming
70572847e2 Whitespace, only whitespace. s/ +$//
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10024 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-09 09:58:08 +00:00
Lars Gullik Bjønnes
e5ae321dab the AM_* flags patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9963 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-20 16:56:28 +00:00
Jean-Marc Lasgouttes
b44d09a342 more configure fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9588 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-04 09:19:55 +00:00
Jean-Marc Lasgouttes
77fdc2f305 some trivial fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9468 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-12 17:01:35 +00:00
Angus Leeming
b5589bf6cf The package reworking.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9463 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-10 19:17:43 +00:00
Lars Gullik Bjønnes
2a434cc53a the enable switches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9440 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-05 18:17:28 +00:00
Jean-Marc Lasgouttes
b357bc9f19 get rid of cheaders
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9406 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-28 13:48:51 +00:00
Angus Leeming
7aebf3d92f Configure tests for mkdir.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9380 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-15 21:04:03 +00:00
Lars Gullik Bjønnes
eb513cccee subst and sed dance
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9340 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-04 12:45:48 +00:00
Lars Gullik Bjønnes
6b65f89040 gcc 3.5->4.0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9261 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-16 20:43:08 +00:00
Lars Gullik Bjønnes
1f9d992ce0 Make us satisfy concept checks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9260 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-16 20:41:38 +00:00
Georg Baum
e968d754be fix rpm spec file generation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9109 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-23 09:06:28 +00:00
Georg Baum
c1d27368a1 remove rpm dependencies; make spec file with version suffix work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9083 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-12 06:41:30 +00:00
Jean-Marc Lasgouttes
82bd0c1b17 make maintainer mode automatic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9065 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-08 12:12:22 +00:00
Jean-Marc Lasgouttes
1ec862e251 mention gtk as frontend
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8999 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-23 09:52:29 +00:00
Lars Gullik Bjønnes
b0fbc29aa3 some support for pch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8947 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-15 21:45:30 +00:00
Lars Gullik Bjønnes
0718aa87bf only run xforms tests once, prepare for gcc 3.5
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8853 a592a061-630c-0410-9148-cb99ea01b6c8
2004-07-26 11:29:52 +00:00
Lars Gullik Bjønnes
2c0668646a update m4 files and remove warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8774 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-25 14:42:10 +00:00
Lars Gullik Bjønnes
9e982df7a0 Define the debug mode tokes instead.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8763 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-18 13:20:31 +00:00
Lars Gullik Bjønnes
4c8245b613 Use the libstdc++ debugging mode if compiling with enable-debug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8761 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-18 11:05:41 +00:00
Lars Gullik Bjønnes
302a50ef03 remove special checks for std::string assume it is always there and good.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7774 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 15:23:54 +00:00
Jean-Marc Lasgouttes
02aa32e2eb allow to compile several frontends at once (and produce several binaries)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7485 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-02 20:01:52 +00:00
Lars Gullik Bjønnes
5e73ad8fbd some more compression stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7433 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 23:05:58 +00:00
Lars Gullik Bjønnes
01b31c56c9 make lyx compile with gcc 3.4. remove some warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7314 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-18 08:46:00 +00:00
Angus Leeming
7e156107d1 Do not pass -Winline to gcc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7294 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-16 20:44:24 +00:00
Lars Gullik Bjønnes
ac1faa8439 allow boost as system shared libarry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6948 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-07 16:22:01 +00:00
Lars Gullik Bjønnes
0e113d6a71 add gcc 3.3 as a known compiler
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6568 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-24 17:09:44 +00:00
Jean-Marc Lasgouttes
7f006d50db more configure tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6229 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-21 17:24:39 +00:00
Jean-Marc Lasgouttes
9ae9b9df62 disable gnome frontend
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5931 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-10 14:06:45 +00:00
Jean-Marc Lasgouttes
3426dc660f fix the dreadful "rm /dev/null" bug. Remember to run autogen.sh
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5919 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-08 11:07:03 +00:00
Jean-Marc Lasgouttes
7a172cb177 fix LYX_CHECK_DECL in autoconf 2.5x
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5712 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-25 16:02:21 +00:00
Lars Gullik Bjønnes
8644c32d38 increase template depth for some versions of g++
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5424 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-16 09:22:46 +00:00
John Levon
6ad8b3929a Welcome my son, welcome ... to the new configure script.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5288 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-12 15:21:40 +00:00
Jean-Marc Lasgouttes
6c363430d6 some tweaks to xforms-related configure thingies
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5015 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-16 14:56:34 +00:00
Angus Leeming
39df8f328c Remove spurious semi-colon.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4943 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-12 15:17:48 +00:00
Lars Gullik Bjønnes
e483de1c7e more work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4927 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-10 12:26:23 +00:00
Lars Gullik Bjønnes
a07e20bf57 more work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4909 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-08 18:53:23 +00:00
Lars Gullik Bjønnes
2266b53c87 handle 2.13 and 2.53
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4894 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-07 22:45:38 +00:00
Lars Gullik Bjønnes
e39935204d remove some unneeded version of functions from lstrings,
some gcc 3.2. minor compile fixes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4800 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-28 18:13:51 +00:00
Jean-Marc Lasgouttes
acb4e0a1d3 fix compilation; remove cruft in configure script (I may have removed too much, but we will readd them if needed)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4695 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-17 21:14:04 +00:00
Jean-Marc Lasgouttes
3731a877b3 silence warnings for gcc 2.95.x
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4579 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-10 08:29:33 +00:00
John Levon
71ec477900 add -Wno-non-template-friend for 2.96
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4443 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-20 22:36:02 +00:00
John Levon
f15780a9b3 Remove lyx regexp check
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4424 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-19 00:04:31 +00:00
Angus Leeming
4399c57ed5 Nuke stl_string_fwd.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4392 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-13 12:35:36 +00:00
Lars Gullik Bjønnes
0a9ac30a97 2002-06-10 Lars Gullik Bj�nnes <larsbj@birdstep.com>
* lyxinclude.m4 (lyx_warning): turn off exceptions for 2.96 and 3.1


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4358 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-10 21:00:31 +00:00
John Levon
9ed3420ea1 xforms 1.0 fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4317 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-02 18:58:19 +00:00
Lars Gullik Bjønnes
1e39473100 Switch from SigC signals to boost::signals
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4281 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-29 16:21:03 +00:00
Lars Gullik Bjønnes
0e284bbf55 enable exceptions and see what happens
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4200 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-24 12:12:32 +00:00
Lars Gullik Bjønnes
c7bc2da4a2 dont throw, assert or ponder on instead
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4184 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-22 06:29:42 +00:00
Lars Gullik Bjønnes
9ed0ccbc32 remove kde.m4 add entry for gcc 3.1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4180 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-21 23:43:57 +00:00
Allan Rae
98c966c645 fix typo that put too many include paths for most people
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3877 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-02 02:47:37 +00:00
Lars Gullik Bjønnes
2635e40542 check fi -ljpeg is needed or not
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3870 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-31 14:52:58 +00:00
Lars Gullik Bjønnes
7514c31edf drop the ld -r stuff, we gained nothing with it, other build optimizations gave us what we wanted; some ws changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3798 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 16:49:07 +00:00
Lars Gullik Bjønnes
35e1157317 Fix for bug: #260 special rules if partially linking
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3792 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-20 19:06:32 +00:00
Jean-Marc Lasgouttes
c90ae47255 since I committed my configure changes by mistake, I maight as well finish and document them
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3757 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-15 11:23:15 +00:00
Jean-Marc Lasgouttes
2aafd9bf94 small noweb fix from Kayvan
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3756 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-15 11:01:27 +00:00
Angus Leeming
4c263b730e Add an image loader using the xforms library routines and compile it if
your version of the xforms library is good enough.
The qt2 stuff is only partially tested (link problems elsewhere) and
the gnome stuff is not tested at all.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3676 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-06 12:07:23 +00:00
Lars Gullik Bjønnes
81753592d8 some more configure/Makefile changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3636 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-02 12:07:06 +00:00
Jean-Marc Lasgouttes
46d5911af1 fix code to detect g++ version
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3614 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 17:30:10 +00:00
Lars Gullik Bjønnes
7ea7dabed1 to much stuff for my liking...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3554 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-16 15:59:55 +00:00
Dekel Tsur
363e313ecb Allow disabling of debug information.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3306 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-07 17:55:15 +00:00
Jean-Marc Lasgouttes
9634d8c469 make autoconf 2.52 and automake 1.5 work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2892 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-17 15:38:59 +00:00
Jean-Marc Lasgouttes
53c3269cf5 more tweaks to version_info stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2837 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-03 15:49:32 +00:00
Jean-Marc Lasgouttes
a4eb2c3040 support for new -version command line option
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2725 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-11 13:13:03 +00:00
Jean-Marc Lasgouttes
757e2c55d8 insetquote fix; getStatus tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2411 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-03 10:32:20 +00:00
Jean-Marc Lasgouttes
11c11ed88b --enable-optimization configure option
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2340 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-25 15:05:10 +00:00
Jean-Marc Lasgouttes
7d4d2f9a1a latin9 update ; do not warn against xforms 0.89.5
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2273 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-18 16:33:26 +00:00
Jean-Marc Lasgouttes
15da5b5fbc configure cleanups
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2186 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-05 14:00:36 +00:00