On Wed, 10 Dec 2003, Akim Demaille wrote: > > On Wed, 10 Dec 2003 17:55:04 +0100, Eric Sunshine wrote: > > ... > >> At the very least, it would be a good idea to > >> only use "ls -ld" after checking that such usage is valid (i.e. ensure > >> that "ls -ld" actually works, and works as intended on the target platform). > > > As the possible 'keep executable' feature would be dependent upon by the > > package there is no way to make it optional according to the host platform. > > > OK, I give up, I see the only chance as 'chmod +x' in AC_CONFIG_COMMANDS. > > I consider this as a long-lasting pain of autoconf. > > How about cp FILE.in FILE and then perform the transformation from > FILE.in's contents to (>) FILE? Good idea, but it will fail if FILE.in is read-only. Bob ====================================== Bob Friesenhahn bfriesen@xxxxxxxxxxxxxxxxxxx http://www.simplesystems.org/users/bfriesen