mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
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
This commit is contained in:
parent
0bceb51d62
commit
56fa1ed954
@ -1,3 +1,8 @@
|
||||
2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
|
||||
|
||||
* lyxinclude.m4 (enable-optimization): make releases and
|
||||
prereleases have optimization set to -O2
|
||||
|
||||
2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
||||
|
||||
* lyxinclude.m4: set profiling off by defqult
|
||||
|
@ -206,11 +206,16 @@ AC_ARG_ENABLE(profiling,
|
||||
|
||||
### set up optimization
|
||||
AC_ARG_ENABLE(optimization,
|
||||
AC_HELP_STRING([--enable-optimization[=value]],[enable compiler optimisation]),,
|
||||
enable_optimization=yes;)
|
||||
AC_HELP_STRING([--enable-optimization[=value]],[enable compiler optimisation]),,
|
||||
enable_optimization=yes;)
|
||||
case $enable_optimization in
|
||||
yes) lyx_opt=-O;;
|
||||
no) lyx_opt=;;
|
||||
yes)
|
||||
if test $lyx_devel_version = yes ; then
|
||||
lyx_opt=-O
|
||||
else
|
||||
lyx_opt=-O2
|
||||
fi;;
|
||||
no) lyx_opt=;;
|
||||
*) lyx_opt=${enable_optimization};;
|
||||
esac
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user