Hi,

I just subscribed, my first e-mail here. I am not a daily apr user, I
just spotted an issue in my gentoo while compiling kdevelop, which
uses apr as dependency.

So, in my apr:
$apr-1-config --version
1.7.5
$ apr-1-config --includedir
/bin/apr-1-config//usr/include/apr-1

The includedir output contains also path to config script itself.

I was trying to inspect the code and I see that apr-config.in has in line 66:

APR_TARGET_DIR=${normalized_command%${normalized_bindir}/apr-${APR_MAJOR_VERSION}-config};

which is a path to the config script, and the same time
$APR_TARGET_DIR is used as a prefix to paths, e.g.:

line 151: flags="$APR_TARGET_DIR/$includedir"

For me something doesn't looks right here. Can you please check this issue?

Regards,
Rafał

Reply via email to