a portable ./configure --prefix option
I'm trying to install gtetrinet in such a way that it can easily be moved to a different directory. Unfortunately, ./configure expands any --prefix environment variables I set. For example, if I use --prefix $(HOME)/games, it gets installed to /home/joe/games, with all the paths hard-wired into the executable. This is fine for playing the game in /home/joe, but it doesn't work if I try to move it to /home/foo on a different machine. Is there a way to fix this?