diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2016-03-19 08:59:02 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2016-03-19 08:59:02 +0200 |
commit | 238924457849e53eae3771bc6240883b37e1ff34 (patch) | |
tree | d3be17fde8c3f8e919b8d7e5ea72f34805926386 /configure.ac | |
parent | c95307bfe28691d00f8ad394dec1966f0bf14e32 (diff) | |
download | pies-238924457849e53eae3771bc6240883b37e1ff34.tar.gz pies-238924457849e53eae3771bc6240883b37e1ff34.tar.bz2 |
Fix some compilation issues on Solaris
* configure.ac: 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 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 830d0a7..78702b4 100644 --- a/configure.ac +++ b/configure.ac @@ -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\ |