]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
configure.ac: extend checks for header, functions, etc.
authorAndre Noll <maan@systemlinux.org>
Fri, 6 Jul 2007 09:15:39 +0000 (11:15 +0200)
committerAndre Noll <maan@systemlinux.org>
Fri, 6 Jul 2007 09:15:39 +0000 (11:15 +0200)
One should really run autoscan from time to time...

NEWS
configure.ac

diff --git a/NEWS b/NEWS
index fabcc63903b4a30df59d0cb0aaba06590c51964e..757e1fe218ae12112500fba31c2a7a55c200cf2a 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -11,7 +11,9 @@ the 0.2.x series if no serious bugs show up after the release.
        - be more carful wrt. signed vs. unsigned argument passing.
        - cleanup error.h and fix some references to invalid error
          codes.
        - be more carful wrt. signed vs. unsigned argument passing.
        - cleanup error.h and fix some references to invalid error
          codes.
-       - update to gengetopt-2.20
+       - update to gengetopt-2.20.
+       - autoconf: extend checks for headers, library functions and
+         compiler characteristics.
 
 --------------------------------------
 0.2.16 (2007-04-05) "neural discharge"
 
 --------------------------------------
 0.2.16 (2007-04-05) "neural discharge"
index 316f95c74679613748e0fcc0f12c00b707d2f4a2..279022dff64da1b0d9a4bb4dff4a7da101cfd4a6 100644 (file)
@@ -21,11 +21,13 @@ AC_PROG_CC
 AC_PROG_CPP
 AC_PROG_INSTALL
 
 AC_PROG_CPP
 AC_PROG_INSTALL
 
+
 AC_HEADER_DIRENT
 AC_HEADER_STDC
 AC_HEADER_SYS_WAIT
 AC_HEADER_DIRENT
 AC_HEADER_STDC
 AC_HEADER_SYS_WAIT
-AC_CHECK_HEADERS([arpa/inet.h ctype.h fcntl.h limits.h netdb.h netinet/in.h stdlib.h \
-       string.h sys/socket.h sys/time.h sys/timeb.h sys/un.h sys/ipc.h unistd.h utime.h], \
+AC_CHECK_HEADERS([arpa/inet.h ctype.h fcntl.h limits.h netdb.h netinet/in.h \
+       stdlib.h string.h sys/socket.h sys/time.h sys/timeb.h sys/un.h \
+       sys/ipc.h unistd.h utime.h stddef.h],
        [], [AC_MSG_ERROR([$ac_header not found])])
 
 AC_CHECK_HEADER(linux/soundcard.h, [extras="$extras para_fade"], 
        [], [AC_MSG_ERROR([$ac_header not found])])
 
 AC_CHECK_HEADER(linux/soundcard.h, [extras="$extras para_fade"], 
@@ -33,11 +35,19 @@ AC_CHECK_HEADER(linux/soundcard.h, [extras="$extras para_fade"],
 
 # Checks for typedefs, structures, and compiler characteristics.
 AC_C_CONST
 
 # Checks for typedefs, structures, and compiler characteristics.
 AC_C_CONST
+AC_C_INLINE
 AC_TYPE_OFF_T
 AC_TYPE_PID_T
 AC_TYPE_SIZE_T
 AC_HEADER_TIME
 AC_STRUCT_TM
 AC_TYPE_OFF_T
 AC_TYPE_PID_T
 AC_TYPE_SIZE_T
 AC_HEADER_TIME
 AC_STRUCT_TM
+AC_TYPE_INT16_T
+AC_TYPE_MODE_T
+AC_TYPE_SSIZE_T
+AC_TYPE_UID_T
+AC_TYPE_UINT16_T
+AC_TYPE_UINT32_T
+AC_TYPE_UINT8_T
 
 # Checks for library functions.
 AC_FUNC_FORK
 
 # Checks for library functions.
 AC_FUNC_FORK
@@ -52,8 +62,13 @@ AC_TYPE_SIGNAL
 AC_FUNC_STAT
 AC_FUNC_STRFTIME
 AC_FUNC_VPRINTF
 AC_FUNC_STAT
 AC_FUNC_STRFTIME
 AC_FUNC_VPRINTF
+AC_FUNC_CLOSEDIR_VOID
+AC_FUNC_LSTAT
+
 AC_CHECK_FUNCS([atexit dup2 gethostbyname inet_ntoa memchr memmove memset \
 AC_CHECK_FUNCS([atexit dup2 gethostbyname inet_ntoa memchr memmove memset \
-       regcomp select socket strchr strdup strerror strstr strtol uname], [], 
+       regcomp select socket strchr strdup strerror strstr strtol uname \
+       fchdir gettimeofday localtime_r munmap strcasecmp strcspn \
+       strncasecmp strrchr strspn], [],
        [AC_MSG_ERROR([function not found, cannot live without it])])
 ########################################################################### curses
 AC_CHECK_LIB([ncurses], [initscr], [], 
        [AC_MSG_ERROR([function not found, cannot live without it])])
 ########################################################################### curses
 AC_CHECK_LIB([ncurses], [initscr], [],