summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-01 13:44:20 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-01 13:44:20 +0000
commit4498f31e40b89f4fc4f0ffb146bf4411ba9c1a4b (patch)
tree8dd8159834888730376a9364c2fedd84c666906b /configure
parent46c4fd72f78cb9973a9d940b01790fcdbd3b5f54 (diff)
LEARN TO USE FUCKING EQ AND NOT == TO COMPARE FUCKING STRINGS
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3005 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 841f56b7d..537e720b3 100755
--- a/configure
+++ b/configure
@@ -201,7 +201,7 @@ if ($has_epoll) {
print "yes\n" if $has_epoll == 1;
print "no\n" if $has_epoll == 0;
-if (($config{OSNAME} =~ /CYGWIN/) || ($config{OSNAME} == "CYG-STATIC")) {
+if (($config{OSNAME} =~ /CYGWIN/) || ($config{OSNAME} eq "CYG-STATIC")) {
$config{HAS_STRLCPY} = "true";
}
@@ -785,7 +785,7 @@ sub getosflags {
$config{LDLIBS} = "";
$config{MAKEPROG} = "/usr/bin/make";
$config{MAKEORDER} = "ircd mods config bininst";
- } elsif ($config{OSNAME} == "CYG-STATIC") {
+ } elsif ($config{OSNAME} eq "CYG-STATIC") {
$config{FLAGS} = "-frtti $OPTIMISATI -Wall -Woverloaded-virtual $config{OPTIMISATI}";
$config{LDLIBS} = "";
$config{MAKEPROG} = "/usr/bin/make";
@@ -873,7 +873,7 @@ EOF
print FILEHANDLE "#define IS_CYGWIN\n";
print FILEHANDLE "#ifndef FD_SETSIZE\n#define FD_SETSIZE 1024\n#endif\n";
}
- if ($config{OSNAME} == "CYG-STATIC") {
+ if ($config{OSNAME} eq "CYG-STATIC") {
print FILEHANDLE "#ifndef FD_SETSIZE\n#define FD_SETSIZE 1024\n#endif\n";
}