From 63f66b0c3b3bdd42f7a9eae5cd185744b6c2f260 Mon Sep 17 00:00:00 2001 From: alegrand Date: Fri, 3 Aug 2007 11:26:49 +0000 Subject: [PATCH 1/1] Cleaning stuff. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3942 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- configure.ac | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/configure.ac b/configure.ac index 3b8e92b8cb..9e8e8e6d30 100644 --- a/configure.ac +++ b/configure.ac @@ -228,8 +228,7 @@ else AC_LANG_POP([C++]) if test "x$gtnets" = xyes ; then - CPPFLAGS+=$GTNETS_CPPFLAGS - LDFLAGS+=$GTNETS_LDFLAGS + AM_CPPFLAGS="$AM_CPPFLAGS $GTNETS_CPPFLAGS" SIMGRID_DEP="$SIMGRID_DEP $GTNETS_LDFLAGS" AC_MSG_RESULT(Found working gtnets library.) AC_DEFINE(HAVE_GTNETS, 1, [Indicates whether we have the GTNETS library or not]) @@ -269,7 +268,7 @@ else csdp=no; fi if test "x$csdp" = xyes; then - CPPFLAGS+=$CSDP_CPPFLAGS + AM_CPPFLAGS="$AM_CPPFLAGS $CSDP_CPPFLAGS" SIMGRID_DEP="$SIMGRID_DEP $CSDP_LDFLAGS" AC_MSG_RESULT(Found working sdp library.) AC_DEFINE(HAVE_SDP, 1, [Indicates whether we have the CSDP library or not]) @@ -321,9 +320,10 @@ then fi SG_COMPILE_FLAGS -AC_SUBST(CFLAGS) -AC_SUBST(CPPFLAGS) -AC_SUBST(LDFLAGS) +AC_SUBST([CFLAGS]) +AC_SUBST([CPPFLAGS]) +AC_SUBST([LDFLAGS]) +AC_SUBST([AM_CPPFLAGS]) AC_SUBST([abs_builddir]) AC_SUBST([abs_srcdir]) AC_SUBST([abs_top_builddir]) -- 2.20.1