Skip to content

Commit 704e9c9

Browse files
configure: Fail if libdispatch is not available (fixes #3282)
1 parent edbd809 commit 704e9c9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

configure.ac

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,10 @@ AS_IF([test "${enable_staticlink}" != "no"], [
270270
], [
271271
AC_CHECK_LIB([dispatch], [main], [HAVE_DISPATCH=yes])
272272
])
273+
274+
AC_CHECK_LIB([dispatch], [main], [], [
275+
AC_MSG_ERROR([libdispatch not found. Please install libdispatch.])
276+
])
273277
DISPATCH_CFLAGS=-fblocks
274278
DISPATCH_LIBS="-ldispatch -lBlocksRuntime"
275279
AC_SUBST(DISPATCH_CFLAGS)

0 commit comments

Comments
 (0)