diff configure @ 2897:283eab7c4c8e

Added proper #include's for libvo2
author mswitch
date Wed, 14 Nov 2001 11:16:45 +0000
parents 3a44575edc30
children 4c2db939183e
line wrap: on
line diff
--- a/configure	Wed Nov 14 10:49:12 2001 +0000
+++ b/configure	Wed Nov 14 11:16:45 2001 +0000
@@ -2522,12 +2522,12 @@
 fi
 
 if test "$_vo2" = yes ; then
- _vodef='#define USE_LIBVO2'
+ _vodef='-DUSE_LIBVO2'
  _volib='-Llibvo2 -lvo2'
  _voinc='-Ilibvo2'
  _vodir='libvo2'
 else
- _vodef='#undef USE_LIBVO2'
+ _vodef=''
  _volib='-Llibvo -lvo'
  _voinc='-Ilibvo'
  _vodir='libvo'
@@ -2582,7 +2582,7 @@
 AR=ar
 CC=$_cc
 # OPTFLAGS=-O4 $_profile $_debug $_march $_mcpu -pipe -fomit-frame-pointer -ffast-math
-OPTFLAGS=$CFLAGS
+OPTFLAGS=$CFLAGS $_vodef
 EXTRA_INC=$_extraincdir $_voinc $_gtkinc
 WIN32_PATH=-DWIN32_PATH=\\"$_win32libdir\\"
 VO_INC=$_voinc
@@ -2650,7 +2650,6 @@
 
 #define USE_OSD
 #define USE_SUB
-$_vodef
 
 $_debugdef