anchor.diff:      ++ optionals wxSupport wxPackages2
       ++ optionals odbcSupport odbcPackages
       ++ optionals javacSupport javacPackages
  +    ++ optional withSystemd systemd
       ++ optionals stdenv.isDarwin (with pkgs.darwin.apple_sdk.frameworks; [ Carbon Cocoa ]);
   
     debugInfo = enableDebugInfo;
  
positive.code: , openjdk ? null # javacSupport
  , unixODBC ? null # odbcSupport
  , libGLU_combined ? null, wxGTK ? null, wxmac ? null, xorg ? null # wxSupport
  }:
  
  { baseName ? "erlang"
  
negative.code:     ++ optional javacSupport "--with-javac"
      ++ optional odbcSupport "--with-odbc=${unixODBC}"
      ++ optional wxSupport "--enable-wx"
      ++ optional withSystemd "--enable-systemd"
      ++ optional stdenv.isDarwin "--enable-darwin-64bit";
  
    # install-docs will generate and install manpages and html docs
  