[Python-checkins] cpython (merge 3.3 -> default): - Issue #3718: Use AC_ARG_VAR to set MACHDEP in configure.ac.

matthias.klose python-checkins at python.org
Sat Jan 26 19:00:37 CET 2013


http://hg.python.org/cpython/rev/6866384d9ccb
changeset:   81764:6866384d9ccb
parent:      81762:3a74ce3dfbf8
parent:      81763:8c49dd8e4d22
user:        doko at python.org
date:        Sat Jan 26 19:00:20 2013 +0100
summary:
  - Issue #3718: Use AC_ARG_VAR to set MACHDEP in configure.ac.

files:
  Misc/NEWS    |  2 ++
  configure    |  2 ++
  configure.ac |  2 +-
  3 files changed, 5 insertions(+), 1 deletions(-)


diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -765,6 +765,8 @@
 Build
 -----
 
+- Issue #3718: Use AC_ARG_VAR to set MACHDEP in configure.ac.
+
 - Issue #16235: Implement python-config as a shell script.
 
 - Issue #16769: Remove outdated Visual Studio projects.
diff --git a/configure b/configure
--- a/configure
+++ b/configure
@@ -812,6 +812,7 @@
       ac_precious_vars='build_alias
 host_alias
 target_alias
+MACHDEP
 CC
 CFLAGS
 LDFLAGS
@@ -1486,6 +1487,7 @@
                           default on supported compilers)
 
 Some influential environment variables:
+  MACHDEP     name for machine-dependent library files
   CC          C compiler command
   CFLAGS      C compiler flags
   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -348,7 +348,7 @@
 ##                           [Use (OpenStep|Rhapsody) dynamic linker]))
 ##
 # Set name for machine-dependent library files
-AC_SUBST(MACHDEP)
+AC_ARG_VAR([MACHDEP], [name for machine-dependent library files])
 AC_MSG_CHECKING(MACHDEP)
 if test -z "$MACHDEP"
 then

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list