VirtualBox

Changeset 73369 in vbox for trunk/configure


Ignore:
Timestamp:
Jul 26, 2018 11:24:47 AM (6 years ago)
Author:
vboxsync
Message:

configure: Handle libopus on solaris/darwin like libvpx, i.e. pretend it doesn't exist and disabling the feature. Should be replaced by proper detection.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r73343 r73369  
    100100WITH_DOCS=1
    101101WITH_LIBVPX=1
     102WITH_LIBOPUS=1
    102103BUILD_LIBXML2=
    103104BUILD_LIBCURL=
     
    23252326[ $WITH_DOCS    -eq 1 ] && echo "  --disable-docs           don't build the documentation"
    23262327[ $WITH_LIBVPX  -eq 1 ] && echo "  --disable-libvpx         don't use libvpx for video capturing"
     2328[ $WITH_LIBOPUS -eq 1 ] && echo "  --disable-libopus        don't use libopus for audio capturing"
    23272329[ "$OS" = "linux" -o "$OS" = "freebsd" ] && echo "  --enable-vde             enable VDE networking"
    23282330cat << EOF
     
    23962398  [ $OSE -eq 1 ] || BUILD_LIBCURL=1
    23972399  [ $OSE -eq 1 ] && WITH_LIBVPX=0
     2400  [ $OSE -eq 1 ] && WITH_LIBOPUS=0
    23982401  WITH_XCODE_DIR=""
    23992402elif [ "$OS" = "haiku" ]; then
     
    24102413  BUILD_LIBXML2=1
    24112414  WITH_LIBVPX=0
     2415  WITH_LIBOPUS=0
    24122416  # it is part of libroot, which is linked by default,
    24132417  # but the script wants something
     
    24172421elif [ "$OS" = "solaris" ]; then
    24182422  [ $OSE -eq 1 ] && WITH_LIBVPX=0
     2423  [ $OSE -eq 1 ] && WITH_LIBOPUS=0
    24192424fi
    24202425
     
    25582563    --disable-libvpx)
    25592564      WITH_LIBVPX=0
     2565      ;;
     2566    --disable-libopus)
     2567      WITH_LIBOPUS=0
    25602568      ;;
    25612569    --disable-sdl)
     
    27482756  cnf_append "VBOX_WITH_VIDEOREC" ""
    27492757fi
     2758if [ $WITH_LIBOPUS -eq 0 ]; then
     2759  cnf_append "VBOX_WITH_LIBOPUS" ""
     2760  cnf_append "VBOX_WITH_AUDIO_VIDEOREC" ""
     2761fi
    27502762
    27512763# Darwin-specific
     
    27712783  check_curl
    27722784  [ $WITH_LIBVPX -eq 1 ] && check_vpx
    2773   check_libopus
    2774  [ "$OS" != "darwin"  ] && check_z
     2785  [ $WITH_LIBOPUS -eq 1 ] && check_libopus
     2786  [ "$OS" != "darwin"  ] && check_z
    27752787  [ "$OS" != "darwin"  ] && check_png
    27762788  [ $OSE -eq 0 -a "$OS" = "linux" ] && check_pam
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette