]> git.mxchange.org Git - simgear.git/commitdiff
Solaris updates
authorehofman <ehofman>
Wed, 2 Jul 2003 12:25:08 +0000 (12:25 +0000)
committerehofman <ehofman>
Wed, 2 Jul 2003 12:25:08 +0000 (12:25 +0000)
configure.ac

index 6dff2c2f9cd6111230cc4535fa39f453121cb65a..8d97a3acbb7b362b34a65fc84e5e4c1cd251f574 100644 (file)
@@ -168,7 +168,17 @@ if test "x$ac_cv_lib_pthread_pthread_exit" != "xyes" -a "x$ac_cv_header_pthread_
 fi
 AM_CONDITIONAL(HAVE_THREADS, test "x$ac_cv_lib_pthread_pthread_exit" = "xyes" -a "x$ac_cv_header_pthread_h" = "xyes")
 
-AC_CHECK_LIB(socket, socket)
+case "${host}" in
+*-*-irix*)
+    ;;
+*-*-solaris*)
+    AC_CHECK_LIB(xnet,inet_addr)
+    AC_CHECK_LIB(socket, socket)
+    ;;
+*)
+    AC_CHECK_LIB(socket, socket)
+    ;;
+esac
 
 dnl check for glut location
 AC_CHECK_HEADER(GL/glut.h)