Fix libmpeg2 detection on 4.x branch

Submitted by:	glewis
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2004-12-08 18:53:44 +00:00
parent 896fba4066
commit 5cddef9d6f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=123477

View File

@ -0,0 +1,14 @@
--- configure.orig Thu Dec 2 15:36:17 2004
+++ configure Thu Dec 2 15:36:51 2004
@@ -23179,7 +23179,11 @@
echo "$as_me:$LINENO: checking libmpeg2 version" >&5
echo $ECHO_N "checking libmpeg2 version... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
+#if defined(__FreeBSD__) && __FreeBSD__ < 5
+#include <inttypes.h>
+#else
#include <stdint.h>
+#endif
#include <mpeg2dec/mpeg2.h>
#ifndef MPEG2_VERSION