correct macro name and make what/ident optional

This commit is contained in:
Marc Wäckerlin
2015-03-03 13:17:36 +00:00
parent beab19319a
commit a729670ba7
4 changed files with 13 additions and 8 deletions

View File

@@ -2,7 +2,7 @@
m4_define(x_package_name, mrw-c++)
m4_define(x_major, 4)
m4_define(x_minor, 1)
m4_define(x_minor, 2)
m4_include(ax_cxx_compile_stdcxx_11.m4)
AC_ALIAS([AC_DEFINE_DIR], [AX_DEFINE_DIR])
@@ -65,7 +65,7 @@ AC_SUBST(HOME)
AX_DEFINE_DIR([DATADIR], [datadir])
#AC_SUBST(DATADIR)
AM_CPPFLAGS="-DPACKAGEPACKAGE_VERSION='\"${PACKAGE_VERSION}\"' -DPACKAGE_NAME='\"${PACKAGE_NAME}\"'"
AM_CPPFLAGS="-DPACKAGE_VERSION='\"${PACKAGE_VERSION}\"' -DPACKAGE_NAME='\"${PACKAGE_NAME}\"'"
# Get rid of that stupid -O2 -g opions!
CXXFLAGS="${CXXFLAGS:-}"