[MPlayer-users] Small improvement for configure (0.90pre2)

Gregor Hoffleit gregor at hoffleit.de
Wed May 1 18:10:02 CEST 2002


A small annoyance with the configure script is that it hardcodes the
full path of DATADIR, CONFDIR and LIBDIR into the config.mak file (i.e.
it expands $prefix).

The result is that things like "./configure; make install
prefix=/usr/local/stow/mplayer" won't work: Most of the stuff will be
installed in /usr/local/stow/mplayer, but the makefiles that use DATADIR
or LIBDIR to *install* things (e.g. vidix/drivers/Makefile) will
nevertheless try to install in /usr/local. That makes it impossible to
use tools like "stow".

AFAICS, a fix would be to change the configure script so that it sets
DATADIR, CONFDIR and LIBDIR in config.make to the unexpanded values, and
in config.h to the expanded values.

Thanks,
    Gregor




More information about the MPlayer-users mailing list