summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordoko <doko@python.org>2013-01-26 18:57:19 +0100
committerdoko <doko@python.org>2013-01-26 18:57:19 +0100
commit4dd2922f70ad79931efdf957af3ccd9d097d13d5 (patch)
tree17aac8c071feaf7a84d1647a411d2249e03560e6
parentc2095a02e6fc0afee70bf45bbb1c0c59fdc09bdb (diff)
downloadcpython-4dd2922f70ad79931efdf957af3ccd9d097d13d5.tar.gz
- Issue #3718: Use AC_ARG_VAR to set MACHDEP in configure.ac.
-rw-r--r--Misc/NEWS2
-rwxr-xr-xconfigure2
-rw-r--r--configure.ac2
3 files changed, 5 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 108857bdfb..c58ab661e9 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -547,6 +547,8 @@ Tests
Build
-----
+- Issue #3718: Use AC_ARG_VAR to set MACHDEP in configure.ac.
+
- Issue #17031: Fix running regen in cross builds.
- Issue #3754: fix typo in pthread AC_CACHE_VAL.
diff --git a/configure b/configure
index 6edeb11e6d..b881602e46 100755
--- a/configure
+++ b/configure
@@ -810,6 +810,7 @@ with_computed_gotos
ac_precious_vars='build_alias
host_alias
target_alias
+MACHDEP
CC
CFLAGS
LDFLAGS
@@ -1484,6 +1485,7 @@ Optional Packages:
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
index 15bd43ce81..b555f2726c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -348,7 +348,7 @@ AC_SUBST(FRAMEWORKINSTALLAPPSPREFIX)
## [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