@bindir@ ended up becoming '${exec_prefix}' (literally) on my system
(FreeBSD 4.5), thus producing a broken shebang line.
@prefix@ works fine for me here. If @bindir@ is indeed preferred, the
substitution problem noted above needs to be resolved before the change
is reapplied.
-#!@bindir@/php -Cq
+#!@prefix@/bin/php -Cq
<?php // -*- PHP -*-
//
// +----------------------------------------------------------------------+