build: use AM_CPPFLAGS

This commit is contained in:
Jan Engelhardt
2010-12-28 16:16:05 +01:00
parent e9a70bbf15
commit 77027ff8d3
6 changed files with 12 additions and 8 deletions

View File

@@ -33,11 +33,11 @@ AC_ARG_WITH([xtlibdir],
AC_MSG_CHECKING([Xtables module directory])
AC_MSG_RESULT([$xtlibdir])
regular_CFLAGS="-D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 \
-D_REENTRANT -Wall -Waggregate-return -Wmissing-declarations \
regular_CPPFLAGS="-D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 \
-D_REENTRANT -I\${XA_TOPSRCDIR}/include"
regular_CFLAGS="-Wall -Waggregate-return -Wmissing-declarations \
-Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes \
-Winline -pipe \
-I\${XA_TOPSRCDIR}/include";
-Winline -pipe";
#
# check kernel version
@@ -80,6 +80,7 @@ else
fi;
fi;
AC_SUBST([regular_CPPFLAGS])
AC_SUBST([regular_CFLAGS])
AC_SUBST([kbuilddir])
AC_SUBST([xtlibdir])