Skip to content

Commit 2dc25a4

Browse files
committed
OSRI and new posix build
1 parent fdfcc4e commit 2dc25a4

File tree

488 files changed

+19245
-32425
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

488 files changed

+19245
-32425
lines changed

binreloc.m4

+1-23
Original file line numberDiff line numberDiff line change
@@ -48,30 +48,8 @@ AC_DEFUN([AM_BINRELOC],
4848
if test "x$br_cv_binreloc" = "xyes"; then
4949
BINRELOC_CFLAGS="-DENABLE_BINRELOC"
5050
AC_DEFINE(ENABLE_BINRELOC,,[Use binary relocation?])
51-
if test "x$enable_binreloc_threads" = "xyes"; then
52-
AC_CHECK_LIB([pthread], [pthread_getspecific])
53-
fi
54-
55-
AC_CACHE_CHECK([whether binary relocation should use threads],
56-
[br_cv_binreloc_threads],
57-
[if test "x$enable_binreloc_threads" = "xyes"; then
58-
if test "x$ac_cv_lib_pthread_pthread_getspecific" = "xyes"; then
59-
br_cv_binreloc_threads=yes
60-
else
61-
br_cv_binreloc_threads=no
62-
fi
63-
else
64-
br_cv_binreloc_threads=no
65-
fi])
66-
67-
if test "x$br_cv_binreloc_threads" = "xyes"; then
68-
BINRELOC_LIBS="-lpthread"
69-
AC_DEFINE(BR_PTHREAD,1,[Include pthread support for binary relocation?])
70-
else
71-
BINRELOC_CFLAGS="$BINRELOC_CFLAGS -DBR_PTHREADS=0"
72-
AC_DEFINE(BR_PTHREAD,0,[Include pthread support for binary relocation?])
73-
fi
7451
fi
52+
7553
AC_SUBST(BINRELOC_CFLAGS)
7654
AC_SUBST(BINRELOC_LIBS)
7755
])

0 commit comments

Comments
 (0)