This patch allows the $DESTDIR variable used in 'make install' to be a relative path. It also avoids constructing filenames starting with double slashes ('//') when DESTDIR is an absolute path. Tested on RedHat 9.0 Linux on x86.
Logged In: YES user_id=340931 I'd also like to see the argument to 'configure --prefix=' also be relative. Could this patch be expanded in that direction?
Agreed. I have never seen $DESTDIR prefixed with / in makefiles, so this patch should go in. I don't see the point of making --prefix relative. you can do --prefix=`cd ../relative ; pwd` if you need relative. Putting relative paths in makefiles is asking for trouble, as the Makefile will call other makefiles in subdirectories, which would need to pass extra ../ overrides of prefix.