Explicitly link with pthread library
This commit is contained in:
@@ -177,6 +177,13 @@ if test "$ax_cv_lib_readline_history" = "no"; then
|
|||||||
AC_MSG_WARN([readline library has no history functionality])
|
AC_MSG_WARN([readline library has no history functionality])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
dnl ========================
|
||||||
|
dnl = checking for pthread =
|
||||||
|
dnl ========================
|
||||||
|
AC_CHECK_LIB(pthread, pthread_create, LIBS="$LIBS -lpthread",
|
||||||
|
AC_MSG_ERROR([pthread library is required])
|
||||||
|
)
|
||||||
|
|
||||||
dnl ========================
|
dnl ========================
|
||||||
dnl = checking for ncurses =
|
dnl = checking for ncurses =
|
||||||
dnl ========================
|
dnl ========================
|
||||||
|
|||||||
Reference in New Issue
Block a user