Commit Graph

152 Commits

Author SHA1 Message Date
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