From: "Fabio M. Di Nitto" <fdinitto@xxxxxxxxxx> this is required for all systems that don't use bash for /bin/sh Signed-off-by: Fabio M. Di Nitto <fdinitto@xxxxxxxxxx> --- :100644 100644 211503f... 86cf09c... M configure.ac configure.ac | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index 211503f..86cf09c 100644 --- a/configure.ac +++ b/configure.ac @@ -195,11 +195,13 @@ LIB_MSG_RESULT(m4_shift(m4_shift($@)))dnl ## helper for CC stuff cc_supports_flag() { - local CPPFLAGS="$CPPFLAGS $@" + BACKUP="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS $@" AC_MSG_CHECKING([whether $CC supports "$@"]) AC_PREPROC_IFELSE([AC_LANG_PROGRAM([])], [RC=0; AC_MSG_RESULT([yes])], [RC=1; AC_MSG_RESULT([no])]) + CPPFLAGS="$BACKUP" return $RC } -- 1.7.7.6 _______________________________________________ discuss mailing list discuss@xxxxxxxxxxxx http://lists.corosync.org/mailman/listinfo/discuss