--- configure Mon Nov 26 11:15:36 2001 +++ configure-new Mon Nov 26 18:13:03 2001 @@ -144,6 +144,7 @@ --enable-mlib build with MLIB support (Solaris only) [autodetect] --enable-3dfx build with 3dfx support [disable] --enable-tdfxfb build with tdfxfb support [disable] + --enable-directfb build with DirectFB support [disable] Audio: --disable-ossaudio disable OSS sound support [autodetect] @@ -676,6 +677,7 @@ _termios=auto _3dfx=no _tdfxfb=no +_directfb=no _largefiles=no _vo2=no _language=en @@ -776,6 +778,8 @@ --disable-3dfx) _3dfx=no ;; --enable-tdfxfb) _tdfxfb=yes ;; --disable-tdfxfb) _tdfxfb=no ;; + --enable-directfb) _directfb=yes ;; + --disable-directfb) _directfb=no ;; --enable-mtrr) _mtrr=yes ;; --disable-mtrr) _mtrr=no ;; --enable-largefiles) _largefiles=yes ;; @@ -1238,6 +1242,16 @@ echores "$_tdfxfb" +echocheck "DirectFB" +if test "$_directfb" = yes ; then + _def_directfb='#define HAVE_DIRECTFB 1' + _vosrc="$_vosrc vo_directfb.c" +else + _def_directfb='#undef HAVE_DIRECTFB' +fi +echores "$_directfb" + + # Checking for localization ... echocheck "language" test -z "$LINGUAS" && LINGUAS="en" @@ -2712,6 +2726,7 @@ $_def_ggi $_def_3dfx $_def_tdfxfb +$_def_directfb $_def_mga $_def_xmga $_def_syncfb