summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorrunge <runge>2006-07-04 19:55:28 +0000
committerrunge <runge>2006-07-04 19:55:28 +0000
commit1b51530afbc5dff413ea0090834d92e1d96e96e9 (patch)
tree98720532dfb9ab9b2e7763d3cd54340a768f45b8 /configure.ac
parenta7726a6f970f49c2bedac4926aa30de18d96ae41 (diff)
downloadlibvncserver-1b51530afbc5dff413ea0090834d92e1d96e96e9.zip
libvncserver-1b51530afbc5dff413ea0090834d92e1d96e96e9.tar.gz
x11vnc: remove compiler warnings; HP-UX tweaks.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 8555da3..5169bef 100644
--- a/configure.ac
+++ b/configure.ac
@@ -445,6 +445,13 @@ AC_FUNC_VPRINTF
AC_FUNC_FORK
AC_CHECK_LIB(nsl,gethostbyname)
AC_CHECK_LIB(socket,socket)
+
+uname_s=`(uname -s) 2>/dev/null`
+if test "x$uname_s" = "xHP-UX"; then
+ # need -lsec for getspnam()
+ LDFLAGS="$LDFLAGS -lsec"
+fi
+
AC_CHECK_FUNCS([ftime gethostbyname gethostname gettimeofday inet_ntoa memmove memset mmap mkfifo select socket strchr strcspn strdup strerror strstr setsid setpgrp getpwuid getpwnam getspnam getuid geteuid setuid setgid seteuid setegid waitpid setutxent grantpt])
# check, if shmget is in cygipc.a
OpenPOWER on IntegriCloud