1181834Sroberto# we traditionally installed software in bindir, while it should have gone
2181834Sroberto# in sbindir.  Now that we offer a choice, look in the "other" installation
3181834Sroberto# subdir to warn folks if there is another version there.
4181834Sroberto
5181834Srobertoinstall-exec-hook:
6290000Sglebius	@test -z "${bin_PROGRAMS}${bin_SCRIPTS}"		\
7290000Sglebius	|| for i in ${bin_PROGRAMS} ${bin_SCRIPTS} " "; do	\
8290000Sglebius	   test ! -f ${sbindir}/$$i				\
9290000Sglebius		|| echo "*** $$i is also in ${sbindir}!";	\
10181834Sroberto	done
11290000Sglebius	@test -z "${sbin_PROGRAMS}${asbin_SCRIPTS}"		\
12290000Sglebius	|| for i in ${sbin_PROGRAMS} ${sbin_SCRIPTS} " "; do	\
13290000Sglebius	   test ! -f ${bindir}/$$i				\
14290000Sglebius		|| echo "*** $$i is also in ${bindir}!";	\
15290000Sglebius	done
16181834Sroberto
17181834Sroberto#
18