Skip to content

Commit

Permalink
Also look for editline/readline.h (fix #38)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicowilliams committed Nov 10, 2016
1 parent eb682c1 commit 7b6bf87
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cf/test-package.m4
@@ -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],[
Expand Down
4 changes: 3 additions & 1 deletion configure.ac
Expand Up @@ -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])

Expand Down

0 comments on commit 7b6bf87

Please sign in to comment.