X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=configure;h=f3aea791f38a5b8aa29998d1d2680669d3060413;hb=39ddf2fb7a4d030fc29a7d421e09394cd70dc9bf;hp=39968db6e6932954db2535c28606a2480602d9d8;hpb=a5d110282a864fd2e91b51ce360a977cd0643657;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/configure b/configure index 39968db6e..f3aea791f 100755 --- a/configure +++ b/configure @@ -368,8 +368,8 @@ $has_epoll = test_compile('epoll'); print $has_epoll ? "yes\n" : "no\n"; printf "Checking for eventfd support... "; -$config{HAS_EVENTFD} = test_compile('eventfd') ? 'true' : 'false'; -print $config{HAS_EVENTFD} eq 'true' ? "yes\n" : "no\n"; +$config{HAS_EVENTFD} = test_compile('eventfd'); +print $config{HAS_EVENTFD} ? "yes\n" : "no\n"; printf "Checking if Solaris I/O completion ports are available... "; $has_ports = 0; @@ -873,13 +873,13 @@ print FILEHANDLE "#define MAXBUF " . ($config{MAXBUF}+2) . "\n"; if ($config{GCCVER} >= 3) { print FILEHANDLE "#define GCC3\n"; } - if ($config{HAS_STRLCPY} eq "true") { + if ($config{HAS_STRLCPY}) { print FILEHANDLE "#define HAS_STRLCPY\n"; } - if ($config{HAS_STDINT} eq "true") { + if ($config{HAS_STDINT}) { print FILEHANDLE "#define HAS_STDINT\n"; } - if ($config{HAS_EVENTFD} eq 'true') { + if ($config{HAS_EVENTFD}) { print FILEHANDLE "#define HAS_EVENTFD\n"; } if ($config{OSNAME} !~ /DARWIN/i) {