blob: 4d339fefa10a818c4d3176c762bb069664d66ecd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
--- configure.in.orig Sun Dec 28 11:55:40 2003
+++ configure.in Sun Dec 28 11:55:52 2003
@@ -23,24 +23,6 @@
OST_MAINTAINER_MODE
OST_CXX_PROGRAMMING
-AC_CACHE_CHECK(whether ${CC-cc} accepts -pthread,
- ost_cv_prog_cc_pthread,
- [echo 'void f(){}' >conftest.c
- if test -z "`${CC-cc} -pthread -c conftest.c 2>&1`"; then
- ost_cv_prog_cc_pthread=yes
- else
- ost_cv_prog_cc_pthread=no
- fi
- rm -f conftest*
- ])
-if test $ost_cv_prog_cc_pthread = yes ; then
- LIBS="$LIBS -pthread"
-else
- AC_CHECK_LIB(c_r, pthread_self,
- LIBS="$LIBS -lc_r",
- AC_CHECK_LIB(pthread, pthread_self,
- LIBS="$LIBS -lpthread"))
-fi
AC_SUBST(LT_RELEASE)
AC_OUTPUT(Makefile vpb2.spec freebsd/Makefile)
|