[CLN-list] Use datarootdir
Ralf Wildenhues
Ralf.Wildenhues at gmx.de
Tue Apr 25 18:06:41 CEST 2006
The other change for Autoconf-2.60:
If you bootstrap CLN with Autoconf-2.59c, config.status will warn you:
| config.status: creating Makefile
| config.status: WARNING: ../cln/Makefile.in seems to ignore the --datarootdir setting
| config.status: creating src/Makefile
| config.status: WARNING: ../cln/src/Makefile.in seems to ignore the --datarootdir setting
| config.status: creating tests/Makefile
| config.status: creating benchmarks/Makefile
| config.status: creating examples/Makefile
| config.status: creating doc/Makefile
| config.status: WARNING: ../cln/doc/Makefile.in seems to ignore the --datarootdir setting
and turn on the backward compatibility setting for those Makefiles.
The backward-compatible patch below fixes this. :-)
Cheers,
Ralf
* Makefile.in: Set datarootdir.
* doc/Makefile.in, src/Makefile.in: Likewise.
Index: Makefile.in
===================================================================
RCS file: /home/cvs/cln/Makefile.in,v
retrieving revision 1.13
diff -u -r1.13 Makefile.in
--- Makefile.in 10 Jun 2005 16:16:33 -0000 1.13
+++ Makefile.in 25 Apr 2006 16:05:08 -0000
@@ -8,6 +8,7 @@
exec_prefix = @exec_prefix@
srcdir = @srcdir@
bindir = @bindir@
+datarootdir = @datarootdir@
datadir = @datadir@
libdir = @libdir@
includedir = @includedir@
Index: doc/Makefile.in
===================================================================
RCS file: /home/cvs/cln/doc/Makefile.in,v
retrieving revision 1.7
diff -u -r1.7 Makefile.in
--- doc/Makefile.in 26 Oct 2004 22:23:41 -0000 1.7
+++ doc/Makefile.in 25 Apr 2006 16:05:08 -0000
@@ -9,6 +9,7 @@
prefix = @prefix@
local_prefix = /usr/local
exec_prefix = @exec_prefix@
+datarootdir = @datarootdir@
datadir = @datadir@
infodir = @infodir@
mandir = @mandir@
Index: src/Makefile.in
===================================================================
RCS file: /home/cvs/cln/src/Makefile.in,v
retrieving revision 1.18
diff -u -r1.18 Makefile.in
--- src/Makefile.in 22 Oct 2005 09:09:02 -0000 1.18
+++ src/Makefile.in 25 Apr 2006 16:05:08 -0000
@@ -10,6 +10,7 @@
prefix = @prefix@
local_prefix = /usr/local
exec_prefix = @exec_prefix@
+datarootdir = @datarootdir@
datadir = @datadir@
libdir = @libdir@
includedir = @includedir@
More information about the CLN-list
mailing list