mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
configure: remove unneeded bits around libunwind handling
If libunwind is not found we'll fail at PKG_CHECK_MODULES, so the follow-up check will be false. Additionally the AM_CONDITIONAL is not used, so we can drop it. Fixes:3bcef6aa24("configure.ac: honour --disable-libunwind if the .pc file is present") Signed-off-by: Emil Velikov <emil.velikov@collabora.com> (cherry picked from commit709468a808)
This commit is contained in:
parent
0e4c34b347
commit
d6439cb297
1 changed files with 0 additions and 5 deletions
|
|
@ -1079,14 +1079,9 @@ fi
|
||||||
|
|
||||||
if test "x$LIBUNWIND" = "xyes"; then
|
if test "x$LIBUNWIND" = "xyes"; then
|
||||||
PKG_CHECK_MODULES(LIBUNWIND, libunwind)
|
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])
|
AC_DEFINE(HAVE_LIBUNWIND, 1, [Have libunwind support])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AM_CONDITIONAL(HAVE_LIBUNWIND, [test "x$LIBUNWIND" = xyes])
|
|
||||||
|
|
||||||
|
|
||||||
dnl Options for APIs
|
dnl Options for APIs
|
||||||
AC_ARG_ENABLE([opengl],
|
AC_ARG_ENABLE([opengl],
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue