summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordoko@python.org <doko@python.org>2013-01-26 19:00:20 +0100
committerdoko@python.org <doko@python.org>2013-01-26 19:00:20 +0100
commit682d8d4aaadc57c059e2f53a00c328e99050f3a8 (patch)
tree71a8d80dd32aac36ee7f4e61dbeebd1e08348692
parente103d689acf796a132eea9358981614171836fad (diff)
parenteab42bf094d9951b38660538f3e15d90f952b650 (diff)
downloadcpython-git-682d8d4aaadc57c059e2f53a00c328e99050f3a8.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 80c6912f74..01842ce5c2 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -765,6 +765,8 @@ Tests
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
index 95c694a237..e63ae17618 100755
--- a/configure
+++ b/configure
@@ -812,6 +812,7 @@ with_computed_gotos
ac_precious_vars='build_alias
host_alias
target_alias
+MACHDEP
CC
CFLAGS
LDFLAGS
@@ -1486,6 +1487,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 a0b5066ee3..ec1abb4d31 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