configure: use c++11 and fallback to c++0x for c++ files
authorMarton Balint <cus@passwd.hu>
Sat, 25 Mar 2017 16:36:39 +0000 (17:36 +0100)
committerMarton Balint <cus@passwd.hu>
Tue, 28 Mar 2017 19:57:54 +0000 (21:57 +0200)
commit7cfa98fd9460160d94c049bf72123e88d9c41a01
treea1243abd117ff8e68c5b644ad7b76e828f826dfc
parent3b80f73b186dc24a39a95edc4243f785d1459273
configure: use c++11 and fallback to c++0x for c++ files

Needed for the C+11 atomics. Also change add_cxxflags to check_cxxflags.

Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
configure