Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
6bf85acf
Commit
6bf85acf
authored
Nov 04, 2018
by
Stéphane Wirtel
Committed by
Ned Deily
Nov 04, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[2.7] Docs: fix some wrong words (GH-6987) (GH-10315)
parent
421b41b0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
74 additions
and
18 deletions
+74
-18
aclocal.m4
aclocal.m4
+71
-3
configure
configure
+2
-14
configure.ac
configure.ac
+1
-1
No files found.
aclocal.m4
View file @
6bf85acf
...
@@ -12,9 +12,9 @@
...
@@ -12,9 +12,9 @@
# PARTICULAR PURPOSE.
# PARTICULAR PURPOSE.
m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
dnl
pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
#
pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
dnl
serial 11 (pkg-config-0.29.1)
#
serial 11 (pkg-config-0.29.1)
dnl
dnl Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
dnl Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
dnl Copyright © 2012-2015 Dan Nicholson <dbn.lists@gmail.com>
dnl Copyright © 2012-2015 Dan Nicholson <dbn.lists@gmail.com>
dnl
dnl
...
@@ -288,3 +288,71 @@ AS_VAR_COPY([$1], [pkg_cv_][$1])
...
@@ -288,3 +288,71 @@ AS_VAR_COPY([$1], [pkg_cv_][$1])
AS_VAR_IF([$1], [""], [$5], [$4])dnl
AS_VAR_IF([$1], [""], [$5], [$4])dnl
])dnl PKG_CHECK_VAR
])dnl PKG_CHECK_VAR
dnl PKG_WITH_MODULES(VARIABLE-PREFIX, MODULES,
dnl [ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND],
dnl [DESCRIPTION], [DEFAULT])
dnl ------------------------------------------
dnl
dnl Prepare a "--with-" configure option using the lowercase
dnl [VARIABLE-PREFIX] name, merging the behaviour of AC_ARG_WITH and
dnl PKG_CHECK_MODULES in a single macro.
AC_DEFUN([PKG_WITH_MODULES],
[
m4_pushdef([with_arg], m4_tolower([$1]))
m4_pushdef([description],
[m4_default([$5], [build with ]with_arg[ support])])
m4_pushdef([def_arg], [m4_default([$6], [auto])])
m4_pushdef([def_action_if_found], [AS_TR_SH([with_]with_arg)=yes])
m4_pushdef([def_action_if_not_found], [AS_TR_SH([with_]with_arg)=no])
m4_case(def_arg,
[yes],[m4_pushdef([with_without], [--without-]with_arg)],
[m4_pushdef([with_without],[--with-]with_arg)])
AC_ARG_WITH(with_arg,
AS_HELP_STRING(with_without, description[ @<:@default=]def_arg[@:>@]),,
[AS_TR_SH([with_]with_arg)=def_arg])
AS_CASE([$AS_TR_SH([with_]with_arg)],
[yes],[PKG_CHECK_MODULES([$1],[$2],$3,$4)],
[auto],[PKG_CHECK_MODULES([$1],[$2],
[m4_n([def_action_if_found]) $3],
[m4_n([def_action_if_not_found]) $4])])
m4_popdef([with_arg])
m4_popdef([description])
m4_popdef([def_arg])
])dnl PKG_WITH_MODULES
dnl PKG_HAVE_WITH_MODULES(VARIABLE-PREFIX, MODULES,
dnl [DESCRIPTION], [DEFAULT])
dnl -----------------------------------------------
dnl
dnl Convenience macro to trigger AM_CONDITIONAL after PKG_WITH_MODULES
dnl check._[VARIABLE-PREFIX] is exported as make variable.
AC_DEFUN([PKG_HAVE_WITH_MODULES],
[
PKG_WITH_MODULES([$1],[$2],,,[$3],[$4])
AM_CONDITIONAL([HAVE_][$1],
[test "$AS_TR_SH([with_]m4_tolower([$1]))" = "yes"])
])dnl PKG_HAVE_WITH_MODULES
dnl PKG_HAVE_DEFINE_WITH_MODULES(VARIABLE-PREFIX, MODULES,
dnl [DESCRIPTION], [DEFAULT])
dnl ------------------------------------------------------
dnl
dnl Convenience macro to run AM_CONDITIONAL and AC_DEFINE after
dnl PKG_WITH_MODULES check. HAVE_[VARIABLE-PREFIX] is exported as make
dnl and preprocessor variable.
AC_DEFUN([PKG_HAVE_DEFINE_WITH_MODULES],
[
PKG_HAVE_WITH_MODULES([$1],[$2],[$3],[$4])
AS_IF([test "$AS_TR_SH([with_]m4_tolower([$1]))" = "yes"],
[AC_DEFINE([HAVE_][$1], 1, [Enable ]m4_tolower([$1])[ support])])
])dnl PKG_HAVE_DEFINE_WITH_MODULES
configure
View file @
6bf85acf
...
@@ -769,7 +769,6 @@ infodir
...
@@ -769,7 +769,6 @@ infodir
docdir
docdir
oldincludedir
oldincludedir
includedir
includedir
runstatedir
localstatedir
localstatedir
sharedstatedir
sharedstatedir
sysconfdir
sysconfdir
...
@@ -881,7 +880,6 @@ datadir='${datarootdir}'
...
@@ -881,7 +880,6 @@ datadir='${datarootdir}'
sysconfdir
=
'${prefix}/etc'
sysconfdir
=
'${prefix}/etc'
sharedstatedir
=
'${prefix}/com'
sharedstatedir
=
'${prefix}/com'
localstatedir
=
'${prefix}/var'
localstatedir
=
'${prefix}/var'
runstatedir
=
'${localstatedir}/run'
includedir
=
'${prefix}/include'
includedir
=
'${prefix}/include'
oldincludedir
=
'/usr/include'
oldincludedir
=
'/usr/include'
docdir
=
'${datarootdir}/doc/${PACKAGE_TARNAME}'
docdir
=
'${datarootdir}/doc/${PACKAGE_TARNAME}'
...
@@ -1134,15 +1132,6 @@ do
...
@@ -1134,15 +1132,6 @@ do
|
-silent
|
--silent
|
--silen
|
--sile
|
--sil
)
|
-silent
|
--silent
|
--silen
|
--sile
|
--sil
)
silent
=
yes
;;
silent
=
yes
;;
-runstatedir
|
--runstatedir
|
--runstatedi
|
--runstated
\
|
--runstate
|
--runstat
|
--runsta
|
--runst
|
--runs
\
|
--run
|
--ru
|
--r
)
ac_prev
=
runstatedir
;;
-runstatedir
=
*
|
--runstatedir
=
*
|
--runstatedi
=
*
|
--runstated
=
*
\
|
--runstate
=
*
|
--runstat
=
*
|
--runsta
=
*
|
--runst
=
*
|
--runs
=
*
\
|
--run
=
*
|
--ru
=
*
|
--r
=
*
)
runstatedir
=
$ac_optarg
;;
-sbindir
|
--sbindir
|
--sbindi
|
--sbind
|
--sbin
|
--sbi
|
--sb
)
-sbindir
|
--sbindir
|
--sbindi
|
--sbind
|
--sbin
|
--sbi
|
--sb
)
ac_prev
=
sbindir
;;
ac_prev
=
sbindir
;;
-sbindir
=
*
|
--sbindir
=
*
|
--sbindi
=
*
|
--sbind
=
*
|
--sbin
=
*
\
-sbindir
=
*
|
--sbindir
=
*
|
--sbindi
=
*
|
--sbind
=
*
|
--sbin
=
*
\
...
@@ -1280,7 +1269,7 @@ fi
...
@@ -1280,7 +1269,7 @@ fi
for
ac_var
in
exec_prefix prefix bindir sbindir libexecdir datarootdir
\
for
ac_var
in
exec_prefix prefix bindir sbindir libexecdir datarootdir
\
datadir sysconfdir sharedstatedir localstatedir includedir
\
datadir sysconfdir sharedstatedir localstatedir includedir
\
oldincludedir docdir infodir htmldir dvidir pdfdir psdir
\
oldincludedir docdir infodir htmldir dvidir pdfdir psdir
\
libdir localedir mandir
runstatedir
libdir localedir mandir
do
do
eval
ac_val
=
\$
$ac_var
eval
ac_val
=
\$
$ac_var
# Remove trailing slashes.
# Remove trailing slashes.
...
@@ -1433,7 +1422,6 @@ Fine tuning of the installation directories:
...
@@ -1433,7 +1422,6 @@ Fine tuning of the installation directories:
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
--libdir=DIR object code libraries [EPREFIX/lib]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
...
@@ -3052,7 +3040,7 @@ if test "${enable_universalsdk+set}" = set; then :
...
@@ -3052,7 +3040,7 @@ if test "${enable_universalsdk+set}" = set; then :
enableval
=
$enable_universalsdk
;
enableval
=
$enable_universalsdk
;
case
$enableval
in
case
$enableval
in
yes
)
yes
)
# Locate the best usable SDK, see Mac/README
.txt
for more
# Locate the best usable SDK, see Mac/README for more
# information
# information
enableval
=
"
`
/usr/bin/xcodebuild
-version
-sdk
macosx Path 2>/dev/null
`
"
enableval
=
"
`
/usr/bin/xcodebuild
-version
-sdk
macosx Path 2>/dev/null
`
"
if
!
(
echo
$enableval
|
grep
-E
'\.sdk'
1>/dev/null
)
if
!
(
echo
$enableval
|
grep
-E
'\.sdk'
1>/dev/null
)
...
...
configure.ac
View file @
6bf85acf
...
@@ -117,7 +117,7 @@ AC_ARG_ENABLE(universalsdk,
...
@@ -117,7 +117,7 @@ AC_ARG_ENABLE(universalsdk,
[
[
case $enableval in
case $enableval in
yes)
yes)
# Locate the best usable SDK, see Mac/README
.txt
for more
# Locate the best usable SDK, see Mac/README for more
# information
# information
enableval="`/usr/bin/xcodebuild -version -sdk macosx Path 2>/dev/null`"
enableval="`/usr/bin/xcodebuild -version -sdk macosx Path 2>/dev/null`"
if ! ( echo $enableval | grep -E '\.sdk' 1>/dev/null )
if ! ( echo $enableval | grep -E '\.sdk' 1>/dev/null )
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment