Mercurial > mplayer.hg
diff configure @ 3919:649c50457a99
small fixes (=> HAVE_STDINT_H is now defined)
added STREAMING_LIB in config.mak/Makefile
Note: compile via a configure && make without glitches on SunOS
author | pl |
---|---|
date | Mon, 31 Dec 2001 15:29:46 +0000 |
parents | 16c96a2353e8 |
children | 04b2227ab75a |
line wrap: on
line diff
--- a/configure Mon Dec 31 10:25:11 2001 +0000 +++ b/configure Mon Dec 31 15:29:46 2001 +0000 @@ -1114,6 +1114,21 @@ fi +echocheck "stdint.h" +cat > $TMPC << EOF +#include <stdint.h> +int main(void) { return 0; } +EOF +_stdint=no +cc_check && _stdint=yes +if test "$_stdint" = yes ; then + _def_stdint='#define HAVE_STDINT_H 1' +else + _def_stdint='#undef HAVE_STDINT_H' +fi +echores "$_stdint" + + echocheck "malloc.h" cat > $TMPC << EOF #include <malloc.h> @@ -2544,6 +2559,7 @@ # FIXME streaming check if test "$_streaming" != no ; then _def_streaming='#define STREAMING 1' + _ld_streaming="$_ld_sock" _inputmodules="network $_inputmodules" else _def_streaming='#undef STREAMING' @@ -2730,6 +2746,7 @@ WIN32_PATH = -DWIN32_PATH=\\"$_win32libdir\\" STREAMING = $_streaming +STREAMING_LIB = $_ld_streaming VO2 = $_vo2 @@ -2873,6 +2890,9 @@ /* Define this if your system has the header file for the OSS sound interface */ $_def_sys_soundcard +/* Define this if your system has the "stdint.h" header file */ +$_def_stdint + /* Define this if your system has the "malloc.h" header file */ $_def_malloc