summaryrefslogtreecommitdiff
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2007-09-09 11:13:42 +0000
committerRonald Oussoren <ronaldoussoren@mac.com>2007-09-09 11:13:42 +0000
commit8a38b2297b6869b45063ea11e0c1a9366f932e0d (patch)
treec54057e4174d6d576897c13057f977b8634190bb /Makefile.pre.in
parent459e0982069fe69dd80990f94050791cb7e120dd (diff)
downloadcpython-8a38b2297b6869b45063ea11e0c1a9366f932e0d.tar.gz
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 326d04b198..eaefb07c7f 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