removed the pthread stuff - it's not used anymore

SVN revision: 29240
This commit is contained in:
tilman 2007-03-30 19:38:17 +00:00 committed by tilman
parent 216d8d315b
commit 9ed48cc2eb
1 changed files with 0 additions and 38 deletions

View File

@ -945,44 +945,6 @@ fi
AC_SUBST(ecore_desktop_cflags)
AC_SUBST(ecore_desktop_libs)
AC_ARG_ENABLE(pthreads,
[ --disable-pthreads disable building with pthread support],
[
if test x$enableval = xyes; then
pthreads=yes
else
pthreads=no
fi
]
)
if test x$pthreads = xyes ; then
AC_CHECK_HEADERS(pthread.h,pthread_header_ok="yes", pthread_header_ok="no")
if test "$pthread_header_ok" = "yes"; then
AC_CHECK_LIB(pthread, main, PTHREAD_LIBS="-lpthread", PTHREAD_LIBS="error")
if test "$PTHREAD_LIBS" = "error"; then
AC_CHECK_LIB(c_r, main, PTHREAD_LIBS="-pthread", pthread_lib_ok="no")
fi
fi
if test "$pthread_header_ok" = "no" -o "$pthread_lib_ok" = "no"; then
HAVE_PTHREADS=0
else
HAVE_PTHREADS=1
fi
if test "$PTHREAD_LIBS" = "-pthread"; then
LIBS="$LIBS $PTHREAD_LIBS"
else
PTHREAD_CFLAGS="-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS"
LIBS="$LIBS $PTHREAD_LIBS"
fi
else
HAVE_PTHREADS=0
PTHREAD_LIBS=""
fi
AC_SUBST(PTHREAD_LIBS)
AC_SUBST(HAVE_PTHREADS)
AC_CHECK_LIB(dl, dlopen, dlopen_libs=-ldl)
AC_SUBST(dlopen_libs)