[vlc-commits] configure.ac: fix use of *FLAGS_save and VLC_{SAVE, RESTORE}_FLAGS

Rafaël Carré git at videolan.org
Sat Nov 19 12:46:33 CET 2011


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sat Nov 19 06:41:57 2011 -0500| [49125107995744edb8ca6b6fa154f69c68e28262] | committer: Rafaël Carré

configure.ac: fix use of *FLAGS_save and VLC_{SAVE,RESTORE}_FLAGS

You should use them like this:
 - modify *FLAGS and LIBS globally
 - use VLC_SAVE_FLAGS to push the variables
 - modify the variables for the tests
 - use VLC_RESTORE_FLAGS when you're done to pop the variables

Other changes:
 - remove -O4 optimization, undocumented for gcc
 - only enable optimizations if requested
 - do not force -fno-omit-frame-pointer for darwin
 - doesn't -> does not (fix VIM syntax highlighting)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=49125107995744edb8ca6b6fa154f69c68e28262
---

 configure.ac |  462 +++++++++++++++++++++++-----------------------------------
 1 files changed, 183 insertions(+), 279 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=49125107995744edb8ca6b6fa154f69c68e28262


More information about the vlc-commits mailing list