comparison configure @ 9691:ed72c158215d

Added IPv6 support, patch by Dave Lambley <mplayer-dev-eng@dlambley.freeserve.co.uk>
author bertrand
date Wed, 26 Mar 2003 11:35:13 +0000
parents 0dd456513950
children c5fd755db576
comparison
equal deleted inserted replaced
9690:a9b7b6055563 9691:ed72c158215d
166 --disable-new-conf Disable new experimental config parser code [enabled] 166 --disable-new-conf Disable new experimental config parser code [enabled]
167 --enable-menu Enable osd menu support (needs new config) [disabled] 167 --enable-menu Enable osd menu support (needs new config) [disabled]
168 --disable-sortsub Disable subtitles sorting [enabled] 168 --disable-sortsub Disable subtitles sorting [enabled]
169 --enable-fribidi Enable using the FriBiDi libs [disabled] 169 --enable-fribidi Enable using the FriBiDi libs [disabled]
170 --disable-macosx Disable Mac OS X specific features [autodetect] 170 --disable-macosx Disable Mac OS X specific features [autodetect]
171 171 --disable-inet6 Disable IPv6 support [autodetect]
172 --disable-gethostbyname2
173 gethostbyname() is not provided by the c library [autodetect]
172 Codecs: 174 Codecs:
173 --enable-gif enable gif support [autodetect] 175 --enable-gif enable gif support [autodetect]
174 --enable-png enable png input/output support [autodetect] 176 --enable-png enable png input/output support [autodetect]
175 --enable-jpeg enable jpeg input/output support [autodetect] 177 --enable-jpeg enable jpeg input/output support [autodetect]
176 --enable-liblzo enable external liblzo support [autodetect] 178 --enable-liblzo enable external liblzo support [autodetect]
1073 _macosx=auto 1075 _macosx=auto
1074 _sortsub=yes 1076 _sortsub=yes
1075 _freetypeconfig='freetype-config' 1077 _freetypeconfig='freetype-config'
1076 _fribidi=no 1078 _fribidi=no
1077 _fribidiconfig='fribidi-config' 1079 _fribidiconfig='fribidi-config'
1078 1080 _inet6=auto
1081 _gethostbyname2=auto
1079 for ac_option do 1082 for ac_option do
1080 case "$ac_option" in 1083 case "$ac_option" in
1081 # Skip 1st pass 1084 # Skip 1st pass
1082 --target=*) ;; 1085 --target=*) ;;
1083 --cc=*) ;; 1086 --cc=*) ;;
1263 --disable-unrarlib) _unrarlib=no ;; 1266 --disable-unrarlib) _unrarlib=no ;;
1264 1267
1265 --enable-fribidi) _fribidi=yes ;; 1268 --enable-fribidi) _fribidi=yes ;;
1266 --disable-fribidi) _fribidi=no ;; 1269 --disable-fribidi) _fribidi=no ;;
1267 1270
1271 --enable-inet6) _inet6=yes ;;
1272 --disable-inet6) _inet6=no ;;
1273
1274 --enable-gethostbyname2) _gethostbyname2=yes ;;
1275 --disable-gethostbyname2) _gethostbyname2=no ;;
1276
1268 --enable-dga) _dga=auto ;; # as we don't know if it's 1 or 2 1277 --enable-dga) _dga=auto ;; # as we don't know if it's 1 or 2
1269 --enable-dga=*) _dga=`echo $ac_option | cut -d '=' -f 2` ;; 1278 --enable-dga=*) _dga=`echo $ac_option | cut -d '=' -f 2` ;;
1270 --disable-dga) _dga=no ;; 1279 --disable-dga) _dga=no ;;
1271 1280
1272 --enable-shared-pp) _shared_pp=yes ;; 1281 --enable-shared-pp) _shared_pp=yes ;;
4736 _xmms_lib="${_xmmslibdir}/libxmms.so.1 -export-dynamic" 4745 _xmms_lib="${_xmmslibdir}/libxmms.so.1 -export-dynamic"
4737 else 4746 else
4738 _def_xmms='#undef HAVE_XMMS' 4747 _def_xmms='#undef HAVE_XMMS'
4739 fi 4748 fi
4740 echores "$_xmms" 4749 echores "$_xmms"
4750
4751
4752 echocheck "inet6"
4753 if test "$_inet6" = auto ; then
4754 cat > $TMPC << EOF
4755 #include <sys/types.h>
4756 #include <sys/socket.h>
4757 int main(void) { socket(AF_INET6, SOCK_STREAM, AF_INET6); }
4758 EOF
4759 _inet6=no
4760 if cc_check ; then
4761 _inet6=yes
4762 fi
4763 fi
4764 if test "$_inet6" = yes ; then
4765 _def_inet6='#define HAVE_AF_INET6 1'
4766 else
4767 _def_inet6='#undef HAVE_AF_INET6'
4768 fi
4769 echores "$_inet6"
4770
4771
4772 echocheck "gethostbyname2"
4773 if test "$_gethostbyname2" = auto ; then
4774 cat > $TMPC << EOF
4775 #include <sys/types.h>
4776 #include <sys/socket.h>
4777 #include <netdb.h>
4778 int main(void) { gethostbyname2("", AF_INET); }
4779 EOF
4780 _gethostbyname2=no
4781 if cc_check ; then
4782 _gethostbyname2=yes
4783 fi
4784 fi
4785
4786 if test "$_inet6" = yes ; then
4787 _def_gethostbyname2='#define HAVE_GETHOSTBYNAME2 1'
4788 else
4789 _def_gethostbyname2='#undef HAVE_GETHOSTBYNAME2'
4790 fi
4791 echores "$_gethostbyname2"
4741 4792
4742 # --------------- GUI specific tests begin ------------------- 4793 # --------------- GUI specific tests begin -------------------
4743 echocheck "GUI" 4794 echocheck "GUI"
4744 echo "$_gui" 4795 echo "$_gui"
4745 if test "$_gui" = yes ; then 4796 if test "$_gui" = yes ; then
5535 5586
5536 /* XMMS input plugin support */ 5587 /* XMMS input plugin support */
5537 $_def_xmms 5588 $_def_xmms
5538 #define XMMS_INPUT_PLUGIN_DIR "$_xmmsplugindir" 5589 #define XMMS_INPUT_PLUGIN_DIR "$_xmmsplugindir"
5539 5590
5591 /* enables inet6 support */
5592 $_def_inet6
5593
5594 /* do we have gethostbyname2? */
5595 $_def_gethostbyname2
5596
5540 /* Extension defines */ 5597 /* Extension defines */
5541 $_def_3dnow // only define if you have 3DNOW (AMD k6-2, AMD Athlon, iDT WinChip, etc.) 5598 $_def_3dnow // only define if you have 3DNOW (AMD k6-2, AMD Athlon, iDT WinChip, etc.)
5542 $_def_3dnowex // only define if you have 3DNOWEX (AMD Athlon, etc.) 5599 $_def_3dnowex // only define if you have 3DNOWEX (AMD Athlon, etc.)
5543 $_def_mmx // only define if you have MMX (newer x86 chips, not P54C/PPro) 5600 $_def_mmx // only define if you have MMX (newer x86 chips, not P54C/PPro)
5544 $_def_mmx2 // only define if you have MMX2 (Athlon/PIII/4/CelII) 5601 $_def_mmx2 // only define if you have MMX2 (Athlon/PIII/4/CelII)