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
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
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
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