Here is the command line I used to sort wine switches/options

  • WITH Gallium-Nine support and Without HAL support
    echo  $(echo -n $(./configure --help|grep -E '  \-\-with'|grep -vE '(PACKAGE|\-wine)'|sort|sed -e "s:without:with:g;s:with-hal:without-hal:g"|awk '{print $1}'|sort)) | \
    sed -e "s:--with-d3d9-nine-headers-path --with-d3d9-nine-module:--with-d3d9-nine-module=auto --with-d3d9-nine-headers-path=auto:g"
    Should print something like
    --with-alsa --with-capi --with-cms --with-coreaudio --with-cups --with-curses --with-d3d9-nine --with-d3d9-nine-module=auto --with-d3d9-nine-headers-path=auto \
    --with-dbus --with-fontconfig --with-freetype --with-gettext --with-gettextpo --with-glu --with-gnutls --with-gphoto --with-gsm --with-gstreamer --with-gtk3 --with-jpeg --with-ldap \
    --with-mpg123 --with-netapi --with-openal --with-opencl --with-opengl --with-osmesa --with-oss --without-hal --with-pcap --with-png --with-pthread --with-pulse --with-sane --with-tiff \
    --with-udev --with-v4l --with-va --with-x --with-xattr --with-xcb --with-xcomposite --with-xcursor --with-xinerama --with-xinput --with-xinput2 --with-xml --with-xrandr --with-xrender\
     --with-xshape --with-xshm --with-xslt --with-xxf86vm --with-zlib
  • WITHOUT Gallium-Nine support and Without HAL support if you use NVIDIA GPU
    echo  $(echo -n $(./configure --help|grep -E '  \-\-with'|grep -vE '(PACKAGE|\-wine)'|sort|sed -e "s:without:with:g;s:with-hal:without-hal:g"|awk '{print $1}'|sort)) 
    Should print something like
    --with-alsa --with-capi --with-cms --with-coreaudio --with-cups --with-curses --with-dbus --with-fontconfig --with-freetype --with-gettext --with-gettextpo --with-glu \
    --with-gnutls --with-gphoto --with-gsm --with-gstreamer --with-gtk3 --with-jpeg --with-ldap --with-mpg123 --with-netapi --with-openal --with-opencl --with-opengl --with-osmesa \
    --with-oss --without-hal --with-pcap --with-png --with-pthread --with-pulse --with-sane --with-tiff --with-udev --with-v4l --with-va --with-x --with-xattr --with-xcb --with-xcomposite \
    --with-xcursor --with-xinerama --with-xinput --with-xinput2 --with-xml --with-xrandr --with-xrender --with-xshape --with-xshm --with-xslt --with-xxf86vm --with-zlib