diff options
author | atmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-06-24 08:23:48 +0000 |
---|---|---|
committer | atmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-06-24 08:23:48 +0000 |
commit | e3f40cf939ab53b94ab56262869ebaa0c5039be9 (patch) | |
tree | 6c4bee663200df9b6bbe6af9b1abad13766c5985 /mplayer.c | |
parent | c9ab15ec9b1dc34cb6e30d5d299b059dd6b501a5 (diff) | |
download | mpv-e3f40cf939ab53b94ab56262869ebaa0c5039be9.tar.bz2 mpv-e3f40cf939ab53b94ab56262869ebaa0c5039be9.tar.xz |
Patch by Dominik Mierzejewski:
The first one makes CONFDIR work correctly at last
and the second adds DESTDIR to ./configure, so that it generates
a relocateable Makefile and then a packager needs only to do
make DESTDIR=$RPM_BUILD_ROOT install
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6546 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -421,7 +421,7 @@ void parse_cfgfiles( m_config_t* conf ) { char *conffile; int conffile_fd; -if (m_config_parse_config_file(conf, "/etc/mplayer.conf") < 0) +if (m_config_parse_config_file(conf, CONFDIR"/mplayer.conf") < 0) exit(1); if ((conffile = get_path("")) == NULL) { mp_msg(MSGT_CPLAYER,MSGL_WARN,MSGTR_NoHomeDir); |