--- qsampler/trunk/configure.ac 2019/06/18 07:49:48 3516 +++ qsampler/trunk/configure.ac 2019/07/25 10:08:43 3523 @@ -1,5 +1,5 @@ # Process this file with autoconf to produce a configure script. -AC_INIT(Qsampler, 0.5.6, rncbc@rncbc.org, qsampler) +AC_INIT(Qsampler, 0.5.7, rncbc@rncbc.org, qsampler) AC_CONFIG_SRCDIR(src/qsampler.cpp) AC_CONFIG_HEADERS(src/config.h) @@ -146,7 +146,8 @@ ]) ac_gxx_version_major=$ac_cv_gxx_version_major if test $ac_gxx_version_major -ge 4 -a $ac_gxx_version_major -lt 6; then - CXXFLAGS="-std=c++11 $CXXFLAGS" + CPPFLAGS="-std=c++11 $CPPFLAGS" + ac_cflags="-std=c++11 $ac_cflags" fi # Check for proper flags.