aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-05-08 17:37:02 +0100
committerEmil Velikov <[email protected]>2017-05-11 14:02:07 +0100
commit709468a8088f7d9b3472ca6993e983a2361b5509 (patch)
tree0f1a7cd325760166c465bb007d601801d6435d0b /configure.ac
parenta68d306a1d8f583262e705d347ac860de0a0cd30 (diff)
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: 3bcef6aa245 ("configure.ac: honour --disable-libunwind if the .pc file is present") Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 0 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index 5c460f43d57..ce5301f3e45 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],