summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-03-18 21:58:28 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-03-18 21:58:28 +0000
commit132dd09be9dfc19c7dfaf9cfd391eaf7cf07f6ca (patch)
treed1f4b3c947a006cd7ed2a45846b72f29038c68d5 /configure
parent7bb75adb600badab63746378f27142cb93c6a2bd (diff)
downloadmpv-132dd09be9dfc19c7dfaf9cfd391eaf7cf07f6ca.tar.bz2
mpv-132dd09be9dfc19c7dfaf9cfd391eaf7cf07f6ca.tar.xz
Move setting CXXFLAGS to configure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22731 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index 369552c110..84e1f3a6a0 100755
--- a/configure
+++ b/configure
@@ -7409,6 +7409,8 @@ if test "$_largefiles" = yes || freebsd ; then
fi
fi
+CXXFLAGS="-I.. $CFLAGS -D__STDC_LIMIT_MACROS"
+
if cc_check -Wdeclaration-after-statement ; then
CFLAGS="-Wdeclaration-after-statement $CFLAGS"
fi
@@ -7478,8 +7480,9 @@ RANLIB = $_ranlib
LDCONFIG = $_ldconfig
INSTALL = $_install
EXTRA_INC = $_inc_extra
-EXTRAXX_INC = $_inc_extraxx
+EXTRAXX_INC = $_inc_extra $_inc_extraxx
OPTFLAGS = $CFLAGS \$(EXTRA_INC)
+CXXFLAGS = $CXXFLAGS \$(EXTRAXX_INC)
INSTALLSTRIP = $_install_strip
CHARSET = $_charset
HELP_FILE = $_mp_help