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
case "$host" in
*-solaris*)
-$as_echo "#define NEED_SECURE_DIRECTORY 1" >>confdefs.h
-
- ;;
-*-sunos*)
-
$as_echo "#define NEED_SECURE_DIRECTORY 1" >>confdefs.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*) $as_echo "#define PORT_NONBLOCK O_NDELAY" >>confdefs.h
-;;
*-cygwin*) $as_echo "#define PORT_NONBLOCK O_NDELAY" >>confdefs.h
;;
*-solaris2.[01234])
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; }
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
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
#
#
# 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)
[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
/*%<
* 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:
$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"
}
$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;