ax_gtest.m4 needs further small improvement
During Kea 2.5.3 rc2 sanity checks it turned out that in case ./configure --with-gtest-source
is called with a path with trailing slash /
, e.g.
--with-gtest-source=/usr/src/googletest/googletest/
the gtest version could not be correctly detected (#3126 (comment 412356)).
This is a follow up to #3065 (closed)
Trailing slash is a special case and the script needs small patch for that.
Edited by Piotrek Zadroga