Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoltan Varga <vargaz@gmail.com>2012-10-03 12:26:37 +0400
committerZoltan Varga <vargaz@gmail.com>2012-10-03 12:26:37 +0400
commitc1ed4a55703fcdd4874b22e799117ecee76fc307 (patch)
tree5e25f2878c26d5101e10b863b948e8ab49be4ee5 /libgc/configure.in
parent61a1c77f3774a574681563d44ede66d19276d150 (diff)
Use AM_CPPFLAGS instead of INCLUDES in Makefile.am files, as the later is no longer supported, see http://lists.gnu.org/archive/html/automake/2012-08/msg00087.html.
Diffstat (limited to 'libgc/configure.in')
-rw-r--r--libgc/configure.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/libgc/configure.in b/libgc/configure.in
index 97d548f03a4..18d1179f168 100644
--- a/libgc/configure.in
+++ b/libgc/configure.in
@@ -75,7 +75,7 @@ AC_ARG_ENABLE(cplusplus,
[ --enable-cplusplus install C++ support],
)
-INCLUDES=-I${srcdir}/include
+AM_CPPFLAGS=-I${srcdir}/include
THREADDLLIBS=
## Libraries needed to support dynamic loading and/or threads.
case "$THREADS" in
@@ -115,7 +115,7 @@ case "$THREADS" in
*-*-freebsd*)
AC_DEFINE(GC_FREEBSD_THREADS)
if test "x$PTHREAD_CFLAGS" != "x"; then
- INCLUDES="$INCLUDES $PTHREAD_CFLAGS"
+ AM_CPPFLAGS="$AM_CPPFLAGS $PTHREAD_CFLAGS"
fi
if test "x$PTHREAD_LIBS" = "x"; then
THREADDLLIBS=-pthread
@@ -163,7 +163,7 @@ case "$THREADS" in
# May want to enable it in other cases, too.
# Measurements havent yet been done.
fi
- INCLUDES="$INCLUDES -pthread"
+ AM_CPPFLAGS="$AM_CPPFLAGS -pthread"
THREADDLLIBS="-lpthread -lrt"
;;
*)
@@ -191,7 +191,7 @@ case "$THREADS" in
AC_DEFINE(GC_DGUX386_THREADS)
AC_DEFINE(DGUX_THREADS)
# Enable _POSIX4A_DRAFT10_SOURCE with flag -pthread
- INCLUDES="-pthread $INCLUDES"
+ AM_CPPFLAGS="-pthread $AM_CPPFLAGS"
;;
aix)
THREADS=posix
@@ -256,7 +256,7 @@ addobjs=
addlibs=
addincludes=
addtests=
-CXXINCLUDES=
+CXXAM_CPPFLAGS=
case "$TARGET_ECOS" in
no)
;;
@@ -276,7 +276,7 @@ AM_CONDITIONAL(CPLUSPLUS, test "${enable_cplusplus}" = yes)
AC_SUBST(CXX)
-AC_SUBST(INCLUDES)
+AC_SUBST(AM_CPPFLAGS)
AC_SUBST(CXXINCLUDES)
# Configuration of shared libraries