Changeset 4825 in orxonox.OLD for orxonox/trunk/configure.ac
- Timestamp:
- Jul 8, 2005, 4:58:11 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/configure.ac
r4789 r4825 226 226 ## checking for openGL-environment and other sys-specific parameters 227 227 case "$target" in 228 229 ########### 228 230 #---------# 229 231 # WINDOWS # 230 232 #---------# 233 ########### 231 234 *-*-mingw32*) 232 235 echo "mingw-WINDOWS detected" … … 330 333 fi 331 334 ;; 335 336 ######### 332 337 #-------# 333 338 # LINUX # 334 339 #-------# 340 ######### 335 341 *-*-linux*) 336 342 echo "Linux detected" … … 401 407 ;; 402 408 409 ############# 403 410 #-----------# 404 411 # MAC -OS X # 405 412 #-----------# 413 ############# 406 414 *darwin*) 407 415 echo "OS X detected" … … 491 499 # ogg # 492 500 #-----# 493 # #checking for ogg-headers494 #AC_CHECK_HEADERS([ogg/ogg.h] ,,495 #[AC_MSG_ERROR([cannot find ogg header.])])496 # #checking for ogg-lib497 #AC_CHECK_LIB([ogg], [main], [FOUND_ogg=yes])498 #if test x$FOUND_ogg = xyes ; then499 #LIBS="$LIBS -logg"500 #else501 #echo "------------------"502 #echo "ogg library not found."503 #echo "please install the ogg library, which can be found at http://www.xiph.org/ogg/vorbis/index.html"504 #echo "------------------"505 #exit -1506 #fi501 # checking for ogg-headers 502 AC_CHECK_HEADERS([ogg/ogg.h] ,, 503 [AC_MSG_ERROR([cannot find ogg header.])]) 504 # checking for ogg-lib 505 AC_CHECK_LIB([ogg], [main], [FOUND_ogg=yes]) 506 if test x$FOUND_ogg = xyes ; then 507 LIBS="$LIBS -logg" 508 else 509 echo "------------------" 510 echo "ogg library not found." 511 echo "please install the ogg library, which can be found at http://www.xiph.org/ogg/vorbis/index.html" 512 echo "------------------" 513 exit -1 514 fi 507 515 508 516 #--------# 509 517 # vorbis # 510 518 #--------# 511 # #checking for vorbis-lib512 #AC_CHECK_LIB([vorbis], [main], [FOUND_vorbis=yes])513 #if test x$FOUND_vorbis = xyes ; then514 #LIBS="$LIBS -lvorbis"515 #else516 #echo "------------------"517 #echo "vorbis library not found."518 #echo "please install the vorbis library, which can be found at http://www.xiph.org/ogg/vorbis/index.html"519 #echo "------------------"520 #exit -1521 #fi519 # checking for vorbis-lib 520 AC_CHECK_LIB([vorbis], [main], [FOUND_vorbis=yes]) 521 if test x$FOUND_vorbis = xyes ; then 522 LIBS="$LIBS -lvorbis" 523 else 524 echo "------------------" 525 echo "vorbis library not found." 526 echo "please install the vorbis library, which can be found at http://www.xiph.org/ogg/vorbis/index.html" 527 echo "------------------" 528 exit -1 529 fi 522 530 523 531 #------------# 524 532 # vorbisfile # 525 533 #------------# 526 # #checking for vorbis-headers527 #AC_CHECK_HEADERS([vorbis/vorbisfile.h] ,,528 #[AC_MSG_ERROR([cannot find vorbisfile header.])])529 # #checking for vorbisfile-lib530 #AC_CHECK_LIB([vorbisfile], [main], [FOUND_vorbisfile=yes])531 #if test x$FOUND_vorbisfile = xyes ; then532 #LIBS="$LIBS -lvorbisfile"533 #else534 #echo "------------------"535 #echo "vorbisfile library not found."536 #echo "please install the vorbisfile library, which can be found at http://www.xiph.org/ogg/vorbis/index.html"537 #echo "------------------"538 #exit -1539 #fi534 # checking for vorbis-headers 535 AC_CHECK_HEADERS([vorbis/vorbisfile.h] ,, 536 [AC_MSG_ERROR([cannot find vorbisfile header.])]) 537 # checking for vorbisfile-lib 538 AC_CHECK_LIB([vorbisfile], [main], [FOUND_vorbisfile=yes]) 539 if test x$FOUND_vorbisfile = xyes ; then 540 LIBS="$LIBS -lvorbisfile" 541 else 542 echo "------------------" 543 echo "vorbisfile library not found." 544 echo "please install the vorbisfile library, which can be found at http://www.xiph.org/ogg/vorbis/index.html" 545 echo "------------------" 546 exit -1 547 fi 540 548 541 549 #-----#
Note: See TracChangeset
for help on using the changeset viewer.