Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
Icecast-Server
Commits
52620732
Commit
52620732
authored
Mar 14, 2003
by
Karl Heyes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
separate the check for pthread_rwlock_t, it will soon be an optional
svn path=/trunk/icecast/; revision=4488
parent
ce039a7e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
acinclude.m4
acinclude.m4
+1
-0
m4/acx_pthread.m4
m4/acx_pthread.m4
+2
-1
No files found.
acinclude.m4
View file @
52620732
...
...
@@ -465,6 +465,7 @@ if test "x$acx_pthread_ok" = xyes; then
if test "x$flag" != xno; then
PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
fi
AC_CHECK_TYPES(pthread_rwlock_t)
LIBS="$save_LIBS"
CFLAGS="$save_CFLAGS"
...
...
m4/acx_pthread.m4
View file @
52620732
...
...
@@ -108,7 +108,7 @@ for flag in $acx_pthread_flags; do
# functions on Solaris that doesn't have a non-functional libc stub.
# We try pthread_create on general principles.
AC_TRY_LINK([#include <pthread.h>],
[pthread_t th;
pthread_rwlock_t rw;
pthread_join(th, 0);
[pthread_t th; pthread_join(th, 0);
pthread_attr_init(0); pthread_cleanup_push(0, 0);
pthread_create(0,0,0,0); pthread_cleanup_pop(0); ],
[acx_pthread_ok=yes])
...
...
@@ -164,6 +164,7 @@ if test "x$acx_pthread_ok" = xyes; then
if test "x$flag" != xno; then
PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
fi
AC_CHECK_TYPES(pthread_rwlock_t)
LIBS="$save_LIBS"
CFLAGS="$save_CFLAGS"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment