- Timestamp:
- Dec 19, 2005, 6:44:32 PM (19 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autogen.sh
r5820 r6164 55 55 56 56 #aclocal $ACLOCAL_FLAGS -I ./m4 || exit; 57 aclocal-1.9 || aclocal|| exit;57 aclocal-1.9 -I m4 || aclocal -I m4 || exit; 58 58 autoheader || exit; 59 59 automake-1.9 --add-missing --copy || automake --add-missing --copy; -
trunk/configure.ac
r5944 r6164 36 36 AC_CONFIG_SRCDIR([./src]) 37 37 AC_CONFIG_HEADER([config.h]) 38 AC_CONFIG_MACRO_DIR([m4]) 38 39 39 40 ######################### … … 399 400 # openGL # 400 401 #--------# 401 # checking gl header 402 AC_CHECK_HEADERS([GL/gl.h] ,, 403 [AC_MSG_ERROR([cannot find opengl headers]) ]) 404 405 # checking for Unix GL 406 AC_CHECK_LIB([GL], [main], [FOUND_GL=yes; LIBS="$LIBS -lGL"]) 407 if test x$FOUND_GL != xyes ; then 408 echo "------------------" 409 echo "opengl not found." 410 echo "please install the opengl package which can be found at http://www.opengl.org" 411 echo "------------------" 412 exit -1 413 fi 414 415 # cheking for GLU-header 416 AC_CHECK_HEADERS([GL/glu.h] ,, 417 [AC_MSG_ERROR([cannot find opengl headers]) ]) 418 AC_CHECK_LIB([GLU], [main], [FOUND_GLU=yes; LIBS="$LIBS -lGLU"]) 419 if test x$FOUND_GLU != xyes ; then 420 echo "------------------" 421 echo "GLU library not found." 422 echo "please install the GLU library, that should come with openGL, which can be found at http://www.opengl.org" 423 echo "------------------" 424 exit -1 425 fi 426 427 # checking for GLEW-headers 428 AC_CHECK_HEADERS([GL/glew.h] ,, 429 [AC_MSG_ERROR([cannot find glew headers]) ]) 430 # checking for GLEW-lib 431 AC_CHECK_LIB([GLEW], [main], [FOUND_GLEW=yes; LIBS="$LIBS -lGLEW"]) 432 if test x$FOUND_GLEW != xyes ; then 433 echo "------------------" 434 echo "glew not found." 435 echo "please install the glew package which can be found at http://glew.sourceforge.net" 436 echo "------------------" 437 exit -1 438 fi 402 AX_CHECK_REQUIRED_HEADER_LIB([GL/gl.h], [GL], [main],,, [http://www.opengl.org]) 403 AX_CHECK_REQUIRED_HEADER_LIB([GL/glu.h], [GLU], [main],,, [http://www.opengl.org]) 404 AX_CHECK_REQUIRED_HEADER_LIB([GL/glew.h], [GLEW], [main],,, [http://glew.sourceforge.net]) 439 405 440 406 #--------# 441 407 # openAL # 442 408 #--------# 409 410 443 411 # checking for openAL-headers 444 412 AC_CHECK_HEADERS([AL/al.h] ,,
Note: See TracChangeset
for help on using the changeset viewer.