summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-12-06 21:18:18 (GMT)
committerGuido van Rossum <guido@python.org>1996-12-06 21:18:18 (GMT)
commit5dab3d815fbddd660cf6b4686352a82b39c0c851 (patch)
tree63774456a4c9cafe067dd2f9c4925912239a831f /configure.in
parent1bb126fa136ef25c9d103f658907d42bb9f2b452 (diff)
downloadcpython-5dab3d815fbddd660cf6b4686352a82b39c0c851.zip
cpython-5dab3d815fbddd660cf6b4686352a82b39c0c851.tar.gz
cpython-5dab3d815fbddd660cf6b4686352a82b39c0c851.tar.bz2
Test for sys/file.h.
Determine sizeof int and long. For HPUX, add linker options for shared library usage.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 33635b1..b6a4b3b 100644
--- a/configure.in
+++ b/configure.in
@@ -124,7 +124,8 @@ AC_MSG_RESULT($cpp_type)
AC_HEADER_STDC
AC_CHECK_HEADERS(dlfcn.h fcntl.h limits.h ncurses.h \
signal.h stdarg.h stddef.h stdlib.h thread.h unistd.h utime.h \
-sys/audioio.h sys/lock.h sys/param.h sys/select.h sys/time.h sys/times.h \
+sys/audioio.h sys/file.h sys/lock.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
@@ -148,6 +149,8 @@ AC_TYPE_SIGNAL
AC_TYPE_SIZE_T
AC_TYPE_UID_T
+AC_CHECK_SIZEOF(int)
+AC_CHECK_SIZEOF(long)
# Set info about shared libraries.
AC_SUBST(SO)
@@ -209,7 +212,8 @@ if test -z "$LINKFORSHARED"
then
case $ac_sys_system in
AIX*) LINKFORSHARED="-Wl,-bE:python.exp";;
- hp*|HP*) LINKFORSHARED="-Wl,-E";;
+ hp*|HP*)
+ LINKFORSHARED="-Wl,-E -Wl,+s -Wl,+b\$(BINLIBDEST)/sharedmodules";;
Linux*) LINKFORSHARED="-rdynamic";;
next) LINKFORSHARED="-u libsys_s";;
SCO_SV*) LINKFORSHARED="-Bdynamic -dy -Wl,-Bexport";;