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
3e6e2ac3
Commit
3e6e2ac3
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
e7e9c321
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
0 deletions
+18
-0
Makefile.pre.in
Makefile.pre.in
+4
-0
Misc/NEWS
Misc/NEWS
+2
-0
Tools/scripts/h2py.py
Tools/scripts/h2py.py
+5
-0
configure
configure
+4
-0
configure.ac
configure.ac
+3
-0
No files found.
Makefile.pre.in
View file @
3e6e2ac3
...
...
@@ -97,6 +97,9 @@ PY_CORE_CFLAGS= $(PY_CFLAGS) $(PY_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@
...
...
@@ -1040,6 +1043,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 @
3e6e2ac3
...
...
@@ -861,6 +861,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 @
3e6e2ac3
...
...
@@ -50,6 +50,11 @@ except KeyError:
searchdirs=os.environ['
INCLUDE
'].split('
;
')
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 @
3e6e2ac3
...
...
@@ -688,6 +688,7 @@ BLDLIBRARY
DLLLIBRARY
LDLIBRARY
LIBRARY
MULTIARCH
BUILDEXEEXT
EGREP
GREP
...
...
@@ -4750,6 +4751,9 @@ hp*|HP*)
esac
;;
esac
MULTIARCH
=
$(
$CC
--print-multiarch
2>/dev/null
)
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking LIBRARY"
>
&5
...
...
configure.ac
View file @
3e6e2ac3
...
...
@@ -593,6 +593,9 @@ hp*|HP*)
esac;;
esac
MULTIARCH=$($CC --print-multiarch 2>/dev/null)
AC_SUBST(MULTIARCH)
AC_SUBST(LIBRARY)
AC_MSG_CHECKING(LIBRARY)
...
...
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