summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authoralbeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-12 01:56:42 +0000
committeralbeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-12 01:56:42 +0000
commit126725660d4bebbab8570221c5681dc01d98fe86 (patch)
tree3ebdca9acf6fae38bfdba5b4159fbd16177da828 /configure
parent0f622e2d6fe735d727b9d8fd12cea22e03fd954b (diff)
downloadmpv-126725660d4bebbab8570221c5681dc01d98fe86.tar.bz2
mpv-126725660d4bebbab8570221c5681dc01d98fe86.tar.xz
New config system + cleanup of header inter dependency
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8165 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure16
1 files changed, 16 insertions, 0 deletions
diff --git a/configure b/configure
index 6e9f83c89b..8c4f475137 100755
--- a/configure
+++ b/configure
@@ -151,6 +151,7 @@ Optional features:
--disable-cdparanoia Disable cdparanoia support [autodetect]
--enable-freetype Enable freetype2 font rendering support [disabled]
--disable-unrarlib Disable Unique RAR File Library [enabled]
+ --enable-new-conf Enable new config stuff [disabled]
Codecs:
--enable-gif enable gif89a output support [autodetect]
@@ -1013,6 +1014,7 @@ _cdparanoia=auto
_big_endian=auto
_freetype=no
_shared_pp=no
+_new_conf=no
for ac_option do
case "$ac_option" in
@@ -1193,6 +1195,9 @@ for ac_option do
--enable-shared-pp) _shared_pp=yes ;;
--disable-shared-pp) _shared_pp=no ;;
+ --enable-new-conf) _new_conf=yes ;;
+ --disable-new-conf) _new_conf=no ;;
+
--language=*)
LINGUAS=`echo $ac_option | cut -d '=' -f 2`
;;
@@ -4235,6 +4240,14 @@ else
fi
echores "$_shared_pp"
+echocheck "New config"
+if test "$_new_conf" = yes ; then
+ _def_new_conf='#define NEW_CONFIG 1'
+else
+ _def_new_conf='#undef NEW_CONFIG'
+fi
+echores "$_new_conf"
+
# --------------- GUI specific tests begin -------------------
echocheck "GUI"
echo "$_gui"
@@ -4969,6 +4982,9 @@ $_def_vidix
/* enables / disables new input joystick support */
$_def_joystick
+/* enables / disables new config */
+$_def_new_conf
+
/* Extension defines */
$_def_3dnow // only define if you have 3DNOW (AMD k6-2, AMD Athlon, iDT WinChip, etc.)
$_def_3dnowex // only define if you have 3DNOWEX (AMD Athlon, etc.)