]> granicus.if.org Git - re2c/commit
Check CXXFLAGS in configure.
authorUlya Trofimovich <skvadrik@gmail.com>
Tue, 2 Jun 2015 15:58:53 +0000 (16:58 +0100)
committerUlya Trofimovich <skvadrik@gmail.com>
Tue, 2 Jun 2015 15:58:53 +0000 (16:58 +0100)
commit4429526b4309950c4a08fdc103044a109ace4412
treeaad2e686f08f30702981ddbbdcb0ce2258b6e710
parentb2bc24704ebd2a0e6050f755dbd93a5cd987a418
Check CXXFLAGS in configure.

Instead of unconditionally setting CXXFLAGS in Makefile.am,
check the presence of a flag in configure.ac. If the flag is
present (that is, an attempt to compile an empty C++ program with
this flag is successful), then it is added to CXXFLAGS.

Now one can add *any* compiler flag in configure.ac without
worrying about portability.
re2c/Makefile.am
re2c/configure.ac