Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
aee3c76a
Kaydet (Commit)
aee3c76a
authored
Eki 21, 2012
tarafından
Matthias Klose
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
- Issue #16262: fix out-of-src-tree builds, if mercurial is not installed.
üst
18b7fcc7
c4c4842d
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
31 additions
and
25 deletions
+31
-25
Makefile.pre.in
Makefile.pre.in
+1
-1
NEWS
Misc/NEWS
+2
-0
asdl_c.py
Parser/asdl_c.py
+0
-1
configure
configure
+22
-17
configure.ac
configure.ac
+6
-6
No files found.
Makefile.pre.in
Dosyayı görüntüle @
aee3c76a
...
@@ -308,7 +308,7 @@ AST_ASDL= $(srcdir)/Parser/Python.asdl
...
@@ -308,7 +308,7 @@ AST_ASDL= $(srcdir)/Parser/Python.asdl
ASDLGEN_FILES
=
$(srcdir)
/Parser/asdl.py
$(srcdir)
/Parser/asdl_c.py
ASDLGEN_FILES
=
$(srcdir)
/Parser/asdl.py
$(srcdir)
/Parser/asdl_c.py
# XXX Note that a build now requires Python exist before the build starts
# XXX Note that a build now requires Python exist before the build starts
ASDLGEN
=
@
DISABLE_
ASDLGEN@
$(srcdir)
/Parser/asdl_c.py
ASDLGEN
=
@ASDLGEN@
$(srcdir)
/Parser/asdl_c.py
##########################################################################
##########################################################################
# Python
# Python
...
...
Misc/NEWS
Dosyayı görüntüle @
aee3c76a
...
@@ -140,6 +140,8 @@ Tests
...
@@ -140,6 +140,8 @@ Tests
Build
Build
-----
-----
- Issue #16262: fix out-of-src-tree builds, if mercurial is not installed.
- Issue #15298: ensure _sysconfigdata is generated in build directory, not
- Issue #15298: ensure _sysconfigdata is generated in build directory, not
source directory.
source directory.
...
...
Parser/asdl_c.py
Dosyayı görüntüle @
aee3c76a
...
@@ -5,7 +5,6 @@
...
@@ -5,7 +5,6 @@
# handle fields that have a type but no name
# handle fields that have a type but no name
import
os
,
sys
import
os
,
sys
import
subprocess
import
asdl
import
asdl
...
...
configure
Dosyayı görüntüle @
aee3c76a
...
@@ -644,8 +644,8 @@ MKDIR_P
...
@@ -644,8 +644,8 @@ MKDIR_P
INSTALL_DATA
INSTALL_DATA
INSTALL_SCRIPT
INSTALL_SCRIPT
INSTALL_PROGRAM
INSTALL_PROGRAM
HAS_
PYTHON
PYTHON
DISABLE_
ASDLGEN
ASDLGEN
ac_ct_READELF
ac_ct_READELF
READELF
READELF
ARFLAGS
ARFLAGS
...
@@ -5923,16 +5923,17 @@ fi
...
@@ -5923,16 +5923,17 @@ fi
DISABLE_ASDLGEN
=
""
for
ac_prog
in
python
$PACKAGE_VERSION
python3 python
# Extract the first word of "python", so it can be a program name with args.
do
set
dummy python
;
ac_word
=
$2
# Extract the first word of "$ac_prog", so it can be a program name with args.
set
dummy
$ac_prog
;
ac_word
=
$2
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for
$ac_word
"
>
&5
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for
$ac_word
"
>
&5
$as_echo_n
"checking for
$ac_word
... "
>
&6
;
}
$as_echo_n
"checking for
$ac_word
... "
>
&6
;
}
if
${
ac_cv_prog_
HAS_
PYTHON
+
:
}
false
;
then
:
if
${
ac_cv_prog_PYTHON
+
:
}
false
;
then
:
$as_echo_n
"(cached) "
>
&6
$as_echo_n
"(cached) "
>
&6
else
else
if
test
-n
"
$
HAS_
PYTHON
"
;
then
if
test
-n
"
$PYTHON
"
;
then
ac_cv_prog_
HAS_PYTHON
=
"
$HAS_
PYTHON
"
# Let the user override the test.
ac_cv_prog_
PYTHON
=
"
$
PYTHON
"
# Let the user override the test.
else
else
as_save_IFS
=
$IFS
;
IFS
=
$PATH_SEPARATOR
as_save_IFS
=
$IFS
;
IFS
=
$PATH_SEPARATOR
for
as_dir
in
$PATH
for
as_dir
in
$PATH
...
@@ -5941,7 +5942,7 @@ do
...
@@ -5941,7 +5942,7 @@ do
test
-z
"
$as_dir
"
&&
as_dir
=
.
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
if
{
test
-f
"
$as_dir
/
$ac_word$ac_exec_ext
"
&&
$as_test_x
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
}
;
then
if
{
test
-f
"
$as_dir
/
$ac_word$ac_exec_ext
"
&&
$as_test_x
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
}
;
then
ac_cv_prog_
HAS_PYTHON
=
"found
"
ac_cv_prog_
PYTHON
=
"
$ac_prog
"
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
break
2
break
2
fi
fi
...
@@ -5949,22 +5950,26 @@ done
...
@@ -5949,22 +5950,26 @@ done
done
done
IFS
=
$as_save_IFS
IFS
=
$as_save_IFS
test
-z
"
$ac_cv_prog_HAS_PYTHON
"
&&
ac_cv_prog_HAS_PYTHON
=
"not-found"
fi
fi
fi
fi
HAS_PYTHON
=
$ac_cv_prog_HAS
_PYTHON
PYTHON
=
$ac_cv_prog
_PYTHON
if
test
-n
"
$
HAS_
PYTHON
"
;
then
if
test
-n
"
$PYTHON
"
;
then
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$
HAS_
PYTHON
"
>
&5
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$PYTHON
"
>
&5
$as_echo
"
$
HAS_
PYTHON
"
>
&6
;
}
$as_echo
"
$PYTHON
"
>
&6
;
}
else
else
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result: no"
>
&5
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result: no"
>
&5
$as_echo
"no"
>
&6
;
}
$as_echo
"no"
>
&6
;
}
fi
fi
if
test
$HAS_HG
!=
found
-o
$HAS_PYTHON
!=
found
test
-n
"
$PYTHON
"
&&
break
then
done
DISABLE_ASDLGEN
=
"@echo hg:
$HAS_HG
, python:
$HAS_PYTHON
! cannot run
\$
(srcdir)/Parser/asdl_c.py #"
test
-n
"
$PYTHON
"
||
PYTHON
=
"not-found"
if
$PYTHON
=
not-found
;
then
ASDLGEN
=
"@echo python:
$PYTHON
! cannot run
\$
(srcdir)/Parser/asdl_c.py #"
else
ASDLGEN
=
"
$PYTHON
"
fi
fi
...
...
configure.ac
Dosyayı görüntüle @
aee3c76a
...
@@ -1000,12 +1000,12 @@ if test "$cross_compiling" = yes; then
...
@@ -1000,12 +1000,12 @@ if test "$cross_compiling" = yes; then
fi
fi
AC_SUBST(READELF)
AC_SUBST(READELF)
AC_SUBST(
DISABLE_
ASDLGEN)
AC_SUBST(ASDLGEN)
DISABLE_ASDLGEN=""
AC_CHECK_PROGS(PYTHON, python$PACKAGE_VERSION python3 python, not-found)
AC_CHECK_PROG(HAS_PYTHON, python, found, not-found)
if $PYTHON = not-found; then
if test $HAS_HG != found -o $HAS_PYTHON != found
ASDLGEN="@echo python: $PYTHON! cannot run \$(srcdir)/Parser/asdl_c.py #"
then
else
DISABLE_ASDLGEN="@echo hg: $HAS_HG, python: $HAS_PYTHON! cannot run \$(srcdir)/Parser/asdl_c.py #
"
ASDLGEN="$PYTHON
"
fi
fi
...
...
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