diff --git a/configure.ac b/configure.ac index 83d6ceb..7649f0a 100644 --- a/configure.ac +++ b/configure.ac @@ -170,7 +170,7 @@ AC_SEARCH_LIBS([socket], [socket]) AC_SEARCH_LIBS([inet_addr], [nsl]) # Checks for header files. -AC_CHECK_HEADERS([m4_normalize([ +AC_CHECK_HEADERS(m4_normalize([ fcntl.h langinfo.h limits.h @@ -191,7 +191,7 @@ AC_CHECK_HEADERS([m4_normalize([ unistd.h wchar.h wctype.h - ])], [], [AC_MSG_ERROR([Missing required header file.])]) + ]), [], [AC_MSG_ERROR([Missing required header file.])]) AC_CHECK_HEADERS([pty.h util.h libutil.h paths.h]) AC_CHECK_HEADERS([endian.h sys/endian.h]) @@ -216,7 +216,7 @@ AC_TYPE_UINTPTR_T # Checks for library functions. AC_FUNC_FORK AC_FUNC_MBRTOWC -AC_CHECK_FUNCS([m4_normalize([ +AC_CHECK_FUNCS(m4_normalize([ gettimeofday setrlimit iswprint @@ -239,7 +239,7 @@ AC_CHECK_FUNCS([m4_normalize([ pselect getaddrinfo getnameinfo - ])]) + ])) AC_SEARCH_LIBS([clock_gettime], [rt], [AC_DEFINE([HAVE_CLOCK_GETTIME], [1], [Define if clock_gettime is available.])])