[Mesa-dev] [PATCH] configure: remove unneeded bits around libunwind handling

Eric Engestrom eric.engestrom at imgtec.com
Thu May 11 13:16:56 UTC 2017


On Monday, 2017-05-08 18:02:08 +0100, Emil Velikov wrote:
> From: Emil Velikov <emil.velikov at collabora.com>
> 
> If libunwind is not found we'll fail at PKG_CHECK_MODULES, so the
> follow-up check won't be reached. Additionally the AM_CONDITIONAL is not
> used, so we can drop it.
> 
> Fixes: 3bcef6aa245 ("configure.ac: honour --disable-libunwind if the .pc file is present")
> Signed-off-by: Emil Velikov <emil.velikov at collabora.com>

Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>

> ---
>  configure.ac | 5 -----
>  1 file changed, 5 deletions(-)
> 
> diff --git a/configure.ac b/configure.ac
> index df3eb6b29ac..3cfe1d69eeb 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -1079,14 +1079,9 @@ fi
>  
>  if test "x$LIBUNWIND" = "xyes"; then
>      PKG_CHECK_MODULES(LIBUNWIND, libunwind)
> -    if test "x$HAVE_LIBUNWIND" != "xyes"; then
> -        AC_MSG_ERROR([libunwind requested but not installed.])
> -    fi
>      AC_DEFINE(HAVE_LIBUNWIND, 1, [Have libunwind support])
>  fi
>  
> -AM_CONDITIONAL(HAVE_LIBUNWIND, [test "x$LIBUNWIND" = xyes])
> -
>  
>  dnl Options for APIs
>  AC_ARG_ENABLE([opengl],
> -- 
> 2.12.2
> 


More information about the mesa-dev mailing list