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
3dc0a514
Commit
3dc0a514
authored
Oct 05, 2000
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ Patch #101730 ] Add initial static support for Darwin/MacOSX.
By D.K. Wolfe.
parent
77317ca7
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
355 additions
and
343 deletions
+355
-343
configure
configure
+341
-335
configure.in
configure.in
+14
-8
No files found.
configure
View file @
3dc0a514
This diff is collapsed.
Click to expand it.
configure.in
View file @
3dc0a514
...
...
@@ -8,7 +8,7 @@ AC_CONFIG_HEADER(config.h)
AC_SUBST(VERSION)
VERSION=2.0
# NEXTSTEP stuff
# NEXTSTEP
|MacOSX|Darwin
stuff
if test -f /usr/lib/NextStep/software_version -o -f /System/Library/CoreServices/software_version ; then
AC_MSG_CHECKING(for --with-next-archs)
...
...
@@ -24,18 +24,23 @@ if test -f /usr/lib/NextStep/software_version -o -f /System/Library/CoreServices
if test -z "$MACHDEP"
then
ac_sys_system=`uname -s`
if test "$ac_sys_system" = "Darwin" ; then
ac_sys_release=`uname -r`
else
set X `hostinfo | egrep '(NeXT Mach|Kernel Release).*:' | \
sed -e 's/://' -e 's/\./_/'` && \
ac_sys_system=next && ac_sys_release=$4
sed -e 's/://' -e 's/\./_/'` && \
ac_sys_system=next && ac_sys_release=$4
fi
MACHDEP="$ac_sys_system$ac_sys_release"
MACHDEP="$ac_sys_system$ac_sys_release"
fi
fi
AC_ARG_WITH(next-framework,
[ --with-next-framework Build (OpenStep|Rhapsody|MacOSX) framework],,)
[ --with-next-framework Build (OpenStep|Rhapsody|MacOSX
|Darwin
) framework],,)
AC_ARG_WITH(dyld,
[ --with-dyld Use (OpenStep|Rhapsody|MacOSX) dynamic linker],,)
[ --with-dyld Use (OpenStep|Rhapsody|MacOSX
|Darwin
) dynamic linker],,)
# Set name for machine-dependent library files
AC_SUBST(MACHDEP)
...
...
@@ -574,12 +579,12 @@ then
hp*|HP*) LDSHARED="ld -b";;
OSF*) LDSHARED="ld -shared -expect_unresolved \"*\"";;
DYNIX/ptx*) LDSHARED="ld -G";;
next/*)
Darwin/*|
next/*)
if test "$ns_dyld"
then LDSHARED='$(CC) $(LDFLAGS) -bundle -prebind'
else LDSHARED='$(CC) $(CFLAGS) -nostdlib -r';
fi
if test "$with_next_framework" ; then
if test "$with_next_framework" ; then
LDSHARED="$LDSHARED \$(LDLIBRARY)"
fi ;;
Linux*) LDSHARED="gcc -shared";;
...
...
@@ -1150,6 +1155,7 @@ fi],
# check for --with-libm=...
AC_SUBST(LIBM)
case $ac_sys_system in
Darwin) ;;
next) ;;
BeOS) ;;
*) LIBM=-lm
...
...
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