Commit b02de1ec authored by Ondřej Surý's avatar Ondřej Surý
Browse files

Remove legacy support for SunOS

parent 18e3c8d2
......@@ -2933,18 +2933,6 @@ $as_echo "no" >&6; }
fi
 
 
#
# GNU libtool support
#
case $build_os in
sunos*)
# Just set the maximum command line length for sunos as it otherwise
# takes a exceptionally long time to work it out. Required for libtool.
lt_cv_sys_max_cmd_len=4096;
;;
esac
case `pwd` in
*\ * | *\ *)
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
......@@ -19146,11 +19134,6 @@ done
case "$host" in
*-solaris*)
 
$as_echo "#define NEED_SECURE_DIRECTORY 1" >>confdefs.h
;;
*-sunos*)
$as_echo "#define NEED_SECURE_DIRECTORY 1" >>confdefs.h
 
;;
......@@ -20579,11 +20562,9 @@ fi
 
#
# The following sets up how non-blocking i/o is established.
# Sunos, cygwin and solaris 2.x (x<5) require special handling.
# cygwin and solaris 2.x (x<5) require special handling.
#
case "$host" in
*-sunos*) $as_echo "#define PORT_NONBLOCK O_NDELAY" >>confdefs.h
;;
*-cygwin*) $as_echo "#define PORT_NONBLOCK O_NDELAY" >>confdefs.h
;;
*-solaris2.[01234])
......@@ -22131,11 +22112,6 @@ else
fi
 
 
case $host in
*-sunos*) dlopen="no"
;;
esac
if test "yes" = "$dlopen"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
$as_echo_n "checking for dlopen in -ldl... " >&6; }
......
......@@ -17,18 +17,6 @@ AC_CANONICAL_HOST
AC_PROG_MAKE_SET
#
# GNU libtool support
#
case $build_os in
sunos*)
# Just set the maximum command line length for sunos as it otherwise
# takes a exceptionally long time to work it out. Required for libtool.
lt_cv_sys_max_cmd_len=4096;
;;
esac
AC_PROG_LIBTOOL
AC_PROG_INSTALL
AC_PROG_LN_S
......@@ -2634,10 +2622,6 @@ case "$host" in
AC_DEFINE(NEED_SECURE_DIRECTORY, 1,
[Define if connect does not honour the permission on the UNIX domain socket.])
;;
*-sunos*)
AC_DEFINE(NEED_SECURE_DIRECTORY, 1,
[Define if connect does not honour the permission on the UNIX domain socket.])
;;
esac
#
......@@ -3225,10 +3209,9 @@ AC_SUBST(DNSTAP_PB_C_H)
#
# The following sets up how non-blocking i/o is established.
# Sunos, cygwin and solaris 2.x (x<5) require special handling.
# cygwin and solaris 2.x (x<5) require special handling.
#
case "$host" in
*-sunos*) AC_DEFINE(PORT_NONBLOCK, O_NDELAY);;
*-cygwin*) AC_DEFINE(PORT_NONBLOCK, O_NDELAY);;
*-solaris2.[[01234]])
AC_DEFINE(PORT_NONBLOCK, O_NONBLOCK)
......@@ -3717,11 +3700,6 @@ AC_ARG_WITH(dlopen,
[support dynamically loadable DLZ drivers]),
dlopen="$withval", dlopen="yes")
case $host in
*-sunos*) dlopen="no"
;;
esac
if test "yes" = "$dlopen"; then
AC_CHECK_LIB(dl, dlopen, have_dl=yes, have_dl=no)
if test "yes" = "$have_dl"; then
......
......@@ -1196,8 +1196,8 @@ isc_socket_permunix(const isc_sockaddr_t *sockaddr, uint32_t perm,
/*%<
* Set ownership and file permissions on the UNIX domain socket.
*
* Note: On Solaris and SunOS this secures the directory containing
* the socket as Solaris and SunOS do not honour the filesystem
* Note: On Solaris this secures the directory containing
* the socket as Solaris do not honour the filesystem
* permissions on the socket.
*
* Requires:
......
......@@ -37,7 +37,7 @@ if ($options{'o'}) {
$nm_prog = "nm";
$ostype = `uname -s`;
chop($ostype);
if ($ostype eq "SunOS" || $ostype eq "HP-UX") {
if ($ostype eq "HP-UX") {
$nm_prog = "/usr/ccs/bin/nm -x"
}
......@@ -52,14 +52,7 @@ open(TBLFILE, ">$outputfile") || die "failed to open output file: $outputfile";
$nsyms = 0;
while (<SYMBOLS>) {
my ($addr, $symbol) = (0, "");
if ($ostype eq "SunOS") {
if (/\[\d*\]\s*\|\s*0x([0-9a-f]*)\|\s*0x[0-9a-f]*\|FUNC\s*(.*)\|([^|]+)$/) {
next if ($2 =~ /UNDEF/); # skip undefined symbols
$addr = $1;
$symbol = $3;
chop($symbol);
}
} elsif ($ostype eq "HP-UX") {
if ($ostype eq "HP-UX") {
if (/(\S*)\s*\|0x([0-9a-f]*)\|([^|]*\|entry|extern\|code)/) {
$addr = $2;
$symbol = $1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment