1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00
Commit Graph

56 Commits

Author SHA1 Message Date
giles
c3f75a858d Don't test for the required libtheora version if the generic link
failed. Corrects an erroneous version error when in fact the library
wasn't found at all. Bug #719.

svn path=/icecast/trunk/m4/; revision=10307
2005-10-26 21:18:19 +00:00
Karl Heyes
6d2cc1036d allow older xslt libs, we can conditionally build a missing function easily
svn path=/icecast/trunk/m4/; revision=9737
2005-08-12 03:08:33 +00:00
Karl Heyes
435134c354 initial openssl check
svn path=/icecast/trunk/m4/; revision=9655
2005-07-30 17:09:51 +00:00
Karl Heyes
105570a1eb update pthread check, for the pth lib and a solaris -pthreads check. Update the
other m4 macros for the --with-X prefix check

svn path=/icecast/trunk/m4/; revision=9556
2005-07-10 14:24:08 +00:00
Karl Heyes
8249712940 make sure we have a recent theora lib
svn path=/icecast/trunk/m4/; revision=8330
2004-12-03 20:16:00 +00:00
Karl Heyes
3af3d7f559 update macros
svn path=/icecast/trunk/m4/; revision=8320
2004-11-30 20:36:09 +00:00
Karl Heyes
4f2c1d8d3d update library check
svn path=/icecast/trunk/m4/; revision=7605
2004-08-22 00:17:38 +00:00
brendan
84f20a04ac typo
svn path=/icecast/trunk/m4/; revision=7180
2004-07-20 02:50:54 +00:00
Karl Heyes
b8304fc73e Add __func__ test if apps want it
svn path=/icecast/trunk/m4/; revision=7123
2004-07-14 18:50:49 +00:00
brendan
a07c996f7b Handle --without-theora option. Ideally this would be controlled by
the caller (who may or may not want to allow this option), but I don't
know how to do that while AC_ARG_WITH(theora...) is inside this
macro.

svn path=/icecast/trunk/m4/; revision=7101
2004-07-12 15:54:14 +00:00
Karl Heyes
233f409d23 update lib check, not usually a problem
svn path=/icecast/trunk/m4/; revision=7094
2004-07-11 17:25:14 +00:00
brendan
19b1a168b5 Rename XIPH_PATH_OGG to XIPH_PATH_OGG2, to avoid conflicts with ogg.m4
svn path=/icecast/trunk/m4/; revision=7032
2004-07-07 06:02:32 +00:00
brendan
f737ffe9a5 Quote defs in xiph_curl and ogg2, add Id keyword substitution.
svn path=/icecast/trunk/m4/; revision=7020
2004-07-06 19:21:46 +00:00
j
0b1b990cf8 add speex.m4 to trunk/m4
svn path=/icecast/trunk/m4/; revision=6852
2004-06-24 18:51:41 +00:00
arc
3a14d87536 m4 for libogg2
svn path=/trunk/m4/; revision=5886
2004-03-03 14:34:49 +00:00
Karl Heyes
ea8d80e90c a test for theora
svn path=/trunk/m4/; revision=5883
2004-03-03 13:15:12 +00:00
giles
48abfaa93e Quote our macro name in AC_DEFUN() to avoid a warning in automake 1.8. Patch from Alexander
Winston.

svn path=/trunk/m4/; revision=5784
2004-01-26 07:48:39 +00:00
Karl Heyes
c6beb943d5 minor cleanup
svn path=/trunk/icecast/; revision=5598
2003-11-18 00:39:19 +00:00
brendan
2bfba7c60a Leigh Smith's MINGW32 compatibility patch, with modifications for better
autoconf feng shui

svn path=/trunk/m4/; revision=5490
2003-10-20 03:08:46 +00:00
Karl Heyes
39ad755a25 remove unwanted bits left in from previous commits
svn path=/trunk/icecast/; revision=5178
2003-07-27 01:13:06 +00:00
Karl Heyes
a182515fc5 fixup last curl test with all the info it needs and avoid variable
name clashes.

svn path=/trunk/m4/; revision=5177
2003-07-27 00:15:52 +00:00
Karl Heyes
d2ee7bbfca remove duplication for compiler flags, and fixup curl detection
svn path=/trunk/icecast/; revision=5169
2003-07-24 02:31:36 +00:00
Karl Heyes
686bac60cf we need to supply the curl cflags into the C preprocessor
svn path=/trunk/m4/; revision=5159
2003-07-21 17:33:03 +00:00
Karl Heyes
57e9372c69 Add the libcurl check to the m4 archive.
svn path=/trunk/m4/; revision=5149
2003-07-18 01:09:23 +00:00
Karl Heyes
54ff6f6b63 move xml/xslt detection into the m4 tree
svn path=/trunk/m4/; revision=5148
2003-07-17 10:46:03 +00:00
Karl Heyes
72fcbe9b9a fix variable expansion
svn path=/trunk/m4/; revision=5147
2003-07-17 09:23:44 +00:00
brendan
aa5a096f8a Update shout.m4 to test for SHOUT_THREADSAFE in shout.h.
svn path=/trunk/m4/; revision=5125
2003-07-11 01:26:31 +00:00
brendan
a300895768 Reset LDFLAGS after the link test.
svn path=/trunk/m4/; revision=5105
2003-07-08 14:32:03 +00:00
brendan
a66ba595c9 Irix portability fixes:
1. Don't define _XOPEN_SOURCE, at least with GCC. As ALWAYS, this macro undefines
   a lot of the symbols we need. As of libshout 2.1, this define will be moved
   into the "if not $GCC" category so we don't have to deal with it so often.
2. Irix defines inet_pton but not sockaddr_storage. We could fake it by using
   an in6 structure, but why bother? Just don't check for inet_pton unless
   we have struct sockaddr_storage.

svn path=/trunk/m4/; revision=5087
2003-07-07 03:40:00 +00:00
brendan
5dd9110774 Cosmetics (superfluous "checking")
svn path=/trunk/m4/; revision=5025
2003-07-01 18:21:46 +00:00
brendan
37707895da shout.m4 splits SHOUT_CFLAGS into SHOUT_CFLAGS and SHOUT_CPPFLAGS, and
defines SHOUT_THREADED if the library was built threadsafe (from Karl).

svn path=/trunk/m4/; revision=5024
2003-07-01 18:02:19 +00:00
brendan
8d79bc7416 Karl's extension to shout-config, shout.pc
Adds cppflags and cflags-only variables

svn path=/trunk/m4/; revision=5018
2003-06-28 02:16:47 +00:00
brendan
f42b977f10 If you're going to shoot an elephant, you'd better make sure you finish the job.
svn path=/trunk/m4/; revision=5017
2003-06-26 19:38:23 +00:00
brendan
b0e5216528 Seed PKG_CONFIG_PATH with the default libshout shout.pc location
(ported from ices0 version)

svn path=/trunk/m4/; revision=5016
2003-06-26 19:34:00 +00:00
brendan
52dbe24523 Prune shout_prefix from *-config include flags if it would generate a warning.
Make all xiph_compiler macros comply with our coding guidelines
XIPH_GCC_INCLUDE_WARNING renamed XIPH_GCC_WARNING

svn path=/trunk/m4/; revision=5013
2003-06-26 16:03:37 +00:00
brendan
1726d0cd89 Don't use PKG_CHECK_MODULES: it aborts configure on systems without pkg-config,
even if action-if-not-found is defined.

Rename have_shout to xt_have_shout, in conformance with macro writing guidelines :)

svn path=/trunk/m4/; revision=5006
2003-06-25 17:03:55 +00:00
brendan
4dacf00422 Lots more autoconf stuff
1. src/net tests abstracted into XIPH_NET macro. We should do the same for
   src/thread, but it's a little more complicated - it will have to
   interact with the caller (eg some apps may want --disable-threads)
2. uintxx_t, socklen_t tests encapsulated, moved to xiph_types.m4
3. solaris fixes for socket func, nanosleep detection
4. added $LIBS to SHOUT_LIBS for *-config scripts. Good or bad idea?

We'll definitely need a libshout beta 2.

svn path=/trunk/m4/; revision=5005
2003-06-24 21:35:44 +00:00
brendan
eac72054f9 oops.
svn path=/trunk/m4/; revision=4998
2003-06-24 05:04:54 +00:00
Karl Heyes
247b9b7620 autoconf seems to be removing trailing spaces, apply a work around for it
svn path=/trunk/m4/; revision=4996
2003-06-24 02:41:19 +00:00
brendan
265f609b4a A load of changes by Karl
svn path=/trunk/m4/; revision=4992
2003-06-24 00:58:10 +00:00
brendan
49c6946c07 Karl's simplified and cleaned up ogg/vorbis macros. This will push back
release a bit unfortunately.

svn path=/trunk/m4/; revision=4958
2003-06-18 03:55:41 +00:00
brendan
4e4a6f9aef Copied back from ices/m4/shout.m4 1.2. There must be a better way of keeping
these m4 macros synchronised.

svn path=/trunk/m4/; revision=4944
2003-06-13 22:20:26 +00:00
brendan
055160b09a Move m4 macros from acinclude into m4 directory
Use new shout.m4 macro

svn path=/trunk/m4/; revision=4943
2003-06-13 19:22:16 +00:00
brendan
d1f807ace8 Make configure --help look pretty
svn path=/trunk/m4/; revision=4941
2003-06-13 19:08:32 +00:00
brendan
346845b22b shout.m4 has been completely rewritten for libshout 2.
It relies on pkg-config or shout-config (in that order) for compiler/linker
flags. --with-shout-prefix is gone. Also gone is --disable-shouttest. I don't
understand the advantages of that home built script over the standard header/
func checks, so I used those. I guess AC_TRY_RUN isn't invoked, but I feel
(mildly) that the business of autoconf is to ensure the program builds
correctly, not runs correctly. Run errors can usually be fixed after the build
(by tweaking LD_LIBRARY_PATH, ld.so.conf, crle etc) without rebuilding.

I've ported ices 0 to this macro in order to test it, but haven't put the various
fallbacks through the ringer yet. I will before release.

TODO: I don't think this file is being included with make dist. Should it be?
Probably. Should it be installed? Probably, but less so.

svn path=/trunk/m4/; revision=4939
2003-06-13 04:26:23 +00:00
brendan
aa9be37c26 compatibility with solaris 8 /bin/sh
svn path=/trunk/m4/; revision=4910
2003-06-10 01:42:08 +00:00
Karl Heyes
1d9348c67f We really need to include the header for the test to be reliable
svn path=/trunk/m4/; revision=4537
2003-03-26 02:24:00 +00:00
Karl Heyes
5262073213 separate the check for pthread_rwlock_t, it will soon be an optional
svn path=/trunk/icecast/; revision=4488
2003-03-14 00:45:49 +00:00
Karl Heyes
ce039a7e54 fix for certain versions of OS X which need thread options for finding
pthread_rwlock_t

svn path=/trunk/m4/; revision=4481
2003-03-13 03:52:02 +00:00
brendan
f65d885967 Don't set OGG_CFLAGS to -INONE/include
svn path=/trunk/m4/; revision=4440
2003-03-08 02:43:14 +00:00