configure.ac: possibility to change the CXXFLAGS flags added. [default: -g -O2] (e.g.: ./autogen.sh CXXFLAGS='-g -O0)

This commit is contained in:
Roland Jax
2014-12-23 08:50:30 +01:00
parent 5d02119d1e
commit 96da8373f5
+3
View File
@@ -1,6 +1,9 @@
AC_PREREQ([2.65])
AC_INIT([ebusd], [0.5.0], [ebusd@liwest.at], [ebusd], [https://github.com/yuhu-/ebusd])
if test -z $CXXFLAGS;
then CXXFLAGS='-g -O2'
fi
AC_PROG_CXX
AC_CHECK_HEADERS([arpa/inet.h \