Index: configure.ac ================================================================== --- configure.ac +++ configure.ac @@ -607,11 +607,11 @@ ], [ AC_MSG_RESULT(exceptions unavailable!) AC_MSG_ERROR([Exceptions not accepted by compiler!]) ]) - AC_SEARCH_LIBS($raise_exception, [c++abi gcc_s gcc], [ + AC_SEARCH_LIBS($raise_exception, [c++abi gcc_s gcc unwind], [ dnl c++abi requires pthread on OpenBSD AS_IF([test x"$ac_lib" = x"c++abi"], [LIBS="$LIBS -lpthread"]) ], [ AC_MSG_ERROR([$raise_exception missing!]) ], [-lpthread])