* configure.ac: compile fix for sunos
authorGildas Bazin <gbazin@videolan.org>
Sun, 22 Jun 2003 14:06:59 +0000 (14:06 +0000)
committerGildas Bazin <gbazin@videolan.org>
Sun, 22 Jun 2003 14:06:59 +0000 (14:06 +0000)
configure.ac

index 46dc642..35b9421 100644 (file)
@@ -297,7 +297,7 @@ AC_CHECK_FUNCS(send,,[
 )])
 
 AC_CHECK_FUNCS(gethostbyname,,[
-  AC_CHECK_LIB(nsl,gethostbyname,LDFLAGS_ipv4="${LDFLAGS_ipv4} -lnsl" LDFLAGS_httpd="${LDFLAGS_httpd} -lnsl",[
+  AC_CHECK_LIB(nsl,gethostbyname,LDFLAGS_ipv4="${LDFLAGS_ipv4} -lnsl" LDFLAGS_httpd="${LDFLAGS_httpd} -lnsl" LDFLAGS_vlc="${LDFLAGS_vlc} -lnsl",[
     AC_CHECK_LIB(bind,gethostbyname,LDFLAGS_ipv4="${LDFLAGS_ipv4} -lbind" LDFLAGS_httpd="${LDFLAGS_httpd} -lbind")])
 ])