diff options
author | Alexandra Hájková <ahajkova@redhat.com> | 2021-11-18 03:49:52 -0500 |
---|---|---|
committer | Alexandra Hájková <ahajkova@redhat.com> | 2021-11-23 15:01:08 +0100 |
commit | 7c26f8da3d267954f8a3a810c5ed9de09d15e6d4 (patch) | |
tree | a6140630cea7643bd41801f2b1561ae3e115a234 /gdb/config.in | |
parent | b69c9d41e89498442cb5af5287f378b3583dd445 (diff) | |
download | gdb-7c26f8da3d267954f8a3a810c5ed9de09d15e6d4.zip gdb-7c26f8da3d267954f8a3a810c5ed9de09d15e6d4.tar.gz gdb-7c26f8da3d267954f8a3a810c5ed9de09d15e6d4.tar.bz2 |
configure.ac: Check for the readline.h explicitly
When readline development package is missing make fails with
"configure: error: system readline is not new enough" which
might be confusing. This patch checks for the readline.h explicitly
and makes make to warn about the missing package.
Diffstat (limited to 'gdb/config.in')
-rw-r--r-- | gdb/config.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/config.in b/gdb/config.in index 773a0ba..4b8f1f7 100644 --- a/gdb/config.in +++ b/gdb/config.in @@ -382,6 +382,9 @@ /* Define if Python interpreter is being linked in. */ #undef HAVE_PYTHON +/* Define to 1 if you have the <readline/readline.h> header file. */ +#undef HAVE_READLINE_READLINE_H + /* Define to 1 if you have the `resize_term' function. */ #undef HAVE_RESIZE_TERM |