Mercurial > mplayer.hg
comparison configure @ 627:f03f9ae6303a
DShow support selection is now by ./configure --disable-dshow
author | arpi_esp |
---|---|
date | Tue, 24 Apr 2001 22:51:55 +0000 |
parents | 3f96fe86493d |
children | ea9f904513a4 |
comparison
equal
deleted
inserted
replaced
626:550ea1eba1a1 | 627:f03f9ae6303a |
---|---|
99 --enable-lirc enable LIRC (remote control) support | 99 --enable-lirc enable LIRC (remote control) support |
100 | 100 |
101 --disable-select disable audio select() support ( for example required this | 101 --disable-select disable audio select() support ( for example required this |
102 option ALSA or Vortex2 driver ) | 102 option ALSA or Vortex2 driver ) |
103 | 103 |
104 --disable-dshow disable DirectShow support (if you don't have | |
105 C++ compiler&libs, or you've found dshow codecs | |
106 slower than old VfW ones) | |
107 | |
104 --with-x11libdir=DIR X library files are in DIR | 108 --with-x11libdir=DIR X library files are in DIR |
105 --with-win32libdir=DIR windows codec files | 109 --with-win32libdir=DIR windows codec files |
106 --with-csslibdir=DIR directory contains libcss.so shared library | 110 --with-csslibdir=DIR directory contains libcss.so shared library |
107 --with-cssincdir=DIR directory contains libcss header file (css.h) | 111 --with-cssincdir=DIR directory contains libcss header file (css.h) |
108 | 112 |
205 _dga2=no | 209 _dga2=no |
206 _svga=no | 210 _svga=no |
207 _fbdev=yes | 211 _fbdev=yes |
208 _lirc=no | 212 _lirc=no |
209 _css=no | 213 _css=no |
214 _dshow=yes | |
210 | 215 |
211 _x=1 | 216 _x=1 |
212 _y=1 | 217 _y=1 |
213 | 218 |
214 _gllib= | 219 _gllib= |
601 --disable-termcap) | 606 --disable-termcap) |
602 _termcap=no | 607 _termcap=no |
603 ;; | 608 ;; |
604 --disable-select) | 609 --disable-select) |
605 _select='#undef HAVE_AUDIO_SELECT' | 610 _select='#undef HAVE_AUDIO_SELECT' |
611 ;; | |
612 --disable-dshow) | |
613 _dshow=no | |
606 ;; | 614 ;; |
607 --with-win32libdir=*) | 615 --with-win32libdir=*) |
608 _win32libdir=`echo $ac_option | cut -d '=' -f 2` | 616 _win32libdir=`echo $ac_option | cut -d '=' -f 2` |
609 _win32libdirnotify=no | 617 _win32libdirnotify=no |
610 ;; | 618 ;; |
658 echo "Checking for Xf86VM ... $_vm" | 666 echo "Checking for Xf86VM ... $_vm" |
659 echo "Checking for SVGAlib ... $_svga" | 667 echo "Checking for SVGAlib ... $_svga" |
660 echo "Checking for FBDev ... $_fbdev" | 668 echo "Checking for FBDev ... $_fbdev" |
661 echo "Checking for DeCSS support ... $_css" | 669 echo "Checking for DeCSS support ... $_css" |
662 echo "Checking for PNG support ... $_png" | 670 echo "Checking for PNG support ... $_png" |
671 echo "Checking for DirectShow ... $_dshow" | |
663 # write conf files. | 672 # write conf files. |
664 | 673 |
665 if [ $_gl = yes ]; then | 674 if [ $_gl = yes ]; then |
666 _gllib='-lGL' | 675 _gllib='-lGL' |
667 fi | 676 fi |
680 fi | 689 fi |
681 else | 690 else |
682 _css='#undef HAVE_LIBCSS' | 691 _css='#undef HAVE_LIBCSS' |
683 _csslib='' | 692 _csslib='' |
684 _cssinc='' | 693 _cssinc='' |
694 fi | |
695 | |
696 if [ $_dshow = yes ]; then | |
697 _dshowlib='-Lloader/DirectShow -lDS_Filter -lstdc++' | |
698 _dshowdep='loader/DirectShow/libDS_Filter.a' | |
699 _dshow='#define USE_DIRECTSHOW' | |
700 else | |
701 _dshowlib='' | |
702 _dshowdep='' | |
703 _dshow='#undef USE_DIRECTSHOW' | |
685 fi | 704 fi |
686 | 705 |
687 if [ $_x11 = yes ]; then | 706 if [ $_x11 = yes ]; then |
688 if [ $_xdpms = yes ]; then | 707 if [ $_xdpms = yes ]; then |
689 _x11lib='-lX11 -lXext -lXdpms' | 708 _x11lib='-lX11 -lXext -lXdpms' |
756 XMM_LIBS = $_xmmplibs | 775 XMM_LIBS = $_xmmplibs |
757 LIRC_LIBS = $_lirclibs | 776 LIRC_LIBS = $_lirclibs |
758 CSS_LIB = $_csslib | 777 CSS_LIB = $_csslib |
759 CSS_INC = $_cssinc | 778 CSS_INC = $_cssinc |
760 WIN32_PATH=-DWIN32_PATH=\"$_win32libdir\" | 779 WIN32_PATH=-DWIN32_PATH=\"$_win32libdir\" |
780 DS_DEP = $_dshowdep | |
781 DS_LIB = $_dshowlib | |
761 | 782 |
762 EOF | 783 EOF |
763 # echo 'CFLAGS=$(OPTFLAGS) -Wall -DMPG12PLAY' >> config.mak | 784 # echo 'CFLAGS=$(OPTFLAGS) -Wall -DMPG12PLAY' >> config.mak |
764 | 785 |
765 echo "Creating $CCONF" | 786 echo "Creating $CCONF" |
948 /* DeCSS support using libcss */ | 969 /* DeCSS support using libcss */ |
949 $_css | 970 $_css |
950 | 971 |
951 /* Define this to enable MPEG 1/2 image postprocessing (requires FAST cpu!) */ | 972 /* Define this to enable MPEG 1/2 image postprocessing (requires FAST cpu!) */ |
952 #define MPEG12_POSTPROC | 973 #define MPEG12_POSTPROC |
974 | |
975 /* DirectShow support */ | |
976 $_dshow | |
953 | 977 |
954 /* Define if your processor stores words with the most significant | 978 /* Define if your processor stores words with the most significant |
955 byte first (like Motorola and SPARC, unlike Intel and VAX). */ | 979 byte first (like Motorola and SPARC, unlike Intel and VAX). */ |
956 /* #define WORDS_BIGENDIAN */ | 980 /* #define WORDS_BIGENDIAN */ |
957 | 981 |