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
b65a48e2
Kaydet (Commit)
b65a48e2
authored
Haz 14, 1995
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
linux elf shlib; sys/wait.h; don't add -posix for NeXT
üst
3c294caa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
14 deletions
+6
-14
configure.in
configure.in
+6
-14
No files found.
configure.in
Dosyayı görüntüle @
b65a48e2
...
@@ -49,22 +49,11 @@ fi
...
@@ -49,22 +49,11 @@ fi
# checks for UNIX variants that set C preprocessor variables
# checks for UNIX variants that set C preprocessor variables
AC_AIX
AC_AIX
AC_ISC_POSIX
AC_MINIX
AC_MINIX
was_it_defined=no
AC_TRY_RUN([
#ifdef _NEXT_SOURCE
main() { exit(0); }
#endif
], AC_DEFINE(_POSIX_SOURCE)
CC="$CC -posix"; was_it_defined=yes)
AC_MSG_CHECKING(for NeXT)
AC_MSG_RESULT($was_it_defined)
# checks for header files
# checks for header files
AC_HEADER_STDC
AC_HEADER_STDC
AC_CHECK_HEADERS(dlfcn.h fcntl.h limits.h signal.h stdarg.h stddef.h stdlib.h thread.h unistd.h utime.h sys/audioio.h sys/param.h sys/select.h sys/time.h sys/times.h sys/un.h sys/utsname.h)
AC_CHECK_HEADERS(dlfcn.h fcntl.h limits.h signal.h stdarg.h stddef.h stdlib.h thread.h unistd.h utime.h sys/audioio.h sys/param.h sys/select.h sys/time.h sys/times.h sys/un.h sys/utsname.h
sys/wait.h
)
AC_HEADER_DIRENT
AC_HEADER_DIRENT
# checks for typedefs
# checks for typedefs
...
@@ -125,12 +114,13 @@ then
...
@@ -125,12 +114,13 @@ then
hp*|HP*) LDSHARED="ld -b";;
hp*|HP*) LDSHARED="ld -b";;
OSF*) LDSHARED="ld -shared -expect_unresolved \"*\"";;
OSF*) LDSHARED="ld -shared -expect_unresolved \"*\"";;
DYNIX/ptx*) LDSHARED="ld -G";;
DYNIX/ptx*) LDSHARED="ld -G";;
Linux*) LDSHARED="gcc-elf -shared";;
*) LDSHARED="ld";;
*) LDSHARED="ld";;
esac
esac
fi
fi
AC_MSG_RESULT($LDSHARED)
AC_MSG_RESULT($LDSHARED)
# CCSHARED are the C *flags* used to create objects to go into a shared
# CCSHARED are the C *flags* used to create objects to go into a shared
# library -- this is only needed for
HP-UX
# library -- this is only needed for
a few systems
AC_MSG_CHECKING(CCSHARED)
AC_MSG_CHECKING(CCSHARED)
if test -z "$CCSHARED"
if test -z "$CCSHARED"
then
then
...
@@ -139,16 +129,18 @@ then
...
@@ -139,16 +129,18 @@ then
then CCSHARED="-fpic";
then CCSHARED="-fpic";
else CCSHARED="+z";
else CCSHARED="+z";
fi;;
fi;;
Linux*) CCSHARED="-fpic";;
esac
esac
fi
fi
AC_MSG_RESULT($CCSHARED)
AC_MSG_RESULT($CCSHARED)
# LINKFORSHARED are the flags passed to the $(CC) command that links
# LINKFORSHARED are the flags passed to the $(CC) command that links
# the python executable -- this is only needed for
HP-UX
# the python executable -- this is only needed for
a few systems
AC_MSG_CHECKING(LINKFORSHARED)
AC_MSG_CHECKING(LINKFORSHARED)
if test -z "$LINKFORSHARED"
if test -z "$LINKFORSHARED"
then
then
case $ac_sys_system in
case $ac_sys_system in
hp*|HP*) LINKFORSHARED="-Wl,-E";;
hp*|HP*) LINKFORSHARED="-Wl,-E";;
Linux*) LINKFORSHARED="-rdynamic";;
esac
esac
fi
fi
AC_MSG_RESULT($LINKFORSHARED)
AC_MSG_RESULT($LINKFORSHARED)
...
...
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