Subject: pkglibexecdir is unconditionally created when make install

From: Daiki Ueno <[email-masked]>
Date: Mon, 12 Mar 2012 13:55:40 +0900

I got a bug report for my package, which conditionally installs some
scripts into pkglibexecdir like this:

if ENABLE_FOO
pkglibexec_SCRIPTS = bar
endif

where pkglibexec* is not referred outside of if...endif.  When "make
install", automake creates pkglibexecdir even when ENABLE_FOO is false.

I'm attaching a prove which demonstrates the behavior.

Regards,
-- 
Daiki Ueno