Changeset 4201 in orxonox.OLD for orxonox/branches/openAL/configure.ac
- Timestamp:
- May 16, 2005, 11:59:51 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/openAL/configure.ac
r4194 r4201 408 408 AC_CHECK_HEADERS([AL/al.h] ,, 409 409 [AC_MSG_ERROR([cannot find openAL header.])]) 410 #fi411 410 # checking for openAL-lib 412 411 AC_CHECK_LIB([openal], [main], [FOUND_openal=yes]) … … 419 418 echo "------------------" 420 419 exit -1 421 fi 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 422 472 423 473 #---------#
Note: See TracChangeset
for help on using the changeset viewer.