From: Todd C. Miller Date: Fri, 17 May 2002 17:20:09 +0000 (+0000) Subject: securid5 stuff needs pthreads. Just adding -lpthread is suboptimal X-Git-Tag: SUDO_1_6_7~119 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ef8c99a5f78a1f57929f9dad1c90c3d2f6b5a27a;p=sudo securid5 stuff needs pthreads. Just adding -lpthread is suboptimal but I don't see a better way at the moment. --- diff --git a/configure.in b/configure.in index bb25acb89..e6b4a30de 100644 --- a/configure.in +++ b/configure.in @@ -1826,7 +1826,10 @@ if test -n "$with_SecurID" -a "$with_SecurID" != "no"; then OLIBS="${LIBS}" LIBS="${LIBS} ${SD_LIB}" SUDO_LIBS="${SUDO_LIBS} ${SD_LIB}" - AC_CHECK_FUNC(SD_Init, [AUTH_OBJS="securid5.o"], [AUTH_OBJS="securid.o"]) + AC_CHECK_FUNC(SD_Init, + [AUTH_OBJS="securid5.o"; SUDO_LIBS="${SUDO_LIBS} -lpthread"], + [AUTH_OBJS="securid.o"] + ) LIBS="${OLIBS}" fi