anchor.diff:      "--enable-raw-serial=no" ]
       # Boolean flags
       ++ stdenv.lib.optional termSupport "--with-term"
  -    ++ stdenv.lib.optional sdlSupport "--with-sdl"
  +    ++ stdenv.lib.optional sdlSupport "--with-sdl2"
       ++ stdenv.lib.optional wxSupport "--with-wx"
       ++ stdenv.lib.optional largefile "--enable-largefile"
       ++ stdenv.lib.optional idleHack "--enable-idle-hack"
  
positive.code:   buildInputs = with stdenv.lib;
    [ pkgconfig libtool gtk mesa readline libX11 libXpm docbook_xml_dtd_45 docbook_xsl ]
    ++ optionals termSupport [ ncurses ]
    ++ optionals sdlSupport [ SDL ]
    ++ optionals wxSupport [ wxGTK ]
    ++ optionals wgetSupport [ wget ]
    ++ optionals curlSupport [ curl ];
  
negative.code: stdenv.mkDerivation rec {
  
    name = "bochs-${version}";
    version = "2.6.7";
  
    src = fetchurl {
      url = "http://downloads.sourceforge.net/project/bochs/bochs/${version}/${name}.tar.gz";
      sha256 = "10l2pgzwnmng0rd44kqv7y46nwpcc18j53h3kf3dlqlnd7mlwdd4";
    };
  
    # The huge list of configurable options
  