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
5e259c80
Commit
5e259c80
authored
Mar 15, 2012
by
Benjamin Peterson
Browse files
Options
Browse Files
Download
Plain Diff
merge heads
parents
f50af113
ca2f6ecf
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
3421 additions
and
29 deletions
+3421
-29
Misc/NEWS
Misc/NEWS
+3
-0
config.guess
config.guess
+1530
-0
config.sub
config.sub
+1773
-0
configure
configure
+113
-29
configure.ac
configure.ac
+2
-0
No files found.
Misc/NEWS
View file @
5e259c80
...
...
@@ -115,6 +115,9 @@ Build
-
Issue
#
14324
:
Fix
configure
tests
for
cross
builds
.
-
Issue
#
14327
:
Call
AC_CANONICAL_HOST
in
configure
.
ac
and
check
in
config
.{
guess
,
sub
}.
Extension
Modules
-----------------
...
...
config.guess
0 → 100755
View file @
5e259c80
This diff is collapsed.
Click to expand it.
config.sub
0 → 100755
View file @
5e259c80
This diff is collapsed.
Click to expand it.
configure
View file @
5e259c80
...
...
@@ -696,6 +696,14 @@ UNIVERSALSDK
CONFIG_ARGS
SOVERSION
VERSION
host_os
host_vendor
host_cpu
host
build_os
build_vendor
build_cpu
build
HAS_HG
HGBRANCH
HGTAG
...
...
@@ -1377,6 +1385,10 @@ Fine tuning of the installation directories:
_ACEOF
cat
<<
\
_ACEOF
System types:
--build=BUILD configure for building on BUILD [guessed]
--host=HOST cross-compile to build programs to run on HOST [BUILD]
_ACEOF
fi
...
...
@@ -2760,6 +2772,107 @@ fi
ac_config_headers
=
"
$ac_config_headers
pyconfig.h"
ac_aux_dir
=
for
ac_dir
in
"
$srcdir
"
"
$srcdir
/.."
"
$srcdir
/../.."
;
do
if
test
-f
"
$ac_dir
/install-sh"
;
then
ac_aux_dir
=
$ac_dir
ac_install_sh
=
"
$ac_aux_dir
/install-sh -c"
break
elif
test
-f
"
$ac_dir
/install.sh"
;
then
ac_aux_dir
=
$ac_dir
ac_install_sh
=
"
$ac_aux_dir
/install.sh -c"
break
elif
test
-f
"
$ac_dir
/shtool"
;
then
ac_aux_dir
=
$ac_dir
ac_install_sh
=
"
$ac_aux_dir
/shtool install -c"
break
fi
done
if
test
-z
"
$ac_aux_dir
"
;
then
as_fn_error
$?
"cannot find install-sh, install.sh, or shtool in
\"
$srcdir
\"
\"
$srcdir
/..
\"
\"
$srcdir
/../..
\"
"
"
$LINENO
"
5
fi
# These three variables are undocumented and unsupported,
# and are intended to be withdrawn in a future Autoconf release.
# They can cause serious problems if a builder's source tree is in a directory
# whose full name contains unusual characters.
ac_config_guess
=
"
$SHELL
$ac_aux_dir
/config.guess"
# Please don't use this var.
ac_config_sub
=
"
$SHELL
$ac_aux_dir
/config.sub"
# Please don't use this var.
ac_configure
=
"
$SHELL
$ac_aux_dir
/configure"
# Please don't use this var.
# Make sure we can run config.sub.
$SHELL
"
$ac_aux_dir
/config.sub"
sun4
>
/dev/null 2>&1
||
as_fn_error
$?
"cannot run
$SHELL
$ac_aux_dir
/config.sub"
"
$LINENO
"
5
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking build system type"
>
&5
$as_echo_n
"checking build system type... "
>
&6
;
}
if
${
ac_cv_build
+
:
}
false
;
then
:
$as_echo_n
"(cached) "
>
&6
else
ac_build_alias
=
$build_alias
test
"x
$ac_build_alias
"
=
x
&&
ac_build_alias
=
`
$SHELL
"
$ac_aux_dir
/config.guess"
`
test
"x
$ac_build_alias
"
=
x
&&
as_fn_error
$?
"cannot guess build type; you must specify one"
"
$LINENO
"
5
ac_cv_build
=
`
$SHELL
"
$ac_aux_dir
/config.sub"
$ac_build_alias
`
||
as_fn_error
$?
"
$SHELL
$ac_aux_dir
/config.sub
$ac_build_alias
failed"
"
$LINENO
"
5
fi
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$ac_cv_build
"
>
&5
$as_echo
"
$ac_cv_build
"
>
&6
;
}
case
$ac_cv_build
in
*
-
*
-
*
)
;;
*
)
as_fn_error
$?
"invalid value of canonical build"
"
$LINENO
"
5
;;
esac
build
=
$ac_cv_build
ac_save_IFS
=
$IFS
;
IFS
=
'-'
set
x
$ac_cv_build
shift
build_cpu
=
$1
build_vendor
=
$2
shift
;
shift
# Remember, the first character of IFS is used to create $*,
# except with old shells:
build_os
=
$*
IFS
=
$ac_save_IFS
case
$build_os
in
*
\
*
)
build_os
=
`
echo
"
$build_os
"
|
sed
's/ /-/g'
`
;;
esac
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking host system type"
>
&5
$as_echo_n
"checking host system type... "
>
&6
;
}
if
${
ac_cv_host
+
:
}
false
;
then
:
$as_echo_n
"(cached) "
>
&6
else
if
test
"x
$host_alias
"
=
x
;
then
ac_cv_host
=
$ac_cv_build
else
ac_cv_host
=
`
$SHELL
"
$ac_aux_dir
/config.sub"
$host_alias
`
||
as_fn_error
$?
"
$SHELL
$ac_aux_dir
/config.sub
$host_alias
failed"
"
$LINENO
"
5
fi
fi
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$ac_cv_host
"
>
&5
$as_echo
"
$ac_cv_host
"
>
&6
;
}
case
$ac_cv_host
in
*
-
*
-
*
)
;;
*
)
as_fn_error
$?
"invalid value of canonical host"
"
$LINENO
"
5
;;
esac
host
=
$ac_cv_host
ac_save_IFS
=
$IFS
;
IFS
=
'-'
set
x
$ac_cv_host
shift
host_cpu
=
$1
host_vendor
=
$2
shift
;
shift
# Remember, the first character of IFS is used to create $*,
# except with old shells:
host_os
=
$*
IFS
=
$ac_save_IFS
case
$host_os
in
*
\
*
)
host_os
=
`
echo
"
$host_os
"
|
sed
's/ /-/g'
`
;;
esac
if
test
"
$prefix
"
!=
"/"
;
then
prefix
=
`
echo
"
$prefix
"
|
sed
-e
's/\/$//g'
`
...
...
@@ -5261,35 +5374,6 @@ bsdos*|hp*|HP*)
INSTALL
=
"
${
srcdir
}
/install-sh -c"
fi
esac
ac_aux_dir
=
for
ac_dir
in
"
$srcdir
"
"
$srcdir
/.."
"
$srcdir
/../.."
;
do
if
test
-f
"
$ac_dir
/install-sh"
;
then
ac_aux_dir
=
$ac_dir
ac_install_sh
=
"
$ac_aux_dir
/install-sh -c"
break
elif
test
-f
"
$ac_dir
/install.sh"
;
then
ac_aux_dir
=
$ac_dir
ac_install_sh
=
"
$ac_aux_dir
/install.sh -c"
break
elif
test
-f
"
$ac_dir
/shtool"
;
then
ac_aux_dir
=
$ac_dir
ac_install_sh
=
"
$ac_aux_dir
/shtool install -c"
break
fi
done
if
test
-z
"
$ac_aux_dir
"
;
then
as_fn_error
$?
"cannot find install-sh, install.sh, or shtool in
\"
$srcdir
\"
\"
$srcdir
/..
\"
\"
$srcdir
/../..
\"
"
"
$LINENO
"
5
fi
# These three variables are undocumented and unsupported,
# and are intended to be withdrawn in a future Autoconf release.
# They can cause serious problems if a builder's source tree is in a directory
# whose full name contains unusual characters.
ac_config_guess
=
"
$SHELL
$ac_aux_dir
/config.guess"
# Please don't use this var.
ac_config_sub
=
"
$SHELL
$ac_aux_dir
/config.sub"
# Please don't use this var.
ac_configure
=
"
$SHELL
$ac_aux_dir
/configure"
# Please don't use this var.
# Find a good install program. We prefer a C program (faster),
# so one script is as good as another. But avoid the broken or
# incompatible versions:
...
...
configure.ac
View file @
5e259c80
...
...
@@ -33,6 +33,8 @@ fi
AC_CONFIG_SRCDIR([Include/object.h])
AC_CONFIG_HEADER(pyconfig.h)
AC_CANONICAL_HOST
dnl Ensure that if prefix is specified, it does not end in a slash. If
dnl it does, we get path names containing '//' which is both ugly and
dnl can cause trouble.
...
...
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