path: root/
authorSergey Poznyakoff <>2016-03-19 06:59:02 (GMT)
committer Sergey Poznyakoff <>2016-03-19 06:59:02 (GMT)
commit238924457849e53eae3771bc6240883b37e1ff34 (patch) (side-by-side diff)
treed3be17fde8c3f8e919b8d7e5ea72f34805926386 /
parentc95307bfe28691d00f8ad394dec1966f0bf14e32 (diff)
Fix some compilation issues on Solaris
* Check for libnsl * src/pies.c (string_to_syslog_facility): LOG_AUTHPRIV and LOG_FTP may be undefined. * src/piesctl.c (EX_NOTFOUND): Rename to EX_PIES_NOTFOUND. (com_list): Use default_cond. * src/sysvinit.c (console_stty): Make sure CBAUDEX is defined. * src/utmp.c (fill_utmp): Declare locals right before using them.
Diffstat (limited to '') (more/less context) (ignore whitespace changes)
1 files changed, 2 insertions, 0 deletions
diff --git a/ b/
index 830d0a7..78702b4 100644
--- a/
+++ b/
@@ -34,6 +34,8 @@ AC_PROG_LEX
# Checks for libraries.
AC_CHECK_LIB(crypt, crypt)
+AC_SEARCH_LIBS(socket, socket)
+AC_SEARCH_LIBS(gethostbyaddr, nsl)
# Checks for header files.
AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h stdint.h stdlib.h\

Return to:

Send suggestions and report system problems to the System administrator.