]> git.lyx.org Git - lyx.git/commit
Autoconf build: Fix the invalid test for '-Wno-deprecated-copy' flag
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 29 Sep 2021 16:01:14 +0000 (18:01 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 29 Sep 2021 16:16:06 +0000 (18:16 +0200)
commitc52049bb83d71b926e6b949362a47bde9f8d5653
tree2d699c57dd295d2abf72f0496bbab82276311344
parentc26db650a1e93573e4c09d4612ad45ae1e219854
Autoconf build: Fix the invalid test for '-Wno-deprecated-copy' flag

(shamelessly stolen from c26db650a1, which was for cmake build)

The original test was always successfull, even if the flag was invalid.

But checking for '-Wdeprecated-copy' instead yields to error if the
warning does not exist. Existent warning for 'deprecated-copy' implies
that 'no-deprecated-copy' also exist.
config/lyxinclude.m4