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
aa5a096f
Commit
aa5a096f
authored
Jul 11, 2003
by
brendan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update shout.m4 to test for SHOUT_THREADSAFE in shout.h.
svn path=/trunk/m4/; revision=5125
parent
d0e828a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
m4/shout.m4
m4/shout.m4
+8
-4
No files found.
m4/shout.m4
View file @
aa5a096f
...
...
@@ -3,15 +3,15 @@ dnl Jack Moffitt <jack@icecast.org> 08-06-2001
dnl Rewritten for libshout 2
dnl Brendan Cully <brendan@xiph.org> 20030612
dnl
dnl $Id: shout.m4,v 1.1
1
2003/07/
0
1
18:02:19
brendan Exp $
dnl $Id: shout.m4,v 1.1
2
2003/07/
1
1
01:26:31
brendan Exp $
# XIPH_PATH_SHOUT([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
# Test for libshout, and define SHOUT_CPPFLAGS SHOUT_CFLAGS SHOUT_LIBS, and
# SHOUT_THREADE
D
# SHOUT_THREAD
SAF
E
AC_DEFUN([XIPH_PATH_SHOUT],
[dnl
xt_have_shout="no"
SHOUT_THREADE
D
="no"
SHOUT_THREAD
SAF
E="no"
SHOUT_CPPFLAGS=""
SHOUT_CFLAGS=""
SHOUT_LIBS=""
...
...
@@ -61,7 +61,11 @@ then
ifelse([$1], , :, [$1])
xt_have_shout="yes"
])
AC_CHECK_FUNC([thread_initialize], [SHOUT_THREADED="yes"])
AC_EGREP_CPP([yes], [#include <shout/shout.h>
#if SHOUT_THREADSAFE
yes
#endif
], [SHOUT_THREADSAFE="yes"])
])
CPPFLAGS="$ac_save_CPPFLAGS"
CFLAGS="$ac_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