The array concat operator has an higher precedence than the ternary
operator in Ruby.
"--with-launchddaemonsdir=no",
"CPPFLAGS=-I#{readline.include} -DRONLY=1",
"LDFLAGS=-L#{readline.lib}"]
- args << build.with?("snmp") ? "--with-snmp" : "--without-snmp"
- args << build.with?("json") ? "--with-json" : "--without-json"
+ args << (build.with?("snmp") ? "--with-snmp" : "--without-snmp")
+ args << (build.with?("json") ? "--with-json" : "--without-json")
system "./configure", *args
system "make"