From 01007986dc44fb17f1c8c3dd420a25bcb578eb77 Mon Sep 17 00:00:00 2001 From: ehofman Date: Wed, 2 Jul 2003 12:25:08 +0000 Subject: [PATCH] Solaris updates --- configure.ac | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 6dff2c2f..8d97a3ac 100644 --- a/configure.ac +++ b/configure.ac @@ -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)