Shiranui
Shiranui copied to clipboard
Use autoconf macro to enable C++11
According to http://stackoverflow.com/questions/18284468/not-able-to-enable-c11-using-autoconf, recent AX_CXX_COMPILE_STDCXX_11 doesn't need argument.
In my environment, two revisions work correctly. (In second revision, it uses gnu extension.)
- autoconf 2.69
- automake 1.14.1
- autoconf-archive 2014.02.28
In second revision, there is error like below.
./configure: line 3110: AX_CXX_COMPILE_STDCXX_11: command not found
I have no idea why this error occured.