summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorpl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-01-06 13:06:51 +0000
committerpl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-01-06 13:06:51 +0000
commit5b981f805ac843d8ab9f1e8e920dc599f7a4e1d2 (patch)
treeed880192d5068674d33d289a455d3c2db17adc54 /configure
parent4b41dd6fb5edf10599d6fc4a1aef8adf5bc0fb9d (diff)
downloadmpv-5b981f805ac843d8ab9f1e8e920dc599f7a4e1d2.tar.bz2
mpv-5b981f805ac843d8ab9f1e8e920dc599f7a4e1d2.tar.xz
stdint.h replaced by inttypes.h (used more frequently in the sources)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4004 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure21
1 files changed, 9 insertions, 12 deletions
diff --git a/configure b/configure
index bb2c3e357b..872fa85f7a 100755
--- a/configure
+++ b/configure
@@ -1113,20 +1113,20 @@ else
_streaming=no
fi
-
-echocheck "stdint.h"
+echocheck "inttypes.h (required)"
cat > $TMPC << EOF
-#include <stdint.h>
+#include <inttypes.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'
+_inttypes=no
+cc_check && _inttypes=yes
+if test "$_inttypes" = yes ; then
+ # nothing to do
+ :
else
- _def_stdint='#undef HAVE_STDINT_H'
+ die "cannot find header inttypes.h (see in DOC/faq.html)"
fi
-echores "$_stdint"
+echores "$_inttypes"
echocheck "malloc.h"
@@ -2895,9 +2895,6 @@ $_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