From fbc9cd9de198d37a4a8fee945b90374d3c702b0b Mon Sep 17 00:00:00 2001 From: caro Date: Thu, 10 Nov 2011 19:27:12 +0000 Subject: [PATCH] Ecore: fix reg exp when with_internal_maximum_log_level is enabled replace \+ by + as it should be add -E option to grep, handle the + in expression Patch from OpenBSD via Jonathan Armani git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@65032 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 2cd9fe2..f89d739 100644 --- a/configure.ac +++ b/configure.ac @@ -83,7 +83,7 @@ AC_ARG_WITH(internal-maximum-log-level, [limit ecore internal log level to the given number, any call to EINA_LOG() with values greater than this will be compiled out, ignoring runtime settings, but saving function calls.])], [ if test "x${withval}" != "xno"; then - if echo "${withval}" | grep '^[[0-9]]\+$' >/dev/null 2>/dev/null; then + if echo "${withval}" | grep -E '^[[0-9]]+$' >/dev/null 2>/dev/null; then AC_MSG_NOTICE([ignoring any EINA_LOG() with level greater than ${withval}]) AC_DEFINE_UNQUOTED(EINA_LOG_LEVEL_MAXIMUM, ${withval}, [if set, logging is limited to this amount.]) with_max_log_level="${withval}" -- 2.7.4