]> arthur.barton.de Git - ngircd-alex.git/blobdiff - configure.ng
Add own memmove() implementation
[ngircd-alex.git] / configure.ng
index 57ae8bb8e66d1aba58cb84ac0fd136c4b2558fe1..da1c7c2f102947b8254405c72a77ce03f7109517 100644 (file)
@@ -207,10 +207,8 @@ AC_CHECK_MEMBER([struct sockaddr_in.sin_len], AC_DEFINE(HAVE_sockaddr_in_len),,
 
 # -- Libraries --
 
-# memmove: A/UX libUTIL
-AC_SEARCH_LIBS([memmove], [UTIL], [], [
-       AC_MSG_ERROR([unable to find the memmove() function])
-])
+# memmove: A/UX libUTIL; but we can use our own implementation.
+AC_SEARCH_LIBS([memmove], [UTIL])
 # gethostbyname: Solaris libnsl
 AC_SEARCH_LIBS([gethostbyname], [bind nsl network], [], [
        AC_MSG_ERROR([unable to find the gethostbyname() function])
@@ -235,7 +233,6 @@ AC_CHECK_FUNCS([ \
                gethostname \
                gettimeofday \
                inet_ntoa \
-               memmove \
                memset \
                setsid \
                socket \
@@ -257,6 +254,7 @@ AC_CHECK_FUNCS_ONCE([
        gai_strerror \
        getnameinfo \
        inet_aton \
+       memmove \
        setgroups \
        sigaction \
        sigprocmask \