summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-08-09 11:35:41 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-08-09 11:35:41 +0000
commit6f0da163dde71e51fa67e47139476d0715323b78 (patch)
tree71646ac0202a7d984ad37492541a6b122e14a58a /configure
parent185bc3320ff3ef743f43453146f6f4a95ddb4ef5 (diff)
downloadmpv-6f0da163dde71e51fa67e47139476d0715323b78.tar.bz2
mpv-6f0da163dde71e51fa67e47139476d0715323b78.tar.xz
Move some more compiler flags to configure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24043 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure11
1 files changed, 10 insertions, 1 deletions
diff --git a/configure b/configure
index f750f6edf7..597bd458c5 100755
--- a/configure
+++ b/configure
@@ -7371,6 +7371,11 @@ if test "$_largefiles" = yes || freebsd ; then
fi
fi
+# Make sure config.h gets included.
+if test "$_dvdread_internal" = yes || test "$_faad_internal" = yes ; then
+ CFLAGS="$CFLAGS -DHAVE_CONFIG_H"
+fi
+
CFLAGS="-I. -I.. -I../libavutil $CFLAGS"
CXXFLAGS=" $CFLAGS -D__STDC_LIMIT_MACROS"
@@ -7682,13 +7687,17 @@ $_def_fast_inttypes
/* libdvdcss */
#define HAVE_ERRNO_H 1
+
+/* libdvdcss + libdvdread */
#define HAVE_LIMITS_H 1
/* libdvdcss + libfaad2 */
#define HAVE_UNISTD_H 1
-/* libfaad2 */
+/* libfaad2 + libdvdread */
#define STDC_HEADERS 1
+
+/* libfaad2 */
#define HAVE_MEMCPY 1
#define HAVE_STRCHR 1