Build fixes when building with GCC v4.3.2 and -W -Wall -Werror

This commit is contained in:
Joachim Nilsson
2008-12-02 19:09:17 +01:00
parent 62e900a061
commit 77d483da02
6 changed files with 46 additions and 32 deletions

View File

@@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.61)
AC_INIT(Minix editline, 0.2.2, joachim@vmlinux.org)
AC_INIT(Minix editline, 0.2.3, joachim@vmlinux.org)
AC_CONFIG_SRCDIR([src/editline.c])
AC_CONFIG_HEADER([config.h])
@@ -38,7 +38,7 @@ AC_PROG_GCC_TRADITIONAL
#AC_FUNC_MALLOC
#AC_FUNC_REALLOC
AC_FUNC_STAT
AC_CHECK_FUNCS([strchr strdup strrchr tcgetattr])
AC_CHECK_FUNCS([strchr strdup strrchr tcgetattr perror])
AC_ARG_ENABLE([default-complete],
[ --enable-default-complete Enable default completion handler.],[