summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2007-09-09 11:13:42 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2007-09-09 11:13:42 (GMT)
commit9bc2dd6321aed7b123b573733df5ae67ae1e07b7 (patch)
tree44889a20177fe0e1ab3e5cbc0ada849e7a8c8a92 /Makefile.pre.in
parent0539313b0996d86e3cf9d5bd666d9e1eaa525bca (diff)
downloadcpython-9bc2dd6321aed7b123b573733df5ae67ae1e07b7.zip
cpython-9bc2dd6321aed7b123b573733df5ae67ae1e07b7.tar.gz
cpython-9bc2dd6321aed7b123b573733df5ae67ae1e07b7.tar.bz2
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>
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 326d04b..eaefb07 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -82,6 +82,9 @@ prefix= @prefix@
# 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