configure.ng: Split list into separate lines
authorAlexander Barton <alex@barton.de>
Sun, 29 Jan 2017 20:42:11 +0000 (21:42 +0100)
committerAlexander Barton <alex@barton.de>
Sun, 25 Feb 2018 02:17:21 +0000 (03:17 +0100)
configure.ng

index 5613996..57ae8bb 100644 (file)
@@ -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