]> arthur.barton.de Git - ngircd-alex.git/blobdiff - configure.ng
Make vsnprintf() portab function more portable
[ngircd-alex.git] / configure.ng
index 57ae8bb8e66d1aba58cb84ac0fd136c4b2558fe1..616b24190bc496484f9ea4ce97daa109eea1abfd 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,14 +233,12 @@ AC_CHECK_FUNCS([ \
                gethostname \
                gettimeofday \
                inet_ntoa \
-               memmove \
                memset \
                setsid \
                socket \
                strcasecmp \
                strchr \
                strcspn \
-               strerror \
                strncasecmp \
                strrchr \
                strspn \
@@ -257,11 +253,13 @@ AC_CHECK_FUNCS_ONCE([
        gai_strerror \
        getnameinfo \
        inet_aton \
+       memmove \
        setgroups \
        sigaction \
        sigprocmask \
        snprintf \
        strdup \
+       strerror \
        strlcat \
        strlcpy \
        strndup \