aboutsummaryrefslogtreecommitdiff
path: root/winsup/acinclude.m4
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2021-04-29 11:23:11 +0200
committerCorinna Vinschen <corinna@vinschen.de>2021-04-29 11:28:14 +0200
commitcf25b559020013e0503c4eead107b9a8225586e6 (patch)
treee5fb5dff7f0b9ad61f76e70de6e183b5499a6602 /winsup/acinclude.m4
parent84ffbfeb10181e82eef3d04a551943830881550b (diff)
downloadnewlib-cf25b559020013e0503c4eead107b9a8225586e6.zip
newlib-cf25b559020013e0503c4eead107b9a8225586e6.tar.gz
newlib-cf25b559020013e0503c4eead107b9a8225586e6.tar.bz2
Cygwin: automake: change @INCLUDES@ to @AM_CPPFLAGS@ to avoid warnings
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/acinclude.m4')
-rw-r--r--winsup/acinclude.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/winsup/acinclude.m4 b/winsup/acinclude.m4
index d34d337..7c900d7 100644
--- a/winsup/acinclude.m4
+++ b/winsup/acinclude.m4
@@ -16,12 +16,12 @@ if test -z "$newlib_headers"; then
fi
newlib_headers="$target_builddir/newlib/targ-include $newlib_headers"
-INCLUDES="-I${winsup_srcdir}/cygwin -I${target_builddir}/winsup/cygwin"
-INCLUDES="${INCLUDES} -isystem ${cygwin_headers}"
+AM_CPPFLAGS="-I${winsup_srcdir}/cygwin -I${target_builddir}/winsup/cygwin"
+AM_CPPFLAGS="${AM_CPPFLAGS} -isystem ${cygwin_headers}"
for h in ${newlib_headers}; do
- INCLUDES="${INCLUDES} -isystem $h"
+ AM_CPPFLAGS="${AM_CPPFLAGS} -isystem $h"
done
-AC_SUBST(INCLUDES)
+AC_SUBST(AM_CPPFLAGS)
])
AC_SUBST(target_builddir)