From d803ff052585b29defb41f7e5c3c0915f767bebc Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Sun, 29 Jan 2017 21:42:11 +0100 Subject: [PATCH] configure.ng: Split list into separate lines --- configure.ng | 69 +++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 58 insertions(+), 11 deletions(-) diff --git a/configure.ng b/configure.ng index 56139968..57ae8bb8 100644 --- a/configure.ng +++ b/configure.ng @@ -154,15 +154,30 @@ AC_HEADER_TIME # Required header files AC_CHECK_HEADERS([ \ - fcntl.h netdb.h netinet/in.h stdlib.h string.h \ - strings.h sys/socket.h sys/time.h sys/types.h unistd.h \ + fcntl.h \ + netdb.h \ + netinet/in.h \ + stdlib.h \ + string.h \ + strings.h \ + sys/socket.h \ + sys/time.h \ + sys/types.h \ + unistd.h \ ],,AC_MSG_ERROR([required C header missing!])) # Optional header files AC_CHECK_HEADERS_ONCE([ \ - arpa/inet.h inttypes.h malloc.h netinet/in_systm.h netinet/ip.h \ - stdbool.h stddef.h stdint.h varargs.h \ - ]) + arpa/inet.h \ + inttypes.h \ + malloc.h \ + netinet/in_systm.h \ + netinet/ip.h \ + stdbool.h \ + stddef.h \ + stdint.h \ + varargs.h \ +]) # -- Datatypes -- @@ -212,17 +227,49 @@ AC_FUNC_STRFTIME # Required functions AC_CHECK_FUNCS([ \ - alarm dup2 endpwent gethostbyaddr gethostbyname gethostname \ - gettimeofday inet_ntoa memmove memset setsid socket strcasecmp \ - strchr strcspn strerror strncasecmp strrchr strspn strstr \ + alarm \ + dup2 \ + endpwent \ + gethostbyaddr \ + gethostbyname \ + gethostname \ + gettimeofday \ + inet_ntoa \ + memmove \ + memset \ + setsid \ + socket \ + strcasecmp \ + strchr \ + strcspn \ + strerror \ + strncasecmp \ + strrchr \ + strspn \ + strstr \ ],, AC_MSG_ERROR([required function missing!])) # Optional functions AC_CHECK_FUNCS_ONCE([ - arc4random arc4random_stir gai_strerror getnameinfo inet_aton \ - setgroups sigaction sigprocmask snprintf strdup strlcat strlcpy \ - strndup strtok_r unsetenv vsnprintf waitpid]) + arc4random \ + arc4random_stir \ + gai_strerror \ + getnameinfo \ + inet_aton \ + setgroups \ + sigaction \ + sigprocmask \ + snprintf \ + strdup \ + strlcat \ + strlcpy \ + strndup \ + strtok_r \ + unsetenv \ + vsnprintf \ + waitpid \ +]) WORKING_GETADDRINFO -- 2.39.2