Shiranui icon indicating copy to clipboard operation
Shiranui copied to clipboard

Use autoconf macro to enable C++11

Open seanchas116 opened this issue 10 years ago • 2 comments

seanchas116 avatar Aug 24 '14 04:08 seanchas116

According to http://stackoverflow.com/questions/18284468/not-able-to-enable-c11-using-autoconf, recent AX_CXX_COMPILE_STDCXX_11 doesn't need argument.

tomoki avatar Aug 30 '14 04:08 tomoki

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.

tomoki avatar Sep 01 '14 16:09 tomoki