comparison configure @ 18455:e305012114ef

enable mediaLib check execution and honnor user choise to enable mediaLib even on non-sunos system
author iive
date Fri, 12 May 2006 09:50:14 +0000
parents a0ff0bb5ac4b
children 1a3785072aea
comparison
equal deleted inserted replaced
18454:a0ff0bb5ac4b 18455:e305012114ef
1824 --disable-xmga) _xmga=no ;; 1824 --disable-xmga) _xmga=no ;;
1825 --enable-vm) _vm=yes ;; 1825 --enable-vm) _vm=yes ;;
1826 --disable-vm) _vm=no ;; 1826 --disable-vm) _vm=no ;;
1827 --enable-xf86keysym) _xf86keysym=yes ;; 1827 --enable-xf86keysym) _xf86keysym=yes ;;
1828 --disable-xf86keysym) _xf86keysym=no ;; 1828 --disable-xf86keysym) _xf86keysym=no ;;
1829 --enable-mlib) _mlib=yes ;; 1829 --enable-mlib) _mlib=auto ;;
1830 --disable-mlib) _mlib=no ;; 1830 --disable-mlib) _mlib=no ;;
1831 --enable-sunaudio) _sunaudio=yes ;; 1831 --enable-sunaudio) _sunaudio=yes ;;
1832 --disable-sunaudio) _sunaudio=no ;; 1832 --disable-sunaudio) _sunaudio=no ;;
1833 --enable-sgiaudio) _sgiaudio=yes ;; 1833 --enable-sgiaudio) _sgiaudio=yes ;;
1834 --disable-sgiaudio) _sgiaudio=no ;; 1834 --disable-sgiaudio) _sgiaudio=no ;;
4987 _noaomodules="sun $_noaomodules" 4987 _noaomodules="sun $_noaomodules"
4988 fi 4988 fi
4989 echores "$_sunaudio" 4989 echores "$_sunaudio"
4990 4990
4991 4991
4992 if sunos; then
4993 echocheck "Sun mediaLib" 4992 echocheck "Sun mediaLib"
4994 if test "$_mlib" = auto ; then 4993 if test "$_mlib" = auto ; then
4995 _mlib=no 4994 _mlib=no
4996 test -z "$_mlibdir" && _mlibdir=/opt/SUNWmlib 4995 test -z "$_mlibdir" && _mlibdir=/opt/SUNWmlib
4997 cat > $TMPC << EOF 4996 cat > $TMPC << EOF
5006 _ld_mlib=" -L${_mlibdir}/lib -R${_mlibdir}/lib -lmlib " 5005 _ld_mlib=" -L${_mlibdir}/lib -R${_mlibdir}/lib -lmlib "
5007 else 5006 else
5008 _def_mlib='#undef HAVE_MLIB' 5007 _def_mlib='#undef HAVE_MLIB'
5009 fi 5008 fi
5010 echores "$_mlib" 5009 echores "$_mlib"
5011 fi
5012 5010
5013 5011
5014 echocheck "SGI audio" 5012 echocheck "SGI audio"
5015 if test "$_sgiaudio" = auto ; then 5013 if test "$_sgiaudio" = auto ; then
5016 # check for SGI audio 5014 # check for SGI audio