Changeset 4504 in orxonox.OLD for orxonox/trunk/configure.ac
- Timestamp:
- Jun 4, 2005, 12:38:30 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/configure.ac
r4484 r4504 402 402 ################################### 403 403 404 #--------# 405 # openAL # 406 #--------# 407 # checking for openAL-headers 408 AC_CHECK_HEADERS([AL/al.h] ,, 409 [AC_MSG_ERROR([cannot find openAL header.])]) 410 # checking for openAL-lib 411 AC_CHECK_LIB([openal], [main], [FOUND_openal=yes]) 412 if test x$FOUND_openal = xyes ; then 413 LIBS="$LIBS -lopenal" 414 else 415 echo "------------------" 416 echo "openal library not found." 417 echo "please install the openal library, which can be found at http://www.openal.org" 418 echo "------------------" 419 exit -1 420 fi 421 422 #-----# 423 # ogg # 424 #-----# 425 # checking for ogg-headers 426 AC_CHECK_HEADERS([ogg/ogg.h] ,, 427 [AC_MSG_ERROR([cannot find ogg header.])]) 428 # checking for ogg-lib 429 AC_CHECK_LIB([ogg], [main], [FOUND_ogg=yes]) 430 if test x$FOUND_ogg = xyes ; then 431 LIBS="$LIBS -logg" 432 else 433 echo "------------------" 434 echo "ogg library not found." 435 echo "please install the ogg library, which can be found at http://www.xiph.org/ogg/vorbis/index.html" 436 echo "------------------" 437 exit -1 438 fi 439 440 #--------# 441 # vorbis # 442 #--------# 443 # checking for vorbis-lib 444 AC_CHECK_LIB([vorbis], [main], [FOUND_vorbis=yes]) 445 if test x$FOUND_vorbis = xyes ; then 446 LIBS="$LIBS -lvorbis" 447 else 448 echo "------------------" 449 echo "vorbis library not found." 450 echo "please install the vorbis library, which can be found at http://www.xiph.org/ogg/vorbis/index.html" 451 echo "------------------" 452 exit -1 453 fi 454 455 #------------# 456 # vorbisfile # 457 #------------# 458 # checking for vorbis-headers 459 AC_CHECK_HEADERS([vorbis/vorbisfile.h] ,, 460 [AC_MSG_ERROR([cannot find vorbisfile header.])]) 461 # checking for vorbisfile-lib 462 AC_CHECK_LIB([vorbisfile], [main], [FOUND_vorbisfile=yes]) 463 if test x$FOUND_vorbisfile = xyes ; then 464 LIBS="$LIBS -lvorbisfile" 465 else 466 echo "------------------" 467 echo "vorbisfile library not found." 468 echo "please install the vorbisfile library, which can be found at http://www.xiph.org/ogg/vorbis/index.html" 469 echo "------------------" 470 exit -1 471 fi 472 404 473 #---------# 405 474 # SDL_ttf # … … 420 489 exit -1 421 490 fi 491 422 492 423 493 #-----------#
Note: See TracChangeset
for help on using the changeset viewer.