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
4e63fbe0
Commit
4e63fbe0
authored
Jan 25, 2013
by
doko@python.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Issue #17029: Let h2py search the multiarch system include directory.
parent
b09ec9b6
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
0 deletions
+19
-0
Makefile.pre.in
Makefile.pre.in
+4
-0
Misc/NEWS
Misc/NEWS
+2
-0
Tools/scripts/h2py.py
Tools/scripts/h2py.py
+6
-0
configure
configure
+4
-0
configure.ac
configure.ac
+3
-0
No files found.
Makefile.pre.in
View file @
4e63fbe0
...
...
@@ -86,6 +86,9 @@ PY_CFLAGS= $(CFLAGS) $(CPPFLAGS) $(CFLAGSFORSHARED) -DPy_BUILD_CORE
# Machine-dependent subdirectories
MACHDEP
=
@MACHDEP@
# Multiarch directory (may be empty)
MULTIARCH
=
@MULTIARCH@
# Install prefix for architecture-independent files
prefix
=
@prefix@
...
...
@@ -980,6 +983,7 @@ $(srcdir)/Lib/$(PLATDIR):
export
PYTHONPATH
;
PYTHONPATH
=
"
`
pwd
`
/Lib"
;
\
export
DYLD_FRAMEWORK_PATH
;
DYLD_FRAMEWORK_PATH
=
"
`
pwd
`
"
;
\
export
EXE
;
EXE
=
"
$(BUILDEXE)
"
;
\
if
[
-n
"
$(MULTIARCH)
"
]
;
then
export
MULTIARCH
;
MULTIARCH
=
$(MULTIARCH)
;
fi
;
\
cd
$(srcdir)
/Lib/
$(PLATDIR)
;
$(RUNSHARED)
./regen
python-config
:
$(srcdir)/Misc/python-config.in
...
...
Misc/NEWS
View file @
4e63fbe0
...
...
@@ -706,6 +706,8 @@ Tests
Build
-----
-
Issue
#
17029
:
Let
h2py
search
the
multiarch
system
include
directory
.
-
Issue
#
16953
:
Fix
socket
module
compilation
on
platforms
with
HAVE_BROKEN_POLL
.
Patch
by
Jeffrey
Armstrong
.
...
...
Tools/scripts/h2py.py
View file @
4e63fbe0
...
...
@@ -58,6 +58,12 @@ except KeyError:
raise KeyError
except KeyError:
searchdirs=['
/
usr
/
include
']
try:
searchdirs.insert(0, os.path.join('
/
usr
/
include
',
os.environ['
MULTIARCH
']))
except KeyError:
pass
def main():
global filedict
...
...
configure
View file @
4e63fbe0
...
...
@@ -686,6 +686,7 @@ BUILDEXEEXT
EGREP
GREP
CPP
MULTIARCH
MAINCC
CXX
OBJEXT
...
...
@@ -4281,6 +4282,9 @@ $as_echo "$as_me: WARNING:
"
>
&2
;
}
fi
MULTIARCH
=
$(
$CC
--print-multiarch
2>/dev/null
)
# checks for UNIX variants that set C preprocessor variables
...
...
configure.ac
View file @
4e63fbe0
...
...
@@ -603,6 +603,9 @@ then
])
fi
MULTIARCH=$($CC --print-multiarch 2>/dev/null)
AC_SUBST(MULTIARCH)
# checks for UNIX variants that set C preprocessor variables
AC_USE_SYSTEM_EXTENSIONS
...
...
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