comparison 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
comparison
equal deleted inserted replaced
479:11ab311ccb67 480:18c6d173f5f2
200 else 200 else
201 GTHREAD_LIBS="-lgthread-2.0" 201 GTHREAD_LIBS="-lgthread-2.0"
202 fi 202 fi
203 203
204 if test "x$GFTP_GTK" = xgftp-gtk; then 204 if test "x$GFTP_GTK" = xgftp-gtk; then
205 case $host in
206 *-hpux*)
207 AC_CHECK_LIB(rt, sem_init)
208 ;;
209 esac
210
205 AC_CHECK_LIB(pthread, pthread_create, PTHREAD_LIBS="-lpthread") 211 AC_CHECK_LIB(pthread, pthread_create, PTHREAD_LIBS="-lpthread")
206 212
207 if test "x$PTHREAD_LIBS" = x ; then 213 if test "x$PTHREAD_LIBS" = x ; then
208 AC_CHECK_LIB(pthreads, pthread_create, PTHREAD_LIBS="-lpthreads") 214 AC_CHECK_LIB(pthreads, pthread_create, PTHREAD_LIBS="-lpthreads")
209 fi 215 fi