When config.status builds "FILE" from "FILE.in" it always creates non-executable files. The attached patch will "chmod +x FILE" if "test -x FILE.in" (specifically if "test -x" any of the input files).
Unfortunately, older 'test' commands do not recognize the -x option, therefore this patch is not portable. (For instance, I am using NextStep presently, and the 'test' command does not recognize -x.)
-- ES