| 570 |
fi |
fi |
| 571 |
|
|
| 572 |
|
|
| 573 |
# Check for the availability of libedit |
# Check for the availability of libedit. Different distributions put its |
| 574 |
|
# headers in different places. Try to cover the most common ones. |
| 575 |
|
|
| 576 |
if test "$enable_pcretest_libedit" = "yes"; then |
if test "$enable_pcretest_libedit" = "yes"; then |
| 577 |
AC_CHECK_HEADERS([editline/readline.h], [HAVE_EDITLINE_READLINE_H=1], |
AC_CHECK_HEADERS([editline/readline.h], [HAVE_EDITLINE_READLINE_H=1], |
| 578 |
[AC_CHECK_HEADERS([readline/readline.h], [HAVE_READLINE_READLINE_H=1])]) |
[AC_CHECK_HEADERS([edit/readline/readline.h], [HAVE_READLINE_READLINE_H=1], |
| 579 |
|
[AC_CHECK_HEADERS([readline/readline.h], [HAVE_READLINE_READLINE_H=1])])]) |
| 580 |
AC_CHECK_LIB([edit], [readline], [LIBEDIT="-ledit"]) |
AC_CHECK_LIB([edit], [readline], [LIBEDIT="-ledit"]) |
| 581 |
fi |
fi |
| 582 |
|
|