moss-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Moss-devel] CVS: moss/3Dsia/client/3Dcf configure.ac,1.1,1.2


From: Alexander Feder <address@hidden>
Subject: [Moss-devel] CVS: moss/3Dsia/client/3Dcf configure.ac,1.1,1.2
Date: Tue, 05 Nov 2002 17:55:26 -0500

Update of /cvsroot/moss/moss/3Dsia/client/3Dcf
In directory subversions:/tmp/cvs-serv31026

Modified Files:
        configure.ac 
Log Message:
added X-lib checks


Index: configure.ac
===================================================================
RCS file: /cvsroot/moss/moss/3Dsia/client/3Dcf/configure.ac,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** configure.ac        5 Nov 2002 12:49:15 -0000       1.1
--- configure.ac        5 Nov 2002 22:55:22 -0000       1.2
***************
*** 28,33 ****
  dnl Checks for libraries.
  
  AC_CHECK_LIB(stdc++,main,lflags="$lflags -lstdc++", AC_MSG_ERROR([WTF?]))
! AC_CHECK_LIB(GL,glBegin,glflags="$glflags -lGL",AC_MSG_ERROR([libGL not 
found]),)
  AC_CHECK_LIB(GLU,gluLookAt,glflags="$glflags -lGLU",AC_MSG_ERROR([libGLU not 
found]),$glflags)
  AC_CHECK_LIB(glut,glutMainLoop,glflags="$glflags 
-lglut",AC_MSG_ERROR([libglut not found]),$glflags)
--- 28,38 ----
  dnl Checks for libraries.
  
+ AC_HAVE_LIBRARY(Xt, glflags="$glflags -lXt",AC_MSG_ERROR([libXt not 
found]),$glflags)
+ AC_HAVE_LIBRARY(Xext, glflags="$glflags -lXext",AC_MSG_ERROR([libXext not 
found]),$glflags)
+ AC_HAVE_LIBRARY(X11, glflags="$glflags -lX11",AC_MSG_ERROR([libX11 not 
found]),$glflags)
+ AC_HAVE_LIBRARY(m, lflags="$lflags -lm",AC_MSG_ERROR([libm not found]),)
+ 
  AC_CHECK_LIB(stdc++,main,lflags="$lflags -lstdc++", AC_MSG_ERROR([WTF?]))
! AC_CHECK_LIB(GL,glBegin,glflags="$glflags -lGL",AC_MSG_ERROR([libGL not 
found]),$glflags)
  AC_CHECK_LIB(GLU,gluLookAt,glflags="$glflags -lGLU",AC_MSG_ERROR([libGLU not 
found]),$glflags)
  AC_CHECK_LIB(glut,glutMainLoop,glflags="$glflags 
-lglut",AC_MSG_ERROR([libglut not found]),$glflags)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]