configure.ac: Check for the readline.h explicitly
authorAlexandra Hájková <ahajkova@redhat.com>
Thu, 18 Nov 2021 08:49:52 +0000 (03:49 -0500)
committerAlexandra Hájková <ahajkova@redhat.com>
Tue, 23 Nov 2021 14:01:08 +0000 (15:01 +0100)
commit7c26f8da3d267954f8a3a810c5ed9de09d15e6d4
treea6140630cea7643bd41801f2b1561ae3e115a234
parentb69c9d41e89498442cb5af5287f378b3583dd445
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.
gdb/config.in
gdb/configure
gdb/configure.ac