Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6838 in orxonox.OLD for trunk/configure.ac


Ignore:
Timestamp:
Jan 30, 2006, 12:39:30 AM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: removed openal completely (in configure.ac)
also made the enable-debug only eat stuff it comprehends, and block anything else like
—enable-debug=full → full will be converted to 4 as anything else but 1,2,3,5,no

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r6627 r6838  
    9898        DEBUG=4
    9999else
     100  if test x$DEBUG = x0 || test x$DEBUG = x1 || test x$DEBUG = x2 || test x$DEBUG = x3 || test x$DEBUG = x4 || test x$DEBUG = x5 ; then
    100101        echo "yes: setting debuglevel to to $DEBUG"
     102  else
     103        echo "yes: invalid Value for Debug ($DEBUG). setting to 4(DEBUG)"
     104        DEBUG=4
     105  fi
    101106fi
    102107AC_DEFINE_UNQUOTED(DEBUG, $DEBUG, [in which debug mode we are])
     
    338343# openAL #
    339344#--------#
    340 # checking for openAL-headers
    341   AC_CHECK_HEADERS([AL/al.h] ,,
    342       [AC_MSG_ERROR([cannot find openAL header.])])
    343 # checking for openAL-lib
    344   AC_CHECK_LIB([OpenAL32], [main], [FOUND_OPENAL=yes; LIBS="$LIBS -lOpenAL32"])
    345   AC_CHECK_LIB([ALut], [main], [FOUND_ALUT=yes; LIBS="-lALut $LIBS"])
    346      if test x$FOUND_OPENAL != xyes ; then
    347         echo "------------------"
    348         echo "openal library not found."
    349         echo "please install the openal library, which can be found at http://www.openal.org"
    350         echo "------------------"
    351         exit -1
    352      fi
    353 
     345AX_CHECK_REQUIRED_HEADER_LIB([AL/al.h], [OpenAL32], [main],,, [http://www.openal.org])
    354346
    355347#-----------#
     
    407399# openAL #
    408400#--------#
    409 
    410401AX_CHECK_REQUIRED_HEADER_LIB([AL/al.h], [openal], [main],,, [http://www.openal.org])
    411 AX_CHECK_HEADER_LIB([AL/alut.h], [alut], [main],,, [http://www.openal.org])
    412402
    413403#-----#
Note: See TracChangeset for help on using the changeset viewer.