From 97bac56e2e34d743d8b94394ee05f56031ba4249 Mon Sep 17 00:00:00 2001 From: hugo303 Date: Fri, 7 Dec 2012 17:03:36 +0000 Subject: [PATCH] * Use leading x to test $GCC for gcov enabling instead of POSIX '-n'. Patch #3591517 on SF. git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@681 64e312b2-a51f-0410-8e61-82d0ca0eb02a --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index fd77551..21439cf 100644 --- a/configure.ac +++ b/configure.ac @@ -48,7 +48,7 @@ AC_HELP_STRING([--enable-gcov], esac], [enable_gcov=false ]) if test x$enable_gcov = xtrue ; then - if test -n "$GCC"; then + if test x"$GCC" != xyes; then AC_MSG_ERROR([gcov only works if gcc is used]) fi -- 2.40.0