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
7e777923
Commit
7e777923
authored
Feb 17, 2006
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch #1432345: Make python compile on DragonFly.
parent
c05e7412
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
9 deletions
+13
-9
Misc/NEWS
Misc/NEWS
+2
-0
configure
configure
+6
-5
configure.in
configure.in
+5
-4
No files found.
Misc/NEWS
View file @
7e777923
...
...
@@ -701,6 +701,8 @@ Library
Build
-----
-
Patch
#
1432345
:
Make
python
compile
on
DragonFly
.
-
Build
support
for
Win64
-
AMD64
was
added
.
-
Patch
#
1428494
:
Prefer
linking
against
ncursesw
over
ncurses
library
.
...
...
configure
View file @
7e777923
#! /bin/sh
# From configure.in Revision: 423
07
.
# From configure.in Revision: 423
82
.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for python 2.5.
#
...
...
@@ -3413,7 +3413,7 @@ _ACEOF
RUNSHARED
=
LD_LIBRARY_PATH
=
`
pwd
`
:
${
LD_LIBRARY_PATH
}
INSTSONAME
=
"
$LDLIBRARY
"
.
$SOVERSION
;;
Linux
*
|
GNU
*
|
NetBSD
*
|
FreeBSD
*
)
Linux
*
|
GNU
*
|
NetBSD
*
|
FreeBSD
*
|
DragonFly
*
)
LDLIBRARY
=
'libpython$(VERSION).so'
BLDLIBRARY
=
'-L. -lpython$(VERSION)'
RUNSHARED
=
LD_LIBRARY_PATH
=
`
pwd
`
:
${
LD_LIBRARY_PATH
}
...
...
@@ -10986,7 +10986,7 @@ then
else
LDSHARED
=
"ld -Bshareable
${
LDFLAGS
}
"
fi
;;
NetBSD
*
)
LDSHARED
=
"cc -shared
${
LDFLAGS
}
"
;;
NetBSD
*
|
DragonFly
*
)
LDSHARED
=
"cc -shared
${
LDFLAGS
}
"
;;
OpenUNIX
*
|
UnixWare
*
)
if
test
"
$GCC
"
=
"yes"
then
LDSHARED
=
'$(CC) -shared'
...
...
@@ -11019,7 +11019,7 @@ then
fi
;;
Linux
*
|
GNU
*
)
CCSHARED
=
"-fPIC"
;;
BSD/OS
*
/4
*
)
CCSHARED
=
"-fpic"
;;
FreeBSD
*
|
NetBSD
*
|
OpenBSD
*
)
CCSHARED
=
"-fPIC"
;;
FreeBSD
*
|
NetBSD
*
|
OpenBSD
*
|
DragonFly
*
)
CCSHARED
=
"-fPIC"
;;
OpenUNIX
*
|
UnixWare
*
)
if
test
"
$GCC
"
=
"yes"
then
CCSHARED
=
"-fPIC"
...
...
@@ -11072,7 +11072,7 @@ then
OpenUNIX
*
|
UnixWare
*
)
LINKFORSHARED
=
"-Wl,-Bexport"
;;
SCO_SV
*
)
LINKFORSHARED
=
"-Wl,-Bexport"
;;
ReliantUNIX
*
)
LINKFORSHARED
=
"-W1 -Blargedynsym"
;;
FreeBSD
*
|
NetBSD
*
|
OpenBSD
*
)
FreeBSD
*
|
NetBSD
*
|
OpenBSD
*
|
DragonFly
*
)
if
[
"
`
$CC
-dM
-E
- </dev/null |
grep
__ELF__
`
"
!=
""
]
then
LINKFORSHARED
=
"-Wl,--export-dynamic"
...
...
@@ -14972,6 +14972,7 @@ cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include "confdefs.h"
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
...
...
configure.in
View file @
7e777923
...
...
@@ -576,7 +576,7 @@ if test $enable_shared = "yes"; then
RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}
INSTSONAME="$LDLIBRARY".$SOVERSION
;;
Linux*|GNU*|NetBSD*|FreeBSD*)
Linux*|GNU*|NetBSD*|FreeBSD*
|DragonFly*
)
LDLIBRARY='libpython$(VERSION).so'
BLDLIBRARY='-L. -lpython$(VERSION)'
RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}
...
...
@@ -1415,7 +1415,7 @@ then
else
LDSHARED="ld -Bshareable ${LDFLAGS}"
fi;;
NetBSD*) LDSHARED="cc -shared ${LDFLAGS}";;
NetBSD*
|DragonFly*
) LDSHARED="cc -shared ${LDFLAGS}";;
OpenUNIX*|UnixWare*)
if test "$GCC" = "yes"
then LDSHARED='$(CC) -shared'
...
...
@@ -1446,7 +1446,7 @@ then
fi;;
Linux*|GNU*) CCSHARED="-fPIC";;
BSD/OS*/4*) CCSHARED="-fpic";;
FreeBSD*|NetBSD*|OpenBSD*) CCSHARED="-fPIC";;
FreeBSD*|NetBSD*|OpenBSD*
|DragonFly*
) CCSHARED="-fPIC";;
OpenUNIX*|UnixWare*)
if test "$GCC" = "yes"
then CCSHARED="-fPIC"
...
...
@@ -1497,7 +1497,7 @@ then
OpenUNIX*|UnixWare*) LINKFORSHARED="-Wl,-Bexport";;
SCO_SV*) LINKFORSHARED="-Wl,-Bexport";;
ReliantUNIX*) LINKFORSHARED="-W1 -Blargedynsym";;
FreeBSD*|NetBSD*|OpenBSD*)
FreeBSD*|NetBSD*|OpenBSD*
|DragonFly*
)
if [[ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]]
then
LINKFORSHARED="-Wl,--export-dynamic"
...
...
@@ -2247,6 +2247,7 @@ AC_TRY_LINK([
AC_MSG_CHECKING(for inet_aton)
AC_TRY_LINK([
#include "confdefs.h"
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
...
...
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