Also look for editline/readline.h (fix #38)

This commit is contained in:
Nicolas Williams
2016-11-10 11:34:59 -06:00
parent eb682c1bf4
commit 7b6bf87685
2 changed files with 4 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
dnl $Id$
dnl
dnl rk_TEST_PACKAGE(package,headers,libraries,extra libs,
dnl rk_TEST_PACKAGE(package,program,libraries,extra libs,
dnl default locations, conditional, config-program, headers)
AC_DEFUN([rk_TEST_PACKAGE],[

View File

@@ -292,8 +292,10 @@ rk_TEST_PACKAGE(libedit,
#include <readline/readline.h>
#elif defined(HAVE_READLINE_H)
#include <readline.h>
#elif defined(HAVE_EDITLINE_READLINE_H)
#include <editline/readline.h>
#endif
],-ledit,,, READLINE,, [readline.h readline/readline.h])
],-ledit,,, READLINE,, [readline.h readline/readline.h editline/readline.h])
AC_CONFIG_SUBDIRS([lib/libedit])