mirror of
https://github.com/troglobit/editline.git
synced 2025-12-16 02:54:46 +08:00
Build fixes when building with GCC v4.3.2 and -W -Wall -Werror
This commit is contained in:
@@ -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.],[
|
||||
|
||||
Reference in New Issue
Block a user