comparison configure @ 3169:b6bb21d686cd

completed the summary displayed after running configure (todo: optimization option to add)
author pl
date Tue, 27 Nov 2001 21:54:27 +0000
parents 950496933384
children 59d8aea76341
comparison
equal deleted inserted replaced
3168:329dac1451a7 3169:b6bb21d686cd
1890 if test "$_dvdread" = yes ; then 1890 if test "$_dvdread" = yes ; then
1891 _largefiles=yes 1891 _largefiles=yes
1892 _def_dvdread='#define USE_DVDREAD 1' 1892 _def_dvdread='#define USE_DVDREAD 1'
1893 _def_css='#undef HAVE_LIBCSS' 1893 _def_css='#undef HAVE_LIBCSS'
1894 _ld_css='-ldvdread' 1894 _ld_css='-ldvdread'
1895 _inputmodules="dvdread $_inputmodules"
1895 echores "libdvdread" 1896 echores "libdvdread"
1896 elif test "$_css" = yes ; then 1897 elif test "$_css" = yes ; then
1897 _def_dvdread='#undef USE_DVDREAD' 1898 _def_dvdread='#undef USE_DVDREAD'
1898 _def_css='#define HAVE_LIBCSS 1' 1899 _def_css='#define HAVE_LIBCSS 1'
1899 test "$_csslibdir" && _ld_css="-L${_csslibdir} $_ld_css" 1900 test "$_csslibdir" && _ld_css="-L${_csslibdir} $_ld_css"
1901 _inputmodules="dvdcss $_inputmodules"
1900 echores "libcss" 1902 echores "libcss"
1901 else 1903 else
1902 _def_dvdread='#undef USE_DVDREAD' 1904 _def_dvdread='#undef USE_DVDREAD'
1903 _def_css='#undef HAVE_LIBCSS' 1905 _def_css='#undef HAVE_LIBCSS'
1904 echores "no" 1906 echores "no"
1997 fi 1999 fi
1998 if test "$_win32" = yes ; then 2000 if test "$_win32" = yes ; then
1999 _def_win32='#define USE_WIN32DLL 1' 2001 _def_win32='#define USE_WIN32DLL 1'
2000 _ld_win32='-Lloader -lloader' 2002 _ld_win32='-Lloader -lloader'
2001 _dep_win32='loader/libloader.a' 2003 _dep_win32='loader/libloader.a'
2004 _codecmodules="win32 $_codecmodules"
2002 else 2005 else
2003 _def_win32='#undef USE_WIN32DLL' 2006 _def_win32='#undef USE_WIN32DLL'
2004 fi 2007 fi
2005 echores "$_win32" 2008 echores "$_win32"
2006 2009
2046 fi 2049 fi
2047 if test "$_dshow" = yes ; then 2050 if test "$_dshow" = yes ; then
2048 _def_dshow='#define USE_DIRECTSHOW 1' 2051 _def_dshow='#define USE_DIRECTSHOW 1'
2049 _ld_dshow='-Lloader/DirectShow -lDS_Filter -lstdc++' 2052 _ld_dshow='-Lloader/DirectShow -lDS_Filter -lstdc++'
2050 _dep_dshow='loader/DirectShow/libDS_Filter.a' 2053 _dep_dshow='loader/DirectShow/libDS_Filter.a'
2054 _codecmodules="directshow $_codecmodules"
2051 else 2055 else
2052 _def_dshow='#undef USE_DIRECTSHOW' 2056 _def_dshow='#undef USE_DIRECTSHOW'
2053 fi 2057 fi
2054 2058
2055 2059
2078 echores "$_xanim" 2082 echores "$_xanim"
2079 fi 2083 fi
2080 if test "$_xanim" = yes ; then 2084 if test "$_xanim" = yes ; then
2081 _def_xanim='#define USE_XANIM 1' 2085 _def_xanim='#define USE_XANIM 1'
2082 _def_xanim_path="#define XACODEC_PATH \"$_xanimlibdir\"" 2086 _def_xanim_path="#define XACODEC_PATH \"$_xanimlibdir\""
2087 _codecmodules="xanim $_codecmodules"
2083 else 2088 else
2084 _def_xanim='#undef USE_XANIM' 2089 _def_xanim='#undef USE_XANIM'
2085 _def_xanim_path='#undef XACODEC_PATH' 2090 _def_xanim_path='#undef XACODEC_PATH'
2086 fi 2091 fi
2087 2092
2163 if test "$_libavcodec" = yes ; then 2168 if test "$_libavcodec" = yes ; then
2164 _def_libavcodec='#define USE_LIBAVCODEC 1' 2169 _def_libavcodec='#define USE_LIBAVCODEC 1'
2165 _ld_libavcodec='-Llibavcodec -lavcodec' 2170 _ld_libavcodec='-Llibavcodec -lavcodec'
2166 _dep_libavcodec='libavcodec/libavcodec.a' 2171 _dep_libavcodec='libavcodec/libavcodec.a'
2167 _def_ffpostprocess='#define FF_POSTPROCESS 1' 2172 _def_ffpostprocess='#define FF_POSTPROCESS 1'
2173 _codecmodules="libavcodec $_codecmodules"
2168 echores "static libavcodec" 2174 echores "static libavcodec"
2169 elif test "$_libavcodecso" = yes ; then 2175 elif test "$_libavcodecso" = yes ; then
2170 _def_libavcodecso='#define USE_LIBAVCODEC_SO 1' 2176 _def_libavcodecso='#define USE_LIBAVCODEC_SO 1'
2171 _ld_libavcodec='-lffmpeg' 2177 _ld_libavcodec='-lffmpeg'
2172 _def_ffpostprocess='#define FF_POSTPROCESS 1' 2178 _def_ffpostprocess='#define FF_POSTPROCESS 1'
2179 _codecmodules="libavcodec.so $_codecmodules"
2173 echores "dynamic libffmpeg.so" 2180 echores "dynamic libffmpeg.so"
2174 else 2181 else
2175 echores "not found" 2182 echores "not found"
2176 fi 2183 fi
2177 2184
2196 _def_decore='#undef NEW_DECORE' 2203 _def_decore='#undef NEW_DECORE'
2197 _ld_decore='-Lopendivx -ldecore' 2204 _ld_decore='-Lopendivx -ldecore'
2198 if test "$_divx4linux_decore" = yes ; then 2205 if test "$_divx4linux_decore" = yes ; then
2199 _def_decore='#define NEW_DECORE 1' 2206 _def_decore='#define NEW_DECORE 1'
2200 _ld_decore='-ldivxdecore opendivx/postprocess.o' 2207 _ld_decore='-ldivxdecore opendivx/postprocess.o'
2208 _codecmodules="divx4linux $_codecmodules"
2201 fi 2209 fi
2202 2210
2203 2211
2204 echocheck "lame and encore (for mencoder)" 2212 echocheck "lame and encore (for mencoder)"
2205 #mencoder requires those libs 2213 #mencoder requires those libs
2262 2270
2263 echocheck "streaming" 2271 echocheck "streaming"
2264 # FIXME streaming check 2272 # FIXME streaming check
2265 if test "$_streaming" = yes ; then 2273 if test "$_streaming" = yes ; then
2266 _def_streaming='#define STREAMING 1' 2274 _def_streaming='#define STREAMING 1'
2275 _inputmodules="network $_inputmodules"
2267 # FIXME _streamingsrcs='asf_streaming.c network.c url.c http.c' 2276 # FIXME _streamingsrcs='asf_streaming.c network.c url.c http.c'
2268 else 2277 else
2269 _def_streaming='#undef STREAMING' 2278 _def_streaming='#undef STREAMING'
2270 fi 2279 fi
2271 echores "$_streaming" 2280 echores "$_streaming"
2802 #include "$_mp_help" 2811 #include "$_mp_help"
2803 EOF 2812 EOF
2804 2813
2805 ############################################################################# 2814 #############################################################################
2806 2815
2816 #FIXME: add something like "Optimizing for: i686 mmx mmx2 sse"
2807 cat << EOF 2817 cat << EOF
2808 2818
2809 Config files successfully generated by ./configure ! 2819 Config files successfully generated by ./configure !
2810 2820
2811 Install prefix: $_prefix 2821 Install prefix: $_prefix
2812 Data directory: $_datadir 2822 Data directory: $_datadir
2813 Optimizing for: [TODO - do NOT bugreport this !] 2823 Input: vcd $_inputmodules
2814 Input: [TODO - do NOT bugreport this !] 2824 Codecs: $_codecmodules
2815 Codecs: [TODO - do NOT bugreport this !] 2825 Audio output drivers: null $_aomodules
2816 Audio output drivers: $_aomodules 2826 Video output drivers: null $_vomodules
2817 Video output drivers: $_vomodules
2818 2827
2819 'config.h' and 'config.mak' contain your configuration options. 2828 'config.h' and 'config.mak' contain your configuration options.
2820 Note: if you alter theses files (for instance CFLAGS) MPlayer may no longer 2829 Note: if you alter theses files (for instance CFLAGS) MPlayer may no longer
2821 compile *** DON'T BUGREPORT if you tweak these files *** 2830 compile *** DON'T BUGREPORT if you tweak these files ***
2822 2831