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,NONE,1.1 ChangeLog


From: Alexander Feder <address@hidden>
Subject: [Moss-devel] CVS: moss/3Dsia/client/3Dcf configure.ac,NONE,1.1 ChangeLog,1.1,1.2 configure.in,1.1,NONE
Date: Tue, 05 Nov 2002 07:49:18 -0500

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

Modified Files:
        ChangeLog 
Added Files:
        configure.ac 
Removed Files:
        configure.in 
Log Message:
added opengl autoconf checks


--- NEW FILE ---
dnl Process this file with autoconf to produce a configure script.

AC_INIT(include/World.h)
dnl Every other copy of the package version number gets its value from here
AM_INIT_AUTOMAKE(3df.client, 0.0.1)

dnl create a config.h file (Automake will add -DHAVE_CONFIG_H)
dnl AM_CONFIG_HEADER(config.h)

AC_SUBST(VERSION)

ISODATE=`date +%Y-%m-%d`
AC_SUBST(ISODATE)

AC_CANONICAL_HOST

dnl Checks for programs.
AC_PROG_INSTALL
AC_PROG_CC
AC_PROG_CXX
AC_PROG_LN_S
AC_PROG_AWK

AC_ARG_ENABLE([debug],[  --enable-debug  enable the DEBUG flag], 
AC_DEFINE(_DEBUG))

AC_SUBST(glflags)
AC_SUBST(lflags)
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)

dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([sys/time.h])

AC_C_CONST
AC_HEADER_MAJOR
AC_FUNC_ALLOCA
AC_STRUCT_TM
AC_STRUCT_ST_BLOCKS
AC_FUNC_CLOSEDIR_VOID
AC_CHECK_FUNCS(mkfifo)
AC_CHECK_FUNC(mknod)

dnl Checks for typedefs, structures, and compiler characteristics.

dnl Checks for library functions.


AC_OUTPUT(Makefile src/Makefile)




Index: ChangeLog
===================================================================
RCS file: /cvsroot/moss/moss/3Dsia/client/3Dcf/ChangeLog,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** ChangeLog   3 Nov 2002 13:08:48 -0000       1.1
--- ChangeLog   5 Nov 2002 12:49:15 -0000       1.2
***************
*** 2,4 ****
--- 2,8 ----
  
      * 3df.client: initial version.
+     
+ 2002-11-05  Alexander Feder <address@hidden>
  
+     * added OpenGL Autoconf-checks.
+     * added the necessary changes to the automake-files

--- configure.in DELETED ---





reply via email to

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