Commit a716ea33 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp Committed by Lasse Karstensen

Fix readline finding on FreeBSD -current

parent 5a01820c
......@@ -34,9 +34,11 @@
#include <stdio.h>
#ifdef HAVE_LIBEDIT
#if defined(HAVE_EDIT_READLINE_READLINE_H)
# include <edit/readline/readline.h>
#elif defined(HAVE_LIBEDIT)
# include <editline/readline.h>
#elif HAVE_READLINE_READLINE_H
#elif defined (HAVE_READLINE_READLINE_H)
# include <readline/readline.h>
# ifdef HAVE_READLINE_HISTORY_H
# include <readline/history.h>
......
......@@ -164,6 +164,7 @@ PKG_CHECK_MODULES([LIBEDIT], [libedit],
AC_HEADER_STDC
AC_HEADER_SYS_WAIT
AC_HEADER_TIME
AC_CHECK_HEADERS([edit/readline/readline.h])
AC_CHECK_HEADERS([sys/param.h])
AC_CHECK_HEADERS([sys/types.h])
AC_CHECK_HEADERS([sys/endian.h])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment