[Tuxracer-checkins] CVS: tuxracer configure.in,1.22,1.23
Status: Beta
Brought to you by:
jfpatry
From: Jasmin P. <jf...@us...> - 2000-10-03 07:42:18
|
Update of /cvsroot/tuxracer/tuxracer In directory slayer.i.sourceforge.net:/tmp/cvs-serv23585 Modified Files: configure.in Log Message: Added check for glext.h Index: configure.in =================================================================== RCS file: /cvsroot/tuxracer/tuxracer/configure.in,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -r1.22 -r1.23 *** configure.in 2000/10/02 20:18:42 1.22 --- configure.in 2000/10/03 07:42:14 1.23 *************** *** 1,5 **** dnl Process this file with autoconf to produce a configure script. AC_INIT(src/tuxracer.h) ! AM_INIT_AUTOMAKE(tuxracer, "0.60") AM_CONFIG_HEADER(config.h) --- 1,5 ---- dnl Process this file with autoconf to produce a configure script. AC_INIT(src/tuxracer.h) ! AM_INIT_AUTOMAKE(tuxracer, "0.60.1") AM_CONFIG_HEADER(config.h) *************** *** 147,151 **** fi ! dnl check for glx.h dnl Set CFLAGS before this check so that it will be found if in dnl non-standard location -- thanks to Kevin Moule <kr...@cg...> --- 147,151 ---- fi ! dnl check for glx.h, glext.h dnl Set CFLAGS before this check so that it will be found if in dnl non-standard location -- thanks to Kevin Moule <kr...@cg...> *************** *** 154,158 **** --- 154,172 ---- CFLAGS="$TUXRACER_EXTRA_COMPILEFLAGS $CFLAGS" AC_CHECK_HEADERS( "GL/glx.h" ) + AC_CHECK_HEADERS( "GL/glext.h" ) CFLAGS="$ac_save_CFLAGS" + + dnl Must have glext.h to compile + if test "x$ac_cv_header_GL_glext_h" = "xno" ; then + echo + echo "*****************************************************************" + echo "ERROR: You are missing the file glext.h." + echo "You can get a copy at" + echo "http://oss.sgi.com/projects/ogl-sample/ABI/glext.h" + echo "Place it in the directory /usr/include/GL." + echo "*****************************************************************" + echo + exit 1 + fi dnl Check for glut |