Changeset 4665 in orxonox.OLD for orxonox/trunk/configure.ac
- Timestamp:
- Jun 23, 2005, 3:04:45 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/configure.ac
r4664 r4665 334 334 335 335 CPPFLAGS="`sdl-config --cflags` $CPPFLAGS" 336 AC_CHECK_HEADERS([SDL /SDL.h] ,,337 [AC_CHECK_HEADERS([SDL .h] ,,AC_MSG_ERROR([cannot find SDL header. please download from libsdl.org])]))336 AC_CHECK_HEADERS([SDL.h] ,, 337 [AC_CHECK_HEADERS([SDL/SDL.h] ,,AC_MSG_ERROR([cannot find SDL header. please download from libsdl.org])])) 338 338 339 339 LIBS="`sdl-config --libs` $LIBS" … … 389 389 ## CHECKING FOR HEADERS AND LIBS ## 390 390 ################################### 391 392 #--------#393 # openAL #394 #--------#395 # checking for openAL-headers396 AC_CHECK_HEADERS([AL/al.h] ,,397 [AC_MSG_ERROR([cannot find openAL header.])])398 # checking for openAL-lib399 AC_CHECK_LIB([openal], [main], [FOUND_openal=yes])400 if test x$FOUND_openal = xyes ; then401 LIBS="$LIBS -lopenal"402 else403 echo "------------------"404 echo "openal library not found."405 echo "please install the openal library, which can be found at http://www.openal.org"406 echo "------------------"407 exit -1408 fi409 410 #-----#411 # ogg #412 #-----#413 # checking for ogg-headers414 AC_CHECK_HEADERS([ogg/ogg.h] ,,415 [AC_MSG_ERROR([cannot find ogg header.])])416 # checking for ogg-lib417 AC_CHECK_LIB([ogg], [main], [FOUND_ogg=yes])418 if test x$FOUND_ogg = xyes ; then419 LIBS="$LIBS -logg"420 else421 echo "------------------"422 echo "ogg library not found."423 echo "please install the ogg library, which can be found at http://www.xiph.org/ogg/vorbis/index.html"424 echo "------------------"425 exit -1426 fi427 428 #--------#429 # vorbis #430 #--------#431 # checking for vorbis-lib432 AC_CHECK_LIB([vorbis], [main], [FOUND_vorbis=yes])433 if test x$FOUND_vorbis = xyes ; then434 LIBS="$LIBS -lvorbis"435 else436 echo "------------------"437 echo "vorbis library not found."438 echo "please install the vorbis library, which can be found at http://www.xiph.org/ogg/vorbis/index.html"439 echo "------------------"440 exit -1441 fi442 443 #------------#444 # vorbisfile #445 #------------#446 # checking for vorbis-headers447 AC_CHECK_HEADERS([vorbis/vorbisfile.h] ,,448 [AC_MSG_ERROR([cannot find vorbisfile header.])])449 # checking for vorbisfile-lib450 AC_CHECK_LIB([vorbisfile], [main], [FOUND_vorbisfile=yes])451 if test x$FOUND_vorbisfile = xyes ; then452 LIBS="$LIBS -lvorbisfile"453 else454 echo "------------------"455 echo "vorbisfile library not found."456 echo "please install the vorbisfile library, which can be found at http://www.xiph.org/ogg/vorbis/index.html"457 echo "------------------"458 exit -1459 fi460 391 461 392 #---------# … … 496 427 exit -1 497 428 fi 429 430 #--------# 431 # openAL # 432 #--------# 433 # checking for openAL-headers 434 AC_CHECK_HEADERS([AL/al.h] ,, 435 [AC_MSG_ERROR([cannot find openAL header.])]) 436 # checking for openAL-lib 437 AC_CHECK_LIB([openal], [main], [FOUND_openal=yes]) 438 if test x$FOUND_openal = xyes ; then 439 LIBS="$LIBS -lopenal" 440 else 441 echo "------------------" 442 echo "openal library not found." 443 echo "please install the openal library, which can be found at http://www.openal.org" 444 echo "------------------" 445 exit -1 446 fi 447 448 #-----# 449 # ogg # 450 #-----# 451 # checking for ogg-headers 452 AC_CHECK_HEADERS([ogg/ogg.h] ,, 453 [AC_MSG_ERROR([cannot find ogg header.])]) 454 # checking for ogg-lib 455 AC_CHECK_LIB([ogg], [main], [FOUND_ogg=yes]) 456 if test x$FOUND_ogg = xyes ; then 457 LIBS="$LIBS -logg" 458 else 459 echo "------------------" 460 echo "ogg library not found." 461 echo "please install the ogg library, which can be found at http://www.xiph.org/ogg/vorbis/index.html" 462 echo "------------------" 463 exit -1 464 fi 465 466 #--------# 467 # vorbis # 468 #--------# 469 # checking for vorbis-lib 470 AC_CHECK_LIB([vorbis], [main], [FOUND_vorbis=yes]) 471 if test x$FOUND_vorbis = xyes ; then 472 LIBS="$LIBS -lvorbis" 473 else 474 echo "------------------" 475 echo "vorbis library not found." 476 echo "please install the vorbis library, which can be found at http://www.xiph.org/ogg/vorbis/index.html" 477 echo "------------------" 478 exit -1 479 fi 480 481 #------------# 482 # vorbisfile # 483 #------------# 484 # checking for vorbis-headers 485 AC_CHECK_HEADERS([vorbis/vorbisfile.h] ,, 486 [AC_MSG_ERROR([cannot find vorbisfile header.])]) 487 # checking for vorbisfile-lib 488 AC_CHECK_LIB([vorbisfile], [main], [FOUND_vorbisfile=yes]) 489 if test x$FOUND_vorbisfile = xyes ; then 490 LIBS="$LIBS -lvorbisfile" 491 else 492 echo "------------------" 493 echo "vorbisfile library not found." 494 echo "please install the vorbisfile library, which can be found at http://www.xiph.org/ogg/vorbis/index.html" 495 echo "------------------" 496 exit -1 497 fi 498 498 499 499 #-----#
Note: See TracChangeset
for help on using the changeset viewer.