Revert "Refactor mkFlag out of old packages"

This reverts commit 3117e0c897.

Conflicts:
	pkgs/development/libraries/wayland/default.nix
	pkgs/servers/samba/4.x.nix
This commit is contained in:
Eelco Dolstra
2015-06-04 14:54:50 +02:00
parent 17b6a597fb
commit 5d8fe045b6
11 changed files with 202 additions and 170 deletions
@@ -17,6 +17,10 @@ let
else if stdenv.system == "x86_64-linux" || stdenv.system == "x86_64-darwin" then "x86-64" else if stdenv.system == "x86_64-linux" || stdenv.system == "x86_64-darwin" then "x86-64"
else throw "ImageMagick is not supported on this platform."; else throw "ImageMagick is not supported on this platform.";
mkFlag = trueStr: falseStr: cond: val: "--${if cond then trueStr else falseStr}-${val}";
mkWith = mkFlag "with" "without";
mkEnable = mkFlag "enable" "disable";
hasX11 = libX11 != null && libXext != null && libXt != null; hasX11 = libX11 != null && libXext != null && libXt != null;
in in
@@ -33,38 +37,38 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
configureFlags = [ configureFlags = [
(mkEnable (libcl != null) "opencl" null) (mkEnable (libcl != null) "opencl")
(mkWith true "modules" null) (mkWith true "modules")
(mkWith true "gcc-arch" arch) (mkWith true "gcc-arch=${arch}")
#(mkEnable true "hdri" null) This breaks some dependencies #(mkEnable true "hdri") This breaks some dependencies
(mkWith (perl != null) "perl" null) (mkWith (perl != null) "perl")
(mkWith (jemalloc != null) "jemalloc" null) (mkWith (jemalloc != null) "jemalloc")
(mkWith true "frozenpaths" null) (mkWith true "frozenpaths")
(mkWith (bzip2 != null) "bzlib" null) (mkWith (bzip2 != null) "bzlib")
(mkWith hasX11 "x" null) (mkWith hasX11 "x")
(mkWith (zlib != null) "zlib" null) (mkWith (zlib != null) "zlib")
(mkWith false "dps" null) (mkWith false "dps")
(mkWith (fftw != null) "fftw" null) (mkWith (fftw != null) "fftw")
(mkWith (libfpx != null) "fpx" null) (mkWith (libfpx != null) "fpx")
(mkWith (djvulibre != null) "djvu" null) (mkWith (djvulibre != null) "djvu")
(mkWith (fontconfig != null) "fontconfig" null) (mkWith (fontconfig != null) "fontconfig")
(mkWith (freetype != null) "freetype" null) (mkWith (freetype != null) "freetype")
(mkWith (ghostscript != null) "gslib" null) (mkWith (ghostscript != null) "gslib")
(mkWith (graphviz != null) "gvc" null) (mkWith (graphviz != null) "gvc")
(mkWith (jbigkit != null) "jbig" null) (mkWith (jbigkit != null) "jbig")
(mkWith (libjpeg != null) "jpeg" null) (mkWith (libjpeg != null) "jpeg")
(mkWith (lcms2 != null) "lcms2" null) (mkWith (lcms2 != null) "lcms2")
(mkWith false "lcms" null) (mkWith false "lcms")
(mkWith (openjpeg != null) "openjp2" null) (mkWith (openjpeg != null) "openjp2")
(mkWith (liblqr1 != null) "lqr" null) (mkWith (liblqr1 != null) "lqr")
(mkWith (xz != null) "lzma" null) (mkWith (xz != null) "lzma")
(mkWith (openexr != null) "openexr" null) (mkWith (openexr != null) "openexr")
(mkWith (pango != null) "pango" null) (mkWith (pango != null) "pango")
(mkWith (libpng != null) "png" null) (mkWith (libpng != null) "png")
(mkWith (librsvg != null) "rsvg" null) (mkWith (librsvg != null) "rsvg")
(mkWith (libtiff != null) "tiff" null) (mkWith (libtiff != null) "tiff")
(mkWith (libwebp != null) "webp" null) (mkWith (libwebp != null) "webp")
(mkWith (libxml2 != null) "xml" null) (mkWith (libxml2 != null) "xml")
] ++ optional (dejavu_fonts != null) "--with-dejavu-font-dir=${dejavu_fonts}/share/fonts/truetype/" ] ++ optional (dejavu_fonts != null) "--with-dejavu-font-dir=${dejavu_fonts}/share/fonts/truetype/"
++ optional (ghostscript != null) "--with-gs-font-dir=${ghostscript}/share/ghostscript/fonts/"; ++ optional (ghostscript != null) "--with-gs-font-dir=${ghostscript}/share/ghostscript/fonts/";
+12 -13
View File
@@ -17,7 +17,7 @@ assert sndfileFileIOSupport -> (libsndfile != null);
#assert mp3xSupport -> (analyzerHooksSupport && (gtk1 != null)); #assert mp3xSupport -> (analyzerHooksSupport && (gtk1 != null));
let let
sndfileFileIO = if sndfileFileIOSupport then "sndfile" else "lame"; mkFlag = optSet: flag: if optSet then "--enable-${flag}" else "--disable-${flag}";
in in
with stdenv.lib; with stdenv.lib;
@@ -39,18 +39,17 @@ stdenv.mkDerivation rec {
++ optional sndfileFileIOSupport libsndfile; ++ optional sndfileFileIOSupport libsndfile;
configureFlags = [ configureFlags = [
(mkEnable nasmSupport "nasm" null) (mkFlag nasmSupport "nasm")
(mkEnable cpmlSupport "cpml" null) (mkFlag cpmlSupport "cpml")
#(mkEnable efenceSupport "efence" null) #(mkFlag efenceSupport "efence")
(mkWith true "fileio" sndfileFileIO) (if sndfileFileIOSupport then "--with-fileio=sndfile" else "--with-fileio=lame")
(mkEnable analyzerHooksSupport "analyzer-hooks" null) (mkFlag analyzerHooksSupport "analyzer-hooks")
(mkEnable decoderSupport "decoder" null) (mkFlag decoderSupport "decoder")
(mkEnable frontendSupport "frontend" null) (mkFlag frontendSupport "frontend")
(mkEnable frontendSupport "dynamic-frontends" null) (mkFlag frontendSupport "dynamic-frontends")
#(mkEnable mp3xSupport "mp3x" null) #(mkFlag mp3xSupport "mp3x")
(mkEnable mp3rtpSupport "mp3rtp" null) (mkFlag mp3rtpSupport "mp3rtp")
] ++ optional debugSupport [ (if debugSupport then "--enable-debug=alot" else "")
(mkEnable true "debug" "alot")
]; ];
meta = { meta = {
@@ -11,6 +11,10 @@ assert encaSupport -> enca != null;
assert fontconfigSupport -> fontconfig != null; assert fontconfigSupport -> fontconfig != null;
assert harfbuzzSupport -> harfbuzz != null; assert harfbuzzSupport -> harfbuzz != null;
let
mkFlag = optSet: flag: if optSet then "--enable-${flag}" else "--disable-${flag}";
in
with stdenv.lib; with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "libass-${version}"; name = "libass-${version}";
@@ -22,11 +26,11 @@ stdenv.mkDerivation rec {
}; };
configureFlags = [ configureFlags = [
(mkEnable encaSupport "enca" null) (mkFlag encaSupport "enca")
(mkEnable fontconfigSupport "fontconfig" null) (mkFlag fontconfigSupport "fontconfig")
(mkEnable harfbuzzSupport "harfbuzz" null) (mkFlag harfbuzzSupport "harfbuzz")
(mkEnable rasterizerSupport "rasterizer" null) (mkFlag rasterizerSupport "rasterizer")
(mkEnable largeTilesSupport "large-tiles" null) (mkFlag largeTilesSupport "large-tiles")
]; ];
nativeBuildInputs = [ pkgconfig yasm ]; nativeBuildInputs = [ pkgconfig yasm ];
@@ -9,6 +9,10 @@ assert documentationSupport -> doxygen != null && graphviz != null;
assert eventGUISupport -> cairo != null && glib != null && gtk3 != null; assert eventGUISupport -> cairo != null && glib != null && gtk3 != null;
assert testsSupport -> check != null && valgrind != null; assert testsSupport -> check != null && valgrind != null;
let
mkFlag = optSet: flag: if optSet then "--enable-${flag}" else "--disable-${flag}";
in
with stdenv.lib; with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "libinput-0.15.0"; name = "libinput-0.15.0";
@@ -19,9 +23,9 @@ stdenv.mkDerivation rec {
}; };
configureFlags = [ configureFlags = [
(mkEnable documentationSupport "documentation" null) (mkFlag documentationSupport "documentation")
(mkEnable eventGUISupport "event-gui" null) (mkFlag eventGUISupport "event-gui")
(mkEnable testsSupport "tests" null) (mkFlag testsSupport "tests")
]; ];
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
+17 -13
View File
@@ -20,6 +20,10 @@ assert jpegSupport -> (libjpeg != null);
assert tiffSupport -> (libtiff != null); assert tiffSupport -> (libtiff != null);
assert gifSupport -> (giflib != null); assert gifSupport -> (giflib != null);
let
mkFlag = optSet: flag: if optSet then "--enable-${flag}" else "--disable-${flag}";
in
with stdenv.lib; with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "libwebp-${version}"; name = "libwebp-${version}";
@@ -31,19 +35,19 @@ stdenv.mkDerivation rec {
}; };
configureFlags = [ configureFlags = [
(mkEnable threadingSupport "threading" null) (mkFlag threadingSupport "threading")
(mkEnable openglSupport "gl" null) (mkFlag openglSupport "gl")
(mkEnable pngSupport "png" null) (mkFlag pngSupport "png")
(mkEnable jpegSupport "jpeg" null) (mkFlag jpegSupport "jpeg")
(mkEnable tiffSupport "tiff" null) (mkFlag tiffSupport "tiff")
(mkEnable gifSupport "gif" null) (mkFlag gifSupport "gif")
#(mkEnable (wicSupport && stdenv.isCygwin) "wic" null) #(mkFlag (wicSupport && stdenv.isCygwin) "wic")
(mkEnable alignedSupport "aligned" null) (mkFlag alignedSupport "aligned")
(mkEnable swap16bitcspSupport "swap-16bit-csp" null) (mkFlag swap16bitcspSupport "swap-16bit-csp")
(mkEnable experimentalSupport "experimental" null) (mkFlag experimentalSupport "experimental")
(mkEnable libwebpmuxSupport "libwebpmux" null) (mkFlag libwebpmuxSupport "libwebpmux")
(mkEnable libwebpdemuxSupport "libwebpdemux" null) (mkFlag libwebpdemuxSupport "libwebpdemux")
(mkEnable libwebpdecoderSupport "libwebpdecoder" null) (mkFlag libwebpdecoderSupport "libwebpdecoder")
]; ];
buildInputs = [ ] buildInputs = [ ]
+5 -1
View File
@@ -2,6 +2,10 @@
, parallel ? true , parallel ? true
}: }:
let
mkFlag = optset: flag: if optset then "-D${flag}=ON" else "-D${flag}=OFF";
in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "stxxl-${version}"; name = "stxxl-${version}";
version = "1.4.1"; version = "1.4.1";
@@ -17,7 +21,7 @@ stdenv.mkDerivation rec {
"-DBUILD_SHARED_LIBS=ON" "-DBUILD_SHARED_LIBS=ON"
"-DBUILD_STATIC_LIBS=OFF" "-DBUILD_STATIC_LIBS=OFF"
"-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_BUILD_TYPE=Release"
"-DUSE_GNU_PARALLEL=${if parallel then "ON" else "OFF"}" (mkFlag parallel "USE_GNU_PARALLEL")
]; ];
passthru = { passthru = {
+32 -32
View File
@@ -25,13 +25,13 @@
, opusSupport ? true, libopus , opusSupport ? true, libopus
}: }:
with stdenv.lib;
let let
opt = optional; opt = stdenv.lib.optional;
mkFlag = c: f: if c then "--enable-${f}" else "--disable-${f}";
major = "0.19"; major = "0.19";
minor = "9"; minor = "9";
in
stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
name = "mpd-${major}.${minor}"; name = "mpd-${major}.${minor}";
src = fetchurl { src = fetchurl {
url = "http://www.musicpd.org/download/mpd/${major}/${name}.tar.xz"; url = "http://www.musicpd.org/download/mpd/${major}/${name}.tar.xz";
@@ -68,33 +68,33 @@ stdenv.mkDerivation rec {
++ opt opusSupport libopus; ++ opt opusSupport libopus;
configureFlags = configureFlags =
[ (mkEnable (!stdenv.isDarwin && alsaSupport) "alsa" null) [ (mkFlag (!stdenv.isDarwin && alsaSupport) "alsa")
(mkEnable flacSupport "flac" null) (mkFlag flacSupport "flac")
(mkEnable vorbisSupport "vorbis" null) (mkFlag vorbisSupport "vorbis")
(mkEnable vorbisSupport "vorbis-encoder" null) (mkFlag vorbisSupport "vorbis-encoder")
(mkEnable (!stdenv.isDarwin && madSupport) "mad" null) (mkFlag (!stdenv.isDarwin && madSupport) "mad")
(mkEnable mikmodSupport "mikmod" null) (mkFlag mikmodSupport "mikmod")
(mkEnable id3tagSupport "id3" null) (mkFlag id3tagSupport "id3")
(mkEnable shoutSupport "shout" null) (mkFlag shoutSupport "shout")
(mkEnable sqliteSupport "sqlite" null) (mkFlag sqliteSupport "sqlite")
(mkEnable curlSupport "curl" null) (mkFlag curlSupport "curl")
(mkEnable audiofileSupport "audiofile" null) (mkFlag audiofileSupport "audiofile")
(mkEnable bzip2Support "bzip2" null) (mkFlag bzip2Support "bzip2")
(mkEnable ffmpegSupport "ffmpeg" null) (mkFlag ffmpegSupport "ffmpeg")
(mkEnable fluidsynthSupport "fluidsynth" null) (mkFlag fluidsynthSupport "fluidsynth")
(mkEnable zipSupport "zzip" null) (mkFlag zipSupport "zzip")
(mkEnable samplerateSupport "lsr" null) (mkFlag samplerateSupport "lsr")
(mkEnable mmsSupport "mms" null) (mkFlag mmsSupport "mms")
(mkEnable mpg123Support "mpg123" null) (mkFlag mpg123Support "mpg123")
(mkEnable aacSupport "aac" null) (mkFlag aacSupport "aac")
(mkEnable pulseaudioSupport "pulse" null) (mkFlag pulseaudioSupport "pulse")
(mkEnable jackSupport "jack" null) (mkFlag jackSupport "jack")
(mkEnable stdenv.isDarwin "osx" null) (mkFlag stdenv.isDarwin "osx")
(mkEnable icuSupport "icu" null) (mkFlag icuSupport "icu")
(mkEnable gmeSupport "gme" null) (mkFlag gmeSupport "gme")
(mkEnable clientSupport "libmpdclient" null) (mkFlag clientSupport "libmpdclient")
(mkEnable opusSupport "opus" null) (mkFlag opusSupport "opus")
(mkEnable true "debug" null) "--enable-debug"
] ]
++ opt stdenv.isLinux ++ opt stdenv.isLinux
"--with-systemdsystemunitdir=$(out)/etc/systemd/system"; "--with-systemdsystemunitdir=$(out)/etc/systemd/system";
@@ -103,7 +103,7 @@ stdenv.mkDerivation rec {
${if shoutSupport then "-lshout" else ""} ${if shoutSupport then "-lshout" else ""}
''; '';
meta = { meta = with stdenv.lib; {
description = "A flexible, powerful daemon for playing music"; description = "A flexible, powerful daemon for playing music";
homepage = http://mpd.wikia.com/wiki/Music_Player_Daemon_Wiki; homepage = http://mpd.wikia.com/wiki/Music_Player_Daemon_Wiki;
license = licenses.gpl2; license = licenses.gpl2;
+1 -1
View File
@@ -86,7 +86,7 @@ stdenv.mkDerivation rec {
find $out -type f -exec $SHELL -c "$SCRIPT" \; find $out -type f -exec $SHELL -c "$SCRIPT" \;
''; '';
meta = { meta = with stdenv.lib; {
homepage = http://www.samba.org/; homepage = http://www.samba.org/;
description = "The standard Windows interoperability suite of programs for Linux and Unix"; description = "The standard Windows interoperability suite of programs for Linux and Unix";
license = licenses.gpl3; license = licenses.gpl3;
+7
View File
@@ -28,6 +28,13 @@ assert cryptopp != null || (nss != null && nspr != null);
with stdenv.lib; with stdenv.lib;
let let
mkFlag = trueStr: falseStr: cond: name: val:
if cond == null then null else
"--${if cond != false then trueStr else falseStr}${name}${if val != null && cond != false then "=${val}" else ""}";
mkEnable = mkFlag "enable-" "disable-";
mkWith = mkFlag "with-" "without-";
mkOther = mkFlag "" "" true;
hasServer = snappy != null && leveldb != null; hasServer = snappy != null && leveldb != null;
hasMon = hasServer; hasMon = hasServer;
hasMds = hasServer; hasMds = hasServer;
+9 -6
View File
@@ -3,6 +3,9 @@
}: }:
let let
mkFlag = pfxTrue: pfxFalse: cond: name: "--${if cond then pfxTrue else pfxFalse}-${name}";
mkEnable = mkFlag "enable" "disable";
mkWith = mkFlag "with" "without";
hasX = gtk2 != null || qt4 != null; hasX = gtk2 != null || qt4 != null;
in in
with stdenv.lib; with stdenv.lib;
@@ -17,12 +20,12 @@ stdenv.mkDerivation rec {
buildInputs = [ libcap gtk2 ncurses qt4 ]; buildInputs = [ libcap gtk2 ncurses qt4 ];
configureFlags = [ configureFlags = [
(mkWith (libcap != null) "libcap" null) (mkWith (libcap != null) "libcap")
(mkWith (hasX) "x" null) (mkWith (hasX) "x")
(mkEnable (ncurses != null) "pinentry-curses" null) (mkEnable (ncurses != null) "pinentry-curses")
(mkEnable true "pinentry-tty" null) (mkEnable true "pinentry-tty")
(mkEnable (gtk2 != null) "pinentry-gtk2" null) (mkEnable (gtk2 != null) "pinentry-gtk2")
(mkEnable (qt4 != null) "pinentry-qt4" null) (mkEnable (qt4 != null) "pinentry-qt4")
]; ];
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
+67 -64
View File
@@ -7,6 +7,9 @@
}: }:
with stdenv.lib; with stdenv.lib;
let
mkFlag = cond: name: if cond then "--enable-${name}" else "--disable-${name}";
in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "rsyslog-8.9.0"; name = "rsyslog-8.9.0";
@@ -23,70 +26,70 @@ stdenv.mkDerivation rec {
] ++ stdenv.lib.optional stdenv.isLinux systemd; ] ++ stdenv.lib.optional stdenv.isLinux systemd;
configureFlags = [ configureFlags = [
(mkOther "sysconfdir" "/etc") "--sysconfdir=/etc"
(mkOther "localstatedir" "/var") "--localstatedir=/var"
(mkWith true "systemdsystemunitdir" "\${out}/etc/systemd/system") "--with-systemdsystemunitdir=\${out}/etc/systemd/system"
(mkEnable true "largefile" null) (mkFlag true "largefile")
(mkEnable true "regexp" null) (mkFlag true "regexp")
(mkEnable (krb5 != null) "gssapi-krb5" null) (mkFlag (krb5 != null) "gssapi-krb5")
(mkEnable true "klog" null) (mkFlag true "klog")
(mkEnable true "kmsg" null) (mkFlag true "kmsg")
(mkEnable (systemd != null) "imjournal" null) (mkFlag (systemd != null) "imjournal")
(mkEnable true "inet" null) (mkFlag true "inet")
(mkEnable (jemalloc != null) "jemalloc" null) (mkFlag (jemalloc != null) "jemalloc")
(mkEnable true "unlimited-select" null) (mkFlag true "unlimited-select")
(mkEnable true "usertools" null) (mkFlag true "usertools")
(mkEnable (libmysql != null) "mysql" null) (mkFlag (libmysql != null) "mysql")
(mkEnable (postgresql != null) "pgsql" null) (mkFlag (postgresql != null) "pgsql")
(mkEnable (libdbi != null) "libdbi" null) (mkFlag (libdbi != null) "libdbi")
(mkEnable (net_snmp != null) "snmp" null) (mkFlag (net_snmp != null) "snmp")
(mkEnable (libuuid != null) "uuid" null) (mkFlag (libuuid != null) "uuid")
(mkEnable (curl != null) "elasticsearch" null) (mkFlag (curl != null) "elasticsearch")
(mkEnable (gnutls != null) "gnutls" null) (mkFlag (gnutls != null) "gnutls")
(mkEnable (libgcrypt != null) "libgcrypt" null) (mkFlag (libgcrypt != null) "libgcrypt")
(mkEnable true "rsyslogrt" null) (mkFlag true "rsyslogrt")
(mkEnable true "rsyslogd" null) (mkFlag true "rsyslogd")
(mkEnable true "mail" null) (mkFlag true "mail")
(mkEnable (liblognorm != null) "mmnormalize" null) (mkFlag (liblognorm != null) "mmnormalize")
(mkEnable true "mmjsonparse" null) (mkFlag true "mmjsonparse")
(mkEnable true "mmaudit" null) (mkFlag true "mmaudit")
(mkEnable true "mmanon" null) (mkFlag true "mmanon")
(mkEnable true "mmutf8fix" null) (mkFlag true "mmutf8fix")
(mkEnable true "mmcount" null) (mkFlag true "mmcount")
(mkEnable true "mmsequence" null) (mkFlag true "mmsequence")
(mkEnable true "mmfields" null) (mkFlag true "mmfields")
(mkEnable true "mmpstrucdata" null) (mkFlag true "mmpstrucdata")
(mkEnable (openssl != null) "mmrfc5424addhmac" null) (mkFlag (openssl != null) "mmrfc5424addhmac")
(mkEnable (librelp != null) "relp" null) (mkFlag (librelp != null) "relp")
(mkEnable (libgt != null) "guardtime" null) (mkFlag (libgt != null) "guardtime")
(mkEnable (liblogging != null) "liblogging-stdlog" null) (mkFlag (liblogging != null) "liblogging-stdlog")
(mkEnable (liblogging != null) "rfc3195" null) (mkFlag (liblogging != null) "rfc3195")
(mkEnable true "imfile" null) (mkFlag true "imfile")
(mkEnable false "imsolaris" null) (mkFlag false "imsolaris")
(mkEnable true "imptcp" null) (mkFlag true "imptcp")
(mkEnable true "impstats" null) (mkFlag true "impstats")
(mkEnable true "omprog" null) (mkFlag true "omprog")
(mkEnable (libnet != null) "omudpspoof" null) (mkFlag (libnet != null) "omudpspoof")
(mkEnable true "omstdout" null) (mkFlag true "omstdout")
(mkEnable (systemd != null) "omjournal" null) (mkFlag (systemd != null) "omjournal")
(mkEnable true "pmlastmsg" null) (mkFlag true "pmlastmsg")
(mkEnable true "pmcisconames" null) (mkFlag true "pmcisconames")
(mkEnable true "pmciscoios" null) (mkFlag true "pmciscoios")
(mkEnable true "pmaixforwardedfrom" null) (mkFlag true "pmaixforwardedfrom")
(mkEnable true "pmsnare" null) (mkFlag true "pmsnare")
(mkEnable true "omruleset" null) (mkFlag true "omruleset")
(mkEnable true "omuxsock" null) (mkFlag true "omuxsock")
(mkEnable true "mmsnmptrapd" null) (mkFlag true "mmsnmptrapd")
(mkEnable (hadoop != null) "omhdfs" null) (mkFlag (hadoop != null) "omhdfs")
(mkEnable (rdkafka != null) "omkafka" null) (mkFlag (rdkafka != null) "omkafka")
(mkEnable (libmongo-client != null) "ommongodb" null) (mkFlag (libmongo-client != null) "ommongodb")
(mkEnable (czmq != null) "imzmq3" null) (mkFlag (czmq != null) "imzmq3")
(mkEnable (czmq != null) "imczmq" null) (mkFlag (czmq != null) "imczmq")
(mkEnable (czmq != null) "omzmq3" null) (mkFlag (czmq != null) "omzmq3")
(mkEnable (czmq != null) "omczmq" null) (mkFlag (czmq != null) "omczmq")
(mkEnable (rabbitmq-c != null) "omrabbitmq" null) (mkFlag (rabbitmq-c != null) "omrabbitmq")
(mkEnable (hiredis != null) "omhiredis" null) (mkFlag (hiredis != null) "omhiredis")
(mkEnable true "generate-man-pages" null) (mkFlag true "generate-man-pages")
]; ];
meta = { meta = {