aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorreinelt <>2004-01-29 05:53:48 +0000
committerreinelt <>2004-01-29 05:53:48 +0000
commit31a2b52ff7475a8949e87595f9d67e69b5be975a (patch)
treeb3f500d4fa6baa608b61efe40021293079299a0e /configure.in
parent023e89d07babd36bbe4222a5abcf1260409be116 (diff)
downloadlcd4linux-31a2b52ff7475a8949e87595f9d67e69b5be975a.tar.gz
[lcd4linux @ 2004-01-29 05:53:47 by reinelt]
uClibc compatibility issues from Martin Hejl
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in19
1 files changed, 12 insertions, 7 deletions
diff --git a/configure.in b/configure.in
index e0a3b01..652386d 100644
--- a/configure.in
+++ b/configure.in
@@ -1,10 +1,10 @@
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.57)
+AC_PREREQ(2.59)
AC_INIT([LCD4Linux],[0.9.12],[reinelt@eunet.at])
AC_CONFIG_SRCDIR([lcd4linux.c])
-AM_INIT_AUTOMAKE(lcd4linux,0.9.12)
+AM_INIT_AUTOMAKE([lcd4linux],0.9.12)
AM_CONFIG_HEADER(config.h)
# Checks for programs.
@@ -16,7 +16,7 @@ AC_PROG_LN_S
AC_PROG_MAKE_SET
# Using `AC_PROG_RANLIB' is rendered
# obsolete by `AC_PROG_LIBTOOL' :-(
-# AC_PROG_RANLIB
+#AC_PROG_RANLIB
AC_PROG_LIBTOOL
# Checks for libraries.
@@ -261,7 +261,6 @@ if test "$DRIVERS" = ""; then
fi
# Raster.lo depends on PPM or PNG
- Raster.lo depends on PPM or NG
if test "$RASTER" = "yes"; then
# DRIVERS="$DRIVERS Raster.lo"
DRIVERS="$DRIVERS Raster.o"
@@ -278,8 +277,9 @@ AC_SUBST(DRVLIBS)
# Checks for header files.
AC_HEADER_STDC
+AC_HEADER_DIRENT
AC_HEADER_SYS_WAIT
-AC_CHECK_HEADERS([fcntl.h malloc.h netdb.h netinet/in.h stdlib.h string.h sys/ioctl.h sys/param.h sys/socket.h sys/time.h syslog.h termios.h unistd.h])
+AC_CHECK_HEADERS([arpa/inet.h fcntl.h malloc.h netdb.h netinet/in.h stdlib.h string.h sys/ioctl.h sys/param.h sys/socket.h sys/time.h syslog.h termios.h unistd.h])
AC_CHECK_HEADERS(sys/io.h asm/io.h)
AC_CHECK_HEADERS(linux/parport.h linux/ppdev.h)
AC_CHECK_HEADERS(linux/dvb/frontend.h)
@@ -295,10 +295,15 @@ AC_HEADER_TIME
AC_TYPE_UID_T
# Checks for library functions.
-AC_FUNC_ERROR_AT_LINE
AC_FUNC_FORK
+AC_FUNC_CLOSEDIR_VOID
+AC_FUNC_ERROR_AT_LINE
AC_PROG_GCC_TRADITIONAL
+# uClibc has no getloadavg()
+# AC_FUNC_GETLOADAVG sounds promising, but does not really work
+#AC_FUNC_GETLOADAVG
+
#removed for uClibc compatibility
#AC_FUNC_MALLOC
#AC_FUNC_REALLOC
@@ -307,7 +312,7 @@ AC_FUNC_MEMCMP
AC_FUNC_SELECT_ARGTYPES
AC_TYPE_SIGNAL
AC_FUNC_STAT
-AC_CHECK_FUNCS([atexit dup2 gethostbyname gettimeofday memmove memset pow putenv select socket sqrt strcasecmp strchr strdup strerror strncasecmp strndup strpbrk strstr strtol uname])
+AC_CHECK_FUNCS([atexit dup2 gethostbyname getloadavg gettimeofday memmove memset pow putenv regcomp select socket sqrt strcasecmp strchr strdup strerror strncasecmp strndup strpbrk strrchr strstr strtol uname])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT