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:
6181834Sroberto	@case ${BINSUBDIR} in					\
7181834Sroberto	 bin) ODIR=${exec_prefix}/sbin ;;			\
8181834Sroberto	 sbin) ODIR=${exec_prefix}/bin ;;			\
9181834Sroberto	esac;							\
10181834Sroberto	test -z "${bin_PROGRAMS}${bin_SCRIPTS}"			\
11181834Sroberto	|| for i in ${bin_PROGRAMS} ${bin_SCRIPTS} " "; do		\
12181834Sroberto	   test ! -f $$ODIR/$$i || echo "*** $$i is also in $$ODIR!";	\
13181834Sroberto	done
14181834Sroberto
15181834Sroberto#
16