mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Define datarootdir in Makefile.config.in, for better Autoconf compatibility.
With Autoconf 2.60a, the default values of datadir, infodir, and mandir refer to ${datarootdir}. If Makefile.config.in does not define datarootdir, Autoconf detects this and expands ${datarootdir} when it substitutes expressions like @datadir@, but it also outputs the following warning: config.status: creating Makefile.config config.status: WARNING: /home/Kalle/src/elinks/Makefile.config.in seems to ignore the --datarootdir setting According to a comment in config.status, "This hack should be removed a few years after 2.60." So it seems best to prepare for that now by defining datarootdir = @datarootdir@ in Makefile.config.in. Earlier versions of Autoconf may leave that line unexpanded; but because the makefiles do not directly refer to ${datarootdir}, there's no harm.
This commit is contained in:
parent
9818f665a8
commit
388b1b0efd
@ -21,6 +21,7 @@ exec_prefix = @exec_prefix@
|
|||||||
bindir = @bindir@
|
bindir = @bindir@
|
||||||
sbindir = @sbindir@
|
sbindir = @sbindir@
|
||||||
libexecdir = @libexecdir@
|
libexecdir = @libexecdir@
|
||||||
|
datarootdir = @datarootdir@
|
||||||
datadir = @datadir@
|
datadir = @datadir@
|
||||||
sysconfdir = @sysconfdir@
|
sysconfdir = @sysconfdir@
|
||||||
sharedstatedir = @sharedstatedir@
|
sharedstatedir = @sharedstatedir@
|
||||||
|
Loading…
Reference in New Issue
Block a user