[Python-checkins] r58061 - python/trunk/Makefile.pre.in

ronald.oussoren python-checkins at python.org
Sun Sep 9 13:13:43 CEST 2007


Author: ronald.oussoren
Date: Sun Sep  9 13:13:42 2007
New Revision: 58061

Modified:
   python/trunk/Makefile.pre.in
Log:
Newer autoconf versions (from 2.60) want a 'datarootdir' definition in
(Make-)files that use mandir (and other data directory macros).

This patch solves a warning during configure, specifically:

...
config.status: creating Makefile.pre
config.status: WARNING:  ../Makefile.pre.in seems to ignore the --datarootdir setting
...

See also: <http://www.gnu.org/software/automake/manual/autoconf/Changed-Directory-Variables.html>


Modified: python/trunk/Makefile.pre.in
==============================================================================
--- python/trunk/Makefile.pre.in	(original)
+++ python/trunk/Makefile.pre.in	Sun Sep  9 13:13:42 2007
@@ -82,6 +82,9 @@
 # Install prefix for architecture-dependent files
 exec_prefix=	@exec_prefix@
 
+# Install prefix for data files
+datarootdir=    @datarootdir@
+
 # Expanded directories
 BINDIR=		$(exec_prefix)/bin
 LIBDIR=		$(exec_prefix)/lib


More information about the Python-checkins mailing list