aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authorGravatar pl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-31 15:29:46 +0000
committerGravatar pl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-31 15:29:46 +0000
commit4ff3fa67539e6e7c0d1342244ea892f4f0eb4fc1 (patch)
tree4823b565588fc79c95493d461a4043aa661458f9 /configure
parent5276910d701a671a21ce69ceead3c5c25581ac11 (diff)
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 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3920 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure20
1 files changed, 20 insertions, 0 deletions
diff --git a/configure b/configure
index a2cc2dea81..92a8cf5658 100755
--- a/configure
+++ b/configure
@@ -1114,6 +1114,21 @@ else
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 @@ echocheck "streaming"
# 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 @@ EXTRA_INC = $_inc_extra $_inc_gtk
WIN32_PATH = -DWIN32_PATH=\\"$_win32libdir\\"
STREAMING = $_streaming
+STREAMING_LIB = $_ld_streaming
VO2 = $_vo2
@@ -2873,6 +2890,9 @@ $_def_rtc
/* 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