[TIVI-2848] Fix tethering configuration.
[profile/ivi/settings-daemon.git] / configure.ac
index fd4d9d8..83221e9 100644 (file)
@@ -23,8 +23,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor,
 Boston, MA  02110-1301  USA
 ])
 
-AC_INIT([settingsd], [0.1], [ossama.othman@intel.com])
-AM_INIT_AUTOMAKE([1.11.1 foreign -Wall -Werror silent-rules])
+AC_INIT([settingsd], [0.4.2], [ossama.othman@intel.com])
+AM_INIT_AUTOMAKE([1.11.1 foreign -Wall -Werror -Wno-portability silent-rules])
 LT_INIT([disable-static dlopen])
 
 AC_CONFIG_SRCDIR([src/daemon.cpp])
@@ -102,14 +102,7 @@ AC_SUBST([LIBWEBSOCKETS_CFLAGS])
 
 # Checks for typedefs, structures, and compiler characteristics.
 # Check for C++11 support.  (macro from autoconf-archive package)
-AX_CXX_COMPILE_STDCXX_0X
-AS_IF([test "x$ax_cv_cxx_compile_cxx0x_cxx" = "xyes"],
-      [CXXFLAGS="-std=c++0x $CXXFLAGS"],
-      [AS_IF([test "x$ax_cv_cxx_compile_cxx0x_gxx" = "xyes"],
-             [CXXFLAGS="-std=gnu++0x $CXXFLAGS"],
-             [AC_MSG_FAILURE([Required C++11 support is not available.])
-             ])
-      ])
+AX_CXX_COMPILE_STDCXX_11([noext],[mandatory])
 
 # Enable gcc symbol visibility support.
 AC_LANG_PUSH([C++])