diff options
-rw-r--r-- | configure.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 9106a2b..975631e 100644 --- a/configure.in +++ b/configure.in @@ -357,8 +357,13 @@ LIBOBJS="$LIBOBJS thread.o"], [ AC_CHECK_LIB(pthread, pthread_create, [AC_DEFINE(WITH_THREAD) AC_DEFINE(_POSIX_THREADS) LIBS="$LIBS -lpthread" +LIBOBJS="$LIBOBJS thread.o"], [ +AC_CHECK_LIB(thread, __d6_pthread_create, [AC_DEFINE(WITH_THREAD) +AC_DEFINE(_POSIX_THREADS) +LIBS="$LIBS -lthread" LIBOBJS="$LIBOBJS thread.o"]) -])]) +])])]) + AC_CHECK_LIB(mpc, usconfig, [AC_DEFINE(WITH_THREAD) LIBS="$LIBS -lmpc" LIBOBJS="$LIBOBJS thread.o"]) |