]> granicus.if.org Git - python/commitdiff
- Issue #3718: Use AC_ARG_VAR to set MACHDEP in configure.ac.
authordoko@python.org <doko@python.org>
Sat, 26 Jan 2013 17:57:19 +0000 (18:57 +0100)
committerdoko@python.org <doko@python.org>
Sat, 26 Jan 2013 17:57:19 +0000 (18:57 +0100)
Misc/NEWS
configure
configure.ac

index 108857bdfb407b82048ef92f993f378cdf73c9e7..c58ab661e988514adc4a788d0e7ca6d6afa06f56 100644 (file)
--- 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.
index 6edeb11e6d8b50735c2f740fd80d54e9de9c8073..b881602e46d647e91181b2a77fdcbd4f1f20f521 100755 (executable)
--- 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
index 15bd43ce81e2664e17faf27a67a858955be42dec..b555f2726cbbb7bf25438bfc011bc401761ded1f 100644 (file)
@@ -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