Mercurial > mplayer.hg
comparison configure @ 33227:bfd82d437ca0
configure: Make largefile support non-optional.
author | diego |
---|---|
date | Sat, 23 Apr 2011 15:00:43 +0000 |
parents | 32238139a2ff |
children | 17e7a4d3fb57 |
comparison
equal
deleted
inserted
replaced
33226:aca622bb31cf | 33227:bfd82d437ca0 |
---|---|
318 Optional features: | 318 Optional features: |
319 --disable-mencoder disable MEncoder (A/V encoder) compilation [enable] | 319 --disable-mencoder disable MEncoder (A/V encoder) compilation [enable] |
320 --disable-mplayer disable MPlayer compilation [enable] | 320 --disable-mplayer disable MPlayer compilation [enable] |
321 --enable-gui enable GMPlayer compilation (GTK+ GUI) [disable] | 321 --enable-gui enable GMPlayer compilation (GTK+ GUI) [disable] |
322 --enable-gtk1 force using GTK 1.2 for the GUI [disable] | 322 --enable-gtk1 force using GTK 1.2 for the GUI [disable] |
323 --disable-largefiles disable support for files > 2GB [enable] | |
324 --enable-termcap use termcap database for key codes [autodetect] | 323 --enable-termcap use termcap database for key codes [autodetect] |
325 --enable-termios use termios database for key codes [autodetect] | 324 --enable-termios use termios database for key codes [autodetect] |
326 --disable-iconv disable iconv for encoding conversion [autodetect] | 325 --disable-iconv disable iconv for encoding conversion [autodetect] |
327 --disable-langinfo do not use langinfo [autodetect] | 326 --disable-langinfo do not use langinfo [autodetect] |
328 --enable-lirc enable LIRC (remote control) support [autodetect] | 327 --enable-lirc enable LIRC (remote control) support [autodetect] |
799 _xvr100=auto | 798 _xvr100=auto |
800 _tga=yes | 799 _tga=yes |
801 _directfb=auto | 800 _directfb=auto |
802 _zr=auto | 801 _zr=auto |
803 _bl=no | 802 _bl=no |
804 _largefiles=yes | |
805 #language=en | 803 #language=en |
806 _shm=auto | 804 _shm=auto |
807 _charset="UTF-8" | 805 _charset="UTF-8" |
808 _dynamic_plugins=no | 806 _dynamic_plugins=no |
809 _crash_debug=no | 807 _crash_debug=no |
1296 --disable-zr) _zr=no ;; | 1294 --disable-zr) _zr=no ;; |
1297 --enable-bl) _bl=yes ;; | 1295 --enable-bl) _bl=yes ;; |
1298 --disable-bl) _bl=no ;; | 1296 --disable-bl) _bl=no ;; |
1299 --enable-mtrr) _mtrr=yes ;; | 1297 --enable-mtrr) _mtrr=yes ;; |
1300 --disable-mtrr) _mtrr=no ;; | 1298 --disable-mtrr) _mtrr=no ;; |
1301 --enable-largefiles) _largefiles=yes ;; | |
1302 --disable-largefiles) _largefiles=no ;; | |
1303 --enable-shm) _shm=yes ;; | 1299 --enable-shm) _shm=yes ;; |
1304 --disable-shm) _shm=no ;; | 1300 --disable-shm) _shm=no ;; |
1305 --enable-select) _select=yes ;; | 1301 --enable-select) _select=yes ;; |
1306 --disable-select) _select=no ;; | 1302 --disable-select) _select=no ;; |
1307 --enable-cdparanoia) _cdparanoia=yes ;; | 1303 --enable-cdparanoia) _cdparanoia=yes ;; |
5857 fi | 5853 fi |
5858 | 5854 |
5859 if test "$_dvdread_internal" = yes; then | 5855 if test "$_dvdread_internal" = yes; then |
5860 def_dvdread='#define CONFIG_DVDREAD 1' | 5856 def_dvdread='#define CONFIG_DVDREAD 1' |
5861 inputmodules="dvdread(internal) $inputmodules" | 5857 inputmodules="dvdread(internal) $inputmodules" |
5862 _largefiles=yes | |
5863 res_comment="internal" | 5858 res_comment="internal" |
5864 elif test "$_dvdread" = yes; then | 5859 elif test "$_dvdread" = yes; then |
5865 def_dvdread='#define CONFIG_DVDREAD 1' | 5860 def_dvdread='#define CONFIG_DVDREAD 1' |
5866 _largefiles=yes | |
5867 extra_ldflags="$extra_ldflags -ldvdread" | 5861 extra_ldflags="$extra_ldflags -ldvdread" |
5868 inputmodules="dvdread(external) $inputmodules" | 5862 inputmodules="dvdread(external) $inputmodules" |
5869 res_comment="external" | 5863 res_comment="external" |
5870 else | 5864 else |
5871 def_dvdread='#undef CONFIG_DVDREAD' | 5865 def_dvdread='#undef CONFIG_DVDREAD' |
5897 cflags_libdvdcss="-DSYS_OS2" | 5891 cflags_libdvdcss="-DSYS_OS2" |
5898 fi | 5892 fi |
5899 cflags_libdvdcss_dvdread="-Ilibdvdcss" | 5893 cflags_libdvdcss_dvdread="-Ilibdvdcss" |
5900 def_dvdcss="#define HAVE_DVDCSS_DVDCSS_H 1" | 5894 def_dvdcss="#define HAVE_DVDCSS_DVDCSS_H 1" |
5901 inputmodules="libdvdcss(internal) $inputmodules" | 5895 inputmodules="libdvdcss(internal) $inputmodules" |
5902 _largefiles=yes | |
5903 else | 5896 else |
5904 noinputmodules="libdvdcss(internal) $noinputmodules" | 5897 noinputmodules="libdvdcss(internal) $noinputmodules" |
5905 fi | 5898 fi |
5906 echores "$_libdvdcss_internal" | 5899 echores "$_libdvdcss_internal" |
5907 | 5900 |
7854 done | 7847 done |
7855 libs_mplayer=$_ld_tmp | 7848 libs_mplayer=$_ld_tmp |
7856 | 7849 |
7857 | 7850 |
7858 ############################################################################# | 7851 ############################################################################# |
7859 # 64 bit file offsets? | 7852 |
7860 if test "$_largefiles" = yes || freebsd ; then | 7853 CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE" |
7861 CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" | |
7862 if test "$_dvdread" = yes || test "$_libdvdcss_internal" = yes ; then | |
7863 # dvdread support requires this (for off64_t) | |
7864 CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE" | |
7865 fi | |
7866 fi | |
7867 | 7854 |
7868 CXXFLAGS=" $CFLAGS -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS" | 7855 CXXFLAGS=" $CFLAGS -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS" |
7869 | 7856 |
7870 # This must be the last test to be performed. Any other tests following it | 7857 # This must be the last test to be performed. Any other tests following it |
7871 # could fail due to linker errors. libdvdnavmini is intentionally not linked | 7858 # could fail due to linker errors. libdvdnavmini is intentionally not linked |
7888 _dvdnavdir=$($_dvdnavconfig --cflags) | 7875 _dvdnavdir=$($_dvdnavconfig --cflags) |
7889 _dvdnavlibs=$($_dvdnavconfig --libs) | 7876 _dvdnavlibs=$($_dvdnavconfig --libs) |
7890 statement_check_broken stdint.h dvdnav/dvdnav.h 'dvdnav_t *dvd = 0' $_dvdnavdir $_dvdnavlibs $_ld_dl $_ld_pthread && _dvdnav=yes | 7877 statement_check_broken stdint.h dvdnav/dvdnav.h 'dvdnav_t *dvd = 0' $_dvdnavdir $_dvdnavlibs $_ld_dl $_ld_pthread && _dvdnav=yes |
7891 fi | 7878 fi |
7892 if test "$_dvdnav" = yes ; then | 7879 if test "$_dvdnav" = yes ; then |
7893 _largefiles=yes | |
7894 def_dvdnav='#define CONFIG_DVDNAV 1' | 7880 def_dvdnav='#define CONFIG_DVDNAV 1' |
7895 if test "$dvdnav_internal" = yes ; then | 7881 if test "$dvdnav_internal" = yes ; then |
7896 cflags_libdvdnav="-Ilibdvdnav" | 7882 cflags_libdvdnav="-Ilibdvdnav" |
7897 inputmodules="dvdnav(internal) $inputmodules" | 7883 inputmodules="dvdnav(internal) $inputmodules" |
7898 else | 7884 else |