]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Edited to properly detect strlcpy on netbsd (different declaration in string.h didn...
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Fri, 20 May 2005 04:18:01 +0000 (04:18 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Fri, 20 May 2005 04:18:01 +0000 (04:18 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1461 e03df62e-2008-0410-955e-edbf42e46eb7

configure

index ac0be8fe094a77784af069d63b840d1296e509c3..1c17677ed269ccb56fc9c43016c117395da61bde 100755 (executable)
--- a/configure
+++ b/configure
@@ -92,7 +92,7 @@ if (!$fail)
        {
                # try and find the delcaration of:
                # size_t strlcpy(...)
-               if (($line =~ /size_t(\0x9|\s)+strlcpy(\0x9|\s)+\(/) || ($line =~ /size_t(\0x9|\s)+strlcpy\(/))
+               if ($line =~ /size_t(\0x9|\s)+strlcpy/)
                {
                        $config{HAS_STRLCPY} = "true";
                }