diff configure.in @ 480:18c6d173f5f2

2004-6-6 Brian Masney <masneyb@gftp.org> * lib/protocols.c (gftp_set_username) - allow a NULL username * configure.in - if gftp is being compiled on HPUX, check for sem_init in librt
author masneyb
date Mon, 07 Jun 2004 02:02:49 +0000
parents 97fd5eb34be0
children 015e27587f03
line wrap: on
line diff
--- a/configure.in	Mon Jun 07 01:21:13 2004 +0000
+++ b/configure.in	Mon Jun 07 02:02:49 2004 +0000
@@ -202,6 +202,12 @@
   fi
 
   if test "x$GFTP_GTK" = xgftp-gtk; then
+    case $host in
+      *-hpux*)
+        AC_CHECK_LIB(rt, sem_init)
+        ;;
+    esac
+
     AC_CHECK_LIB(pthread, pthread_create, PTHREAD_LIBS="-lpthread")
 
     if test "x$PTHREAD_LIBS" = x ; then