Replace indirect variable assignments

* configure.ac(DEVEL_CFLAGS, DEVEL_CXXFLAGS):  Remove these
	useless variables.
	(CFLAGS, CXXFLAGS): Set these variables directly.
	* include/Makefile.am (pkginclude_HEADERS): Use this predefined
	variable.
	(publicheaders_DATA, publicheadersdir): Remove these.

Signed-off-by: Jan Engelhardt <jengelh@inai.de>
This commit is contained in:
Jan Engelhardt 2014-09-09 12:52:07 +02:00 committed by Dodji Seketeli
parent e66eda9fe7
commit 1708e39fe7
2 changed files with 3 additions and 8 deletions

View File

@ -119,10 +119,8 @@ DEPS_LIBS="$XML_LIBS $LIBZIP_LIBS $DW_LIBS"
AC_SUBST(DEPS_LIBS)
if test x$ABIGAIL_DEVEL != x; then
DEVEL_CFLAGS="-g -Wall -Wextra -Werror"
DEVEL_CXXFLAGS="-g -Wall -Wextra -Werror"
CFLAGS=$DEVEL_CFLAGS
CXXFLAGS=$DEVEL_CXXFLAGS
CFLAGS="-g -Wall -Wextra -Werror"
CXXFLAGS="-g -Wall -Wextra -Werror"
fi
AC_CONFIG_FILES([Makefile

View File

@ -1,4 +1,4 @@
headers = \
pkginclude_HEADERS = \
abg-sptr-utils.h \
abg-ir.h \
abg-corpus.h \
@ -19,7 +19,4 @@ abg-viz-common.h \
abg-viz-dot.h \
abg-viz-svg.h
publicheaders_DATA=$(headers)
publicheadersdir=$(includedir)/libabigail
EXTRA_DIST = abg-version.h.in